:root {
    --hs-navy: #0b253a;
    --hs-navy-soft: #123f58;
    --hs-teal: #197b7b;
    --hs-teal-dark: #126565;
    --hs-mint: #45b69c;
    --hs-gold: #d4af37;
    --hs-sand: #e6a15c;
    --hs-surface: #ffffff;
    --hs-surface-soft: #f8fafc;
    --hs-border: #dbe4ea;
    --hs-text: #13222b;
    --hs-muted: #64748b;
}

.hs-page {
    display: grid;
    gap: 1.5rem;
}

.hs-page-header {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.5rem;
    color: #ffffff;
    background:
        radial-gradient(
            circle at top right,
            rgba(69, 182, 156, 0.28),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            var(--hs-navy) 0%,
            var(--hs-navy-soft) 58%,
            var(--hs-teal) 100%
        );
    box-shadow: 0 18px 45px rgba(11, 37, 58, 0.18);
}

.hs-page-header__identity {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.hs-page-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hs-page-header__icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.hs-page-header__eyebrow {
    margin: 0 0 0.25rem;
    color: #b7eee2;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hs-page-header__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 800;
    line-height: 1.2;
}

.hs-page-header__description {
    max-width: 52rem;
    margin: 0.45rem 0 0;
    color: #d8e7ee;
    font-size: 0.9rem;
    line-height: 1.55;
}

.hs-page-header__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
    flex: 0 0 auto;
}

.hs-card {
    overflow: hidden;
    border: 1px solid var(--hs-border);
    border-radius: 1.25rem;
    background: var(--hs-surface);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.hs-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border-bottom: 1px solid var(--hs-border);
    background:
        linear-gradient(
            135deg,
            rgba(25, 123, 123, 0.07),
            rgba(69, 182, 156, 0.025)
        );
}

