:root {
    --welcome-bg: #ffffff;
    --welcome-soft: #f5f8ff;
    --welcome-card: #ffffff;
    --welcome-card-2: #f7faff;
    --welcome-text: #07143d;
    --welcome-muted: #46546c;
    --welcome-line: #e4ebf6;
    --welcome-primary: #075de8;
    --welcome-primary-dark: #0049c8;
    --welcome-orange: #ff7a00;
    --welcome-pink: #c40064;
    --utkarsh-blue: #263ce7;
    --utkarsh-pink: #b70f72;
    --welcome-shadow: 0 16px 42px rgba(26, 43, 79, .12);
    --theme-color: #0c5de6;
}

html[data-public-theme="dark"],
html.public-dark-preload,
body.public-dark-mode {
    --welcome-bg: #08111f;
    --welcome-soft: #0d1728;
    --welcome-card: #121d30;
    --welcome-card-2: #17243a;
    --welcome-text: #f4f8ff;
    --welcome-muted: #bdc9db;
    --welcome-line: #26364f;
    --welcome-primary: #5d94ff;
    --welcome-primary-dark: #2f6bff;
    --utkarsh-blue: #8fb0ff;
    --utkarsh-pink: #ff5eae;
    --welcome-shadow: 0 18px 44px rgba(0, 0, 0, .32);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

.public-navbar {
    min-height: 92px;
    background: var(--welcome-card);
    border-bottom: 1px solid var(--welcome-line);
    box-shadow: 0 6px 24px rgba(15, 23, 42, .04);
}

.brand-logo-img {
    width: min(178px, 42vw);
    height: 52px;
    object-fit: contain;
}

.public-links {
    gap: 16px;
}

.public-links .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--welcome-text);
    font-size: .88rem;
    font-weight: 620;
    padding: 24px 0 20px;
    letter-spacing: 0;
}

.public-links .nav-link i {
    color: var(--welcome-orange);
    font-size: 1rem;
    opacity: .92;
}

.public-links .nav-link::after {
    bottom: 17px;
    height: 3px;
    background: linear-gradient(90deg, var(--welcome-orange), var(--welcome-pink));
}

.public-theme-toggle {
    min-width: 52px;
    height: 38px;
    border: 0;
    border-radius: 22px;
    background: var(--welcome-soft);
    color: var(--welcome-text);
}

.public-theme-toggle span {
    display: none;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(183, 15, 114, .24);
    background: #ffffff;
    color: var(--utkarsh-blue);
    font-weight: 500;
    padding: 8px 15px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .14);
}

.public-nav-actions .btn-login:last-child {
    background: linear-gradient(135deg, var(--utkarsh-blue), var(--utkarsh-pink), var(--welcome-orange));
    color: #fff;
    border-color: rgba(255,255,255,.24);
    box-shadow: 0 10px 24px rgba(7, 93, 232, .28);
}

.btn-login i {
    font-size: .95rem;
}

.btn-login:hover,
.btn-login:focus {
    transform: translateY(-2px);
    background: #ffffff;
    color: var(--utkarsh-pink);
    border-color: rgba(183, 15, 114, .28);
}

.btn:hover:focus,
.btn:focus:not(:focus-visible),
.welcome-btn:hover:focus,
.public-theme-toggle:hover:focus {
    outline: 0 !important;
    box-shadow: none !important;
}

.public-footer {
    background: #061528;
    color: #f8fbff;
}

.public-footer .footer-link,
.public-footer p,
.public-footer .small {
    color: rgba(248, 251, 255, .86);
}

.welcome-page {
    background: var(--welcome-bg);
    color: var(--welcome-text);
    overflow: hidden;
}

.public-notice-zone {
    padding: 26px 0 18px;
    background: linear-gradient(180deg, rgba(248, 250, 252, .92), rgba(255,255,255,.96));
}

.public-hero-notice {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 24px;
    border-radius: 22px;
    border: 2px solid color-mix(in srgb, var(--notice-color) 48%, transparent);
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--notice-color) 18%, transparent), transparent 34%),
        #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .1);
    overflow: hidden;
}

.public-hero-notice::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid color-mix(in srgb, var(--notice-color) 42%, transparent);
    animation: noticeBorderPulse 2.4s ease-in-out infinite;
    pointer-events: none;
}

.notice-glow {
    animation: noticeGlowPulse 2.6s ease-in-out infinite;
}

.notice-priority-ribbon {
    grid-column: 1 / -1;
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #dc2626, #f97316);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.notice-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--notice-color);
    background: color-mix(in srgb, var(--notice-color) 12%, white);
    font-weight: 700;
}

.public-hero-notice h2 {
    margin: 12px 0 8px;
    font-size: clamp(1.55rem, 2.7vw, 2.45rem);
    font-weight: 950;
    color: #172033;
}

.public-hero-notice p {
    margin: 0;
    color: #475569;
    font-size: 1.02rem;
}

.notice-meta-row,
.notice-attachment-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.notice-meta-row span,
.notice-attachment-chips a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 12px;
    color: #334155;
    background: #f1f5f9;
    text-decoration: none;
    font-weight: 700;
}

.notice-attachment-chips a {
    color: #1d4ed8;
}

.notice-read-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 152px;
    min-height: 46px;
    padding: 12px 16px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--notice-color), #111827);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 950;
    box-shadow: 0 14px 24px color-mix(in srgb, var(--notice-color) 24%, transparent);
}

.notice-ticker {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 16px;
    background: linear-gradient(135deg, #10213f, #172554 54%, #111827);
    color: #fff;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .14);
}

.notice-ticker > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-weight: 700;
    white-space: nowrap;
}

.notice-ticker div {
    overflow: hidden;
    min-width: 0;
}

.notice-ticker p {
    display: inline-flex;
    gap: 28px;
    width: max-content;
    min-width: max-content;
    margin: 0;
    white-space: nowrap;
    transform: translateX(100%);
    animation: noticeTicker 28s linear infinite;
}

