@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    font-size: clamp(14px, 0.9vw + 12px, 16px);
}

html,
body {
    max-width: 100%;
}

body {
    overflow-wrap: break-word;
}

body.page-fade-in {
    animation: page-back-fade 0.35s ease;
}

@keyframes page-back-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}


img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
}

/* index.html */
html.page-index {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-index body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    margin: 0;
    overflow-x: hidden;
    color: black;
}

@keyframes page-index-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes page-index-fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

html.page-index .animate-fade-up {
    animation: page-index-fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-index .founder-card {
    background: white;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

html.page-index .founder-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.15);
    border-color: var(--brand-primary);
}

html.page-index .profile-img-container {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--brand-primary);
    background-color: #e2e8f0;
}

html.page-index .profile-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

html.page-index .founder-card:hover .profile-img {
    transform: scale(1.05);
}

html.page-index .header-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 75, 68, 0.1);
}

html.page-index .section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(24, 75, 68, 0.2), transparent);
    margin: 4rem 0;
}

html.page-index .welcome-hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ccfbf1;
    color: white;
    position: sticky;
    text-align: center;
    padding: 2rem;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

html.page-index .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    animation: page-index-bounce 2s infinite;
    color: #e6fffa;
}

@keyframes page-index-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

html.page-index .role-badge {
    display: inline-block;
    background-color: #f0fdfa;
    color: var(--brand-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(24, 75, 68, 0.2);
}

html.page-index .wacky-btn {
    background: linear-gradient(45deg, #184B44, #2a6e64, #0d9488, #184B44);
    background-size: 300% 300%;
    animation: page-index-gradient-shift 4s ease infinite;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 10px 15px -3px rgba(24, 75, 68, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid rgba(255,255,255,0.2);
    text-decoration: none;
}

html.page-index .wacky-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.5);
}

@keyframes page-index-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* ANOVA & designed experiments.html */
html.page-anova-designed-experiments {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-anova-designed-experiments body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
    color: #334155;
}

html.page-anova-designed-experiments ::-webkit-scrollbar { width: 8px; }
html.page-anova-designed-experiments ::-webkit-scrollbar-track { background: #f1f5f9; }
html.page-anova-designed-experiments ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
html.page-anova-designed-experiments ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@keyframes page-anova-designed-experiments-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-anova-designed-experiments .animate-fade-up {
    animation: page-anova-designed-experiments-fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-anova-designed-experiments .header-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 75, 68, 0.1);
}

html.page-anova-designed-experiments .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    text-decoration: none;
}

html.page-anova-designed-experiments .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(24, 75, 68, 0.18);
}

html.page-anova-designed-experiments .section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(24, 75, 68, 0.2), transparent);
    margin: 4rem 0;
}

html.page-anova-designed-experiments .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    z-index: 10;
}

html.page-anova-designed-experiments .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

html.page-anova-designed-experiments .search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(24, 75, 68, 0.12);
}

html.page-anova-designed-experiments .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

html.page-anova-designed-experiments .match-highlight {
    font-size: 0.75rem;
    color: #184B44;
    background-color: #e6fffa;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    display: inline-block;
}

html.page-anova-designed-experiments .card-icon {
    opacity: 0.5;
    transition: all 0.3s ease;
    color: #94a3b8;
}

html.page-anova-designed-experiments .anova-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    min-height: 100px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

html.page-anova-designed-experiments .anova-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.1), 0 10px 10px -5px rgba(24, 75, 68, 0.04);
    border-color: var(--brand-primary);
}

html.page-anova-designed-experiments .anova-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.page-anova-designed-experiments .anova-card:hover::before {
    opacity: 1;
}

html.page-anova-designed-experiments .anova-card:hover .card-icon {
    opacity: 1;
    color: var(--brand-primary);
    transform: translateX(5px);
}


/* Nonparametric & permutation tests.html */
html.page-nonparametric-permutation-tests {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-nonparametric-permutation-tests body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
    color: #334155;
}

html.page-nonparametric-permutation-tests ::-webkit-scrollbar { width: 8px; }
html.page-nonparametric-permutation-tests ::-webkit-scrollbar-track { background: #f1f5f9; }
html.page-nonparametric-permutation-tests ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
html.page-nonparametric-permutation-tests ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@keyframes page-nonparametric-permutation-tests-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-nonparametric-permutation-tests .animate-fade-up {
    animation: page-nonparametric-permutation-tests-fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-nonparametric-permutation-tests .header-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 75, 68, 0.1);
}

html.page-nonparametric-permutation-tests .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    text-decoration: none;
}

html.page-nonparametric-permutation-tests .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(24, 75, 68, 0.18);
}

html.page-nonparametric-permutation-tests .section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(24, 75, 68, 0.2), transparent);
    margin: 4rem 0;
}

html.page-nonparametric-permutation-tests .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    z-index: 10;
}

html.page-nonparametric-permutation-tests .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

html.page-nonparametric-permutation-tests .search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(24, 75, 68, 0.12);
}

html.page-nonparametric-permutation-tests .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

html.page-nonparametric-permutation-tests .match-highlight {
    font-size: 0.75rem;
    color: #184B44;
    background-color: #e6fffa;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    display: inline-block;
}

html.page-nonparametric-permutation-tests .card-icon {
    opacity: 0.5;
    transition: all 0.3s ease;
    color: #94a3b8;
}

html.page-nonparametric-permutation-tests .anova-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    min-height: 100px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

html.page-nonparametric-permutation-tests .anova-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.1), 0 10px 10px -5px rgba(24, 75, 68, 0.04);
    border-color: var(--brand-primary);
}

html.page-nonparametric-permutation-tests .anova-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.page-nonparametric-permutation-tests .anova-card:hover::before {
    opacity: 1;
}

html.page-nonparametric-permutation-tests .anova-card:hover .card-icon {
    opacity: 1;
    color: var(--brand-primary);
    transform: translateX(5px);
}


/* Categorical data & effect measures.html */
html.page-categorical-data-effect-measures {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-categorical-data-effect-measures body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
    color: #334155;
}

html.page-categorical-data-effect-measures ::-webkit-scrollbar { width: 8px; }
html.page-categorical-data-effect-measures ::-webkit-scrollbar-track { background: #f1f5f9; }
html.page-categorical-data-effect-measures ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
html.page-categorical-data-effect-measures ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@keyframes page-categorical-data-effect-measures-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-categorical-data-effect-measures .animate-fade-up {
    animation: page-categorical-data-effect-measures-fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-categorical-data-effect-measures .header-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 75, 68, 0.1);
}

html.page-categorical-data-effect-measures .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    text-decoration: none;
}

html.page-categorical-data-effect-measures .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(24, 75, 68, 0.18);
}

html.page-categorical-data-effect-measures .section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(24, 75, 68, 0.2), transparent);
    margin: 4rem 0;
}

html.page-categorical-data-effect-measures .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    z-index: 10;
}

html.page-categorical-data-effect-measures .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

html.page-categorical-data-effect-measures .search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(24, 75, 68, 0.12);
}

html.page-categorical-data-effect-measures .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

html.page-categorical-data-effect-measures .match-highlight {
    font-size: 0.75rem;
    color: #184B44;
    background-color: #e6fffa;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    display: inline-block;
}

html.page-categorical-data-effect-measures .card-icon {
    opacity: 0.5;
    transition: all 0.3s ease;
    color: #94a3b8;
}

html.page-categorical-data-effect-measures .cat-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    min-height: 100px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

html.page-categorical-data-effect-measures .cat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.1), 0 10px 10px -5px rgba(24, 75, 68, 0.04);
    border-color: var(--brand-primary);
}

html.page-categorical-data-effect-measures .cat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.page-categorical-data-effect-measures .cat-card:hover::before {
    opacity: 1;
}

html.page-categorical-data-effect-measures .cat-card:hover .card-icon {
    opacity: 1;
    color: var(--brand-primary);
    transform: translateX(5px);
}


/* Core hypothesis tests.html */
html.page-core-hypothesis-tests {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-core-hypothesis-tests body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
    color: #334155;
}

html.page-core-hypothesis-tests ::-webkit-scrollbar { width: 8px; }
html.page-core-hypothesis-tests ::-webkit-scrollbar-track { background: #f1f5f9; }
html.page-core-hypothesis-tests ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
html.page-core-hypothesis-tests ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@keyframes page-core-hypothesis-tests-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-core-hypothesis-tests .animate-fade-up {
    animation: page-core-hypothesis-tests-fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-core-hypothesis-tests .header-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 75, 68, 0.1);
}

html.page-core-hypothesis-tests .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    text-decoration: none;
}

html.page-core-hypothesis-tests .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(24, 75, 68, 0.18);
}

html.page-core-hypothesis-tests .section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(24, 75, 68, 0.2), transparent);
    margin: 4rem 0;
}

html.page-core-hypothesis-tests .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    z-index: 10;
}

html.page-core-hypothesis-tests .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

html.page-core-hypothesis-tests .search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(24, 75, 68, 0.12);
}

html.page-core-hypothesis-tests .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

html.page-core-hypothesis-tests .match-highlight {
    font-size: 0.75rem;
    color: #184B44;
    background-color: #e6fffa;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    display: inline-block;
}

html.page-core-hypothesis-tests .card-icon {
    opacity: 0.5;
    transition: all 0.3s ease;
    color: #94a3b8;
}

html.page-core-hypothesis-tests .test-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    min-height: 100px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

html.page-core-hypothesis-tests .test-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.1), 0 10px 10px -5px rgba(24, 75, 68, 0.04);
    border-color: var(--brand-primary);
}

html.page-core-hypothesis-tests .test-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.page-core-hypothesis-tests .test-card:hover::before {
    opacity: 1;
}

html.page-core-hypothesis-tests .test-card:hover .card-icon {
    opacity: 1;
    color: var(--brand-primary);
    transform: translateX(5px);
}


/* Correlation & association.html */
html.page-correlation-association {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-correlation-association body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
    color: #334155;
}

html.page-correlation-association ::-webkit-scrollbar { width: 8px; }
html.page-correlation-association ::-webkit-scrollbar-track { background: #f1f5f9; }
html.page-correlation-association ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
html.page-correlation-association ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@keyframes page-correlation-association-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-correlation-association .animate-fade-up {
    animation: page-correlation-association-fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-correlation-association .header-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 75, 68, 0.1);
}

html.page-correlation-association .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    text-decoration: none;
}

html.page-correlation-association .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(24, 75, 68, 0.18);
}

html.page-correlation-association .section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(24, 75, 68, 0.2), transparent);
    margin: 4rem 0;
}

html.page-correlation-association .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    z-index: 10;
}

html.page-correlation-association .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

html.page-correlation-association .search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(24, 75, 68, 0.12);
}

html.page-correlation-association .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

html.page-correlation-association .match-highlight {
    font-size: 0.75rem;
    color: #184B44;
    background-color: #e6fffa;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    display: inline-block;
}

html.page-correlation-association .card-icon {
    opacity: 0.5;
    transition: all 0.3s ease;
    color: #94a3b8;
}

html.page-correlation-association .correlation-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    min-height: 100px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

html.page-correlation-association .correlation-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.1), 0 10px 10px -5px rgba(24, 75, 68, 0.04);
    border-color: var(--brand-primary);
}

html.page-correlation-association .correlation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.page-correlation-association .correlation-card:hover::before {
    opacity: 1;
}

html.page-correlation-association .correlation-card:hover .card-icon {
    opacity: 1;
    color: var(--brand-primary);
    transform: translateX(5px);
}


/* Descriptive Statistics.html */
html.page-descriptive-statistics {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-descriptive-statistics body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
    color: #334155;
}

html.page-descriptive-statistics ::-webkit-scrollbar { width: 8px; }
html.page-descriptive-statistics ::-webkit-scrollbar-track { background: #f1f5f9; }
html.page-descriptive-statistics ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
html.page-descriptive-statistics ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@keyframes page-descriptive-statistics-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-descriptive-statistics .animate-fade-up {
    animation: page-descriptive-statistics-fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-descriptive-statistics .header-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 75, 68, 0.1);
}

html.page-descriptive-statistics .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    text-decoration: none;
}

html.page-descriptive-statistics .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(24, 75, 68, 0.18);
}

html.page-descriptive-statistics .section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(24, 75, 68, 0.2), transparent);
    margin: 4rem 0;
}

html.page-descriptive-statistics .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    z-index: 10;
}

html.page-descriptive-statistics .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

html.page-descriptive-statistics .search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(24, 75, 68, 0.12);
}

html.page-descriptive-statistics .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

html.page-descriptive-statistics .match-highlight {
    font-size: 0.75rem;
    color: #184B44;
    background-color: #e6fffa;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    display: inline-block;
}

html.page-descriptive-statistics .card-icon {
    opacity: 0.5;
    transition: all 0.3s ease;
    color: #94a3b8;
}

html.page-descriptive-statistics .stat-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    min-height: 100px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

html.page-descriptive-statistics .stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.1), 0 10px 10px -5px rgba(24, 75, 68, 0.04);
    border-color: var(--brand-primary);
}

html.page-descriptive-statistics .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.page-descriptive-statistics .stat-card:hover::before {
    opacity: 1;
}

html.page-descriptive-statistics .stat-card:hover .card-icon {
    opacity: 1;
    color: var(--brand-primary);
    transform: translateX(5px);
}


/* Diagnostic test classifier evaluation.html */
html.page-diagnostic-test-classifier-evaluation {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-diagnostic-test-classifier-evaluation body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
    color: #334155;
}

html.page-diagnostic-test-classifier-evaluation ::-webkit-scrollbar { width: 8px; }
html.page-diagnostic-test-classifier-evaluation ::-webkit-scrollbar-track { background: #f1f5f9; }
html.page-diagnostic-test-classifier-evaluation ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
html.page-diagnostic-test-classifier-evaluation ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@keyframes page-diagnostic-test-classifier-evaluation-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-diagnostic-test-classifier-evaluation .animate-fade-up {
    animation: page-diagnostic-test-classifier-evaluation-fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-diagnostic-test-classifier-evaluation .header-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 75, 68, 0.1);
}

html.page-diagnostic-test-classifier-evaluation .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    text-decoration: none;
}

html.page-diagnostic-test-classifier-evaluation .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(24, 75, 68, 0.18);
}

html.page-diagnostic-test-classifier-evaluation .section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(24, 75, 68, 0.2), transparent);
    margin: 4rem 0;
}

html.page-diagnostic-test-classifier-evaluation .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    z-index: 10;
}

html.page-diagnostic-test-classifier-evaluation .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

html.page-diagnostic-test-classifier-evaluation .search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(24, 75, 68, 0.12);
}

html.page-diagnostic-test-classifier-evaluation .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

html.page-diagnostic-test-classifier-evaluation .match-highlight {
    font-size: 0.75rem;
    color: #184B44;
    background-color: #e6fffa;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    display: inline-block;
}

html.page-diagnostic-test-classifier-evaluation .card-icon {
    opacity: 0.5;
    transition: all 0.3s ease;
    color: #94a3b8;
}

html.page-diagnostic-test-classifier-evaluation .diag-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    min-height: 100px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