.hs-card__heading {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.hs-card__icon {
    width: 1.35rem;
    height: 1.35rem;
    margin-top: 0.1rem;
    color: var(--hs-teal);
}

.hs-card__title {
    margin: 0;
    color: var(--hs-text);
    font-size: 1rem;
    font-weight: 750;
}

.hs-card__description {
    margin: 0.3rem 0 0;
    color: var(--hs-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.hs-card__body {
    padding: 1.35rem;
}

.hs-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
}

.hs-stat-card {
    position: relative;
    overflow: hidden;
    padding: 1.15rem;
    border: 1px solid var(--hs-border);
    border-radius: 1.15rem;
    background: var(--hs-surface);
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

.hs-stat-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #94a3b8;
}

.hs-stat-card--teal::before {
    background: var(--hs-teal);
}

.hs-stat-card--mint::before {
    background: var(--hs-mint);
}

.hs-stat-card--gold::before {
    background: var(--hs-gold);
}

.hs-stat-card--danger::before {
    background: #dc2626;
}

.hs-stat-card__label {
    margin: 0;
    color: var(--hs-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hs-stat-card__value {
    margin: 0.45rem 0 0;
    color: var(--hs-text);
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.15;
}

.hs-stat-card__hint {
    margin: 0.35rem 0 0;
    color: var(--hs-muted);
    font-size: 0.75rem;
}

.hs-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--hs-border);
    border-radius: 1rem;
}

.hs-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    color: var(--hs-text);
    font-size: 0.82rem;
}

.hs-table th {
    padding: 0.85rem;
    border-bottom: 1px solid var(--hs-border);
    background: var(--hs-surface-soft);
    color: #475569;
    font-weight: 750;
    text-align: left;
}

.hs-table td {
    padding: 0.8rem;
    border-bottom: 1px solid var(--hs-border);
    vertical-align: top;
}

.hs-table tbody tr:last-child td {
    border-bottom: 0;
}

.hs-table tbody tr:hover {
    background: rgba(25, 123, 123, 0.035);
}

.hs-table__employee {
    min-width: 160px;
    font-weight: 700;
}

.hs-table__day {
    min-width: 125px;
    text-align: center !important;
}

.hs-shift {
    display: block;
    margin-bottom: 0.35rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
}

.hs-shift:last-child {
    margin-bottom: 0;
}

.hs-shift--work {
    color: #0f5e5e;
    background: #e6f7f4;
    border-color: #a7ded4;
}

.hs-shift--vacation {
    color: #166534;
    background: #ecfdf3;
    border-color: #bbf7d0;
}

.hs-shift--sick {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

.hs-shift--education {
    color: #1d4ed8;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.hs-shift--neutral {
    color: #475569;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.hs-shift__meta {
    display: block;
    margin-top: 0.2rem;
    color: currentColor;
    font-size: 0.68rem;
    font-weight: 500;
    opacity: 0.78;
}

.hs-empty-state {
    padding: 2rem;
    color: var(--hs-muted);
    text-align: center;
}

.hs-empty-state a {
    color: var(--hs-teal);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dark .hs-card,
.dark .hs-stat-card {
    border-color: #334155;
    background: #111827;
}

.dark .hs-card__header {
    border-color: #334155;
    background: linear-gradient(
        135deg,
        rgba(25, 123, 123, 0.16),
        rgba(15, 23, 42, 0.15)
    );
}

.dark .hs-card__title,
.dark .hs-stat-card__value,
.dark .hs-table {
    color: #f8fafc;
}

.dark .hs-card__description,
.dark .hs-stat-card__label,
.dark .hs-stat-card__hint {
    color: #94a3b8;
}

.dark .hs-table-wrap {
    border-color: #334155;
}

.dark .hs-table th {
    border-color: #334155;
    background: #1e293b;
    color: #cbd5e1;
}

.dark .hs-table td {
    border-color: #273449;
}

.dark .hs-table tbody tr:hover {
    background: rgba(69, 182, 156, 0.07);
}

@media (max-width: 760px) {
    .hs-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .hs-page-header__actions {
        justify-content: flex-start;
        width: 100%;
    }

    .hs-card__header {
        flex-direction: column;
    }
}

/* =========================================================
   HealthSuite-Grunddesign für Filament-Standardseiten
   ========================================================= */

.fi-body {
    background:
        linear-gradient(
            180deg,
            rgba(25, 123, 123, 0.035),
            transparent 18rem
        ),
        #f4f7f9;
}

.fi-page-header-heading {
    color: var(--hs-navy);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.fi-page-header-subheading {
    color: var(--hs-muted);
}

.fi-section,
.fi-ta-ctn {
    overflow: hidden;
    border: 1px solid var(--hs-border);
    border-radius: 1.25rem !important;
    background: var(--hs-surface);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.fi-section-header {
    border-bottom: 1px solid var(--hs-border);
    background:
        linear-gradient(
            135deg,
            rgba(25, 123, 123, 0.07),
            rgba(69, 182, 156, 0.025)
        );
}

.fi-section-header-heading {
    color: var(--hs-text);
    font-weight: 750;
}

.fi-btn {
    border-radius: 0.75rem !important;
}

.fi-input-wrp {
    border-radius: 0.75rem !important;
}

.fi-ta-header {
    border-bottom-color: var(--hs-border);
}

.fi-ta-header-heading {
    color: var(--hs-text);
    font-weight: 750;
}

.fi-ta-table thead {
    background: var(--hs-surface-soft);
}

.fi-ta-table thead th {
    color: #475569;
    font-weight: 700;
}

.fi-sidebar {
    border-right: 1px solid rgba(219, 228, 234, 0.8);
}

.fi-sidebar-item-active > a {
    background: rgba(25, 123, 123, 0.11);
}

.fi-sidebar-item-active .fi-sidebar-item-label,
.fi-sidebar-item-active .fi-sidebar-item-icon {
    color: var(--hs-teal);
}

.fi-topbar nav {
    border-bottom: 1px solid rgba(219, 228, 234, 0.8);
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.035);
}

.dark .fi-body {
    background:
        linear-gradient(
            180deg,
            rgba(25, 123, 123, 0.08),
            transparent 18rem
        ),
        #0f172a;
}

.dark .fi-page-header-heading {
    color: #f8fafc;
}

.dark .fi-section,
.dark .fi-ta-ctn {
    border-color: #334155;
    background: #111827;
}

.dark .fi-section-header {
    border-color: #334155;
}

.dark .fi-sidebar,
.dark .fi-topbar nav {
    border-color: #273449;
}

/* HS_FILAMENT_HEADER_START */

/*
 * Einheitlicher HealthSuite-Seitenkopf.
 * Gilt für Ressourcen, Formulare, Tabellen und eigene Seiten.
 */
.fi-header,
.fi-page-header {
    position: relative;
    overflow: hidden;
    padding: 1.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 1.5rem !important;
    background:
        radial-gradient(
            circle at top right,
            rgba(69, 182, 156, 0.32),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            #0b253a 0%,
            #123f58 58%,
            #197b7b 100%
        ) !important;
    box-shadow: 0 18px 45px rgba(11, 37, 58, 0.22) !important;
}

.fi-header-heading,
.fi-page-header-heading {
    color: #ffffff !important;
    font-size: clamp(1.45rem, 2vw, 1.9rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em;
}

.fi-header-subheading,
.fi-page-header-subheading {
    max-width: 52rem;
    margin-top: 0.4rem !important;
    color: #d8e7ee !important;
    font-size: 0.9rem !important;
    line-height: 1.55;
}

.fi-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

/*
 * Aktionen im Seitenkopf erhalten ein ruhigeres,
 * einheitliches Erscheinungsbild.
 */
.fi-header-actions .fi-btn {
    min-height: 2.7rem;
    border-radius: 0.85rem !important;
    box-shadow: 0 7px 18px rgba(4, 23, 35, 0.2) !important;
}

/*
 * Breadcrumbs werden kompakter, bleiben aber erhalten.
 */
.fi-breadcrumbs {
    margin-bottom: 0.75rem;
    color: #94a3b8;
}

.fi-breadcrumbs-item-label {
    font-weight: 600;
}

/*
 * Gleichmäßiger Abstand unter jedem Seitenkopf.
 */
.fi-main-ctn .fi-page > section,
.fi-main-ctn .fi-page > div {
    scroll-margin-top: 2rem;
}

/*
 * Tabellenköpfe im dunklen Modus nicht mehr weiß darstellen.
 */
.dark .fi-ta-table thead,
.dark .fi-ta-table thead tr,
.dark .fi-ta-table thead th {
    background: #182333 !important;
    color: #dbe7ec !important;
}

/*
 * Einheitliche Tabellenrundung.
 */
.fi-ta-ctn {
    border-radius: 1.25rem !important;
}

.fi-ta-table {
    overflow: hidden;
}

/*
 * Deutsche, ruhigere Leermeldungen.
 */
.fi-ta-empty-state-heading {
    color: var(--hs-text);
    font-weight: 700;
}

.dark .fi-ta-empty-state-heading {
    color: #f8fafc;
}

/* HS_FILAMENT_HEADER_END */

/* HS_ACTION_GOLD */
.fi-header-actions .hs-action-gold,
.hs-action-gold {
    color: #0b253a !important;
    background: #d4af37 !important;
    border-color: #e7ca67 !important;
    box-shadow: 0 7px 18px rgba(212, 175, 55, 0.22) !important;
}

.fi-header-actions .hs-action-gold:hover,
.hs-action-gold:hover {
    color: #0b253a !important;
    background: #e0bd4d !important;
}

/* HS_SHIFT_FORMS_START */

.hs-form-section,
.hs-week-planner {
    overflow: hidden;
    border-radius: 1.25rem;
}

.hs-week-planner .fi-section-content {
    display: grid;
    gap: 1rem;
}

.hs-day-card {
    margin: 0 !important;
    padding: 1rem !important;
    border: 1px solid #dbe4ea !important;
    border-radius: 1rem !important;
    background:
        linear-gradient(
            135deg,
            rgba(25, 123, 123, 0.045),
            rgba(255, 255, 255, 0.01)
        );
}

.hs-day-card legend {
    padding: 0 0.45rem;
    color: #197b7b;
    font-size: 0.86rem;
    font-weight: 800;
}

.dark .hs-day-card {
    border-color: #334155 !important;
    background:
        linear-gradient(
            135deg,
            rgba(25, 123, 123, 0.11),
            rgba(15, 23, 42, 0.15)
        );
}

.dark .hs-day-card legend {
    color: #5eead4;
}

.fi-fo-component-ctn .fi-section {
    border-radius: 1.25rem;
}

.fi-fo-component-ctn .fi-section-header {
    padding: 1.15rem 1.25rem;
}

.fi-fo-component-ctn .fi-section-content {
    padding: 1.25rem;
}

.fi-fo-actions .fi-btn {
    min-height: 2.7rem;
    border-radius: 0.85rem !important;
}

/* HS_SHIFT_FORMS_END */

/* HS_LEAVE_DASHBOARD_START */

.hs-leave-page {
    display: grid;
    gap: 1.5rem;
}

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

.hs-leave-stat {
    position: relative;
    overflow: hidden;
    min-height: 11rem;
    padding: 1.35rem;
    border: 1px solid #dbe4ea;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(11, 37, 58, 0.07);
}

.hs-leave-stat::after {
    position: absolute;
    right: -2rem;
    bottom: -3rem;
    width: 8rem;
    height: 8rem;
    border-radius: 9999px;
    background: currentColor;
    content: "";
    opacity: 0.045;
}

.hs-leave-stat-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.hs-leave-stat-label {
    margin: 0;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.hs-leave-stat-value {
    margin: 0.65rem 0 0;
    color: #0b253a;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 850;
    letter-spacing: -0.04em;
    line-height: 1;
}

.hs-leave-stat-value span {
    font-size: 0.9rem;
    font-weight: 750;
    letter-spacing: 0;
}

.hs-leave-stat-description {
    margin: 1.1rem 0 0;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.45;
}

.hs-leave-stat-icon {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.9rem;
    background: rgba(25, 123, 123, 0.1);
    color: #197b7b;
}

.hs-leave-stat-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.hs-leave-stat-total {
    color: #197b7b;
}

.hs-leave-stat-used {
    color: #22a06b;
}

.hs-leave-stat-used .hs-leave-stat-icon {
    background: rgba(34, 160, 107, 0.11);
    color: #22a06b;
}

.hs-leave-stat-remaining {
    color: #45b69c;
}

.hs-leave-stat-remaining .hs-leave-stat-value {
    color: #197b7b;
}

.hs-leave-stat-pending {
    color: #d4af37;
}

.hs-leave-stat-pending .hs-leave-stat-icon {
    background: rgba(212, 175, 55, 0.13);
    color: #b58d16;
}

.hs-leave-panel {
    overflow: hidden;
    border: 1px solid #dbe4ea;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(11, 37, 58, 0.07);
}

.hs-leave-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid #dbe4ea;
    background:
        linear-gradient(
            135deg,
            rgba(25, 123, 123, 0.07),
            rgba(69, 182, 156, 0.025)
        );
}

.hs-leave-panel-eyebrow {
    margin: 0 0 0.25rem;
    color: #197b7b;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hs-leave-panel-title {
    margin: 0;
    color: #0b253a;
    font-size: 1.1rem;
    font-weight: 800;
}

.hs-leave-panel-description {
    margin: 0.35rem 0 0;
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.45;
}

.hs-leave-request-count {
    display: grid;
    min-width: 2.4rem;
    height: 2.4rem;
    padding: 0 0.65rem;
    place-items: center;
    border-radius: 9999px;
    background: #197b7b;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
}

.hs-leave-request-list {
    display: grid;
    gap: 0.85rem;
    padding: 1.25rem;
}

.hs-leave-request {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #f8fafc;
}

.hs-leave-request-content {
    min-width: 0;
}

.hs-leave-request-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.hs-leave-type {
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(25, 123, 123, 0.22);
    border-radius: 9999px;
    background: rgba(25, 123, 123, 0.09);
    color: #197b7b;
    font-size: 0.7rem;
    font-weight: 800;
}

.hs-leave-dates {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
}

.hs-leave-dates svg {
    width: 1rem;
    height: 1rem;
    color: #197b7b;
}

.hs-leave-notes {
    margin: 0.65rem 0 0;
    color: #64748b;
    font-size: 0.78rem;
    font-style: italic;
    line-height: 1.5;
}

.hs-leave-status {
    flex: 0 0 auto;
    padding: 0.4rem 0.75rem;
    border: 1px solid;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 800;
}

.hs-leave-status-approved {
    border-color: rgba(34, 197, 94, 0.32);
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}

.hs-leave-status-rejected {
    border-color: rgba(239, 68, 68, 0.32);
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

.hs-leave-status-pending {
    border-color: rgba(212, 175, 55, 0.38);
    background: rgba(212, 175, 55, 0.12);
    color: #9a7411;
}

.hs-leave-empty {
    display: grid;
    min-height: 12rem;
    padding: 2rem;
    place-items: center;
    align-content: center;
    text-align: center;
}

.hs-leave-empty-icon {
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 0.85rem;
    place-items: center;
    border-radius: 1rem;
    background: rgba(25, 123, 123, 0.1);
    color: #197b7b;
}

.hs-leave-empty-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.hs-leave-empty h3 {
    margin: 0;
    color: #0b253a;
    font-size: 1rem;
    font-weight: 800;
}

.hs-leave-empty p {
    max-width: 27rem;
    margin: 0.45rem 0 0;
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.5;
}

.dark .hs-leave-stat,
.dark .hs-leave-panel {
    border-color: #334155;
    background: #151719;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
}

.dark .hs-leave-stat-label,
.dark .hs-leave-stat-description,
.dark .hs-leave-panel-description,
.dark .hs-leave-notes,
.dark .hs-leave-empty p {
    color: #9299a7;
}

.dark .hs-leave-stat-value,
.dark .hs-leave-panel-title,
.dark .hs-leave-empty h3 {
    color: #f8fafc;
}

.dark .hs-leave-stat-remaining .hs-leave-stat-value {
    color: #2dd4bf;
}

.dark .hs-leave-panel-header {
    border-color: #334155;
    background:
        linear-gradient(
            135deg,
            rgba(25, 123, 123, 0.12),
            rgba(15, 23, 42, 0.12)
        );
}

.dark .hs-leave-request {
    border-color: #334155;
    background: #171b20;
}

.dark .hs-leave-dates {
    color: #e2e8f0;
}

.dark .hs-leave-status-approved {
    color: #4ade80;
}

.dark .hs-leave-status-rejected {
    color: #f87171;
}

.dark .hs-leave-status-pending {
    color: #facc15;
}

@media (max-width: 900px) {
    .hs-leave-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 580px) {
    .hs-leave-stats {
        grid-template-columns: 1fr;
    }

    .hs-leave-request {
        align-items: flex-start;
        flex-direction: column;
    }

    .hs-leave-status {
        align-self: flex-start;
    }
}

/* HS_LEAVE_DASHBOARD_END */

.hs-leave-status-reported {
    border-color: rgba(45, 212, 191, 0.34);
    background: rgba(45, 212, 191, 0.1);
    color: #0f766e;
}

.dark .hs-leave-status-reported {
    color: #5eead4;
}

/* HS_SELF_SHIFT_START */

.hs-self-shift-page {
    display: grid;
    gap: 1.35rem;
}

.hs-self-shift-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.35rem;
    border: 1px solid #334155;
    border-radius: 1.25rem;
    background:
        linear-gradient(
            135deg,
            rgba(11, 37, 58, 0.96),
            rgba(25, 123, 123, 0.2)
        );
}

.hs-self-shift-eyebrow {
    margin: 0 0 0.25rem;
    color: #5eead4;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hs-self-shift-toolbar h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 1.2rem;
    font-weight: 850;
}

.hs-self-shift-toolbar p:not(.hs-self-shift-eyebrow) {
    margin: 0.35rem 0 0;
    color: #a8b3c3;
    font-size: 0.82rem;
}

.hs-self-shift-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

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

.hs-self-shift-stat {
    display: grid;
    gap: 0.5rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid #334155;
    border-radius: 1rem;
    background: #151719;
}

.hs-self-shift-stat span {
    color: #9299a7;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.hs-self-shift-stat strong {
    color: #2dd4bf;
    font-size: 1.55rem;
    font-weight: 850;
}

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

.hs-self-shift-day {
    overflow: hidden;
    min-height: 13rem;
    border: 1px solid #334155;
    border-radius: 1.15rem;
    background: #151719;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.hs-self-shift-day-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid #334155;
    background: rgba(15, 23, 42, 0.45);
}

.hs-self-shift-day-header div {
    display: grid;
    gap: 0.15rem;
}

.hs-self-shift-day-header span {
    color: #5eead4;
    font-size: 0.74rem;
    font-weight: 800;
}

.hs-self-shift-day-header strong {
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 800;
}

.hs-self-shift-today {
    padding: 0.25rem 0.55rem;
    border: 1px solid rgba(45, 212, 191, 0.42);
    border-radius: 9999px;
    background: rgba(45, 212, 191, 0.1);
    color: #5eead4 !important;
    font-size: 0.65rem !important;
}

.hs-self-shift-day-content {
    display: grid;
    min-height: 8.5rem;
    gap: 0.75rem;
    padding: 1.1rem;
    align-content: center;
}

.hs-self-shift-badge {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    padding: 0.4rem 0.7rem;
    border: 1px solid rgba(45, 212, 191, 0.34);
    border-radius: 9999px;
    background: rgba(45, 212, 191, 0.1);
    color: #5eead4;
    font-size: 0.72rem;
    font-weight: 850;
}

.hs-self-shift-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f8fafc;
}

.hs-self-shift-time svg {
    width: 1.1rem;
    height: 1.1rem;
    color: #2dd4bf;
}

.hs-self-shift-break,
.hs-self-shift-status,
.hs-self-shift-notes {
    margin: 0;
    color: #9299a7;
    font-size: 0.76rem;
    line-height: 1.45;
}

.hs-self-shift-notes {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hs-self-shift-empty {
    display: grid;
    gap: 0.55rem;
    place-items: center;
    color: #64748b;
    font-size: 0.78rem;
    font-style: italic;
    text-align: center;
}

.hs-self-shift-empty svg {
    width: 1.35rem;
    height: 1.35rem;
}

.hs-self-shift-day-today {
    border-color: #2dd4bf;
    box-shadow:
        0 0 0 1px rgba(45, 212, 191, 0.35),
        0 14px 32px rgba(45, 212, 191, 0.08);
}

.hs-self-shift-day-weekend:not(
    .hs-self-shift-day-work
) {
    background: #121416;
}

.hs-self-shift-day-vacation {
    border-color: rgba(34, 197, 94, 0.5);
    background:
        linear-gradient(
            135deg,
            #151719,
            rgba(22, 101, 52, 0.24)
        );
}

.hs-self-shift-day-vacation .hs-self-shift-badge {
    border-color: rgba(34, 197, 94, 0.44);
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
}

.hs-self-shift-day-sick,
.hs-self-shift-day-child-sick {
    border-color: rgba(239, 68, 68, 0.5);
    background:
        linear-gradient(
            135deg,
            #151719,
            rgba(127, 29, 29, 0.24)
        );
}

.hs-self-shift-day-sick .hs-self-shift-badge,
.hs-self-shift-day-child-sick .hs-self-shift-badge {
    border-color: rgba(239, 68, 68, 0.42);
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
}

.hs-self-shift-day-training,
.hs-self-shift-day-special-leave {
    border-color: rgba(59, 130, 246, 0.5);
    background:
        linear-gradient(
            135deg,
            #151719,
            rgba(30, 58, 138, 0.24)
        );
}

.hs-self-shift-day-training .hs-self-shift-badge,
.hs-self-shift-day-special-leave .hs-self-shift-badge {
    border-color: rgba(59, 130, 246, 0.42);
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
}

.hs-self-shift-missing {
    display: grid;
    min-height: 18rem;
    padding: 2rem;
    place-items: center;
    align-content: center;
    border: 1px solid #334155;
    border-radius: 1.25rem;
    background: #151719;
    text-align: center;
}

.hs-self-shift-missing-icon {
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 0.8rem;
    place-items: center;
    border-radius: 1rem;
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

.hs-self-shift-missing-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.hs-self-shift-missing h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 1.05rem;
}

.hs-self-shift-missing p {
    margin: 0.45rem 0 0;
    color: #9299a7;
    font-size: 0.8rem;
}

@media (max-width: 1150px) {
    .hs-self-shift-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hs-self-shift-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .hs-self-shift-actions {
        justify-content: flex-start;
    }

    .hs-self-shift-grid,
    .hs-self-shift-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 580px) {
    .hs-self-shift-grid,
    .hs-self-shift-stats {
        grid-template-columns: 1fr;
    }
}

@media print {
    .hs-self-shift-actions,
    .fi-topbar,
    .fi-sidebar {
        display: none !important;
    }

    .hs-self-shift-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hs-self-shift-day {
        break-inside: avoid;
    }
}

/* HS_SELF_SHIFT_END */

/* HS_ATTENDANCE_HISTORY_START */

.hs-attendance-page {
    display: grid;
    gap: 1.25rem;
}

.hs-attendance-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.35rem;
    border: 1px solid #334155;
    border-radius: 1.25rem;
    background:
        linear-gradient(
            135deg,
            rgba(11, 37, 58, 0.96),
            rgba(25, 123, 123, 0.22)
        );
}

.hs-attendance-eyebrow {
    margin: 0 0 0.25rem;
    color: #5eead4;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hs-attendance-toolbar h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 1.25rem;
    font-weight: 850;
}

.hs-attendance-toolbar p:not(
    .hs-attendance-eyebrow
) {
    margin: 0.35rem 0 0;
    color: #a8b3c3;
    font-size: 0.82rem;
}

.hs-attendance-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

.hs-attendance-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(245, 158, 11, 0.45);
    border-radius: 1rem;
    background: rgba(245, 158, 11, 0.08);
}

.hs-attendance-warning svg {
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 auto;
    color: #fbbf24;
}

.hs-attendance-warning strong {
    color: #fde68a;
}

.hs-attendance-warning p {
    margin: 0.25rem 0 0;
    color: #a8b3c3;
    font-size: 0.78rem;
}

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

.hs-attendance-credit > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: 1px solid #334155;
    border-radius: 1rem;
    background: #151719;
}

.hs-attendance-credit span {
    color: #9299a7;
    font-size: 0.76rem;
    font-weight: 700;
}

.hs-attendance-credit strong {
    color: #2dd4bf;
    font-size: 1rem;
}

.hs-attendance-table-card {
    overflow: hidden;
    border: 1px solid #334155;
    border-radius: 1.15rem;
    background: #151719;
}

.hs-attendance-table-card > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid #334155;
    background: rgba(15, 23, 42, 0.45);
}

.hs-attendance-table-card h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 1rem;
}

