:root {
    --navy-950: #07111f;
    --navy-900: #0d1d34;
    --navy-800: #133255;
    --sky-500: #2ca7ff;
    --aqua-400: #27dfbf;
    --lime-300: #d7ff74;
    --ink-900: #0e1726;
    --ink-700: #41516a;
    --ink-500: #6e7d95;
    --surface-0: #f4f8ff;
    --surface-1: rgba(255, 255, 255, 0.76);
    --surface-2: rgba(255, 255, 255, 0.9);
    --border-soft: rgba(137, 176, 228, 0.24);
    --shadow-soft: 0 18px 60px rgba(10, 28, 52, 0.1);
    --shadow-strong: 0 24px 80px rgba(7, 17, 31, 0.22);
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--ink-900);
    background:
        radial-gradient(circle at 12% 18%, rgba(39, 223, 191, 0.2), transparent 22%),
        radial-gradient(circle at 86% 8%, rgba(44, 167, 255, 0.18), transparent 24%),
        linear-gradient(180deg, #eef6ff 0%, #f7fbff 52%, #edf4ff 100%);
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand,
.dashboard-title {
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -0.03em;
}

a {
    transition: color 0.18s ease, opacity 0.18s ease;
}

.bg-corporate {
    background:
        linear-gradient(120deg, rgba(9, 18, 34, 0.96), rgba(17, 47, 80, 0.94) 48%, rgba(15, 112, 149, 0.92)),
        linear-gradient(90deg, rgba(39, 223, 191, 0.24), transparent 45%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 40px rgba(7, 17, 31, 0.16);
    backdrop-filter: blur(18px);
}

.navbar {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.navbar-brand {
    font-size: 2rem;
    font-weight: 700;
    margin-right: 1rem;
}

.nav-cluster {
    align-items: center;
    gap: 0.2rem;
}

.navbar .nav-link {
    color: rgba(233, 244, 255, 0.8);
    font-weight: 600;
    letter-spacing: -0.01em;
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
    border-radius: 999px;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.navbar .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(39, 223, 191, 0.18), rgba(44, 167, 255, 0.18));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nav-identity {
    padding: 0.5rem 0.6rem 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-identity__label {
    font-weight: 700;
    letter-spacing: -0.01em;
}

main.container-fluid {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

body.dashboard-page main.container-fluid {
    max-width: 1720px;
}

.btn-corporate {
    background: linear-gradient(135deg, #18d0b1, #1f8dff);
    color: #fff;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(31, 141, 255, 0.28);
    font-weight: 700;
}

.btn-corporate:hover,
.btn-corporate:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(31, 141, 255, 0.34);
}

.page-card {
    background: var(--surface-2);
    border-radius: 26px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}

.metric-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.metric-card {
    background: var(--surface-2);
    border-radius: 24px;
    border: 1px solid rgba(151, 188, 236, 0.24);
    padding: 1.2rem 1.25rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.metric-link:hover .metric-card,
.metric-link:focus .metric-card {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(16, 33, 61, 0.14);
    border-color: rgba(39, 223, 191, 0.4);
}

.metric-card--neo {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 251, 255, 0.86)),
        linear-gradient(135deg, rgba(39, 223, 191, 0.12), rgba(44, 167, 255, 0.08));
}

.metric-card--neo::after {
    content: "";
    position: absolute;
    inset: auto -12% -40% auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(39, 223, 191, 0.22), transparent 68%);
}

.metric-card--insight {
    background:
        linear-gradient(140deg, rgba(10, 22, 41, 0.94), rgba(18, 42, 70, 0.92)),
        linear-gradient(120deg, rgba(39, 223, 191, 0.2), transparent 40%);
    color: #f7fbff;
    border-color: rgba(89, 181, 255, 0.16);
}

.metric-card__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.88rem;
    color: var(--ink-700);
}

.metric-card--insight .metric-card__topline {
    color: rgba(228, 240, 255, 0.72);
}

.metric-card__hint {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.metric-value {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

.metric-status {
    font-size: clamp(1.15rem, 2vw, 1.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.dashboard-shell {
    position: relative;
}

.dashboard-shell section {
    animation: dashboard-rise 0.55s ease both;
}

.dashboard-shell section:nth-of-type(2) {
    animation-delay: 0.06s;
}

.dashboard-shell section:nth-of-type(3) {
    animation-delay: 0.12s;
}

.dashboard-shell section:nth-of-type(4) {
    animation-delay: 0.18s;
}

.dashboard-hero {
    position: relative;
    overflow: hidden;
    padding: 1.4rem 1.5rem;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(13, 29, 52, 0.94) 42%, rgba(19, 50, 85, 0.9) 78%, rgba(21, 131, 170, 0.88)),
        radial-gradient(circle at top left, rgba(215, 255, 116, 0.14), transparent 25%);
    box-shadow: var(--shadow-strong);
    color: #f8fbff;
}

.employee-dashboard-hero {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(520px, 1.25fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(13, 29, 52, 0.94) 46%, rgba(20, 93, 125, 0.9)),
        linear-gradient(120deg, rgba(39, 223, 191, 0.18), transparent 40%);
    box-shadow: var(--shadow-strong);
    color: #f8fbff;
}

.employee-dashboard-identity h2 {
    margin: 0 0 0.55rem;
    font-size: clamp(1.45rem, 2vw, 2rem);
}

.employee-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.employee-pill-row span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(247, 251, 255, 0.9);
    font-size: 0.84rem;
    font-weight: 700;
}

.employee-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
}

.employee-summary-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70px;
    padding: 0.65rem 0.75rem;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
        linear-gradient(135deg, rgba(39, 223, 191, 0.08), rgba(44, 167, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease;
}

.employee-summary-card:hover,
.employee-summary-card:focus {
    color: inherit;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.13);
}

.employee-summary-card span {
    margin-bottom: 0.25rem;
    color: rgba(233, 242, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 700;
}

.employee-summary-card strong {
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.15;
}

.employee-dashboard-actions {
    display: grid;
    gap: 0.5rem;
    justify-items: stretch;
}

.employee-dashboard-actions .btn {
    white-space: nowrap;
}

.dashboard-hero__content,
.dashboard-spotlight {
    position: relative;
    z-index: 1;
}

.dashboard-hero__orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(12px);
    opacity: 0.7;
    pointer-events: none;
}

.dashboard-hero__orb--one {
    top: -26px;
    left: -34px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(39, 223, 191, 0.44), transparent 66%);
    animation: drift 9s ease-in-out infinite;
}

.dashboard-hero__orb--two {
    right: -42px;
    bottom: -54px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(44, 167, 255, 0.38), transparent 68%);
    animation: drift 11s ease-in-out infinite reverse;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
    padding: 0.38rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-kicker__pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--lime-300);
    box-shadow: 0 0 0 0 rgba(215, 255, 116, 0.8);
    animation: pulse 1.8s infinite;
}