.notice-ticker a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.latest-public-notices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.latest-public-notice-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #172033;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
    transition: transform .18s ease, box-shadow .18s ease;
}

.latest-public-notice-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, .12);
}

.latest-public-notice-card > span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #fff;
    background: var(--notice-color);
}

.latest-public-notice-card strong,
.latest-public-notice-card small {
    display: block;
}

.latest-public-notice-card small {
    color: #64748b;
}

.latest-public-notice-card em {
    padding: 6px 9px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--notice-color) 12%, white);
    color: var(--notice-color);
    font-style: normal;
    font-weight: 700;
}

.notice-glow-soft {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--notice-color) 13%, transparent), 0 14px 28px rgba(15,23,42,.1);
}

.public-notice-detail-page {
    padding: 34px 0 60px;
    background: #f8fafc;
}

.notice-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 700;
}

.notice-detail-card {
    padding: 26px;
    border-radius: 22px;
    border: 2px solid color-mix(in srgb, var(--notice-color) 45%, transparent);
    background: #fff;
    box-shadow: 0 18px 44px rgba(15,23,42,.1);
}

.notice-detail-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.notice-detail-head > span {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    flex: 0 0 auto;
    border-radius: 18px;
    color: #fff;
    background: var(--notice-color);
    font-size: 1.6rem;
}

.notice-detail-head small {
    color: var(--notice-color);
    font-weight: 700;
}

.notice-detail-head h1 {
    margin: 7px 0;
    color: #172033;
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 950;
}

.notice-detail-head p {
    margin: 0;
    color: #475569;
    font-size: 1.05rem;
}

.notice-detail-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 18px 0;
}

.notice-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
}

.notice-detail-body {
    color: #334155;
    line-height: 1.75;
    font-size: 1rem;
}

.compact-heading {
    margin-top: 28px;
}

.notice-attachment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.notice-file-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px rgba(15,23,42,.07);
}

.notice-file-head {
    display: flex;
    gap: 12px;
    align-items: center;
}

.notice-file-head i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: #fff;
    background: #2563eb;
}

.notice-file-head strong,
.notice-file-head small {
    display: block;
}

.notice-file-head small {
    color: #64748b;
}

.notice-file-card img,
.notice-file-card video,
.notice-file-card iframe {
    width: 100%;
    min-height: 260px;
    max-height: 420px;
    border: 0;
    border-radius: 14px;
    background: #0f172a;
    object-fit: contain;
}

.notice-file-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.notice-file-actions a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border-radius: 11px;
    color: #fff;
    background: #2563eb;
    text-decoration: none;
    font-weight: 700;
}

@keyframes noticeGlowPulse {
    0%, 100% { box-shadow: 0 18px 44px rgba(15,23,42,.1), 0 0 0 0 color-mix(in srgb, var(--notice-color) 24%, transparent); }
    50% { box-shadow: 0 20px 48px rgba(15,23,42,.12), 0 0 0 8px color-mix(in srgb, var(--notice-color) 10%, transparent); }
}

@keyframes noticeBorderPulse {
    0%, 100% { opacity: .35; transform: scale(1); }
    50% { opacity: .85; transform: scale(.992); }
}

@keyframes noticeTicker {
    from { transform: translateX(100vw); }
    to { transform: translateX(-100%); }
}

[data-public-theme="dark"] .public-notice-zone,
[data-public-theme="dark"] .public-notice-detail-page {
    background: #0f172a;
}

[data-public-theme="dark"] .public-hero-notice,
[data-public-theme="dark"] .latest-public-notice-card,
[data-public-theme="dark"] .notice-detail-card,
[data-public-theme="dark"] .notice-file-card {
    background: #111827;
    border-color: color-mix(in srgb, var(--notice-color) 44%, #263448);
}

[data-public-theme="dark"] .public-hero-notice h2,
[data-public-theme="dark"] .latest-public-notice-card,
[data-public-theme="dark"] .notice-detail-head h1 {
    color: #e5edf9;
}

[data-public-theme="dark"] .public-hero-notice p,
[data-public-theme="dark"] .latest-public-notice-card small,
[data-public-theme="dark"] .notice-detail-head p,
[data-public-theme="dark"] .notice-detail-body {
    color: #a8b3c7;
}

[data-public-theme="dark"] .notice-meta-row span,
[data-public-theme="dark"] .notice-attachment-chips a,
[data-public-theme="dark"] .notice-detail-meta span {
    background: #162033;
    color: #dbeafe;
}

@media (max-width: 992px) {
    .public-hero-notice,
    .latest-public-notices,
    .notice-attachment-grid {
        grid-template-columns: 1fr;
    }

    .notice-read-btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .public-hero-notice,
    .notice-detail-card {
        padding: 18px;
        border-radius: 18px;
    }

    .notice-ticker {
        grid-template-columns: 1fr;
    }

    .latest-public-notice-card {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .latest-public-notice-card em {
        grid-column: 2;
        width: max-content;
    }

    .notice-detail-head {
        flex-direction: column;
    }
}

.welcome-shell {
    max-width: 1460px;
    width: 100%;
    margin: 0 auto;
    padding-left: 34px;
    padding-right: 34px;
}

.welcome-hero {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 86% 24%, rgba(196, 0, 100, .09), transparent 28%), radial-gradient(circle at 76% 4%, rgba(7, 93, 232, .08), transparent 30%), var(--welcome-bg);
    border-bottom: 0;
}

.welcome-hero-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(7, 20, 61, .12) 2px, transparent 2px);
    background-size: 22px 22px;
    background-position: right 90px top 40px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 64%, transparent 100%);
    pointer-events: none;
}

.hero-kicker,
.section-heading span,
.about-copy span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--welcome-primary);
    background: rgba(255, 122, 0, .08);
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 14px;
}

.welcome-hero h1 {
    max-width: 680px;
    margin: 26px 0 18px;
    color: var(--welcome-text);
    font-size: clamp(3rem, 5.2vw, 5.05rem);
    /*font-weight: 760;*/
    line-height: 1.08;
}