.hs-attendance-table-card header p {
    margin: 0.25rem 0 0;
    color: #9299a7;
    font-size: 0.75rem;
}

.hs-attendance-table-card header > span {
    color: #5eead4;
    font-size: 0.72rem;
    font-weight: 800;
}

.hs-attendance-table-scroll {
    overflow-x: auto;
}

.hs-attendance-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.hs-attendance-table th,
.hs-attendance-table td {
    padding: 0.8rem 0.9rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.65);
    color: #cbd5e1;
    font-size: 0.75rem;
    text-align: left;
    white-space: nowrap;
}

.hs-attendance-table th {
    background: rgba(15, 23, 42, 0.6);
    color: #94a3b8;
    font-size: 0.67rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hs-attendance-table td:first-child {
    display: grid;
    gap: 0.12rem;
}

.hs-attendance-table td:first-child strong {
    color: #f8fafc;
}

.hs-attendance-table td:first-child span {
    color: #64748b;
    font-size: 0.68rem;
}

.hs-attendance-table tbody tr:hover {
    background: rgba(45, 212, 191, 0.035);
}

.hs-attendance-today {
    background: rgba(45, 212, 191, 0.055);
}

.hs-attendance-weekend {
    background: rgba(2, 6, 23, 0.18);
}

.hs-attendance-status {
    display: inline-flex;
    padding: 0.28rem 0.52rem;
    border: 1px solid #475569;
    border-radius: 9999px;
    font-size: 0.66rem;
    font-weight: 800;
}

.hs-attendance-status-success {
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
}

.hs-attendance-status-danger {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

.hs-attendance-status-warning {
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
}

.hs-attendance-status-info,
.hs-attendance-status-primary {
    border-color: rgba(45, 212, 191, 0.4);
    background: rgba(45, 212, 191, 0.1);
    color: #5eead4;
}

.hs-attendance-status-gray {
    border-color: #475569;
    background: rgba(71, 85, 105, 0.12);
    color: #94a3b8;
}

.hs-attendance-positive {
    color: #4ade80;
}

.hs-attendance-negative {
    color: #f87171;
}

.hs-attendance-empty {
    display: grid;
    min-height: 18rem;
    padding: 2rem;
    place-items: center;
    align-content: center;
    border: 1px solid #334155;
    border-radius: 1.25rem;
    background: #151719;
    text-align: center;
}

.hs-attendance-empty svg {
    width: 2rem;
    height: 2rem;
    color: #f87171;
}

.hs-attendance-empty h2 {
    margin: 0.75rem 0 0;
    color: #f8fafc;
}

.hs-attendance-empty p {
    margin: 0.35rem 0 0;
    color: #9299a7;
}

@media (max-width: 900px) {
    .hs-attendance-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .hs-attendance-actions {
        justify-content: flex-start;
    }

    .hs-attendance-credit {
        grid-template-columns: 1fr;
    }
}

@media print {
    .hs-attendance-actions,
    .fi-topbar,
    .fi-sidebar {
        display: none !important;
    }
}

/* HS_ATTENDANCE_HISTORY_END */


/* HealthSuite: responsive leave account cards */
.hs-leave-stats {
    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));
}