.hero-kicker__date {
    color: rgba(235, 244, 255, 0.72);
    text-transform: none;
    letter-spacing: 0;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.3rem;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    color: rgba(247, 251, 255, 0.92);
}

.command-deck {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.command-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.68rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f8fbff;
    text-decoration: none;
    min-width: 0;
    backdrop-filter: blur(8px);
    font-size: 0.9rem;
    font-weight: 650;
}

.command-chip:hover,
.command-chip:focus {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(8, 20, 37, 0.24);
}

.command-chip--accent {
    background: linear-gradient(135deg, rgba(39, 223, 191, 0.22), rgba(44, 167, 255, 0.18));
    border-color: rgba(39, 223, 191, 0.24);
}

.command-chip--dark {
    background: rgba(0, 0, 0, 0.16);
}

.dashboard-spotlight {
    height: 100%;
    padding: 1rem;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        linear-gradient(135deg, rgba(39, 223, 191, 0.16), rgba(44, 167, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dashboard-spotlight h3 {
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
}

.dashboard-hero--employee {
    padding: 1rem;
    border-radius: 24px;
}

.dashboard-hero--employee.mb-4,
.dashboard-section--employee.mb-4 {
    margin-bottom: 1rem !important;
}

.dashboard-hero--employee .row {
    align-items: center !important;
}

.dashboard-hero--employee .dashboard-hero__content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
}

.dashboard-hero--employee .hero-kicker,
.dashboard-hero--employee .hero-meta {
    margin: 0;
}

.dashboard-hero--employee .hero-chip {
    padding: 0.55rem 0.85rem;
}

.dashboard-hero--employee .dashboard-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem 0.9rem;
    padding: 0.8rem;
    border-radius: 18px;
}

.dashboard-hero--employee .spotlight-label {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.dashboard-hero--employee .dashboard-spotlight h3 {
    margin: 0;
    font-size: 1.08rem;
}

.dashboard-hero--employee .spotlight-grid {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 0;
}

.dashboard-hero--employee .spotlight-item {
    min-height: 56px;
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
}

.dashboard-hero--employee .spotlight-item span {
    font-size: 0.72rem;
}

.dashboard-hero--employee .spotlight-item strong {
    font-size: 0.88rem;
}

.dashboard-hero--employee .spotlight-button {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    padding: 0.55rem 0.9rem;
    white-space: nowrap;
}

.spotlight-label {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: rgba(233, 242, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.95rem;
}

.spotlight-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    min-height: 86px;
    padding: 0.78rem 0.85rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
}

.spotlight-item--link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.spotlight-item--link:hover,
.spotlight-item--link:focus {
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(8, 20, 37, 0.18);
    background: rgba(255, 255, 255, 0.1);
}

.spotlight-item span {
    color: rgba(233, 242, 255, 0.68);
    font-size: 0.8rem;
}

.spotlight-item strong {
    text-align: left;
    color: #fff;
    font-weight: 700;
    font-size: 1.08rem;
    line-height: 1.2;
}

.spotlight-button {
    width: 100%;
    padding-top: 0.78rem;
    padding-bottom: 0.78rem;
}

.dashboard-section {
    position: relative;
}

.focus-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.focus-strip__item {
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 250, 255, 0.88)),
        linear-gradient(135deg, rgba(39, 223, 191, 0.08), rgba(44, 167, 255, 0.06));
    border: 1px solid rgba(151, 188, 236, 0.2);
    box-shadow: 0 10px 24px rgba(16, 33, 61, 0.08);
}

