body[data-admin-host="1"] .side-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-content: start;
    flex: 1 1 auto;
}

body[data-admin-host="1"] .brand-mark-admin {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body[data-admin-host="1"] .brand-mark-admin::before,
body[data-admin-host="1"] .brand-mark-admin::after,
body[data-admin-host="1"] .brand-mark-admin span {
    display: none;
}

body[data-admin-host="1"] .brand-mark-admin img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
    filter: none;
}

body[data-admin-host="1"] .desktop-sidebar .side-nav-link {
    flex: 0 0 auto;
    height: 40px;
    min-height: 40px;
    padding: 0 13px;
    white-space: nowrap;
    align-self: stretch;
}

body[data-admin-host="1"] .auth-page {
    min-height: calc(100vh - 160px);
    display: grid;
    place-items: center;
}

body[data-admin-host="1"] .admin-login-card {
    width: min(100%, 560px);
    padding-top: 32px;
}

body[data-admin-host="1"] .admin-login-card form {
    display: grid;
    gap: 18px;
}

body[data-admin-host="1"] .app-content {
    padding-top: 0;
}

body[data-admin-host="1"] .page-content {
    padding-top: 20px;
}

body[data-admin-host="1"] .desktop-sidebar {
    display: flex;
    flex-direction: column;
}

body[data-admin-host="1"] .admin-sidebar-footer {
    margin-top: auto;
    padding: 0 18px 18px;
}

body[data-admin-host="1"] .admin-sidebar-logout-form {
    width: 100%;
}

body[data-admin-host="1"] .admin-sidebar-logout {
    width: 100%;
    justify-content: center;
}

body[data-admin-host="1"] .fairness-admin-tabs {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body[data-admin-host="1"] .fairness-admin-tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    padding: 2px 0;
}

body[data-admin-host="1"] .fairness-admin-tab {
    min-width: 134px;
    min-height: 38px;
    padding: 0 18px;
    border: 1px solid rgba(139, 92, 246, 0.16);
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.05);
    color: rgba(255, 255, 255, 0.62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
    font: inherit;
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1.2;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

body[data-admin-host="1"] .fairness-admin-tab:hover {
    border-color: rgba(139, 92, 246, 0.28);
    color: rgba(255, 255, 255, 0.86);
    background: rgba(139, 92, 246, 0.09);
}

body[data-admin-host="1"] .fairness-admin-tab.is-active {
    border-color: rgba(139, 92, 246, 0.42);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(124, 58, 237, 0.12));
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.15);
}

body[data-admin-host="1"] .fairness-admin-tab-panels {
    display: grid;
    gap: 0;
}

body[data-admin-host="1"] .fairness-admin-tab-panel {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

body[data-admin-host="1"] .fairness-admin-tab-panel.is-active {
    opacity: 1;
    transform: translateY(0);
}

body[data-admin-host="1"] .fairness-admin-section-title {
    white-space: nowrap;
}

body[data-admin-host="1"] .fairness-preview-item span,
body[data-admin-host="1"] .fairness-runtime-card-line span,
body[data-admin-host="1"] .fairness-health-card-line span,
body[data-admin-host="1"] .fairness-runtime-card-head span,
body[data-admin-host="1"] .fairness-health-card-head span {
    font-size: 0.52rem;
    line-height: 1.15;
}

body[data-admin-host="1"] .fairness-settings-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-height: 40px;
    padding-right: 40px;
    border: 1px solid rgba(139, 92, 246, 0.18);
    border-radius: 12px;
    background-color: #11131b;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.74) 50%),
        linear-gradient(135deg, rgba(255,255,255,0.74) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 1px),
        calc(100% - 12px) calc(50% - 1px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

body[data-admin-host="1"] .fairness-settings-field select:hover,
body[data-admin-host="1"] .fairness-settings-field select:focus {
    border-color: rgba(139, 92, 246, 0.34);
    background-color: #141723;
    outline: none;
}