.welcome-hero h1 span {
    display: inline;
    color: var(--welcome-pink);
}

.hero-lead {
    max-width: 540px;
    color: var(--welcome-muted);
    font-size: 1.18rem;
    line-height: 1.75;
    margin-bottom: 26px;
}

.hero-actions,
.trust-row,
.feature-strip,
.stats-bar {
    display: flex;
    align-items: center;
}

.hero-actions {
    gap: 14px;
    flex-wrap: wrap;
    max-width: 430px;
}

.welcome-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 9px;
    font-weight: 760;
    padding: 10px 20px;
}

.welcome-btn-primary {
    background: linear-gradient(135deg, var(--utkarsh-blue), var(--utkarsh-pink), var(--welcome-orange));
    border: 1px solid transparent;
    color: #fff;
    box-shadow: 0 10px 22px rgba(7, 93, 232, .22);
}

.welcome-btn-primary:hover,
.welcome-btn-primary:focus {
    background: linear-gradient(135deg, #1f34d2, #9f0e66, #ef6f00);
    border-color: transparent;
    color: #fff;
}

.welcome-btn-outline {
    border: 1px solid rgba(183, 15, 114, .46);
    color: var(--utkarsh-pink);
    background: var(--welcome-card);
}

.welcome-btn-outline:hover,
.welcome-btn-outline:focus {
    background: rgba(183, 15, 114, .09);
    color: var(--utkarsh-pink);
}

.trust-band {
    margin-top: -20px;
    padding-bottom: 16px;
    position: relative;
    z-index: 4;
}

.trust-row {
    gap: 0;
    flex-wrap: nowrap;
    margin: 0 auto;
    padding: 28px 34px;
    max-width: 1220px;
    border-radius: 14px;
    background: var(--welcome-card);
    box-shadow: 0 16px 45px rgba(26, 43, 79, .11);
}

.trust-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    flex: 1;
    min-width: 0;
    padding: 0 28px;
    border-right: 1px solid var(--welcome-line);
}

.trust-item:last-child {
    border-right: 0;
}

.trust-item span {
    width: 54px;
    height: 54px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.55rem;
}

.trust-blue {
    color: #0c5de6 !important;
    background: #edf4ff !important;
}

.trust-orange {
    color: #ff7a00 !important;
    background: #fff3e8 !important;
}

.trust-purple {
    color: #8245d4 !important;
    background: #f3ebff !important;
}

.trust-green {
    color: #15ad68 !important;
    background: #e9f9f1 !important;
}

.trust-item strong,
.trust-item small {
    display: block;
}

.trust-item strong {
    font-size: .88rem;
    color: var(--welcome-text);
}

.trust-item small {
    margin-top: 2px;
    color: var(--welcome-muted);
    font-size: .78rem;
}

.device-showcase {
    position: relative;
    min-height: 390px;
    padding: 0 70px 44px 0;
    display: grid;
    place-items: center;
}