.focus-strip__item--link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.focus-strip__item--link:hover,
.focus-strip__item--link:focus {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(16, 33, 61, 0.1);
    border-color: rgba(39, 223, 191, 0.36);
}

.focus-strip__label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--ink-500);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.focus-strip__value {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.35rem;
    line-height: 1.1;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.section-heading h2,
.panel-head h3 {
    margin: 0;
    font-size: clamp(1.5rem, 2vw, 2.1rem);
}

.section-heading p {
    max-width: 38rem;
    margin: 0;
    color: var(--ink-500);
    line-height: 1.7;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 0.3rem;
    color: #0e76c3;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.8rem;
}

.metric-grid__item:first-child {
    grid-column: auto;
}

.metric-grid--employee .metric-grid__item:first-child {
    grid-column: auto;
}

.metric-grid--employee {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-grid .metric-card {
    min-height: 112px;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(16, 33, 61, 0.06);
}

.metric-grid--employee .metric-card {
    min-height: 88px;
    padding: 0.75rem 0.85rem;
}

.metric-grid .metric-card__topline {
    align-items: flex-start;
    margin-bottom: 0.55rem;
    font-size: 0.82rem;
    line-height: 1.25;
}

.metric-grid .metric-card__topline span:first-child {
    min-width: 0;
}

.metric-grid .metric-card__hint {
    flex: 0 0 auto;
    padding: 0.18rem 0.48rem;
    border-radius: 999px;
    background: rgba(16, 118, 195, 0.08);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
}

.metric-grid .metric-value {
    font-size: clamp(1.85rem, 2.3vw, 2.45rem);
}

.metric-grid .metric-status {
    font-size: clamp(1rem, 1.3vw, 1.25rem);
}

.metric-grid--employee .metric-value {
    font-size: clamp(1.75rem, 2vw, 2.1rem);
}

.metric-grid--employee .metric-status {
    font-size: clamp(1rem, 1.15vw, 1.15rem);
}

.metric-grid .metric-card--neo::after {
    right: -36px;
    bottom: -44px;
    width: 96px;
    height: 96px;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-panel {
    overflow: hidden;
}

.dashboard-employee-panels .dashboard-panel {
    padding: 1.25rem !important;
    border-radius: 22px;
}

.dashboard-employee-panels .panel-head {
    margin-bottom: 0.9rem;
}

.dashboard-employee-panels .panel-head h3 {
    font-size: clamp(1.35rem, 1.7vw, 1.75rem);
}

.dashboard-employee-panels .dashboard-empty {
    padding: 0.9rem 1rem;
    border-radius: 16px;
}

.dashboard-profile-warning {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.employee-detail-shell {
    max-width: 1560px;
    margin: 0 auto;
}

.employee-profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.15rem;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(13, 29, 52, 0.94) 48%, rgba(19, 84, 116, 0.9)),
        linear-gradient(120deg, rgba(39, 223, 191, 0.18), transparent 42%);
    box-shadow: var(--shadow-strong);
    color: #f8fbff;
}

.employee-profile-hero h2 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.65rem, 2.4vw, 2.35rem);
}