/* HealthSuite: time-off attendance and shift display */
.hs-attendance-credit {
    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));
}

.hs-attendance-time-off-detail {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    opacity: 0.75;
}

.hs-self-shift-time-off {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(45, 212, 191, 0.24);
}

/* HS_PRACTICE_DASHBOARD_V2_START */

.hs-dashboard-v2 {
    display: grid;
    gap: 1.5rem;
}

.hs-dashboard-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
    gap: 2rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.5rem;
    color: #ffffff;
    background:
        radial-gradient(
            circle at top right,
            rgba(69, 182, 156, 0.34),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            var(--hs-navy) 0%,
            var(--hs-navy-soft) 55%,
            var(--hs-teal) 100%
        );
    box-shadow: 0 20px 48px rgba(11, 37, 58, 0.2);
}

.hs-dashboard-hero__content {
    align-self: center;
}

.hs-dashboard-hero__eyebrow,
.hs-dashboard-section__eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hs-dashboard-hero__eyebrow {
    color: #b7eee2;
}

.hs-dashboard-hero__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    font-weight: 850;
    line-height: 1.15;
}

.hs-dashboard-hero__description {
    max-width: 40rem;
    margin: 0.75rem 0 0;
    color: #d8e7ee;
    font-size: 0.95rem;
    line-height: 1.6;
}

.hs-dashboard-hero__facts {
    display: grid;
    gap: 0.75rem;
    align-content: center;
}