html.page-diagnostic-test-classifier-evaluation .diag-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.1), 0 10px 10px -5px rgba(24, 75, 68, 0.04);
    border-color: var(--brand-primary);
}

html.page-diagnostic-test-classifier-evaluation .diag-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.page-diagnostic-test-classifier-evaluation .diag-card:hover::before {
    opacity: 1;
}

html.page-diagnostic-test-classifier-evaluation .diag-card:hover .card-icon {
    opacity: 1;
    color: var(--brand-primary);
    transform: translateX(5px);
}


/* Estimation & confidence intervals.html */
html.page-estimation-confidence-intervals {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-estimation-confidence-intervals body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
    color: #334155;
}

html.page-estimation-confidence-intervals ::-webkit-scrollbar { width: 8px; }
html.page-estimation-confidence-intervals ::-webkit-scrollbar-track { background: #f1f5f9; }
html.page-estimation-confidence-intervals ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
html.page-estimation-confidence-intervals ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@keyframes page-estimation-confidence-intervals-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-estimation-confidence-intervals .animate-fade-up {
    animation: page-estimation-confidence-intervals-fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-estimation-confidence-intervals .header-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 75, 68, 0.1);
}

html.page-estimation-confidence-intervals .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    text-decoration: none;
}

html.page-estimation-confidence-intervals .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(24, 75, 68, 0.18);
}

html.page-estimation-confidence-intervals .section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(24, 75, 68, 0.2), transparent);
    margin: 4rem 0;
}

html.page-estimation-confidence-intervals .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    z-index: 10;
}

html.page-estimation-confidence-intervals .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

html.page-estimation-confidence-intervals .search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(24, 75, 68, 0.12);
}

html.page-estimation-confidence-intervals .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

html.page-estimation-confidence-intervals .match-highlight {
    font-size: 0.75rem;
    color: #184B44;
    background-color: #e6fffa;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    display: inline-block;
}

html.page-estimation-confidence-intervals .card-icon {
    opacity: 0.5;
    transition: all 0.3s ease;
    color: #94a3b8;
}

html.page-estimation-confidence-intervals .estimation-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    min-height: 100px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

html.page-estimation-confidence-intervals .estimation-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.1), 0 10px 10px -5px rgba(24, 75, 68, 0.04);
    border-color: var(--brand-primary);
}

html.page-estimation-confidence-intervals .estimation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.page-estimation-confidence-intervals .estimation-card:hover::before {
    opacity: 1;
}

html.page-estimation-confidence-intervals .estimation-card:hover .card-icon {
    opacity: 1;
    color: var(--brand-primary);
    transform: translateX(5px);
}


/* Exploratory plots.html */
html.page-exploratory-plots {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-exploratory-plots body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
    color: #334155;
}

html.page-exploratory-plots ::-webkit-scrollbar { width: 8px; }
html.page-exploratory-plots ::-webkit-scrollbar-track { background: #f1f5f9; }
html.page-exploratory-plots ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
html.page-exploratory-plots ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@keyframes page-exploratory-plots-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-exploratory-plots .animate-fade-up {
    animation: page-exploratory-plots-fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-exploratory-plots .header-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 75, 68, 0.1);
}

html.page-exploratory-plots .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    text-decoration: none;
}

html.page-exploratory-plots .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(24, 75, 68, 0.18);
}

html.page-exploratory-plots .section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(24, 75, 68, 0.2), transparent);
    margin: 4rem 0;
}

html.page-exploratory-plots .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    z-index: 10;
}

html.page-exploratory-plots .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

html.page-exploratory-plots .search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(24, 75, 68, 0.12);
}

html.page-exploratory-plots .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

html.page-exploratory-plots .match-highlight {
    font-size: 0.75rem;
    color: #184B44;
    background-color: #e6fffa;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    display: inline-block;
}

html.page-exploratory-plots .card-icon {
    opacity: 0.5;
    transition: all 0.3s ease;
    color: #94a3b8;
}

html.page-exploratory-plots .plot-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    min-height: 100px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

html.page-exploratory-plots .plot-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.1), 0 10px 10px -5px rgba(24, 75, 68, 0.04);
    border-color: var(--brand-primary);
}

html.page-exploratory-plots .plot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.page-exploratory-plots .plot-card:hover::before {
    opacity: 1;
}

html.page-exploratory-plots .plot-card:hover .card-icon {
    opacity: 1;
    color: var(--brand-primary);
    transform: translateX(5px);
}


/* Meta-analysis (forest plots and beyond).html */
html.page-meta-analysis-forest-plots-and-beyond {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-meta-analysis-forest-plots-and-beyond body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
    color: #334155;
}

html.page-meta-analysis-forest-plots-and-beyond ::-webkit-scrollbar { width: 8px; }
html.page-meta-analysis-forest-plots-and-beyond ::-webkit-scrollbar-track { background: #f1f5f9; }
html.page-meta-analysis-forest-plots-and-beyond ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
html.page-meta-analysis-forest-plots-and-beyond ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@keyframes page-meta-analysis-forest-plots-and-beyond-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-meta-analysis-forest-plots-and-beyond .animate-fade-up {
    animation: page-meta-analysis-forest-plots-and-beyond-fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-meta-analysis-forest-plots-and-beyond .header-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 75, 68, 0.1);
}

html.page-meta-analysis-forest-plots-and-beyond .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    text-decoration: none;
}

html.page-meta-analysis-forest-plots-and-beyond .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(24, 75, 68, 0.18);
}

html.page-meta-analysis-forest-plots-and-beyond .section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(24, 75, 68, 0.2), transparent);
    margin: 4rem 0;
}

html.page-meta-analysis-forest-plots-and-beyond .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    z-index: 10;
}

html.page-meta-analysis-forest-plots-and-beyond .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

html.page-meta-analysis-forest-plots-and-beyond .search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(24, 75, 68, 0.12);
}

html.page-meta-analysis-forest-plots-and-beyond .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

html.page-meta-analysis-forest-plots-and-beyond .match-highlight {
    font-size: 0.75rem;
    color: #184B44;
    background-color: #e6fffa;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    display: inline-block;
}

html.page-meta-analysis-forest-plots-and-beyond .card-icon {
    opacity: 0.5;
    transition: all 0.3s ease;
    color: #94a3b8;
}

html.page-meta-analysis-forest-plots-and-beyond .meta-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    min-height: 100px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

html.page-meta-analysis-forest-plots-and-beyond .meta-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.1), 0 10px 10px -5px rgba(24, 75, 68, 0.04);
    border-color: var(--brand-primary);
}

html.page-meta-analysis-forest-plots-and-beyond .meta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.page-meta-analysis-forest-plots-and-beyond .meta-card:hover::before {
    opacity: 1;
}

html.page-meta-analysis-forest-plots-and-beyond .meta-card:hover .card-icon {
    opacity: 1;
    color: var(--brand-primary);
    transform: translateX(5px);
}


/* Multiple testing & FDR control.html */
html.page-multiple-testing-fdr-control {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-multiple-testing-fdr-control body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
    color: #334155;
}

html.page-multiple-testing-fdr-control ::-webkit-scrollbar { width: 8px; }
html.page-multiple-testing-fdr-control ::-webkit-scrollbar-track { background: #f1f5f9; }
html.page-multiple-testing-fdr-control ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
html.page-multiple-testing-fdr-control ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@keyframes page-multiple-testing-fdr-control-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-multiple-testing-fdr-control .animate-fade-up {
    animation: page-multiple-testing-fdr-control-fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-multiple-testing-fdr-control .header-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 75, 68, 0.1);
}

html.page-multiple-testing-fdr-control .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    text-decoration: none;
}

html.page-multiple-testing-fdr-control .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(24, 75, 68, 0.18);
}

html.page-multiple-testing-fdr-control .section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(24, 75, 68, 0.2), transparent);
    margin: 4rem 0;
}

html.page-multiple-testing-fdr-control .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    z-index: 10;
}

html.page-multiple-testing-fdr-control .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

html.page-multiple-testing-fdr-control .search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(24, 75, 68, 0.12);
}

html.page-multiple-testing-fdr-control .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

html.page-multiple-testing-fdr-control .match-highlight {
    font-size: 0.75rem;
    color: #184B44;
    background-color: #e6fffa;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    display: inline-block;
}

html.page-multiple-testing-fdr-control .card-icon {
    opacity: 0.5;
    transition: all 0.3s ease;
    color: #94a3b8;
}

html.page-multiple-testing-fdr-control .fdr-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    min-height: 100px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

html.page-multiple-testing-fdr-control .fdr-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.1), 0 10px 10px -5px rgba(24, 75, 68, 0.04);
    border-color: var(--brand-primary);
}

html.page-multiple-testing-fdr-control .fdr-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.page-multiple-testing-fdr-control .fdr-card:hover::before {
    opacity: 1;
}

html.page-multiple-testing-fdr-control .fdr-card:hover .card-icon {
    opacity: 1;
    color: var(--brand-primary);
    transform: translateX(5px);
}


/* Multivariate Methods.html */
html.page-multivariate-methods {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-multivariate-methods body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
    color: #334155;
}

html.page-multivariate-methods ::-webkit-scrollbar { width: 8px; }
html.page-multivariate-methods ::-webkit-scrollbar-track { background: #f1f5f9; }
html.page-multivariate-methods ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
html.page-multivariate-methods ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@keyframes page-multivariate-methods-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-multivariate-methods .animate-fade-up {
    animation: page-multivariate-methods-fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-multivariate-methods .header-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 75, 68, 0.1);
}

html.page-multivariate-methods .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    text-decoration: none;
}

html.page-multivariate-methods .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(24, 75, 68, 0.18);
}

html.page-multivariate-methods .section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(24, 75, 68, 0.2), transparent);
    margin: 4rem 0;
}

html.page-multivariate-methods .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    z-index: 10;
}

html.page-multivariate-methods .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

html.page-multivariate-methods .search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(24, 75, 68, 0.12);
}

html.page-multivariate-methods .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

html.page-multivariate-methods .match-highlight {
    font-size: 0.75rem;
    color: #184B44;
    background-color: #e6fffa;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    display: inline-block;
}

html.page-multivariate-methods .card-icon {
    opacity: 0.5;
    transition: all 0.3s ease;
    color: #94a3b8;
}

html.page-multivariate-methods .multi-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    min-height: 100px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

html.page-multivariate-methods .multi-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.1), 0 10px 10px -5px rgba(24, 75, 68, 0.04);
    border-color: var(--brand-primary);
}

html.page-multivariate-methods .multi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.page-multivariate-methods .multi-card:hover::before {
    opacity: 1;
}

html.page-multivariate-methods .multi-card:hover .card-icon {
    opacity: 1;
    color: var(--brand-primary);
    transform: translateX(5px);
}


/* Power Analysis & Sample Size.html */
html.page-power-analysis-sample-size {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-power-analysis-sample-size body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
    color: #334155;
}

html.page-power-analysis-sample-size ::-webkit-scrollbar { width: 8px; }
html.page-power-analysis-sample-size ::-webkit-scrollbar-track { background: #f1f5f9; }
html.page-power-analysis-sample-size ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
html.page-power-analysis-sample-size ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@keyframes page-power-analysis-sample-size-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-power-analysis-sample-size .animate-fade-up {
    animation: page-power-analysis-sample-size-fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-power-analysis-sample-size .header-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 75, 68, 0.1);
}

html.page-power-analysis-sample-size .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    text-decoration: none;
}

html.page-power-analysis-sample-size .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(24, 75, 68, 0.18);
}

html.page-power-analysis-sample-size .section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(24, 75, 68, 0.2), transparent);
    margin: 4rem 0;
}

html.page-power-analysis-sample-size .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    z-index: 10;
}

html.page-power-analysis-sample-size .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

html.page-power-analysis-sample-size .search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(24, 75, 68, 0.12);
}

html.page-power-analysis-sample-size .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

html.page-power-analysis-sample-size .match-highlight {
    font-size: 0.75rem;
    color: #184B44;
    background-color: #e6fffa;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    display: inline-block;
}

html.page-power-analysis-sample-size .card-icon {
    opacity: 0.5;
    transition: all 0.3s ease;
    color: #94a3b8;
}

html.page-power-analysis-sample-size .power-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    min-height: 100px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

html.page-power-analysis-sample-size .power-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.1), 0 10px 10px -5px rgba(24, 75, 68, 0.04);
    border-color: var(--brand-primary);
}

html.page-power-analysis-sample-size .power-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.page-power-analysis-sample-size .power-card:hover::before {
    opacity: 1;
}

html.page-power-analysis-sample-size .power-card:hover .card-icon {
    opacity: 1;
    color: var(--brand-primary);
    transform: translateX(5px);
}

html.page-power-analysis-sample-size .ad-banner-wrapper { margin: 2rem 0; border: 1px dashed #cbd5e1; border-radius: 1rem; padding: 1rem; background: #ffffff; }
html.page-power-analysis-sample-size .ad-placeholder { height: 90px; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 0.875rem; background: #f8fafc; border-radius: 0.75rem; }


/* Regression & generalized linear models.html */
html.page-regression-generalized-linear-models {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-regression-generalized-linear-models body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
    color: #334155;
}

html.page-regression-generalized-linear-models ::-webkit-scrollbar { width: 8px; }
html.page-regression-generalized-linear-models ::-webkit-scrollbar-track { background: #f1f5f9; }
html.page-regression-generalized-linear-models ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
html.page-regression-generalized-linear-models ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@keyframes page-regression-generalized-linear-models-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-regression-generalized-linear-models .animate-fade-up {
    animation: page-regression-generalized-linear-models-fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-regression-generalized-linear-models .header-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 75, 68, 0.1);
}

html.page-regression-generalized-linear-models .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    text-decoration: none;
}

html.page-regression-generalized-linear-models .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(24, 75, 68, 0.18);
}

html.page-regression-generalized-linear-models .section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(24, 75, 68, 0.2), transparent);
    margin: 4rem 0;
}

html.page-regression-generalized-linear-models .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    z-index: 10;
}

html.page-regression-generalized-linear-models .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

html.page-regression-generalized-linear-models .search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(24, 75, 68, 0.12);
}

html.page-regression-generalized-linear-models .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

html.page-regression-generalized-linear-models .match-highlight {
    font-size: 0.75rem;
    color: #184B44;
    background-color: #e6fffa;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    display: inline-block;
}

html.page-regression-generalized-linear-models .card-icon {
    opacity: 0.5;
    transition: all 0.3s ease;
    color: #94a3b8;
}

html.page-regression-generalized-linear-models .reg-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    min-height: 100px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

html.page-regression-generalized-linear-models .reg-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.1), 0 10px 10px -5px rgba(24, 75, 68, 0.04);
    border-color: var(--brand-primary);
}

html.page-regression-generalized-linear-models .reg-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.page-regression-generalized-linear-models .reg-card:hover::before {
    opacity: 1;
}

html.page-regression-generalized-linear-models .reg-card:hover .card-icon {
    opacity: 1;
    color: var(--brand-primary);
    transform: translateX(5px);
}