.employee-profile-chips,
.employee-profile-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.employee-profile-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(247, 251, 255, 0.9);
    font-size: 0.84rem;
    font-weight: 700;
}

.employee-profile-hero__actions {
    justify-content: flex-end;
}

.employee-profile-hero__actions .btn {
    white-space: nowrap;
}

.employee-profile-danger {
    background: rgba(220, 53, 69, 0.08);
}

.employee-summary-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.employee-summary-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 86px;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 251, 255, 0.88)),
        linear-gradient(135deg, rgba(39, 223, 191, 0.1), rgba(44, 167, 255, 0.07));
    border: 1px solid rgba(151, 188, 236, 0.24);
    box-shadow: 0 10px 26px rgba(16, 33, 61, 0.06);
    color: inherit;
    text-decoration: none;
}

.employee-summary-tile:hover,
.employee-summary-tile:focus {
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(16, 33, 61, 0.1);
    border-color: rgba(39, 223, 191, 0.36);
}

.employee-summary-tile span:first-child {
    color: var(--ink-500);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.employee-summary-tile strong {
    margin-top: 0.35rem;
    font-size: 1.15rem;
    line-height: 1.15;
}

.employee-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 1rem;
    align-items: start;
}

.employee-detail-main,
.employee-detail-side {
    display: grid;
    gap: 1rem;
}

.employee-detail-side {
    position: sticky;
    top: 102px;
}

.employee-profile-card {
    padding: 1.1rem;
    border-radius: 22px;
}

.employee-profile-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.employee-profile-card__head h3 {
    margin: 0;
    font-size: clamp(1.25rem, 1.8vw, 1.7rem);
}

.profile-field-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.profile-field-stack {
    display: grid;
    gap: 0.75rem;
}

.profile-field {
    min-width: 0;
    padding: 0.78rem 0.85rem;
    border-radius: 14px;
    background: rgba(244, 248, 255, 0.78);
    border: 1px solid rgba(151, 188, 236, 0.18);
}

.profile-field--wide {
    grid-column: 1 / -1;
}

.profile-field span {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--ink-500);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.profile-field strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: 0.98rem;
    line-height: 1.35;
}

.profile-list {
    display: grid;
    gap: 0.75rem;
}

.profile-list--compact {
    gap: 0.65rem;
}

.profile-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.95), rgba(242, 248, 255, 0.92));
    border: 1px solid rgba(151, 188, 236, 0.18);
}

.profile-list__item strong {
    display: block;
    margin-bottom: 0.18rem;
}

.profile-list__item p {
    margin: 0;
    color: var(--ink-500);
    font-size: 0.88rem;
}

.profile-list__actions,
.employee-share-box__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    font-weight: 700;
}

.profile-list__actions a {
    color: #0e76c3;
    text-decoration: none;
}

.profile-list__actions a:hover,
.profile-list__actions a:focus {
    color: #075890;
}