.hs-dashboard-hero__fact {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.hs-dashboard-hero__fact span {
    display: block;
    color: #b7cbd5;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hs-dashboard-hero__fact strong {
    display: block;
    margin-top: 0.25rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 750;
}

.hs-dashboard-section {
    padding: 1.4rem;
    border: 1px solid var(--hs-border);
    border-radius: 1.35rem;
    background: var(--hs-surface);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.hs-dashboard-section__header {
    margin-bottom: 1.15rem;
}

.hs-dashboard-section__eyebrow {
    color: var(--hs-teal);
}

.hs-dashboard-section__header h2 {
    margin: 0;
    color: var(--hs-text);
    font-size: 1.25rem;
    font-weight: 800;
}

.hs-dashboard-section__header p:last-child {
    margin: 0.35rem 0 0;
    color: var(--hs-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.hs-dashboard-actions {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.9rem;
}

.hs-dashboard-action {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
    min-height: 6.1rem;
    padding: 1rem;
    border: 1px solid var(--hs-border);
    border-radius: 1.05rem;
    color: var(--hs-text);
    background: var(--hs-surface-soft);
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.hs-dashboard-action:hover {
    transform: translateY(-2px);
    border-color: rgba(25, 123, 123, 0.42);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}

.hs-dashboard-action__icon,
.hs-dashboard-area__icon,
.hs-dashboard-guide__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 0.9rem;
}

.hs-dashboard-action__icon {
    width: 2.85rem;
    height: 2.85rem;
    color: var(--hs-teal);
    background: rgba(25, 123, 123, 0.1);
}

.hs-dashboard-action--gold .hs-dashboard-action__icon {
    color: #9a7417;
    background: rgba(212, 175, 55, 0.15);
}

.hs-dashboard-action--mint .hs-dashboard-action__icon {
    color: #167862;
    background: rgba(69, 182, 156, 0.14);
}

.hs-dashboard-action--danger .hs-dashboard-action__icon {
    color: #b91c1c;
    background: rgba(220, 38, 38, 0.1);
}

.hs-dashboard-action--navy .hs-dashboard-action__icon {
    color: var(--hs-navy-soft);
    background: rgba(18, 63, 88, 0.1);
}

.hs-dashboard-action__content,
.hs-dashboard-area__content {
    min-width: 0;
}

.hs-dashboard-action__content strong,
.hs-dashboard-area__content strong {
    display: block;
    color: var(--hs-text);
    font-size: 0.9rem;
    font-weight: 780;
}

.hs-dashboard-action__content small,
.hs-dashboard-area__content small {
    display: block;
    margin-top: 0.28rem;
    color: var(--hs-muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.hs-dashboard-action__arrow,
.hs-dashboard-area__arrow {
    width: 1rem;
    height: 1rem;
    color: #94a3b8;
}

.hs-dashboard-areas {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.8rem;
}

.hs-dashboard-area {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem;
    border: 1px solid var(--hs-border);
    border-radius: 1rem;
    background: var(--hs-surface-soft);
    transition:
        background 160ms ease,
        border-color 160ms ease;
}

.hs-dashboard-area:hover {
    border-color: rgba(25, 123, 123, 0.36);
    background: rgba(25, 123, 123, 0.045);
}

.hs-dashboard-area__icon {
    width: 2.6rem;
    height: 2.6rem;
    color: var(--hs-teal);
    background: rgba(25, 123, 123, 0.1);
}

.hs-dashboard-guide {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(25, 123, 123, 0.2);
    border-radius: 1.15rem;
    background: rgba(25, 123, 123, 0.055);
}

.hs-dashboard-guide__icon {
    width: 2.55rem;
    height: 2.55rem;
    color: var(--hs-teal);
    background: rgba(25, 123, 123, 0.11);
}

.hs-dashboard-guide strong {
    color: var(--hs-text);
    font-size: 0.86rem;
}

.hs-dashboard-guide p {
    margin: 0.25rem 0 0;
    color: var(--hs-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.hs-dashboard-empty {
    padding: 1.5rem;
    border: 1px dashed var(--hs-border);
    border-radius: 1rem;
    color: var(--hs-muted);
    text-align: center;
}

.dark .hs-dashboard-section {
    border-color: #334155;
    background: #111827;
}

.dark .hs-dashboard-action,
.dark .hs-dashboard-area {
    border-color: #334155;
    background: #171f2c;
}

.dark .hs-dashboard-action:hover,
.dark .hs-dashboard-area:hover {
    border-color: rgba(69, 182, 156, 0.45);
    background: #1b2734;
}

.dark .hs-dashboard-section__header h2,
.dark .hs-dashboard-action__content strong,
.dark .hs-dashboard-area__content strong,
.dark .hs-dashboard-guide strong {
    color: #f8fafc;
}

.dark .hs-dashboard-section__header p:last-child,
.dark .hs-dashboard-action__content small,
.dark .hs-dashboard-area__content small,
.dark .hs-dashboard-guide p {
    color: #94a3b8;
}

.dark .hs-dashboard-guide {
    border-color: rgba(69, 182, 156, 0.24);
    background: rgba(25, 123, 123, 0.1);
}

@media (max-width: 900px) {
    .hs-dashboard-hero {
        grid-template-columns: 1fr;
    }

    .hs-dashboard-hero__facts {
        grid-template-columns:
            repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 580px) {
    .hs-dashboard-section {
        padding: 1rem;
    }

    .hs-dashboard-actions,
    .hs-dashboard-areas {
        grid-template-columns: 1fr;
    }

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

/* HS_PRACTICE_DASHBOARD_V2_END */

/* HS_PRACTICE_KNOWLEDGE_V1_START */

.hs-knowledge-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(245px, 1fr));
    gap: 1rem;
}

.hs-knowledge-world {
    position: relative;
    overflow: hidden;
    min-height: 13rem;
    padding: 1.15rem;
    border: 1px solid var(--hs-border);
    border-radius: 1.15rem;
    background: var(--hs-surface-soft);
}

.hs-knowledge-world::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--hs-teal);
}

.hs-knowledge-world--mint::before {
    background: var(--hs-mint);
}

.hs-knowledge-world--gold::before {
    background: var(--hs-gold);
}

.hs-knowledge-world--danger::before {
    background: #dc2626;
}

.hs-knowledge-world__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.hs-knowledge-world__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.9rem;
    color: var(--hs-teal);
    background: rgba(25, 123, 123, 0.1);
}

.hs-knowledge-world__icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.hs-knowledge-world--mint .hs-knowledge-world__icon {
    color: #167862;
    background: rgba(69, 182, 156, 0.14);
}

.hs-knowledge-world--gold .hs-knowledge-world__icon {
    color: #9a7417;
    background: rgba(212, 175, 55, 0.15);
}

.hs-knowledge-world--danger .hs-knowledge-world__icon {
    color: #b91c1c;
    background: rgba(220, 38, 38, 0.1);
}

.hs-knowledge-world__status {
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    color: #475569;
    background: #e2e8f0;
    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hs-knowledge-world h3 {
    margin: 1rem 0 0;
    color: var(--hs-text);
    font-size: 1rem;
    font-weight: 800;
}

.hs-knowledge-world p {
    margin: 0.5rem 0 0;
    color: var(--hs-muted);
    font-size: 0.8rem;
    line-height: 1.55;
}

.hs-knowledge-separation {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(25, 123, 123, 0.22);
    border-radius: 1.15rem;
    background: rgba(25, 123, 123, 0.055);
}

.hs-knowledge-separation__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 0.9rem;
    color: var(--hs-teal);
    background: rgba(25, 123, 123, 0.11);
}

.hs-knowledge-separation__icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.hs-knowledge-separation strong {
    color: var(--hs-text);
    font-size: 0.9rem;
}

.hs-knowledge-separation p {
    margin: 0.35rem 0 0;
    color: var(--hs-muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.hs-knowledge-separation a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.7rem;
    color: var(--hs-teal);
    font-size: 0.78rem;
    font-weight: 750;
}

.hs-knowledge-separation a svg {
    width: 0.95rem;
    height: 0.95rem;
}

.dark .hs-knowledge-world {
    border-color: #334155;
    background: #171f2c;
}

.dark .hs-knowledge-world h3,
.dark .hs-knowledge-separation strong {
    color: #f8fafc;
}

.dark .hs-knowledge-world p,
.dark .hs-knowledge-separation p {
    color: #94a3b8;
}

.dark .hs-knowledge-world__status {
    color: #cbd5e1;
    background: #334155;
}

.dark .hs-knowledge-separation {
    border-color: rgba(69, 182, 156, 0.24);
    background: rgba(25, 123, 123, 0.1);
}

@media (max-width: 580px) {
    .hs-knowledge-grid {
        grid-template-columns: 1fr;
    }

    .hs-knowledge-separation {
        flex-direction: column;
    }
}

/* HS_PRACTICE_KNOWLEDGE_V1_END */

/* HS_LEARNING_WORLD_RECEPTION_V1_START */

.hs-knowledge-world {
    display: block;
    color: inherit;
    text-decoration: none;
}

.hs-knowledge-world--available {
    cursor: pointer;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.hs-knowledge-world--available:hover {
    transform: translateY(-3px);
    border-color: rgba(69, 182, 156, 0.55);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.hs-knowledge-world__status--available {
    color: #166534;
    background: #dcfce7;
}

.hs-knowledge-world__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    color: var(--hs-teal);
    font-size: 0.76rem;
    font-weight: 800;
}

.hs-knowledge-world__link svg {
    width: 1rem;
    height: 1rem;
}

.hs-learning-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--hs-teal);
    font-size: 0.8rem;
    font-weight: 750;
}

.hs-learning-breadcrumb a svg {
    width: 1rem;
    height: 1rem;
}

.hs-learning-meta {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.85rem;
}

.hs-learning-meta__item {
    padding: 1rem;
    border: 1px solid var(--hs-border);
    border-radius: 1rem;
    background: var(--hs-surface);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.hs-learning-meta__item span {
    display: block;
    color: var(--hs-muted);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hs-learning-meta__item strong {
    display: block;
    margin-top: 0.3rem;
    color: var(--hs-text);
    font-size: 0.9rem;
}

.hs-learning-introduction,
.hs-learning-takeaway {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.3rem;
    border: 1px solid rgba(25, 123, 123, 0.2);
    border-radius: 1.15rem;
    background: rgba(25, 123, 123, 0.055);
}

.hs-learning-introduction__icon,
.hs-learning-takeaway__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.9rem;
    color: var(--hs-teal);
    background: rgba(25, 123, 123, 0.11);
}

.hs-learning-introduction__icon svg,
.hs-learning-takeaway__icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.hs-learning-introduction h2 {
    margin: 0;
    color: var(--hs-text);
    font-size: 1rem;
    font-weight: 800;
}

.hs-learning-introduction p,
.hs-learning-takeaway p {
    margin: 0.35rem 0 0;
    color: var(--hs-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.hs-learning-module-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(360px, 1fr));
    gap: 1rem;
}

.hs-learning-module {
    overflow: hidden;
    border: 1px solid var(--hs-border);
    border-radius: 1.2rem;
    background: var(--hs-surface);
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
}

.hs-learning-module__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid var(--hs-border);
    background:
        linear-gradient(
            135deg,
            rgba(25, 123, 123, 0.08),
            rgba(69, 182, 156, 0.025)
        );
}

.hs-learning-module__identity {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.hs-learning-module__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.85rem;
    color: var(--hs-teal);
    background: rgba(25, 123, 123, 0.11);
}

.hs-learning-module__icon svg {
    width: 1.3rem;
    height: 1.3rem;
}

.hs-learning-module__identity p {
    margin: 0;
    color: var(--hs-teal);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.hs-learning-module__identity h2 {
    margin: 0.2rem 0 0;
    color: var(--hs-text);
    font-size: 0.98rem;
    font-weight: 800;
}

.hs-learning-module__duration {
    flex: 0 0 auto;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    color: #475569;
    background: #e2e8f0;
    font-size: 0.67rem;
    font-weight: 750;
}

.hs-learning-module__body {
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
}

.hs-learning-module__description {
    margin: 0;
    color: var(--hs-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.hs-learning-module__section h3 {
    margin: 0 0 0.55rem;
    color: var(--hs-text);
    font-size: 0.82rem;
    font-weight: 800;
}

.hs-learning-module__section ul {
    display: grid;
    gap: 0.48rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hs-learning-module__section li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--hs-muted);
    font-size: 0.77rem;
    line-height: 1.5;
}

.hs-learning-module__section li svg {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    margin-top: 0.16rem;
    color: var(--hs-teal);
}

.hs-learning-module__example {
    padding: 0.85rem 0.95rem;
    border-left: 3px solid var(--hs-gold);
    border-radius: 0.75rem;
    background: rgba(212, 175, 55, 0.08);
}

.hs-learning-module__example span {
    display: block;
    color: #8a6817;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hs-learning-module__example blockquote {
    margin: 0.35rem 0 0;
    color: var(--hs-text);
    font-size: 0.8rem;
    font-style: italic;
    line-height: 1.55;
}

.hs-learning-takeaway strong {
    color: var(--hs-text);
    font-size: 0.9rem;
}

.dark .hs-knowledge-world__status--available {
    color: #bbf7d0;
    background: rgba(22, 101, 52, 0.4);
}

.dark .hs-learning-meta__item,
.dark .hs-learning-module {
    border-color: #334155;
    background: #111827;
}

.dark .hs-learning-meta__item strong,
.dark .hs-learning-introduction h2,
.dark .hs-learning-module__identity h2,
.dark .hs-learning-module__section h3,
.dark .hs-learning-module__example blockquote,
.dark .hs-learning-takeaway strong {
    color: #f8fafc;
}

.dark .hs-learning-meta__item span,
.dark .hs-learning-introduction p,
.dark .hs-learning-module__description,
.dark .hs-learning-module__section li,
.dark .hs-learning-takeaway p {
    color: #94a3b8;
}

.dark .hs-learning-module__header {
    border-color: #334155;
    background:
        linear-gradient(
            135deg,
            rgba(25, 123, 123, 0.17),
            rgba(15, 23, 42, 0.15)
        );
}

.dark .hs-learning-module__duration {
    color: #cbd5e1;
    background: #334155;
}

.dark .hs-learning-introduction,
.dark .hs-learning-takeaway {
    border-color: rgba(69, 182, 156, 0.24);
    background: rgba(25, 123, 123, 0.1);
}

.dark .hs-learning-module__example {
    background: rgba(212, 175, 55, 0.1);
}

.dark .hs-learning-module__example span {
    color: #f3d878;
}

@media (max-width: 700px) {
    .hs-learning-module-grid {
        grid-template-columns: 1fr;
    }

    .hs-learning-module__header {
        flex-direction: column;
    }

    .hs-learning-introduction,
    .hs-learning-takeaway {
        flex-direction: column;
    }
}

/* HS_LEARNING_WORLD_RECEPTION_V1_END */

/* HS_PERSONAL_TEAM_DARK_CARDS_START */

.hs-personal-team-dark {
    display: grid;
    gap: 1.5rem;
}

.hs-personal-team-card {
    border: 1px solid #2c405a !important;
    color: #f8fafc !important;
    background:
        radial-gradient(
            circle at top right,
            rgba(25, 123, 123, 0.13),
            transparent 58%
        ),
        linear-gradient(
            145deg,
            #111d30 0%,
            #0d1726 100%
        ) !important;
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.hs-personal-team-card:hover {
    transform: translateY(-3px);
    border-color: rgba(69, 182, 156, 0.62) !important;
    box-shadow:
        0 20px 42px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(69, 182, 156, 0.1) !important;
}

.hs-personal-team-card h2,
.hs-personal-team-card h3,
.hs-personal-team-card strong {
    color: #f8fafc !important;
}

.hs-personal-team-card p {
    color: #9fb0c4 !important;
}

.hs-personal-team-card > div:first-child {
    background: transparent !important;
}

.hs-personal-team-card
> div:first-child
> div:first-child {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 3.25rem !important;
    height: 3.25rem !important;
    border-radius: 0.9rem !important;
    color: #45b69c !important;
    background: rgba(25, 123, 123, 0.18) !important;
}

.hs-personal-team-card
> div:first-child
> div:first-child svg {
    color: #45b69c !important;
}

.hs-personal-team-card > div:last-child {
    color: #45b69c !important;
}

.hs-personal-team-card--sensitive {
    border-color: rgba(230, 161, 92, 0.5) !important;
    background:
        radial-gradient(
            circle at top right,
            rgba(230, 161, 92, 0.16),
            transparent 58%
        ),
        linear-gradient(
            145deg,
            #2a1c15 0%,
            #1d1510 100%
        ) !important;
}

.hs-personal-team-card--sensitive:hover {
    border-color: rgba(230, 161, 92, 0.78) !important;
}

.hs-personal-team-card--sensitive h2,
.hs-personal-team-card--sensitive h3,
.hs-personal-team-card--sensitive strong {
    color: #fff7ed !important;
}

.hs-personal-team-card--sensitive p {
    color: #d7bfac !important;
}

.hs-personal-team-card--sensitive
> div:first-child {
    background: transparent !important;
}

.hs-personal-team-card--sensitive
> div:first-child
> div:first-child {
    color: #e6a15c !important;
    background: rgba(230, 161, 92, 0.16) !important;
}

.hs-personal-team-card--sensitive
> div:first-child
> div:first-child svg,
.hs-personal-team-card--sensitive
> div:last-child {
    color: #e6a15c !important;
}

.hs-personal-team-card--sensitive
> div:first-child
> span {
    border: 1px solid rgba(230, 161, 92, 0.25) !important;
    color: #f3b46f !important;
    background: rgba(230, 161, 92, 0.13) !important;
}

@media (max-width: 700px) {
    .hs-personal-team-dark {
        gap: 1rem;
    }
}

/* HS_PERSONAL_TEAM_DARK_CARDS_END */

/* HS_LEARNING_ACTIONS_V1_START */

.hs-learning-progress-overview {
    padding: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.06);
}

.hs-learning-progress-overview__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.hs-learning-progress-overview__header div {
    display: grid;
    gap: 0.25rem;
}

.hs-learning-progress-overview__header span {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hs-learning-progress-overview__header strong {
    color: #0f172a;
    font-size: 1rem;
}

.hs-learning-progress-overview__percentage {
    color: #197b7b !important;
    font-size: 1.35rem !important;
    letter-spacing: 0 !important;
}

.hs-learning-progress-bar {
    width: 100%;
    height: 0.7rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.22);
}

.hs-learning-progress-bar span {
    display: block;
    width: var(--hs-learning-progress);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        #197b7b,
        #45b69c
    );
    transition: width 240ms ease;
}

.hs-learning-module.is-completed {
    border-color: rgba(69, 182, 156, 0.55);
    box-shadow: 0 0.75rem 2rem rgba(69, 182, 156, 0.11);
}

.hs-learning-module__header-side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.hs-learning-module__status {
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.hs-learning-module__status.is-open {
    color: #475569;
    background: rgba(148, 163, 184, 0.16);
}

.hs-learning-module__status.is-started {
    color: #9a6700;
    background: rgba(212, 175, 55, 0.16);
}

.hs-learning-module__status.is-completed {
    color: #0f766e;
    background: rgba(69, 182, 156, 0.18);
}

.hs-learning-favorite-button {
    display: inline-flex;
    width: 2.15rem;
    height: 2.15rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0.7rem;
    color: #64748b;
    background: rgba(255, 255, 255, 0.8);
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        background 160ms ease;
}

.hs-learning-favorite-button:hover {
    transform: translateY(-1px);
    border-color: rgba(212, 175, 55, 0.7);
    color: #a16207;
}

.hs-learning-favorite-button.is-active {
    border-color: rgba(212, 175, 55, 0.65);
    color: #a16207;
    background: rgba(212, 175, 55, 0.15);
}

.hs-learning-favorite-button svg {
    width: 1.15rem;
    height: 1.15rem;
}

.hs-learning-module__actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.hs-learning-action-button {
    display: inline-flex;
    min-height: 2.6rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 0.95rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

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

.hs-learning-action-button:disabled,
.hs-learning-favorite-button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.hs-learning-action-button svg {
    width: 1.05rem;
    height: 1.05rem;
}

.hs-learning-action-button--secondary {
    border-color: rgba(25, 123, 123, 0.28);
    color: #197b7b;
    background: rgba(25, 123, 123, 0.08);
}

.hs-learning-action-button--primary {
    color: #ffffff;
    background: #197b7b;
    box-shadow: 0 0.5rem 1.25rem rgba(25, 123, 123, 0.18);
}

.hs-learning-action-button--completed {
    border-color: rgba(69, 182, 156, 0.38);
    color: #0f766e;
    background: rgba(69, 182, 156, 0.14);
}

.dark .hs-learning-progress-overview {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.72);
    box-shadow: none;
}

.dark .hs-learning-progress-overview__header span {
    color: #94a3b8;
}

.dark .hs-learning-progress-overview__header strong {
    color: #f8fafc;
}

.dark .hs-learning-favorite-button {
    border-color: rgba(148, 163, 184, 0.22);
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.72);
}

.dark .hs-learning-module__status.is-open {
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.14);
}

.dark .hs-learning-module__status.is-started {
    color: #f5d47a;
    background: rgba(212, 175, 55, 0.14);
}

.dark .hs-learning-module__status.is-completed {
    color: #7dd3c7;
    background: rgba(69, 182, 156, 0.14);
}

@media (max-width: 700px) {
    .hs-learning-progress-overview__header {
        align-items: flex-start;
    }

    .hs-learning-module__header-side {
        width: 100%;
        justify-content: flex-start;
    }

    .hs-learning-module__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hs-learning-action-button {
        width: 100%;
    }
}

/* HS_LEARNING_ACTIONS_V1_END */

/* HS_LEARNING_MODULE_DETAIL_V1_START */

.hs-learning-detail-page {
    display: grid;
    gap: 1.25rem;
}

.hs-learning-detail-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hs-learning-detail-navigation a,
.hs-learning-detail-favorite {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.hs-learning-detail-navigation a {
    color: #45b69c;
}

.hs-learning-detail-navigation svg,
.hs-learning-detail-favorite svg {
    width: 1.05rem;
    height: 1.05rem;
}

.hs-learning-detail-favorite {
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 0.7rem;
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.58);
}

.hs-learning-detail-favorite.is-active {
    border-color: rgba(212, 175, 55, 0.55);
    color: #f5d47a;
    background: rgba(212, 175, 55, 0.12);
}

.hs-learning-detail-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.hs-learning-detail-meta > div {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.85rem;
    background: rgba(15, 23, 42, 0.72);
}

.hs-learning-detail-meta span {
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hs-learning-detail-meta strong {
    color: #f8fafc;
    font-size: 0.9rem;
}

.hs-learning-detail-intro,
.hs-learning-detail-section,
.hs-learning-quiz {
    border: 1px solid rgba(148, 163, 184, 0.19);
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.7);
}

.hs-learning-detail-intro {
    display: flex;
    gap: 1rem;
    padding: 1.35rem;
    border-color: rgba(69, 182, 156, 0.28);
    background: rgba(25, 123, 123, 0.1);
}

.hs-learning-detail-intro__icon {
    display: inline-flex;
    width: 2.7rem;
    height: 2.7rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 0.8rem;
    color: #45b69c;
    background: rgba(69, 182, 156, 0.12);
}

.hs-learning-detail-intro__icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.hs-learning-detail-label {
    margin: 0;
    color: #45b69c;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hs-learning-detail-intro h2,
.hs-learning-detail-section h2,
.hs-learning-quiz h2 {
    margin: 0.2rem 0 0;
    color: #f8fafc;
    font-size: 1.15rem;
    font-weight: 800;
}

.hs-learning-detail-intro p:not(.hs-learning-detail-label),
.hs-learning-detail-lead,
.hs-learning-text-card p,
.hs-learning-practice-task p,
.hs-learning-quiz header p {
    color: #cbd5e1;
    line-height: 1.65;
}

.hs-learning-detail-intro p:last-child {
    margin-bottom: 0;
}

.hs-learning-detail-section {
    overflow: hidden;
}

.hs-learning-detail-section > header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.5);
}

.hs-learning-detail-section > header > span {
    display: inline-flex;
    width: 2.3rem;
    height: 2.3rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    color: #45b69c;
    font-size: 0.8rem;
    font-weight: 800;
    background: rgba(69, 182, 156, 0.1);
}

.hs-learning-detail-lead {
    margin: 1.25rem 1.25rem 0;
}

.hs-learning-goal-grid,
.hs-learning-error-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 1.25rem;
}

.hs-learning-goal-grid article,
.hs-learning-error-grid article {
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.17);
    border-radius: 0.8rem;
    background: rgba(15, 23, 42, 0.55);
}

.hs-learning-goal-grid svg {
    width: 1.3rem;
    height: 1.3rem;
    margin-bottom: 0.75rem;
    color: #45b69c;
}

.hs-learning-goal-grid strong,
.hs-learning-error-grid strong {
    display: block;
    margin-bottom: 0.45rem;
    color: #f8fafc;
}

.hs-learning-goal-grid p,
.hs-learning-error-grid p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.86rem;
    line-height: 1.55;
}

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

.hs-learning-step-list {
    display: grid;
    gap: 0.75rem;
    padding: 1.25rem;
}

.hs-learning-step-list article {
    display: flex;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 0.8rem;
    background: rgba(15, 23, 42, 0.48);
}

.hs-learning-step-list article > span {
    display: inline-flex;
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    color: #08131d;
    font-weight: 900;
    background: #45b69c;
}

.hs-learning-step-list strong {
    color: #f8fafc;
}

.hs-learning-step-list p {
    margin: 0.35rem 0 0;
    color: #94a3b8;
    line-height: 1.55;
}

.hs-learning-comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.25rem;
}