/* Survival & reliability.html */
html.page-survival-reliability {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-survival-reliability body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
    color: #334155;
}

html.page-survival-reliability ::-webkit-scrollbar { width: 8px; }
html.page-survival-reliability ::-webkit-scrollbar-track { background: #f1f5f9; }
html.page-survival-reliability ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
html.page-survival-reliability ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@keyframes page-survival-reliability-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-survival-reliability .animate-fade-up {
    animation: page-survival-reliability-fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-survival-reliability .header-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 75, 68, 0.1);
}

html.page-survival-reliability .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    text-decoration: none;
}

html.page-survival-reliability .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(24, 75, 68, 0.18);
}

html.page-survival-reliability .section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(24, 75, 68, 0.2), transparent);
    margin: 4rem 0;
}

html.page-survival-reliability .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    z-index: 10;
}

html.page-survival-reliability .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

html.page-survival-reliability .search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(24, 75, 68, 0.12);
}

html.page-survival-reliability .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

html.page-survival-reliability .match-highlight {
    font-size: 0.75rem;
    color: #184B44;
    background-color: #e6fffa;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    display: inline-block;
}

html.page-survival-reliability .card-icon {
    opacity: 0.5;
    transition: all 0.3s ease;
    color: #94a3b8;
}

html.page-survival-reliability .survival-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    min-height: 100px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

html.page-survival-reliability .survival-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.1), 0 10px 10px -5px rgba(24, 75, 68, 0.04);
    border-color: var(--brand-primary);
}

html.page-survival-reliability .survival-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.page-survival-reliability .survival-card:hover::before {
    opacity: 1;
}

html.page-survival-reliability .survival-card:hover .card-icon {
    opacity: 1;
    color: var(--brand-primary);
    transform: translateX(5px);
}


/* Time series & forecasting.html */
html.page-time-series-forecasting {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-time-series-forecasting body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
    color: #334155;
}

html.page-time-series-forecasting ::-webkit-scrollbar { width: 8px; }
html.page-time-series-forecasting ::-webkit-scrollbar-track { background: #f1f5f9; }
html.page-time-series-forecasting ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
html.page-time-series-forecasting ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@keyframes page-time-series-forecasting-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-time-series-forecasting .animate-fade-up {
    animation: page-time-series-forecasting-fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-time-series-forecasting .header-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 75, 68, 0.1);
}

html.page-time-series-forecasting .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    text-decoration: none;
}

html.page-time-series-forecasting .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(24, 75, 68, 0.18);
}

html.page-time-series-forecasting .section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(24, 75, 68, 0.2), transparent);
    margin: 4rem 0;
}

html.page-time-series-forecasting .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    z-index: 10;
}

html.page-time-series-forecasting .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

html.page-time-series-forecasting .search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(24, 75, 68, 0.12);
}

html.page-time-series-forecasting .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

html.page-time-series-forecasting .match-highlight {
    font-size: 0.75rem;
    color: #184B44;
    background-color: #e6fffa;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    display: inline-block;
}

html.page-time-series-forecasting .card-icon {
    opacity: 0.5;
    transition: all 0.3s ease;
    color: #94a3b8;
}

html.page-time-series-forecasting .ts-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    min-height: 100px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

html.page-time-series-forecasting .ts-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.1), 0 10px 10px -5px rgba(24, 75, 68, 0.04);
    border-color: var(--brand-primary);
}

html.page-time-series-forecasting .ts-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.page-time-series-forecasting .ts-card:hover::before {
    opacity: 1;
}

html.page-time-series-forecasting .ts-card:hover .card-icon {
    opacity: 1;
    color: var(--brand-primary);
    transform: translateX(5px);
}


/* Convert Statistical Quantities.html */
html.page-convert-statistical-quantities {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-convert-statistical-quantities body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
    color: #334155;
}

html.page-convert-statistical-quantities ::-webkit-scrollbar { width: 8px; }
html.page-convert-statistical-quantities ::-webkit-scrollbar-track { background: #f1f5f9; }
html.page-convert-statistical-quantities ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
html.page-convert-statistical-quantities ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@keyframes page-convert-statistical-quantities-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-convert-statistical-quantities .animate-fade-up {
    animation: page-convert-statistical-quantities-fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-convert-statistical-quantities .header-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 75, 68, 0.1);
}

html.page-convert-statistical-quantities .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
    text-decoration: none;
}

html.page-convert-statistical-quantities .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(24, 75, 68, 0.18);
}

html.page-convert-statistical-quantities .section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(24, 75, 68, 0.2), transparent);
    margin: 4rem 0;
}

html.page-convert-statistical-quantities .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    z-index: 10;
}

html.page-convert-statistical-quantities .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

html.page-convert-statistical-quantities .search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(24, 75, 68, 0.12);
}

html.page-convert-statistical-quantities .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

html.page-convert-statistical-quantities .match-highlight {
    font-size: 0.75rem;
    color: #184B44;
    background-color: #e6fffa;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    display: inline-block;
}

html.page-convert-statistical-quantities .card-icon {
    opacity: 0.5;
    transition: all 0.3s ease;
    color: #94a3b8;
}

html.page-convert-statistical-quantities .converter-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    min-height: 100px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

html.page-convert-statistical-quantities .converter-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.1), 0 10px 10px -5px rgba(24, 75, 68, 0.04);
    border-color: var(--brand-primary);
}

html.page-convert-statistical-quantities .converter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.page-convert-statistical-quantities .converter-card:hover::before {
    opacity: 1;
}

html.page-convert-statistical-quantities .converter-card:hover .card-icon {
    opacity: 1;
    color: var(--brand-primary);
    transform: translateX(5px);
}