.employee-share-box {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(151, 188, 236, 0.24);
}

.employee-share-box .form-control {
    margin-bottom: 0.75rem;
}

.employee-share-box__actions > * {
    flex: 1 1 auto;
}

.employee-profile-lower {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.workspace-hero {
    grid-template-columns: minmax(0, 1fr) auto;
}

.workspace-summary-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.workspace-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1rem;
    align-items: start;
}

.workspace-main,
.workspace-side {
    display: grid;
    gap: 1rem;
}

.workspace-side {
    position: sticky;
    top: 102px;
}

.workspace-payslip-generator {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: end;
    padding: 0.85rem;
    border: 1px solid rgba(151, 188, 236, 0.22);
    border-radius: 16px;
    background: rgba(244, 248, 255, 0.82);
}

.workspace-unlinked-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 920px;
    margin: 0 auto;
    padding: 1.25rem;
}

.workspace-unlinked-card h2 {
    margin-bottom: 0.45rem;
}

.dashboard-panel--onboarding {
    position: relative;
}

.dashboard-panel__intro {
    max-width: 36rem;
    color: var(--ink-500);
    font-size: 0.98rem;
    line-height: 1.7;
}

.panel-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.panel-link {
    color: #0e76c3;
    text-decoration: none;
    font-weight: 700;
}

.panel-link:hover,
.panel-link:focus {
    color: #075890;
}

.dashboard-list,
.pulse-list {
    display: grid;
    gap: 0.85rem;
}

.dashboard-list__item,
.pulse-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.95), rgba(242, 248, 255, 0.92));
    border: 1px solid rgba(151, 188, 236, 0.18);
}

.pulse-row--link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pulse-row--link:hover,
.pulse-row--link:focus {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(16, 33, 61, 0.08);
    border-color: rgba(39, 223, 191, 0.32);
}

.dashboard-list__item strong,
.pulse-row strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.dashboard-list__item p,
.pulse-row p {
    margin: 0;
    color: var(--ink-500);
    font-size: 0.92rem;
}

.dashboard-list__actions {
    display: flex;
    gap: 0.8rem;
    font-weight: 700;
}

.dashboard-list__actions a {
    color: #0e76c3;
    text-decoration: none;
}

.dashboard-list__actions a:hover,
.dashboard-list__actions a:focus {
    color: #075890;
}

.dashboard-money,
.pulse-count {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.dashboard-table {
    display: grid;
    gap: 0.8rem;
}

.dashboard-table__head,
.dashboard-table__row {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr 1fr;
    gap: 1rem;
    align-items: center;
}

.dashboard-table__head {
    padding: 0 0.3rem;
    color: var(--ink-500);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-table__row {
    padding: 1rem 1.05rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.95), rgba(242, 248, 255, 0.92));
    border: 1px solid rgba(151, 188, 236, 0.18);
    text-decoration: none;
    color: inherit;
}

.dashboard-table__row:hover,
.dashboard-table__row:focus {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(16, 33, 61, 0.08);
}

.dashboard-empty {
    padding: 1.2rem;
    border-radius: 20px;
    background: rgba(244, 248, 255, 0.88);
    color: var(--ink-500);
    border: 1px dashed rgba(151, 188, 236, 0.34);
}

.access-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.access-chip {
    padding: 0.82rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(16, 118, 195, 0.1), rgba(39, 223, 191, 0.08));
    border: 1px solid rgba(98, 170, 242, 0.22);
    color: var(--ink-900);
    font-weight: 700;
}

.access-chip--link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.access-chip--link:hover,
.access-chip--link:focus {
    color: var(--ink-900);
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(16, 33, 61, 0.08);
    border-color: rgba(39, 223, 191, 0.34);
}

.custom-fields-panel {
    padding-top: 1.35rem;
    border-top: 1px solid rgba(151, 188, 236, 0.28);
}

.custom-fields-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.custom-field-row {
    margin-bottom: 0.85rem;
    padding: 0.9rem;
    border-radius: 16px;
    background: rgba(244, 248, 255, 0.78);
    border: 1px solid rgba(151, 188, 236, 0.22);
}