.hs-learning-comparison-grid article {
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 0.85rem;
}

.hs-learning-comparison-grid article.is-positive {
    border-color: rgba(69, 182, 156, 0.34);
    background: rgba(69, 182, 156, 0.07);
}

.hs-learning-comparison-grid article.is-negative {
    border-color: rgba(248, 113, 113, 0.28);
    background: rgba(127, 29, 29, 0.1);
}

.hs-learning-comparison-grid article > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hs-learning-comparison-grid svg {
    width: 1.2rem;
    height: 1.2rem;
}

.hs-learning-comparison-grid .is-positive svg {
    color: #45b69c;
}

.hs-learning-comparison-grid .is-negative svg {
    color: #fca5a5;
}

.hs-learning-comparison-grid strong {
    color: #f8fafc;
}

.hs-learning-comparison-grid ul,
.hs-learning-text-card ul,
.hs-learning-practice-task ol {
    margin: 0.9rem 0 0;
    padding-left: 1.25rem;
    color: #cbd5e1;
}

.hs-learning-comparison-grid li,
.hs-learning-text-card li,
.hs-learning-practice-task li {
    margin-top: 0.5rem;
    line-height: 1.55;
}

.hs-learning-text-card {
    padding: 1.25rem;
}

.hs-learning-text-card h3 {
    margin-top: 1.25rem;
    color: #f8fafc;
}

