:root {
    --ink:#0f172a;
    --muted:#64748b;
    --line:#e2e8f0;
    --blue:#4f46e5;
    --navy:#172554;
    --soft:#f8fafc;
}

* {
    box-sizing:border-box;
}

body.public-site {
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
    color:var(--ink);
    background:#fff;
}

.public-header {
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(16px);
    border-bottom:1px solid rgba(226,232,240,.8);
}

.public-header .navbar {
    min-height:74px;
}

.public-brand {
    display:flex;
    align-items:center;
    gap:.65rem;
    text-decoration:none;
    color:var(--ink);
}

.public-brand-mark {
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    border-radius:14px;
    background:linear-gradient(135deg,#4f46e5,#0ea5e9);
    color:white;
    font:800 1.35rem Georgia;
}

.public-brand b {
    display:block;
    letter-spacing:.04em;
}

.public-brand small {
    display:block;
    font-size:.7rem;
    color:#64748b;
}

.nav-link {
    font-weight:650;
    color:#334155!important;
    border-radius:10px;
    padding:.55rem .75rem!important;
}

.nav-link:hover {
    background:#f1f5f9;
}

.hero-home {
    position:relative;
    overflow:hidden;
    padding:7rem 0 6rem;
    background:radial-gradient(circle at 80% 10%,#dbeafe 0,transparent 30%),radial-gradient(circle at 20% 0,#ede9fe 0,transparent 25%),linear-gradient(#fff,#f8fafc);
}

.hero-home h1 {
    font-size:clamp(3rem,6vw,5.8rem);
    font-weight:850;
    letter-spacing:-.055em;
    line-height:.96;
    margin:1.2rem 0 1.5rem;
}

.hero-home h1 span {
    color:#4f46e5;
}

.hero-home .lead {
    color:#475569;
    max-width:720px;
    font-size:1.2rem;
}

.eyebrow {
    display:inline-flex;
    align-items:center;
    gap:.45rem;
    font-size:.74rem;
    font-weight:800;
    letter-spacing:.12em;
    color:#4f46e5;
}

.eyebrow.light {
    color:#c7d2fe;
}

.hero-orbit {
    height:430px;
    position:relative;
    display:grid;
    place-items:center;
}

.orbit-core {
    width:180px;
    height:180px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:linear-gradient(145deg,#172554,#4f46e5);
    color:#fff;
    font:700 5rem Georgia;
    box-shadow:0 30px 80px rgba(79,70,229,.25);
}

.orbit-core small {
    position:absolute;
    margin-top:115px;
    font:700 .68rem system-ui;
    letter-spacing:.15em;
}

.hero-orbit:before,.hero-orbit:after {
    content:"";
    position:absolute;
    border:1px solid #cbd5e1;
    border-radius:50%;
}

.hero-orbit:before {
    width:330px;
    height:330px;
}

.hero-orbit:after {
    width:420px;
    height:420px;
}

.orbit-chip {
    position:absolute;
    z-index:2;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:999px;
    padding:.7rem 1rem;
    font-weight:750;
    box-shadow:0 12px 30px rgba(15,23,42,.09);
}

.orbit-chip i {
    color:#4f46e5;
    margin-right:.35rem;
}

.chip-a {
    top:50px;
    right:15px;
}

.chip-b {
    bottom:70px;
    right:5px;
}

.chip-c {
    left:0;
    bottom:110px;
}

.section-space {
    padding:5.5rem 0;
}

.section-soft {
    background:#f8fafc;
}

.section-heading {
    max-width:700px;
    margin-bottom:2.2rem;
}

.section-heading>span {
    font-size:.72rem;
    letter-spacing:.14em;
    font-weight:800;
    color:#4f46e5;
}

.section-heading h2 {
    font-size:clamp(2rem,4vw,3.2rem);
    letter-spacing:-.04em;
    font-weight:820;
    margin:.45rem 0;
}

.section-heading p {
    color:#64748b;
    font-size:1.05rem;
}

.feature-card {
    display:block;
    height:100%;
    min-height:370px;
    border:1px solid #e2e8f0;
    border-radius:28px;
    padding:2rem;
    color:inherit;
    text-decoration:none;
    position:relative;
    overflow:hidden;
    transition:.2s;
    background:#fff;
}

.feature-card:hover {
    transform:translateY(-5px);
    box-shadow:0 22px 50px rgba(15,23,42,.1);
    color:inherit;
}

.feature-card:after {
    content:"";
    position:absolute;
    width:180px;
    height:180px;
    border-radius:50%;
    right:-80px;
    bottom:-80px;
    background:#eef2ff;
}

.feature-icon {
    width:58px;
    height:58px;
    border-radius:18px;
    display:grid;
    place-items:center;
    font-size:1.5rem;
    background:#eef2ff;
    color:#4f46e5;
}

.feature-no {
    position:absolute;
    right:2rem;
    top:2rem;
    color:#cbd5e1;
    font-weight:850;
}

.feature-card h3 {
    font-size:1.55rem;
    font-weight:800;
    margin:3.2rem 0 1rem;
}

.feature-card p {
    color:#64748b;
    min-height:80px;
}

.feature-card strong {
    color:#4f46e5;
}

.feature-online .feature-icon {
    background:#ecfdf5;
    color:#059669;
}

.feature-knowledge .feature-icon {
    background:#fff7ed;
    color:#ea580c;
}

.post-card {
    display:block;
    height:100%;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:22px;
    overflow:hidden;
    color:inherit;
    text-decoration:none;
}

.post-cover {
    height:170px;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,#e0e7ff,#dbeafe);
    font-size:3rem;
    color:#4f46e5;
}

.post-card small {
    color:#4f46e5;
    font-weight:700;
}

.post-card h3 {
    font-size:1.2rem;
    font-weight:800;
    margin:.5rem 0;
}

.post-card p {
    color:#64748b;
}

.post-card span {
    font-weight:750;
}

.content-empty {
    min-height:280px;
    border:1px dashed #cbd5e1;
    border-radius:24px;
    display:grid;
    place-items:center;
    text-align:center;
    background:#fff;
    padding:2rem;
}

.content-empty i {
    font-size:2.4rem;
    color:#94a3b8;
}

.content-empty h3 {
    font-weight:800;
    margin:.8rem 0;
}

.content-empty p {
    color:#64748b;
    max-width:600px;
}

.text-link {
    font-weight:750;
    text-decoration:none;
}

.cta-panel {
    background:linear-gradient(135deg,#172554,#4338ca);
    color:#fff;
    border-radius:32px;
    padding:3rem;
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:2rem;
    box-shadow:0 25px 60px rgba(30,41,59,.18);
}

.cta-panel h2 {
    font-size:clamp(2rem,4vw,3.4rem);
    font-weight:830;
    letter-spacing:-.04em;
    margin:.7rem 0;
}

.cta-panel p {
    color:#cbd5e1;
    max-width:700px;
}

.module-hero {
    padding:7rem 0 6rem;
    color:#fff;
}

.module-hero .container {
    max-width:1050px;
}

.module-hero h1 {
    font-size:clamp(3rem,6vw,5.5rem);
    font-weight:850;
    letter-spacing:-.05em;
    line-height:.98;
    margin:1rem 0 1.5rem;
}

.module-hero p {
    font-size:1.15rem;
    max-width:760px;
    color:rgba(255,255,255,.78);
    margin-bottom:2rem;
}

.module-hero.dna {
    background:radial-gradient(circle at 80% 10%,#6366f1,transparent 35%),#172554;
}

.module-hero.online {
    background:radial-gradient(circle at 80% 10%,#34d399,transparent 32%),#064e3b;
}

.module-hero.knowledge {
    background:radial-gradient(circle at 80% 10%,#fb923c,transparent 32%),#7c2d12;
}

.info-card,.action-panel {
    height:100%;
    padding:2rem;
    border:1px solid #e2e8f0;
    border-radius:24px;
    background:#fff;
}

.info-card i,.action-panel>i {
    font-size:2rem;
    color:#4f46e5;
}

.info-card h3,.action-panel h2 {
    font-weight:800;
    margin:1rem 0;
}

.info-card p,.action-panel p {
    color:#64748b;
}

.grade-card {
    padding:2rem;
    border:1px solid #e2e8f0;
    border-radius:22px;
    text-align:center;
}

.grade-card span,.grade-card small {
    display:block;
    color:#64748b;
}

.grade-card b {
    font-size:4rem;
    line-height:1.1;
    color:#4f46e5;
}

.public-footer {
    background:#0f172a;
    color:#fff;
}

.public-footer a {
    display:block;
    color:#cbd5e1;
    text-decoration:none;
    margin-top:.6rem;
}

.public-footer .public-brand small {
    color:#94a3b8;
}

.public-mobile-nav a {
    padding:.9rem 1rem;
    border-radius:12px;
    background:#f8fafc;
    color:#0f172a;
    text-decoration:none;
    font-weight:700;
}

@media(max-width:991.98px) {
    .hero-home {
        padding:5rem 0 4rem;
    }
    .hero-orbit {
        height:330px;
        margin-top:1rem;
    }
    .hero-orbit:before {
        width:270px;
        height:270px;
    }
    .hero-orbit:after {
        width:320px;
        height:320px;
    }
    .orbit-core {
        width:145px;
        height:145px;
        font-size:4rem;
    }
    .chip-a {
        right:0;
    }
    .chip-c {
        left:0;
    }
    .section-space {
        padding:4rem 0;
    }
    .cta-panel {
        align-items:start;
        flex-direction:column;
    }
    .module-hero {
        padding:5rem 0 4rem;
    }
}

@media(max-width:575.98px) {
    .hero-home h1 {
        font-size:3.15rem;
    }
    .hero-orbit {
        height:280px;
    }
    .hero-orbit:before {
        width:220px;
        height:220px;
    }
    .hero-orbit:after {
        width:275px;
        height:275px;
    }
    .orbit-core {
        width:120px;
        height:120px;
        font-size:3.2rem;
    }
    .orbit-chip {
        font-size:.75rem;
        padding:.55rem .7rem;
    }
    .chip-a {
        top:20px;
    }
    .chip-b {
        bottom:35px;
    }
    .chip-c {
        bottom:70px;
    }
    .feature-card {
        min-height:330px;
        padding:1.5rem;
    }
    .section-space {
        padding:3.4rem 0;
    }
    .cta-panel {
        padding:2rem;
        border-radius:24px;
    }
    .module-hero h1 {
        font-size:3.1rem;
    }
}

/* ===== toantin3.2 Build 2: refined typography + official brand ===== */

body.public-site {
    font-family:"Segoe UI",Roboto,Arial,sans-serif;
    font-size:16px;
    line-height:1.65;
}

.public-brand-logo {
    width:44px;
    height:44px;
    border-radius:50%;
    overflow:hidden;
    display:block;
    flex:0 0 44px;
    background:#050505;
    box-shadow:0 0 0 1px rgba(15,23,42,.08);
}

.public-brand-logo img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.hero-home h1 {
    font-size:clamp(2.7rem,5.2vw,4.8rem);
    font-weight:760;
    letter-spacing:-.045em;
    line-height:1.02;
    max-width:820px;
}

.hero-home .lead {
    font-size:1.08rem;
    line-height:1.75;
    max-width:760px;
}

.section-heading h2 {
    font-size:clamp(1.9rem,3.2vw,2.75rem);
    font-weight:750;
    letter-spacing:-.03em;
    line-height:1.15;
}

.feature-card h3,.post-card h3,.info-card h3,.action-panel h2 {
    font-weight:740;
}

.module-hero h1 {
    font-size:clamp(2.7rem,5vw,4.5rem);
    font-weight:760;
    line-height:1.03;
}

.module-hero.compact {
    padding:5.2rem 0 4.5rem;
}

.knowledge-search {
    max-width:720px;
}

.knowledge-search .form-control {
    border:0;
}

.knowledge-search .input-group {
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 14px 40px rgba(0,0,0,.12);
}

.grade-filter {
    display:flex;
    gap:.55rem;
    flex-wrap:wrap;
}

.grade-filter a {
    padding:.6rem 1rem;
    border:1px solid #e2e8f0;
    border-radius:999px;
    text-decoration:none;
    color:#334155;
    font-weight:650;
    background:#fff;
}

.grade-filter a.active,.grade-filter a:hover {
    background:#172554;
    color:#fff;
    border-color:#172554;
}

.article-container {
    max-width:880px;
}

.article-head {
    padding:5.5rem 0 3rem;
    background:linear-gradient(180deg,#f8fafc,#fff);
}

.article-breadcrumb {
    display:flex;
    gap:.55rem;
    flex-wrap:wrap;
    color:#64748b;
    font-size:.9rem;
    margin-bottom:1.4rem;
}

.article-breadcrumb a {
    text-decoration:none;
}

.article-head h1 {
    font-size:clamp(2.25rem,5vw,4rem);
    font-weight:760;
    letter-spacing:-.04em;
    line-height:1.08;
}

.article-lead {
    font-size:1.18rem;
    color:#64748b;
    line-height:1.7;
    margin:1.2rem 0;
}

.article-meta {
    display:flex;
    gap:1.25rem;
    flex-wrap:wrap;
    color:#64748b;
    font-size:.9rem;
}

.article-body-section {
    padding:1rem 0 6rem;
}

.article-content {
    font-size:1.08rem;
    line-height:1.85;
    color:#1e293b;
}

.article-content h2 {
    font-size:1.75rem;
    margin:2.2rem 0 1rem;
    font-weight:750;
}

.article-content h3 {
    font-size:1.35rem;
    margin:1.8rem 0 .8rem;
    font-weight:740;
}

.article-content img {
    max-width:100%;
    height:auto;
    border-radius:14px;
}

.article-content table {
    max-width:100%;
}

@media(max-width:575.98px) {
    .hero-home h1 {
        font-size:2.65rem;
    }
    .hero-home .lead {
        font-size:1rem;
    }
    .article-head {
        padding:3.6rem 0 2rem;
    }
    .article-content {
        font-size:1.02rem;
    }
    .public-brand-logo {
        width:40px;
        height:40px;
        flex-basis:40px;
    }
}

/* ===== Build 2 FIX1: cache-safe brand sizing ===== */

.public-brand-logo {
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    overflow:hidden!important;
    border-radius:50%;
}

.public-brand-logo img {
    width:44px!important;
    height:44px!important;
    max-width:44px!important;
    max-height:44px!important;
    object-fit:cover!important;
    display:block!important;
}

.public-header .navbar-brand {
    max-width:320px;
}

@media(max-width:575.98px) {
    .public-brand-logo {
        width:40px!important;
        height:40px!important;
        min-width:40px!important;
        max-width:40px!important;
    }
    .public-brand-logo img {
        width:40px!important;
        height:40px!important;
        max-width:40px!important;
        max-height:40px!important;
    }
}

/* ===== toantin3.2 Build 3: typography refinement ===== */

.cta-panel h2 {
    font-size:clamp(1.65rem,2.8vw,2.65rem)!important;
    line-height:1.12!important;
    letter-spacing:-.025em!important;
    font-weight:760!important;
    max-width:850px;
}

.cta-panel {
    padding:2.6rem 3rem;
}

.module-hero h1 {
    font-size:clamp(2.35rem,4.2vw,3.8rem)!important;
    line-height:1.06!important;
}

@media(max-width:575.98px) {
    .cta-panel h2 {
        font-size:1.65rem!important;
    }
    .cta-panel {
        padding:1.65rem!important;
    }
    .module-hero h1 {
        font-size:2.25rem!important;
    }
}

.document-card {
    border:1px solid #e2e8f0;
    border-radius:20px;
    background:#fff;
    padding:1.25rem;
    height:100%;
}

.document-card .doc-icon {
    width:48px;
    height:48px;
    border-radius:14px;
    display:grid;
    place-items:center;
    background:#eef2ff;
    color:#4f46e5;
    font-size:1.35rem;
}

.document-card h3 {
    font-size:1.05rem;
    font-weight:780;
    margin:.85rem 0 .4rem;
}

.document-meta {
    font-size:.85rem;
    color:#64748b;
}

/* ===== TOANTIN 3.2 BUILD 4 — Global typography system ===== */

:root {
    --tt-font:"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    --tt-body:16px;
    --tt-small:.875rem;
}

html {
    font-size:16px;
}

body.public-site {
    font-family:var(--tt-font)!important;
    font-size:var(--tt-body)!important;
    line-height:1.62!important;
    font-weight:400;
}

.public-site h1,.public-site h2,.public-site h3,.public-site h4,.public-site h5,.public-site h6 {
    font-family:var(--tt-font)!important;
    letter-spacing:-.025em;
    font-weight:700;
}

.public-brand b {
    font-size:1.15rem;
    font-weight:750;
    letter-spacing:.025em;
}

.public-brand small {
    font-size:.72rem;
}

.public-header .nav-link {
    font-size:.98rem;
    font-weight:650;
}

.hero-home {
    padding:5.8rem 0 5rem;
}

.hero-home h1 {
    font-size:clamp(2.75rem,4.35vw,4.35rem)!important;
    line-height:1.06!important;
    font-weight:720!important;
    letter-spacing:-.04em!important;
    max-width:850px;
}

.hero-home .lead {
    font-size:1.06rem!important;
    line-height:1.72!important;
}

.eyebrow {
    font-size:.72rem!important;
    font-weight:750!important;
    letter-spacing:.11em;
}

.section-heading h2 {
    font-size:clamp(1.75rem,2.65vw,2.45rem)!important;
    line-height:1.18!important;
    font-weight:720!important;
}

.section-heading p {
    font-size:1rem!important;
    line-height:1.65;
}

.feature-card h3 {
    font-size:1.32rem!important;
    font-weight:720!important;
}

.feature-card p {
    font-size:.98rem;
    line-height:1.65;
}

.module-hero {
    padding:5rem 0 4.4rem!important;
}

.module-hero h1 {
    font-size:clamp(2.4rem,3.8vw,3.55rem)!important;
    line-height:1.08!important;
    font-weight:720!important;
    letter-spacing:-.035em!important;
}

.module-hero p {
    font-size:1.05rem!important;
    line-height:1.7;
}

.cta-panel h2 {
    font-size:clamp(1.55rem,2.15vw,2.15rem)!important;
    line-height:1.2!important;
    font-weight:700!important;
    letter-spacing:-.02em!important;
}

.article-head h1 {
    font-size:clamp(2rem,3.35vw,3.2rem)!important;
    line-height:1.13!important;
    font-weight:720!important;
    letter-spacing:-.03em!important;
}

.article-lead {
    font-size:1.08rem!important;
}

.article-content {
    font-size:1.04rem!important;
    line-height:1.82!important;
}

.article-content h2 {
    font-size:1.6rem!important;
    font-weight:720!important;
}

.article-content h3 {
    font-size:1.28rem!important;
    font-weight:700!important;
}

.post-card h3 {
    font-size:1.12rem!important;
    font-weight:700!important;
    line-height:1.4;
}

.grade-card b {
    font-size:3rem!important;
}

.btn {
    font-weight:650;
}

@media(max-width:575.98px) {
    html {
        font-size:15.5px;
    }
    .hero-home {
        padding:4rem 0 3.5rem;
    }
    .hero-home h1 {
        font-size:2.45rem!important;
    }
    .module-hero h1 {
        font-size:2.15rem!important;
    }
    .article-head h1 {
        font-size:2rem!important;
    }
}

/* ===== BUILD 4 FIX1 — Editorial education typography ===== */

body.public-site {
    font-family:Arial,"Helvetica Neue","Segoe UI",sans-serif!important;
    font-size:15.5px!important;
    line-height:1.6!important;
    color:#172033;
}

.public-site h1,.public-site h2,.public-site h3,.public-site h4 {
    font-family:Arial,"Helvetica Neue","Segoe UI",sans-serif!important;
    font-weight:700!important;
    letter-spacing:-.018em!important;
}

.public-header .nav-link {
    font-size:15px!important;
    font-weight:600!important;
}

.public-brand b {
    font-size:18px!important;
    font-weight:700!important;
}

.public-brand small {
    font-size:12px!important;
}

.hero-home {
    padding:4.7rem 0 4.2rem!important;
}

.hero-home h1 {
    font-size:clamp(2.55rem,3.65vw,3.65rem)!important;
    line-height:1.09!important;
    font-weight:700!important;
    letter-spacing:-.035em!important;
    max-width:760px!important;
}

.hero-home .lead {
    font-size:16px!important;
    line-height:1.68!important;
    max-width:760px;
}

.section-heading h2 {
    font-size:clamp(1.65rem,2.2vw,2.15rem)!important;
    line-height:1.22!important;
}

.module-hero {
    padding:4.2rem 0 3.7rem!important;
}

.module-hero h1 {
    font-size:clamp(2.2rem,3vw,3rem)!important;
    line-height:1.1!important;
}

.cta-panel {
    padding:2.2rem 2.5rem!important;
}

.cta-panel h2 {
    font-size:clamp(1.45rem,1.9vw,1.9rem)!important;
    line-height:1.25!important;
}

.article-head {
    padding:3.6rem 0 2.6rem!important;
}

.article-head h1 {
    font-size:clamp(1.9rem,2.75vw,2.75rem)!important;
    line-height:1.18!important;
    max-width:900px;
}

.article-head .lead {
    font-size:16px!important;
    line-height:1.7!important;
}

.article-content {
    font-size:16px!important;
    line-height:1.8!important;
    max-width:820px;
}

.article-content h2 {
    font-size:1.45rem!important;
    margin-top:2rem!important;
}

.article-content h3 {
    font-size:1.18rem!important;
    margin-top:1.6rem!important;
}

.post-card h3 {
    font-size:1.05rem!important;
    line-height:1.42!important;
}

.feature-card h3 {
    font-size:1.18rem!important;
}

.btn {
    font-size:15px!important;
}

@media(max-width:575.98px) {
    body.public-site {
        font-size:15px!important;
    }
    .hero-home {
        padding:3.2rem 0!important;
    }
    .hero-home h1 {
        font-size:2.25rem!important;
    }
    .module-hero h1 {
        font-size:2rem!important;
    }
    .article-head h1 {
        font-size:1.85rem!important;
    }
    .cta-panel h2 {
        font-size:1.4rem!important;
    }
}

/* BUILD 5 — comments */

.comment-section {
    border-top:1px solid #e5e7eb;
    padding-top:2.25rem;
}

.comment-title {
    font-size:1.55rem!important;
    margin:.25rem 0 0;
}

.comment-count {
    font-size:.85rem;
    color:#64748b;
}

.comment-list {
    display:grid;
    gap:1rem;
    margin-bottom:2rem;
}

.comment-item {
    display:grid;
    grid-template-columns:42px 1fr;
    gap:.85rem;
    padding:1rem 0;
    border-bottom:1px solid #edf0f4;
}

.comment-avatar {
    width:42px;
    height:42px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#eef2ff;
    color:#4338ca;
    font-weight:700;
}

.comment-head {
    display:flex;
    align-items:center;
    gap:.75rem;
    flex-wrap:wrap;
}

.comment-head time {
    font-size:.78rem;
    color:#94a3b8;
}

.comment-body {
    margin-top:.3rem;
    font-size:15.5px;
    line-height:1.65;
}

.comment-empty {
    padding:1.1rem;
    border:1px dashed #cbd5e1;
    border-radius:14px;
    color:#64748b;
    background:#f8fafc;
}

.comment-form-wrap {
    margin-top:2rem;
    padding:1.4rem;
    border-radius:18px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
}

.comment-form-wrap h3 {
    font-size:1.15rem!important;
}

.hp-field {
    position:absolute!important;
    left:-10000px!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
}

.article-body .article-callout {
    padding:1rem 1.1rem;
    border-left:4px solid #2563eb;
    background:#eff6ff;
    border-radius:8px;
    margin:1.25rem 0;
}

.article-body pre {
    background:#0f172a;
    color:#e2e8f0;
    padding:1rem;
    border-radius:10px;
    overflow:auto;
}

.article-body .math-block {
    text-align:center;
    margin:1.4rem 0;
    overflow-x:auto;
}

.article-body table {
    width:100%;
    margin:1.25rem 0;
}

.article-body th,.article-body td {
    padding:.7rem;
    border:1px solid #dbe1ea;
}

.article-body th {
    background:#f8fafc;
}

/* BUILD29 FIX29.24 — Homepage feature orbit + LCD public entry */

.hero-orbit-v2 {
    isolation:isolate;
}

.hero-orbit-v2:before,.hero-orbit-v2:after {
    border-color:rgba(99,102,241,.20);
}

.orbit-core-v2 {
    position:relative;
    z-index:3;
    overflow:visible;
    background:radial-gradient(circle at 35% 28%,#818cf8 0,#4f46e5 35%,#312e81 72%,#172554 100%);
    border:1px solid rgba(255,255,255,.75);
    box-shadow:0 0 0 10px rgba(99,102,241,.07),0 28px 70px rgba(49,46,129,.38),inset 0 2px 12px rgba(255,255,255,.22);
}

.orbit-core-v2:before {
    content:"";
    position:absolute;
    inset:10px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.22);
}

.orbit-core-v2 .sigma {
    position:relative;
    z-index:2;
    font:700 5.3rem Georgia,serif;
    line-height:1;
    text-shadow:0 5px 20px rgba(15,23,42,.28);
}

.orbit-core-v2 small {
    z-index:2;
    margin-top:120px;
}

.orbit-halo {
    position:absolute;
    border-radius:50%;
    pointer-events:none;
    z-index:0;
}

.halo-1 {
    width:250px;
    height:250px;
    background:radial-gradient(circle,rgba(99,102,241,.16),rgba(99,102,241,0) 70%);
}

.halo-2 {
    width:390px;
    height:390px;
    border:1px dashed rgba(79,70,229,.13);
}

.hero-orbit-v2 .orbit-chip {
    text-decoration:none;
    color:#172033;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
    white-space:nowrap;
}

.hero-orbit-v2 .orbit-chip:hover {
    transform:translateY(-3px);
    box-shadow:0 18px 38px rgba(49,46,129,.16);
    border-color:#c7d2fe;
    color:#312e81;
}

.hero-orbit-v2 .orbit-chip i {
    font-size:1.05em;
}

.hero-orbit-v2 .chip-a {
    top:42px;
    right:5px;
}

.hero-orbit-v2 .chip-b {
    right:-16px;
    bottom:65px;
}

.hero-orbit-v2 .chip-c {
    left:-22px;
    bottom:68px;
}

.hero-orbit-v2 .chip-d {
    left:-15px;
    top:55px;
}

.module-hero.lcd {
    background:radial-gradient(circle at 82% 12%,#60a5fa,transparent 34%),radial-gradient(circle at 65% 85%,#6366f1,transparent 28%),#172554;
}

@media(max-width:991.98px) {
    .hero-orbit-v2 .chip-a {
        top:18px;
    }
    .hero-orbit-v2 .chip-d {
        top:35px;
    }
    .hero-orbit-v2 .chip-b {
        right:0;
        bottom:30px;
    }
    .hero-orbit-v2 .chip-c {
        left:0;
        bottom:38px;
    }
    .orbit-core-v2 .sigma {
        font-size:4.2rem;
    }
    .orbit-core-v2 small {
        margin-top:95px;
    }
}

@media(max-width:575.98px) {
    .hero-orbit-v2 .orbit-chip {
        font-size:.69rem;
    }
    .hero-orbit-v2 .chip-a {
        top:5px;
        right:0;
    }
    .hero-orbit-v2 .chip-d {
        top:45px;
        left:-5px;
    }
    .hero-orbit-v2 .chip-b {
        right:-3px;
        bottom:20px;
    }
    .hero-orbit-v2 .chip-c {
        left:-3px;
        bottom:55px;
    }
    .orbit-core-v2 .sigma {
        font-size:3.4rem;
    }
    .orbit-core-v2 small {
        margin-top:76px;
        font-size:.55rem;
    }
}

/* BUILD29 FIX29.25 — balanced homepage orbit + recent LCD presentations */

.hero-orbit-v2 {
    min-height:460px;
}

.hero-orbit-v2 .orbit-core-v2 {
    width:168px;
    height:168px;
}

.hero-orbit-v2 .orbit-core-v2 .sigma {
    font-size:4.9rem;
}

.hero-orbit-v2 .orbit-core-v2 small {
    margin-top:108px;
}

.hero-orbit-v2 .halo-1 {
    width:285px;
    height:285px;
}

.hero-orbit-v2 .halo-2 {
    width:405px;
    height:405px;
}

.hero-orbit-v2 .orbit-chip {
    z-index:5;
    min-width:168px;
    text-align:center;
    padding:.72rem 1.05rem;
}

.hero-orbit-v2 .chip-a {
    top:28px;
    left:50%;
    right:auto;
    bottom:auto;
    transform:translateX(-50%);
}

.hero-orbit-v2 .chip-b {
    top:50%;
    right:-18px;
    left:auto;
    bottom:auto;
    transform:translateY(-50%);
}

.hero-orbit-v2 .chip-c {
    top:50%;
    left:-18px;
    right:auto;
    bottom:auto;
    transform:translateY(-50%);
}

.hero-orbit-v2 .chip-d {
    bottom:24px;
    left:50%;
    right:auto;
    top:auto;
    transform:translateX(-50%);
}

.hero-orbit-v2 .chip-a:hover,.hero-orbit-v2 .chip-d:hover {
    transform:translateX(-50%) translateY(-3px);
}

.hero-orbit-v2 .chip-b:hover,.hero-orbit-v2 .chip-c:hover {
    transform:translateY(calc(-50% - 3px));
}

.lcd-recent-wrap {
    margin-top:2.25rem;
}

.lcd-recent-card {
    border:1px solid #e2e8f0;
    border-radius:24px;
    background:#fff;
    box-shadow:0 18px 45px rgba(15,23,42,.06);
    overflow:hidden;
}

.lcd-recent-head {
    padding:1.4rem 1.5rem;
    border-bottom:1px solid #e2e8f0;
}

.lcd-recent-head h2 {
    font-weight:820;
    letter-spacing:-.025em;
    margin:0;
}

.lcd-recent-head p {
    color:#64748b;
    margin:.35rem 0 0;
}

.lcd-recent-card table {
    margin:0;
}

.lcd-recent-card th {
    background:#f8fafc;
    color:#475569;
    font-size:.82rem;
    text-transform:uppercase;
    letter-spacing:.04em;
    white-space:nowrap;
}

.lcd-recent-card td,.lcd-recent-card th {
    padding:1rem 1.15rem;
    vertical-align:middle;
}

.lcd-title {
    font-weight:750;
    color:#172033;
}

.lcd-subject-pill {
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    padding:.35rem .7rem;
    background:#eef2ff;
    color:#4338ca;
    font-weight:750;
}

.lcd-all {
    text-align:center;
    padding:1.25rem;
    border-top:1px solid #e2e8f0;
}

@media(max-width:991.98px) {
    .hero-orbit-v2 {
        min-height:390px;
    }
    .hero-orbit-v2 .chip-b {
        right:0;
    }
    .hero-orbit-v2 .chip-c {
        left:0;
    }
    .hero-orbit-v2 .chip-a {
        top:8px;
    }
    .hero-orbit-v2 .chip-d {
        bottom:8px;
    }
}

@media(max-width:575.98px) {
    .hero-orbit-v2 {
        min-height:330px;
    }
    .hero-orbit-v2 .orbit-chip {
        min-width:132px;
        font-size:.67rem;
        padding:.58rem .7rem;
    }
    .hero-orbit-v2 .orbit-core-v2 {
        width:130px;
        height:130px;
    }
    .hero-orbit-v2 .orbit-core-v2 .sigma {
        font-size:3.5rem;
    }
    .hero-orbit-v2 .orbit-core-v2 small {
        margin-top:76px;
    }
    .hero-orbit-v2 .halo-1 {
        width:210px;
        height:210px;
    }
    .hero-orbit-v2 .halo-2 {
        width:285px;
        height:285px;
    }
    .hero-orbit-v2 .chip-b {
        right:-5px;
    }
    .hero-orbit-v2 .chip-c {
        left:-5px;
    }
    .lcd-recent-card td,.lcd-recent-card th {
        padding:.8rem;
    }
    .lcd-recent-head {
        padding:1.1rem;
    }
}

/* UIH-HOME-1 — homepage aggregate presence strip, rendered only below homepage footer. */
.public-presence-strip {
    background:#0b1220;
    color:#e2e8f0;
    border-top:1px solid rgba(148,163,184,.16);
}

.presence-stat-grid {
    display:grid;
    grid-template-columns:minmax(170px,1.35fr) minmax(170px,1.35fr) repeat(5,minmax(100px,.75fr));
    gap:.65rem;
    align-items:stretch;
}

.presence-stat-card {
    min-width:0;
    display:flex;
    align-items:center;
    gap:.6rem;
    padding:.72rem .8rem;
    border:1px solid rgba(148,163,184,.16);
    border-radius:14px;
    background:rgba(255,255,255,.045);
}

.presence-stat-card > span:last-child { min-width:0; }
.presence-stat-card small {
    display:block;
    color:#94a3b8;
    font-size:.72rem;
    font-weight:700;
    line-height:1.2;
    white-space:nowrap;
}
.presence-stat-card b {
    display:block;
    margin-top:.2rem;
    color:#f8fafc;
    font-size:1.05rem;
    line-height:1.1;
    font-variant-numeric:tabular-nums;
}
.presence-stat-primary {
    background:rgba(79,70,229,.12);
    border-color:rgba(129,140,248,.22);
}
.presence-online-total {
    background:rgba(16,185,129,.09);
    border-color:rgba(52,211,153,.20);
}
.presence-stat-icon {
    flex:0 0 30px;
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border-radius:10px;
    background:rgba(255,255,255,.08);
    color:#c7d2fe;
}
.presence-dot {
    flex:0 0 8px;
    width:8px;
    height:8px;
    border-radius:50%;
    background:#94a3b8;
    box-shadow:0 0 0 4px rgba(148,163,184,.08);
}
.presence-dot-sup{background:#f87171}.presence-dot-teacher{background:#60a5fa}.presence-dot-student{background:#34d399}.presence-dot-member{background:#c084fc}.presence-dot-guest{background:#fbbf24}
.presence-stat-note {
    margin-top:.6rem;
    color:#94a3b8;
    font-size:.76rem;
}

@media(max-width:1199.98px) {
    .presence-stat-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
    .presence-stat-primary { grid-column:span 2; }
}

@media(max-width:767.98px) {
    .presence-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem; }
    .presence-stat-primary { grid-column:span 1; }
    .presence-stat-card { padding:.66rem .7rem; }
}

@media(max-width:419.98px) {
    .presence-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .presence-stat-card small { white-space:normal; }
    .presence-stat-card b { font-size:1rem; }
    .presence-stat-icon { flex-basis:28px; width:28px; height:28px; }
}

@media(prefers-reduced-motion:reduce) {
    .public-presence-strip * { scroll-behavior:auto!important; transition:none!important; }
}