.custom-field-row:last-child {
    margin-bottom: 0;
}

.custom-field-display {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.custom-field-display__item {
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    background: rgba(244, 248, 255, 0.82);
    border: 1px solid rgba(151, 188, 236, 0.2);
}

.custom-field-display__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
    color: var(--ink-500);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.custom-field-display__value {
    display: block;
    overflow-wrap: anywhere;
    font-weight: 700;
}

.custom-field-display__meta {
    display: block;
    margin-top: 0.2rem;
    color: var(--ink-500);
    font-size: 0.78rem;
}

.custom-field-display__required {
    padding: 0.12rem 0.42rem;
    border-radius: 999px;
    background: rgba(220, 53, 69, 0.1);
    color: #9b1c2e;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.employee-form-shell {
    max-width: 1520px;
    margin: 0 auto;
}

.employee-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.employee-form-header__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.employee-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1rem;
    align-items: start;
}

.employee-form-main,
.employee-side-panel {
    background: var(--surface-2);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}

.employee-form-main {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 22px;
}

.employee-form-section {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(151, 188, 236, 0.18);
}

.employee-form-section__head {
    margin-bottom: 0.85rem;
}

.employee-form-section__head h5,
.employee-side-panel__head h5 {
    margin: 0;
}

.employee-form-section__head--split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.document-compact-details {
    border: 1px dashed rgba(37, 99, 235, 0.28);
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    background: rgba(248, 250, 252, 0.76);
}

.document-compact-details summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--corporate-blue);
}

.employee-form-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0.4rem 0.15rem 0;
}

.employee-form-side {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 6.5rem;
}

.employee-side-panel {
    padding: 1rem;
    border-radius: 22px;
}

.employee-side-panel__head {
    margin-bottom: 0.75rem;
}

.employee-pipeline,
.employee-action-list {
    display: grid;
    gap: 0.55rem;
}

.employee-pipeline__step,
.employee-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.72rem 0.8rem;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    background: rgba(244, 248, 255, 0.84);
    border: 1px solid rgba(151, 188, 236, 0.22);
}

.employee-pipeline__step strong {
    flex: 0 0 auto;
    font-size: 0.78rem;
}

.employee-pipeline__step--active {
    border-color: rgba(31, 141, 255, 0.34);
    background: rgba(31, 141, 255, 0.08);
}

.employee-pipeline__step--done {
    border-color: rgba(24, 208, 177, 0.36);
    background: rgba(24, 208, 177, 0.08);
}

.employee-pipeline__step--pending {
    border-color: rgba(255, 193, 7, 0.38);
    background: rgba(255, 193, 7, 0.08);
}

.employee-action {
    font-weight: 700;
}

.employee-action:hover,
.employee-action:focus,
.employee-pipeline__step[href]:hover,
.employee-pipeline__step[href]:focus {
    color: inherit;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(16, 33, 61, 0.08);
}

.employee-action--primary {
    color: #0e76c3;
}

.employee-action--danger {
    color: #b42334;
    border-color: rgba(220, 53, 69, 0.25);
    background: rgba(220, 53, 69, 0.06);
}

.corporate-check {
    padding: 0.8rem 0.9rem 0.8rem 2.4rem;
    border-radius: 14px;
    background: rgba(244, 248, 255, 0.78);
    border: 1px solid rgba(151, 188, 236, 0.18);
}

.employee-delete-shell {
    display: flex;
    justify-content: center;
}

.employee-delete-card {
    max-width: 680px;
    width: 100%;
}

.employee-delete-summary {
    display: grid;
    gap: 0.25rem;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(244, 248, 255, 0.84);
    border: 1px solid rgba(151, 188, 236, 0.22);
}

.employee-delete-summary span {
    color: var(--ink-500);
}

.document-generator-shell {
    max-width: 1560px;
    margin: 0 auto;
}

.document-generator-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.document-generator-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1rem;
    align-items: start;
}

.document-generator-alert {
    grid-column: 1 / -1;
}

.document-generator-main {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 22px;
}

.document-generator-side {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 6.5rem;
}