.hs-learning-text-card blockquote {
    margin: 1.25rem 0 0;
    padding: 1rem;
    border-left: 0.25rem solid #d4af37;
    border-radius: 0.5rem;
    color: #f8fafc;
    font-style: italic;
    background: rgba(212, 175, 55, 0.1);
}

.hs-learning-practice-task {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
}

.hs-learning-practice-task > svg {
    width: 1.5rem;
    height: 1.5rem;
    flex: 0 0 auto;
    color: #45b69c;
}

.hs-learning-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    padding: 1.25rem;
}

.hs-learning-checklist > div {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem;
    border-radius: 0.7rem;
    color: #cbd5e1;
    background: rgba(69, 182, 156, 0.07);
}

.hs-learning-checklist svg {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    color: #45b69c;
}

.hs-learning-quiz {
    overflow: hidden;
}

.hs-learning-quiz > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.hs-learning-quiz > header p:last-child {
    margin-bottom: 0;
}

.hs-learning-quiz-score {
    display: inline-flex;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.hs-learning-quiz-score.is-passed {
    color: #7dd3c7;
    background: rgba(69, 182, 156, 0.13);
}

.hs-learning-quiz-score.is-failed {
    color: #fde68a;
    background: rgba(212, 175, 55, 0.12);
}

.hs-learning-question-list {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
}

.hs-learning-question {
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 0.85rem;
    background: rgba(15, 23, 42, 0.48);
}

.hs-learning-question h3 {
    margin: 0;
    color: #f8fafc;
    font-size: 0.95rem;
    line-height: 1.5;
}

.hs-learning-answer-list {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.hs-learning-answer {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 0.7rem;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.58);
}

.hs-learning-answer:hover {
    border-color: rgba(69, 182, 156, 0.4);
}

.hs-learning-answer > span {
    display: inline-flex;
    width: 1.6rem;
    height: 1.6rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.45rem;
    color: #45b69c;
    font-size: 0.72rem;
    font-weight: 900;
    background: rgba(69, 182, 156, 0.1);
}

.hs-learning-answer p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.5;
}