.device-ai-showcase {
    min-height: 470px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.device-ai-image {
    position: relative;
    z-index: 2;
    width: min(100%, 820px);
    height: auto;
    display: block;
    border-radius: 24px;
    object-fit: contain;
    filter: drop-shadow(0 28px 38px rgba(15, 23, 42, .18));
}

.device-feature-badges {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.device-feature-badges span {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid rgba(219, 231, 246, .92);
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    color: #10203f;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .12);
    font-size: .78rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.device-feature-badges i {
    color: var(--welcome-primary);
    font-size: 1rem;
}

.device-feature-badges span:nth-child(1) {
    left: 2%;
    top: 14%;
}

.device-feature-badges span:nth-child(2) {
    left: 3%;
    top: 40%;
}

.device-feature-badges span:nth-child(3) {
    left: 4%;
    bottom: 17%;
}

.device-feature-badges span:nth-child(4) {
    right: 3%;
    top: 15%;
}

.device-feature-badges span:nth-child(5) {
    right: 4%;
    bottom: 18%;
}

.device-feature-badges span:nth-child(6) {
    right: 7%;
    top: 45%;
}

.blue-arc {
    position: absolute;
    width: 420px;
    height: 420px;
    right: 48px;
    top: -42px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 122, 0, .1), rgba(196, 0, 100, .13));
    opacity: 1;
}

.dot-grid {
    position: absolute;
    width: 132px;
    height: 132px;
    background-image: radial-gradient(rgba(7, 93, 232, .34) 2px, transparent 2px);
    background-size: 18px 18px;
}

.dot-grid-top {
    right: 0;
    top: 26px;
}

.dot-grid-bottom {
    left: 38px;
    bottom: 118px;
}

.laptop-frame {
    position: relative;
    z-index: 2;
    width: min(470px, 76%);
    margin-left: 4px;
}

.laptop-screen {
    min-height: 0;
    aspect-ratio: 16 / 10;
    max-height: 292px;
    overflow: hidden;
    padding: 10px;
    border: 8px solid #10131a;
    border-radius: 16px 16px 10px 10px;
    background: #f9fbff;
    box-shadow: 0 30px 48px rgba(0, 0, 0, .26);
}

.laptop-base {
    height: 14px;
    width: 106%;
    margin-left: -3%;
    border-radius: 0 0 50% 50%;
    background: linear-gradient(180deg, #c5cbd5, #727987);
    box-shadow: 0 16px 20px rgba(0, 0, 0, .2);
}

.mock-header,
.mock-layout,
.metric-row,
.dashboard-grid,
.phone-nav {
    display: flex;
}

.mock-header {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.mock-header img {
    width: 78px;
    height: 21px;
    object-fit: contain;
}

.mock-icons span {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-left: 7px;
    border-radius: 50%;
    background: #d9e2ef;
}

.mock-layout {
    gap: 10px;
}

.mock-layout aside {
    width: 82px;
    flex: 0 0 82px;
}

.mock-layout aside span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #26364f;
    font-size: .5rem;
    font-weight: 700;
    border-radius: 5px;
    padding: 6px;
    margin-bottom: 4px;
}

.mock-layout aside .active {
    background: #0c5de6;
    color: #fff;
}

.mock-layout main {
    flex: 1;
    min-width: 0;
}

.metric-row {
    gap: 7px;
}

.metric-card {
    flex: 1;
    min-height: 50px;
    border-radius: 8px;
    padding: 8px;
}

.metric-card small,
.metric-card strong {
    display: block;
}

.metric-card small {
    color: #475467;
    font-size: .5rem;
    font-weight: 700;
}

.metric-card strong {
    color: #07143d;
    margin-top: 4px;
    font-size: .88rem;
    font-weight: 700;
}

.lavender {
    background: #eef1ff;
}

.violet {
    background: #f3edff;
}

.green {
    background: #e9f8ef;
}

.red {
    background: #fff0f0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 8px;
    margin-top: 9px;
}

.chart-panel,
.notice-panel {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 9px;
}

.panel-title {
    color: #07143d;
    font-size: .6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.overview-chart {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
}

.overview-chart div {
    min-height: 52px;
    padding: 8px;
    border-radius: 9px;
    background: #f8fbff;
    border: 1px solid #edf2f7;
}

.overview-chart span {
    width: 9px;
    height: 9px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 6px;
}

.overview-chart .blue {
    background: #0c5de6;
}

.overview-chart .green {
    background: #20a85b;
}

.overview-chart .amber {
    background: #f6a400;
}

.overview-chart .purple {
    background: #8245d4;
}

.overview-chart strong,
.overview-chart small {
    display: block;
}

.overview-chart strong {
    color: #07143d;
    font-size: .9rem;
    font-weight: 700;
    margin-top: 4px;
}

.overview-chart small {
    color: #667085;
    font-size: .56rem;
    font-weight: 700;
}

.notice-panel p {
    margin: 0 0 8px;
    color: #293a55;
    font-size: .58rem;
    font-weight: 700;
}

.notice-panel i {
    color: #0b5ee7;
    font-size: .45rem;
    margin-right: 7px;
}

.phone-frame {
    position: absolute;
    z-index: 3;
    left: calc(50% + 194px);
    right: auto;
    bottom: 46px;
    width: 108px;
    min-height: 218px;
    padding: 5px;
    border: 4px solid #1f2937;
    border-radius: 26px;
    background: #1f2937;
    box-shadow: 0 18px 28px rgba(15, 23, 42, .2), 0 0 0 1px rgba(255, 255, 255, .55);
}

.phone-frame::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 72px;
    width: 2px;
    height: 30px;
    border-radius: 0 99px 99px 0;
    background: #1f2937;
}

.grade-rule-section {
    padding: 26px 0 22px;
}

.grade-rule-card {
    display: grid;
    grid-template-columns: minmax(280px, .88fr) minmax(0, 1.12fr);
    gap: 22px;
    align-items: center;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--welcome-line);
    border-radius: 12px;
    background:
        radial-gradient(circle at 4% 10%, rgba(255, 122, 0, .12), transparent 28%),
        linear-gradient(135deg, var(--welcome-card), var(--welcome-card-2));
    box-shadow: var(--welcome-shadow);
}

.grade-rule-copy span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ea580c;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.grade-rule-copy h2 {
    margin: 10px 0;
    color: var(--welcome-text);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    /*font-weight: 780;*/
}

.grade-rule-copy p {
    margin: 0;
    color: var(--welcome-muted);
    line-height: 1.7;
}

.grade-rule-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.grade-rule-item {
    min-height: 128px;
    display: grid;
    align-content: center;
    gap: 7px;
    padding: 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.grade-rule-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .1);
}

.grade-rule-item i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.25rem;
}

.grade-rule-item strong {
    color: var(--welcome-text);
    font-size: 1.35rem;
    font-weight: 700;
}

.grade-rule-item span {
    color: var(--welcome-muted);
    font-size: .88rem;
    font-weight: 750;
    line-height: 1.35;
}