.document-generator-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0.35rem 0.15rem 0;
}

.document-generator-main textarea {
    min-height: 340px;
    resize: vertical;
    font-family: Consolas, "Courier New", monospace;
    line-height: 1.5;
}

.document-type-list,
.document-output-list,
.document-workflow,
.placeholder-grid {
    display: grid;
    gap: 0.55rem;
}

.document-preview-panel {
    max-height: 520px;
    overflow: auto;
    padding: 0.9rem;
    border: 1px solid rgba(151, 188, 236, 0.24);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink-900);
    font-size: 0.86rem;
    line-height: 1.5;
}

.document-preview-panel p {
    margin: 0 0 0.85rem;
}

.document-preview-panel p:last-child {
    margin-bottom: 0;
}

.document-preview-table {
    width: 100%;
    margin: 0 0 0.85rem;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.document-preview-table th,
.document-preview-table td {
    padding: 0.45rem 0.5rem;
    border: 1px solid rgba(151, 188, 236, 0.32);
    text-align: left;
    vertical-align: top;
}

.document-preview-table th {
    background: rgba(244, 248, 255, 0.96);
    color: var(--ink-700);
    font-weight: 800;
}

.document-type-chip {
    width: 100%;
    padding: 0.68rem 0.78rem;
    border: 1px solid rgba(151, 188, 236, 0.24);
    border-radius: 14px;
    background: rgba(244, 248, 255, 0.86);
    color: var(--ink-900);
    font-weight: 700;
    text-align: left;
}

.document-type-chip:hover,
.document-type-chip:focus {
    border-color: rgba(39, 223, 191, 0.36);
    background: rgba(39, 223, 191, 0.08);
    transform: translateY(-1px);
}

.document-output-list span,
.document-workflow span,
.placeholder-grid code {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 0.55rem 0.68rem;
    border-radius: 12px;
    background: rgba(244, 248, 255, 0.84);
    border: 1px solid rgba(151, 188, 236, 0.2);
}

.document-workflow strong {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-right: 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #18d0b1, #1f8dff);
    color: #fff;
    font-size: 0.72rem;
}

.placeholder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.placeholder-grid code {
    overflow-wrap: anywhere;
    color: #075890;
    font-size: 0.78rem;
}

.template-visibility-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.template-visibility-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0.58rem 0.72rem;
    border: 1px solid rgba(151, 188, 236, 0.24);
    border-radius: 12px;
    background: rgba(244, 248, 255, 0.86);
    color: var(--ink-800);
    font-weight: 800;
}

.company-letterhead-preview {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem;
    border: 1px solid #111827;
    background: #fff;
}

.company-letterhead-preview__logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.company-letterhead-preview__details {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    color: #0b1550;
    font-size: 0.72rem;
    line-height: 1.25;
}

.document-salary-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 0.55rem;
    align-items: end;
}

.document-salary-grid--with-visibility {
    grid-template-columns: 1.1fr 1fr 1fr 0.72fr;
}

.document-salary-grid--payslip {
    grid-template-columns: 1.1fr 1fr;
}

.document-salary-grid__head,
.document-salary-grid__label {
    padding: 0.62rem 0.7rem;
    border-radius: 12px;
    background: rgba(244, 248, 255, 0.9);
    border: 1px solid rgba(151, 188, 236, 0.2);
    font-weight: 800;
}

.document-salary-grid__head {
    color: var(--ink-500);
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.document-salary-grid__label {
    min-height: 58px;
    display: flex;
    align-items: center;
}

.document-salary-grid__visibility {
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 0.62rem 0.7rem;
    border: 1px solid rgba(151, 188, 236, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
}

.document-salary-grid__visibility label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    color: var(--ink-700);
    font-size: 0.82rem;
    font-weight: 800;
}

.document-salary-grid__label--total {
    color: #075890;
    background: rgba(39, 223, 191, 0.1);
}

.document-salary-grid__field label,
.document-salary-grid__field small {
    display: none;
}

.table thead th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top left, rgba(39, 223, 191, 0.16), transparent 22%),
        linear-gradient(135deg, #eaf5ff, #f7fbff);
}