.hs-learning-answer.is-correct {
    border-color: rgba(69, 182, 156, 0.55);
    background: rgba(69, 182, 156, 0.08);
}

.hs-learning-answer.is-wrong {
    border-color: rgba(248, 113, 113, 0.4);
    background: rgba(127, 29, 29, 0.1);
}

.hs-learning-answer-feedback {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.7rem;
}

.hs-learning-answer-feedback.is-correct {
    color: #a7f3d0;
    background: rgba(69, 182, 156, 0.08);
}

.hs-learning-answer-feedback.is-wrong {
    color: #fecaca;
    background: rgba(127, 29, 29, 0.1);
}

.hs-learning-answer-feedback svg {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
}

.hs-learning-answer-feedback p {
    margin: 0;
    line-height: 1.5;
}

.hs-learning-quiz-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.25rem;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.hs-learning-action-button.is-disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

@media (max-width: 900px) {
    .hs-learning-detail-meta,
    .hs-learning-goal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .hs-learning-detail-meta,
    .hs-learning-goal-grid,
    .hs-learning-error-grid,
    .hs-learning-comparison-grid,
    .hs-learning-checklist {
        grid-template-columns: 1fr;
    }

    .hs-learning-detail-intro {
        display: grid;
    }

    .hs-learning-quiz > header {
        display: grid;
    }

    .hs-learning-quiz-actions {
        display: grid;
    }

    .hs-learning-quiz-actions > * {
        width: 100%;
    }
}

/* HS_LEARNING_MODULE_DETAIL_V1_END */

/* =========================================================
   HealthSuite Kunden-Wizard
   Desktop: alle Schritte gleichmäßig über die Breite verteilen.
   Mobile/kleine Breiten: Filament darf weiterhin scrollen.
   ========================================================= */

@media (min-width: 1024px) {
    .fi-fo-wizard-header {
        overflow-x: visible;
    }

    .fi-fo-wizard-header > ol {
        width: 100%;
        min-width: 0;
    }

    .fi-fo-wizard-header li {
        flex: 1 1 0;
        min-width: 0;
    }

    .fi-fo-wizard-header li > button {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    .fi-fo-wizard-header li span {
        white-space: nowrap;
    }
}
