:root {
    --navy: var(--c-primary-800);
    --gold: var(--c-accent-500);
}

html { overflow-x: clip; }
body {
    font-family: var(--font-display, 'Plus Jakarta Sans'), sans-serif;
    overflow-x: clip;
}

.hero-slide .text-white h1 {
    color: #fff !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.hero-slide .text-white p {
    text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}

/* Ruang aman untuk FAB WhatsApp + asisten AI */
body:has(.wa-float),
body:has(.nabilla-widget) {
    padding-bottom: 5.5rem;
}
@media (max-width: 768px) {
    body:has(.wa-float),
    body:has(.nabilla-widget) {
        padding-bottom: 6.5rem;
    }
    .nabilla-launcher-label { display: none; }
    .nabilla-launcher { padding: .7rem; border-radius: 50%; }
    .wa-float { bottom: 1.15rem; left: .85rem; }
    .nabilla-widget { bottom: 1.15rem; right: .85rem; }
}

.topbar { background: linear-gradient(90deg, var(--c-primary-900), var(--c-primary-700)); }

.nav-link {
    color: #1e293b;
    white-space: nowrap;
    padding: .45rem .7rem;
    border-radius: .65rem;
    font-size: .875rem;
    font-weight: 650;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.nav-link i { font-size: .55rem; opacity: .65; }
.nav-link:hover, .nav-link.active { color: var(--c-primary-800); background: #f1f5f9; }

.site-nav { gap: .15rem; flex-wrap: nowrap; }
.nav-drop { position: relative; }
.nav-drop-panel {
    position: absolute;
    right: 0;
    top: calc(100% - .2rem);
    min-width: 13.5rem;
    padding: .45rem;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: .9rem;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(.35rem);
    transition: opacity .12s ease, transform .12s ease, visibility .12s;
    z-index: 60;
}
.nav-drop-panel a {
    display: block;
    padding: .55rem .75rem;
    border-radius: .55rem;
    color: #0f172a;
    font-size: .875rem;
    font-weight: 600;
}
.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.nav-drop-panel a:hover { background: #f8fafc; color: var(--c-primary-800); }
.nav-drop-panel a:first-child {
    font-weight: 800;
    color: var(--c-primary-800);
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: .15rem;
    border-radius: .55rem .55rem 0 0;
}
.home-ppdb-banner {
    background: linear-gradient(120deg, var(--c-primary-900), var(--c-primary-700) 55%, #0f766e);
    box-shadow: 0 18px 40px rgb(var(--rgb-primary-800) / .22);
}
.site-login-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-left: .35rem;
    padding: .5rem .95rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
    color: #fff;
    background: var(--c-primary-800);
    white-space: nowrap;
    box-shadow: 0 8px 18px rgb(var(--rgb-primary-800) / .28);
}
.site-login-btn:hover { filter: brightness(1.08); color: #fff; }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1rem !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
    color: var(--c-primary-900) !important;
    background: linear-gradient(135deg, var(--c-accent-400), var(--c-accent-500)) !important;
    box-shadow: 0 8px 18px rgb(var(--rgb-accent-500) / .35);
    border: 1px solid transparent;
    transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.nav-cta:hover,
.nav-cta.active {
    color: var(--c-primary-900) !important;
    background: linear-gradient(135deg, var(--c-accent-500), var(--c-accent-600)) !important;
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgb(var(--rgb-accent-500) / .42);
}
.nav-cta-mobile {
    display: flex !important;
    justify-content: center;
    margin-top: .5rem;
    text-align: center;
}

/* Menu HP website utama — sederhana & ringkas */
.mobile-nav {
    border-top: 1px solid #e2e8f0;
    background: #fff;
    max-height: min(72vh, calc(100dvh - 5.5rem));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.mobile-nav-inner {
    padding: .65rem .75rem .9rem;
    display: grid;
    gap: .35rem;
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    min-height: 42px;
    padding: .65rem .85rem;
    border-radius: 12px;
    font-size: .92rem;
    font-weight: 700;
    color: #1e293b;
    background: #f8fafc;
    text-decoration: none;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: #f1f5f9;
    color: var(--c-primary-800, #0b1f3a);
}
.mobile-nav-link-cta {
    justify-content: center;
    background: linear-gradient(135deg, var(--c-accent-400, #fbbf24), var(--c-accent-500, #f59e0b));
    color: var(--c-primary-900, #0b1f3a);
}
.mobile-nav-apps {
    background: rgb(var(--rgb-primary-900, 11 31 58) / .06);
    color: var(--c-primary-800, #0b1f3a);
}
.mobile-nav-apps span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}
.mobile-nav-role {
    background: #f0fdfa;
    color: #0f766e;
}
.mobile-nav-group {
    border-radius: 12px;
    background: #f8fafc;
    overflow: hidden;
}
.mobile-nav-group.is-active {
    background: rgb(var(--rgb-primary-900, 11 31 58) / .05);
}
.mobile-nav-group summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    min-height: 42px;
    padding: .65rem .85rem;
    font-size: .92rem;
    font-weight: 700;
    color: #1e293b;
    user-select: none;
}
.mobile-nav-group summary::-webkit-details-marker { display: none; }
.mobile-nav-group summary .fa-chevron-down {
    font-size: .7rem;
    opacity: .55;
    transition: transform .2s ease;
}
.mobile-nav-group[open] summary .fa-chevron-down {
    transform: rotate(180deg);
}
.mobile-nav-sub {
    display: grid;
    gap: .15rem;
    padding: 0 .45rem .55rem;
}
.mobile-nav-sub a {
    display: block;
    padding: .55rem .7rem;
    border-radius: 10px;
    font-size: .86rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
}
.mobile-nav-sub a:hover {
    background: #fff;
    color: var(--c-primary-800, #0b1f3a);
}
.hero-cta-portal {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(135deg, var(--c-accent-400), var(--c-accent-500));
    color: var(--c-primary-900);
    font-weight: 800;
    padding: .85rem 1.35rem;
    border-radius: 1rem;
    box-shadow: 0 14px 30px rgba(0,0,0,.28), 0 0 0 3px rgb(var(--rgb-accent-400) / .25);
    transition: transform .15s ease, filter .15s ease;
}
.hero-cta-portal:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
}

.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--c-primary-900) 0%, var(--c-primary-600) 60%, var(--c-highlight-500) 140%);
}

.input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    padding: 0.7rem 0.9rem;
    background: #fff;
}

.input:focus {
    outline: 2px solid var(--c-highlight-500);
    border-color: transparent;
}

.label { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 0.35rem; color: #334155; }

.btn-primary {
    background: var(--c-primary-800, #0B1F3A);
    color: #fff;
    font-weight: 800;
    border-radius: 0.9rem;
    padding: 0.7rem 1.1rem;
}

.btn-ghost {
    background: #fff;
    border: 1px solid #e2e8f0;
    font-weight: 700;
    border-radius: 0.9rem;
    padding: 0.7rem 1.1rem;
}

.alert-success, .alert-error {
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.alert-success { background: #ecfdf5; color: #047857; }
.alert-error { background: #fef2f2; color: #b91c1c; }

.card-hover { transition: transform .25s ease, box-shadow .25s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11, 31, 58, .12); }

.page-hero::after {
    content: '';
    position: absolute;
    inset: auto -8% -40% auto;
    width: 18rem;
    height: 18rem;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(240, 193, 75, .18), transparent 70%);
    pointer-events: none;
}

.hero-slide { transition: opacity .7s ease; color: #fff; }
.hero-slide h1 { color: #fff; }
.hero-slide p { color: #e2e8f0; }

.prose-school { line-height: 1.8; color: #334155; }
.prose-school p { margin-bottom: 1rem; }
.prose-school h1, .prose-school h2, .prose-school h3, .prose-school h4 {
    color: #0B1F3A;
    font-weight: 800;
    line-height: 1.3;
    margin: 1.4rem 0 .75rem;
}
.prose-school h1 { font-size: 1.75rem; }
.prose-school h2 { font-size: 1.45rem; }
.prose-school h3 { font-size: 1.2rem; }
.prose-school ul, .prose-school ol { margin: 0 0 1rem 1.25rem; padding: 0; }
.prose-school ul { list-style: disc; }
.prose-school ol { list-style: decimal; }
.prose-school li { margin-bottom: .35rem; }
.prose-school blockquote {
    margin: 1rem 0;
    padding: .75rem 1rem;
    border-left: 4px solid #D4A017;
    background: #f8fafc;
    color: #475569;
}
.prose-school a { color: #0f766e; font-weight: 600; text-decoration: underline; }
.prose-school img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 1rem;
    background: #e2e8f0;
    margin: 1rem 0;
}
.prose-school iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 1rem;
    margin: 1rem 0;
}
.prose-school pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: .75rem;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.fit-media,
.fit-card,
.fit-hero,
.fit-wide {
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
}
.fit-media { aspect-ratio: 16 / 9; height: auto; }
.fit-card { aspect-ratio: 16 / 10; height: auto; }
.fit-hero { aspect-ratio: 16 / 9; height: auto; }
.fit-wide { aspect-ratio: 2 / 1; height: auto; }
.fit-portrait {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
}
.fit-avatar {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    display: block;
    flex-shrink: 0;
}
.fit-fill,
.fit-contain {
    display: block;
    width: 100%;
    height: 100%;
    object-position: center;
}
.fit-fill { object-fit: cover; }
.fit-contain { object-fit: contain; }

.logo-preview-bg {
    background-color: #f1f5f9;
    background-image:
        linear-gradient(45deg, #e2e8f0 25%, transparent 25%),
        linear-gradient(-45deg, #e2e8f0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e2e8f0 75%),
        linear-gradient(-45deg, transparent 75%, #e2e8f0 75%);
    background-size: 12px 12px;
    background-position: 0 0, 0 6px, 6px -6px, -6px 0;
}

img.fit-media,
img.fit-card,
img.fit-hero,
img.fit-wide,
img.fit-portrait,
img.fit-fill {
    object-fit: cover !important;
    object-position: center !important;
}

.media-box {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    background: #e2e8f0;
}
.media-box--card { aspect-ratio: 16 / 10; }
.media-box--media { aspect-ratio: 16 / 9; }
.media-box--hero { aspect-ratio: 16 / 9; }
.media-box--wide { aspect-ratio: 2 / 1; }
button.media-box,
a.media-box {
    padding: 0;
    border: 0;
    appearance: none;
    -webkit-appearance: none;
    background: #e2e8f0;
}
.media-box img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
}

.admin-media {
    width: 7.5rem;
    aspect-ratio: 1;
    border-radius: 0.85rem;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}
.admin-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.admin-media.is-contain { background: #fff; }
.admin-media.is-contain img { object-fit: contain; padding: 4px; }

.admin-cover {
    position: relative;
    width: 100%;
    min-height: 180px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e2e8f0;
}
.admin-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-slide .bg-cover {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.rich-editor-box {
    border: 1px solid #cbd5e1;
    border-radius: .9rem;
    overflow: hidden;
    background: #fff;
}
.rich-editor-box .ql-toolbar.ql-snow {
    border: 0;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    flex-wrap: wrap;
}
.rich-editor-box .ql-container.ql-snow {
    border: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
}
.rich-editor-box .ql-editor {
    min-height: 220px;
    line-height: 1.7;
}
.rich-editor-box .ql-editor img {
    max-width: 100%;
    height: auto;
    border-radius: .75rem;
}
.ql-editor { min-height: 220px; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(7, 22, 39, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 4rem;
}
.lightbox.hidden { display: none; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 1rem; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lightbox-caption { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; }
.lightbox-close {
    position: absolute; top: 1rem; right: 1.2rem; color: #fff; font-size: 2.4rem; line-height: 1;
}
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    color: #fff; font-size: 1.4rem; background: rgba(255,255,255,.12);
    width: 3rem; height: 3rem; border-radius: 999px;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-thumb { cursor: zoom-in; }

.lang-switch { position: relative; }
.lang-switch button {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    padding: .25rem .7rem;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-weight: 700;
}
.lang-switch-menu {
    position: absolute;
    right: 0;
    top: calc(100% + .4rem);
    min-width: 220px;
    background: #fff;
    color: #0f172a;
    border-radius: 1rem;
    box-shadow: 0 16px 40px rgba(7, 22, 39, .18);
    padding: .4rem;
    z-index: 70;
}
.lang-switch-menu a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .7rem;
    border-radius: .75rem;
    font-weight: 700;
    font-size: .85rem;
}
.lang-switch-menu a:hover,
.lang-switch-menu a.active { background: #f1f5f9; }
html[dir="rtl"] .lang-switch-menu { right: auto; left: 0; }
html[dir="rtl"] body { font-family: 'Noto Naskh Arabic', 'Plus Jakarta Sans', sans-serif; }
html.locale-zh body { font-family: 'Noto Sans SC', 'Plus Jakarta Sans', sans-serif; }
html.locale-ko body { font-family: 'Noto Sans KR', 'Plus Jakarta Sans', sans-serif; }

#google_translate_element,
.goog-te-banner-frame,
.skiptranslate iframe.skiptranslate,
body > .skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-te-gadget { font-size: 0 !important; }
font { background: transparent !important; box-shadow: none !important; }

.translate-badge {
    position: fixed;
    right: 1rem;
    bottom: 5.5rem;
    z-index: 60;
    background: var(--c-primary-800);
    color: var(--c-accent-400);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    padding: .45rem .7rem;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(7, 22, 39, .25);
}
html[dir="rtl"] .translate-badge { right: auto; left: 1rem; }

/* WhatsApp floating — pojok kiri bawah */
.wa-float {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 70;
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    font-size: 1.65rem;
    box-shadow: 0 10px 28px rgba(37, 211, 102, .45), 0 2px 8px rgba(7, 22, 39, .18);
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
    text-decoration: none;
}
.wa-float:hover {
    filter: brightness(1.06);
    transform: translateY(-2px) scale(1.04);
    color: #fff;
    box-shadow: 0 14px 32px rgba(37, 211, 102, .5), 0 4px 12px rgba(7, 22, 39, .2);
}
.wa-float:focus-visible {
    outline: 2px solid #128c7e;
    outline-offset: 3px;
}
html[dir="rtl"] .wa-float { left: auto; right: 1rem; }
@media (max-width: 480px) {
    .wa-float { width: 3.1rem; height: 3.1rem; font-size: 1.5rem; }
}

/* Nabilla reality */
.nabilla-widget {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 70;
    font-family: var(--font-display), sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .5rem;
}
.nabilla-live[hidden] { display: none !important; }
.nabilla-stage {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: .7rem;
    width: min(560px, calc(100vw - 1.4rem));
    padding-top: .15rem;
    padding-bottom: .35rem;
    animation: nabillaEnter .55s cubic-bezier(0.22, 1, 0.36, 1);
}
.nabilla-board {
    flex: 1 1 240px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.nabilla-figure {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: min(210px, 36vw);
    line-height: 0;
    overflow: visible;
    padding-bottom: 8px;
    filter: drop-shadow(0 12px 20px rgba(7, 22, 39, .2));
}
/* Nabilla CSS 3D — PNG mengambang, tanpa WebGL/canvas/kotak */
.nabilla-figure.has-css3d {
    width: auto;
    min-width: 0;
    padding-bottom: 2px;
    filter: none;
    background: transparent;
    user-select: none;
    perspective: 900px;
    perspective-origin: 50% 45%;
}
.nabilla-css3d {
    position: relative;
    z-index: 2;
    width: min(210px, 36vw);
    margin: 0 auto;
    line-height: 0;
    background: transparent;
}
.nabilla-css3d-scene {
    position: relative;
    width: 100%;
    cursor: grab;
    touch-action: none;
    transform-style: preserve-3d;
    outline: none;
    background: transparent;
}
.nabilla-css3d.is-dragging .nabilla-css3d-scene { cursor: grabbing; }
.nabilla-css3d-card {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    will-change: transform;
    transform-origin: center center;
}
.nabilla-css3d-face {
    position: relative;
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: transparent;
    line-height: 0;
}
.nabilla-css3d-front {
    position: relative;
    z-index: 2;
}
.nabilla-css3d-back {
    position: absolute;
    inset: 0;
    z-index: 1;
    transform: rotateY(180deg);
}
.nabilla-css3d-face img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(54vh, 450px);
    margin: 0 auto;
    pointer-events: none;
    user-select: none;
    background: transparent;
    /* drop-shadow pada <img> PNG mengikuti alpha — tidak membuat kotak */
    filter: drop-shadow(0 14px 22px rgba(7, 22, 39, .28));
}
.nabilla-css3d-back img {
    transform: scaleX(-1);
    filter:
        drop-shadow(0 14px 22px rgba(7, 22, 39, .22))
        brightness(0.72)
        saturate(0.85);
}
.nabilla-css3d.is-talking .nabilla-css3d-card {
    animation: nabillaTalkPulse 0.9s ease-in-out infinite;
}
@keyframes nabillaTalkPulse {
    0%, 100% { filter: none; }
    50% { filter: brightness(1.04); }
}
.nabilla-figure img {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(54vh, 450px);
    display: block;
    margin: 0 auto;
    user-select: none;
    pointer-events: none;
    transform-origin: center bottom;
    transition: opacity .28s ease;
}
.nabilla-figure img.is-css3d-hidden,
.nabilla-floor.is-css3d-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}
.nabilla-floor {
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 46%;
    height: 9px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(15, 23, 42, .22) 0%, rgba(15, 23, 42, .08) 42%, transparent 72%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.nabilla-toolbar {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: .35rem;
    flex-wrap: wrap;
}
.nabilla-picker {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    margin-right: auto;
    padding: .15rem;
    border-radius: 999px;
    background: rgba(7, 22, 39, .55);
    border: 1px solid rgba(180, 210, 245, .16);
}
.nabilla-pick {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 0;
    cursor: pointer;
    color: rgba(248, 250, 252, .72);
    background: transparent;
    border-radius: 999px;
    padding: .28rem .55rem .28rem .3rem;
    font: inherit;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1;
}
.nabilla-pick img {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 12%;
    display: block;
    background: linear-gradient(180deg, #e8f0ff 0%, #dce7f8 100%);
}
.nabilla-pick.is-active {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}
.nabilla-icon-btn,
.nabilla-close {
    border: 0;
    cursor: pointer;
    color: #fff;
    background: rgba(15, 39, 68, .72);
    border-radius: 999px;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    font-size: .9rem;
}
.nabilla-close { font-size: 1.25rem; line-height: 1; }
.nabilla-icon-btn:hover,
.nabilla-close:hover { background: rgba(15, 39, 68, .9); }
.nabilla-icon-btn.is-muted { color: #fbbf24; }
.nabilla-caption {
    position: relative;
    z-index: 3;
    margin: 0;
    background: #071627;
    color: #f8fafc;
    border: 1px solid #1e3a5f;
    border-radius: 1.05rem 1.05rem .4rem 1.05rem;
    padding: .7rem .8rem;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.65;
    letter-spacing: .01em;
    box-shadow: 0 12px 28px rgba(7, 22, 39, .28);
    max-height: min(38vh, 280px);
    overflow: auto;
    scroll-behavior: auto;
}
.nabilla-caption[hidden] { display: none !important; }
.nabilla-caption.is-wait { color: #93c5fd; font-style: italic; font-weight: 600; }
.nabilla-word {
    position: relative;
    display: inline-block;
    color: rgba(248, 250, 252, .38);
    font-weight: 700;
    transition: color .28s ease;
}
.nabilla-word-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    overflow: hidden;
    color: #facc15;
    pointer-events: none;
    white-space: nowrap;
    font-weight: 700;
}
.nabilla-word.is-now { color: rgba(248, 250, 252, .38); }
.nabilla-word.is-done { color: #ffffff; }
.nabilla-word.is-done .nabilla-word-fill {
    width: 100% !important;
    color: #ffffff;
}
.nabilla-ask-form {
    position: relative;
    z-index: 3;
    display: flex;
    gap: .35rem;
    align-items: center;
    width: 100%;
    margin-top: .45rem;
}
.nabilla-ask-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid #d7deea;
    background: rgba(255,255,255,.96);
    border-radius: 999px;
    padding: .55rem .85rem;
    font: inherit;
    font-size: .82rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .12);
}
.nabilla-ask-form input:focus {
    outline: none;
    border-color: var(--c-highlight-500, #14b8a6);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, .18);
}
.nabilla-ask-form button {
    width: 2.35rem;
    height: 2.35rem;
    flex-shrink: 0;
    border: 0;
    border-radius: 999px;
    background: var(--c-accent-500, #d4a017);
    color: var(--c-primary-900, #071627);
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(212, 160, 23, .35);
}
.nabilla-ask-form button:disabled,
.nabilla-ask-form input:disabled { opacity: .55; cursor: not-allowed; }
@keyframes nabillaEnter {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
.nabilla-launchers {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .45rem;
}
.nabilla-launcher {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    border: 0;
    cursor: pointer;
    background: var(--c-primary-800, #0f2744);
    color: #fff;
    padding: .7rem 1rem .7rem .75rem;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(7, 22, 39, .28);
    font-weight: 800;
    font-size: .9rem;
    opacity: .88;
    transition: opacity .2s ease, filter .2s ease, transform .2s ease;
}
.nabilla-launcher:hover { filter: brightness(1.06); opacity: 1; }
.nabilla-launcher.is-active {
    opacity: 1;
    box-shadow: 0 12px 28px rgba(7, 22, 39, .34), 0 0 0 2px rgba(212, 160, 23, .55);
}
.nabilla-launcher-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(180deg, #e8f0ff 0%, #dce7f8 100%);
    border: 2px solid rgba(255,255,255,.55);
}
.nabilla-launcher-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
    display: block;
}
html[dir="rtl"] .nabilla-widget { right: auto; left: 1rem; }
@media (max-width: 480px) {
    .nabilla-launcher-label { display: none; }
    .nabilla-launcher { padding: .75rem; border-radius: 50%; }
    .nabilla-pick span { display: none; }
    .nabilla-pick { padding: .28rem; }
    .nabilla-stage { width: min(100vw - 1rem, 380px); gap: .45rem; }
    .nabilla-figure { width: 108px; }
    .nabilla-figure img { max-height: min(42vh, 280px); }
    .nabilla-caption { font-size: .82rem; max-height: min(32vh, 220px); }
}
/* Admin UI styles live in assets/css/admin.css */