.login-wrapper {
    width: 100%;
    max-width: 430px;
    padding: 1rem;
}

.login-card {
    border-radius: 24px;
}

.auth-card-title {
    color: var(--navy-800);
}

.auth-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.auth-link {
    color: #127fb3;
    text-decoration: none;
    font-weight: 600;
}

.auth-link:hover,
.auth-link:focus {
    color: #0f9d8a;
    text-decoration: underline;
}

.auth-note {
    font-size: 0.92rem;
    color: #526277;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(215, 255, 116, 0.72);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(215, 255, 116, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(215, 255, 116, 0);
    }
}

@keyframes drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(10px, -10px, 0) scale(1.04);
    }
}

@keyframes dashboard-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1199px) {
    .dashboard-title {
        max-width: none;
    }

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

    .document-generator-layout {
        grid-template-columns: 1fr;
    }

    .document-generator-side {
        position: static;
    }

    .employee-form-side {
        position: static;
    }

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

    .employee-dashboard-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .employee-detail-side,
    .workspace-side {
        position: static;
    }

    .employee-summary-strip,
    .workspace-grid {
        grid-template-columns: 1fr;
    }

    .employee-summary-strip,
    .workspace-summary-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .focus-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .metric-grid,
    .insight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .section-heading {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 991px) {
    .navbar-brand {
        font-size: 1.55rem;
    }

    .dashboard-hero {
        padding: 1.4rem;
    }

    .dashboard-hero--employee {
        padding: 1rem;
    }

    .employee-profile-hero,
    .workspace-hero {
        grid-template-columns: 1fr;
    }

    .employee-profile-hero__actions {
        justify-content: flex-start;
    }

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

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

    .dashboard-hero--employee .spotlight-button {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
    }

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

    .profile-field-grid,
    .employee-profile-lower {
        grid-template-columns: 1fr;
    }

    .dashboard-hero--employee .spotlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .focus-strip,
    .metric-grid,
    .insight-grid {
        grid-template-columns: 1fr;
    }

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

    .metric-grid__item:first-child {
        grid-column: span 1;
    }

    .command-chip {
        min-width: 0;
        width: 100%;
    }

    .dashboard-table__head {
        display: none;
    }

    .dashboard-table__row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    main.container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .employee-form-header,
    .employee-form-section__head--split,
    .dashboard-profile-warning,
    .employee-profile-card__head,
    .workspace-payslip-generator,
    .workspace-unlinked-card {
        align-items: stretch;
        flex-direction: column;
    }

    .workspace-payslip-generator {
        grid-template-columns: 1fr;
    }

    .employee-form-header__actions {
        justify-content: stretch;
    }

    .employee-form-header__actions .btn,
    .employee-form-footer .btn,
    .document-generator-actions .btn {
        width: 100%;
    }

    .document-generator-header {
        align-items: stretch;
        flex-direction: column;
    }

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

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

    .document-salary-grid {
        grid-template-columns: 1fr;
    }

    .document-salary-grid__head {
        display: none;
    }

    .metric-value {
        font-size: 2.1rem;
    }

    .dashboard-list__item,
    .pulse-row,
    .spotlight-item {
        align-items: start;
        flex-direction: column;
    }

    .hero-meta {
        gap: 0.6rem;
    }

    .nav-identity {
        margin-top: 0.8rem;
        justify-content: space-between;
    }

    .hero-chip {
        width: 100%;
        justify-content: center;
    }

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

    .dashboard-hero--employee .spotlight-grid,
    .metric-grid--employee,
    .employee-summary-grid,
    .employee-dashboard-actions,
    .employee-summary-strip,
    .workspace-summary-strip {
        grid-template-columns: 1fr;
    }

    .employee-profile-hero__actions .btn,
    .employee-share-box__actions > *,
    .workspace-unlinked-card .btn {
        width: 100%;
    }

    .profile-list__item {
        align-items: flex-start;
        flex-direction: column;
    }

    .custom-fields-panel__head {
        align-items: stretch;
        flex-direction: column;
    }

    .custom-field-display {
        grid-template-columns: 1fr;
    }
}