/* Confidence interval to log scale standard error for hazard ratio.html */
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio, html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio body { height: 100%; }

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    font-size: 16px;
    line-height: 24px;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
}

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .text-xs { font-size: 12px; line-height: 16px; font-weight: 400; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .text-sm { font-size: 14px; line-height: 20px; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .text-base { font-size: 16px; line-height: 24px; font-weight: 400; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .text-xl { font-size: 20px; line-height: 28px; font-weight: 700; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .text-3xl { font-size: 30px; line-height: 36px; font-weight: 700; }

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio a { color: var(--brand-primary); text-decoration: none; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio a:hover { text-decoration: underline; }

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .tool-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
}

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .tool-card-2 {
    background-color: #f0fdfa;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(24, 75, 68, 0.18);
    padding: 1.5rem 2rem;
}

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .btn-brand {
    background: var(--brand-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .btn-brand:hover {
    background-color: var(--brand-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(24,75,68,0.2);
}

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .btn-secondary {
    background: #fff;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .btn-secondary:hover {
    border-color: var(--brand-primary);
    background: #f8fafc;
}

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .btn-danger {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .btn-danger:hover {
    background: #fecaca;
    border-color: #f87171;
}

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .toggle-checkbox {
    position: absolute;
    top: 0;
    right: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: #fff;
    border: 2px solid #cbd5e1;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s;
}

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .toggle-label {
    display: block;
    height: 1.5rem;
    border-radius: 9999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
}

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .toggle-checkbox:checked { right: 0; border-color: #184B44; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .toggle-checkbox:checked + .toggle-label { background-color: #184B44; }

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .modal-overlay { background-color: rgba(0,0,0,0.5); backdrop-filter: blur(4px); }

@keyframes page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio-fadeIn { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .animate-fade-up { animation: page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio-fadeIn 0.6s cubic-bezier(0.4,0,0.2,1) forwards; opacity: 0; }

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .label { font-size: 14px; line-height: 20px; font-weight: 500; color: #0f2f2b; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .hint { font-size: 12px; line-height: 16px; font-weight: 400; color: #64748b; }

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .list-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(240,253,250,0.85);
    border-bottom: 1px solid rgba(226,232,240,0.9);
    backdrop-filter: saturate(150%) blur(10px);
}

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .logo-fallback {
    display: none;
    font-family: Gungsuh, serif;
    color: var(--brand-primary);
    letter-spacing: .2px;
}

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .logo-fallback .main { font-size: 30px; font-weight: 400; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .logo-fallback .omega { font-size: 22.5px; font-weight: 700; }

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .table-wrap { border: 1px solid #e2e8f0; border-radius: 0.75rem; overflow: auto; max-height: 420px; background: #fff; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio table { border-collapse: separate; border-spacing: 0; min-width: 760px; width: 100%; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio th, html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio td { padding: 10px 12px; border-bottom: 1px solid #e2e8f0; vertical-align: middle; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio th { position: sticky; top: 0; background: #f8fafc; z-index: 1; font-size: 12px; line-height: 16px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; color: #64748b; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio td { font-size: 14px; line-height: 20px; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio tr:hover td { background: rgba(240,253,250,.65); }

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 9999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
}

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .warnText { color: #b45309; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .dangerText { color: #b91c1c; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .okText { color: #166534; }

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .modal-back { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 1rem; z-index: 60; }

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .modal {
    width: min(860px, 100%);
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 30px 90px rgba(2,6,23,.25);
    overflow: hidden;
}

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .modal-header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 1rem; border-bottom: 1px solid #e2e8f0; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .modal-title { font-size: 20px; line-height: 28px; font-weight: 700; color: #0f2f2b; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .modal-img { width: 100%; aspect-ratio: 11 / 6; border-radius: 0.75rem; border: 1px solid #e2e8f0; overflow: hidden; background: linear-gradient(135deg, rgba(24,75,68,.08), rgba(42,110,100,.08)); display: grid; place-items: center; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio .modal-img img { width: 100%; height: 100%; object-fit: contain; display: block; }

html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio [data-mode][aria-selected="true"] { background: var(--brand-primary); color: #fff; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio [data-mode] { transition: all .2s; }
html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio [data-mode]:hover { outline: 1px solid rgba(24,75,68,0.35); }

@media (max-width: 560px) {
    html.page-confidence-interval-to-log-scale-standard-error-for-hazard-ratio table { min-width: 820px; }
}


/* Confidence interval to log scale standard error for odds ratio.html */
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio, html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio body { height: 100%; }

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    font-size: 16px;
    line-height: 24px;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
}

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .text-xs { font-size: 12px; line-height: 16px; font-weight: 400; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .text-sm { font-size: 14px; line-height: 20px; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .text-base { font-size: 16px; line-height: 24px; font-weight: 400; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .text-xl { font-size: 20px; line-height: 28px; font-weight: 700; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .text-3xl { font-size: 30px; line-height: 36px; font-weight: 700; }

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio a { color: var(--brand-primary); text-decoration: none; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio a:hover { text-decoration: underline; }

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .tool-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
}

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .tool-card-2 {
    background-color: #f0fdfa;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(24, 75, 68, 0.18);
    padding: 1.5rem 2rem;
}

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .btn-brand {
    background: var(--brand-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .btn-brand:hover {
    background-color: var(--brand-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(24,75,68,0.2);
}

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .btn-secondary {
    background: #fff;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .btn-secondary:hover {
    border-color: var(--brand-primary);
    background: #f8fafc;
}

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .btn-danger {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .btn-danger:hover {
    background: #fecaca;
    border-color: #f87171;
}

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .toggle-checkbox {
    position: absolute;
    top: 0;
    right: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: #fff;
    border: 2px solid #cbd5e1;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s;
}

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .toggle-label {
    display: block;
    height: 1.5rem;
    border-radius: 9999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
}

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .toggle-checkbox:checked { right: 0; border-color: #184B44; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .toggle-checkbox:checked + .toggle-label { background-color: #184B44; }

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .modal-overlay { background-color: rgba(0,0,0,0.5); backdrop-filter: blur(4px); }

@keyframes page-confidence-interval-to-log-scale-standard-error-for-odds-ratio-fadeIn { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .animate-fade-up { animation: page-confidence-interval-to-log-scale-standard-error-for-odds-ratio-fadeIn 0.6s cubic-bezier(0.4,0,0.2,1) forwards; opacity: 0; }

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .label { font-size: 14px; line-height: 20px; font-weight: 500; color: #0f2f2b; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .hint { font-size: 12px; line-height: 16px; font-weight: 400; color: #64748b; }

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .list-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(240,253,250,0.85);
    border-bottom: 1px solid rgba(226,232,240,0.9);
    backdrop-filter: saturate(150%) blur(10px);
}

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .logo-fallback {
    display: none;
    font-family: Gungsuh, serif;
    color: var(--brand-primary);
    letter-spacing: .2px;
}

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .logo-fallback .main { font-size: 30px; font-weight: 400; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .logo-fallback .omega { font-size: 22.5px; font-weight: 700; }

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .table-wrap { border: 1px solid #e2e8f0; border-radius: 0.75rem; overflow: auto; max-height: 420px; background: #fff; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio table { border-collapse: separate; border-spacing: 0; min-width: 760px; width: 100%; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio th, html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio td { padding: 10px 12px; border-bottom: 1px solid #e2e8f0; vertical-align: middle; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio th { position: sticky; top: 0; background: #f8fafc; z-index: 1; font-size: 12px; line-height: 16px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; color: #64748b; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio td { font-size: 14px; line-height: 20px; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio tr:hover td { background: rgba(240,253,250,.65); }

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 9999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
}

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .warnText { color: #b45309; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .dangerText { color: #b91c1c; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .okText { color: #166534; }

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .modal-back { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 1rem; z-index: 60; }

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .modal {
    width: min(860px, 100%);
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 30px 90px rgba(2,6,23,.25);
    overflow: hidden;
}

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .modal-header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 1rem; border-bottom: 1px solid #e2e8f0; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .modal-title { font-size: 20px; line-height: 28px; font-weight: 700; color: #0f2f2b; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .modal-img { width: 100%; aspect-ratio: 11 / 6; border-radius: 0.75rem; border: 1px solid #e2e8f0; overflow: hidden; background: linear-gradient(135deg, rgba(24,75,68,.08), rgba(42,110,100,.08)); display: grid; place-items: center; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio .modal-img img { width: 100%; height: 100%; object-fit: contain; display: block; }

html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio [data-mode][aria-selected="true"] { background: var(--brand-primary); color: #fff; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio [data-mode] { transition: all .2s; }
html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio [data-mode]:hover { outline: 1px solid rgba(24,75,68,0.35); }

@media (max-width: 560px) {
    html.page-confidence-interval-to-log-scale-standard-error-for-odds-ratio table { min-width: 820px; }
}


/* Confidence interval to log scale standard error for relative risk.html */
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk, html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk body { height: 100%; }

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    font-size: 16px;
    line-height: 24px;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
}

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .text-xs { font-size: 12px; line-height: 16px; font-weight: 400; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .text-sm { font-size: 14px; line-height: 20px; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .text-base { font-size: 16px; line-height: 24px; font-weight: 400; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .text-xl { font-size: 20px; line-height: 28px; font-weight: 700; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .text-3xl { font-size: 30px; line-height: 36px; font-weight: 700; }

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk a { color: var(--brand-primary); text-decoration: none; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk a:hover { text-decoration: underline; }

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .tool-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
}

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .tool-card-2 {
    background-color: #f0fdfa;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(24, 75, 68, 0.18);
    padding: 1.5rem 2rem;
}

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .btn-brand {
    background: var(--brand-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .btn-brand:hover {
    background-color: var(--brand-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(24,75,68,0.2);
}

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .btn-secondary {
    background: #fff;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .btn-secondary:hover {
    border-color: var(--brand-primary);
    background: #f8fafc;
}

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .btn-danger {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .btn-danger:hover {
    background: #fecaca;
    border-color: #f87171;
}

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .toggle-checkbox {
    position: absolute;
    top: 0;
    right: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: #fff;
    border: 2px solid #cbd5e1;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s;
}

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .toggle-label {
    display: block;
    height: 1.5rem;
    border-radius: 9999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
}

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .toggle-checkbox:checked { right: 0; border-color: #184B44; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .toggle-checkbox:checked + .toggle-label { background-color: #184B44; }

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .modal-overlay { background-color: rgba(0,0,0,0.5); backdrop-filter: blur(4px); }

@keyframes page-confidence-interval-to-log-scale-standard-error-for-relative-risk-fadeIn { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .animate-fade-up { animation: page-confidence-interval-to-log-scale-standard-error-for-relative-risk-fadeIn 0.6s cubic-bezier(0.4,0,0.2,1) forwards; opacity: 0; }

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .label { font-size: 14px; line-height: 20px; font-weight: 500; color: #0f2f2b; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .hint { font-size: 12px; line-height: 16px; font-weight: 400; color: #64748b; }

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .list-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(240,253,250,0.85);
    border-bottom: 1px solid rgba(226,232,240,0.9);
    backdrop-filter: saturate(150%) blur(10px);
}

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .logo-fallback {
    display: none;
    font-family: Gungsuh, serif;
    color: var(--brand-primary);
    letter-spacing: .2px;
}

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .logo-fallback .main { font-size: 30px; font-weight: 400; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .logo-fallback .omega { font-size: 22.5px; font-weight: 700; }

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .table-wrap { border: 1px solid #e2e8f0; border-radius: 0.75rem; overflow: auto; max-height: 420px; background: #fff; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk table { border-collapse: separate; border-spacing: 0; min-width: 760px; width: 100%; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk th, html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk td { padding: 10px 12px; border-bottom: 1px solid #e2e8f0; vertical-align: middle; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk th { position: sticky; top: 0; background: #f8fafc; z-index: 1; font-size: 12px; line-height: 16px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; color: #64748b; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk td { font-size: 14px; line-height: 20px; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk tr:hover td { background: rgba(240,253,250,.65); }

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 9999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
}

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .warnText { color: #b45309; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .dangerText { color: #b91c1c; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .okText { color: #166534; }

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .modal-back { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 1rem; z-index: 60; }

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .modal {
    width: min(860px, 100%);
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 30px 90px rgba(2,6,23,.25);
    overflow: hidden;
}

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .modal-header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 1rem; border-bottom: 1px solid #e2e8f0; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .modal-title { font-size: 20px; line-height: 28px; font-weight: 700; color: #0f2f2b; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .modal-img { width: 100%; aspect-ratio: 11 / 6; border-radius: 0.75rem; border: 1px solid #e2e8f0; overflow: hidden; background: linear-gradient(135deg, rgba(24,75,68,.08), rgba(42,110,100,.08)); display: grid; place-items: center; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk .modal-img img { width: 100%; height: 100%; object-fit: contain; display: block; }

html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk [data-mode][aria-selected="true"] { background: var(--brand-primary); color: #fff; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk [data-mode] { transition: all .2s; }
html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk [data-mode]:hover { outline: 1px solid rgba(24,75,68,0.35); }

@media (max-width: 560px) {
    html.page-confidence-interval-to-log-scale-standard-error-for-relative-risk table { min-width: 820px; }
}


/* Interquartile range to standard deviation conversion.html */
html.page-interquartile-range-to-standard-deviation-conversion {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-interquartile-range-to-standard-deviation-conversion, html.page-interquartile-range-to-standard-deviation-conversion body { height: 100%; }

html.page-interquartile-range-to-standard-deviation-conversion body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    font-size: 16px;
    line-height: 24px;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
}

html.page-interquartile-range-to-standard-deviation-conversion .text-xs { font-size: 12px; line-height: 16px; font-weight: 400; }
html.page-interquartile-range-to-standard-deviation-conversion .text-sm { font-size: 14px; line-height: 20px; }
html.page-interquartile-range-to-standard-deviation-conversion .text-base { font-size: 16px; line-height: 24px; font-weight: 400; }
html.page-interquartile-range-to-standard-deviation-conversion .text-xl { font-size: 20px; line-height: 28px; font-weight: 700; }
html.page-interquartile-range-to-standard-deviation-conversion .text-3xl { font-size: 30px; line-height: 36px; font-weight: 700; }

html.page-interquartile-range-to-standard-deviation-conversion a { color: var(--brand-primary); text-decoration: none; }
html.page-interquartile-range-to-standard-deviation-conversion a:hover { text-decoration: underline; }

html.page-interquartile-range-to-standard-deviation-conversion .tool-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
}

html.page-interquartile-range-to-standard-deviation-conversion .tool-card-2 {
    background-color: #f0fdfa;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(24, 75, 68, 0.18);
    padding: 1.5rem 2rem;
}

html.page-interquartile-range-to-standard-deviation-conversion .btn-brand {
    background: var(--brand-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-interquartile-range-to-standard-deviation-conversion .btn-brand:hover {
    background-color: var(--brand-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(24,75,68,0.2);
}

html.page-interquartile-range-to-standard-deviation-conversion .btn-secondary {
    background: #fff;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-interquartile-range-to-standard-deviation-conversion .btn-secondary:hover {
    border-color: var(--brand-primary);
    background: #f8fafc;
}

html.page-interquartile-range-to-standard-deviation-conversion .btn-danger {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-interquartile-range-to-standard-deviation-conversion .btn-danger:hover {
    background: #fecaca;
    border-color: #f87171;
}

html.page-interquartile-range-to-standard-deviation-conversion .toggle-checkbox {
    position: absolute;
    top: 0;
    right: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: #fff;
    border: 2px solid #cbd5e1;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s;
}

html.page-interquartile-range-to-standard-deviation-conversion .toggle-label {
    display: block;
    height: 1.5rem;
    border-radius: 9999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
}

html.page-interquartile-range-to-standard-deviation-conversion .toggle-checkbox:checked { right: 0; border-color: #184B44; }
html.page-interquartile-range-to-standard-deviation-conversion .toggle-checkbox:checked + .toggle-label { background-color: #184B44; }

html.page-interquartile-range-to-standard-deviation-conversion .modal-overlay { background-color: rgba(0,0,0,0.5); backdrop-filter: blur(4px); }

@keyframes page-interquartile-range-to-standard-deviation-conversion-fadeIn { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
html.page-interquartile-range-to-standard-deviation-conversion .animate-fade-up { animation: page-interquartile-range-to-standard-deviation-conversion-fadeIn 0.6s cubic-bezier(0.4,0,0.2,1) forwards; opacity: 0; }

html.page-interquartile-range-to-standard-deviation-conversion .label { font-size: 14px; line-height: 20px; font-weight: 500; color: #0f2f2b; }
html.page-interquartile-range-to-standard-deviation-conversion .hint { font-size: 12px; line-height: 16px; font-weight: 400; color: #64748b; }

html.page-interquartile-range-to-standard-deviation-conversion .list-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

html.page-interquartile-range-to-standard-deviation-conversion header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(240,253,250,0.85);
    border-bottom: 1px solid rgba(226,232,240,0.9);
    backdrop-filter: saturate(150%) blur(10px);
}

html.page-interquartile-range-to-standard-deviation-conversion .logo-fallback {
    display: none;
    font-family: Gungsuh, serif;
    color: var(--brand-primary);
    letter-spacing: .2px;
}

html.page-interquartile-range-to-standard-deviation-conversion .logo-fallback .main { font-size: 30px; font-weight: 400; }
html.page-interquartile-range-to-standard-deviation-conversion .logo-fallback .omega { font-size: 22.5px; font-weight: 700; }

html.page-interquartile-range-to-standard-deviation-conversion .table-wrap { border: 1px solid #e2e8f0; border-radius: 0.75rem; overflow: auto; max-height: 420px; background: #fff; }
html.page-interquartile-range-to-standard-deviation-conversion table { border-collapse: separate; border-spacing: 0; min-width: 760px; width: 100%; }
html.page-interquartile-range-to-standard-deviation-conversion th, html.page-interquartile-range-to-standard-deviation-conversion td { padding: 10px 12px; border-bottom: 1px solid #e2e8f0; vertical-align: middle; }
html.page-interquartile-range-to-standard-deviation-conversion th { position: sticky; top: 0; background: #f8fafc; z-index: 1; font-size: 12px; line-height: 16px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; color: #64748b; }
html.page-interquartile-range-to-standard-deviation-conversion td { font-size: 14px; line-height: 20px; }
html.page-interquartile-range-to-standard-deviation-conversion tr:hover td { background: rgba(240,253,250,.65); }

html.page-interquartile-range-to-standard-deviation-conversion .pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 9999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
}

html.page-interquartile-range-to-standard-deviation-conversion .warnText { color: #b45309; }
html.page-interquartile-range-to-standard-deviation-conversion .dangerText { color: #b91c1c; }
html.page-interquartile-range-to-standard-deviation-conversion .okText { color: #166534; }

html.page-interquartile-range-to-standard-deviation-conversion .modal-back { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 1rem; z-index: 60; }

html.page-interquartile-range-to-standard-deviation-conversion .modal {
    width: min(860px, 100%);
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 30px 90px rgba(2,6,23,.25);
    overflow: hidden;
}

html.page-interquartile-range-to-standard-deviation-conversion .modal-header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 1rem; border-bottom: 1px solid #e2e8f0; }
html.page-interquartile-range-to-standard-deviation-conversion .modal-title { font-size: 20px; line-height: 28px; font-weight: 700; color: #0f2f2b; }
html.page-interquartile-range-to-standard-deviation-conversion .modal-img { width: 100%; aspect-ratio: 11 / 6; border-radius: 0.75rem; border: 1px solid #e2e8f0; overflow: hidden; background: linear-gradient(135deg, rgba(24,75,68,.08), rgba(42,110,100,.08)); display: grid; place-items: center; }
html.page-interquartile-range-to-standard-deviation-conversion .modal-img img { width: 100%; height: 100%; object-fit: contain; display: block; }

html.page-interquartile-range-to-standard-deviation-conversion [data-mode][aria-selected="true"] { background: var(--brand-primary); color: #fff; }
html.page-interquartile-range-to-standard-deviation-conversion [data-mode] { transition: all .2s; }
html.page-interquartile-range-to-standard-deviation-conversion [data-mode]:hover { outline: 1px solid rgba(24,75,68,0.35); }

@media (max-width: 560px) {
    html.page-interquartile-range-to-standard-deviation-conversion table { min-width: 820px; }
}


/* Logit and probability conversion.html */
html.page-logit-and-probability-conversion {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-logit-and-probability-conversion, html.page-logit-and-probability-conversion body { height: 100%; }

html.page-logit-and-probability-conversion body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    font-size: 16px;
    line-height: 24px;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
}

html.page-logit-and-probability-conversion .text-xs { font-size: 12px; line-height: 16px; font-weight: 400; }
html.page-logit-and-probability-conversion .text-sm { font-size: 14px; line-height: 20px; }
html.page-logit-and-probability-conversion .text-base { font-size: 16px; line-height: 24px; font-weight: 400; }
html.page-logit-and-probability-conversion .text-xl { font-size: 20px; line-height: 28px; font-weight: 700; }
html.page-logit-and-probability-conversion .text-3xl { font-size: 30px; line-height: 36px; font-weight: 700; }

html.page-logit-and-probability-conversion a { color: var(--brand-primary); text-decoration: none; }
html.page-logit-and-probability-conversion a:hover { text-decoration: underline; }

html.page-logit-and-probability-conversion .tool-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
}

html.page-logit-and-probability-conversion .tool-card-2 {
    background-color: #f0fdfa;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(24, 75, 68, 0.18);
    padding: 1.5rem 2rem;
}

html.page-logit-and-probability-conversion .btn-brand {
    background: var(--brand-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-logit-and-probability-conversion .btn-brand:hover {
    background-color: var(--brand-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(24,75,68,0.2);
}

html.page-logit-and-probability-conversion .btn-secondary {
    background: #fff;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-logit-and-probability-conversion .btn-secondary:hover {
    border-color: var(--brand-primary);
    background: #f8fafc;
}

html.page-logit-and-probability-conversion .btn-danger {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-logit-and-probability-conversion .btn-danger:hover {
    background: #fecaca;
    border-color: #f87171;
}

html.page-logit-and-probability-conversion .toggle-checkbox {
    position: absolute;
    top: 0;
    right: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: #fff;
    border: 2px solid #cbd5e1;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s;
}

html.page-logit-and-probability-conversion .toggle-label {
    display: block;
    height: 1.5rem;
    border-radius: 9999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
}

html.page-logit-and-probability-conversion .toggle-checkbox:checked { right: 0; border-color: #184B44; }
html.page-logit-and-probability-conversion .toggle-checkbox:checked + .toggle-label { background-color: #184B44; }

html.page-logit-and-probability-conversion .modal-overlay { background-color: rgba(0,0,0,0.5); backdrop-filter: blur(4px); }

@keyframes page-logit-and-probability-conversion-fadeIn { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
html.page-logit-and-probability-conversion .animate-fade-up { animation: page-logit-and-probability-conversion-fadeIn 0.6s cubic-bezier(0.4,0,0.2,1) forwards; opacity: 0; }

html.page-logit-and-probability-conversion .label { font-size: 14px; line-height: 20px; font-weight: 500; color: #0f2f2b; }
html.page-logit-and-probability-conversion .hint { font-size: 12px; line-height: 16px; font-weight: 400; color: #64748b; }

html.page-logit-and-probability-conversion .list-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

html.page-logit-and-probability-conversion header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(240,253,250,0.85);
    border-bottom: 1px solid rgba(226,232,240,0.9);
    backdrop-filter: saturate(150%) blur(10px);
}

html.page-logit-and-probability-conversion .logo-fallback {
    display: none;
    font-family: Gungsuh, serif;
    color: var(--brand-primary);
    letter-spacing: .2px;
}

html.page-logit-and-probability-conversion .logo-fallback .main { font-size: 30px; font-weight: 400; }
html.page-logit-and-probability-conversion .logo-fallback .omega { font-size: 22.5px; font-weight: 700; }

html.page-logit-and-probability-conversion .table-wrap { border: 1px solid #e2e8f0; border-radius: 0.75rem; overflow: auto; max-height: 420px; background: #fff; }
html.page-logit-and-probability-conversion table { border-collapse: separate; border-spacing: 0; min-width: 760px; width: 100%; }
html.page-logit-and-probability-conversion th, html.page-logit-and-probability-conversion td { padding: 10px 12px; border-bottom: 1px solid #e2e8f0; vertical-align: middle; }
html.page-logit-and-probability-conversion th { position: sticky; top: 0; background: #f8fafc; z-index: 1; font-size: 12px; line-height: 16px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; color: #64748b; }
html.page-logit-and-probability-conversion td { font-size: 14px; line-height: 20px; }
html.page-logit-and-probability-conversion tr:hover td { background: rgba(240,253,250,.65); }

html.page-logit-and-probability-conversion .pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 9999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
}

html.page-logit-and-probability-conversion .warnText { color: #b45309; }
html.page-logit-and-probability-conversion .dangerText { color: #b91c1c; }
html.page-logit-and-probability-conversion .okText { color: #166534; }

html.page-logit-and-probability-conversion .modal-back { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 1rem; z-index: 60; }

html.page-logit-and-probability-conversion .modal {
    width: min(860px, 100%);
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 30px 90px rgba(2,6,23,.25);
    overflow: hidden;
}

html.page-logit-and-probability-conversion .modal-header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 1rem; border-bottom: 1px solid #e2e8f0; }
html.page-logit-and-probability-conversion .modal-title { font-size: 20px; line-height: 28px; font-weight: 700; color: #0f2f2b; }
html.page-logit-and-probability-conversion .modal-img { width: 100%; aspect-ratio: 11 / 6; border-radius: 0.75rem; border: 1px solid #e2e8f0; overflow: hidden; background: linear-gradient(135deg, rgba(24,75,68,.08), rgba(42,110,100,.08)); display: grid; place-items: center; }
html.page-logit-and-probability-conversion .modal-img img { width: 100%; height: 100%; object-fit: contain; display: block; }

html.page-logit-and-probability-conversion [data-mode][aria-selected="true"] { background: var(--brand-primary); color: #fff; }
html.page-logit-and-probability-conversion [data-mode] { transition: all .2s; }
html.page-logit-and-probability-conversion [data-mode]:hover { outline: 1px solid rgba(24,75,68,0.35); }

@media (max-width: 560px) {
    html.page-logit-and-probability-conversion table { min-width: 820px; }
}


/* Risk and odds conversion.html */
html.page-risk-and-odds-conversion {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-risk-and-odds-conversion, html.page-risk-and-odds-conversion body { height: 100%; }

html.page-risk-and-odds-conversion body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    font-size: 16px;
    line-height: 24px;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
}

html.page-risk-and-odds-conversion .text-xs { font-size: 12px; line-height: 16px; font-weight: 400; }
html.page-risk-and-odds-conversion .text-sm { font-size: 14px; line-height: 20px; }
html.page-risk-and-odds-conversion .text-base { font-size: 16px; line-height: 24px; font-weight: 400; }
html.page-risk-and-odds-conversion .text-xl { font-size: 20px; line-height: 28px; font-weight: 700; }
html.page-risk-and-odds-conversion .text-3xl { font-size: 30px; line-height: 36px; font-weight: 700; }

html.page-risk-and-odds-conversion a { color: var(--brand-primary); text-decoration: none; }
html.page-risk-and-odds-conversion a:hover { text-decoration: underline; }

html.page-risk-and-odds-conversion .tool-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
}

html.page-risk-and-odds-conversion .tool-card-2 {
    background-color: #f0fdfa;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(24, 75, 68, 0.18);
    padding: 1.5rem 2rem;
}

html.page-risk-and-odds-conversion .btn-brand {
    background: var(--brand-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-risk-and-odds-conversion .btn-brand:hover {
    background-color: var(--brand-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(24,75,68,0.2);
}

html.page-risk-and-odds-conversion .btn-secondary {
    background: #fff;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-risk-and-odds-conversion .btn-secondary:hover {
    border-color: var(--brand-primary);
    background: #f8fafc;
}

html.page-risk-and-odds-conversion .btn-danger {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-risk-and-odds-conversion .btn-danger:hover {
    background: #fecaca;
    border-color: #f87171;
}

html.page-risk-and-odds-conversion .toggle-checkbox {
    position: absolute;
    top: 0;
    right: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: #fff;
    border: 2px solid #cbd5e1;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s;
}

html.page-risk-and-odds-conversion .toggle-label {
    display: block;
    height: 1.5rem;
    border-radius: 9999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
}

html.page-risk-and-odds-conversion .toggle-checkbox:checked { right: 0; border-color: #184B44; }
html.page-risk-and-odds-conversion .toggle-checkbox:checked + .toggle-label { background-color: #184B44; }

html.page-risk-and-odds-conversion .modal-overlay { background-color: rgba(0,0,0,0.5); backdrop-filter: blur(4px); }

@keyframes page-risk-and-odds-conversion-fadeIn { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
html.page-risk-and-odds-conversion .animate-fade-up { animation: page-risk-and-odds-conversion-fadeIn 0.6s cubic-bezier(0.4,0,0.2,1) forwards; opacity: 0; }

html.page-risk-and-odds-conversion .label { font-size: 14px; line-height: 20px; font-weight: 500; color: #0f2f2b; }
html.page-risk-and-odds-conversion .hint { font-size: 12px; line-height: 16px; font-weight: 400; color: #64748b; }

html.page-risk-and-odds-conversion .list-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

html.page-risk-and-odds-conversion header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(240,253,250,0.85);
    border-bottom: 1px solid rgba(226,232,240,0.9);
    backdrop-filter: saturate(150%) blur(10px);
}

html.page-risk-and-odds-conversion .logo-fallback {
    display: none;
    font-family: Gungsuh, serif;
    color: var(--brand-primary);
    letter-spacing: .2px;
}

html.page-risk-and-odds-conversion .logo-fallback .main { font-size: 30px; font-weight: 400; }
html.page-risk-and-odds-conversion .logo-fallback .omega { font-size: 22.5px; font-weight: 700; }

html.page-risk-and-odds-conversion .table-wrap { border: 1px solid #e2e8f0; border-radius: 0.75rem; overflow: auto; max-height: 420px; background: #fff; }
html.page-risk-and-odds-conversion table { border-collapse: separate; border-spacing: 0; min-width: 760px; width: 100%; }
html.page-risk-and-odds-conversion th, html.page-risk-and-odds-conversion td { padding: 10px 12px; border-bottom: 1px solid #e2e8f0; vertical-align: middle; }
html.page-risk-and-odds-conversion th { position: sticky; top: 0; background: #f8fafc; z-index: 1; font-size: 12px; line-height: 16px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; color: #64748b; }
html.page-risk-and-odds-conversion td { font-size: 14px; line-height: 20px; }
html.page-risk-and-odds-conversion tr:hover td { background: rgba(240,253,250,.65); }

html.page-risk-and-odds-conversion .pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 9999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
}

html.page-risk-and-odds-conversion .warnText { color: #b45309; }
html.page-risk-and-odds-conversion .dangerText { color: #b91c1c; }
html.page-risk-and-odds-conversion .okText { color: #166534; }

html.page-risk-and-odds-conversion .modal-back { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 1rem; z-index: 60; }

html.page-risk-and-odds-conversion .modal {
    width: min(860px, 100%);
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 30px 90px rgba(2,6,23,.25);
    overflow: hidden;
}

html.page-risk-and-odds-conversion .modal-header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 1rem; border-bottom: 1px solid #e2e8f0; }
html.page-risk-and-odds-conversion .modal-title { font-size: 20px; line-height: 28px; font-weight: 700; color: #0f2f2b; }
html.page-risk-and-odds-conversion .modal-img { width: 100%; aspect-ratio: 11 / 6; border-radius: 0.75rem; border: 1px solid #e2e8f0; overflow: hidden; background: linear-gradient(135deg, rgba(24,75,68,.08), rgba(42,110,100,.08)); display: grid; place-items: center; }
html.page-risk-and-odds-conversion .modal-img img { width: 100%; height: 100%; object-fit: contain; display: block; }

html.page-risk-and-odds-conversion [data-mode][aria-selected="true"] { background: var(--brand-primary); color: #fff; }
html.page-risk-and-odds-conversion [data-mode] { transition: all .2s; }
html.page-risk-and-odds-conversion [data-mode]:hover { outline: 1px solid rgba(24,75,68,0.35); }

@media (max-width: 560px) {
    html.page-risk-and-odds-conversion table { min-width: 820px; }
}


/* Standard error and confidence interval conversion.html */
html.page-standard-error-and-confidence-interval-conversion {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-standard-error-and-confidence-interval-conversion body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
    color: #334155;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-standard-error-and-confidence-interval-conversion .animate-fade-up {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

/* Card Styles */
html.page-standard-error-and-confidence-interval-conversion .tool-card {
    background: white;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* Button Styles */
html.page-standard-error-and-confidence-interval-conversion .btn-brand {
    background-color: var(--brand-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-standard-error-and-confidence-interval-conversion .btn-brand:hover {
    background-color: var(--brand-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(24, 75, 68, 0.2);
}

html.page-standard-error-and-confidence-interval-conversion .btn-secondary {
    background-color: white;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-standard-error-and-confidence-interval-conversion .btn-secondary:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background-color: #f8fafc;
}

html.page-standard-error-and-confidence-interval-conversion .btn-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-standard-error-and-confidence-interval-conversion .btn-danger:hover {
    background-color: #fecaca;
    border-color: #f87171;
}

/* Toggle Switch */
html.page-standard-error-and-confidence-interval-conversion .toggle-checkbox:checked {
    right: 0;
    border-color: #184B44;
}

html.page-standard-error-and-confidence-interval-conversion .toggle-checkbox:checked + .toggle-label {
    background-color: #184B44;
}

/* Modal */
html.page-standard-error-and-confidence-interval-conversion .modal-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

/* Standard deviation and standard error of the mean conversion.html */
html.page-standard-deviation-and-standard-error-of-the-mean-conversion {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-standard-deviation-and-standard-error-of-the-mean-conversion, html.page-standard-deviation-and-standard-error-of-the-mean-conversion body { height: 100%; }

html.page-standard-deviation-and-standard-error-of-the-mean-conversion body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    font-size: 16px;
    line-height: 24px;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
}

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .text-xs { font-size: 12px; line-height: 16px; font-weight: 400; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion .text-sm { font-size: 14px; line-height: 20px; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion .text-base { font-size: 16px; line-height: 24px; font-weight: 400; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion .text-xl { font-size: 20px; line-height: 28px; font-weight: 700; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion .text-3xl { font-size: 30px; line-height: 36px; font-weight: 700; }

html.page-standard-deviation-and-standard-error-of-the-mean-conversion a { color: var(--brand-primary); text-decoration: none; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion a:hover { text-decoration: underline; }

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .tool-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
}

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .tool-card-2 {
    background-color: #f0fdfa;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(24, 75, 68, 0.18);
    padding: 1.5rem 2rem;
}

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .btn-brand {
    background: var(--brand-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .btn-brand:hover {
    background-color: var(--brand-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(24,75,68,0.2);
}

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .btn-secondary {
    background: #fff;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .btn-secondary:hover {
    border-color: var(--brand-primary);
    background: #f8fafc;
}

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .btn-danger {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .btn-danger:hover {
    background: #fecaca;
    border-color: #f87171;
}

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .toggle-checkbox {
    position: absolute;
    top: 0;
    right: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: #fff;
    border: 2px solid #cbd5e1;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s;
}

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .toggle-label {
    display: block;
    height: 1.5rem;
    border-radius: 9999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
}

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .toggle-checkbox:checked { right: 0; border-color: #184B44; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion .toggle-checkbox:checked + .toggle-label { background-color: #184B44; }

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .modal-overlay { background-color: rgba(0,0,0,0.5); backdrop-filter: blur(4px); }

@keyframes page-standard-deviation-and-standard-error-of-the-mean-conversion-fadeIn { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion .animate-fade-up { animation: page-standard-deviation-and-standard-error-of-the-mean-conversion-fadeIn 0.6s cubic-bezier(0.4,0,0.2,1) forwards; opacity: 0; }

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .label { font-size: 14px; line-height: 20px; font-weight: 500; color: #0f2f2b; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion .hint { font-size: 12px; line-height: 16px; font-weight: 400; color: #64748b; }

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .list-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

html.page-standard-deviation-and-standard-error-of-the-mean-conversion header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(240,253,250,0.85);
    border-bottom: 1px solid rgba(226,232,240,0.9);
    backdrop-filter: saturate(150%) blur(10px);
}

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .logo-fallback {
    display: none;
    font-family: Gungsuh, serif;
    color: var(--brand-primary);
    letter-spacing: .2px;
}

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .logo-fallback .main { font-size: 30px; font-weight: 400; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion .logo-fallback .omega { font-size: 22.5px; font-weight: 700; }

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .table-wrap { border: 1px solid #e2e8f0; border-radius: 0.75rem; overflow: auto; max-height: 420px; background: #fff; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion table { border-collapse: separate; border-spacing: 0; min-width: 760px; width: 100%; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion th, html.page-standard-deviation-and-standard-error-of-the-mean-conversion td { padding: 10px 12px; border-bottom: 1px solid #e2e8f0; vertical-align: middle; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion th { position: sticky; top: 0; background: #f8fafc; z-index: 1; font-size: 12px; line-height: 16px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; color: #64748b; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion td { font-size: 14px; line-height: 20px; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion tr:hover td { background: rgba(240,253,250,.65); }

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 9999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
}

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .warnText { color: #b45309; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion .dangerText { color: #b91c1c; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion .okText { color: #166534; }

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .modal-back { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 1rem; z-index: 60; }

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .modal {
    width: min(860px, 100%);
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 30px 90px rgba(2,6,23,.25);
    overflow: hidden;
}

html.page-standard-deviation-and-standard-error-of-the-mean-conversion .modal-header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 1rem; border-bottom: 1px solid #e2e8f0; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion .modal-title { font-size: 20px; line-height: 28px; font-weight: 700; color: #0f2f2b; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion .modal-img { width: 100%; aspect-ratio: 11 / 6; border-radius: 0.75rem; border: 1px solid #e2e8f0; overflow: hidden; background: linear-gradient(135deg, rgba(24,75,68,.08), rgba(42,110,100,.08)); display: grid; place-items: center; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion .modal-img img { width: 100%; height: 100%; object-fit: contain; display: block; }

html.page-standard-deviation-and-standard-error-of-the-mean-conversion [data-mode][aria-selected="true"] { background: var(--brand-primary); color: #fff; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion [data-mode] { transition: all .2s; }
html.page-standard-deviation-and-standard-error-of-the-mean-conversion [data-mode]:hover { outline: 1px solid rgba(24,75,68,0.35); }

@media (max-width: 560px) {
    html.page-standard-deviation-and-standard-error-of-the-mean-conversion table { min-width: 820px; }
}


/* Variance and standard deviation conversion.html */
html.page-variance-and-standard-deviation-conversion {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-variance-and-standard-deviation-conversion, html.page-variance-and-standard-deviation-conversion body { height: 100%; }

html.page-variance-and-standard-deviation-conversion body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    font-size: 16px;
    line-height: 24px;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
}

html.page-variance-and-standard-deviation-conversion .text-xs { font-size: 12px; line-height: 16px; font-weight: 400; }
html.page-variance-and-standard-deviation-conversion .text-sm { font-size: 14px; line-height: 20px; }
html.page-variance-and-standard-deviation-conversion .text-base { font-size: 16px; line-height: 24px; font-weight: 400; }
html.page-variance-and-standard-deviation-conversion .text-xl { font-size: 20px; line-height: 28px; font-weight: 700; }
html.page-variance-and-standard-deviation-conversion .text-3xl { font-size: 30px; line-height: 36px; font-weight: 700; }

html.page-variance-and-standard-deviation-conversion a { color: var(--brand-primary); text-decoration: none; }
html.page-variance-and-standard-deviation-conversion a:hover { text-decoration: underline; }

html.page-variance-and-standard-deviation-conversion .tool-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
}

html.page-variance-and-standard-deviation-conversion .tool-card-2 {
    background-color: #f0fdfa;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(24, 75, 68, 0.18);
    padding: 1.5rem 2rem;
}

html.page-variance-and-standard-deviation-conversion .btn-brand {
    background: var(--brand-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-variance-and-standard-deviation-conversion .btn-brand:hover {
    background-color: var(--brand-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(24,75,68,0.2);
}

html.page-variance-and-standard-deviation-conversion .btn-secondary {
    background: #fff;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-variance-and-standard-deviation-conversion .btn-secondary:hover {
    border-color: var(--brand-primary);
    background: #f8fafc;
}

html.page-variance-and-standard-deviation-conversion .btn-danger {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

html.page-variance-and-standard-deviation-conversion .btn-danger:hover {
    background: #fecaca;
    border-color: #f87171;
}

html.page-variance-and-standard-deviation-conversion .toggle-checkbox {
    position: absolute;
    top: 0;
    right: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: #fff;
    border: 2px solid #cbd5e1;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s;
}

html.page-variance-and-standard-deviation-conversion .toggle-label {
    display: block;
    height: 1.5rem;
    border-radius: 9999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
}

html.page-variance-and-standard-deviation-conversion .toggle-checkbox:checked { right: 0; border-color: #184B44; }
html.page-variance-and-standard-deviation-conversion .toggle-checkbox:checked + .toggle-label { background-color: #184B44; }

html.page-variance-and-standard-deviation-conversion .modal-overlay { background-color: rgba(0,0,0,0.5); backdrop-filter: blur(4px); }

@keyframes page-variance-and-standard-deviation-conversion-fadeIn { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
html.page-variance-and-standard-deviation-conversion .animate-fade-up { animation: page-variance-and-standard-deviation-conversion-fadeIn 0.6s cubic-bezier(0.4,0,0.2,1) forwards; opacity: 0; }

html.page-variance-and-standard-deviation-conversion .label { font-size: 14px; line-height: 20px; font-weight: 500; color: #0f2f2b; }
html.page-variance-and-standard-deviation-conversion .hint { font-size: 12px; line-height: 16px; font-weight: 400; color: #64748b; }

html.page-variance-and-standard-deviation-conversion .list-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

html.page-variance-and-standard-deviation-conversion header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(240,253,250,0.85);
    border-bottom: 1px solid rgba(226,232,240,0.9);
    backdrop-filter: saturate(150%) blur(10px);
}

html.page-variance-and-standard-deviation-conversion .logo-fallback {
    display: none;
    font-family: Gungsuh, serif;
    color: var(--brand-primary);
    letter-spacing: .2px;
}

html.page-variance-and-standard-deviation-conversion .logo-fallback .main { font-size: 30px; font-weight: 400; }
html.page-variance-and-standard-deviation-conversion .logo-fallback .omega { font-size: 22.5px; font-weight: 700; }

html.page-variance-and-standard-deviation-conversion .table-wrap { border: 1px solid #e2e8f0; border-radius: 0.75rem; overflow: auto; max-height: 420px; background: #fff; }
html.page-variance-and-standard-deviation-conversion table { border-collapse: separate; border-spacing: 0; min-width: 760px; width: 100%; }
html.page-variance-and-standard-deviation-conversion th, html.page-variance-and-standard-deviation-conversion td { padding: 10px 12px; border-bottom: 1px solid #e2e8f0; vertical-align: middle; }
html.page-variance-and-standard-deviation-conversion th { position: sticky; top: 0; background: #f8fafc; z-index: 1; font-size: 12px; line-height: 16px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; color: #64748b; }
html.page-variance-and-standard-deviation-conversion td { font-size: 14px; line-height: 20px; }
html.page-variance-and-standard-deviation-conversion tr:hover td { background: rgba(240,253,250,.65); }

html.page-variance-and-standard-deviation-conversion .pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 9999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
}

html.page-variance-and-standard-deviation-conversion .warnText { color: #b45309; }
html.page-variance-and-standard-deviation-conversion .dangerText { color: #b91c1c; }
html.page-variance-and-standard-deviation-conversion .okText { color: #166534; }

html.page-variance-and-standard-deviation-conversion .modal-back { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 1rem; z-index: 60; }

html.page-variance-and-standard-deviation-conversion .modal {
    width: min(860px, 100%);
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 30px 90px rgba(2,6,23,.25);
    overflow: hidden;
}

html.page-variance-and-standard-deviation-conversion .modal-header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 1rem; border-bottom: 1px solid #e2e8f0; }
html.page-variance-and-standard-deviation-conversion .modal-title { font-size: 20px; line-height: 28px; font-weight: 700; color: #0f2f2b; }
html.page-variance-and-standard-deviation-conversion .modal-img { width: 100%; aspect-ratio: 11 / 6; border-radius: 0.75rem; border: 1px solid #e2e8f0; overflow: hidden; background: linear-gradient(135deg, rgba(24,75,68,.08), rgba(42,110,100,.08)); display: grid; place-items: center; }
html.page-variance-and-standard-deviation-conversion .modal-img img { width: 100%; height: 100%; object-fit: contain; display: block; }

html.page-variance-and-standard-deviation-conversion [data-mode][aria-selected="true"] { background: var(--brand-primary); color: #fff; }
html.page-variance-and-standard-deviation-conversion [data-mode] { transition: all .2s; }
html.page-variance-and-standard-deviation-conversion [data-mode]:hover { outline: 1px solid rgba(24,75,68,0.35); }

@media (max-width: 560px) {
    html.page-variance-and-standard-deviation-conversion table { min-width: 820px; }
}


/* Median with first quartile and third quartile to mean and standard deviation conversion.html */
html.page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion {
    --brand-primary: #184B44;
    --brand-light: #2a6e64;
    --brand-accent: #e6fffa;
}

html.page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    background-image: radial-gradient(#ccfbf1 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    overflow-x: hidden;
    color: #334155;
}

@keyframes page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion-fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion-slideIn {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion-pulseSoft {
    0%, 100% { box-shadow: 0 0 0 rgba(24, 75, 68, 0.15); }
    50% { box-shadow: 0 0 18px rgba(24, 75, 68, 0.25); }
}

@keyframes page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

html.page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion .animate-fade-in {
    animation: page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion-fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion .animate-slide-in {
    animation: page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion-slideIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion .hover-pulse:hover {
    animation: page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion-pulseSoft 1.6s ease-in-out infinite;
}

html.page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion .ai-card {
    background: #ffffff;
    border: 1px solid rgba(24, 75, 68, 0.2);
    border-radius: 1rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

html.page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion .ai-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(24, 75, 68, 0.1), transparent 60%);
    opacity: 0.6;
    pointer-events: none;
}

html.page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion .markdown-body {
    color: #334155;
}

html.page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion .markdown-body p {
    margin: 0 0 0.75rem;
}

html.page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion .markdown-body ul {
    padding-left: 1.25rem;
    margin: 0.75rem 0;
}

html.page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion .markdown-body li {
    margin: 0.25rem 0;
}

html.page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion .table-row-animate {
    animation: page-median-with-first-quartile-and-third-quartile-to-mean-and-standard-deviation-conversion-fadeIn 0.4s ease;
}


/* Threadminds.html */
html.page-threadminds {
    --tm-purple: #6B46C1;
    --tm-yellow: #F6E05E;
    --entro-teal: #184B44;
    --esquir-brown: #5D4037;
    --esquir-beige: #D7CCC8;
}

html.page-threadminds body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
    background-color: #0f172a;
    color: white;
}

@keyframes page-threadminds-fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes page-threadminds-float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes page-threadminds-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

html.page-threadminds .animate-enter {
    animation: page-threadminds-fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

html.page-threadminds .floating {
    animation: page-threadminds-float 4s ease-in-out infinite;
}

html.page-threadminds .hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #4c1d95 0%, #0f172a 100%);
    position: sticky;
    top: 0;
    z-index: 10;
}

html.page-threadminds .hero-logo {
    filter: drop-shadow(0 0 20px rgba(246, 224, 94, 0.3));
}

html.page-threadminds .content-container {
    position: relative;
    z-index: 20;
    background: transparent;
}

html.page-threadminds .product-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    transition: background 0.5s ease;
}

html.page-threadminds .section-entro {
    background: linear-gradient(180deg, #0f172a 0%, #184B44 100%);
}

html.page-threadminds .section-esquir {
    background: linear-gradient(180deg, #184B44 0%, #3E2723 100%);
}

html.page-threadminds .section-team {
    background: #1a1a1a;
    border-top: 1px solid rgba(255,255,255,0.1);
}

html.page-threadminds .glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

html.page-threadminds .product-logo {
    height: auto;
    max-height: 4rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

html.page-threadminds .product-media {
    padding: 1.5rem;
}

html.page-threadminds .product-media img,
html.page-threadminds .product-media svg {
    max-width: 85%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

html.page-threadminds .glass-card:hover {
    transform: scale(1.01);
    border-color: rgba(255, 255, 255, 0.2);
}

html.page-threadminds .gradient-text-tm {
    background: linear-gradient(to right, #D8B4FE, #F6E05E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html.page-threadminds .gradient-text-entro {
    background: linear-gradient(to right, #5EEAD4, #ccfbf1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html.page-threadminds .gradient-text-esquir {
    background: linear-gradient(to right, #D7CCC8, #FFAB91);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html.page-threadminds .btn-primary {
    padding: 1rem 2rem;
    border-radius: 99px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
}

html.page-threadminds .btn-entro {
    background: #2a6e64;
    color: white;
    box-shadow: 0 0 20px rgba(42, 110, 100, 0.4);
}

html.page-threadminds .btn-entro:hover {
    background: #184B44;
    box-shadow: 0 0 30px rgba(42, 110, 100, 0.6);
    transform: translateY(-2px);
}

html.page-threadminds .btn-esquir {
    background: #6D4C41;
    color: #EFEBE9;
    box-shadow: 0 0 20px rgba(109, 76, 65, 0.4);
}

html.page-threadminds .btn-esquir:hover {
    background: #5D4037;
    box-shadow: 0 0 30px rgba(109, 76, 65, 0.6);
    transform: translateY(-2px);
}

html.page-threadminds .scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: page-threadminds-bounce 2s infinite;
    opacity: 0.7;
}

html.page-threadminds .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    html.page-threadminds .glass-card {
        padding: 2rem 1.5rem;
    }
}


/* Title page.html */
html.page-title-page body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    margin: 0;
    overflow-x: hidden;
}

@keyframes page-title-page-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-title-page .animate-fade-up {
    animation: page-title-page-fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-title-page .tool-card {
    background: white;
    border: 1px solid rgb(207, 207, 207);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -2px rgba(24, 75, 68, 0.15), 0 5px 5px -2px rgba(24, 75, 68, 0.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 160px;
}

html.page-title-page .tool-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.15), 0 10px 10px -5px rgba(24, 75, 68, 0.1);
    border-color: #4B181F;
}

html.page-title-page .tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(24, 75, 68, 0.03) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.page-title-page .tool-card:hover::before { opacity: 1; }

html.page-title-page .section-hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 10;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    background-color: #ccfbf1;
}

html.page-title-page .section-tools {
    background-color: #f0fdfa;
    position: relative;
    z-index: 20;
    padding: 4rem 2rem 0;
}

html.page-title-page .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    animation: page-title-page-bounce 2s infinite;
    color: #184B44;
}

@keyframes page-title-page-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

html.page-title-page .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    z-index: 10;
}

html.page-title-page .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

html.page-title-page .search-input:focus {
    border-color: #184B44;
    box-shadow: 0 0 0 3px rgba(24, 75, 68, 0.12);
}

html.page-title-page .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

html.page-title-page .match-highlight {
    font-size: 0.75rem;
    color: #184B44;
    background-color: #e6fffa;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    display: inline-block;
}

@keyframes page-title-page-akinatorGlow {
    0%, 100% { box-shadow: 0 12px 22px -10px rgba(24, 75, 68, 0.35); }
    50% { box-shadow: 0 18px 30px -12px rgba(24, 75, 68, 0.55); }
}

html.page-title-page .stat-akinator-btn {
    background: linear-gradient(135deg, #184B44 0%, #0f766e 55%, #184B44 100%);
    position: relative;
    overflow: hidden;
    animation: page-title-page-akinatorGlow 2.8s ease-in-out infinite;
    will-change: transform, box-shadow;
}

html.page-title-page .stat-akinator-btn .arbor-logo {
    height: 18px;
    width: auto;
    filter: brightness(0) invert(1);
}


/* Title page_1.html */
html.page-title-page-1 body {
    font-family: 'Inter', sans-serif;
    background-color: #f0fdfa;
    margin: 0;
    overflow-x: hidden;
}

@keyframes page-title-page-1-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html.page-title-page-1 .animate-fade-up {
    animation: page-title-page-1-fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

html.page-title-page-1 .tool-card {
    background: white;
    border: 1px solid rgb(207, 207, 207);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -2px rgba(24, 75, 68, 0.15), 0 5px 5px -2px rgba(24, 75, 68, 0.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 160px;
}

html.page-title-page-1 .tool-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(24, 75, 68, 0.15), 0 10px 10px -5px rgba(24, 75, 68, 0.1);
    border-color: #4B181F;
}

html.page-title-page-1 .tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(24, 75, 68, 0.03) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

html.page-title-page-1 .tool-card:hover::before { opacity: 1; }

html.page-title-page-1 .section-hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 10;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    background-color: #ccfbf1;
}

html.page-title-page-1 .section-tools {
    background-color: #f0fdfa;
    position: relative;
    z-index: 20;
    padding: 4rem 2rem 0;
}

html.page-title-page-1 .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    animation: page-title-page-1-bounce 2s infinite;
    color: #184B44;
}

@keyframes page-title-page-1-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

html.page-title-page-1 .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    z-index: 10;
}

html.page-title-page-1 .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

html.page-title-page-1 .search-input:focus {
    border-color: #184B44;
    box-shadow: 0 0 0 3px rgba(24, 75, 68, 0.12);
}

html.page-title-page-1 .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

html.page-title-page-1 .match-highlight {
    font-size: 0.75rem;
    color: #184B44;
    background-color: #e6fffa;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-top: 0.5rem;
    display: inline-block;
}

@keyframes page-title-page-1-akinatorGlow {
    0%, 100% { box-shadow: 0 12px 22px -10px rgba(24, 75, 68, 0.35); }
    50% { box-shadow: 0 18px 30px -12px rgba(24, 75, 68, 0.55); }
}

html.page-title-page-1 .stat-akinator-btn {
    background: linear-gradient(135deg, #184B44 0%, #0f766e 55%, #184B44 100%);
    position: relative;
    overflow: hidden;
    animation: page-title-page-1-akinatorGlow 2.8s ease-in-out infinite;
    will-change: transform, box-shadow;
}

html.page-title-page-1 .stat-akinator-btn .arbor-logo {
    height: 18px;
    width: auto;
    filter: brightness(0) invert(1);
}


/* akinator.html */
html.page-akinator{
      --brand-primary: #184B44;
      --brand-light: #2a6e64;
      --brand-accent: #e6fffa;
    }

    html.page-akinator body{
      background-color: #f0fdfa;
      background-image: radial-gradient(#ccfbf1 0.0625rem, transparent 0.0625rem);
      background-size: 1.25rem 1.25rem;
      margin: 0; overflow-x: hidden;
      font-family: 'Inter', sans-serif;
      color: #334155;
      font-size: 1rem;
      line-height: 1.5rem;
    }

    /* Typography utilities (explicit scale; do not rely on defaults) */
    html.page-akinator .text-xs{ font-size: 0.75rem; line-height: 1rem; font-weight: 400; }
    html.page-akinator .text-sm{ font-size: 0.875rem; line-height: 1.25rem; }
    html.page-akinator .text-base{ font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
    html.page-akinator .text-xl{ font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
    html.page-akinator .text-3xl{ font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; }

    html.page-akinator .font-light{ font-weight: 300; }
    html.page-akinator .font-normal{ font-weight: 400; }
    html.page-akinator .font-medium{ font-weight: 500; }
    html.page-akinator .font-semibold{ font-weight: 600; }
    html.page-akinator .font-bold{ font-weight: 700; }

    /* Layout */
    html.page-akinator .app{ min-height: 100vh; display: flex; flex-direction: column; }
    html.page-akinator header{
      position: sticky; top: 0; z-index: 10;
      backdrop-filter: blur(10px);
      background: rgba(240, 253, 250, 0.75);
      border-bottom: 1px solid rgba(20, 184, 166, 0.18);
    }
    html.page-akinator .header-inner{
      width: 100%; margin: 0 auto;
      display: grid; grid-template-columns: auto 1fr auto;
      gap: 1rem; align-items: center;
      padding: 0.875rem 0;
    }
    html.page-akinator .brand{ 
      display: flex; 
      align-items: center; 
      justify-content: flex-start;
      gap: 0; 
      min-width: 0; 
      width: fit-content;
      padding: 0.5rem;
      justify-self: start;
      border-left: 0.0625rem solid rgba(24, 75, 68, 0.15);
      text-decoration: none;
      color: inherit;
    }
    html.page-akinator .title-wrap{ 
      min-width: 0; 
      width: 100%;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    html.page-akinator .arbor-banner{
      display: flex;
      justify-content: center;
      padding: 0.75rem 1rem 0;
    }
    html.page-akinator .header-banner{
      width: 100%;
      max-width: 100%;
      height: auto;
      max-height: 2rem;
      display: block;
      object-fit: contain;
    }
    html.page-akinator .logo{
      width: min(11rem, 100%); 
      height: auto; 
      max-height: 2.0625rem; 
      border-radius: 01 rem;
      padding-left: 1rem;
      object-fit: contain;
      flex-shrink: 0;
    }
    html.page-akinator .logo-fallback{
      display: none;
      align-items: center;
      gap: 0.5rem;
      font-family: "Gungsuh", serif;
      font-size: 1.875rem; /* matches text-3xl */
      line-height: 2.25rem;
      font-weight: 700;
      color: var(--brand-primary);
    }
    html.page-akinator .logo-fallback .omega{ font-size: 1.40625rem; line-height: 2.25rem; }
    html.page-akinator .subtitle{
      margin: 0.125rem 0 0 0;
      opacity: 0.88;
    }
    html.page-akinator .actions{
      display: flex; align-items: center; gap: 0.625rem; justify-self: end;
      border-right: 0.12rem solid rgba(24, 75, 68, 0.15);
      padding-right: 1rem;
    }

    html.page-akinator main{
      max-width: 75rem;
      margin: 1.125rem auto 0 auto;
      padding: 0 1rem 1.25rem 1rem;
      width: 100%;
      flex: 1;
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 1rem;
      align-items: start;
    }

    html.page-akinator .card{
      background: rgba(255,255,255,0.70);
      border: 0.0625rem solid rgba(20, 184, 166, 0.18);
      box-shadow: 0 1.125rem 2.5rem rgba(2, 44, 34, 0.10);
      border-radius: 1.375rem;
      overflow: hidden;
    }
    html.page-akinator .card-header{
      display: flex; align-items: center; justify-content: space-between;
      padding: 0.75rem 0.75rem 0.625rem 0.75rem;
      border-bottom: 0.0625rem solid rgba(20, 184, 166, 0.14);
      background: linear-gradient(180deg, rgba(230,255,250,0.95), rgba(230,255,250,0.55));
    }
    html.page-akinator .pill{
      display: inline-flex; align-items: center; gap: 0.5rem;
      padding: 0.375rem 0.625rem;
      border-radius: 999px;
      background: rgba(24,75,68,0.06);
      border: 0.0625rem solid rgba(24,75,68,0.12);
    }
    html.page-akinator .kbd{
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      font-size: 0.75rem; line-height: 1rem;
      padding: 0.125rem 0.375rem; border-radius: 0.5rem;
      border: 0.0625rem solid rgba(2, 44, 34, 0.18);
      background: rgba(255,255,255,0.7);
    }

    /* Inputs & buttons */
    html.page-akinator .input{
      appearance: none;
      border: 0.0625rem solid rgba(24,75,68,0.18);
      background: rgba(255,255,255,0.75);
      border-radius: 0.875rem;
      padding: 0.625rem 0.75rem;
      outline: none;
      width: 100%;
      transition: box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease;
    }
    html.page-akinator .input:focus{
      border-color: rgba(24,75,68,0.35);
      box-shadow: 0 0 0 0.25rem rgba(24,75,68,0.12);
    }

    html.page-akinator .btn{
      border: 0.0625rem solid rgba(24,75,68,0.18);
      background: rgba(255,255,255,0.70);
      border-radius: 0.875rem;
      padding: 0.625rem 0.75rem;
      cursor: pointer;
      transition: transform 120ms ease, box-shadow 160ms ease, border-color 160ms ease;
      display: inline-flex;
      align-items: center;
      gap: 0.625rem;
      user-select: none;
      color: #0f172a;
    }
    html.page-akinator .btn:hover{
      transform: translateY(-0.0625rem);
      border-color: rgba(24,75,68,0.28);
      box-shadow: 0 0.75rem 1.5rem rgba(2, 44, 34, 0.10);
    }
    html.page-akinator .btn:active{ transform: translateY(0); }
    html.page-akinator .btn-primary{
      background: linear-gradient(180deg, rgba(24,75,68,0.95), rgba(24,75,68,0.86));
      color: white;
      border-color: rgba(24,75,68,0.65);
    }
    html.page-akinator .btn-primary:hover{
      box-shadow: 0 0.875rem 1.75rem rgba(24,75,68,0.22);
    }
    html.page-akinator .btn-ghost{
      background: rgba(230,255,250,0.55);
      border-color: rgba(24,75,68,0.18);
    }
    html.page-akinator .btn-row{ display: flex; gap: 0.625rem; flex-wrap: wrap; }
    html.page-akinator .icon-btn{
      width: 1.875rem; height: 1.875rem;
      min-width: 1.875rem; min-height: 1.875rem;
      border-radius: 0.75rem;
      border: 0.0625rem solid rgba(24,75,68,0.18);
      background: rgba(255,255,255,0.78);
      display: inline-flex; align-items: center; justify-content: center;
      cursor: pointer;
      transition: transform 120ms ease, box-shadow 160ms ease;
    }
    html.page-akinator .icon-btn:hover{ transform: translateY(-0.0625rem); box-shadow: 0 0.625rem 1.25rem rgba(2,44,34,0.10); }
    html.page-akinator .icon{
      width: 1rem; height: 1rem;
      display: inline-block;
      color: var(--brand-primary);
    }

    /* Graph viewport */
    html.page-akinator .graph-wrap{ height: calc(100vh - 10.75rem); min-height: 35vh; }
    html.page-akinator .graph-tools{ display: flex; gap: 0.625rem; align-items: center; }
    html.page-akinator .graph-canvas{
      position: relative;
      height: 100%;
      background: radial-gradient(75vw 37.5vh at 30% 20%, rgba(24,75,68,0.08), transparent 60%),
                  radial-gradient(50vw 32.5vh at 80% 65%, rgba(42,110,100,0.08), transparent 55%);
    }
    html.page-akinator #graphSvg{
      width: 100%;
      height: 100%;
      display: block;
    }
    html.page-akinator .legend{
      position: absolute;
      left: 0.5rem; bottom: 4.375rem;
      display: grid;
      gap: 0.375rem;
      padding: 0.625rem 0.75rem;
      border-radius: 1.125rem;
      background: rgba(255,255,255,0.74);
      border: 0.0625rem solid rgba(20, 184, 166, 0.18);
      box-shadow: 0 1.125rem 2.5rem rgba(2, 44, 34, 0.12);
      max-width: calc(100% - 1rem);
    }
    html.page-akinator .legend-item{ display: flex; align-items: center; gap: 0.5rem; }
    html.page-akinator .dot{
      width: 0.625rem; height: 0.625rem; border-radius: 999px;
      background: rgba(24,75,68,0.75);
      flex-shrink: 0;
    }
    html.page-akinator .dot.leaf{ background: rgba(42,110,100,0.75); }
    html.page-akinator .dot.active{ box-shadow: 0 0 0 0.25rem rgba(24,75,68,0.18); }

    /* Nodes & edges */
    html.page-akinator .edge{
      fill: none;
      stroke: rgba(42,110,100,0.28);
      stroke-width: 0.125rem;
    }
    html.page-akinator .edge.active{
      stroke: rgba(24,75,68,0.9);
      stroke-width: 0.1875rem;
      filter: drop-shadow(0 0.5rem 0.625rem rgba(24,75,68,0.22));
      stroke-dasharray: 0.625rem 0.5rem;
      animation: dash 1.2s linear infinite;
    }
    @keyframes dash {
      to { stroke-dashoffset: -2.25rem; }
    }

    html.page-akinator .node-ring{
      fill: none;
      stroke: rgba(24,75,68,0.30);
      stroke-width: 0.125rem;
      opacity: 0;
    }
    html.page-akinator .node.active .node-ring{
      opacity: 1;
      animation: pulse 1.4s ease-out infinite;
    }
    @keyframes pulse {
      0% { transform: scale(1); opacity: 0.9; }
      100% { transform: scale(1.25); opacity: 0; }
    }

    html.page-akinator .node-body{
      fill: rgba(255,255,255,0.88);
      stroke: rgba(24,75,68,0.26);
      stroke-width: 0.09375rem;
      filter: drop-shadow(0 0.625rem 0.875rem rgba(2,44,34,0.12));
    }
    html.page-akinator .node.question .node-body{
      fill: rgba(230,255,250,0.95);
      stroke: rgba(24,75,68,0.26);
    }
    html.page-akinator .node.leaf .node-body{
      fill: rgba(255,255,255,0.92);
      stroke: rgba(42,110,100,0.28);
    }
    html.page-akinator .node.test .node-body{
      fill: rgba(230,255,250,0.90);
      stroke: rgba(42,110,100,0.40);
      stroke-dasharray: 0.375rem 0.25rem;
    }
    html.page-akinator .node.test .node-text{ font-weight: 600; }

    html.page-akinator .node-text{
      fill: #0f172a;
      font-size: 0.75rem;
      line-height: 1rem;
      font-family: 'Inter', sans-serif;
      pointer-events: none;
    }


    /* Muted (de-emphasized) nodes in the current focus window */
    html.page-akinator .node.is-muted .node-body{
      fill: rgba(226,232,240,0.78);
      stroke: rgba(148,163,184,0.70);
      filter: none;
    }
    html.page-akinator .node.is-muted.question .node-body{
      fill: rgba(226,232,240,0.78);
      stroke: rgba(148,163,184,0.70);
    }
    html.page-akinator .node.is-muted.leaf .node-body{
      fill: rgba(226,232,240,0.78);
      stroke: rgba(148,163,184,0.70);
    }
    html.page-akinator .node.is-muted .node-text{ fill: rgba(100,116,139,0.78); }
    html.page-akinator .node.is-muted .node-ring{
      stroke: rgba(148,163,184,0.60);
      animation: none !important;
    }

    html.page-akinator .edge.is-muted{
      stroke: rgba(148,163,184,0.55);
      stroke-width: 2;
      filter: none;
    }

    /* Panel */
    html.page-akinator .panel-wrap{ height: calc(100vh - 10.75rem); min-height: 35vh; display: flex; flex-direction: column; }
    html.page-akinator .panel-body{ padding: 1rem; flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; gap: 0.75rem; }
    html.page-akinator .crumbs{
      display: flex; flex-wrap: wrap; gap: 0.5rem;
    }
    html.page-akinator .chip{
      display: inline-flex; align-items: center; gap: 0.5rem;
      padding: 0.375rem 0.625rem;
      border-radius: 999px;
      border: 0.0625rem solid rgba(24,75,68,0.16);
      background: rgba(255,255,255,0.65);
      cursor: pointer;
      transition: transform 120ms ease, box-shadow 160ms ease;
    }
    html.page-akinator .chip:hover{ transform: translateY(-0.0625rem); box-shadow: 0 0.75rem 1.5rem rgba(2,44,34,0.10); }
    html.page-akinator .chip.active{
      border-color: rgba(24,75,68,0.32);
      background: rgba(230,255,250,0.70);
    }

    html.page-akinator .question-title{
      display: flex; align-items: flex-start; justify-content: space-between; gap: 0.625rem;
    }
    html.page-akinator .question-box{
      padding: 0.875rem;
      border-radius: 1.125rem;
      background: rgba(230,255,250,0.72);
      border: 0.0625rem solid rgba(24,75,68,0.14);
    }
    html.page-akinator .helper{
      margin: 0.375rem 0 0 0;
      opacity: 0.82;
    }

    html.page-akinator .options{
      display: grid;
      gap: 0.625rem;
    }
    html.page-akinator .option-btn{
      width: 100%;
      justify-content: space-between;
      text-align: left;
    }
    html.page-akinator .option-left{ display: flex; gap: 0.625rem; align-items: center; min-width: 0; }
    html.page-akinator .option-badge{
      width: 1.875rem; height: 1.875rem;
      min-width: 1.875rem; min-height: 1.875rem;
      border-radius: 0.75rem;
      background: rgba(24,75,68,0.10);
      border: 0.0625rem solid rgba(24,75,68,0.14);
      display: flex; align-items: center; justify-content: center;
      flex: 0 0 auto;
    }
    html.page-akinator .option-text{ min-width: 0; }
    html.page-akinator .option-text .label{
      display: block;
      color: #0f172a;
      text-align: left;
    }

    html.page-akinator .panel-footer{
      padding: 0.75rem 1rem 1rem 1rem;
      border-top: 0.0625rem solid rgba(20, 184, 166, 0.14);
      display: flex; flex-wrap: wrap;
      justify-content: space-between;
      background: linear-gradient(180deg, rgba(255,255,255,0.40), rgba(255,255,255,0.70));
    }

    /* Footer */
    html.page-akinator footer{
      padding: 0.001rem 0.001rem 0.001rem 0.001rem;
      width: 100%;
      margin: 0 auto;
      opacity: 0.78;
    }

    /* Modal (overlay must match exactly) */
    html.page-akinator .modal-overlay{ background-color: rgba(0,0,0,0.5); backdrop-filter: blur(0.25rem); }
    html.page-akinator .modal-overlay{
      position: fixed; inset: 0; z-index: 50;
      display: flex; align-items: center; justify-content: center;
      padding: 1.125rem;
    }
    html.page-akinator .modal{
      width: min(47.5rem, 90vw);
      max-height: min(78vh, 47.5rem);
      overflow: auto;
      border-radius: 1.375rem;
      background: rgba(255,255,255,0.92);
      border: 0.0625rem solid rgba(20, 184, 166, 0.22);
      box-shadow: 0 1.875rem 4.375rem rgba(0,0,0,0.25);
    }
    html.page-akinator .modal-head{
      display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem;
      padding: 1rem 1rem 0.75rem 1rem;
      border-bottom: 0.0625rem solid rgba(20, 184, 166, 0.16);
      background: linear-gradient(180deg, rgba(230,255,250,0.90), rgba(255,255,255,0.92));
    }
    html.page-akinator .modal-body{ padding: 0.875rem 1rem 1rem 1rem; }

    html.page-akinator .media-ph{
      width: 100%;
      aspect-ratio: 11 / 6;
      border-radius: 1.125rem;
      border: 0.0625rem dashed rgba(24,75,68,0.28);
      background: linear-gradient(135deg, rgba(230,255,250,0.92), rgba(255,255,255,0.86));
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 1.125rem 2.5rem rgba(2, 44, 34, 0.10);
      margin: 0 0 0.75rem 0;
    }
    html.page-akinator .media-ph img{
      width: 100%;
      height: 100%;
      object-fit: contain;
      border-radius: inherit;
      display: block;
    }

        html.page-akinator .ref-list{
      margin: 0.625rem 0 0 0; padding: 0 0 0 1.125rem;
    }
    html.page-akinator .ref-list li{ margin: 0.375rem 0; }
    html.page-akinator .a{
      color: var(--brand-primary);
      text-decoration: none;
    }
    html.page-akinator .a:hover{ text-decoration: underline; }

    /* Footer */
    html.page-akinator footer{
      border-top: 0.0625rem solid rgba(226, 232, 240, 1);
      background-color: #fff;
    }
    html.page-akinator .footer-inner{
      max-width: 72rem;
      margin: 0 auto;
      padding: 1.5rem 1rem;
      text-align: center;
    }
    html.page-akinator .footer-text{
      font-size: 0.875rem;
      line-height: 1.25rem;
      color: #475569;
    }

    
    /* ===== Motion / transitions (page load + content swaps) ===== */
    html.page-akinator{
      --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    /* Smooth initial page enter (body starts with class="preload") */
    html.page-akinator header, html.page-akinator main, html.page-akinator footer, html.page-akinator main > section.card{
      transition: opacity 420ms ease, transform 560ms var(--ease-out);
    }
    html.page-akinator main > section.card{ transition-delay: var(--enter-delay, 0ms); }

    html.page-akinator body.preload header, html.page-akinator body.preload main, html.page-akinator body.preload footer{
      opacity: 0;
      transform: translateY(0.75rem);
    }
    html.page-akinator body.preload main > section.card{
      opacity: 0;
      transform: translateY(1.25rem);
    }

    /* Content swaps */
    html.page-akinator .anim-swap{
      animation: swapIn 260ms var(--ease-out) both;
    }
    html.page-akinator .anim-stagger-item{
      animation: swapIn 260ms var(--ease-out) both;
      animation-delay: var(--delay, 0ms);
    }
    @keyframes swapIn {
      from { opacity: 0; transform: translateY(0.5rem); filter: blur(2px); }
      to   { opacity: 1; transform: translateY(0); filter: blur(0); }
    }

    /* Modal enter/exit */
    html.page-akinator .modal-overlay{ opacity: 0; transition: opacity 180ms ease; }
    html.page-akinator .modal{ opacity: 0; transform: translateY(0.75rem) scale(0.99); transition: opacity 200ms ease, transform 240ms var(--ease-out); }
    html.page-akinator .modal-overlay.is-open{ opacity: 1; }
    html.page-akinator .modal-overlay.is-open .modal{ opacity: 1; transform: translateY(0) scale(1); }
    html.page-akinator .modal-overlay.is-closing{ opacity: 0; }
    html.page-akinator .modal-overlay.is-closing .modal{ opacity: 0; transform: translateY(0.5rem) scale(0.99); }

    @media (prefers-reduced-motion: reduce) {
      html.page-akinator header, html.page-akinator main, html.page-akinator footer, html.page-akinator main > section.card, html.page-akinator .modal-overlay, html.page-akinator .modal{ transition: none !important; }
      html.page-akinator .anim-swap, html.page-akinator .anim-stagger-item, html.page-akinator .edge.active, html.page-akinator .node.active .node-ring{ animation: none !important; }
    }

@media (max-width: 61.25rem) {
  html.page-akinator main{ grid-template-columns: 1fr; }
  html.page-akinator .graph-wrap{ height: 56vh; min-height: 26.25rem; }
  html.page-akinator .panel-wrap{ height: auto; min-height: 0; }
  html.page-akinator .title-wrap{ display: none; }
  html.page-akinator .header-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
  html.page-akinator header{ height: auto !important; }
  html.page-akinator header .header-inner{ height: auto !important; }
  html.page-akinator .actions{ margin-left: auto; }
}

/* Global header/footer standardization (all pages except Threadminds.html) */
html:not(.page-threadminds) {
  --header-height: 72px;
  --header-border: #e2e8f0;
  --header-button-border: #e2e8f0;
  --header-button-border-hover: #184B44;
  --header-button-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  --footer-text-color: #64748b;
}

html:not(.page-threadminds) header {
  background-color: #f0fdfa;
  border-bottom: 1px solid var(--header-border);
  height: var(--header-height);
}

html:not(.page-threadminds) .header-bg {
  background-color: #f0fdfa;
}

html:not(.page-threadminds) header,
html:not(.page-threadminds) header > div {
  box-sizing: border-box;
}

html:not(.page-threadminds) header > div {
  height: 100%;
}

html:not(.page-threadminds) header .header-inner,
html:not(.page-threadminds) header .max-w-7xl,
html:not(.page-threadminds) header .max-w-6xl,
html:not(.page-threadminds) header .max-w-5xl,
html:not(.page-threadminds) header .mx-auto,
html:not(.page-threadminds) header .h-16 {
  height: 100%;
}

html:not(.page-threadminds) header img[src$="Entropy.png"] {
  height: 32px;
  width: auto;
  display: block;
}

html:not(.page-threadminds) header .btn,
html:not(.page-threadminds) header .btn-ghost,
html:not(.page-threadminds) header .btn-primary,
html:not(.page-threadminds) header .btn-secondary,
html:not(.page-threadminds) header .btn-back,
html:not(.page-threadminds) header .stat-akinator-btn,
html:not(.page-threadminds) header button {
  border: 1px solid var(--header-button-border);
  box-shadow: var(--header-button-shadow);
}

html:not(.page-threadminds) header .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: #ffffff;
  color: #184B44;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

html:not(.page-threadminds) header .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: #ffffff;
  color: #184B44;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

html:not(.page-threadminds) header .btn-secondary:hover,
html:not(.page-threadminds) header .btn-back:hover,
html:not(.page-threadminds) .btn-back:hover {
  text-decoration: none;
}

html:not(.page-threadminds) header .btn:hover,
html:not(.page-threadminds) header .btn-ghost:hover,
html:not(.page-threadminds) header .btn-primary:hover,
html:not(.page-threadminds) header .btn-secondary:hover,
html:not(.page-threadminds) header .btn-back:hover,
html:not(.page-threadminds) header .stat-akinator-btn:hover,
html:not(.page-threadminds) header button:hover,
html:not(.page-threadminds) header .btn:active,
html:not(.page-threadminds) header .btn-ghost:active,
html:not(.page-threadminds) header .btn-primary:active,
html:not(.page-threadminds) header .btn-secondary:active,
html:not(.page-threadminds) header .btn-back:active,
html:not(.page-threadminds) header .stat-akinator-btn:active,
html:not(.page-threadminds) header button:active {
  border-color: var(--header-button-border-hover);
}

html:not(.page-threadminds) .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: #ffffff;
  color: #184B44;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

html:not(.page-threadminds) .site-footer {
  border-top: 1px solid #e2e8f0;
  background-color: #f0fdfa;
}

html:not(.page-threadminds) .site-footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--footer-text-color);
}

@media (prefers-color-scheme: dark) {
  html:not(.page-threadminds) {
    --header-border: rgba(24, 75, 68, 0.45);
    --header-button-border: rgba(230, 255, 250, 0.2);
    --header-button-border-hover: #2a6e64;
    --footer-text-color: #f0fdfa;
  }

  html[class^="page-"]:not(.page-threadminds) {
    background-image: none !important;
  }

  html[class^="page-"]:not(.page-threadminds) body {
    background-color: #0f2f2b !important;
    background-image: none !important;
    color: #f0fdfa !important;
  }

  html.page-index .welcome-hero,
  html.page-title-page .section-hero {
    background-color: #0f2f2b !important;
  }

  html.page-title-page .scroll-indicator {
    color: #e6fffa;
  }

  html:not(.page-threadminds) header {
    color: #f0fdfa;
  }

  html:not(.page-threadminds) img[src$="Entropy.png"],
  html:not(.page-threadminds) img[src$="threadminds.png"],
  html:not(.page-threadminds) img[src$="arbor.png"],
  html.page-akinator .logo,
  html.page-akinator .header-banner {
    filter: brightness(0) invert(1);
  }

  html[class^="page-"]:not(.page-threadminds) .card,
  html[class^="page-"]:not(.page-threadminds) .anova-card,
  html[class^="page-"]:not(.page-threadminds) .ai-card,
  html[class^="page-"]:not(.page-threadminds) .cat-card,
  html[class^="page-"]:not(.page-threadminds) .converter-card,
  html[class^="page-"]:not(.page-threadminds) .correlation-card,
  html[class^="page-"]:not(.page-threadminds) .diag-card,
  html[class^="page-"]:not(.page-threadminds) .estimation-card,
  html[class^="page-"]:not(.page-threadminds) .fdr-card,
  html[class^="page-"]:not(.page-threadminds) .glass-card,
  html[class^="page-"]:not(.page-threadminds) .meta-card,
  html[class^="page-"]:not(.page-threadminds) .multi-card,
  html[class^="page-"]:not(.page-threadminds) .plot-card,
  html[class^="page-"]:not(.page-threadminds) .power-card,
  html[class^="page-"]:not(.page-threadminds) .stat-card,
  html[class^="page-"]:not(.page-threadminds) .survival-card,
  html[class^="page-"]:not(.page-threadminds) .test-card,
  html[class^="page-"]:not(.page-threadminds) .ts-card,
  html[class^="page-"]:not(.page-threadminds) .tool-card,
  html[class^="page-"]:not(.page-threadminds) .founder-card,
  html[class^="page-"]:not(.page-threadminds) .reg-card,
  html[class^="page-"]:not(.page-threadminds) .modal,
  html[class^="page-"]:not(.page-threadminds) .table-wrap {
    color: #0f172a;
  }

  html[class^="page-"]:not(.page-threadminds) :where(
    .text-black,
    .text-slate-900,
    .text-slate-800,
    .text-slate-700,
    .text-slate-600,
    .text-slate-500,
    .text-slate-400,
    [class*="text-[#"]
  ):not(:where(
    .card *,
    .anova-card *,
    .ai-card *,
    .cat-card *,
    .converter-card *,
    .correlation-card *,
    .diag-card *,
    .estimation-card *,
    .fdr-card *,
    .glass-card *,
    .meta-card *,
    .multi-card *,
    .plot-card *,
    .power-card *,
    .stat-card *,
    .survival-card *,
    .test-card *,
    .ts-card *,
    .tool-card *,
    .founder-card *,
    .reg-card *,
    .modal *,
    .table-wrap *,
    [class*="bg-"],
    [class*="bg-"] *
  )) {
    color: #f0fdfa !important;
  }

  html[class^="page-"]:not(.page-threadminds) .header-bg,
  html:not(.page-threadminds) header {
    background-color: rgba(24, 75, 68, 0.92) !important;
    border-bottom-color: rgba(230, 255, 250, 0.2) !important;
  }

  html[class^="page-"]:not(.page-threadminds) .section-divider {
    background: linear-gradient(to right, transparent, rgba(42, 110, 100, 0.5), transparent) !important;
  }

  html:not(.page-threadminds) .btn-back {
    background: #ffffff;
    color: #184B44;
    border-color: #e2e8f0;
  }

  html:not(.page-threadminds) .site-footer {
    background-color: #0f2f2b;
    border-top-color: rgba(24, 75, 68, 0.4);
  }

  html:not(.page-threadminds) .site-footer-inner {
    color: #e2e8f0;
  }

  html[class^="page-"]:not(.page-threadminds)
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
  html[class^="page-"]:not(.page-threadminds) textarea,
  html[class^="page-"]:not(.page-threadminds) select {
    background-color: #f0fdfa;
    color: #0f172a;
    border-color: #94a3b8;
  }

  html.page-akinator .input {
    background-color: #f0fdfa;
    color: #0f172a;
    border-color: #94a3b8;
  }

  html[class^="page-"]:not(.page-threadminds)
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="button"]):not([type="submit"]):not([type="reset"])::placeholder,
  html[class^="page-"]:not(.page-threadminds) textarea::placeholder {
    color: #94a3b8;
  }

  html.page-akinator .input::placeholder {
    color: #94a3b8;
  }

  html[class^="page-"]:not(.page-threadminds) .toggle-label {
    background: #ffffff !important;
    border: 1px solid #e2e8f0;
  }

  html[class^="page-"]:not(.page-threadminds) .toggle-checkbox {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
  }

  html[class^="page-"]:not(.page-threadminds) .toggle-checkbox:checked {
    border-color: #184B44 !important;
  }

  html[class^="page-"]:not(.page-threadminds) .toggle-checkbox:checked + .toggle-label {
    background: #ffffff !important;
  }

  html.page-title-page .section-tools {
    background-color: #0f2f2b;
  }

  html.page-title-page .section-tools h2,
  html.page-title-page .section-tools p {
    color: #f0fdfa;
  }
}