.grade-excellent { background: #f0fdf4; border-color: #bbf7d0; }
.grade-excellent i { background: #dcfce7; color: #16a34a; }
.grade-good { background: #eff6ff; border-color: #bfdbfe; }
.grade-good i { background: #dbeafe; color: #2563eb; }
.grade-average { background: #fff7ed; border-color: #fed7aa; }
.grade-average i { background: #ffedd5; color: #ea580c; }
.grade-focus { background: #fdf2f8; border-color: #fbcfe8; }
.grade-focus i { background: #fce7f3; color: #db2777; }

.phone-speaker {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 7px;
    width: 32px;
    height: 7px;
    margin: 0;
    transform: translateX(-50%);
    border-radius: 99px;
    background: #1f2937;
}

.phone-screen {
    min-height: 208px;
    padding: 17px 7px 7px;
    border-radius: 21px;
    background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
    border: 1px solid #dbe7f6;
    overflow: hidden;
}

.phone-app-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #0b5ee7;
    font-size: .56rem;
    font-weight: 950;
    margin-bottom: 7px;
    white-space: nowrap;
    letter-spacing: 0;
}

.phone-app-head i {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dbeafe;
    color: #2563eb;
    font-size: .48rem;
}

.phone-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e3ebf7;
    border-radius: 9px;
    color: #39465d;
    font-size: .48rem;
    font-weight: 700;
    padding: 7px 8px;
    margin-bottom: 6px;
    box-shadow: 0 7px 13px rgba(15, 23, 42, .05);
}

.phone-card i {
    display: none;
}

.phone-card span {
    display: block;
    color: #64748b;
    line-height: 1.1;
    white-space: nowrap;
}

.phone-card b {
    display: block;
    color: #07143d;
    font-size: .78rem;
    line-height: 1.05;
    margin-top: 3px;
}

.phone-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #64748b;
    font-size: .58rem;
    border-top: 1px solid #dbe7f6;
    padding-top: 7px;
    margin-top: 1px;
}

.phone-nav i:first-child {
    color: #0b5ee7;
}

.compact-section {
    padding: 34px 0 26px;
}

.section-heading {
    text-align: center;
    margin-bottom: 30px;
}

.section-heading span {
    background: transparent;
    padding: 0;
}

.section-heading h2 {
    margin: 8px 0 0;
    color: var(--welcome-text);
    font-size: clamp(1.5rem, 2.2vw, 2.1rem);
    font-weight: 720;
}

.section-heading h2::after {
    content: "";
    display: block;
    width: 68px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 99px;
    background: var(--welcome-primary);
}

.section-heading p {
    color: var(--welcome-muted);
    margin: 14px 0 0;
}

.feature-strip {
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-tile {
    flex: 0 1 calc((100% - 110px) / 6);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 14px;
    padding: 28px 18px;
    border-radius: 8px;
    border: 1px solid var(--welcome-line);
    background: var(--welcome-card);
    color: var(--welcome-text);
    text-decoration: none;
    box-shadow: var(--welcome-shadow);
    text-decoration: none;
    transition: all 0.35s ease;
}

.feature-icon.blue {
    --theme-color: #0c5de6;
    background: #0c5de6;
}

.feature-icon.green {
    --theme-color: #34aa58;
    background: #34aa58;
}

.feature-icon.amber {
    --theme-color: #e89c00;
    background: #e89c00;
}

.feature-icon.purple {
    --theme-color: #8245d4;
    background: #8245d4;
}

.feature-icon.orange {
    --theme-color: #ff8a2a;
    background: #ff8a2a;
}

.feature-icon.pink {
    --theme-color: #e83a83;
    background: #e83a83;
}

.feature-icon.violet {
    --theme-color: #8b5cf6;
    background: #8b5cf6;
}

.feature-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.45rem;
    box-shadow: inset 0 -8px 18px rgba(0,0,0,.12);
    transition: all 0.35s ease;
}

/* Top Border */
.feature-tile::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: var(--theme-color,#0c5de6);
    transform: scaleX(0);
    transform-origin: left;
    transition: .35s;
}

.feature-tile:hover::before {
    transform: scaleX(1);
}

/* Icon Animation */
.feature-tile:hover .feature-icon {
    transform: translateY(-6px) scale(1.12);
    box-shadow: inset 0 -8px 18px rgba(0,0,0,.12), 0 12px 25px color-mix(in srgb, var(--theme-color,#0c5de6) 35%, transparent);
}

/* Heading Color */
.feature-tile:hover h3 {
    color: var(--theme-color,#0c5de6);
}

/* Border */
.feature-tile:hover {
    border-color: var(--theme-color,#0c5de6);
}

.feature-tile h3,
.feature-tile p {
    transition: color 0.35s ease;
}

.feature-tile:hover h3 {
    color: #0c5de6;
}

.feature-tile:has(.feature-icon.blue) {
    --theme-color: #0c5de6;
}

.feature-tile:has(.feature-icon.green) {
    --theme-color: #34aa58;
}

.feature-tile:has(.feature-icon.orange) {
    --theme-color: #ff8a2a;
}

.feature-tile:has(.feature-icon.pink) {
    --theme-color: #e83a83;
}

.feature-tile:has(.feature-icon.purple) {
    --theme-color: #8245d4;
}
.feature-tile:has(.feature-icon.violet) {
    --theme-color: #8b5cf6;
}


.feature-row-break { display: none; }

.feature-tile h3,
.management-card h3 {
    margin: 0;
    color: var(--welcome-text);
    font-size: 1rem;
    font-weight: 760;
}

.feature-tile p,
.management-card p {
    margin: 8px 0 0;
    color: var(--welcome-muted);
    font-size: .9rem;
    line-height: 1.55;
}

.feature-link:hover,
.feature-link:focus {
    color: var(--welcome-text);
    transform: translateY(-2px);
}




.power-section {
    padding: 26px 0 34px;
}

.power-section .welcome-shell {
    padding-top: 34px;
    padding-bottom: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 247, 244, .94), rgba(252, 248, 255, .94));
    box-shadow: 0 12px 32px rgba(26, 43, 79, .06);
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    align-items: start;
}

.management-card {
    min-height: 150px;
    text-align: center;
    padding: 8px 30px 4px;
    border-right: 1px solid rgba(7, 20, 61, .1);
}

.management-card:last-child {
    border-right: 0;
}

.management-card .feature-icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    margin: 0 auto 14px;
    font-size: 1.35rem;
    border-radius: 50%;
    box-shadow: none;
}

.management-card .feature-icon.pink {
    color: #df276f;
    background: #ffe3ef;
}

.management-card .feature-icon.green {
    color: #19a65b;
    background: #e3f8eb;
}

.management-card .feature-icon.purple {
    color: #5d4ee6;
    background: #ece9ff;
}

.management-card .feature-icon.amber {
    --theme-color: #e89c00;
    color: #e89c00;
    background: #fff1d8;
}

.management-card .feature-icon.violet {
    color: #7c3fe3;
    background: #f0e7ff;
}

.management-card h3 {
    font-size: .96rem;
    font-weight: 720;
}

.management-card p {
    font-size: .78rem;
    max-width: 190px;
    margin-left: auto;
    margin-right: auto;
}

.demo-section {
    padding: 8px 0 24px;
}

.demo-card {
    display: grid;
    grid-template-columns: minmax(300px, 1.05fr) minmax(260px, .9fr) minmax(280px, .95fr);
    gap: 26px;
    align-items: center;
    padding: 34px;
    border-radius: 14px;
    background: var(--welcome-card);
    border: 1px solid var(--welcome-line);
    box-shadow: var(--welcome-shadow);
}

.demo-copy > span {
    color: var(--welcome-orange);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.demo-card h2 {
    margin: 10px 0 14px;
    color: var(--welcome-text);
    font-size: clamp(1.55rem, 2.2vw, 2.2rem);
    font-weight: 700;
    line-height: 1.12;
}

.demo-card p {
    color: var(--welcome-muted);
    line-height: 1.58;
    margin-bottom: 18px;
}

.demo-benefits {
    padding: 28px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(245, 248, 255, .94));
    border: 1px solid var(--welcome-line);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
}

.demo-benefits h3 {
    margin: 0 0 18px;
    color: var(--welcome-text);
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.35;
}

.demo-benefits ul {
    display: grid;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.demo-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #334155;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.35;
}

.demo-benefits i {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #e9fbf2;
    color: #16a34a;
    font-size: 1.25rem;
    font-weight: 700;
}

.demo-visual {
    min-height: 310px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.demo-visual img {
    width: min(100%, 430px);
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 22px 30px rgba(15, 23, 42, .12));
}

.demo-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.demo-form textarea {
    min-height: 82px;
}

.demo-form textarea,
.demo-form button {
    grid-column: auto;
}

.demo-message {
    grid-column: 1 / -1;
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.demo-success {
    color: #0f7a3d;
    background: #e8f8ef;
    border: 1px solid #bee9ce;
}

.demo-error {
    color: #b42318;
    background: #fff1f0;
    border: 1px solid #ffd6d2;
}

.demo-form .form-control {
    min-height: 48px;
    border-radius: 8px;
    border-color: var(--welcome-line);
    font-weight: 650;
    font-size: .9rem;
}

.ready-band {
    padding: 0 0 0;
}

.public-ready-band {
    padding-bottom: 16px;
}

.public-ready-band + .public-footer {
    margin-top: 0 !important;
}

.public-ready-band .ready-card {
    border-radius: 14px;
}

.ready-card {
    position: relative;
    min-height: 176px;
    display: grid;
    grid-template-columns: minmax(300px, 390px) 1fr auto;
    gap: 26px;
    align-items: center;
    overflow: hidden;
    padding: 18px 28px;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(105deg, #263ce7 0%, #263ce7 28%, #7430c8 50%, #b70f72 74%, #ff3e8d 100%);
    color: #fff;
}

.ready-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 42%;
    background: radial-gradient(circle at 12% 50%, rgba(255,255,255,.24), rgba(255,255,255,0) 62%);
    pointer-events: none;
}

.ready-image,
.ready-copy,
.ready-actions {
    position: relative;
    z-index: 1;
}

.ready-image img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .38);
    box-shadow: 0 16px 30px rgba(0,0,0,.22);
    filter: saturate(1.08) brightness(1.04);
}

.ready-copy h2 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 2.3vw, 2.2rem);
    font-weight: 720;
}

.ready-copy p {
    margin: 0;
    max-width: 640px;
    color: rgba(255,255,255,.88);
}

.ready-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ready-btn-light {
    background: #fff;
    color: var(--utkarsh-pink);
}

.ready-btn-outline {
    border: 1px solid rgba(255,255,255,.62);
    color: #fff;
    background: rgba(255,255,255,.06);
}

.ready-btn-light:hover,
.ready-btn-outline:hover {
    background: #fff;
    color: var(--utkarsh-pink);
}

.stats-section {
    padding: 0 0 0;
    background: var(--welcome-bg);
}

.stats-bar {
    min-height: 116px;
    justify-content: space-around;
    gap: 18px;
    margin-bottom: -1px;
    padding: 24px 34px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(135deg, #0a38b8, #0820a6);
    color: #fff;
}

.stat-item {
    flex: 1;
    display: grid;
    grid-template-columns: 66px auto;
    column-gap: 20px;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, .2);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-item span {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #0a45ca;
    font-size: 1.55rem;
}

.stat-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.stat-item strong,
.stat-item small {
    display: block;
}

.stat-item strong {
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-item small {
    font-size: 1rem;
    font-weight: 700;
    opacity: .95;
}

html[data-public-theme="dark"] .power-section .welcome-shell,
body.public-dark-mode .power-section .welcome-shell {
    background: linear-gradient(180deg, rgba(13, 23, 40, .98), rgba(18, 29, 48, .8));
}

html[data-public-theme="dark"] .about-card,
body.public-dark-mode .about-card {
    background: linear-gradient(135deg, rgba(18, 29, 48, .98), rgba(13, 23, 40, .9));
}

html[data-public-theme="dark"] .laptop-screen,
body.public-dark-mode .laptop-screen,
html[data-public-theme="dark"] .phone-frame,
body.public-dark-mode .phone-frame {
    filter: brightness(.88);
}

@media (max-width: 1199.98px) {
    .welcome-shell {
        padding-left: 22px;
        padding-right: 22px;
    }

    .feature-strip {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-row-break {
        display: none;
    }

    .management-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .management-card {
        border-right: 0;
    }

    .phone-frame {
        left: calc(50% + 176px);
        right: auto;
    }
}

@media (max-width: 991.98px) {
    .public-navbar {
        min-height: 74px;
    }

    .public-links {
        gap: 4px;
    }

    .public-links .nav-link {
        padding: 12px 0;
    }

    .public-links .nav-link::after {
        bottom: 6px;
        right: auto;
        width: 48px;
    }

    .welcome-hero {
        padding: 56px 0 30px;
    }

    .trust-row {
        flex-wrap: wrap;
        padding: 18px;
    }

    .trust-item {
        flex-basis: 50%;
        padding: 16px;
        border-right: 0;
    }

    .device-showcase {
        min-height: 310px;
        padding-right: 36px;
        padding-bottom: 36px;
    }

    .laptop-frame {
        width: min(390px, 78%);
        margin-left: 0;
    }

    .laptop-screen {
        max-height: 244px;
    }

    .phone-frame {
        left: calc(50% + 146px);
        right: auto;
        bottom: 34px;
        transform: scale(.72);
        transform-origin: right bottom;
    }

    .grade-rule-card {
        grid-template-columns: 1fr;
    }

    .demo-card {
        grid-template-columns: 1fr;
        padding: 32px 28px;
    }

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

    .demo-benefits {
        padding: 24px;
    }

    .demo-visual {
        min-height: 240px;
    }

    .ready-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ready-actions {
        justify-content: center;
    }

    .stat-item {
        grid-template-columns: 54px auto;
    }

    .stat-item span {
        width: 54px;
        height: 54px;
    }
}

@media (max-width: 767.98px) {
    .welcome-shell {
        padding-left: 16px;
        padding-right: 16px;
    }

    .welcome-hero h1 {
        font-size: 2.35rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .trust-row,
    .hero-actions {
        align-items: stretch;
    }

    .welcome-btn {
        width: 100%;
    }

    .device-showcase {
        min-height: 245px;
        padding-right: 0;
        padding-bottom: 28px;
        transform: none;
        margin-bottom: 0;
    }

    .laptop-frame {
        width: min(330px, 82%);
    }

    .laptop-screen {
        max-height: 206px;
        border-width: 7px;
        padding: 8px;
    }

    .mock-layout aside {
        display: none;
    }

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

    .phone-frame {
        left: calc(50% + 116px);
        right: auto;
        transform: scale(.54);
        bottom: 22px;
    }

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

    .feature-strip,
    .management-grid {
        grid-template-columns: 1fr;
    }

    .feature-tile {
        min-height: 104px;
        padding: 18px;
    }

    .demo-card {
        padding: 28px 18px;
    }

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

    .demo-benefits {
        padding: 20px;
    }

    .demo-visual {
        min-height: 190px;
    }

    .demo-visual img {
        max-height: 210px;
    }

    .ready-card {
        padding: 24px 18px;
    }

    .stats-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 22px 18px;
    }

    .stat-item {
        border-right: 0;
        grid-template-columns: 48px auto;
    }

    .stat-item span {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .stat-item strong {
        font-size: 1.35rem;
    }

    .stat-item small {
        font-size: .82rem;
    }
}

@media (max-width: 480px) {
    .brand-logo-img {
        width: 220px;
    }

    .welcome-hero h1 {
        font-size: 2rem;
    }

    .trust-item {
        width: 100%;
    }

    .device-showcase {
        min-height: 208px;
        overflow: hidden;
    }

    .laptop-frame {
        width: min(285px, 84%);
    }

    .laptop-screen {
        max-height: 178px;
    }

    .phone-frame {
        left: calc(50% + 96px);
        right: auto;
        transform: scale(.44);
        bottom: 18px;
    }

    .grade-rule-grid {
        grid-template-columns: 1fr;
    }

    .feature-tile {
        align-items: flex-start;
    }

    .stats-bar {
        grid-template-columns: 1fr;
    }
}

/* Final public layout overrides. This file loads after public-site.css. */
.public-navbar,
.public-navbar * {
    overflow-wrap: normal;
}

@media (max-width: 1199.98px) {
    .public-navbar {
        min-height: 72px;
    }

    .public-navbar .container-fluid {
        align-items: center;
        gap: 10px;
    }

    .brand-logo-img {
        width: min(240px, 44vw);
        height: 58px;
    }

    .public-toggler {
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        border-radius: 12px;
        border-color: #dbe7f6;
        background: #f8fbff;
        box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
    }

    .public-navbar .navbar-collapse {
        flex-basis: 100%;
        margin-top: 12px;
        padding: 14px;
        border: 1px solid var(--welcome-line);
        border-radius: 14px;
        background: var(--welcome-card);
        box-shadow: 0 18px 36px rgba(15, 23, 42, .12);
    }

    .public-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    .public-links .nav-link {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 14px;
        border-radius: 12px;
        color: var(--welcome-text);
        font-size: .92rem;
        font-weight: 700;
        line-height: 1.2;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
    }

    .public-links .nav-link i {
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 9px;
        background: #fff3e8;
        color: var(--welcome-orange);
        font-size: 1rem;
    }

    .public-links .nav-link.active,
    .public-links .nav-link:hover,
    .public-links .nav-link:focus {
        background: #eff6ff;
        color: #0d5bff;
    }

    .public-links .nav-link.active i,
    .public-links .nav-link:hover i,
    .public-links .nav-link:focus i {
        background: #dbeafe;
        color: #2563eb;
    }

    .public-links .nav-link::after {
        display: none;
    }

    .public-nav-actions {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px !important;
        width: 100%;
        align-items: stretch;
    }

    .public-nav-actions .btn,
    .public-theme-toggle,
    .btn-login {
        min-height: 44px;
        width: 100%;
        justify-content: center;
        white-space: normal;
        line-height: 1.15;
    }
}

@media (max-width: 991.98px) {
    .public-navbar {
        min-height: 72px;
    }

    .brand-logo-img {
        width: min(220px, 62vw);
        height: 54px;
    }

    .public-navbar .navbar-collapse {
        padding: 12px;
    }

    .public-links .nav-link {
        padding: 11px 12px;
    }

}

@media (max-width: 575.98px) {
    .brand-logo-img {
        width: min(190px, 62vw);
        height: 48px;
    }

    .public-links,
    .public-nav-actions {
        grid-template-columns: 1fr;
    }

    .public-footer {
        margin-top: 28px;
    }
}

html[data-public-theme="dark"] .device-ai-image,
body.public-dark-mode .device-ai-image {
    filter: drop-shadow(0 30px 42px rgba(0, 0, 0, .34)) brightness(.9) saturate(.95);
}

html[data-public-theme="dark"] .device-feature-badges span,
body.public-dark-mode .device-feature-badges span {
    background: rgba(18, 29, 48, .9);
    border-color: rgba(71, 85, 105, .82);
    color: #f4f8ff;
}

/* Final public-page polish overrides */
.public-navbar {
    min-height: 74px;
}

.brand-logo-img {
    width: min(178px, 42vw) !important;
    height: 52px !important;
    object-fit: contain;
}

.public-links {
    gap: 16px;
}

.public-links .nav-link {
    font-weight: 600;
    font-size: 1rem;
}

.btn-login,
.public-theme-toggle,
.welcome-btn,
.school-about-actions .btn {
    /*font-weight: 700;*/
}

.ready-band {
    padding: 0;
}

.public-ready-band {
    padding-bottom: 0;
}

@media (max-width: 1199.98px) {
    .ready-card {
        grid-template-columns: minmax(260px, 330px) 1fr;
        padding: 16px 22px;
    }

    .ready-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .ready-card {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 18px;
        text-align: center;
    }

    .ready-image {
        margin: 0;
    }

    .ready-image img {
        height: 180px;
        object-position: center;
    }

    .ready-copy p {
        margin: 0 auto;
    }

    .ready-actions {
        justify-content: center;
    }
}

@media (max-width: 1199.98px) {
    .device-ai-showcase {
        min-height: auto;
        display: grid;
        justify-items: center;
        padding: 0;
    }

    .device-ai-image {
        width: min(100%, 760px);
    }

    .device-feature-badges {
        position: static !important;
        inset: auto !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(150px, 1fr));
        gap: 10px;
        width: 100%;
        margin-top: 14px;
        pointer-events: auto;
    }

    .device-feature-badges span {
        position: static !important;
        width: 100%;
        min-width: 0;
        font-size: .72rem;
        min-height: 38px;
        padding: 8px 11px;
        justify-content: flex-start;
        line-height: 1.18;
        white-space: normal;
        word-break: normal;
        overflow-wrap: normal;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
    }

    .device-feature-badges span:nth-child(n) {
        position: static !important;
        inset: auto !important;
        transform: none !important;
    }
}

@media (max-width: 991.98px) {
    .device-ai-showcase {
        min-height: auto;
        padding: 12px 0 4px;
    }

    .device-ai-image {
        width: min(100%, 720px);
        border-radius: 18px;
    }

    .device-feature-badges {
        position: relative;
        inset: auto;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        margin-top: 12px;
    }

    .device-feature-badges span,
    .device-feature-badges span:nth-child(n) {
        position: static;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .device-ai-image {
        width: 112%;
        max-width: none;
        margin-left: -6%;
        border-radius: 14px;
    }

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

/* Final compact public header: keep the header visually close to page content. */
.public-navbar {
    min-height: 66px !important;
}

.public-navbar .container-fluid {
    min-height: 66px;
}

.public-nav-shell {
    max-width: 1460px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 34px !important;
    padding-right: 34px !important;
}

.public-brand {
    flex: 0 0 auto;
    margin-right: 10px;
}

.brand-logo-img {
    width: min(238px, 46vw) !important;
    height: 46px !important;
    object-fit: contain;
    object-position: left center;
}

.public-links .nav-link {
    padding-top: 18px !important;
    padding-bottom: 15px !important;
}

.public-links .nav-link::after {
    bottom: 10px !important;
}

.public-nav-actions .btn,
.public-theme-toggle,
.btn-login {
    min-height: 36px;
}

.page-wrapper > main {
    margin-top: 0;
}

.welcome-hero {
    min-height: clamp(520px, calc(100vh - 66px), 610px);
}

.public-ready-band .ready-card {
    grid-template-columns: minmax(390px, 500px) minmax(0, 1fr) auto;
    min-height: 218px;
    gap: 30px;
    padding: 16px 30px;
}

.ready-image img {
    height: 190px !important;
    border: 0 !important;
    border-radius: 10px;
    box-shadow: none;
    filter: saturate(1.12) brightness(1.07) contrast(1.02);
}

@media (max-width: 1199.98px) {
    .public-navbar {
        min-height: 64px !important;
    }

    .public-navbar .container-fluid {
        min-height: 64px;
    }

    .public-nav-shell {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }

    .brand-logo-img {
        width: min(222px, 58vw) !important;
        height: 44px !important;
    }

    .public-toggler {
        width: 38px;
        height: 38px;
    }

    .public-navbar .navbar-collapse {
        margin-top: 8px !important;
    }

    .public-ready-band .ready-card {
        grid-template-columns: minmax(330px, 430px) minmax(0, 1fr);
        min-height: 208px;
    }

    .ready-image img {
        height: 180px !important;
    }
}

@media (max-width: 575.98px) {
    .public-nav-shell {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .brand-logo-img {
        width: min(194px, 62vw) !important;
        height: 40px !important;
    }

    .welcome-hero {
        padding-top: 28px;
    }

    .welcome-hero h1 {
        max-width: 100%;
        font-size: clamp(2.25rem, 11vw, 2.75rem) !important;
        line-height: 1.1;
        margin-top: 22px;
        overflow-wrap: normal;
        word-break: normal;
    }

    .welcome-hero h1 span {
        display: block;
    }

    .hero-lead {
        max-width: 100%;
        font-size: .98rem;
        line-height: 1.7;
    }

    .public-ready-band .ready-card {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 18px;
    }

    .ready-image img {
        height: 220px !important;
    }
}

@media (max-width: 767.98px) {
    .device-ai-showcase {
        display: grid;
        justify-items: center;
        min-height: auto;
        padding: 0;
    }

    .device-ai-image {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 16px;
    }

    .device-feature-badges {
        position: static !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        width: 100%;
        margin-top: 12px;
        inset: auto !important;
    }

    .device-feature-badges span,
    .device-feature-badges span:nth-child(n) {
        position: static !important;
        min-width: 0;
        min-height: 42px;
        width: 100%;
        justify-content: flex-start;
        padding: 9px 10px;
        font-size: .72rem;
        line-height: 1.15;
        white-space: normal;
        word-break: normal;
        overflow-wrap: normal;
        writing-mode: horizontal-tb;
    }
}

@media (max-width: 420px) {
    .device-feature-badges {
        grid-template-columns: 1fr;
    }
}
