/* _content/AITranslationPlatform.Web/Components/Account/Pages/CompleteRegistration.razor.rz.scp.css */
.registration-page[b-e8zl9n57b3] {
    --ink: #30291e;
    --muted: #8e826f;
    --gold: #dca523;
    --gold-light: #f9d361;
    --line: #e8dac1;
    min-height: 100vh;
    display: grid;
    place-items: center;
    position: relative;
    isolation: isolate;
    padding: 42px 20px;
    overflow: hidden;
    color: var(--ink);
    background: radial-gradient(circle at 50% 0, #fff8e9, #f5f0e6 70%);
    font-family: "IRANSansX", Tahoma, sans-serif;
}

.registration-page[dir="ltr"][b-e8zl9n57b3] { font-family: Inter, "Segoe UI", Arial, sans-serif; }

.registration-background[b-e8zl9n57b3] { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.registration-background[b-e8zl9n57b3]::before, .registration-background[b-e8zl9n57b3]::after {
    content: ""; position: absolute; width: 120vw; height: 380px; left: -10vw;
    border: 1px solid rgba(220, 165, 35, .2); border-radius: 50%;
}
.registration-background[b-e8zl9n57b3]::before { top: -337px; }
.registration-background[b-e8zl9n57b3]::after { bottom: -337px; }

.registration-card[b-e8zl9n57b3] {
    width: min(100%, 560px);
    padding: 32px 42px 28px;
    border: 1px solid rgba(224, 207, 173, .55);
    border-radius: 28px;
    background: rgba(255, 253, 249, .96);
    box-shadow: 0 24px 70px rgba(91, 69, 28, .1);
    animation: registration-enter-b-e8zl9n57b3 .45s ease-out both;
}

@keyframes registration-enter-b-e8zl9n57b3 {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.registration-visual[b-e8zl9n57b3] {
    width: 132px; height: 132px; margin: 4px auto 18px; position: relative;
    display: grid; place-items: center; border-radius: 50%;
    background: radial-gradient(circle, #fff8e8 40%, #f4e9cf 100%);
}
.visual-orbit[b-e8zl9n57b3] { position: absolute; border: 1px solid rgba(220,165,35,.16); border-radius: 50%; }
.orbit-one[b-e8zl9n57b3] { inset: -12px; }
.orbit-two[b-e8zl9n57b3] { inset: -24px; }
.visual-envelope[b-e8zl9n57b3] {
    width: 95px; height: 72px; transform: rotate(-5deg);
    display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
    padding: 11px 12px; border: 1px solid #eee4d2; border-radius: 12px;
    background: #fff; box-shadow: 0 12px 22px rgba(91,69,28,.1);
}
.envelope-mark[b-e8zl9n57b3] { width: 17px; height: 17px; display: grid; place-items: center; border-radius: 5px; background: var(--gold); color: #4b3709; font-size: 10px; font-weight: 900; }
.envelope-line[b-e8zl9n57b3] { width: 62px; height: 3px; border-radius: 3px; background: #e9e1d4; }
.envelope-line.short[b-e8zl9n57b3] { width: 43px; }
.envelope-dots[b-e8zl9n57b3] { align-self: center; margin-top: -3px; color: #bd8414; font-size: 11px; letter-spacing: 3px; }
.visual-check[b-e8zl9n57b3] {
    position: absolute; right: 10px; bottom: 10px; width: 28px; height: 28px;
    display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%;
    background: var(--gold); color: #30291e; font-weight: 900; box-shadow: 0 4px 10px rgba(91,69,28,.15);
}
.registration-heading[b-e8zl9n57b3] { text-align: center; }
.eyebrow[b-e8zl9n57b3] { color: #b87b12; font-size: .72rem; font-weight: 800; }
.registration-heading h1[b-e8zl9n57b3] { margin: 8px 0 9px; font-size: clamp(1.45rem, 3vw, 1.95rem); line-height: 1.4; }
.registration-heading p[b-e8zl9n57b3] { max-width: 410px; margin: 0 auto 22px; color: var(--muted); font-size: .83rem; line-height: 1.9; }

.registration-card[b-e8zl9n57b3]  .registration-form,
.registration-card[b-e8zl9n57b3]  .code-form { display: grid; gap: 15px; }
.name-row[b-e8zl9n57b3] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.registration-field[b-e8zl9n57b3] { min-width: 0; display: grid; gap: 7px; }
.registration-field label[b-e8zl9n57b3] { color: #5f513d; font-size: .78rem; font-weight: 700; }
.registration-field label span[b-e8zl9n57b3] { color: #b7770d; }
.registration-field[b-e8zl9n57b3]  input {
    width: 100%; height: 48px; padding: 0 17px; box-sizing: border-box;
    border: 1px solid #e1d4c1; border-radius: 18px; outline: none;
    background: linear-gradient(180deg, #fffefb, #fcf8f1);
    box-shadow: 0 8px 24px rgba(82, 57, 22, .045);
    color: var(--ink); font: inherit; font-size: .88rem;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.registration-field[b-e8zl9n57b3]  input:hover { border-color: rgba(197, 138, 22, .34); }
.registration-field[b-e8zl9n57b3]  input:focus {
    border-color: rgba(197, 138, 22, .72);
    background: #fffefb;
    box-shadow: 0 0 0 4px rgba(197, 138, 22, .09), 0 12px 30px rgba(91, 62, 22, .08);
}
.registration-field[b-e8zl9n57b3]  input[dir="ltr"] { text-align: left; }
.registration-field[b-e8zl9n57b3]  input::placeholder { color: #a99d8d; }
.registration-field[b-e8zl9n57b3]  .validation-message { color: #b94734; font-size: .72rem; }
.field-hint[b-e8zl9n57b3] { color: var(--muted); font-size: .72rem; line-height: 1.8; }
/* Terms of use: asked once, while registering. */
.terms-consent[b-e8zl9n57b3] {
    display: flex; align-items: flex-start; gap: 11px;
    padding: 13px 15px; border: 1px solid #ecdfc8; border-radius: 16px;
    background: #fffaf0; color: #5f513d; font-size: .8rem; line-height: 1.9;
    cursor: pointer; transition: border-color .2s ease, background .2s ease;
}
.terms-consent:hover[b-e8zl9n57b3] { border-color: rgba(197, 138, 22, .38); }
.terms-consent[b-e8zl9n57b3]  input[type="checkbox"] {
    flex: none; width: 20px; height: 20px; margin: 3px 0 0;
    appearance: none; -webkit-appearance: none;
    border: 1.5px solid #cfbd9c; border-radius: 6px; background: #fffefb;
    cursor: pointer; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.terms-consent[b-e8zl9n57b3]  input[type="checkbox"]:checked {
    border-color: #d39a1c;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.4 3.4 7.7-8' fill='none' stroke='%233a2a0d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 88% no-repeat,
        linear-gradient(135deg, #f2c854, #dfa31e);
}
.terms-consent[b-e8zl9n57b3]  input[type="checkbox"]:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(197, 138, 22, .18); }
.terms-consent a[b-e8zl9n57b3] { color: #a8700f; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.terms-consent a:hover[b-e8zl9n57b3] { color: #8a5a09; }
.registration-card[b-e8zl9n57b3]  .registration-form:has(.terms-consent input:not(:checked)) .registration-button {
    filter: grayscale(.35); opacity: .62; box-shadow: none;
}

.registration-button[b-e8zl9n57b3] {
    min-height: 52px; width: 100%; border: 0; border-radius: 13px;
    background: linear-gradient(100deg, #f2c854, #dfa31e);
    color: #3a2a0d; font: inherit; font-size: .9rem; font-weight: 800;
    cursor: pointer; box-shadow: 0 12px 24px rgba(205,148,29,.2);
    transition: filter .18s ease, transform .18s ease;
}
.registration-button:hover[b-e8zl9n57b3] { filter: brightness(1.04); transform: translateY(-1px); }
.registration-button:active[b-e8zl9n57b3] { transform: translateY(0); }
.registration-button:focus-visible[b-e8zl9n57b3] { outline: 3px solid rgba(182,117,13,.55); outline-offset: 3px; }
.registration-message[b-e8zl9n57b3] { margin-bottom: 17px; padding: 11px 13px; border-radius: 12px; font-size: .79rem; line-height: 1.8; }
.registration-message.error[b-e8zl9n57b3] { background: #fff1ec; color: #a33d2d; border: 1px solid #efc8bc; }
.registration-message.success[b-e8zl9n57b3] { background: #eff7eb; color: #326a38; border: 1px solid #cfe4c9; }
.code-section[b-e8zl9n57b3] { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.code-intro[b-e8zl9n57b3] { display: grid; gap: 4px; margin-bottom: 14px; }
.code-intro strong[b-e8zl9n57b3] { font-size: .88rem; }
.code-intro span[b-e8zl9n57b3] { color: var(--muted); font-size: .77rem; line-height: 1.9; }
.code-intro b[b-e8zl9n57b3] { color: #ad7110; overflow-wrap: anywhere; }
.code-intro .code-spam[b-e8zl9n57b3] { color: #8a5d0e; font-weight: 600; }
.code-section .registration-field[b-e8zl9n57b3]  input { letter-spacing: .32em; text-align: center; font-size: 1.15rem; font-weight: 800; }
.registration-footer[b-e8zl9n57b3] { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; color: #aa9c86; font-size: .7rem; line-height: 1.8; }

/* The same three layers as the sign-in page: a deep page, a card that
   stands out of it, and fields sunk into the card. */
:root[data-theme="dark"] .registration-page[b-e8zl9n57b3] {
    --ink: #f6eede; --muted: #b7a98f; --line: rgba(240, 196, 110, .14);
    background: radial-gradient(48% 46% at 50% 38%, rgba(232, 180, 67, .11), transparent 72%), radial-gradient(70% 40% at 50% 0%, rgba(232, 180, 67, .06), transparent 70%), linear-gradient(180deg, #120e0a 0%, #0c0906 100%);
}
:root[data-theme="dark"] .registration-background[b-e8zl9n57b3]::before,
:root[data-theme="dark"] .registration-background[b-e8zl9n57b3]::after { border-color: rgba(232, 180, 67, .16); }
:root[data-theme="dark"] .registration-card[b-e8zl9n57b3] {
    border-color: rgba(240, 196, 110, .20);
    background: radial-gradient(100% 60% at 50% 0%, rgba(240, 190, 80, .11), transparent 62%), linear-gradient(180deg, #2d241a 0%, #241d15 100%);
    box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .30), inset 0 1px 0 rgba(255, 236, 200, .08);
}
:root[data-theme="dark"] .registration-field label[b-e8zl9n57b3] { color: #e5d8c3; }
:root[data-theme="dark"] .code-intro .code-spam[b-e8zl9n57b3] { color: #e8c178; }
:root[data-theme="dark"] .registration-field[b-e8zl9n57b3]  input {
    color: #f6eede; background: #17120d; border-color: rgba(240, 196, 110, .22);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35);
}
:root[data-theme="dark"] .registration-field[b-e8zl9n57b3]  input:hover { border-color: rgba(232, 180, 67, .42); }
:root[data-theme="dark"] .registration-field[b-e8zl9n57b3]  input:focus {
    border-color: rgba(232, 180, 67, .78); background: #1b150f;
    box-shadow: 0 0 0 4px rgba(232, 180, 67, .14), inset 0 2px 6px rgba(0, 0, 0, .30);
}
:root[data-theme="dark"] .registration-field[b-e8zl9n57b3]  input::placeholder { color: #8a7d6c; }
:root[data-theme="dark"] .registration-button[b-e8zl9n57b3] { box-shadow: 0 14px 34px rgba(232, 180, 67, .20); }
:root[data-theme="dark"] .terms-consent[b-e8zl9n57b3] { background: #17120d; border-color: rgba(232, 180, 67, .22); color: #e5d8c3; }
:root[data-theme="dark"] .terms-consent:hover[b-e8zl9n57b3] { border-color: rgba(232, 180, 67, .42); }
:root[data-theme="dark"] .terms-consent[b-e8zl9n57b3]  input[type="checkbox"]:not(:checked) { background: #241d15; border-color: rgba(232, 180, 67, .4); }
:root[data-theme="dark"] .terms-consent a[b-e8zl9n57b3] { color: #f0c85c; }
/* The illustration: a cream disc and a white envelope glared on the dark card. */
:root[data-theme="dark"] .registration-visual[b-e8zl9n57b3] {
    background: radial-gradient(circle at 34% 26%, rgba(255, 222, 160, .16), transparent 44%), linear-gradient(145deg, #3e3123 0%, #2b2218 100%);
    box-shadow: inset 0 0 0 1px rgba(240, 196, 110, .16), 0 18px 40px rgba(0, 0, 0, .30);
}
:root[data-theme="dark"] .visual-orbit[b-e8zl9n57b3] { border-color: rgba(232, 180, 67, .22); }
:root[data-theme="dark"] .visual-envelope[b-e8zl9n57b3] { background: #1b1510; border-color: rgba(240, 196, 110, .22); box-shadow: 0 12px 22px rgba(0, 0, 0, .40); }
:root[data-theme="dark"] .envelope-line[b-e8zl9n57b3] { background: #4a3f32; }
:root[data-theme="dark"] .visual-check[b-e8zl9n57b3] { border-color: #2d241a; }
:root[data-theme="dark"] .registration-message.error[b-e8zl9n57b3] { background: #412722; color: #ffb5a5; border-color: #744139; }
:root[data-theme="dark"] .registration-message.success[b-e8zl9n57b3] { background: #253d2b; color: #a9e0af; border-color: #3e6845; }

@media (max-width: 560px) {
    .registration-page[b-e8zl9n57b3] { padding: 20px 14px; }
    .registration-card[b-e8zl9n57b3] { padding: 28px 22px 24px; border-radius: 24px; }
    .registration-visual[b-e8zl9n57b3] { width: 110px; height: 110px; margin-bottom: 15px; }
    .name-row[b-e8zl9n57b3] { grid-template-columns: 1fr; }
}

/* Goftito logo instead of the letter. */
.envelope-mark[b-e8zl9n57b3] { background: #fffdf8; }
.envelope-mark .goftito-mark[b-e8zl9n57b3] { display: block; width: 86%; height: 86%; object-fit: contain; }
/* _content/AITranslationPlatform.Web/Components/Account/Pages/Home.razor.rz.scp.css */
/* =========================================================
   AI TRANSLATION — PUBLIC LANDING V1
   Token-driven Light / Warm Dark marketing surface.
   ========================================================= */
.home-page[b-w2nmzbtm49] {
    --bg: var(--ui-page,#f7f3ec);
    --surface: var(--ui-surface,#fff);
    --raised: var(--ui-surface-raised,#fffdf8);
    --soft: var(--ui-surface-sunken,#f4eee4);
    --ink: var(--text,#28231d);
    --text2: var(--text-secondary,#655e53);
    --muted: var(--muted,#958a7b);
    --line: var(--ui-line,rgba(73,59,42,.10));
    --line2: var(--ui-line-strong,rgba(73,59,42,.16));
    --accent: var(--ui-accent,#efbf45);
    --accent2: var(--ui-accent-strong,#dca52d);
    --accentSoft: var(--ui-accent-soft,rgba(226,175,46,.13));
    --accentTint: var(--ui-accent-tint,rgba(226,175,46,.075));
    --success: var(--ui-success,#4f9869);
    --successSoft: var(--ui-success-tint,rgba(79,152,105,.10));
    --danger: var(--ui-danger,#b85c59);
    --shadowSm: var(--ui-shadow-sm,0 10px 28px rgba(45,36,25,.07));
    --shadowMd: var(--ui-shadow-md,0 22px 56px rgba(45,36,25,.10));
    min-height: 100vh;
    overflow: hidden;
    color: var(--ink);
    background: radial-gradient(950px 600px at 7% 0%,var(--accentTint),transparent 62%),radial-gradient(850px 560px at 98% 18%,color-mix(in srgb,var(--accent) 7%,transparent),transparent 63%),var(--bg)
}
.home-page*[b-w2nmzbtm49],
.home-page *[b-w2nmzbtm49]::before,
.home-page *[b-w2nmzbtm49]::after {
        box-sizing: border-box
    }
.home-page a[b-w2nmzbtm49] {
        color: inherit
    }
.public-header[b-w2nmzbtm49] {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb,var(--bg) 84%,transparent);
    backdrop-filter: blur(20px) saturate(1.15)
}
.public-header__inner[b-w2nmzbtm49] {
    width: min(1320px,calc(100% - 30px));
    min-height: 72px;
    margin: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 25px
}
.brand[b-w2nmzbtm49] {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none
}
.brand__mark[b-w2nmzbtm49] {
    position: relative;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid color-mix(in srgb,var(--accent2) 28%,transparent);
    border-radius: 14px;
    background: linear-gradient(145deg,var(--accent),var(--accent2));
    color: #34270f;
    box-shadow: 0 12px 26px color-mix(in srgb,var(--accent) 22%,transparent)
}
.brand__mark[b-w2nmzbtm49]::after {
        content: "";
        position: absolute;
        inset: -50%;
        background: linear-gradient(120deg,transparent 35%,rgba(255,255,255,.44) 50%,transparent 65%);
        transform: translateX(-90%) rotate(12deg);
        animation: logo-shine-b-w2nmzbtm49 7s ease-in-out infinite
    }
.brand__mark svg[b-w2nmzbtm49] {
        position: relative;
        z-index: 1;
        width: 27px;
        height: 27px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.1;
        stroke-linecap: round;
        stroke-linejoin: round
    }
.brand__copy[b-w2nmzbtm49] {
    display: flex;
    flex-direction: column
}
.brand__copy strong[b-w2nmzbtm49] {
        font-size: .72rem;
        font-weight: 900
    }
.brand__copy small[b-w2nmzbtm49] {
        margin-top: 2px;
        color: var(--muted);
        font-size: .47rem;
        font-weight: 700;
        white-space: nowrap
    }
.public-nav[b-w2nmzbtm49] {
    display: flex;
    justify-content: center;
    gap: 25px
}
.public-nav a[b-w2nmzbtm49] {
        position: relative;
        padding: 9px 0;
        color: var(--text2);
        font-size: .81rem;
        font-weight: 760;
        text-decoration: none
    }
.public-nav a[b-w2nmzbtm49]::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: 3px;
            width: 0;
            height: 2px;
            border-radius: 99px;
            background: var(--accent2);
            transform: translateX(-50%);
            transition: .18s
        }
.public-nav a:hover[b-w2nmzbtm49] {
            color: var(--ink)
        }
.public-nav a:hover[b-w2nmzbtm49]::after {
                width: 70%
            }
.public-header__actions[b-w2nmzbtm49] {
    display: flex;
    align-items: center;
    gap: 7px
}
.lang-button[b-w2nmzbtm49],
.signin-button[b-w2nmzbtm49],
.header-cta[b-w2nmzbtm49] {
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 11px;
    text-decoration: none;
    font-size: .57rem;
    font-weight: 820;
    transition: .17s
}
.lang-button[b-w2nmzbtm49] {
    min-width: 40px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text2)
}
.signin-button[b-w2nmzbtm49] {
    padding-inline: 13px;
    border: 1px solid var(--line);
    background: color-mix(in srgb,var(--surface) 78%,transparent);
    color: var(--text2)
}
.header-cta[b-w2nmzbtm49] {
    padding-inline: 15px;
    border: 1px solid color-mix(in srgb,var(--accent2) 30%,transparent);
    background: linear-gradient(135deg,var(--accent),var(--accent2));
    color: #34270f;
    box-shadow: 0 9px 22px color-mix(in srgb,var(--accent) 18%,transparent)
}
.lang-button:hover[b-w2nmzbtm49],
.signin-button:hover[b-w2nmzbtm49],
.header-cta:hover[b-w2nmzbtm49] {
        transform: translateY(-1px)
    }
.section[b-w2nmzbtm49] {
    padding: 100px 0
}
/* HERO */
.hero[b-w2nmzbtm49] {
    position: relative;
    isolation: isolate;
    padding: 92px 0 34px
}
.hero h1[b-w2nmzbtm49] {
    margin: 23px 0 19px;
    font-size: clamp(3rem,5.65vw,5.35rem);
    font-weight: 950;
    line-height: 1.055;
    letter-spacing: -.065em
}
.home-page[dir=rtl] .hero h1[b-w2nmzbtm49] {
    letter-spacing: -.025em
}
.hero h1 strong[b-w2nmzbtm49] {
    display: block;
    margin-top: 3px;
    color: transparent;
    background: linear-gradient(110deg,color-mix(in srgb,var(--accent2) 76%,#8d5f18),var(--accent),color-mix(in srgb,var(--accent2) 80%,#9b6d25));
    background-clip: text;
    -webkit-background-clip: text
}
.button[b-w2nmzbtm49] {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 19px;
    border-radius: 14px;
    text-decoration: none;
    font-size: .66rem;
    font-weight: 860;
    transition: .18s
}
.button:hover[b-w2nmzbtm49] {
        transform: translateY(-2px)
    }
/* RESPONSIVE */
@media(max-width:1120px) {
    .public-nav[b-w2nmzbtm49] {
        display: none
    }

    .public-header__inner[b-w2nmzbtm49] {
        grid-template-columns: 1fr auto
    }

    .hero__layout[b-w2nmzbtm49] {
        grid-template-columns: 1fr;
        gap: 38px
    }

    .hero__copy[b-w2nmzbtm49] {
        max-width: 820px;
        margin: auto;
        text-align: center
    }

        .eyebrow[b-w2nmzbtm49], .hero__copy > p[b-w2nmzbtm49] {
            margin-inline: auto
        }

    .hero__actions[b-w2nmzbtm49], .hero__trust[b-w2nmzbtm49] {
        justify-content: center
    }

    .hero-visual[b-w2nmzbtm49] {
        width: min(690px,100%);
        margin: auto
    }

    .difference-grid[b-w2nmzbtm49], .workflow-shell[b-w2nmzbtm49], .preservation-shell[b-w2nmzbtm49] {
        grid-template-columns: 1fr
    }

    .workflow-copy[b-w2nmzbtm49] {
        position: static
    }

    .bento--layout[b-w2nmzbtm49], .bento--ocr[b-w2nmzbtm49], .bento:not(.bento--layout):not(.bento--ocr)[b-w2nmzbtm49] {
        grid-column: span 6
    }

    .pricing-heading[b-w2nmzbtm49] {
        grid-template-columns: 1fr;
        align-items: start
    }

    .final-cta[b-w2nmzbtm49] {
        grid-template-columns: 1fr
    }

        .final-cta aside[b-w2nmzbtm49] {
            width: min(430px,100%);
            margin: auto
        }
}
@media(max-width:820px) {
    .section[b-w2nmzbtm49] {
        padding: 78px 0
    }

    .hero[b-w2nmzbtm49] {
        padding-top: 70px
    }

    .hero-visual[b-w2nmzbtm49] {
        transform: scale(.88);
        transform-origin: center top;
        margin-bottom: -48px
    }

    .hero-metrics[b-w2nmzbtm49] {
        grid-template-columns: 1fr 1fr
    }

        .hero-metrics > div:nth-child(2)[b-w2nmzbtm49] {
            border-inline-end: 0
        }

        .hero-metrics > div:nth-child(-n+2)[b-w2nmzbtm49] {
            border-bottom: 1px solid var(--line)
        }

    .bento-grid[b-w2nmzbtm49] {
        grid-template-columns: 1fr
    }

    .bento--layout[b-w2nmzbtm49], .bento--ocr[b-w2nmzbtm49], .bento:not(.bento--layout):not(.bento--ocr)[b-w2nmzbtm49] {
        grid-column: auto
    }

    .preservation-shell[b-w2nmzbtm49] {
        padding: 28px
    }

    .public-footer > .container[b-w2nmzbtm49] {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center
    }

    .public-footer nav[b-w2nmzbtm49] {
        flex-wrap: wrap;
        justify-content: center
    }
}
@media(max-width:620px) {
    .container[b-w2nmzbtm49] {
        width: min(100% - 24px,1240px)
    }

    .public-header__inner[b-w2nmzbtm49] {
        min-height: 64px;
        width: min(100% - 18px,1320px);
        gap: 8px
    }

    .brand__copy small[b-w2nmzbtm49], .signin-button[b-w2nmzbtm49] {
        display: none
    }

    .header-cta[b-w2nmzbtm49] {
        padding-inline: 11px;
        font-size: .51rem
    }

    .hero[b-w2nmzbtm49] {
        padding-top: 58px
    }

        .hero h1[b-w2nmzbtm49] {
            font-size: clamp(2.6rem,13vw,4rem)
        }

    .hero__copy > p[b-w2nmzbtm49] {
        font-size: .74rem
    }

    .hero__actions[b-w2nmzbtm49] {
        flex-direction: column
    }

        .hero__actions .button[b-w2nmzbtm49] {
            width: 100%
        }

    .hero-visual[b-w2nmzbtm49] {
        width: 640px;
        max-width: none;
        margin-left: 50%;
        transform: translateX(-50%) scale(.67);
        margin-bottom: -150px
    }

    .home-page[dir=rtl] .hero-visual[b-w2nmzbtm49] {
        margin-left: 0;
        margin-right: 50%;
        transform: translateX(50%) scale(.67)
    }

    .hero-metrics > div[b-w2nmzbtm49] {
        min-height: 78px;
        padding: 13px 14px
    }

    .difference-grid[b-w2nmzbtm49] {
        grid-template-columns: 1fr
    }

    .difference-card[b-w2nmzbtm49] {
        min-height: 0;
        padding: 17px
    }

    .plain-visual[b-w2nmzbtm49], .pro-visual[b-w2nmzbtm49] {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 11px
    }

        .plain-visual > strong[b-w2nmzbtm49] {
            transform: rotate(90deg)
        }

    .pro-bridge[b-w2nmzbtm49] {
        flex-direction: row
    }

        .pro-bridge i[b-w2nmzbtm49] {
            width: 48px;
            height: 2px
        }

    .section-heading h2[b-w2nmzbtm49], .workflow-copy h2[b-w2nmzbtm49], .preservation-copy h2[b-w2nmzbtm49], .pricing-heading h2[b-w2nmzbtm49] {
        font-size: clamp(1.8rem,10vw,2.6rem)
    }

    .layout-demo[b-w2nmzbtm49], .ocr-demo[b-w2nmzbtm49] {
        position: relative;
        inset: auto;
        width: 100%;
        margin-top: 22px
    }

    .bento--layout[b-w2nmzbtm49], .bento--ocr[b-w2nmzbtm49] {
        min-height: 420px
    }

    .workflow-list[b-w2nmzbtm49] {
        padding-inline-start: 26px
    }

        .workflow-list article[b-w2nmzbtm49] {
            grid-template-columns: 40px 1fr
        }

            .workflow-list article > span[b-w2nmzbtm49] {
                display: none
            }

    .preservation-shell[b-w2nmzbtm49] {
        padding: 18px;
        border-radius: 22px
    }

    .preservation-page[b-w2nmzbtm49] {
        padding: 26px 18px
    }

    .preservation-cols[b-w2nmzbtm49] {
        grid-template-columns: 1fr
    }

    .preservation-points[b-w2nmzbtm49] {
        grid-template-columns: 1fr
    }

    .package-grid[b-w2nmzbtm49] {
        grid-template-columns: 1fr
    }

    .package-card[b-w2nmzbtm49] {
        min-height: 0
    }

    .final-cta[b-w2nmzbtm49] {
        min-height: 520px;
        padding: 38px 24px;
        border-radius: 23px
    }

        .final-cta h2[b-w2nmzbtm49] {
            font-size: clamp(2rem,11vw,3rem)
        }

        .final-cta > div > div[b-w2nmzbtm49] {
            flex-direction: column
        }

        .final-cta .button[b-w2nmzbtm49] {
            width: 100%
        }
}
@keyframes logo-shine-b-w2nmzbtm49 {
    0%,74% {
        transform: translateX(-90%) rotate(12deg)
    }

    88%,100% {
        transform: translateX(90%) rotate(12deg)
    }
}

@supports(animation-timeline:view()) {
    .landing-reveal[b-w2nmzbtm49] {
        animation: reveal-b-w2nmzbtm49 linear both;
        animation-timeline: view();
        animation-range: entry 6% cover 28%
    }

    @keyframes reveal-b-w2nmzbtm49 {
        from {
            opacity: .3;
            transform: translateY(22px) scale(.992)
        }

        to {
            opacity: 1;
            transform: none
        }
    }
}
@media(prefers-reduced-motion:reduce) {
    .home-page *[b-w2nmzbtm49], .home-page *[b-w2nmzbtm49]::before, .home-page *[b-w2nmzbtm49]::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important
    }
}
@media (prefers-reduced-motion: reduce) {
.home-page .hero h1[b-w2nmzbtm49],
.home-page .hero h1 strong[b-w2nmzbtm49] {
        animation-name: heroGoldShimmer-b-w2nmzbtm49 !important;
        animation-duration: 4s !important;
        animation-timing-function: linear !important;
        animation-iteration-count: infinite !important;
    }

}
/* LANDING COMPARE COMPACT V2 - END */
/* LANDING HERO EXACT POLISH V3 - START */
/* Exact V1 selectors:
   .hero__copy
   .hero-video-stage
   .hero-metrics
   The user's WebM remains untouched.
*/
.hero[b-w2nmzbtm49] {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: 58px 0 34px !important;
}
.hero[b-w2nmzbtm49]::before {
        content: "";
        position: absolute;
        inset: 18px 18px 8px;
        z-index: -3;
        border: 1px solid color-mix(in srgb, var(--accent2) 16%, var(--line));
        border-radius: 36px;
        background: radial-gradient(circle at 10% 18%, color-mix(in srgb, #ffffff 17%, transparent), transparent 28% 28%), radial-gradient(circle at 88% 20%, color-mix(in srgb, #ffffff 8%, #d1be8ab5), #bba47382 24%), linear-gradient(145deg, color-mix(in srgb, rgb(255 255 255 / 80%) 86%, #ffffff70), color-mix(in srgb, rgb(111 103 89 / 0%) 58%, #4d4223));
        box-shadow: 0 26px 70px rgba(70, 52, 14, .07), inset 0 1px 0 rgba(255,255,255,.72);
    }
.hero[b-w2nmzbtm49]::after {
        content: "";
        position: absolute;
        inset-inline-end: 5.5%;
        top: 10%;
        z-index: -2;
        width: 360px;
        height: 360px;
        border-radius: 50%;
        background: radial-gradient(circle, color-mix(in srgb, var(--accent) 13%, transparent), transparent 68%);
        filter: blur(20px);
        animation: hero-v3-breathe-b-w2nmzbtm49 6.5s ease-in-out infinite;
    }
.hero h1[b-w2nmzbtm49] {
    margin: 18px 0 18px !important;
    font-size: clamp(3.25rem, 5.8vw, 3.45rem) !important;
    line-height: 1.02 !important;
    font-weight: 980 !important;
    letter-spacing: -.055em !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    /* IMPORTANT:
       Do NOT use the background shorthand here.
       An old background: ... !important freezes background-position
       and prevents the shimmer keyframes from moving it.
    */
    background-image: linear-gradient( 110deg, #9b6a0e 0%, #c88710 22%, #e8ad26 38%, #ffd85e 46%, #fff4c4 50%, #ffd85e 54%, #e8ad26 62%, #c88710 78%, #9b6a0e 100% ) !important;
    background-size: 260% 100% !important;
    background-repeat: no-repeat !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    text-shadow: 0 14px 42px rgba(211, 158, 35, .12) !important;
    animation: heroGoldShimmer-b-w2nmzbtm49 4.2s linear infinite !important;
}
.home-page[dir="rtl"] .hero h1[b-w2nmzbtm49] {
    letter-spacing: -.025em !important;
}
.hero h1 strong[b-w2nmzbtm49] {
    display: block !important;
    margin-top: 5px !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    background-image: linear-gradient( 110deg, #ad730c 0%, #d79614 22%, #f0bb35 38%, #ffe16f 46%, #fff7ce 50%, #ffe16f 54%, #f0bb35 62%, #d79614 78%, #ad730c 100% ) !important;
    background-size: 260% 100% !important;
    background-repeat: no-repeat !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    animation: heroGoldShimmer-b-w2nmzbtm49 4.2s linear infinite !important;
    animation-delay: -1.05s !important;
}
/* Dark */
html[data-theme="dark"] .hero[b-w2nmzbtm49]::before {
    background: radial-gradient(circle at 10% 18%, rgba(222, 174, 53, .12), transparent 28%), radial-gradient(circle at 88% 20%, rgba(222, 174, 53, .07), transparent 24%), linear-gradient(145deg, rgba(40, 33, 23, .91), rgba(26, 22, 17, .91)) !important;
    border-color: rgba(221, 178, 68, .13) !important;
    box-shadow: 0 26px 70px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.035) !important;
}
@media (max-width: 680px) {
.hero[b-w2nmzbtm49] {
        padding: 48px 0 28px !important;
    }
.hero[b-w2nmzbtm49]::before {
            inset: 10px 8px 6px !important;
            border-radius: 28px !important;
        }
.hero h1[b-w2nmzbtm49] {
            font-size: clamp(2.5rem, 12vw, 4rem) !important;
        }

}

@keyframes hero-v3-breathe-b-w2nmzbtm49 {
    0%,100% {
        transform: scale(.96);
        opacity: .72;
    }

    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
.hero[b-w2nmzbtm49]::after {
        animation: none !important;
    }

}
/* LANDING HERO EXACT POLISH V3 - END */
/* LANDING HERO POLISH V3.3 - START */
/* Hero title: slightly smaller and more balanced */
.hero h1[b-w2nmzbtm49] {
    font-size: clamp(2.55rem, 4.6vw, 4.15rem) !important;
    line-height: 1.06 !important;
}
@media (max-width: 680px) {
.hero h1[b-w2nmzbtm49] {
        font-size: clamp(2.25rem, 10.8vw, 3.5rem) !important;
    }

}
/* HERO METRICS COMPACT FINAL - END */
.hero h1[b-w2nmzbtm49] {
    margin: 18px 0 18px !important;
    font-size: clamp(3.25rem, 5.8vw, 3.45rem) !important;
    line-height: 1.02 !important;
    font-weight: 980 !important;
    letter-spacing: -.055em !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    /* مهم: background shorthand استفاده نکن */
    background-image: linear-gradient( 105deg, #9b6a0e 0%, #d49a1c 18%, #f5c84d 34%, #fff0a2 47%, #ffffff 50%, #fff0a2 53%, #f5c84d 66%, #d49a1c 82%, #9b6a0e 100% ) !important;
    background-size: 320% 100% !important;
    background-repeat: no-repeat !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    /*
       روی background-position به هیچ وجه !important نگذار.
       باید keyframe بتواند آن را تغییر دهد.
    */
    background-position: -160% 50%;
    text-shadow: 0 14px 42px rgba(211, 158, 35, .12) !important;
    animation-name: heroGoldShimmer-b-w2nmzbtm49;
    animation-duration: 4s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.hero h1 strong[b-w2nmzbtm49] {
        display: block !important;
        margin-top: 5px !important;
        color: transparent !important;
        -webkit-text-fill-color: transparent !important;
        background-image: linear-gradient( 105deg, #a96f08 0%, #dc9e19 18%, #f7cb50 34%, #fff09d 47%, #ffffff 50%, #fff09d 53%, #f7cb50 66%, #dc9e19 82%, #a96f08 100% ) !important;
        background-size: 320% 100% !important;
        background-repeat: no-repeat !important;
        background-clip: text !important;
        -webkit-background-clip: text !important;
        background-position: -160% 50%;
        animation-name: heroGoldShimmer-b-w2nmzbtm49;
        animation-duration: 4s;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        animation-delay: -1.1s;
    }
@keyframes heroGoldShimmer-b-w2nmzbtm49 {
    0% {
        background-position: -190% 50%;
    }

    100% {
        background-position: 90% 50%;
    }
}
/*
   The global reduced-motion rule in this file sets every animation
   to .001ms !important. Keep the user's requested title animation
   alive even when that media query is active.
*/
@media (prefers-reduced-motion: reduce) {
.home-page .hero h1[b-w2nmzbtm49],
.home-page .hero h1 strong[b-w2nmzbtm49] {
        animation-name: heroGoldShimmer-b-w2nmzbtm49 !important;
        animation-duration: 4.2s !important;
        animation-timing-function: linear !important;
        animation-iteration-count: infinite !important;
    }
.home-page .hero h1 strong[b-w2nmzbtm49] {
            animation-delay: -1.05s !important;
        }

}
/* ==========================================================
   END HERO TITLE — VERIFIED MOVING GOLD
   ========================================================== */
/* =========================================================
   HERO TITLE — FIXED TEXT / MOVING GOLD SHINE ONLY
   ========================================================= */
.home-page .hero h1[b-w2nmzbtm49],
.home-page .hero h1 strong[b-w2nmzbtm49] {
    /* خود نوشته همیشه ثابت و قابل مشاهده بماند */
    opacity: 1 !important;
    transform: none !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    /*
       Layer 1 = نور متحرک
       Layer 2 = طلایی ثابت
    */
    background-image: linear-gradient(105deg, transparent 0%, transparent 38%, rgba(255, 235, 155, 0.15) 44%, rgba(255, 250, 210, 0.95) 50%, rgba(255, 235, 155, 0.15) 56%, transparent 62%, transparent 100%), linear-gradient(115deg, #b98800 0%, #ab7e00 22%, #cb9500 45%, #bf8d00 68%, #a77b00 100%) !important;
    /*
       لایه اول بزرگ و متحرک
       لایه دوم همیشه 100% ثابت
    */
    background-size: 240% 100%, 100% 100% !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: 180% 50%, 0 50%;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    animation: heroGoldLightSweep-b-w2nmzbtm49 4.8s linear infinite !important;
    will-change: background-position;
}
/* خط دوم همان رنگ، فقط نور کمی دیرتر عبور کند */
.home-page .hero h1 strong[b-w2nmzbtm49] {
        animation-delay: -1.2s !important;
    }
@keyframes heroGoldLightSweep-b-w2nmzbtm49 {
    0% {
        background-position: -80% 50%, 0 50%;
    }

    100% {
        background-position: 180% 50%, 0 50%;
    }
}
/*
   CSS فعلی پروژه در Reduce Motion همه animationها را می‌کشد.
   فقط همین shine را دوباره فعال می‌کنیم.
*/
@media (prefers-reduced-motion: reduce) {
.home-page .hero h1[b-w2nmzbtm49],
.home-page .hero h1 strong[b-w2nmzbtm49] {
        animation: heroGoldLightSweep-b-w2nmzbtm49 4.8s linear infinite !important;
    }
.home-page .hero h1 strong[b-w2nmzbtm49] {
            animation-delay: -1.2s !important;
        }

}
/* =========================================================
   HERO BACKGROUND RINGS — FINAL UNIFORM INFINITE WAVES
   Fixed spacing / continuous loop / late fade / full gold
   ========================================================= */
/* =========================================================
   HERO BOUNDARY
   حلقه‌ها نباید از کادر اصلی Hero خارج شوند
   مقادیر دقیقاً مطابق قاب فعلی Hero هستند
   ========================================================= */
.hero[b-w2nmzbtm49] {
    overflow: hidden !important;
    /*
       قاب فعلی Hero:
       inset: 18px 18px 8px;
       border-radius: 36px;
    */
    clip-path: inset( 18px 18px 8px 18px round 36px ) !important;
}

/* =========================================================
   MOBILE HERO BOUNDARY

   قاب موبایل Hero در CSS اصلی:
       inset: 10px 8px 6px
       radius: 28px
   ========================================================= */
@media (max-width: 680px) {
.hero[b-w2nmzbtm49] {
        clip-path: inset( 10px 8px 6px 8px round 28px ) !important;
    }

}
/* HERO — MORE SPACE BELOW METRIC CARDS */
.hero[b-w2nmzbtm49] {
    padding-bottom: 64px !important;
}

/* =========================================================
   WORKFLOW PREMIUM — CLEAN FINAL BASE
   ========================================================= */
/* =========================================================
   SECTION
   ========================================================= */
.workflow-premium[b-w2nmzbtm49] {
    position: relative;
    overflow: hidden;
    padding: 90px 0 82px;
    color: #f6efe3;
    background: radial-gradient( 900px 560px at 5% 12%, rgba(224, 170, 39, .12), transparent 67% ), radial-gradient( 800px 560px at 95% 88%, rgba(194, 137, 27, .08), transparent 70% ), linear-gradient( 145deg, #1c1711 0%, #241d15 48%, #18130f 100% );
}
/* texture */
.workflow-premium[b-w2nmzbtm49]::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        opacity: .13;
        background-image: linear-gradient( rgba(255,255,255,.018) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255,255,255,.014) 1px, transparent 1px );
        background-size: 52px 52px;
    }
/* ambient gold */
.workflow-premium[b-w2nmzbtm49]::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -420px;
        width: 980px;
        height: 740px;
        transform: translateX(-50%);
        border-radius: 50%;
        background: radial-gradient( circle, rgba(220,163,28,.085), transparent 68% );
        filter: blur(30px);
        pointer-events: none;
    }
.workflow-premium__inner[b-w2nmzbtm49] {
    position: relative;
    z-index: 2;
    width: min( 1240px, calc(100% - 42px) );
    margin-inline: auto;
}
/* =========================================================
   HEADER
   ========================================================= */
.workflow-premium__header[b-w2nmzbtm49] {
    width: min(920px, 100%);
    margin-inline: auto;
    margin-bottom: 52px;
    text-align: center;
}
.workflow-premium__eyebrow[b-w2nmzbtm49] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 36px;
    padding: 0 15px;
    border: 1px solid rgba(223,171,45,.24);
    border-radius: 999px;
    background: rgba(223,171,45,.07);
    color: #edbb3d;
    font-size: .82rem;
    font-weight: 900;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.workflow-premium__eyebrow > span[b-w2nmzbtm49] {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #e3ab25;
        box-shadow: 0 0 0 5px rgba(227,171,37,.10), 0 0 17px rgba(227,171,37,.30);
    }
.workflow-premium__header h2[b-w2nmzbtm49] {
    max-width: 820px;
    margin: 18px auto 14px;
    color: #f8f0e4;
    font-size: clamp( 2.75rem, 4vw, 4.45rem );
    line-height: 1.14;
    font-weight: 950;
    opacity: 1 !important;
    transform: none !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    background-image: linear-gradient(105deg, transparent 0%, transparent 38%, rgba(255, 235, 155, 0.15) 44%, rgba(255, 250, 210, 0.95) 50%, rgba(255, 235, 155, 0.15) 56%, transparent 62%, transparent 100%), linear-gradient(115deg, #8b7129 0%, #b19443 22%, #f5d57e 45%, #99791c 68%, #ffd358 100%) !important;
    background-size: 240% 100%, 100% 100% !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: 180% 50%, 0 50%;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    animation: heroGoldLightSweep-b-w2nmzbtm49 4.8s linear infinite !important;
    will-change: background-position;
}
.home-page[dir="rtl"]
.workflow-premium__header h2[b-w2nmzbtm49] {
    letter-spacing: -.015em;
}
.workflow-premium__header > p[b-w2nmzbtm49] {
    max-width: 790px;
    margin-inline: auto;
    color: #b9ac9a;
    font-size: 1.02rem;
    line-height: 2.05;
    font-weight: 600;
}
/* =========================================================
   MINI FLOW
   ========================================================= */
.workflow-premium__mini-flow[b-w2nmzbtm49] {
    width: min(540px, 100%);
    margin: 25px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.workflow-premium__mini-flow span[b-w2nmzbtm49] {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        display: grid;
        place-items: center;
        border-radius: 13px;
        border: 1px solid rgba(224,174,48,.24);
        background: linear-gradient( 145deg, rgba(224,174,48,.12), rgba(224,174,48,.045) );
        color: #e9b73c;
        font-size: .68rem;
        font-weight: 950;
    }
.workflow-premium__mini-flow i[b-w2nmzbtm49] {
        flex: 1;
        height: 1px;
        background: linear-gradient( 90deg, transparent, rgba(226,176,51,.30), transparent );
    }
.workflow-premium__cta[b-w2nmzbtm49] {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #e7b439;
    font-size: .84rem;
    font-weight: 900;
    text-decoration: none;
    transition: color .25s ease, transform .25s ease;
}
.workflow-premium__cta:hover[b-w2nmzbtm49] {
        color: #ffd86d;
        transform: translateY(-2px);
    }
/* =========================================================
   TRACK
   ========================================================= */
.workflow-track[b-w2nmzbtm49] {
    position: relative;
    isolation: isolate;
    /*
       جای Rail و Connector
    */
    padding-bottom: 92px;
    overflow: visible;
}
/* =========================================================
   FIVE CARDS
   ========================================================= */
.workflow-cards[b-w2nmzbtm49] {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat( 5, minmax(0,1fr) );
    gap: 16px;
}
/* =========================================================
   CARD
   ========================================================= */
.workflow-step[b-w2nmzbtm49] {
    position: relative;
    min-width: 0;
    min-height: 242px;
    padding: 20px 20px 22px;
    overflow: hidden;
    border: 1px solid rgba(225,177,61,.24);
    border-radius: 26px;
    background: radial-gradient(circle at 84% 4%, rgba(225, 175, 48, .14), transparent 38%), radial-gradient(circle at 12% 94%, rgba(225, 175, 48, .055), transparent 34%), linear-gradient(150deg, rgb(119 103 82 / 82%), rgb(85 78 59 / 97%) 48%, rgb(73 65 47 / 99%)); box-shadow: 0 15px 32px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.035);
    /*
       فقط JS این Variable را تغییر می‌دهد.
    */
    transform: translate3d( 0, var(--wf-lift, 0px), 0 );
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.workflow-step:hover[b-w2nmzbtm49] {
        border-color: rgba(235,187,66,.42);
        box-shadow: 0 22px 42px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.045);
    }
/* =========================================================
   CARD TOP
   ========================================================= */
.workflow-step__top[b-w2nmzbtm49] {
    position: relative;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 19px;
}
.workflow-step__number[b-w2nmzbtm49] {
    min-width: 66px;
    height: 50px;
    padding: 0 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(227,177,49,.35);
    border-radius: 15px;
    background: linear-gradient( 145deg, rgba(226,173,42,.20), rgba(151,105,15,.10) );
    box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 7px 17px rgba(0,0,0,.10);
}
.workflow-step__number small[b-w2nmzbtm49] {
        color: #a18451;
        font-size: .40rem;
        font-weight: 900;
        letter-spacing: .08em;
    }
.workflow-step__number strong[b-w2nmzbtm49] {
        color: #f0bd3b;
        font-size: .92rem;
        line-height: 1;
        font-weight: 950;
    }
.workflow-step__icon[b-w2nmzbtm49] {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    border: 1px solid rgba(228,179,55,.32);
    background: radial-gradient( circle at 30% 25%, rgba(255,224,135,.14), transparent 55% ), rgba(225,174,44,.10);
    color: #efbc3a;
    font-size: .60rem;
    font-weight: 950;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 8px 18px rgba(0,0,0,.10);
}
.workflow-step__icon--done[b-w2nmzbtm49] {
    font-size: 1rem;
}
/* =========================================================
   TEXT
   ========================================================= */
.workflow-step__content[b-w2nmzbtm49] {
    position: relative;
    z-index: 8;
    min-width: 0;
}
.home-page[dir="rtl"]
.workflow-step__content[b-w2nmzbtm49] {
    direction: rtl;
    text-align: right;
}
.home-page[dir="ltr"]
.workflow-step__content[b-w2nmzbtm49] {
    direction: ltr;
    text-align: left;
}
.workflow-step__label[b-w2nmzbtm49] {
    display: block;
    margin-bottom: 9px;
    color: #d3a535;
    font-size: .59rem;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .10em;
}
.workflow-step__content h3[b-w2nmzbtm49] {
    margin: 0 0 9px;
    color: #fff0c4;
    font-size: 1.13rem;
    line-height: 1.45;
    font-weight: 950;
}
.workflow-step__content p[b-w2nmzbtm49] {
    margin: 0;
    color: #c2b5a3;
    font-size: .76rem;
    line-height: 1.95;
    font-weight: 600;
}
/* =========================================================
   SVG MOTION
   ========================================================= */
.workflow-motion-svg[b-w2nmzbtm49] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 5;
    overflow: visible;
    pointer-events: none;
}
/* =========================================================
   STATIC RAIL
   ========================================================= */
.wf-rail-base[b-w2nmzbtm49] {
    fill: none;
    stroke: rgba(228,177,54,.36);
    stroke-width: 2;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}
/* =========================================================
   STATIC CONNECTOR
   ========================================================= */
.wf-connector-bases line[b-w2nmzbtm49] {
    stroke: rgba(221,164,34,.25);
    stroke-width: 1.55;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}
/* =========================================================
   INTERSECTION NODE
   ========================================================= */
.wf-node-outer[b-w2nmzbtm49] {
    fill: #21180e;
    stroke: rgba(236,186,62,.78);
    stroke-width: 1.6;
    vector-effect: non-scaling-stroke;
}
.wf-node-core[b-w2nmzbtm49] {
    fill: #e0aa28;
    stroke: rgba(255,235,173,.72);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}
.wf-node-halo[b-w2nmzbtm49] {
    fill: rgba(241,191,70,.24);
    opacity: 0;
}
/* =========================================================
   MEASURE PATHS
   ========================================================= */
.wf-measure-group[b-w2nmzbtm49] {
    opacity: 0;
    pointer-events: none;
}
.wf-measure-group path[b-w2nmzbtm49] {
        fill: none;
        stroke: none;
    }
/* =========================================================
   CONNECTOR GOLD TRAIL
   ========================================================= */
.wf-active-connector[b-w2nmzbtm49] {
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    opacity: 0;
}
.wf-active-connector--glow[b-w2nmzbtm49] {
    stroke: #e9b43a;
    stroke-width: 7;
}
.wf-active-connector--core[b-w2nmzbtm49] {
    stroke: #efbb44;
    stroke-width: 2.25;
}
/* =========================================================
   BORDER GOLD TRAIL
   ========================================================= */
.wf-active-border[b-w2nmzbtm49] {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    opacity: 0;
}
.wf-active-border--glow[b-w2nmzbtm49] {
    stroke: #eab63a;
    stroke-width: 6.5;
}
.wf-active-border--core[b-w2nmzbtm49] {
    stroke: #e7ad2c;
    stroke-width: 2.25;
}
/* =========================================================
   THE ONE LIGHT
   ========================================================= */
.wf-light-head[b-w2nmzbtm49] {
    opacity: 0;
    will-change: transform, opacity;
}
/*
   نور پهن Fade
   */
/* =========================================================
   MOVING LIGHT — PURE FADE GLOW
   فقط ظاهر نور؛ Motion دست‌نخورده
   ========================================================= */
.wf-light-head[b-w2nmzbtm49] {
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}
/* هاله‌ی خارجی */
.wf-light-head__fade-wide[b-w2nmzbtm49] {
    opacity: .74;
    pointer-events: none;
}
/* نور اصلی */
.wf-light-head__fade-soft[b-w2nmzbtm49] {
    opacity: .94;
    pointer-events: none;
}
/* مرکز نرم، بدون خط سفید تیز */
.wf-light-head__fade-center[b-w2nmzbtm49] {
    opacity: .72;
    pointer-events: none;
}
/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 1180px) {
.workflow-cards[b-w2nmzbtm49] {
        grid-template-columns: repeat( 2, minmax(0,1fr) );
    }
.workflow-track[b-w2nmzbtm49] {
        padding-bottom: 0;
    }
/*
       Rail افقی فقط برای 5 کارت تک‌ردیفه.
    */
.workflow-motion-svg[b-w2nmzbtm49] {
        display: none;
    }
.workflow-step[b-w2nmzbtm49] {
        transform: none !important;
    }

}
/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 720px) {
.workflow-premium[b-w2nmzbtm49] {
        padding: 70px 0 64px;
    }
.workflow-premium__inner[b-w2nmzbtm49] {
        width: min( calc(100% - 24px), 1240px );
    }
.workflow-premium__header[b-w2nmzbtm49] {
        margin-bottom: 36px;
    }
.workflow-premium__header h2[b-w2nmzbtm49] {
            font-size: clamp( 2.15rem, 10vw, 3.2rem );
        }
.workflow-premium__header > p[b-w2nmzbtm49] {
            font-size: .91rem;
        }
.workflow-cards[b-w2nmzbtm49] {
        grid-template-columns: 1fr;
    }
.workflow-step[b-w2nmzbtm49] {
        min-height: 190px;
        padding: 18px;
        border-radius: 21px;
    }
.workflow-step__content h3[b-w2nmzbtm49] {
        font-size: 1.04rem;
    }
.workflow-step__content p[b-w2nmzbtm49] {
        font-size: .70rem;
    }
.workflow-premium__mini-flow[b-w2nmzbtm49] {
        gap: 5px;
    }
.workflow-premium__mini-flow span[b-w2nmzbtm49] {
            width: 34px;
            height: 34px;
            flex-basis: 34px;
            border-radius: 10px;
            font-size: .54rem;
        }

}
/* =========================================================
   WORKFLOW TRACK — REQUIRED FOR SVG GEOMETRY
   ========================================================= */
.workflow-track[b-w2nmzbtm49] {
    position: relative !important;
    isolation: isolate !important;
    /*
       فضای مخصوص Rail و Nodeهای زیر کارت‌ها
    */
    padding-bottom: 92px !important;
    overflow: visible !important;
}
/* =========================================================
   WORKFLOW CARDS LAYER
   ========================================================= */
.workflow-cards[b-w2nmzbtm49] {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: repeat( 5, minmax(0, 1fr) ) !important;
    gap: 16px !important;
}
/* =========================================================
   WORKFLOW SVG LAYER
   ========================================================= */
.workflow-motion-svg[b-w2nmzbtm49] {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 5 !important;
    overflow: visible !important;
    pointer-events: none !important;
}
/* حذف کامل ردیف 01 تا 05 بالای Workflow */
.workflow-premium__mini-flow[b-w2nmzbtm49] {
    display: none !important;
}
.home-page a[b-w2nmzbtm49] {
    display: none !important;
}
/* فاصله بیشتر بین بخش قبلی و Workflow */
.workflow-premium[b-w2nmzbtm49] {
    margin-top: 36px !important;
}
@media (max-width: 720px) {
.workflow-premium[b-w2nmzbtm49] {
        margin-top: 24px !important;
    }

}

/* =========================================================
   VIEWPORT
   ========================================================= */
.formats-reference__viewport[b-w2nmzbtm49] {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    top: 101px;
    height: 166px;
    overflow: hidden;
    direction: ltr;
}
/* =========================================================
   LOOP
   IMPORTANT:
   این قسمت همان Loop فعلی است.
   منطقش تغییر نکرده.
   ========================================================= */
.formats-reference__track[b-w2nmzbtm49] {
    position: absolute;
    left: 0;
    top: 7px;
    display: flex;
    align-items: center;
    width: max-content;
    direction: ltr;
    will-change: transform;
    transform: translate3d( 0, 0, 0 );
    animation: formatsReferenceInfinite-b-w2nmzbtm49 36s linear infinite;
    transform-style: preserve-3d;
}
.formats-reference__group[b-w2nmzbtm49] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: var(--format-gap);
    padding-right: var(--format-gap);
    box-sizing: content-box;
    direction: ltr;
    transform-style: preserve-3d;
}
@keyframes formatsReferenceInfinite-b-w2nmzbtm49 {

    from {
        transform: translate3d( 0, 0, 0 );
    }

    to {
        transform: translate3d( -25%, 0, 0 );
    }
}
@media (max-width: 760px) {
.formats-reference__viewport[b-w2nmzbtm49] {
        top: 91px;
        height: 158px;
    }
.formats-reference__track[b-w2nmzbtm49] {
        animation-duration: 30s;
    }

}
/* =========================================================
   ACCESSIBILITY

   فقط Loop در reduce-motion متوقف می‌شود.
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
.formats-reference__track[b-w2nmzbtm49] {
        animation: none !important;
    }

}
/* =========================================================
   FORMAT RING
   Camera-inside-circle perspective
   ========================================================= */
.format-ring[b-w2nmzbtm49] {
    --ring-card-width: 138px;
    --ring-card-height: 160px;
    --ring-gap: 4px;
    position: relative;
    width: 100%;

    padding: 58px 0 68px;
    overflow: hidden;
    background: radial-gradient( 760px 360px at 50% 61%, rgba(232,176,45,.085), transparent 70% ), linear-gradient( 180deg, #fffefa, #fffdf9 );
}
/* =========================================================
   HEADER
   ========================================================= */
.format-ring__header[b-w2nmzbtm49] {
    position: relative;
    z-index: 10;
    width: min( 1040px, calc(100% - 32px) );
    margin-inline: auto;
    text-align: center;
}
.format-ring__badge[b-w2nmzbtm49] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid rgba(215,156,30,.21);
    border-radius: 999px;
    background: linear-gradient( 180deg, rgba(255,255,255,.97), rgba(255,248,232,.88) );
    color: #ad7307;
    font-size: .76rem;
    font-weight: 900;
    box-shadow: 0 7px 20px rgba(112,76,14,.055), inset 0 1px 0 white;
}
.format-ring__badge-icon[b-w2nmzbtm49] {
    width: 20px;
    height: 20px;
    display: inline-flex;
    color: #c4870b;
}
.format-ring__badge-icon svg[b-w2nmzbtm49] {
        width: 100%;
        height: 100%;
    }
.format-ring__header h2[b-w2nmzbtm49] {
    margin: 22px auto 13px;
    color: #22282d;
    font-size: clamp( 2.7rem, 4.4vw, 4.7rem );
    line-height: 1.18;
    letter-spacing: -.035em;
    font-weight: 950;
}
@media (min-width: 1080px) {
.format-ring__header h2[b-w2nmzbtm49] {
        white-space: nowrap;
    }

}
.format-ring__header h2 span[b-w2nmzbtm49] {
    background: linear-gradient( 180deg, #d99a14, #aa6d01 );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.format-ring__header p[b-w2nmzbtm49] {
    width: min( 800px, 100% );
    margin: 0 auto;
    color: #73716d;
    font-size: .98rem;
    line-height: 1.95;
    font-weight: 600;
}
/* =========================================================
   SCENE

   Perspective اینجا اعمال می‌شود.
   ========================================================= */
.format-ring__scene[b-w2nmzbtm49] {
    position: relative;
    z-index: 2;
    width: min(1500px, 100%);
    height: 330px;
    margin: 30px auto 0;
    overflow: hidden;
    perspective: 900px;
    /* دوربین دقیقاً روی خط افق */
    perspective-origin: 50% 50%;
}
/* =========================================================
   BACKGROUND LIGHT
   ========================================================= */
.format-ring__ambient[b-w2nmzbtm49] {
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 52%;
    width: 850px;
    height: 250px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient( ellipse, rgba(237,186,58,.13), rgba(237,186,58,.035) 48%, transparent 73% );
    filter: blur(22px);
    pointer-events: none;
}
/* =========================================================
   ORBIT GUIDES

   فقط برای اینکه کاربر ناخودآگاه مسیر دایره‌ای را حس کند.
   ========================================================= */
.format-ring__orbit[b-w2nmzbtm49] {
    position: absolute;
    z-index: 1;
    left: 50%;
    width: 108%;
    height: 180px;
    transform: translateX(-50%);
    pointer-events: none;
}
.format-ring__orbit--top[b-w2nmzbtm49] {
    top: -125px;
    border-bottom: 1px solid rgba(215,151,20,.36);
    border-radius: 0 0 50% 50%;
}
.format-ring__orbit--bottom[b-w2nmzbtm49] {
    bottom: -124px;
    border-top: 1px solid rgba(215,151,20,.36);
    border-radius: 50% 50% 0 0;
}
/* =========================================================
   LOOP VIEWPORT
   ========================================================= */
.format-ring
.formats-reference__viewport[b-w2nmzbtm49] {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    top: 54px;
    height: 235px;
    overflow: hidden;
    direction: ltr;
    perspective: 900px;
    /* دوربین دقیقاً روبه‌روی مرکز کارت‌ها */
    perspective-origin: 50% 50%;
}
/* =========================================================
   TRACK

   IMPORTANT:
   هیچ Animation یا Transform جدیدی اینجا نداریم.

   workflow-motion-v4.js همچنان Track را حرکت می‌دهد.
   ========================================================= */
.format-ring
.formats-reference__track[b-w2nmzbtm49] {
    position: absolute;
    left: 0;
    top: 25px;
    display: flex;
    align-items: center;
    width: max-content;
    direction: ltr;
    will-change: transform;
    transform-style: preserve-3d;
}
.format-ring
.formats-reference__group[b-w2nmzbtm49] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: var(--ring-gap);
    padding-right: var(--ring-gap);
    direction: ltr;
    transform-style: preserve-3d;
}
/* =========================================================
   SLOT

   Slot توسط Loop حرکت می‌کند اما خودش Perspective ندارد.
   ========================================================= */
.format-ring__slot[b-w2nmzbtm49] {
    position: relative;
    flex: 0 0 var(--ring-card-width);
    width: var(--ring-card-width);
    height: var(--ring-card-height);
    transform-style: preserve-3d;
}
/* =========================================================
   CARD

   اندازه ظاهری کارت با translateZ ایجاد می‌شود،
   نه با scale مصنوعی.
   ========================================================= */
.format-ring-card[b-w2nmzbtm49] {
    --ring-x: 0px;
    --ring-y: 0px;
    --ring-z: -240px;
    --ring-yaw: 0deg;
    /* جدید */
    --ring-opacity: 1;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: var(--ring-opacity);
    transform: translate3d( var(--ring-x), var(--ring-y), var(--ring-z) ) rotateY( var(--ring-yaw) );
    transform-origin: center center;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, opacity;
}
/* =========================================================
   CARD FRONT
   ========================================================= */
.format-ring-card__front[b-w2nmzbtm49] {
    position: absolute;
    z-index: 4;
    inset: 0;
    box-sizing: border-box;
    padding: 18px 9px 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(128,99,56,.11);
    border-radius: 22px;
    background: radial-gradient( circle at 50% -8%, rgba(255,255,255,1), transparent 46% ), linear-gradient( 160deg, #ffffff, #fffdf8 );
    box-shadow: 0 19px 31px rgba(83,58,18,.09), 0 5px 12px rgba(83,58,18,.035), inset 0 1px 0 #fff;
    transform: translateZ(6px);
    backface-visibility: hidden;
}
/* =========================================================
   CARD SIDES

   وقتی کارت در دو طرف می‌چرخد،
   این سطح کناری واقعاً دیده می‌شود.
   ========================================================= */
.format-ring-card__side[b-w2nmzbtm49] {
    position: absolute;
    z-index: 2;
    top: 12px;
    bottom: 12px;
    width: 12px;
    border: 1px solid rgba(124,95,48,.10);
    background: linear-gradient( 180deg, #fffefa, #eee7db );
    box-shadow: inset 0 0 7px rgba(111,79,28,.045);
    backface-visibility: hidden;
}
.format-ring-card__side--left[b-w2nmzbtm49] {
    left: 0;
    transform-origin: left center;
    transform: translateZ(6px) rotateY(-90deg);
}
.format-ring-card__side--right[b-w2nmzbtm49] {
    right: 0;
    transform-origin: right center;
    transform: translateZ(6px) rotateY(90deg);
}
/* =========================================================
   FILE ICON
   ========================================================= */
.format-ring-card__file[b-w2nmzbtm49] {
    --file-a: #aaa;
    --file-b: #777;
    position: relative;
    z-index: 5;
    width: 44px;
    height: 51px;
    flex: 0 0 51px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 9px 9px 11px 11px;
    background: linear-gradient( 145deg, var(--file-a), var(--file-b) );
    box-shadow: 0 9px 17px rgba(50,34,14,.16), inset 0 1px 1px rgba(255,255,255,.34);
    transform: translateZ(12px);
}
.format-ring-card__file[b-w2nmzbtm49]::after {
        content: "";
        position: absolute;
        left: -18px;
        top: -24px;
        width: 33px;
        height: 96px;
        transform: rotate(28deg);
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.27), transparent );
    }
/* fold */
.format-ring-card__fold[b-w2nmzbtm49] {
    position: absolute;
    z-index: 6;
    right: 0;
    top: 0;
    width: 14px;
    height: 14px;
    background: rgba(255,255,255,.64);
    clip-path: polygon( 0 0, 100% 100%, 0 100% );
}
/* =========================================================
   ICON COLORS
   ========================================================= */
.format-ring-card__file--html[b-w2nmzbtm49] {
    --file-a: #ffc083;
    --file-b: #ff8345;
}
.format-ring-card__file--tiff[b-w2nmzbtm49] {
    --file-a: #c883fb;
    --file-b: #914de8;
}
.format-ring-card__file--webp[b-w2nmzbtm49] {
    --file-a: #92e171;
    --file-b: #4bbb32;
}
.format-ring-card__file--png[b-w2nmzbtm49] {
    --file-a: #77cbff;
    --file-b: #3d94ec;
}
.format-ring-card__file--jpg[b-w2nmzbtm49] {
    --file-a: #ad91ff;
    --file-b: #745be4;
}
.format-ring-card__file--txt[b-w2nmzbtm49] {
    --file-a: #eef3f8;
    --file-b: #cedae5;
    color: #718295;
}
.format-ring-card__file--pptx[b-w2nmzbtm49] {
    --file-a: #ffa36e;
    --file-b: #f5653c;
}
.format-ring-card__file--docx[b-w2nmzbtm49] {
    --file-a: #68bcff;
    --file-b: #2c82dd;
}
.format-ring-card__file--pdf[b-w2nmzbtm49] {
    --file-a: #ff7a80;
    --file-b: #ef3a40;
}
.format-ring-card__file--srt[b-w2nmzbtm49] {
    --file-a: #d59bff;
    --file-b: #a164ea;
}
/* =========================================================
   MARK
   ========================================================= */
.format-ring-card__mark[b-w2nmzbtm49] {
    position: relative;
    z-index: 7;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: .60rem;
    font-weight: 950;
}
.format-ring-card__file--html
.format-ring-card__mark[b-w2nmzbtm49] {
    font-size: .87rem;
}
.format-ring-card__file--docx
.format-ring-card__mark[b-w2nmzbtm49] {
    font-size: 1rem;
}
.format-ring-card__file--srt
.format-ring-card__mark[b-w2nmzbtm49] {
    font-size: .75rem;
}
.format-ring-card__file--pdf
.format-ring-card__mark[b-w2nmzbtm49] {
    font-size: .45rem;
}
/* =========================================================
   IMAGE ICON
   ========================================================= */
.format-ring-card__image[b-w2nmzbtm49] {
    position: relative;
    z-index: 7;
    width: 23px;
    height: 18px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.95);
    border-radius: 4px;
}
.format-ring-card__sun[b-w2nmzbtm49] {
    position: absolute;
    right: 2px;
    top: 2px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
}
.format-ring-card__mountain[b-w2nmzbtm49] {
    position: absolute;
    left: 2px;
    right: 2px;
    bottom: 2px;
    height: 9px;
    background: #fff;
    clip-path: polygon( 0 100%, 29% 38%, 48% 69%, 70% 22%, 100% 100% );
}
/* =========================================================
   TXT
   ========================================================= */
.format-ring-card__lines[b-w2nmzbtm49] {
    position: relative;
    z-index: 7;
    width: 22px;
    display: grid;
    gap: 4px;
}
.format-ring-card__lines i[b-w2nmzbtm49] {
        height: 2.7px;
        border-radius: 99px;
        background: currentColor;
    }
.format-ring-card__lines i:nth-child(2)[b-w2nmzbtm49] {
            width: 80%;
        }
.format-ring-card__lines i:nth-child(3)[b-w2nmzbtm49] {
            width: 61%;
        }
/* =========================================================
   PPT
   ========================================================= */
.format-ring-card__pie[b-w2nmzbtm49] {
    position: relative;
    z-index: 7;
    width: 21px;
    height: 21px;
    border: 2px solid rgba(255,255,255,.97);
    border-radius: 50%;
}
.format-ring-card__pie[b-w2nmzbtm49]::after {
        content: "";
        position: absolute;
        right: -3px;
        top: -3px;
        width: 11px;
        height: 11px;
        background: #fff;
        clip-path: polygon( 0 0, 100% 0, 100% 100% );
    }
/* =========================================================
   CARD TEXT
   ========================================================= */
.format-ring-card__front > strong[b-w2nmzbtm49] {
    position: relative;
    z-index: 7;
    display: block;
    margin-top: 11px;
    color: #292e33;
    font-size: .88rem;
    line-height: 1;
    font-weight: 950;
}
.format-ring-card__front > small[b-w2nmzbtm49] {
    position: relative;
    z-index: 7;
    display: block;
    margin-top: 8px;
    color: #817d76;
    font-size: .56rem;
    line-height: 1.5;
    font-weight: 650;
}
/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 760px) {
.format-ring[b-w2nmzbtm49] {
        --ring-card-width: 103px;
        --ring-card-height: 146px;
        --ring-gap: 10px;
        padding: 46px 0 50px;
    }
.format-ring__header[b-w2nmzbtm49] {
        width: calc(100% - 24px);
    }
.format-ring__header h2[b-w2nmzbtm49] {
            font-size: clamp( 2rem, 9vw, 3rem );
            white-space: normal;
        }
.format-ring__header p[b-w2nmzbtm49] {
            font-size: .84rem;
            line-height: 1.85;
        }
.format-ring__scene[b-w2nmzbtm49] {
        height: 290px;
    }
.format-ring
    .formats-reference__viewport[b-w2nmzbtm49] {
        top: 48px;
        height: 215px;
    }

}
/* =========================================================
   FORMAT RING — ORBIT FRAME V2
   فقط طراحی بالا و پایین
   کارت‌ها / Loop / Perspective / Fade دست‌نخورده
   ========================================================= */
/* =========================================================
   SCENE
   ========================================================= */
.format-ring .format-ring__scene[b-w2nmzbtm49] {
    position: relative !important;
    isolation: isolate !important;
    background: transparent !important;
}
/* پشت کارت‌ها کاملاً خالی */
.format-ring .format-ring__ambient[b-w2nmzbtm49] {
    display: none !important;
}
/* =========================================================
   OUTER CURVES
   این دو خط کاملاً بیرون محدوده کارت‌ها هستند
   ========================================================= */
.format-ring .format-ring__scene[b-w2nmzbtm49]::before,
.format-ring .format-ring__scene[b-w2nmzbtm49]::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    width: 108% !important;
    height: 190px !important;
    transform: translateX(-50%) !important;
    pointer-events: none !important;
    background: transparent !important;
    z-index: 1 !important;
    filter: none !important;
}
/* خط خارجی بالا
   border در حدود y = 38 قرار می‌گیرد */
.format-ring .format-ring__scene[b-w2nmzbtm49]::before {
    top: -132px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(205, 137, 8, .60) !important;
    border-radius: 0 0 50% 50% / 0 0 100% 100% !important;
    box-shadow: 0 1px 0 rgba(255,255,255,.65) !important;
}
/* خط خارجی پایین
   border در حدود y = 292 قرار می‌گیرد */
.format-ring .format-ring__scene[b-w2nmzbtm49]::after {
    bottom: -132px !important;
    border: 0 !important;
    border-top: 1px solid rgba(205, 137, 8, .60) !important;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0 !important;
    box-shadow: 0 -1px 0 rgba(255,255,255,.65) !important;
}
/* =========================================================
   INNER ORBITS
   اینها هم کاملاً از کارت‌ها فاصله دارند
   ========================================================= */
.format-ring .format-ring__orbit[b-w2nmzbtm49] {
    position: absolute !important;
    left: 50% !important;
    width: 91% !important;
    height: 78px !important;
    transform: translateX(-50%) !important;
    pointer-events: none !important;
    overflow: visible !important;
    z-index: 2 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
}
/* ---------------------------------------------------------
   INNER TOP

   قبلاً تقریباً y=95 بود و رفت زیر کارت.
   الان خط در حدود y=58 قرار می‌گیرد.
   --------------------------------------------------------- */
.format-ring .format-ring__orbit--top[b-w2nmzbtm49] {
    top: -2px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(230, 178, 61, .30) !important;
    border-radius: 0 0 50% 50% / 0 0 100% 100% !important;
    box-shadow: 0 1px 0 rgba(255,255,255,.74), 0 5px 15px rgba(218,157,28,.025) !important;
}
/* ---------------------------------------------------------
   INNER BOTTOM

   خط در حدود y=272 قرار می‌گیرد.
   --------------------------------------------------------- */
.format-ring .format-ring__orbit--bottom[b-w2nmzbtm49] {
    bottom: -2px !important;
    border: 0 !important;
    border-top: 1px solid rgba(230, 178, 61, .30) !important;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0 !important;
    box-shadow: 0 -1px 0 rgba(255,255,255,.74), 0 -5px 15px rgba(218,157,28,.025) !important;
}
/* =========================================================
   GOLD ENERGY DETAILS

   فقط روی خود خط‌های بالا و پایین.
   دیگر وارد محدوده کارت‌ها نمی‌شوند.
   ========================================================= */
.format-ring .format-ring__orbit[b-w2nmzbtm49]::before,
.format-ring .format-ring__orbit[b-w2nmzbtm49]::after {
    content: "" !important;
    position: absolute !important;
    width: 155px !important;
    height: 10px !important;
    border: 0 !important;
    border-radius: 999px !important;
    pointer-events: none !important;
    background: radial-gradient( circle at 31% 50%, #fff7ce 0 2px, rgba(246,194,66,.95) 2.5px 4px, rgba(229,161,24,.20) 5px 9px, transparent 10px ), linear-gradient( 90deg, transparent 0%, rgba(224,155,17,.03) 13%, rgba(231,169,40,.14) 30%, rgba(248,207,101,.55) 46%, rgba(255,239,168,.95) 54%, rgba(248,207,101,.43) 63%, rgba(231,169,40,.10) 80%, transparent 100% ) !important;
    box-shadow: 0 0 8px rgba(224,157,22,.08), 0 0 16px rgba(224,157,22,.035) !important;
    filter: none !important;
    opacity: .90 !important;
}
/* =========================================================
   TOP DETAILS
   ========================================================= */
.format-ring .format-ring__orbit--top[b-w2nmzbtm49]::before {
    left: 8% !important;
    bottom: -5px !important;
    transform: rotate(3deg) !important;
    transform-origin: right center !important;
}
.format-ring .format-ring__orbit--top[b-w2nmzbtm49]::after {
    right: 8% !important;
    bottom: -5px !important;
    transform: rotate(-3deg) scaleX(-1) !important;
    transform-origin: left center !important;
}
/* =========================================================
   BOTTOM DETAILS
   ========================================================= */
.format-ring .format-ring__orbit--bottom[b-w2nmzbtm49]::before {
    left: 8% !important;
    top: -5px !important;
    transform: rotate(-3deg) !important;
    transform-origin: right center !important;
}
.format-ring .format-ring__orbit--bottom[b-w2nmzbtm49]::after {
    right: 8% !important;
    top: -5px !important;
    transform: rotate(3deg) scaleX(-1) !important;
    transform-origin: left center !important;
}
/* =========================================================
   IMPORTANT
   فضای وسط را کاملاً خالی نگه می‌داریم
   ========================================================= */
.format-ring .formats-reference__viewport[b-w2nmzbtm49] {
    z-index: 5 !important;
}
/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 760px) {
.format-ring .format-ring__scene[b-w2nmzbtm49]::before,
.format-ring .format-ring__scene[b-w2nmzbtm49]::after {
        width: 138% !important;
    }
.format-ring .format-ring__orbit[b-w2nmzbtm49] {
        width: 108% !important;
    }
.format-ring .format-ring__orbit[b-w2nmzbtm49]::before,
.format-ring .format-ring__orbit[b-w2nmzbtm49]::after {
            width: 105px !important;
        }

}
/* =========================================================
   FORMAT RING — SOFT FADED LINES
   فقط افکت‌های بالا و پایین سکشن آیکون‌ها
   بدون دایره / بدون نقطه / فقط خطوط محو و ظریف
   ========================================================= */
/* اگر قبلاً glow یا dot یا انرژی دایره‌ای داده بودی، خاموشش کن */
.format-ring .format-ring__orbit[b-w2nmzbtm49]::before,
.format-ring .format-ring__orbit[b-w2nmzbtm49]::after {
    content: "" !important;
    position: absolute !important;
    display: block !important;
    width: 330px !important;
    height: 3px !important;
    border-radius: 999px !important;
    border: none !important;
    /* خط محو و کشیده */
    background: linear-gradient( 90deg, rgba(214, 156, 31, 0) 0%, rgba(214, 156, 31, 0.03) 8%, rgba(230, 176, 58, 0.10) 22%, rgba(241, 196, 91, 0.28) 40%, rgba(255, 229, 158, 0.72) 50%, rgba(241, 196, 91, 0.28) 60%, rgba(230, 176, 58, 0.10) 78%, rgba(214, 156, 31, 0.03) 92%, rgba(214, 156, 31, 0) 100% ) !important;
    box-shadow: 0 0 12px rgba(232, 184, 72, 0.10), 0 0 24px rgba(232, 184, 72, 0.06) !important;
    filter: blur(0.4px) !important;
    opacity: 0.95 !important;
    pointer-events: none !important;
    animation: none !important;
    z-index: 1 !important;
}
/* =========================
   خطوط بالایی
   ========================= */
.format-ring .format-ring__orbit--top[b-w2nmzbtm49]::before {
    left: 1% !important;
    bottom: -10px !important;
    transform: rotate(1.6deg) !important;
}
.format-ring .format-ring__orbit--top[b-w2nmzbtm49]::after {
    right: 1% !important;
    bottom: -10px !important;
    transform: rotate(-1.6deg) !important;
}
/* =========================
   خطوط پایینی
   ========================= */
.format-ring .format-ring__orbit--bottom[b-w2nmzbtm49]::before {
    left: 1% !important;
    top: -16px !important;
    transform: rotate(-1.6deg) !important;
}
.format-ring .format-ring__orbit--bottom[b-w2nmzbtm49]::after {
    right: 1% !important;
    top: -16px !important;
    transform: rotate(1.6deg) !important;
}
/* =========================================================
   FORMAT RING — SOFT BACKGROUND BEHIND CARDS
   selector corrected
   ========================================================= */
/* خود viewport */
.format-ring .formats-reference__viewport[b-w2nmzbtm49] {
    position: absolute !important;
    isolation: isolate !important;
}
/* =========================================================
   BACKGROUND LAYER
   فقط پشت کارت‌ها
   ========================================================= */
.format-ring .formats-reference__viewport[b-w2nmzbtm49]::before {
        content: "" !important;
        position: absolute !important;
        /* عمداً از خود viewport کمی داخل‌تر */
        left: 2% !important;
        right: 2% !important;
        top: 16px !important;
        bottom: 16px !important;
        z-index: 0 !important;
        pointer-events: none !important;
        border-radius: 999px !important;
        /* =====================================================
       رنگ پس‌زمینه
       الان عمداً واضح گذاشتم که تغییر را حتماً ببینی
       بعداً می‌توانیم ظریف‌ترش کنیم
       ===================================================== */

        background: radial-gradient( ellipse at center, rgba(222, 176, 75, .52) 0%, rgba(229, 193, 112, .15) 34%, rgba(239, 217, 164, .09) 60%, rgba(255, 250, 236, .03) 78%, transparent 100% ), linear-gradient( 180deg, rgba(247, 234, 199, .20), rgba(238, 214, 156, .13), rgba(247, 234, 199, .20) ) !important;
        box-shadow: inset 0 0 28px rgba(255,255,255,.48), 0 0 35px rgba(209,155,40,.07) !important;
        /* =====================================================
       FADE کامل از چپ و راست
       ===================================================== */

        -webkit-mask-image: linear-gradient( 90deg, transparent 0%, rgba(0,0,0,.08) 5%, rgba(0,0,0,.28) 11%, rgba(0,0,0,.62) 18%, #000 36%, #000 64%, rgba(0,0,0,.62) 82%, rgba(0,0,0,.28) 89%, rgba(0,0,0,.08) 95%, transparent 100% ) !important;
        mask-image: linear-gradient( 90deg, transparent 0%, rgba(0,0,0,.08) 5%, rgba(0,0,0,.28) 11%, rgba(0,0,0,.62) 18%, #000 36%, #000 64%, rgba(0,0,0,.62) 82%, rgba(0,0,0,.28) 89%, rgba(0,0,0,.08) 95%, transparent 100% ) !important;
    }
/* =========================================================
   کارت‌ها حتماً بالای Background باشند
   ========================================================= */
.format-ring .formats-reference__track[b-w2nmzbtm49] {
    position: absolute !important;
    z-index: 2 !important;
}

/* =========================================================
   PUBLIC HEADER — HARD RESTORE
   این بلوک جایگزین Force Restore قبلی شود
   ========================================================= */
.home-page > .public-header[b-w2nmzbtm49] {
    position: relative !important;
    inset: auto !important;
    z-index: 5000 !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 82px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    translate: none !important;
    scale: 1 !important;
    rotate: 0deg !important;
    clip: auto !important;
    clip-path: none !important;
    -webkit-mask: none !important;
    mask: none !important;
    background: rgba(255, 253, 248, .94) !important;
    border-bottom: 1px solid rgba(177, 137, 65, .15) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
}
/* =========================================================
   INNER
   ========================================================= */
.home-page > .public-header > .public-header__inner[b-w2nmzbtm49] {
        position: relative !important;
        inset: auto !important;
        width: min(1440px, calc(100% - 48px)) !important;
        max-width: 1440px !important;
        min-height: 82px !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 auto !important;
        padding: 10px 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 24px !important;
        overflow: visible !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        translate: none !important;
        clip-path: none !important;
    }
/* =========================================================
   BRAND
   ========================================================= */
.home-page .public-header .brand[b-w2nmzbtm49] {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    translate: none !important;
    clip-path: none !important;
    text-decoration: none !important;
}
.home-page .public-header .brand__mark[b-w2nmzbtm49] {
    display: grid !important;
    place-items: center !important;
    width: 58px !important;
    height: 58px !important;
    flex: 0 0 58px !important;
    border: 1px solid rgba(189,139,43,.22) !important;
    border-radius: 14px !important;
    background: linear-gradient( 145deg, #fffdf8, #f5e8ca ) !important;
    color: #b57808 !important;
}
.home-page .public-header .brand__mark svg[b-w2nmzbtm49] {
        display: block !important;
        width: 26px !important;
        height: 26px !important;
        fill: none !important;
        stroke: currentColor !important;
        opacity: 1 !important;
    }
.home-page .public-header .brand__copy[b-w2nmzbtm49] {
    display: flex !important;
    flex-direction: column !important;
    width: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.home-page .public-header .brand__copy strong[b-w2nmzbtm49] {
        color: #292621 !important;
        font-size: 18px !important;
        font-weight: 900 !important;
    }
.home-page .public-header .brand__copy small[b-w2nmzbtm49] {
        color: #958b7b !important;
        font-size: 9px !important;
    }
/* =========================================================
   CENTER NAV
   ========================================================= */
.home-page .public-header .public-nav[b-w2nmzbtm49] {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    translate: none !important;
    clip-path: none !important;
}
.home-page .public-header .public-nav > a[b-w2nmzbtm49] {
        position: static !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 38px !important;
        margin: 0 !important;
        padding: 0 12px !important;
        white-space: nowrap !important;
        color: #655d51 !important;
        -webkit-text-fill-color: currentColor !important;
        background: transparent !important;
        border-radius: 999px !important;
        font-size: 16px !important;
        font-weight: 750 !important;
        text-decoration: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        translate: none !important;
        clip-path: none !important;
    }
.home-page .public-header .public-nav > a:hover[b-w2nmzbtm49] {
            color: #9a690b !important;
            background: rgba(216,166,52,.09) !important;
        }
/* =========================================================
   ACTIONS
   زبان + ورود + شروع ترجمه
   ========================================================= */
.home-page .public-header .public-header__actions[b-w2nmzbtm49] {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    translate: none !important;
    scale: 1 !important;
    clip: auto !important;
    clip-path: none !important;
    -webkit-mask: none !important;
    mask: none !important;
    pointer-events: auto !important;
}
/* هر سه لینک */
.home-page .public-header .public-header__actions > a[b-w2nmzbtm49] {
        position: static !important;
        inset: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: max-content !important;
        max-width: none !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        white-space: nowrap !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        translate: none !important;
        scale: 1 !important;
        clip: auto !important;
        clip-path: none !important;
        -webkit-mask: none !important;
        mask: none !important;
        pointer-events: auto !important;
        text-decoration: none !important;
        -webkit-text-fill-color: currentColor !important;
    }
/* زبان + ورود */
.home-page .public-header .lang-button[b-w2nmzbtm49],
.home-page .public-header .signin-button[b-w2nmzbtm49] {
    min-height: 40px !important;
    padding: 0 13px !important;
    border: 1px solid rgba(188,157,99,.24) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.82) !important;
    color: #625a4d !important;
    font-size: 11px !important;
    font-weight: 850 !important;
}
/* شروع ترجمه */
.home-page .public-header .header-cta[b-w2nmzbtm49] {
    min-height: 42px !important;
    padding: 0 16px !important;
    gap: 7px !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: linear-gradient( 180deg, #f2c951, #e5ad27 ) !important;
    color: #553a04 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    box-shadow: 0 10px 22px rgba(214,161,32,.18) !important;
}
.home-page .public-header .header-cta > span[b-w2nmzbtm49] {
        display: inline !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
/* =========================================================
   DESKTOP — هیچ‌چیز مخفی نشود
   ========================================================= */
@media (min-width: 901px) {
.home-page .public-header .public-nav[b-w2nmzbtm49] {
        display: flex !important;
    }
.home-page .public-header .public-header__actions[b-w2nmzbtm49] {
        display: flex !important;
    }
.home-page .public-header .lang-button[b-w2nmzbtm49],
.home-page .public-header .signin-button[b-w2nmzbtm49],
.home-page .public-header .header-cta[b-w2nmzbtm49] {
        display: inline-flex !important;
    }

}
/* =========================================================
   NARROW DESKTOP
   The menu has to fit between the brand and the buttons, or its
   links run into each other. Narrower, it first drops the brand's
   subtitle, then tightens the links; English, which is wider, then
   drops «Home» (the logo is the home link) and at last «Sign in»
   (the start button leads there). The widths are where each step
   stops being enough, measured. Same as the other public pages'
   header (PublicHeader.razor.css).
   ========================================================= */
@media (min-width: 901px) and (max-width: 1145px) {
html body .home-page:lang(fa) .public-header .brand__copy small[b-w2nmzbtm49] {
        display: none !important;
    }

}
@media (min-width: 901px) and (max-width: 1045px) {
html body .home-page:lang(fa) .public-header .public-nav > a[b-w2nmzbtm49],
html body .home-page:lang(fa) .public-header .public-nav__services-trigger[b-w2nmzbtm49] {
        padding: 0 8px !important;
        font-size: 15px !important;
    }

}
@media (min-width: 901px) and (max-width: 965px) {
html body .home-page:lang(fa) .public-header .public-nav[b-w2nmzbtm49] {
        gap: 0 !important;
    }
html body .home-page:lang(fa) .public-header .public-nav > a[b-w2nmzbtm49],
html body .home-page:lang(fa) .public-header .public-nav__services-trigger[b-w2nmzbtm49] {
            padding: 0 6px !important;
            font-size: 14px !important;
        }

}
@media (min-width: 901px) and (max-width: 1240px) {
html body .home-page:lang(en) .public-header .brand__copy small[b-w2nmzbtm49] {
        display: none !important;
    }

}
@media (min-width: 901px) and (max-width: 1165px) {
html body .home-page:lang(en) .public-header .public-nav > a[b-w2nmzbtm49],
html body .home-page:lang(en) .public-header .public-nav__services-trigger[b-w2nmzbtm49] {
        padding: 0 8px !important;
        font-size: 15px !important;
    }

}
@media (min-width: 901px) and (max-width: 1085px) {
html body .home-page:lang(en) .public-header .public-nav[b-w2nmzbtm49] {
        gap: 0 !important;
    }
html body .home-page:lang(en) .public-header .public-nav > a[b-w2nmzbtm49],
html body .home-page:lang(en) .public-header .public-nav__services-trigger[b-w2nmzbtm49] {
            padding: 0 6px !important;
            font-size: 14px !important;
        }
html body .home-page:lang(en) .public-header .public-nav > a:first-child[b-w2nmzbtm49] {
            display: none !important;
        }

}
@media (min-width: 901px) and (max-width: 950px) {
html body .home-page:lang(en) .public-header .signin-button[b-w2nmzbtm49] {
        display: none !important;
    }

}
/* =========================================================
   LANDING FOOTER V2
   Dark warm premium footer
   ========================================================= */
.landing-footer-v2[b-w2nmzbtm49] {
    position: relative;
    margin-top: 18px;
    padding: 42px 0 22px;
    overflow: hidden;
    background: radial-gradient( 65% 120% at 85% 0%, rgba(223, 169, 54, .11) 0%, transparent 64% ), radial-gradient( 55% 100% at 5% 100%, rgba(183, 121, 29, .07) 0%, transparent 68% ), linear-gradient( 145deg, #211b15 0%, #19140f 100% );
    color: #f4eee4;
}
/* =========================================================
   AMBIENT LIGHT
   ========================================================= */
.landing-footer-v2__ambient[b-w2nmzbtm49] {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    opacity: .14;
}
.landing-footer-v2__ambient--right[b-w2nmzbtm49] {
    top: -250px;
    right: -80px;
    background: #d59a25;
}
.landing-footer-v2__ambient--left[b-w2nmzbtm49] {
    bottom: -300px;
    left: -120px;
    background: #8c5f18;
}
/* =========================================================
   SHELL
   ========================================================= */
.landing-footer-v2__shell[b-w2nmzbtm49] {
    position: relative;
    z-index: 2;
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}
/* =========================================================
   TOP GOLD LINE
   ========================================================= */
.landing-footer-v2__topline[b-w2nmzbtm49] {
    position: relative;
    height: 18px;
    margin-bottom: 26px;
}
.landing-footer-v2__topline[b-w2nmzbtm49]::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 8px;
        height: 1px;
        background: linear-gradient( 90deg, transparent 0%, rgba(224, 170, 55, .18) 12%, rgba(224, 170, 55, .65) 50%, rgba(224, 170, 55, .18) 88%, transparent 100% );
    }
.landing-footer-v2__topline span[b-w2nmzbtm49] {
        position: absolute;
        left: 50%;
        top: 4px;
        width: 9px;
        height: 9px;
        transform: translateX(-50%) rotate(45deg);
        border: 1px solid rgba(239, 192, 85, .85);
        background: #251c10;
        box-shadow: 0 0 14px rgba(226, 171, 52, .18);
    }
/* =========================================================
   MAIN GRID
   ========================================================= */
.landing-footer-v2__grid[b-w2nmzbtm49] {
    display: grid;
    grid-template-columns: 1.35fr .72fr .72fr 1fr;
    gap: 26px;
    align-items: stretch;
}
/* =========================================================
   BRAND
   ========================================================= */
.landing-footer-v2__brand[b-w2nmzbtm49] {
    min-width: 0;
    padding-inline-end: 20px;
}
.landing-footer-v2__brand-head[b-w2nmzbtm49] {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 15px;
    text-decoration: none;
}
.landing-footer-v2__mark[b-w2nmzbtm49] {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 1px solid rgba(235, 184, 70, .26);
    border-radius: 15px;
    background: linear-gradient( 145deg, rgba(240, 191, 75, .16), rgba(240, 191, 75, .04) );
    color: #edbd53;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 10px 24px rgba(0,0,0,.14);
}
.landing-footer-v2__mark svg[b-w2nmzbtm49] {
        width: 27px;
        height: 27px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
.landing-footer-v2__brand-copy[b-w2nmzbtm49] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.landing-footer-v2__brand-copy strong[b-w2nmzbtm49] {
        color: #fff9ef;
        font-size: 1rem;
        font-weight: 900;
    }
.landing-footer-v2__brand-copy small[b-w2nmzbtm49] {
        color: #a99f91;
        font-size: .68rem;
        font-weight: 650;
    }
.landing-footer-v2__brand > p[b-w2nmzbtm49] {
    max-width: 410px;
    margin: 0 0 18px;
    color: #aaa093;
    font-size: .82rem;
    line-height: 1.9;
}
/* =========================================================
   TRUST SEAL
   ========================================================= */
.landing-footer-v2__seal[b-w2nmzbtm49] {
    display: flex;
    gap:8px;
}






/* =========================================================
   COLUMNS
   ========================================================= */
.landing-footer-v2__column[b-w2nmzbtm49] {
    padding-top: 3px;
}
.landing-footer-v2__column-title[b-w2nmzbtm49] {
    display: block;
    margin-bottom: 13px;
    color: #d9b662;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .02em;
}
.landing-footer-v2__links[b-w2nmzbtm49] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.landing-footer-v2__links a[b-w2nmzbtm49] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        min-height: 38px;
        padding: 0 10px;
        border-radius: 10px;
        color: #c4baad;
        text-decoration: none;
        font-size: .78rem;
        font-weight: 700;
        transition: color .2s ease, background .2s ease, transform .2s ease;
    }
.landing-footer-v2__links a i[b-w2nmzbtm49] {
            color: #7d7163;
            font-style: normal;
            font-size: .7rem;
            opacity: 0;
            transform: translate(-3px, 2px);
            transition: opacity .2s ease, transform .2s ease;
        }
.landing-footer-v2__links a:hover[b-w2nmzbtm49] {
            color: #f0c45c;
            background: rgba(255,255,255,.025);
            transform: translateX(-2px);
        }
.landing-footer-v2__links a:hover i[b-w2nmzbtm49] {
                opacity: 1;
                transform: translate(0,0);
            }
/* =========================================================
   ACTION PANEL
   ========================================================= */
.landing-footer-v2__action-panel[b-w2nmzbtm49] {
    position: relative;
    padding: 18px;
    border: 1px solid rgba(226, 175, 46, .15);
    border-radius: 18px;
    background: radial-gradient( 120% 120% at 100% 0%, rgba(226, 175, 46, .10), transparent 55% ), rgba(255,255,255,.025);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.landing-footer-v2__action-kicker[b-w2nmzbtm49] {
    display: block;
    margin-bottom: 9px;
    color: #d7aa46;
    font-size: .56rem;
    font-weight: 900;
    letter-spacing: .08em;
}
.landing-footer-v2__action-panel > strong[b-w2nmzbtm49] {
    display: block;
    margin-bottom: 7px;
    color: #fbf4e8;
    font-size: .95rem;
    line-height: 1.7;
    font-weight: 850;
}
.landing-footer-v2__action-panel > p[b-w2nmzbtm49] {
    margin: 0 0 16px;
    color: #9f9588;
    font-size: .72rem;
    line-height: 1.8;
}
.landing-footer-v2__action[b-w2nmzbtm49] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(230, 179, 57, .18);
    border-radius: 12px;
    background: linear-gradient( 135deg, rgba(226,175,46,.14), rgba(226,175,46,.07) );
    color: #efc35d;
    text-decoration: none;
    font-size: .75rem;
    font-weight: 850;
    transition: background .22s ease, border-color .22s ease, transform .22s ease;
}
.landing-footer-v2__action i[b-w2nmzbtm49] {
        font-style: normal;
        font-size: .75rem;
    }
.landing-footer-v2__action:hover[b-w2nmzbtm49] {
        transform: translateY(-2px);
        border-color: rgba(230,179,57,.34);
        background: linear-gradient( 135deg, rgba(226,175,46,.20), rgba(226,175,46,.10) );
    }
/* =========================================================
   BOTTOM BAR
   ========================================================= */
.landing-footer-v2__bottom[b-w2nmzbtm49] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.055);
    color: #7f766a;
    font-size: .65rem;
    font-weight: 650;
}
.landing-footer-v2__bottom-links[b-w2nmzbtm49] {
    display: flex;
    align-items: center;
    gap: 12px;
}
.landing-footer-v2__bottom-links > span[b-w2nmzbtm49] {
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: rgba(224,174,59,.38);
    }
.landing-footer-v2__bottom-links a[b-w2nmzbtm49] {
        color: #92887b;
        text-decoration: none;
        transition: color .2s ease;
    }
.landing-footer-v2__bottom-links a:hover[b-w2nmzbtm49] {
            color: #e4b64e;
        }
/* =========================================================
   RTL / LTR
   ========================================================= */
.home-page[dir="ltr"]
.landing-footer-v2__brand[b-w2nmzbtm49] {
    padding-inline-end: 0;
    padding-inline-start: 20px;
}
.home-page[dir="ltr"]
.landing-footer-v2__links a:hover[b-w2nmzbtm49] {
    transform: translateX(2px);
}
/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1050px) {
.landing-footer-v2__grid[b-w2nmzbtm49] {
        grid-template-columns: 1.25fr .75fr .75fr;
    }
.landing-footer-v2__action-panel[b-w2nmzbtm49] {
        grid-column: 1 / -1;
    }

}
@media (max-width: 720px) {
.landing-footer-v2[b-w2nmzbtm49] {
        padding: 34px 0 18px;
    }
.landing-footer-v2__shell[b-w2nmzbtm49] {
        width: calc(100% - 28px);
    }
.landing-footer-v2__grid[b-w2nmzbtm49] {
        grid-template-columns: 1fr;
    }
.landing-footer-v2__brand[b-w2nmzbtm49] {
        padding-inline: 0;
        margin-bottom: 5px;
    }
.landing-footer-v2__column[b-w2nmzbtm49] {
        padding: 14px 0;
        border-top: 1px solid rgba(255,255,255,.05);
    }
.landing-footer-v2__action-panel[b-w2nmzbtm49] {
        grid-column: auto;
    }
.landing-footer-v2__bottom[b-w2nmzbtm49] {
        align-items: flex-start;
        flex-direction: column;
    }

}
/* =========================================================
   FOOTER V2 — VISIBILITY FIX
   ========================================================= */
.landing-footer-v2 .landing-footer-v2__brand-head[b-w2nmzbtm49],
.landing-footer-v2 .landing-footer-v2__brand-copy[b-w2nmzbtm49],
.landing-footer-v2 .landing-footer-v2__column[b-w2nmzbtm49],
.landing-footer-v2 .landing-footer-v2__links[b-w2nmzbtm49],
.landing-footer-v2 .landing-footer-v2__links a[b-w2nmzbtm49],
.landing-footer-v2 .landing-footer-v2__action-panel[b-w2nmzbtm49],
.landing-footer-v2 .landing-footer-v2__action[b-w2nmzbtm49],
.landing-footer-v2 .landing-footer-v2__bottom[b-w2nmzbtm49],
.landing-footer-v2 .landing-footer-v2__bottom-links[b-w2nmzbtm49],
.landing-footer-v2 .landing-footer-v2__bottom-links a[b-w2nmzbtm49] {
    opacity: 1 !important;
    visibility: visible !important;
}
.landing-footer-v2 .landing-footer-v2__brand-head[b-w2nmzbtm49] {
    display: inline-flex !important;
}
.landing-footer-v2 .landing-footer-v2__links[b-w2nmzbtm49] {
    display: flex !important;
    flex-direction: column !important;
}
.landing-footer-v2 .landing-footer-v2__links a[b-w2nmzbtm49] {
        display: flex !important;
        color: #c4baad !important;
        -webkit-text-fill-color: #c4baad !important;
    }
.landing-footer-v2 .landing-footer-v2__links a > span[b-w2nmzbtm49] {
            display: inline !important;
            opacity: 1 !important;
            visibility: visible !important;
            color: inherit !important;
        }
.landing-footer-v2 .landing-footer-v2__brand-copy strong[b-w2nmzbtm49] {
    display: block !important;
    color: #fff9ef !important;
}
.landing-footer-v2 .landing-footer-v2__brand-copy small[b-w2nmzbtm49] {
    display: block !important;
    color: #a99f91 !important;
}
.landing-footer-v2 .landing-footer-v2__action-panel[b-w2nmzbtm49] {
    display: block !important;
}
.landing-footer-v2 .landing-footer-v2__action[b-w2nmzbtm49] {
    display: flex !important;
}
.landing-footer-v2 .landing-footer-v2__bottom[b-w2nmzbtm49] {
    display: flex !important;
}

/* =========================================================
   PHONE — FINAL LAYER
   =========================================================
   The header above is a stack of !important overrides, so
   this layer prefixes "html body" to win on specificity
   instead of editing them; desktop is untouched.

   What a phone got before this:
   - the header kept four nav links, the language, sign-in and
     the call to action on one 375px row: the links overlapped
     the brand and the button ran off the screen;
   - the five workflow steps stayed five columns (a later
     !important rule beat the one-column phone rule), one word
     per line;
   - the three packages were three screens of scrolling.

   Now: a sticky compact header with a menu, the steps as a
   vertical timeline, packages as a swipeable row, and the
   call to action in a bar under the thumb.
   ========================================================= */
.public-mobile-menu[b-w2nmzbtm49],
.landing-mobile-cta[b-w2nmzbtm49] {
    display: none;
}
/* the compare section is the target of "#difference" */
.home-page section[id][b-w2nmzbtm49] {
    scroll-margin-top: 76px;
}
@media (max-width: 900px) {
/* sticky needs no scrolling ancestor: hidden makes one, clip does not */
html body .home-page[b-w2nmzbtm49] {
        overflow: clip !important;
        overflow-x: clip !important;
    }
html body .home-page > .public-header[b-w2nmzbtm49] {
        position: sticky !important;
        top: 0 !important;
        min-height: 0 !important;
    }
html body .home-page > .public-header > .public-header__inner[b-w2nmzbtm49] {
            width: calc(100% - 28px) !important;
            min-height: 64px !important;
            padding: 8px 0 !important;
            gap: 10px !important;
        }
html body .home-page .public-header .public-nav[b-w2nmzbtm49],
html body .home-page .public-header .signin-button[b-w2nmzbtm49] {
        display: none !important;
    }
html body .home-page .public-header .public-header__actions[b-w2nmzbtm49] {
        min-width: 0 !important;
        margin-inline-start: auto !important;
    }
html body .home-page .public-header .brand__mark[b-w2nmzbtm49] {
        width: 40px !important;
        height: 40px !important;
        flex-basis: 40px !important;
        border-radius: 13px !important;
    }
html body .home-page .public-header .brand__copy small[b-w2nmzbtm49] {
        display: none !important;
    }
html body .home-page .public-header .lang-button[b-w2nmzbtm49] {
        min-height: 40px !important;
        min-width: 44px !important;
    }
/* ---- menu ---- */
html body .home-page .public-mobile-menu[b-w2nmzbtm49] {
        display: block;
        flex: none;
    }
html body .home-page .public-mobile-menu > summary[b-w2nmzbtm49] {
            width: 40px;
            height: 40px;
            display: grid;
            place-items: center;
            border: 1px solid rgba(188, 157, 99, .24);
            border-radius: 12px;
            background: rgba(255, 255, 255, .82);
            color: #4f473b;
            list-style: none;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
        }
html body .home-page .public-mobile-menu > summary[b-w2nmzbtm49]::-webkit-details-marker {
                display: none;
            }
html body .home-page .public-mobile-menu > summary svg[b-w2nmzbtm49] {
                width: 21px;
                height: 21px;
                fill: none;
                stroke: currentColor;
                stroke-width: 1.9;
                stroke-linecap: round;
            }
html body .home-page .public-mobile-menu .public-mobile-menu__close[b-w2nmzbtm49],
html body .home-page .public-mobile-menu[open] .public-mobile-menu__open[b-w2nmzbtm49] {
            display: none;
        }
html body .home-page .public-mobile-menu[open] .public-mobile-menu__close[b-w2nmzbtm49] {
            display: block;
        }
html body .home-page .public-mobile-menu[open] > summary[b-w2nmzbtm49] {
            border-color: transparent;
            background: #3b2f23;
            color: #fcd166;
        }
html body .home-page .public-mobile-menu__panel[b-w2nmzbtm49] {
        position: absolute;
        inset-inline: 0;
        top: calc(100% + 8px);
        z-index: 10;
        display: grid;
        gap: 12px;
        padding: 10px;
        border: 1px solid rgba(177, 137, 65, .18);
        border-radius: 22px;
        background: #fffdf8;
        box-shadow: 0 24px 60px rgba(45, 36, 25, .18);
        animation: landing-menu-in-b-w2nmzbtm49 .32s cubic-bezier(.16, 1, .3, 1) both;
    }
html body .home-page .public-mobile-menu__links[b-w2nmzbtm49] {
        display: grid;
        gap: 2px;
    }
html body .home-page .public-mobile-menu__links a[b-w2nmzbtm49],
html body .home-page .public-mobile-menu__actions a[b-w2nmzbtm49] {
            display: flex !important;
            align-items: center;
            min-height: 48px;
            padding: 0 14px;
            border-radius: 14px;
            color: #3d362c;
            font-size: .92rem;
            font-weight: 800;
            text-decoration: none;
            -webkit-tap-highlight-color: transparent;
        }
html body .home-page .public-mobile-menu__links a:active[b-w2nmzbtm49] {
                background: rgba(216, 166, 52, .12);
            }
html body .home-page .public-mobile-menu__actions[b-w2nmzbtm49] {
        display: grid;
        grid-template-columns: 1fr 1.4fr;
        gap: 8px;
        padding-top: 10px;
        border-top: 1px solid rgba(177, 137, 65, .14);
    }
html body .home-page .public-mobile-menu__actions a[b-w2nmzbtm49] {
            justify-content: center;
            border: 1px solid rgba(188, 157, 99, .24);
            font-size: .82rem;
        }
html body .home-page .public-mobile-menu__actions .public-mobile-menu__signin[b-w2nmzbtm49] {
            border-color: transparent;
            background: #3b2f23;
            color: #fcd166;
        }
/* ---- workflow: a vertical timeline ---- */
html body .home-page .workflow-track[b-w2nmzbtm49] {
        padding-bottom: 0 !important;
    }
html body .home-page .workflow-motion-svg[b-w2nmzbtm49] {
        display: none !important;
    }
html body .home-page .workflow-cards[b-w2nmzbtm49] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}
@media (max-width: 720px) {
html body .home-page[b-w2nmzbtm49] {
        padding-bottom: calc(84px + env(safe-area-inset-bottom));
    }
/* the bottom bar carries it on a phone */
html body .home-page .public-header .header-cta[b-w2nmzbtm49] {
        display: none !important;
    }
html body .home-page .workflow-cards[b-w2nmzbtm49] {
        position: relative !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
/* the line the steps hang from */
html body .home-page .workflow-cards[b-w2nmzbtm49]::before {
            content: "";
            position: absolute;
            top: 28px;
            bottom: 28px;
            inset-inline-start: 33px;
            width: 2px;
            border-radius: 2px;
            background: linear-gradient(180deg, rgba(242, 201, 81, .7), rgba(242, 201, 81, .15));
        }
html body .home-page .workflow-step[b-w2nmzbtm49] {
        position: relative;
        min-height: 0 !important;
        display: grid !important;
        grid-template-columns: 52px minmax(0, 1fr);
        align-items: start;
        gap: 14px;
        padding: 16px !important;
        transform: none !important;
    }
html body .home-page .workflow-step__top[b-w2nmzbtm49] {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 0 !important;
    }
html body .home-page .workflow-step__number[b-w2nmzbtm49] {
        position: static !important;
        inset: auto !important;
        width: 36px !important;
        height: 36px !important;
        display: grid !important;
        place-items: center !important;
        border-radius: 12px !important;
    }
html body .home-page .workflow-step__number small[b-w2nmzbtm49] {
            display: none !important;
        }
html body .home-page .workflow-step__icon[b-w2nmzbtm49] {
        position: static !important;
        inset: auto !important;
        min-width: 44px !important;
        width: auto !important;
        height: 26px !important;
        padding: 0 7px !important;
        font-size: .58rem !important;
    }
html body .home-page .workflow-step__content[b-w2nmzbtm49] {
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
    }
html body .home-page .workflow-step__content h3[b-w2nmzbtm49] {
            margin: 4px 0 6px !important;
            font-size: 1rem !important;
            line-height: 1.6 !important;
            word-break: normal !important;
        }
html body .home-page .workflow-step__content p[b-w2nmzbtm49] {
            font-size: .78rem !important;
            line-height: 1.9 !important;
            word-break: normal !important;
        }
/* ---- bottom action bar ---- */
html body .home-page .landing-mobile-cta[b-w2nmzbtm49] {
        position: fixed;
        inset-inline: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        z-index: 6000;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 8px;
        padding: 8px;
        border: 1px solid rgba(177, 137, 65, .2);
        border-radius: 22px;
        background: rgba(255, 253, 248, .9);
        -webkit-backdrop-filter: saturate(1.5) blur(20px);
        backdrop-filter: saturate(1.5) blur(20px);
        box-shadow: 0 16px 40px rgba(45, 36, 25, .18);
        animation: landing-cta-in-b-w2nmzbtm49 .5s .2s cubic-bezier(.16, 1, .3, 1) both;
    }
html body .home-page .landing-mobile-cta a[b-w2nmzbtm49] {
            display: flex !important;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 48px;
            padding: 0 18px;
            border-radius: 15px;
            font-size: .9rem;
            font-weight: 900;
            text-decoration: none;
            white-space: nowrap;
            -webkit-tap-highlight-color: transparent;
        }
html body .home-page .landing-mobile-cta__secondary[b-w2nmzbtm49] {
        border: 1px solid rgba(188, 157, 99, .28);
        background: #fff;
        color: #4f473b !important;
    }
html body .home-page .landing-mobile-cta__primary[b-w2nmzbtm49] {
        background: linear-gradient(180deg, #f2c951, #e5ad27);
        color: #553a04 !important;
        box-shadow: 0 10px 22px rgba(214, 161, 32, .25);
    }
html body .home-page .landing-mobile-cta__primary svg[b-w2nmzbtm49] {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
html body .home-page[dir="rtl"] .landing-mobile-cta__primary svg[b-w2nmzbtm49] {
        transform: scaleX(-1);
    }

}
/* the header itself stays light after dark (its colours are literal),
   so its menu button does too; the panel and the bar follow the theme */
html[data-theme="dark"] body .home-page .public-mobile-menu__panel[b-w2nmzbtm49] {
    border-color: rgba(255, 226, 178, .14);
    background: #17120c;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
}
html[data-theme="dark"] body .home-page .public-mobile-menu__links a[b-w2nmzbtm49],
html[data-theme="dark"] body .home-page .public-mobile-menu__actions a[b-w2nmzbtm49] {
    color: #f6f2e8;
}
html[data-theme="dark"] body .home-page .landing-mobile-cta[b-w2nmzbtm49] {
    border-color: rgba(255, 226, 178, .14);
    background: rgba(24, 19, 12, .9);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
}
html[data-theme="dark"] body .home-page .landing-mobile-cta__secondary[b-w2nmzbtm49] {
    border-color: rgba(255, 226, 178, .18);
    background: rgba(255, 226, 178, .06);
    color: #f6f2e8 !important;
}
@keyframes landing-menu-in-b-w2nmzbtm49 {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes landing-cta-in-b-w2nmzbtm49 {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}
@media (prefers-reduced-motion: reduce) {
html body .home-page .public-mobile-menu__panel[b-w2nmzbtm49],
html body .home-page .landing-mobile-cta[b-w2nmzbtm49] {
        animation: none;
    }

}
/* Goftito logo in the header and footer brand boxes. */
.brand__mark .goftito-mark[b-w2nmzbtm49],
.landing-footer-v2__mark .goftito-mark[b-w2nmzbtm49] {
    position: relative;
    z-index: 1;
    display: block;
    width: 72%;
    height: 72%;
    object-fit: contain;
}
/* =========================================================
   SERVICES MENU AND FOOTER COLUMN
   The links to the service pages. The menu opens on hover and
   on keyboard focus, with no script: the page is prerendered.
   ========================================================= */
.home-page .public-header .public-nav__services[b-w2nmzbtm49] {
    position: relative;
}
.home-page .public-header .public-nav__services-trigger[b-w2nmzbtm49] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    min-height: 38px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #655d51;
    font: inherit;
    font-size: 16px;
    font-weight: 750;
    white-space: nowrap;
    cursor: pointer;
}
.home-page .public-header .public-nav__services-trigger svg[b-w2nmzbtm49] {
        width: 15px;
        height: 15px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform .3s ease;
    }
.home-page .public-header .public-nav__services:hover .public-nav__services-trigger[b-w2nmzbtm49],
.home-page .public-header .public-nav__services:focus-within .public-nav__services-trigger[b-w2nmzbtm49] {
    color: #9a690b;
    background: rgba(216,166,52,.09);
}
.home-page .public-header .public-nav__services:hover .public-nav__services-trigger svg[b-w2nmzbtm49],
.home-page .public-header .public-nav__services:focus-within .public-nav__services-trigger svg[b-w2nmzbtm49] {
        transform: rotate(180deg);
    }
/* one column: document translation (its list opens beside it), then voice, content and tools.
   The menu sits 100px towards the side away from that list, so the two together stay on
   screen from 901px up, in both languages; it still covers the whole trigger. */
.home-page:lang(fa) .public-header .public-nav__services[b-w2nmzbtm49] { --svc-shift: 100px; }
.home-page:lang(en) .public-header .public-nav__services[b-w2nmzbtm49] { --svc-shift: -100px; }
.home-page .public-header .public-nav__services-menu[b-w2nmzbtm49] {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 40;
    display: grid;
    gap: 4px;
    width: 300px;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid rgba(155,125,48,.22);
    border-radius: 18px;
    background: #fffdf8;
    box-shadow: 0 24px 50px rgba(59,48,23,.18);
    opacity: 0;
    visibility: hidden;
    translate: calc(-50% + var(--svc-shift, 0px)) 6px;
    transition: opacity .25s ease, translate .25s ease, visibility .25s;
}
.home-page .public-header .public-nav__services-menu[b-w2nmzbtm49]::before {
        content: "";
        position: absolute;
        inset: -12px 0 auto;
        height: 12px;
    }
.home-page .public-header .public-nav__services:hover .public-nav__services-menu[b-w2nmzbtm49],
.home-page .public-header .public-nav__services:focus-within .public-nav__services-menu[b-w2nmzbtm49] {
    opacity: 1;
    visibility: visible;
    translate: calc(-50% + var(--svc-shift, 0px)) 0;
}
.home-page .public-header .public-nav__services-menu a[b-w2nmzbtm49] {
    display: grid !important;
    gap: 2px;
    padding: 11px 14px;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color .2s ease;
}
.home-page .public-header .public-nav__services-menu a:hover[b-w2nmzbtm49] {
        background: rgba(242,197,79,.12);
    }
.home-page .public-header .public-nav__services-menu a strong[b-w2nmzbtm49] {
        color: #221d18;
        font-size: 13px;
        font-weight: 750;
    }
.home-page .public-header .public-nav__services-menu a small[b-w2nmzbtm49] {
        color: #958b7b;
        font-size: 11.5px;
        font-weight: 600;
    }
.home-page .public-header .public-nav__services-column[b-w2nmzbtm49] {
    display: grid;
    align-content: start;
    gap: 4px;
}
/* document translation: one item whose list opens beside the menu, at its top */
.home-page .public-header .public-nav__translate[b-w2nmzbtm49] {
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(155,125,48,.14);
}
.home-page .public-header .public-nav__translate-trigger[b-w2nmzbtm49] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 14px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    font: inherit;
    text-align: start;
    cursor: pointer;
    transition: background-color .2s ease;
}
.home-page .public-header .public-nav__translate-trigger > span[b-w2nmzbtm49] {
        display: grid;
        flex: 1;
        gap: 2px;
    }
.home-page .public-header .public-nav__translate-trigger strong[b-w2nmzbtm49] {
        color: #221d18;
        font-size: 13px;
        font-weight: 750;
    }
.home-page .public-header .public-nav__translate-trigger small[b-w2nmzbtm49] {
        color: #958b7b;
        font-size: 11.5px;
        font-weight: 600;
    }
.home-page .public-header .public-nav__translate-trigger em[b-w2nmzbtm49] {
        min-width: 22px;
        padding: 2px 7px;
        border-radius: 999px;
        background: rgba(216,166,52,.16);
        color: #9a690b;
        font-size: 11px;
        font-style: normal;
        font-weight: 800;
        text-align: center;
    }
.home-page .public-header .public-nav__translate-trigger svg[b-w2nmzbtm49] {
        flex: none;
        width: 15px;
        height: 15px;
        fill: none;
        stroke: #9a690b;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: translate .25s ease;
    }
.home-page:lang(en) .public-header .public-nav__translate-trigger svg[b-w2nmzbtm49] {
        rotate: 180deg;
    }
.home-page .public-header .public-nav__translate:hover .public-nav__translate-trigger[b-w2nmzbtm49],
.home-page .public-header .public-nav__translate:focus-within .public-nav__translate-trigger[b-w2nmzbtm49] {
    background: rgba(242,197,79,.16);
}
.home-page:lang(fa) .public-header .public-nav__translate:hover .public-nav__translate-trigger svg[b-w2nmzbtm49],
.home-page:lang(fa) .public-header .public-nav__translate:focus-within .public-nav__translate-trigger svg[b-w2nmzbtm49] {
    translate: -3px 0;
}
.home-page:lang(en) .public-header .public-nav__translate:hover .public-nav__translate-trigger svg[b-w2nmzbtm49],
.home-page:lang(en) .public-header .public-nav__translate:focus-within .public-nav__translate-trigger svg[b-w2nmzbtm49] {
    translate: 3px 0;
}
.home-page .public-header .public-nav__translate-menu[b-w2nmzbtm49] {
    position: absolute;
    top: -1px;
    inset-inline-start: calc(100% + 8px);
    display: grid;
    gap: 2px;
    width: 300px;
    padding: 8px;
    border: 1px solid rgba(155,125,48,.22);
    border-radius: 18px;
    background: #fffdf8;
    box-shadow: 0 24px 50px rgba(59,48,23,.18);
    opacity: 0;
    visibility: hidden;
    translate: 0 4px;
    transition: opacity .22s ease, translate .22s ease, visibility .22s;
}
/* a bridge over the gap, so the pointer can cross to the list */
.home-page .public-header .public-nav__translate-menu[b-w2nmzbtm49]::before {
        content: "";
        position: absolute;
        inset-block: 0;
        inset-inline-end: 100%;
        width: 10px;
    }
.home-page .public-header .public-nav__translate:hover .public-nav__translate-menu[b-w2nmzbtm49],
.home-page .public-header .public-nav__translate:focus-within .public-nav__translate-menu[b-w2nmzbtm49] {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
}
.home-page .public-header .public-nav__services.is-closed .public-nav__translate-menu[b-w2nmzbtm49] {
    opacity: 0 !important;
    visibility: hidden !important;
}
.home-page .public-header .public-nav__services-heading[b-w2nmzbtm49] {
    padding: 6px 14px 2px;
    color: #9a690b;
    font-size: 11px;
    font-weight: 800;
}
.home-page .public-mobile-menu__group[b-w2nmzbtm49] {
    display: block;
    margin-top: 8px;
    padding: 10px 14px 4px;
    border-top: 1px solid rgba(155,125,48,.18);
    color: #b78507;
    font-size: 12px;
    font-weight: 800;
}
.landing-footer-v2__grid[b-w2nmzbtm49] {
    grid-template-columns: 1.35fr .9fr .72fr .72fr 1fr;
}
@media (max-width: 1050px) {
.landing-footer-v2__grid[b-w2nmzbtm49] {
        grid-template-columns: 1.25fr .9fr .75fr .75fr;
    }

}
@media (max-width: 720px) {
.landing-footer-v2__grid[b-w2nmzbtm49] {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   FORMAT RING — PHONE
   The section was 645px tall for a 215px row of cards, and the
   cards were tall and narrow. A shorter scene, cards closer to
   square, and the decorative curves moved out of the cards' way.
   ========================================================= */
@media (max-width: 760px) {
html body .home-page .format-ring[b-w2nmzbtm49] {
        --ring-card-width: 92px;
        --ring-card-height: 118px;
        --ring-gap: 8px;
        padding: 34px 0 26px !important;
    }
html body .home-page .format-ring__scene[b-w2nmzbtm49] {
        height: 196px !important;
        margin-top: 12px !important;
    }
html body .home-page .format-ring .formats-reference__viewport[b-w2nmzbtm49] {
        top: 10px !important;
        height: 176px !important;
        /* 900px is the desktop camera; on a 375px screen it flattens the ring */
        perspective: 420px !important;
    }
html body .home-page .format-ring .formats-reference__track[b-w2nmzbtm49] {
        top: 26px !important;
    }
html body .home-page .format-ring .format-ring__orbit[b-w2nmzbtm49] {
        display: none !important;
    }
/* half as tall, so half as curved; the line stays where it was */
html body .home-page .format-ring .format-ring__scene[b-w2nmzbtm49]::before {
        height: 96px !important;
        top: -64px !important;
    }
html body .home-page .format-ring .format-ring__scene[b-w2nmzbtm49]::after {
        height: 96px !important;
        bottom: -64px !important;
    }
html body .home-page .format-ring-card__front[b-w2nmzbtm49] {
        padding: 12px 6px 9px !important;
        border-radius: 18px !important;
    }

}
/* the services menu closes right after a choice, until the pointer leaves (public-pages.js) */
.home-page .public-header .public-nav__services.is-closed .public-nav__services-menu[b-w2nmzbtm49] {
    opacity: 0 !important;
    visibility: hidden !important;
    translate: calc(-50% + var(--svc-shift, 0px)) 6px !important;
}
/* =========================================================
   WORKFLOW — PHONE AND TABLET LIGHT
   On a desktop workflow-motion-v4.js runs a light along the
   rail from step to step; that drawing is built for the row
   of five and is hidden below 1180px, where the steps sit
   two to a row (tablet) or one under another (phone).
   Here the light goes round the border of one step at a
   time, 01 to 05, and starts again: each step is lit for
   2.2s of an 11s turn.
   ========================================================= */
@property --wfm-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}
@keyframes wfm-sweep-b-w2nmzbtm49 {
    to {
        --wfm-angle: 360deg;
    }
}
@keyframes wfm-turn-b-w2nmzbtm49 {
    0% { opacity: 0; }
    3% { opacity: 1; }
    19% { opacity: 1; }
    23% { opacity: 0; }
    100% { opacity: 0; }
}
@media (max-width: 1180px) {
html body .home-page .workflow-step[b-w2nmzbtm49] {
        --wfm-i: 0;
        isolation: isolate;
    }
html body .home-page .workflow-step[data-workflow-step="1"][b-w2nmzbtm49] { --wfm-i: 1; }
html body .home-page .workflow-step[data-workflow-step="2"][b-w2nmzbtm49] { --wfm-i: 2; }
html body .home-page .workflow-step[data-workflow-step="3"][b-w2nmzbtm49] { --wfm-i: 3; }
html body .home-page .workflow-step[data-workflow-step="4"][b-w2nmzbtm49] { --wfm-i: 4; }
/* the light running round the border */
html body .home-page .workflow-step[b-w2nmzbtm49]::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        padding: 1.6px;
        border-radius: inherit;
        background: conic-gradient(
            from var(--wfm-angle),
            transparent 0deg,
            transparent 220deg,
            rgba(252, 209, 102, .35) 270deg,
            #fcd166 318deg,
            #fff3c9 338deg,
            rgba(252, 209, 102, .2) 352deg,
            transparent 360deg);
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
        filter: drop-shadow(0 0 5px rgba(252, 209, 102, .75));
        opacity: 0;
        pointer-events: none;
        animation:
            wfm-sweep-b-w2nmzbtm49 2.2s linear infinite,
            wfm-turn-b-w2nmzbtm49 11s ease-in-out calc(var(--wfm-i) * 2.2s) infinite both;
    }
/* a soft gold wash inside the step while it is lit */
html body .home-page .workflow-step[b-w2nmzbtm49]::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        border-radius: inherit;
        background: radial-gradient(120% 90% at 85% 0%, rgba(252, 209, 102, .16), transparent 60%);
        box-shadow: 0 14px 34px rgba(252, 209, 102, .14);
        opacity: 0;
        pointer-events: none;
        animation: wfm-turn-b-w2nmzbtm49 11s ease-in-out calc(var(--wfm-i) * 2.2s) infinite both;
    }

}
@media (max-width: 1180px) and (prefers-reduced-motion: reduce) {
html body .home-page .workflow-step[b-w2nmzbtm49]::after,
html body .home-page .workflow-step[b-w2nmzbtm49]::before {
        animation: none;
        opacity: 0;
    }

}
/* ENGLISH PAGE (dir=ltr) - START */
/*
   The Persian page is untouched by everything below: each rule is
   scoped to the English page.
*/
/*
   Hero title: Latin letters reach further above and below the line
   than the Persian font, and the gold is painted only inside the
   element's box (background-clip: text), so at line-height 1.02 the
   lines ran into each other and the tail of "g" in "language" was cut.
*/
.home-page[dir="ltr"] .hero h1[b-w2nmzbtm49] {
    line-height: 1.1 !important;
    letter-spacing: -.035em !important;
}
.home-page[dir="ltr"] .hero h1 strong[b-w2nmzbtm49] {
        padding-bottom: .16em !important;
    }
/*
   "Translate every file type, without limitations" is a third longer
   than the Persian heading and was kept on one line, so it ran past
   the page. A size that fits one line, and a break before the gold
   words if a wider font still needs it.
*/
@media (min-width: 1080px) {
.home-page[dir="ltr"] .format-ring__header h2[b-w2nmzbtm49] {
        font-size: min(3.1rem, 3.6vw);
        white-space: normal;
        text-wrap: balance;
    }
.home-page[dir="ltr"] .format-ring__header h2 span[b-w2nmzbtm49] {
            white-space: nowrap;
        }

}
/* ENGLISH PAGE (dir=ltr) - END */
/* STICKY HEADER - START */
/*
   The header stays at the top while the page scrolls, on every width,
   not only on a phone. sticky needs no scrolling ancestor: overflow
   hidden on .home-page makes one, clip does not.
*/
html body .home-page[b-w2nmzbtm49] {
    overflow: clip !important;
}
html body .home-page > .public-header[b-w2nmzbtm49] {
    position: sticky !important;
    top: 0 !important;
}
/* a link to a section lands below the header, not under it */
@media (min-width: 901px) {
.home-page section[id][b-w2nmzbtm49] {
        scroll-margin-top: 96px;
    }

}
/* STICKY HEADER - END */
/* GLASS HEADER - START */
/*
   The header is glass: whatever scrolls under it shows through,
   lightly blurred; once something is under it (js/public-pages.js,
   "is-scrolled") it lifts off the page with a shadow. Over a dark
   section ("is-over-dark", same script) the glass frosts over, or the
   menu would be grey on dark brown. Same as the other public pages'
   header (PublicHeader.razor.css).
*/
html body .home-page > .public-header[b-w2nmzbtm49] {
    border-bottom-color: rgba(177, 137, 65, .12) !important;
    background: rgba(255, 253, 248, .4) !important;
    -webkit-backdrop-filter: blur(10px) saturate(1.8) !important;
    backdrop-filter: blur(10px) saturate(1.8) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7) !important;
    transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
html body .home-page > .public-header.is-scrolled[b-w2nmzbtm49] {
        border-bottom-color: rgba(177, 137, 65, .2) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 14px 34px -22px rgba(45, 36, 25, .5) !important;
    }
html body .home-page > .public-header.is-over-dark[b-w2nmzbtm49] {
        background: rgba(255, 253, 248, .8) !important;
    }
/* GLASS HEADER - END */
/* FOOTER CREDIT - START */
/*
   The studio's credit sits in the middle of the bottom bar. The
   copyright and the links get equal columns on either side, so the
   credit is centred on the bar, not merely between the two.
*/
html body .landing-footer-v2 .landing-footer-v2__bottom[b-w2nmzbtm49] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
}
html body .landing-footer-v2 .landing-footer-v2__bottom-links[b-w2nmzbtm49] {
    justify-self: end;
}
.landing-footer-v2__credit[b-w2nmzbtm49] {
    white-space: nowrap;
}
/* an old rule hides every link on this page (".home-page a"); this one shows */
html body .landing-footer-v2 .landing-footer-v2__credit a[b-w2nmzbtm49] {
        display: inline !important;
        color: #92887b;
        text-decoration: none;
        transition: color .2s ease;
    }
html body .landing-footer-v2 .landing-footer-v2__credit a:hover[b-w2nmzbtm49],
html body .landing-footer-v2 .landing-footer-v2__credit a:focus-visible[b-w2nmzbtm49] {
            color: #e4b64e;
        }
@media (max-width: 720px) {
html body .landing-footer-v2 .landing-footer-v2__bottom[b-w2nmzbtm49] {
        grid-template-columns: minmax(0, 1fr);
        justify-items: start;
        gap: 10px;
    }
html body .landing-footer-v2 .landing-footer-v2__bottom-links[b-w2nmzbtm49] {
        justify-self: start;
    }

}


/* =====================================================
   NEWSLETTER (2026-11-12): the gift form, before the footer.
   ===================================================== */

.home-newsletter[b-w2nmzbtm49] {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 72px;
}


/* =====================================================
   FOOTER COLUMNS (2026-11-12, the user's wish): every link on one line,
   the services column as wide as its longest name, and the rows closer.
   ===================================================== */

.landing-footer-v2 .landing-footer-v2__links a > span[b-w2nmzbtm49] {
    white-space: nowrap;
}

.landing-footer-v2__grid[b-w2nmzbtm49] {
    grid-template-columns: 1.35fr .72fr minmax(max-content, .95fr) .6fr 1fr;
}

.landing-footer-v2__links[b-w2nmzbtm49] {
    gap: 1px;
}

.landing-footer-v2__links a[b-w2nmzbtm49] {
    min-height: 32px;
}

.landing-footer-v2__column-title[b-w2nmzbtm49] {
    margin-bottom: 9px;
}

@media (max-width: 1050px) {
    /* The links keep their width; the brand takes the row above them. */
    .landing-footer-v2__grid[b-w2nmzbtm49] {
        grid-template-columns: .85fr minmax(max-content, 1fr) .7fr;
    }

    .landing-footer-v2__brand[b-w2nmzbtm49] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .landing-footer-v2__grid[b-w2nmzbtm49] {
        grid-template-columns: 1fr;
    }
}

/* document translation: one item that opens in place, as in the desktop menu */
html body .home-page .public-mobile-menu__fold summary[b-w2nmzbtm49] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    color: #3d362c;
    font-size: .92rem;
    font-weight: 800;
    list-style: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

    html body .home-page .public-mobile-menu__fold summary[b-w2nmzbtm49]::-webkit-details-marker {
        display: none;
    }

    html body .home-page .public-mobile-menu__fold summary span[b-w2nmzbtm49] {
        flex: 1 1 auto;
    }

    html body .home-page .public-mobile-menu__fold summary em[b-w2nmzbtm49] {
        min-width: 22px;
        padding: 2px 8px;
        border-radius: 999px;
        background: rgba(216, 166, 52, .16);
        color: #9a690b;
        font-size: 11px;
        font-style: normal;
        font-weight: 800;
        text-align: center;
    }

    html body .home-page .public-mobile-menu__fold summary svg[b-w2nmzbtm49] {
        flex: none;
        width: 16px;
        height: 16px;
        fill: none;
        stroke: #9a690b;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: rotate .25s ease;
    }

html body .home-page .public-mobile-menu__fold[open] summary[b-w2nmzbtm49] {
    background: rgba(216, 166, 52, .1);
}

    html body .home-page .public-mobile-menu__fold[open] summary svg[b-w2nmzbtm49] {
        rotate: 180deg;
    }

html body .home-page .public-mobile-menu__fold-links[b-w2nmzbtm49] {
    display: grid;
    gap: 2px;
    margin: 4px 0 4px;
    margin-inline-start: 14px;
    padding-inline-start: 8px;
    border-inline-start: 2px solid rgba(216, 166, 52, .35);
}

    html body .home-page .public-mobile-menu__fold-links a[b-w2nmzbtm49] {
        min-height: 42px !important;
        font-size: .86rem !important;
        font-weight: 700 !important;
    }

        html body .home-page .public-mobile-menu__fold-links a.is-current[b-w2nmzbtm49] {
            color: #9a690b !important;
            background: rgba(216, 166, 52, .1);
        }

html[data-theme="dark"] body .home-page .public-mobile-menu__fold summary[b-w2nmzbtm49] {
    color: #f6f2e8;
}

html[data-theme="dark"] body .home-page .public-mobile-menu__fold summary em[b-w2nmzbtm49],
html[data-theme="dark"] body .home-page .public-mobile-menu__fold summary svg[b-w2nmzbtm49] {
    color: #f0c85c;
    stroke: #f0c85c;
}

/* the panel scrolls when it is taller than the screen, as on the other pages (the header is sticky) */
html body .home-page .public-mobile-menu__panel[b-w2nmzbtm49] {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}
/* _content/AITranslationPlatform.Web/Components/Account/Pages/Login.razor.rz.scp.css */
/* =========================================================
   DESIGN TOKENS
   ========================================================= */

.auth-page[b-zcntmlmtst] {
    --page-bg: #f7f8f9;
    --card-bg: #ffffff;
    --text: #182033;
    --text-secondary: #454d5e;
    --muted: #a1a8b4;
    --primary: #1138b3;
    --primary-hover: #0d2e99;
    --primary-soft: #eef2ff;
    --primary-medium: #dce4ff;
    --border: #e8ebf0;
    --input-bg: #fafbfc;
    --danger: #d14343;
    --danger-soft: #fff3f3;
    --shadow: 0 30px 70px rgba(32, 42, 68, .10);
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--page-bg);
    color: var(--text);
}


    /* =========================================================
   DIRECTION
   ========================================================= */

    .auth-page[dir="rtl"][b-zcntmlmtst] {
        direction: rtl;
        text-align: right;
        font-family: "IRANSansX", Tahoma, "Segoe UI", Arial, sans-serif;
    }

    .auth-page[dir="ltr"][b-zcntmlmtst] {
        direction: ltr;
        text-align: left;
        font-family: Inter, "Segoe UI", Arial, sans-serif;
    }


/* =========================================================
   BACKGROUND
   ========================================================= */

.auth-background[b-zcntmlmtst] {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.background-shape[b-zcntmlmtst] {
    position: absolute;
    border-radius: 999px;
    filter: blur(.1px);
}

.shape-a[b-zcntmlmtst] {
    width: 500px;
    height: 500px;
    top: -300px;
    left: -230px;
    background: radial-gradient( circle, rgba(31, 76, 197, .10), rgba(31, 76, 197, 0) 70%);
}

.shape-b[b-zcntmlmtst] {
    width: 560px;
    height: 560px;
    right: -280px;
    bottom: -340px;
    background: radial-gradient( circle, rgba(17, 56, 179, .075), rgba(17, 56, 179, 0) 70%);
}

.background-dot[b-zcntmlmtst] {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    opacity: .2;
}

.dot-a[b-zcntmlmtst] {
    top: 20%;
    left: 17%;
}

.dot-b[b-zcntmlmtst] {
    right: 15%;
    bottom: 24%;
}


/* =========================================================
   HEADER
   ========================================================= */

.auth-header[b-zcntmlmtst] {
    width: min(100% - 64px, 1360px);
    height: 88px;
    margin-inline: auto;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-brand[b-zcntmlmtst] {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
}

.brand-symbol[b-zcntmlmtst] {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: white;
    background: var(--primary);
    box-shadow: 0 9px 22px rgba(17, 56, 179, .20);
}

    .brand-symbol svg[b-zcntmlmtst] {
        width: 24px;
    }

.brand-name[b-zcntmlmtst] {
    font-size: .93rem;
    font-weight: 720;
    letter-spacing: -.025em;
}

.auth-page[dir="rtl"] .brand-name[b-zcntmlmtst] {
    letter-spacing: 0;
}

.header-actions[b-zcntmlmtst] {
    display: flex;
    align-items: center;
    gap: 9px;
}

.header-control[b-zcntmlmtst] {
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, .68);
    color: var(--text-secondary);
    text-decoration: none;
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, transform .2s ease, background .2s ease;
}

    .header-control:hover[b-zcntmlmtst] {
        color: var(--primary);
        border-color: rgba(17, 56, 179, .25);
        transform: translateY(-1px);
    }

.language-control[b-zcntmlmtst] {
    min-width: 44px;
    padding-inline: 12px;
    font-size: .72rem;
    font-weight: 700;
}

.theme-control[b-zcntmlmtst] {
    width: 40px;
    padding: 0;
}

    .theme-control svg[b-zcntmlmtst] {
        width: 17px;
        height: 17px;
    }

.theme-dark-icon[b-zcntmlmtst] {
    display: none;
}


/* =========================================================
   CONTENT
   ========================================================= */

.auth-content[b-zcntmlmtst] {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px 50px;
}


/* =========================================================
   MAIN CARD
   ========================================================= */

.interaction-card[b-zcntmlmtst] {
    width: min(100%, 480px);
    position: relative;
    overflow: hidden;
    padding: 42px 42px 25px;
    border: 1px solid rgba(226, 230, 237, .92);
    border-radius: 28px;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    animation: cardAppear-b-zcntmlmtst .55s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes cardAppear-b-zcntmlmtst {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.interaction-step[b-zcntmlmtst] {
    animation: stepEnter-b-zcntmlmtst .48s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes stepEnter-b-zcntmlmtst {
    from {
        opacity: 0;
        transform: translateX(18px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.auth-page[dir="rtl"] .interaction-step[b-zcntmlmtst] {
    animation-name: stepEnterRtl-b-zcntmlmtst;
}

@keyframes stepEnterRtl-b-zcntmlmtst {
    from {
        opacity: 0;
        transform: translateX(-18px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* =========================================================
   VISUAL
   ========================================================= */

.visual-area[b-zcntmlmtst] {
    height: 176px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.visual-circle[b-zcntmlmtst] {
    width: 146px;
    height: 146px;
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient( 145deg, #f0f3ff, #fafbff);
}

.visual-ring[b-zcntmlmtst] {
    position: absolute;
    border: 1px solid rgba(17, 56, 179, .10);
    border-radius: 50%;
}

.ring-one[b-zcntmlmtst] {
    inset: -10px;
    animation: ringPulse-b-zcntmlmtst 3.2s ease-in-out infinite;
}

.ring-two[b-zcntmlmtst] {
    inset: -23px;
    opacity: .45;
    animation: ringPulse-b-zcntmlmtst 3.2s .45s ease-in-out infinite;
}

@keyframes ringPulse-b-zcntmlmtst {
    0%, 100% {
        transform: scale(.96);
        opacity: .35;
    }

    50% {
        transform: scale(1.035);
        opacity: .9;
    }
}


/* =========================================================
   PHONE ART
   ========================================================= */

.phone-device[b-zcntmlmtst] {
    width: 67px;
    height: 108px;
    position: relative;
    padding: 10px 7px 8px;
    border: 2px solid var(--text);
    border-radius: 15px;
    background: white;
    box-shadow: 0 12px 25px rgba(32, 42, 68, .13);
    transform: rotate(-4deg);
    animation: phoneFloat-b-zcntmlmtst 4s ease-in-out infinite;
}

.auth-page[dir="rtl"] .phone-device[b-zcntmlmtst] {
    transform: rotate(4deg);
}

@keyframes phoneFloat-b-zcntmlmtst {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -5px;
    }
}

.phone-speaker[b-zcntmlmtst] {
    width: 19px;
    height: 3px;
    margin: 0 auto 13px;
    border-radius: 999px;
    background: #d3d7df;
}

.phone-screen[b-zcntmlmtst] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phone-message-line[b-zcntmlmtst] {
    display: block;
    height: 4px;
    border-radius: 999px;
    background: #dfe3ea;
}

    .phone-message-line.line-one[b-zcntmlmtst] {
        width: 39px;
        margin-bottom: 6px;
    }

    .phone-message-line.line-two[b-zcntmlmtst] {
        width: 28px;
        margin-bottom: 16px;
    }

.phone-code-dots[b-zcntmlmtst] {
    display: flex;
    gap: 4px;
}

    .phone-code-dots span[b-zcntmlmtst] {
        width: 6px;
        height: 6px;
        border-radius: 2px;
        background: var(--primary);
        animation: codeDot-b-zcntmlmtst 1.6s ease-in-out infinite;
    }

        .phone-code-dots span:nth-child(2)[b-zcntmlmtst] {
            animation-delay: .12s;
        }

        .phone-code-dots span:nth-child(3)[b-zcntmlmtst] {
            animation-delay: .24s;
        }

        .phone-code-dots span:nth-child(4)[b-zcntmlmtst] {
            animation-delay: .36s;
        }

@keyframes codeDot-b-zcntmlmtst {
    0%, 100% {
        opacity: .35;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

.floating-check[b-zcntmlmtst] {
    width: 34px;
    height: 34px;
    position: absolute;
    right: 3px;
    bottom: 16px;
    display: grid;
    place-items: center;
    border: 4px solid white;
    border-radius: 50%;
    color: white;
    background: var(--primary);
    box-shadow: 0 7px 15px rgba(17, 56, 179, .22);
    animation: checkPop-b-zcntmlmtst 2.7s ease-in-out infinite;
}

    .floating-check svg[b-zcntmlmtst] {
        width: 17px;
    }

@keyframes checkPop-b-zcntmlmtst {
    0%, 70%, 100% {
        transform: scale(1);
    }

    80% {
        transform: scale(1.12);
    }
}


/* =========================================================
   OTP VISUAL
   ========================================================= */

.message-card[b-zcntmlmtst] {
    width: 108px;
    padding: 14px 13px;
    border: 1px solid #e8ebf0;
    border-radius: 15px;
    background: white;
    box-shadow: 0 14px 25px rgba(32, 42, 68, .11);
    transform: rotate(3deg);
    animation: messageFloat-b-zcntmlmtst 4s ease-in-out infinite;
}

.auth-page[dir="rtl"] .message-card[b-zcntmlmtst] {
    transform: rotate(-3deg);
}

@keyframes messageFloat-b-zcntmlmtst {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -5px;
    }
}

.message-header[b-zcntmlmtst] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 13px;
    direction: ltr;
    color: var(--text-secondary);
    font-size: .43rem;
    font-weight: 700;
}

.message-app-icon[b-zcntmlmtst] {
    width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    background: var(--primary);
    color: white;
    font-size: .48rem;
}

.message-lines[b-zcntmlmtst] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
}

    .message-lines span[b-zcntmlmtst] {
        height: 4px;
        border-radius: 999px;
        background: #e2e5eb;
    }

        .message-lines span:first-child[b-zcntmlmtst] {
            width: 100%;
        }

        .message-lines span:last-child[b-zcntmlmtst] {
            width: 66%;
        }

.message-card strong[b-zcntmlmtst] {
    display: block;
    text-align: center;
    direction: ltr;
    color: var(--primary);
    font-size: .8rem;
    letter-spacing: .14em;
}

.floating-sms[b-zcntmlmtst] {
    width: 34px;
    height: 34px;
    position: absolute;
    left: 4px;
    bottom: 16px;
    display: grid;
    place-items: center;
    border: 4px solid white;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    box-shadow: 0 7px 15px rgba(17, 56, 179, .22);
}

    .floating-sms svg[b-zcntmlmtst] {
        width: 16px;
    }


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.step-copy[b-zcntmlmtst] {
    margin-bottom: 27px;
    text-align: center;
}

.step-label[b-zcntmlmtst] {
    display: block;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: .66rem;
    font-weight: 760;
    letter-spacing: .08em;
}

.auth-page[dir="rtl"] .step-label[b-zcntmlmtst] {
    letter-spacing: 0;
}

.step-copy h1[b-zcntmlmtst] {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 1.72rem;
    line-height: 1.35;
    font-weight: 760;
    letter-spacing: -.035em;
}

.auth-page[dir="rtl"] .step-copy h1[b-zcntmlmtst] {
    letter-spacing: 0;
}

.step-copy p[b-zcntmlmtst] {
    max-width: 365px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: .79rem;
    line-height: 1.85;
}

.verified-phone[b-zcntmlmtst] {
    display: block;
    width: fit-content;
    margin: 9px auto 0;
    direction: ltr;
    color: var(--primary);
    font-size: .82rem;
    font-weight: 750;
    letter-spacing: .035em;
}


/* =========================================================
   FORM
   ========================================================= */

.auth-form[b-zcntmlmtst] {
    width: 100%;
}

.field[b-zcntmlmtst] {
    margin-bottom: 16px;
}

    .field label[b-zcntmlmtst] {
        display: block;
        margin-bottom: 8px;
        color: var(--text-secondary);
        font-size: .72rem;
        font-weight: 650;
    }

.auth-page[dir="rtl"] .field label[b-zcntmlmtst] {
    text-align: right;
}

.auth-page[dir="ltr"] .field label[b-zcntmlmtst] {
    text-align: left;
}


/* =========================================================
   PHONE INPUT
   Country code ALWAYS on the left
   ========================================================= */

.phone-field[b-zcntmlmtst] {
    width: 100%;
    height: 64px;
    display: flex;
    align-items: center;
    /*
       خیلی مهم:
       شماره و +98 چه در فارسی و چه انگلیسی
       همیشه از چپ به راست چیده می‌شوند.
    */
    direction: ltr !important;
    flex-direction: row !important;
    position: relative;
    overflow: hidden;
    border: 1px solid #dde3ec;
    border-radius: 18px;
    background: linear-gradient( 180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: 0 2px 3px rgba(16, 24, 40, .02), 0 7px 20px rgba(16, 24, 40, .035);
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease, background .22s ease;
}


    /* subtle highlight */
    .phone-field[b-zcntmlmtst]::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        border-radius: inherit;
        background: linear-gradient( 110deg, rgba(17, 56, 179, .035), transparent 34%);
        opacity: 0;
        transition: opacity .22s ease;
    }


    .phone-field:hover[b-zcntmlmtst] {
        border-color: rgba(17, 56, 179, .25);
        box-shadow: 0 3px 5px rgba(16, 24, 40, .025), 0 10px 25px rgba(16, 24, 40, .055);
    }


        .phone-field:hover[b-zcntmlmtst]::before {
            opacity: 1;
        }


    .phone-field:focus-within[b-zcntmlmtst] {
        border-color: rgba(17, 56, 179, .72);
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(17, 56, 179, .075), 0 10px 30px rgba(17, 56, 179, .08);
        transform: translateY(-1px);
    }


/* =========================================================
   COUNTRY PREFIX
   ========================================================= */

.country-section[b-zcntmlmtst] {
    height: 100%;
    min-width: 105px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 13px;
    /*
       Prefix هم مستقل از زبان همیشه LTR
    */
    direction: ltr !important;
    position: relative;
    background: linear-gradient( 135deg, rgba(17, 56, 179, .055), rgba(31, 76, 197, .025));
    color: var(--text);
}


    /* separator */
    .country-section[b-zcntmlmtst]::after {
        content: "";
        position: absolute;
        right: 0;
        top: 14px;
        bottom: 14px;
        width: 1px;
        background: linear-gradient( to bottom, transparent, #dce1e9 20%, #dce1e9 80%, transparent);
    }


/* flag gets its own small surface */
.country-flag[b-zcntmlmtst] {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(16, 24, 40, .055);
    border-radius: 9px;
    background: #ffffff;
    font-size: .94rem;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(16, 24, 40, .045);
}


.country-number[b-zcntmlmtst] {
    color: #273142;
    font-size: .86rem;
    font-weight: 750;
    letter-spacing: .015em;
}


/*
   دیگر country-divider قبلی لازم نیست
   چون separator را با ::after ساختیم.
*/
.country-divider[b-zcntmlmtst] {
    display: none;
}


/* =========================================================
   NUMBER INPUT
   ========================================================= */

[b-zcntmlmtst] .phone-number {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 18px;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--text);
    direction: ltr !important;
    text-align: left !important;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: .075em;
    caret-color: var(--primary);
    appearance: none !important;
    -webkit-appearance: none !important;
}


    [b-zcntmlmtst] .phone-number:focus,
    [b-zcntmlmtst] .phone-number:focus-visible,
    [b-zcntmlmtst] .phone-number:hover {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }


    [b-zcntmlmtst] .phone-number.valid,
    [b-zcntmlmtst] .phone-number.modified,
    [b-zcntmlmtst] .phone-number.invalid {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }


    [b-zcntmlmtst] .phone-number::placeholder {
        color: #b4bbc7;
        font-size: .96rem;
        font-weight: 450;
        letter-spacing: .065em;
        opacity: 1;
    }


/* Blazor validation classes */
.phone-number.valid[b-zcntmlmtst],
.phone-number.modified[b-zcntmlmtst],
.phone-number.invalid[b-zcntmlmtst] {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}


/* =========================================================
   BUTTON
   ========================================================= */

.continue-button[b-zcntmlmtst] {
    width: 100%;
    height: 57px;
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: var(--primary);
    color: white;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(17, 56, 179, .17);
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

    .continue-button:hover[b-zcntmlmtst] {
        background: var(--primary-hover);
        transform: translateY(-2px);
        box-shadow: 0 15px 29px rgba(17, 56, 179, .23);
    }

    .continue-button:active[b-zcntmlmtst] {
        transform: translateY(0);
    }

.button-content[b-zcntmlmtst] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: .82rem;
    font-weight: 700;
}

    .button-content svg[b-zcntmlmtst] {
        width: 17px;
        height: 17px;
    }

.auth-page[dir="rtl"] .button-content svg[b-zcntmlmtst] {
    transform: scaleX(-1);
}

.button-loading[b-zcntmlmtst] {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
}

.continue-button.is-loading .button-content[b-zcntmlmtst] {
    visibility: hidden;
}

.continue-button.is-loading .button-loading[b-zcntmlmtst] {
    display: flex;
}

.button-spinner[b-zcntmlmtst] {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.36);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-zcntmlmtst .7s linear infinite;
}

@keyframes spin-b-zcntmlmtst {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   PRIVACY
   ========================================================= */

.privacy-note[b-zcntmlmtst] {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--muted);
    font-size: .66rem;
}

    .privacy-note svg[b-zcntmlmtst] {
        width: 14px;
        height: 14px;
    }


/* =========================================================
   ERROR
   ========================================================= */

.auth-message[b-zcntmlmtst] {
    margin-bottom: 17px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 11px;
    font-size: .7rem;
    line-height: 1.6;
}

.auth-error[b-zcntmlmtst] {
    border: 1px solid rgba(209, 67, 67, .14);
    background: var(--danger-soft);
    color: var(--danger);
}

.message-symbol[b-zcntmlmtst] {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(209, 67, 67, .10);
    font-size: .68rem;
    font-weight: 800;
}


/* =========================================================
   BACK
   ========================================================= */

.back-control[b-zcntmlmtst] {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: -4px;
    color: var(--muted);
    text-decoration: none;
    font-size: .67rem;
    transition: color .2s ease;
}

    .back-control:hover[b-zcntmlmtst] {
        color: var(--primary);
    }

    .back-control svg[b-zcntmlmtst] {
        width: 15px;
    }

.auth-page[dir="rtl"] .back-control svg[b-zcntmlmtst] {
    transform: scaleX(-1);
}


/* =========================================================
   SIX OTP BOXES
   ========================================================= */

.otp-input-area[b-zcntmlmtst] {
    margin-bottom: 17px;
}

/* =========================================================
   REAL OTP INPUT - MUST STAY HIDDEN
   ========================================================= */

[b-zcntmlmtst] .otp-hidden-input {
    position: absolute !important;
    left: -9999px !important;
    top: 0 !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 1px !important;
    min-height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    background: transparent !important;
    pointer-events: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

    [b-zcntmlmtst] .otp-hidden-input:focus,
    [b-zcntmlmtst] .otp-hidden-input:focus-visible,
    [b-zcntmlmtst] .otp-hidden-input:hover,
    [b-zcntmlmtst] .otp-hidden-input.valid,
    [b-zcntmlmtst] .otp-hidden-input.modified,
    [b-zcntmlmtst] .otp-hidden-input.invalid {
        border: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

/* =========================================================
   SIX OTP BOXES - IMPROVED LAYOUT
   ========================================================= */

.otp-input-area[b-zcntmlmtst] {
    margin-bottom: 19px;
}

.otp-digits[b-zcntmlmtst] {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    direction: ltr;
}

.otp-digit[b-zcntmlmtst] {
    width: 52px;
    height: 58px;
    flex: 0 0 52px;
    border: 1px solid var(--border);
    border-radius: 14px;
    outline: none;
    background: var(--input-bg);
    color: var(--text);
    text-align: center;
    font-size: 1.18rem;
    font-weight: 750;
    caret-color: var(--primary);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

    .otp-digit:hover[b-zcntmlmtst] {
        border-color: rgba(17, 56, 179, .24);
    }

    .otp-digit:focus[b-zcntmlmtst] {
        border-color: rgba(17, 56, 179, .68);
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(17, 56, 179, .08);
        transform: translateY(-2px);
    }

    .otp-digit.has-value[b-zcntmlmtst] {
        border-color: rgba(17, 56, 179, .34);
        background: var(--primary-soft);
        color: var(--primary);
    }

    .otp-digit:hover[b-zcntmlmtst] {
        border-color: rgba(17, 56, 179, .23);
    }

    .otp-digit:focus[b-zcntmlmtst] {
        border-color: rgba(17, 56, 179, .62);
        background: white;
        box-shadow: 0 0 0 3px rgba(17, 56, 179, .07);
        transform: translateY(-2px);
    }

    .otp-digit.has-value[b-zcntmlmtst] {
        border-color: rgba(17, 56, 179, .35);
        background: var(--primary-soft);
        color: var(--primary);
    }


/* =========================================================
   REMEMBER
   ========================================================= */

.remember-device[b-zcntmlmtst] {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: var(--text-secondary);
    font-size: .68rem;
    cursor: pointer;
}

    .remember-device input[b-zcntmlmtst] {
        width: 15px;
        height: 15px;
        accent-color: var(--primary);
    }


/* =========================================================
   RESEND
   ========================================================= */

.resend-section[b-zcntmlmtst] {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--muted);
    font-size: .67rem;
}

    .resend-section form[b-zcntmlmtst] {
        margin: 0;
    }

.resend-button[b-zcntmlmtst] {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

    .resend-button:hover:not(:disabled)[b-zcntmlmtst] {
        text-decoration: underline;
    }

    .resend-button:disabled[b-zcntmlmtst] {
        color: var(--muted);
        cursor: default;
    }


/* =========================================================
   FOOTERS
   ========================================================= */

.card-footer[b-zcntmlmtst] {
    margin-top: 27px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    text-align: center;
    font-size: .59rem;
    line-height: 1.8;
}

.page-footer[b-zcntmlmtst] {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--muted);
    font-size: .59rem;
}


/* =========================================================
   VALIDATION
   ========================================================= */

.validation-message[b-zcntmlmtst] {
    display: block;
    margin-top: 7px;
    color: var(--danger);
    font-size: .65rem;
}





/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .auth-header[b-zcntmlmtst] {
        width: calc(100% - 32px);
        height: 70px;
    }

    .brand-symbol[b-zcntmlmtst] {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .brand-name[b-zcntmlmtst] {
        display: none;
    }

    .auth-content[b-zcntmlmtst] {
        align-items: flex-start;
        padding: 22px 14px 35px;
    }

    .interaction-card[b-zcntmlmtst] {
        width: 100%;
        padding: 31px 22px 21px;
        border-radius: 24px;
    }

    .visual-area[b-zcntmlmtst] {
        height: 150px;
        margin-bottom: 14px;
    }

    .visual-circle[b-zcntmlmtst] {
        width: 126px;
        height: 126px;
    }

    .step-copy h1[b-zcntmlmtst] {
        font-size: 1.48rem;
    }

    .step-copy p[b-zcntmlmtst] {
        font-size: .74rem;
    }

    .phone-field[b-zcntmlmtst] {
        height: 56px;
    }

    .otp-digits[b-zcntmlmtst] {
        gap: 6px;
    }

    .otp-digit[b-zcntmlmtst] {
        border-radius: 10px;
        font-size: 1.08rem;
    }
}


/* =========================================================
   VERY SMALL
   ========================================================= */

@media (max-width: 370px) {

    .interaction-card[b-zcntmlmtst] {
        padding-inline: 17px;
    }

    .country-section[b-zcntmlmtst] {
        padding-inline: 10px 7px;
    }

    .phone-number[b-zcntmlmtst] {
        padding-inline: 10px;
    }

    .otp-digits[b-zcntmlmtst] {
        gap: 4px;
    }
}



/* =========================================================
   AUTH STATE TRANSITIONS
   ========================================================= */

.interaction-card[b-zcntmlmtst] {
    width: 100%;
    max-width: 480px;
    transition: max-width .55s cubic-bezier(.22, 1, .36, 1), transform .38s cubic-bezier(.22, 1, .36, 1), opacity .30s ease, padding .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s ease;
}


    /* PHONE -> OTP */

    .interaction-card.phone-state[b-zcntmlmtst] {
        max-width: 480px;
    }

    .interaction-card.otp-state[b-zcntmlmtst] {
        max-width: 560px;
        animation: otpCardMorph-b-zcntmlmtst .58s cubic-bezier(.22, 1, .36, 1) both;
    }


@keyframes otpCardMorph-b-zcntmlmtst {

    0% {
        opacity: .25;
        transform: scaleX(.86) scaleY(.97) translateY(7px);
    }

    55% {
        opacity: 1;
        transform: scaleX(1.015) scaleY(1);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


/* CONTENT ENTER */

.otp-state .otp-step[b-zcntmlmtst] {
    animation: otpContentEnter-b-zcntmlmtst .62s .09s cubic-bezier(.22, 1, .36, 1) both;
}


@keyframes otpContentEnter-b-zcntmlmtst {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* OTP illustration comes in separately */

.otp-state .otp-visual[b-zcntmlmtst] {
    animation: otpIllustrationEnter-b-zcntmlmtst .72s .12s cubic-bezier(.16, 1, .3, 1) both;
}


@keyframes otpIllustrationEnter-b-zcntmlmtst {

    0% {
        opacity: 0;
        transform: translateX(34px) rotate(4deg) scale(.82);
    }

    65% {
        opacity: 1;
        transform: translateX(-3px) rotate(-1deg) scale(1.025);
    }

    100% {
        opacity: 1;
        transform: translateX(0) rotate(0) scale(1);
    }
}


.auth-page[dir="rtl"]
.otp-state .otp-visual[b-zcntmlmtst] {
    animation-name: otpIllustrationEnterRtl-b-zcntmlmtst;
}


@keyframes otpIllustrationEnterRtl-b-zcntmlmtst {

    0% {
        opacity: 0;
        transform: translateX(-34px) rotate(-4deg) scale(.82);
    }

    65% {
        opacity: 1;
        transform: translateX(3px) rotate(1deg) scale(1.025);
    }

    100% {
        opacity: 1;
        transform: translateX(0) rotate(0) scale(1);
    }
}





/* =========================================================
   SUCCESS STATE
   ========================================================= */

.interaction-card.success-state[b-zcntmlmtst] {
    max-width: 390px;
    padding: 46px 38px 34px;
    animation: successCardMorph-b-zcntmlmtst .58s cubic-bezier(.22, 1, .36, 1) both;
}


@keyframes successCardMorph-b-zcntmlmtst {

    0% {
        opacity: .35;
        transform: scaleX(1.18) scaleY(.97);
    }

    70% {
        opacity: 1;
        transform: scaleX(.985) scaleY(1.01);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}


.success-step[b-zcntmlmtst] {
    text-align: center;
}


.success-visual[b-zcntmlmtst] {
    width: 112px;
    height: 112px;
    position: relative;
    margin: 6px auto 29px;
    display: grid;
    place-items: center;
}


.success-ring[b-zcntmlmtst] {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(36, 174, 125, .16);
}


.success-ring-1[b-zcntmlmtst] {
    inset: 5px;
    animation: successRing-b-zcntmlmtst 1.8s ease-in-out infinite;
}


.success-ring-2[b-zcntmlmtst] {
    inset: -9px;
    opacity: .55;
    animation: successRing-b-zcntmlmtst 1.8s .2s ease-in-out infinite;
}


@keyframes successRing-b-zcntmlmtst {

    0%, 100% {
        transform: scale(.94);
        opacity: .25;
    }

    50% {
        transform: scale(1.04);
        opacity: .8;
    }
}


.success-check[b-zcntmlmtst] {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #43bf91;
    color: white;
    box-shadow: 0 12px 30px rgba(67, 191, 145, .25);
    animation: successCheckPop-b-zcntmlmtst .62s .16s cubic-bezier(.34, 1.56, .64, 1) both;
}


    .success-check svg[b-zcntmlmtst] {
        width: 31px;
        height: 31px;
    }


    .success-check path[b-zcntmlmtst] {
        stroke-dasharray: 28;
        stroke-dashoffset: 28;
        animation: drawSuccessCheck-b-zcntmlmtst .42s .50s ease forwards;
    }


@keyframes successCheckPop-b-zcntmlmtst {

    from {
        opacity: 0;
        transform: scale(.25) rotate(-12deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}


@keyframes drawSuccessCheck-b-zcntmlmtst {

    to {
        stroke-dashoffset: 0;
    }
}


.success-copy[b-zcntmlmtst] {
    animation: successTextEnter-b-zcntmlmtst .48s .34s ease-out both;
}


@keyframes successTextEnter-b-zcntmlmtst {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.success-copy h1[b-zcntmlmtst] {
    margin: 0 0 9px;
    color: var(--text);
    font-size: 1.55rem;
}


.success-copy p[b-zcntmlmtst] {
    max-width: 310px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: .75rem;
    line-height: 1.9;
}


.success-loading-line[b-zcntmlmtst] {
    width: 150px;
    height: 3px;
    margin: 27px auto 0;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(17, 56, 179, .08);
}


    .success-loading-line span[b-zcntmlmtst] {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: inherit;
        background: var(--primary);
        transform-origin: left;
        animation: successLoading-b-zcntmlmtst 1.35s .15s linear both;
    }


.auth-page[dir="rtl"]
.success-loading-line span[b-zcntmlmtst] {
    transform-origin: right;
}


@keyframes successLoading-b-zcntmlmtst {

    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}


/* before final redirect */

.success-state.success-leaving[b-zcntmlmtst] {
    animation: successLeave-b-zcntmlmtst .30s ease forwards;
}


@keyframes successLeave-b-zcntmlmtst {

    to {
        opacity: 0;
        transform: scale(.96) translateY(-7px);
    }
}

/* =========================================================
   2026-09-25 — LANDING-THEME AUTH OVERRIDE
   Palette/surfaces only. Existing motion/keyframes remain intact.
   ========================================================= */

.auth-page[b-zcntmlmtst] {
    --page-bg: #f7f2e9;
    --card-bg: rgba(255, 253, 248, .94);
    --text: #2a241d;
    --text-secondary: #746858;
    --muted: #a39787;
    --primary: #c58a16;
    --primary-hover: #a96f07;
    --primary-soft: #fff5dc;
    --primary-medium: #f3dfa8;
    --border: #eadfcd;
    --input-bg: #fffdf9;
    --danger: #c94f4f;
    --danger-soft: #fff2ef;
    --success: #6f9462;
    --success-soft: #eff6eb;
    --shadow: 0 30px 80px rgba(73, 52, 24, .12);
    background: radial-gradient(55% 44% at 50% 15%, rgba(224, 169, 49, .10), transparent 72%), linear-gradient(180deg, #faf7f0 0%, #f5efe5 100%);
}

/* Warm architectural lines inspired by the landing page. */
.auth-background[b-zcntmlmtst]::before,
.auth-background[b-zcntmlmtst]::after {
    content: "";
    position: absolute;
    left: 50%;
    width: min(1180px, 86vw);
    height: 260px;
    transform: translateX(-50%);
    border: 1px solid rgba(201, 142, 24, .18);
    border-left-color: transparent;
    border-right-color: transparent;
    border-radius: 50%;
    pointer-events: none;
}

.auth-background[b-zcntmlmtst]::before {
    top: -154px;
    box-shadow: 0 18px 60px rgba(206, 151, 31, .035);
}

.auth-background[b-zcntmlmtst]::after {
    bottom: -178px;
    box-shadow: 0 -18px 60px rgba(206, 151, 31, .035);
}

.shape-a[b-zcntmlmtst] {
    background: radial-gradient(circle, rgba(217, 157, 35, .11), rgba(217, 157, 35, 0) 70%);
}

.shape-b[b-zcntmlmtst] {
    background: radial-gradient(circle, rgba(161, 105, 20, .08), rgba(161, 105, 20, 0) 70%);
}

.background-dot[b-zcntmlmtst] {
    background: #d39a26;
    box-shadow: 0 0 0 5px rgba(211, 154, 38, .07), 0 0 20px rgba(211, 154, 38, .22);
}

.auth-brand[b-zcntmlmtst] {
    color: var(--text);
}

.brand-symbol[b-zcntmlmtst] {
    color: #2d2417;
    background: linear-gradient(145deg, #f5ca61 0%, #d79b20 100%);
    box-shadow: 0 12px 28px rgba(188, 127, 11, .24), inset 0 1px 0 rgba(255,255,255,.55);
}

.header-control[b-zcntmlmtst] {
    border-color: rgba(168, 126, 62, .18);
    background: rgba(255, 252, 246, .72);
    color: #6f6252;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.70);
}

    .header-control:hover[b-zcntmlmtst] {
        color: #a76e08;
        border-color: rgba(197, 138, 22, .34);
        background: #fffaf0;
    }

.interaction-card[b-zcntmlmtst] {
    border-color: rgba(183, 137, 68, .20);
    background: radial-gradient(100% 70% at 50% 0%, rgba(232, 181, 64, .055), transparent 58%), var(--card-bg);
    box-shadow: 0 34px 80px rgba(68, 48, 20, .12), 0 1px 0 rgba(255,255,255,.86) inset;
    backdrop-filter: blur(16px);
}

    .interaction-card[b-zcntmlmtst]::before {
        content: "";
        position: absolute;
        inset: 0 28px auto;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(218, 158, 37, .44), transparent);
        pointer-events: none;
    }

.visual-circle[b-zcntmlmtst] {
    background: radial-gradient(circle at 34% 26%, rgba(255,255,255,.92), transparent 28%), linear-gradient(145deg, #fff8e8 0%, #f8edcf 100%);
    box-shadow: inset 0 0 0 1px rgba(201, 145, 31, .08);
}

.visual-ring[b-zcntmlmtst] {
    border-color: rgba(197, 138, 22, .16);
}

.phone-device[b-zcntmlmtst],
.message-card[b-zcntmlmtst] {
    border-color: rgba(135, 101, 54, .18);
    background: #fffdf9;
    box-shadow: 0 16px 34px rgba(78, 55, 22, .13);
}

.phone-device[b-zcntmlmtst] {
    border-color: #4b4034;
}

.phone-speaker[b-zcntmlmtst] {
    background: #d9cdbb;
}

.phone-message-line[b-zcntmlmtst] {
    background: #e9dfd0;
}

.phone-code-dots span[b-zcntmlmtst] {
    background: #c58a16;
}

.floating-check[b-zcntmlmtst],
.floating-sms[b-zcntmlmtst],
.message-app-icon[b-zcntmlmtst] {
    background: linear-gradient(145deg, #efbd4e, #c98b12);
    color: #2d2417;
    box-shadow: 0 8px 20px rgba(190, 126, 8, .22);
}

.message-header[b-zcntmlmtst] {
    color: #766957;
}

.message-lines span[b-zcntmlmtst] {
    background: #ece3d5;
}

.message-card strong[b-zcntmlmtst] {
    color: #b5790c;
}

.step-label[b-zcntmlmtst] {
    color: #b87b0d;
}

.step-copy h1[b-zcntmlmtst] {
    color: #2a241d;
}

.step-copy p[b-zcntmlmtst] {
    color: #756a5b;
}

.verified-phone[b-zcntmlmtst] {
    color: #ad7309;
}

.phone-field[b-zcntmlmtst] {
    border-color: #e1d4c1;
    background: linear-gradient(180deg, #fffefb 0%, #fcf8f1 100%);
    box-shadow: 0 8px 24px rgba(82, 57, 22, .045);
}

    .phone-field[b-zcntmlmtst]::before {
        background: linear-gradient(110deg, rgba(197, 138, 22, .055), transparent 38%);
    }

    .phone-field:hover[b-zcntmlmtst] {
        border-color: rgba(197, 138, 22, .34);
        box-shadow: 0 10px 26px rgba(82, 57, 22, .07);
    }

    .phone-field:focus-within[b-zcntmlmtst] {
        border-color: rgba(197, 138, 22, .72);
        background: #fffefb;
        box-shadow: 0 0 0 4px rgba(197, 138, 22, .09), 0 12px 30px rgba(91, 62, 22, .08);
    }

.country-section[b-zcntmlmtst] {
    background: linear-gradient(135deg, rgba(215, 160, 48, .10), rgba(215, 160, 48, .035));
}

    .country-section[b-zcntmlmtst]::after {
        background: linear-gradient(to bottom, transparent, #dfd1bc 20%, #dfd1bc 80%, transparent);
    }

.country-flag[b-zcntmlmtst] {
    border-color: rgba(152, 110, 46, .10);
    background: #fffdfa;
}

.country-number[b-zcntmlmtst] {
    color: #3b3329;
}

[b-zcntmlmtst] .phone-number {
    color: #2d271f;
    caret-color: #c58a16;
}

    [b-zcntmlmtst] .phone-number::placeholder {
        color: #b7aa98;
    }

.continue-button[b-zcntmlmtst] {
    background: linear-gradient(135deg, #edbd50 0%, #d89b22 100%);
    color: #2f2617;
    box-shadow: 0 12px 28px rgba(186, 125, 12, .23), inset 0 1px 0 rgba(255,255,255,.38);
}

    .continue-button:hover[b-zcntmlmtst] {
        background: linear-gradient(135deg, #f3c65d 0%, #c98a16 100%);
        box-shadow: 0 16px 34px rgba(186, 125, 12, .28);
    }

.button-spinner[b-zcntmlmtst] {
    border-color: rgba(47,38,23,.22);
    border-top-color: #2f2617;
}

.privacy-note[b-zcntmlmtst],
.card-footer[b-zcntmlmtst],
.page-footer[b-zcntmlmtst],
.resend-section[b-zcntmlmtst] {
    color: #9a8e7e;
}

.back-control[b-zcntmlmtst] {
    color: #9a8e7e;
}

    .back-control:hover[b-zcntmlmtst],
    .resend-button[b-zcntmlmtst] {
        color: #b5790c;
    }

.auth-error[b-zcntmlmtst] {
    border-color: rgba(193, 76, 65, .16);
    background: #fff2ee;
    color: #bd4d45;
}

/* OTP boxes — warm normal state */
.otp-digit[b-zcntmlmtst] {
    border-color: #e1d5c4;
    background: #fffdf9;
    color: #30291f;
    caret-color: #c58a16;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

    .otp-digit:hover[b-zcntmlmtst] {
        border-color: rgba(197, 138, 22, .34);
    }

    .otp-digit:focus[b-zcntmlmtst] {
        border-color: rgba(197, 138, 22, .72);
        background: #fffefb;
        box-shadow: 0 0 0 3px rgba(197, 138, 22, .09);
    }

    .otp-digit.has-value[b-zcntmlmtst] {
        border-color: rgba(197, 138, 22, .43);
        background: #fff7e5;
        color: #a96f07;
    }

.remember-device[b-zcntmlmtst] {
    color: #756a5b;
}

    .remember-device input[b-zcntmlmtst] {
        accent-color: #c58a16;
    }

.card-footer[b-zcntmlmtst] {
    border-top-color: #eadfcd;
}

.validation-message[b-zcntmlmtst] {
    color: #bd4d45;
}

/* =========================================================
   OTP VERIFICATION FEEDBACK
   ========================================================= */

/* =========================================================
   OTP — VERIFYING / SUCCESS / ERROR
   ========================================================= */

.otp-digits[b-zcntmlmtst] {
    position: relative;
}


    /* ---------------------------------------------------------
   CHECKING
   --------------------------------------------------------- */

    .otp-digits.is-checking .otp-digit[b-zcntmlmtst] {
        border-color: rgba(197, 138, 22, .60) !important;
        background: #fff9e9 !important;
        color: #a96f07 !important;
        animation: otpVerifyPulse-b-zcntmlmtst .52s ease-in-out infinite alternate;
    }


        .otp-digits.is-checking
        .otp-digit:nth-child(2)[b-zcntmlmtst] {
            animation-delay: .04s;
        }

        .otp-digits.is-checking
        .otp-digit:nth-child(3)[b-zcntmlmtst] {
            animation-delay: .08s;
        }

        .otp-digits.is-checking
        .otp-digit:nth-child(4)[b-zcntmlmtst] {
            animation-delay: .12s;
        }

        .otp-digits.is-checking
        .otp-digit:nth-child(5)[b-zcntmlmtst] {
            animation-delay: .16s;
        }

        .otp-digits.is-checking
        .otp-digit:nth-child(6)[b-zcntmlmtst] {
            animation-delay: .20s;
        }


@keyframes otpVerifyPulse-b-zcntmlmtst {

    from {
        transform: translateY(0) scale(1);
        box-shadow: 0 0 0 0 rgba(197,138,22,0);
    }

    to {
        transform: translateY(-2px) scale(1.015);
        box-shadow: 0 0 0 4px rgba(197,138,22,.075);
    }
}


/* ---------------------------------------------------------
   SUCCESS
   --------------------------------------------------------- */

.otp-digits.is-valid[b-zcntmlmtst] {
    animation: otpSuccessGroup-b-zcntmlmtst .44s cubic-bezier(.22,1,.36,1) both;
}


    .otp-digits.is-valid .otp-digit[b-zcntmlmtst] {
        border-color: #7aa36d !important;
        background: linear-gradient( 180deg, #f7fcf4, #edf7e9 ) !important;
        color: #527448 !important;
        box-shadow: 0 0 0 3px rgba(111,148,98,.11), 0 9px 22px rgba(83,119,73,.09) !important;
        animation: otpSuccessDigit-b-zcntmlmtst .48s cubic-bezier(.18,1.5,.36,1) both;
    }


        .otp-digits.is-valid
        .otp-digit:nth-child(2)[b-zcntmlmtst] {
            animation-delay: .045s;
        }

        .otp-digits.is-valid
        .otp-digit:nth-child(3)[b-zcntmlmtst] {
            animation-delay: .09s;
        }

        .otp-digits.is-valid
        .otp-digit:nth-child(4)[b-zcntmlmtst] {
            animation-delay: .135s;
        }

        .otp-digits.is-valid
        .otp-digit:nth-child(5)[b-zcntmlmtst] {
            animation-delay: .18s;
        }

        .otp-digits.is-valid
        .otp-digit:nth-child(6)[b-zcntmlmtst] {
            animation-delay: .225s;
        }


@keyframes otpSuccessDigit-b-zcntmlmtst {

    0% {
        transform: translateY(0) scale(1);
    }

    48% {
        transform: translateY(-6px) scale(1.055);
    }

    72% {
        transform: translateY(1px) scale(.99);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}


@keyframes otpSuccessGroup-b-zcntmlmtst {

    0% {
        transform: scale(1);
    }

    55% {
        transform: scale(1.012);
    }

    100% {
        transform: scale(1);
    }
}


/* ---------------------------------------------------------
   INVALID
   --------------------------------------------------------- */

.otp-digits.is-invalid[b-zcntmlmtst] {
    animation: otpWrongCodeShake-b-zcntmlmtst .48s cubic-bezier(.36,.07,.19,.97) both;
}


    .otp-digits.is-invalid .otp-digit[b-zcntmlmtst] {
        border-color: #d55c55 !important;
        background: linear-gradient( 180deg, #fff9f7, #fff0ed ) !important;
        color: #bd4d47 !important;
        box-shadow: 0 0 0 3px rgba(201,79,79,.09), 0 8px 18px rgba(177,68,62,.06) !important;
        animation: otpWrongDigit-b-zcntmlmtst .42s ease both;
    }


@keyframes otpWrongCodeShake-b-zcntmlmtst {

    0%, 100% {
        transform: translateX(0);
    }

    15% {
        transform: translateX(-7px);
    }

    30% {
        transform: translateX(6px);
    }

    45% {
        transform: translateX(-5px);
    }

    60% {
        transform: translateX(4px);
    }

    75% {
        transform: translateX(-2px);
    }
}


@keyframes otpWrongDigit-b-zcntmlmtst {

    0% {
        transform: scale(1);
    }

    35% {
        transform: scale(.965);
    }

    70% {
        transform: scale(1.025);
    }

    100% {
        transform: scale(1);
    }
}


/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .otp-digits.is-checking .otp-digit[b-zcntmlmtst],
    .otp-digits.is-valid[b-zcntmlmtst],
    .otp-digits.is-valid .otp-digit[b-zcntmlmtst],
    .otp-digits.is-invalid[b-zcntmlmtst],
    .otp-digits.is-invalid .otp-digit[b-zcntmlmtst] {
        animation: none !important;
    }
}

/* =========================================================
   WARM DARK MODE
   ========================================================= */

/* Three layers, as in the light theme: a deep page, a card that stands
   out of it, and fields sunk into the card. Before, page, card and fields
   were the same brown and nothing separated them. app.css still has the
   old blue dark login, and every rule below that names :hover, :focus or a
   ring is also there to keep its blue out. */
:root[data-theme="dark"] .auth-page[b-zcntmlmtst] {
    --page-bg: #0f0b08;
    --card-bg: #2a2219;
    --text: #f6efe4;
    --text-secondary: #c9bba8;
    --muted: #978a78;
    --primary: #e8b443;
    --primary-hover: #f3c45c;
    --primary-soft: rgba(232, 180, 67, .12);
    --primary-medium: rgba(232, 180, 67, .22);
    --border: rgba(240, 196, 110, .16);
    --input-bg: #17120d;
    --danger-soft: rgba(194, 74, 67, .12);
    --shadow: 0 40px 100px rgba(0, 0, 0, .55);
    background: radial-gradient(48% 46% at 50% 38%, rgba(232, 180, 67, .11), transparent 72%), radial-gradient(70% 40% at 50% 0%, rgba(232, 180, 67, .06), transparent 70%), linear-gradient(180deg, #120e0a 0%, #0c0906 100%);
}

:root[data-theme="dark"] .auth-background[b-zcntmlmtst]::before,
:root[data-theme="dark"] .auth-background[b-zcntmlmtst]::after {
    border-color: rgba(232, 180, 67, .16);
    border-left-color: transparent;
    border-right-color: transparent;
}

:root[data-theme="dark"] .shape-a[b-zcntmlmtst] {
    background: radial-gradient(circle, rgba(232, 180, 67, .12), rgba(232, 180, 67, 0) 70%);
}

:root[data-theme="dark"] .shape-b[b-zcntmlmtst] {
    background: radial-gradient(circle, rgba(196, 128, 40, .10), rgba(196, 128, 40, 0) 70%);
}

:root[data-theme="dark"] .header-control[b-zcntmlmtst] {
    border-color: rgba(240, 196, 110, .18);
    background: rgba(36, 28, 20, .82);
    color: #c9bba8;
    box-shadow: inset 0 1px 0 rgba(255, 236, 200, .06);
}

    :root[data-theme="dark"] .header-control:hover[b-zcntmlmtst] {
        border-color: rgba(232, 180, 67, .42);
        background: #2e2419;
        color: var(--primary);
    }

:root[data-theme="dark"] .interaction-card[b-zcntmlmtst] {
    border-color: rgba(240, 196, 110, .20);
    background: radial-gradient(100% 60% at 50% 0%, rgba(240, 190, 80, .11), transparent 62%), linear-gradient(180deg, #2d241a 0%, #241d15 100%);
    box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .30), inset 0 1px 0 rgba(255, 236, 200, .08);
}

    :root[data-theme="dark"] .interaction-card[b-zcntmlmtst]::before {
        background: linear-gradient(90deg, transparent, rgba(240, 190, 80, .60), transparent);
    }

:root[data-theme="dark"] .visual-circle[b-zcntmlmtst] {
    background: radial-gradient(circle at 34% 26%, rgba(255, 222, 160, .16), transparent 44%), linear-gradient(145deg, #3e3123 0%, #2b2218 100%);
    box-shadow: inset 0 0 0 1px rgba(240, 196, 110, .16), 0 18px 40px rgba(0, 0, 0, .30);
}

:root[data-theme="dark"] .visual-ring[b-zcntmlmtst] {
    border-color: rgba(232, 180, 67, .24);
}

:root[data-theme="dark"] .phone-device[b-zcntmlmtst],
:root[data-theme="dark"] .message-card[b-zcntmlmtst] {
    background: #1b1510;
    border-color: rgba(240, 196, 110, .22);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .40);
}

:root[data-theme="dark"] .phone-device[b-zcntmlmtst] {
    border-color: #cbbca5;
}

:root[data-theme="dark"] .phone-speaker[b-zcntmlmtst],
:root[data-theme="dark"] .phone-message-line[b-zcntmlmtst],
:root[data-theme="dark"] .message-lines span[b-zcntmlmtst] {
    background: #4a3f32;
}

:root[data-theme="dark"] .floating-check[b-zcntmlmtst],
:root[data-theme="dark"] .floating-sms[b-zcntmlmtst] {
    border-color: #2d241a;
}

:root[data-theme="dark"] .phone-field[b-zcntmlmtst],
:root[data-theme="dark"] .otp-digit[b-zcntmlmtst] {
    background: var(--input-bg);
    border-color: rgba(240, 196, 110, .22);
    color: #f2eadf;
}

:root[data-theme="dark"] .phone-field[b-zcntmlmtst] {
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35);
}

    :root[data-theme="dark"] .phone-field:hover[b-zcntmlmtst] {
        border-color: rgba(232, 180, 67, .42);
        box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35);
    }

    :root[data-theme="dark"] .phone-field:focus-within[b-zcntmlmtst] {
        border-color: rgba(232, 180, 67, .78);
        background: #1b150f;
        box-shadow: 0 0 0 4px rgba(232, 180, 67, .14), inset 0 2px 6px rgba(0, 0, 0, .30);
    }

:root[data-theme="dark"] .country-section[b-zcntmlmtst] {
    background: rgba(232, 180, 67, .08);
}

:root[data-theme="dark"] .country-flag[b-zcntmlmtst] {
    background: #2a2118;
    border-color: rgba(240, 196, 110, .16);
}

:root[data-theme="dark"] .continue-button[b-zcntmlmtst] {
    box-shadow: 0 14px 34px rgba(232, 180, 67, .20), inset 0 1px 0 rgba(255, 255, 255, .35);
}

:root[data-theme="dark"] .card-footer[b-zcntmlmtst] {
    border-top-color: rgba(240, 196, 110, .12);
}

/* The input is rendered by InputText, so ::deep must follow an element of
   this page: after :root it never matched and the typed number stayed
   the light theme's near-black. */
:root[data-theme="dark"] .country-number[b-zcntmlmtst],
:root[data-theme="dark"] .phone-field[b-zcntmlmtst]  .phone-number {
    color: #f1e9dd;
}

:root[data-theme="dark"] .country-section[b-zcntmlmtst]::after {
    background: linear-gradient(to bottom, transparent, rgba(224, 184, 105, .18) 20%, rgba(224, 184, 105, .18) 80%, transparent);
}

/* The code boxes. The light theme's white inner highlight ran round the
   rounded top as a ragged white line, and the faint border above beat its
   gold hover, focus and filled borders, so no box ever turned gold. */
:root[data-theme="dark"] .otp-digit[b-zcntmlmtst] {
    border-color: rgba(226, 173, 57, .30);
    box-shadow: none;
}

:root[data-theme="dark"] .otp-digit:hover[b-zcntmlmtst] {
    border-color: rgba(226, 173, 57, .50);
}

:root[data-theme="dark"] .otp-digit:focus[b-zcntmlmtst] {
    background: #1b150f;
    border-color: rgba(226, 173, 57, .78);
    box-shadow: 0 0 0 3px rgba(226, 173, 57, .14);
}

:root[data-theme="dark"] .otp-digit.has-value[b-zcntmlmtst] {
    background: rgba(226, 173, 57, .10);
    border-color: rgba(226, 173, 57, .55);
    color: #f0c45f;
}

:root[data-theme="dark"] .auth-error[b-zcntmlmtst] {
    background: rgba(197, 79, 72, .10);
    color: #ec8a7f;
}

/* The warm theme above gives these fixed light-page colours, which win
   over the tokens: on the dark card the titles were near-black. */
:root[data-theme="dark"] .step-copy h1[b-zcntmlmtst] {
    color: var(--text);
}

:root[data-theme="dark"] .step-copy p[b-zcntmlmtst],
:root[data-theme="dark"] .remember-device[b-zcntmlmtst] {
    color: var(--text-secondary);
}

:root[data-theme="dark"] .verified-phone[b-zcntmlmtst] {
    color: var(--primary);
}

:root[data-theme="dark"] .message-header[b-zcntmlmtst] {
    color: var(--muted);
}

/* Rendered by ValidationMessage, outside this page's scope. */
:root[data-theme="dark"] .auth-page[b-zcntmlmtst]  .validation-message {
    color: #ec8a7f;
}

/* Checking, accepted and wrong code: the light theme's pale boxes. */
:root[data-theme="dark"] .otp-digits.is-checking .otp-digit[b-zcntmlmtst] {
    border-color: rgba(226, 173, 57, .60) !important;
    background: rgba(226, 173, 57, .14) !important;
    color: #f0c45f !important;
}

:root[data-theme="dark"] .otp-digits.is-valid .otp-digit[b-zcntmlmtst] {
    border-color: #6f9a62 !important;
    background: rgba(111, 154, 98, .16) !important;
    color: #a8d39a !important;
    box-shadow: 0 0 0 3px rgba(111, 154, 98, .16) !important;
}

:root[data-theme="dark"] .otp-digits.is-invalid .otp-digit[b-zcntmlmtst] {
    border-color: #d55c55 !important;
    background: rgba(213, 92, 85, .14) !important;
    color: #f09a90 !important;
    box-shadow: 0 0 0 3px rgba(213, 92, 85, .14) !important;
}

/* Two-factor step: the recovery code. */
:root[data-theme="dark"] .recovery-code-section[b-zcntmlmtst]  .recovery-code-form input {
    border-color: rgba(240, 196, 110, .22);
    background: var(--input-bg);
    color: #f2eadf;
}

    :root[data-theme="dark"] .recovery-code-section[b-zcntmlmtst]  .recovery-code-form input::placeholder {
        color: var(--muted);
    }

:root[data-theme="dark"] .recovery-code-form button[b-zcntmlmtst] {
    border-color: rgba(226, 173, 57, .34);
    background: rgba(226, 173, 57, .12);
    color: #f0c45f;
}

@media (prefers-reduced-motion: reduce) {
    .otp-digits.is-checking .otp-digit[b-zcntmlmtst],
    .otp-digits.is-valid .otp-digit[b-zcntmlmtst],
    .otp-digits.is-invalid[b-zcntmlmtst],
    .otp-digits.is-invalid .otp-digit[b-zcntmlmtst] {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* The six code boxes were fixed at 52px each: 352px with the gaps,
   wider than the card on a 375px phone, so the last box sat off
   screen. They share the row now and stop growing at the old size. */
.otp-digit[b-zcntmlmtst] {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: 52px;
}

/* Goftito logo: a light box, so the gold mark is not lost on a gold one. */
.brand-symbol[b-zcntmlmtst] {
    border: 1px solid rgba(189, 139, 43, .22);
    background: linear-gradient(145deg, #fffdf8, #f5e8ca);
}

.brand-symbol .goftito-mark[b-zcntmlmtst] {
    display: block;
    width: 72%;
    height: 72%;
    object-fit: contain;
}

.message-app-icon[b-zcntmlmtst] {
    background: #fffdf8;
}

.message-app-icon .goftito-mark[b-zcntmlmtst] {
    display: block;
    width: 86%;
    height: 86%;
    object-fit: contain;
}

/* Two-factor step: signing in with a recovery code instead of the app. */
.recovery-code-section[b-zcntmlmtst] {
    margin-top: 18px;
    color: #9a8e7e;
    font-size: .78rem;
    text-align: center;
}

    .recovery-code-section > summary[b-zcntmlmtst] {
        cursor: pointer;
        list-style: none;
        color: #b5790c;
    }

        .recovery-code-section > summary[b-zcntmlmtst]::-webkit-details-marker {
            display: none;
        }

/* The form and its input are rendered by EditForm and InputText, which
   carry no scope attribute of this page: they are reached with ::deep. */
.recovery-code-section[b-zcntmlmtst]  .recovery-code-form {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

    .recovery-code-section[b-zcntmlmtst]  .recovery-code-form input {
        flex: 1;
        min-width: 0;
        padding: 10px 12px;
        border: 1px solid #e1d5c4;
        border-radius: 12px;
        background: #fffdf9;
        color: #30291f;
        font: inherit;
        letter-spacing: .06em;
        text-align: center;
    }

        .recovery-code-section[b-zcntmlmtst]  .recovery-code-form input:focus {
            outline: none;
            border-color: rgba(197, 138, 22, .72);
            box-shadow: 0 0 0 3px rgba(197, 138, 22, .09);
        }

    .recovery-code-form button[b-zcntmlmtst] {
        padding: 10px 14px;
        border: 1px solid rgba(197, 138, 22, .34);
        border-radius: 12px;
        background: #fff7e5;
        color: #8a5a08;
        font: inherit;
        font-weight: 700;
        cursor: pointer;
        white-space: nowrap;
    }

@media (max-width: 420px) {
    .recovery-code-section[b-zcntmlmtst]  .recovery-code-form {
        flex-direction: column;
    }
}
/* _content/AITranslationPlatform.Web/Components/Admin/AiConfiguration/AdminAiConfiguration.razor.rz.scp.css */
/* ============================================================
   ADMIN AI CONFIGURATION V2
   ============================================================ */

.ai-configuration[b-eitab9td6n] {
    --ai-accent: #5f70e8;
    --ai-accent-hover: #4f60d6;
    --ai-accent-soft: rgba(95,112,232,.08);
    --ai-accent-border: rgba(95,112,232,.18);
    --ai-green: #238267;
    --ai-green-soft: rgba(35,130,103,.09);
    --ai-red: #c94f5d;
    --ai-red-soft: rgba(201,79,93,.085);
    --ai-amber: #a9781e;
    --ai-amber-soft: rgba(169,120,30,.09);
    --ai-violet: #7659b5;
    --ai-violet-soft: rgba(118,89,181,.09);
    --ai-panel: #fff;
    --ai-panel-soft: #f8faff;
    --ai-panel-muted: #f4f7fb;
    --ai-border: #e3e9f3;
    --ai-border-strong: #d7e0ee;
    --ai-text: #1c2940;
    --ai-secondary: #5d6c84;
    --ai-muted: #8490a4;
    --ai-shadow: 0 14px 38px rgba(36,52,86,.055);
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 30px 28px 56px;
    color: var(--ai-text);
}

.page-header[b-eitab9td6n],
.section-heading[b-eitab9td6n],
.routing-quality-header[b-eitab9td6n],
.quality-profile-header[b-eitab9td6n] {
    display: flex;
    justify-content: space-between;
    gap: 22px;
}

.page-header[b-eitab9td6n] {
    align-items: flex-end;
    margin-bottom: 22px;
}

.page-header-copy[b-eitab9td6n] {
    min-width: 0;
    max-width: 850px;
}

.eyebrow[b-eitab9td6n] {
    display: block;
    margin-bottom: 7px;
    color: var(--ai-accent);
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .12em;
}

.ai-configuration[dir="rtl"] .eyebrow[b-eitab9td6n] {
    letter-spacing: 0;
}

.page-header h1[b-eitab9td6n] {
    margin: 0;
    font-size: clamp(1.65rem,2.3vw,2.4rem);
    font-weight: 820;
    line-height: 1.25;
}

.page-header p[b-eitab9td6n],
.section-heading p[b-eitab9td6n] {
    margin: 8px 0 0;
    color: var(--ai-secondary);
    font-size: .76rem;
    line-height: 1.9;
}

.provider-link[b-eitab9td6n] {
    min-width: 210px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    border: 1px solid var(--ai-border);
    border-radius: 15px;
    color: var(--ai-text);
    background: var(--ai-panel);
    box-shadow: 0 8px 20px rgba(36,52,86,.035);
    text-decoration: none;
}

.provider-link-icon[b-eitab9td6n],
.overview-icon[b-eitab9td6n],
.processing-card-icon[b-eitab9td6n],
.input-glyph[b-eitab9td6n],
.operation-icon[b-eitab9td6n],
.model-avatar[b-eitab9td6n],
.new-model-plus[b-eitab9td6n],
.catalog-sync-icon[b-eitab9td6n],
.feedback-icon[b-eitab9td6n],
.routing-info-icon[b-eitab9td6n],
.test-center-icon[b-eitab9td6n] {
    display: grid;
    place-items: center;
}

.provider-link-icon[b-eitab9td6n] {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: var(--ai-accent);
    background: var(--ai-accent-soft);
}

.provider-link > span:last-child[b-eitab9td6n] {
    display: grid;
    gap: 2px;
}

.provider-link strong[b-eitab9td6n] {
    font-size: .66rem;
}

.provider-link small[b-eitab9td6n] {
    color: var(--ai-muted);
    font-size: .52rem;
}

.feedback-banner[b-eitab9td6n] {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid;
    border-radius: 14px;
}

    .feedback-banner.success[b-eitab9td6n] {
        color: #1f725b;
        border-color: rgba(35,130,103,.18);
        background: rgba(35,130,103,.065);
    }

    .feedback-banner.danger[b-eitab9td6n] {
        color: #b54451;
        border-color: rgba(201,79,93,.18);
        background: rgba(201,79,93,.06);
    }

.feedback-icon[b-eitab9td6n] {
    width: 31px;
    height: 31px;
    border-radius: 9px;
    background: rgba(255,255,255,.62);
    font-weight: 900;
}

.feedback-banner > div[b-eitab9td6n] {
    display: grid;
    gap: 2px;
}

.feedback-banner strong[b-eitab9td6n] {
    font-size: .69rem;
}

.feedback-banner small[b-eitab9td6n] {
    font-size: .57rem;
    opacity: .82;
}

.loading-state[b-eitab9td6n] {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--ai-border);
    border-radius: 18px;
    color: var(--ai-muted);
    background: var(--ai-panel);
}

.loading-spinner[b-eitab9td6n] {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(95,112,232,.15);
    border-top-color: var(--ai-accent);
    border-radius: 50%;
    animation: ai-spin-b-eitab9td6n .8s linear infinite;
}

@keyframes ai-spin-b-eitab9td6n {
    to {
        transform: rotate(360deg);
    }
}

.overview-grid[b-eitab9td6n] {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 11px;
    margin-bottom: 14px;
}

.overview-card[b-eitab9td6n] {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 14px;
    border: 1px solid var(--ai-border);
    border-radius: 17px;
    background: var(--ai-panel);
    box-shadow: 0 7px 20px rgba(36,52,86,.03);
}

.overview-icon[b-eitab9td6n] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 11px;
    color: var(--ai-accent);
    background: var(--ai-accent-soft);
    font-size: .62rem;
    font-weight: 900;
}

    .overview-icon.violet[b-eitab9td6n] {
        color: var(--ai-violet);
        background: var(--ai-violet-soft);
    }

    .overview-icon.green[b-eitab9td6n] {
        color: var(--ai-green);
        background: var(--ai-green-soft);
    }

    .overview-icon.amber[b-eitab9td6n] {
        color: var(--ai-amber);
        background: var(--ai-amber-soft);
    }

.overview-card > div[b-eitab9td6n] {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 4px;
}

.overview-card small[b-eitab9td6n] {
    color: var(--ai-muted);
    font-size: .52rem;
}

.overview-card strong[b-eitab9td6n] {
    font-size: .84rem;
}

.overview-meta[b-eitab9td6n], .overview-link[b-eitab9td6n] {
    color: var(--ai-muted);
    font-size: .5rem;
    text-decoration: none;
}

.status-dot[b-eitab9td6n] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

    .status-dot.on[b-eitab9td6n] {
        background: #2c9a79;
        box-shadow: 0 0 0 4px rgba(44,154,121,.09);
    }

    .status-dot.off[b-eitab9td6n] {
        background: #d45c68;
        box-shadow: 0 0 0 4px rgba(212,92,104,.08);
    }

.state-positive[b-eitab9td6n] {
    color: var(--ai-green) !important;
}

.state-negative[b-eitab9td6n] {
    color: var(--ai-red) !important;
}

.state-warning[b-eitab9td6n] {
    color: var(--ai-amber) !important;
}

.processing-card[b-eitab9td6n] {
    display: grid;
    grid-template-columns: minmax(0,1.6fr) auto minmax(180px,.55fr) auto;
    align-items: center;
    gap: 18px;
    padding: 18px 19px;
    border: 1px solid var(--ai-border);
    border-radius: 19px;
    background: linear-gradient(135deg,rgba(95,112,232,.035),transparent 42%),var(--ai-panel);
    box-shadow: var(--ai-shadow);
}

.processing-card-main[b-eitab9td6n] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.processing-card-icon[b-eitab9td6n] {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    border-radius: 14px;
    color: var(--ai-accent);
    background: var(--ai-accent-soft);
    font-size: .7rem;
    font-weight: 900;
}

.processing-card h2[b-eitab9td6n] {
    margin: 0;
    font-size: .9rem;
}

.processing-card p[b-eitab9td6n] {
    margin: 5px 0 0;
    color: var(--ai-muted);
    font-size: .57rem;
    line-height: 1.65;
}

.primary-button[b-eitab9td6n],
.secondary-primary-button[b-eitab9td6n],
.danger-secondary-button[b-eitab9td6n] {
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid;
    border-radius: 10px;
    font: inherit;
    font-size: .61rem;
    font-weight: 760;
    cursor: pointer;
    white-space: nowrap;
}

.primary-button[b-eitab9td6n] {
    color: #fff;
    border-color: var(--ai-accent);
    background: var(--ai-accent);
    box-shadow: 0 7px 18px rgba(95,112,232,.19);
}

    .primary-button:hover[b-eitab9td6n] {
        background: var(--ai-accent-hover);
    }

.secondary-primary-button[b-eitab9td6n] {
    color: var(--ai-accent);
    border-color: var(--ai-accent-border);
    background: var(--ai-accent-soft);
}

.danger-secondary-button[b-eitab9td6n] {
    color: var(--ai-red);
    border-color: rgba(201,79,93,.2);
    background: var(--ai-red-soft);
}

    .danger-secondary-button:disabled[b-eitab9td6n] {
        opacity: .4;
        cursor: not-allowed;
    }

.audit-field[b-eitab9td6n],
.routing-field[b-eitab9td6n],
.global-route-card > label[b-eitab9td6n],
.global-route-controls > label[b-eitab9td6n],
.pipeline-field-grid label[b-eitab9td6n],
.test-form label[b-eitab9td6n],
.model-field-grid label[b-eitab9td6n] {
    display: grid;
    gap: 5px;
}

    .audit-field.compact[b-eitab9td6n] {
        min-width: 180px;
    }

    .audit-field > span[b-eitab9td6n],
    .routing-field > span[b-eitab9td6n],
    .global-route-card label > span[b-eitab9td6n],
    .pipeline-field-grid label > span[b-eitab9td6n],
    .test-form label > span[b-eitab9td6n],
    .model-field-grid label > span[b-eitab9td6n] {
        color: var(--ai-secondary);
        font-size: .52rem;
        font-weight: 680;
    }

    .audit-field input[b-eitab9td6n],
    .routing-field select[b-eitab9td6n],
    .routing-field input[b-eitab9td6n],
    .global-route-card select[b-eitab9td6n],
    .global-route-card input[type="number"][b-eitab9td6n],
    .pipeline-field-grid input[b-eitab9td6n],
    .test-form select[b-eitab9td6n],
    .test-form textarea[b-eitab9td6n],
    .model-field-grid input[b-eitab9td6n] {
        box-sizing: border-box;
        width: 100%;
        min-height: 36px;
        border: 1px solid var(--ai-border-strong);
        border-radius: 9px;
        outline: none;
        padding: 0 9px;
        color: var(--ai-text);
        background: var(--ai-panel-soft);
        font: inherit;
        font-size: .59rem;
    }

.test-form textarea[b-eitab9td6n] {
    min-height: 60px;
    padding: 8px 9px;
    resize: vertical;
}

.switch-control[b-eitab9td6n] {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.switch-copy[b-eitab9td6n] {
    display: grid;
    gap: 2px;
    text-align: end;
}

    .switch-copy strong[b-eitab9td6n] {
        font-size: .6rem;
    }

    .switch-copy small[b-eitab9td6n] {
        color: var(--ai-muted);
        font-size: .47rem;
    }

.switch-control input[b-eitab9td6n],
.mini-switch input[b-eitab9td6n],
.route-switch input[b-eitab9td6n] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.switch-control i[b-eitab9td6n],
.mini-switch-ui[b-eitab9td6n],
.route-switch-ui[b-eitab9td6n] {
    position: relative;
    border-radius: 999px;
    background: #cfd7e3;
}

.switch-control i[b-eitab9td6n] {
    width: 42px;
    height: 23px;
}

    .switch-control i[b-eitab9td6n]::after,
    .mini-switch-ui i[b-eitab9td6n],
    .route-switch-ui i[b-eitab9td6n] {
        content: "";
        position: absolute;
        top: 3px;
        inset-inline-start: 3px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 1px 4px rgba(31,45,70,.16);
    }

    .switch-control i[b-eitab9td6n]::after {
        width: 17px;
        height: 17px;
    }

.switch-control input:checked + i[b-eitab9td6n],
.mini-switch input:checked + .mini-switch-ui[b-eitab9td6n],
.route-switch input:checked + .route-switch-ui[b-eitab9td6n] {
    background: var(--ai-accent);
}

    .switch-control input:checked + i[b-eitab9td6n]::after {
        transform: translateX(19px);
    }

.ai-configuration[dir="rtl"] .switch-control input:checked + i[b-eitab9td6n]::after {
    transform: translateX(-19px);
}

.section-jump-nav[b-eitab9td6n] {
    position: sticky;
    top: 10px;
    z-index: 12;
    display: flex;
    gap: 6px;
    margin: 18px 0 4px;
    padding: 6px;
    overflow-x: auto;
    border: 1px solid rgba(227,233,243,.82);
    border-radius: 13px;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 24px rgba(36,52,86,.04);
}

    .section-jump-nav a[b-eitab9td6n] {
        flex: 0 0 auto;
        padding: 7px 10px;
        border-radius: 8px;
        color: var(--ai-secondary);
        font-size: .55rem;
        font-weight: 700;
        text-decoration: none;
    }

        .section-jump-nav a:hover[b-eitab9td6n] {
            color: var(--ai-accent);
            background: var(--ai-accent-soft);
        }

.configuration-section[b-eitab9td6n] {
    scroll-margin-top: 74px;
    margin-top: 30px;
}

.section-heading[b-eitab9td6n] {
    align-items: flex-end;
    margin-bottom: 14px;
}

    .section-heading > div:first-child[b-eitab9td6n] {
        max-width: 900px;
    }

    .section-heading h2[b-eitab9td6n] {
        margin: 0;
        font-size: 1.08rem;
        font-weight: 790;
    }

.section-heading-badges[b-eitab9td6n],
.catalog-summary[b-eitab9td6n],
.model-badges[b-eitab9td6n] {
    display: flex;
    gap: 6px;
    align-items: center;
}

    .soft-badge[b-eitab9td6n],
    .inheritance-badge[b-eitab9td6n],
    .profile-state[b-eitab9td6n],
    .model-badges em[b-eitab9td6n],
    .model-badges b[b-eitab9td6n] {
        padding: 5px 7px;
        border-radius: 999px;
        font-size: .46rem;
        font-weight: 760;
        white-space: nowrap;
    }

.soft-badge[b-eitab9td6n] {
    color: var(--ai-secondary);
    border: 1px solid var(--ai-border);
    background: var(--ai-panel);
}

    .soft-badge.accent[b-eitab9td6n] {
        color: var(--ai-accent);
        border-color: var(--ai-accent-border);
        background: var(--ai-accent-soft);
    }

.routing-info[b-eitab9td6n],
.catalog-sync-note[b-eitab9td6n] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    padding: 11px 13px;
    border: 1px solid var(--ai-border);
    border-radius: 13px;
    background: var(--ai-panel-soft);
}

.routing-info-icon[b-eitab9td6n],
.catalog-sync-icon[b-eitab9td6n] {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 8px;
    color: var(--ai-accent);
    background: var(--ai-accent-soft);
    font-weight: 850;
}

.routing-info strong[b-eitab9td6n],
.catalog-sync-note strong[b-eitab9td6n] {
    display: block;
    margin-bottom: 2px;
    font-size: .58rem;
}

.routing-info p[b-eitab9td6n],
.catalog-sync-note p[b-eitab9td6n] {
    margin: 0;
    color: var(--ai-muted);
    font-size: .5rem;
    line-height: 1.65;
}

.routing-quality-stack[b-eitab9td6n] {
    display: grid;
    gap: 14px;
}

.routing-quality-card[b-eitab9td6n],
.quality-profile-card[b-eitab9td6n],
.test-center-card[b-eitab9td6n],
.new-model-card[b-eitab9td6n],
.model-item[b-eitab9td6n] {
    overflow: hidden;
    border: 1px solid var(--ai-border);
    border-radius: 18px;
    background: var(--ai-panel);
    box-shadow: var(--ai-shadow);
}

.routing-quality-card[b-eitab9td6n],
.quality-profile-card[b-eitab9td6n] {
    --quality-accent: var(--ai-accent);
    --quality-soft: var(--ai-accent-soft);
    --quality-border: var(--ai-accent-border);
}

.quality-professional[b-eitab9td6n] {
    --quality-accent: #4b83cc;
    --quality-soft: rgba(75,131,204,.08);
    --quality-border: rgba(75,131,204,.18);
}

.quality-expert[b-eitab9td6n] {
    --quality-accent: #7358b4;
    --quality-soft: rgba(115,88,180,.085);
    --quality-border: rgba(115,88,180,.18);
}

.routing-quality-header[b-eitab9td6n],
.quality-profile-header[b-eitab9td6n] {
    align-items: center;
    padding: 15px 17px;
    border-bottom: 1px solid var(--ai-border);
    background: linear-gradient(90deg,var(--quality-soft),transparent 36%),var(--ai-panel);
}

.ai-configuration[dir="rtl"] .routing-quality-header[b-eitab9td6n],
.ai-configuration[dir="rtl"] .quality-profile-header[b-eitab9td6n] {
    background: linear-gradient(270deg,var(--quality-soft),transparent 36%),var(--ai-panel);
}

.quality-identity[b-eitab9td6n] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quality-mark[b-eitab9td6n] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--quality-border);
    border-radius: 12px;
    color: var(--quality-accent);
    background: var(--quality-soft);
    font-size: .72rem;
    font-weight: 900;
}

.quality-kicker[b-eitab9td6n] {
    display: block;
    margin-bottom: 2px;
    color: var(--quality-accent);
    font-size: .44rem;
    font-weight: 850;
}

.quality-identity h3[b-eitab9td6n] {
    margin: 0;
    font-size: .77rem;
}

.quality-identity p[b-eitab9td6n] {
    margin: 3px 0 0;
    color: var(--ai-muted);
    font-size: .5rem;
}

.profile-state[b-eitab9td6n] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .profile-state i[b-eitab9td6n] {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: currentColor;
    }

    .profile-state.enabled[b-eitab9td6n] {
        color: var(--ai-green);
        background: var(--ai-green-soft);
    }

    .profile-state.disabled[b-eitab9td6n] {
        color: var(--ai-red);
        background: var(--ai-red-soft);
    }

.routing-table-shell[b-eitab9td6n] {
    overflow-x: auto;
}

.routing-table-head[b-eitab9td6n],
.routing-row[b-eitab9td6n] {
    min-width: 980px;
    display: grid;
    grid-template-columns: minmax(255px,1.45fr) minmax(185px,1fr) minmax(185px,1fr) 105px 105px;
    gap: 10px;
    align-items: center;
}

.routing-table-head[b-eitab9td6n] {
    padding: 8px 15px;
    color: var(--ai-muted);
    background: var(--ai-panel-muted);
    font-size: .47rem;
    font-weight: 760;
}

.routing-row[b-eitab9td6n] {
    padding: 11px 15px;
    border-top: 1px solid var(--ai-border);
}

.input-type-cell[b-eitab9td6n] {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.input-glyph[b-eitab9td6n] {
    width: 39px;
    height: 33px;
    flex: 0 0 39px;
    border-radius: 9px;
    color: var(--ai-accent);
    background: var(--ai-accent-soft);
    font-size: .43rem;
    font-weight: 900;
}

    .input-glyph.image[b-eitab9td6n] {
        color: #8c5d23;
        background: rgba(157,101,34,.08);
    }

    .input-glyph.website[b-eitab9td6n] {
        color: #277969;
        background: rgba(39,121,105,.08);
    }

    .input-glyph.subtitle[b-eitab9td6n] {
        color: #7757ac;
        background: rgba(119,87,172,.08);
    }

    .input-glyph.plaintext[b-eitab9td6n] {
        color: #4b6680;
        background: rgba(75,102,128,.08);
    }

.input-type-copy[b-eitab9td6n] {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 2px;
}

    .input-type-copy strong[b-eitab9td6n] {
        font-size: .59rem;
    }

    .input-type-copy small[b-eitab9td6n] {
        overflow: hidden;
        color: var(--ai-muted);
        font-size: .45rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.inheritance-badge.inherited[b-eitab9td6n] {
    color: #6b7890;
    background: rgba(107,120,144,.08);
}

.inheritance-badge.override[b-eitab9td6n] {
    color: var(--quality-accent);
    background: var(--quality-soft);
}

.routing-field.multiplier input[b-eitab9td6n] {
    text-align: center;
}

.route-switch[b-eitab9td6n] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 6px;
    align-items: center;
    cursor: pointer;
}

.route-switch-ui[b-eitab9td6n] {
    width: 34px;
    height: 19px;
}

    .route-switch-ui i[b-eitab9td6n] {
        width: 13px;
        height: 13px;
    }

.route-switch input:checked + .route-switch-ui[b-eitab9td6n] {
    background: var(--quality-accent);
}

    .route-switch input:checked + .route-switch-ui i[b-eitab9td6n] {
        transform: translateX(15px);
    }

.ai-configuration[dir="rtl"] .route-switch input:checked + .route-switch-ui i[b-eitab9td6n] {
    transform: translateX(-15px);
}

.route-switch-label[b-eitab9td6n] {
    grid-column: 1/-1;
    color: var(--ai-muted);
    font-size: .45rem;
}

.routing-quality-footer[b-eitab9td6n] {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(220px,.65fr) auto;
    gap: 12px;
    align-items: end;
    padding: 13px 15px;
    border-top: 1px solid var(--ai-border);
    background: var(--ai-panel-soft);
}

.route-footer-note[b-eitab9td6n] {
    display: flex;
    gap: 7px;
    align-items: flex-start;
    color: var(--ai-muted);
    font-size: .47rem;
    line-height: 1.55;
}

.route-footer-note-icon[b-eitab9td6n] {
    color: var(--quality-accent);
}

.quality-profile-grid[b-eitab9td6n] {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 13px;
}

.mini-switch[b-eitab9td6n] {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--ai-secondary);
    font-size: .48rem;
    cursor: pointer;
}

.mini-switch-ui[b-eitab9td6n] {
    width: 34px;
    height: 19px;
}

    .mini-switch-ui i[b-eitab9td6n] {
        width: 13px;
        height: 13px;
    }

.mini-switch input:checked + .mini-switch-ui[b-eitab9td6n] {
    background: var(--quality-accent);
}

    .mini-switch input:checked + .mini-switch-ui i[b-eitab9td6n] {
        transform: translateX(15px);
    }

.ai-configuration[dir="rtl"] .mini-switch input:checked + .mini-switch-ui i[b-eitab9td6n] {
    transform: translateX(-15px);
}

.global-route-list[b-eitab9td6n] {
    display: grid;
    gap: 8px;
    padding: 11px;
}

.global-route-card[b-eitab9td6n] {
    display: grid;
    gap: 9px;
    padding: 11px;
    border: 1px solid var(--ai-border);
    border-radius: 12px;
    background: var(--ai-panel-soft);
}

.global-route-title[b-eitab9td6n] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.operation-icon[b-eitab9td6n] {
    width: 29px;
    height: 29px;
    border-radius: 8px;
    color: var(--quality-accent);
    background: var(--quality-soft);
    font-size: .52rem;
    font-weight: 850;
}

.global-route-title > div[b-eitab9td6n] {
    display: grid;
    gap: 2px;
}

.global-route-title strong[b-eitab9td6n] {
    font-size: .58rem;
}

.global-route-title small[b-eitab9td6n] {
    color: var(--ai-muted);
    font-size: .44rem;
}

.global-route-controls[b-eitab9td6n] {
    display: grid;
    grid-template-columns: minmax(90px,.45fr) 1fr;
    gap: 8px;
    align-items: end;
}

.inline-check[b-eitab9td6n] {
    min-height: 36px;
    display: flex !important;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    border: 1px solid var(--ai-border);
    border-radius: 9px;
    background: var(--ai-panel);
    font-size: .5rem;
}

.pipeline-settings[b-eitab9td6n] {
    padding: 12px 13px;
    border-top: 1px solid var(--ai-border);
    background: var(--ai-panel-muted);
}

.pipeline-settings-title[b-eitab9td6n] {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 9px;
}

    .pipeline-settings-title span[b-eitab9td6n] {
        font-size: .55rem;
        font-weight: 750;
    }

    .pipeline-settings-title small[b-eitab9td6n] {
        color: var(--ai-muted);
        font-size: .43rem;
    }

.pipeline-field-grid[b-eitab9td6n] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.feature-toggle-grid[b-eitab9td6n] {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

    .feature-toggle-grid label[b-eitab9td6n] {
        display: flex;
        align-items: flex-start;
        gap: 7px;
        padding: 7px 8px;
        border: 1px solid var(--ai-border);
        border-radius: 9px;
        background: var(--ai-panel);
    }

        .feature-toggle-grid label > span[b-eitab9td6n] {
            display: grid;
            gap: 2px;
        }

    .feature-toggle-grid strong[b-eitab9td6n] {
        color: var(--ai-secondary);
        font-size: .49rem;
    }

    .feature-toggle-grid small[b-eitab9td6n] {
        color: var(--ai-muted);
        font-size: .41rem;
    }

.quality-profile-footer[b-eitab9td6n] {
    display: grid;
    gap: 8px;
    padding: 12px 13px;
    border-top: 1px solid var(--ai-border);
}

    .quality-profile-footer button[b-eitab9td6n] {
        width: 100%;
    }

.test-center-copy[b-eitab9td6n] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 18px 13px;
}

.test-center-icon[b-eitab9td6n] {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 13px;
    color: var(--ai-accent);
    background: var(--ai-accent-soft);
    font-weight: 900;
}

.test-center-copy h2[b-eitab9td6n] {
    margin: 0;
    font-size: .88rem;
}

.test-center-copy p[b-eitab9td6n] {
    margin: 5px 0 0;
    color: var(--ai-muted);
    font-size: .56rem;
    line-height: 1.7;
}

.test-form[b-eitab9td6n] {
    display: grid;
    grid-template-columns: 180px minmax(0,1fr) auto;
    gap: 9px;
    align-items: end;
    padding: 13px 18px 17px;
    border-top: 1px solid var(--ai-border);
    background: var(--ai-panel-soft);
}

.test-button[b-eitab9td6n] {
    min-height: 60px;
}

.test-result[b-eitab9td6n] {
    margin: 0 18px 17px;
    border-radius: 13px;
}

    .test-result.success[b-eitab9td6n] {
        display: grid;
        grid-template-columns: repeat(4,minmax(0,1fr));
        gap: 8px;
        padding: 11px;
        border: 1px solid rgba(35,130,103,.15);
        background: rgba(35,130,103,.045);
    }

.test-metric[b-eitab9td6n],
.test-translation[b-eitab9td6n] {
    display: grid;
    gap: 4px;
    padding: 8px;
    border-radius: 9px;
    background: rgba(255,255,255,.65);
}

    .test-metric small[b-eitab9td6n], .test-translation small[b-eitab9td6n] {
        color: #5f7d72;
        font-size: .45rem;
    }

    .test-metric strong[b-eitab9td6n], .test-metric code[b-eitab9td6n] {
        color: #205f4c;
        font-size: .57rem;
    }

.test-translation[b-eitab9td6n] {
    grid-column: 1/-1;
}

    .test-translation p[b-eitab9td6n] {
        margin: 4px 0 0;
        color: #214f42;
        font-size: .6rem;
        line-height: 1.7;
        white-space: pre-wrap;
    }

.test-result.failed[b-eitab9td6n] {
    display: flex;
    gap: 8px;
    padding: 11px;
    color: #ad404d;
    border: 1px solid rgba(201,79,93,.16);
    background: rgba(201,79,93,.055);
}

    .test-result.failed > div[b-eitab9td6n] {
        display: grid;
        gap: 2px;
    }

    .test-result.failed strong[b-eitab9td6n] {
        font-size: .58rem;
    }

    .test-result.failed small[b-eitab9td6n] {
        font-size: .49rem;
    }

.catalog-summary > span[b-eitab9td6n] {
    min-width: 66px;
    display: grid;
    gap: 2px;
    padding: 7px 9px;
    border: 1px solid var(--ai-border);
    border-radius: 10px;
    background: var(--ai-panel);
    text-align: center;
}

.catalog-summary strong[b-eitab9td6n] {
    font-size: .67rem;
}

.catalog-summary small[b-eitab9td6n] {
    color: var(--ai-muted);
    font-size: .41rem;
}

.new-model-card[b-eitab9td6n] {
    margin-bottom: 10px;
}

    .new-model-card > summary[b-eitab9td6n],
    .model-item > summary[b-eitab9td6n] {
        list-style: none;
        cursor: pointer;
    }

        .new-model-card > summary[b-eitab9td6n]::-webkit-details-marker,
        .model-item > summary[b-eitab9td6n]::-webkit-details-marker {
            display: none;
        }

    .new-model-card > summary[b-eitab9td6n] {
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 12px 13px;
    }

.new-model-plus[b-eitab9td6n] {
    width: 31px;
    height: 31px;
    border-radius: 9px;
    color: var(--ai-accent);
    background: var(--ai-accent-soft);
    font-size: .9rem;
}

.new-model-card > summary > span:nth-child(2)[b-eitab9td6n] {
    flex: 1;
    display: grid;
    gap: 2px;
}

.new-model-card summary strong[b-eitab9td6n] {
    font-size: .6rem;
}

.new-model-card summary small[b-eitab9td6n] {
    color: var(--ai-muted);
    font-size: .46rem;
}

.summary-chevron[b-eitab9td6n] {
    color: var(--ai-muted);
}

details[open] > summary .summary-chevron[b-eitab9td6n] {
    transform: rotate(180deg);
}

.model-editor-form[b-eitab9td6n] {
    border-top: 1px solid var(--ai-border);
}

.model-field-grid[b-eitab9td6n] {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 8px;
    padding: 12px 13px;
    background: var(--ai-panel-soft);
}

    .model-field-grid .wide[b-eitab9td6n] {
        grid-column: span 2;
    }

.model-active-field[b-eitab9td6n] {
    min-height: 36px;
    display: flex !important;
    align-items: center;
    gap: 7px;
    padding: 0 9px;
    border: 1px solid var(--ai-border);
    border-radius: 9px;
    background: var(--ai-panel);
}

    .model-active-field > span[b-eitab9td6n] {
        display: grid;
        gap: 1px;
    }

    .model-active-field strong[b-eitab9td6n] {
        font-size: .47rem;
    }

    .model-active-field small[b-eitab9td6n] {
        color: var(--ai-muted);
        font-size: .39rem;
    }

.model-form-actions[b-eitab9td6n] {
    display: flex;
    justify-content: flex-end;
    padding: 10px 13px 12px;
}

.model-list[b-eitab9td6n] {
    display: grid;
    gap: 8px;
}

.model-item > summary[b-eitab9td6n] {
    display: grid;
    grid-template-columns: auto minmax(180px,1fr) auto minmax(110px,auto) auto;
    gap: 10px;
    align-items: center;
    padding: 11px 13px;
}

.model-avatar[b-eitab9td6n] {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    color: var(--ai-accent);
    background: var(--ai-accent-soft);
    font-size: .48rem;
    font-weight: 900;
}

.model-summary-copy[b-eitab9td6n] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

    .model-summary-copy strong[b-eitab9td6n],
    .model-summary-copy code[b-eitab9td6n] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .model-summary-copy strong[b-eitab9td6n] {
        font-size: .6rem;
    }

    .model-summary-copy code[b-eitab9td6n] {
        color: var(--ai-muted);
        font-size: .46rem;
    }

.model-badges em[b-eitab9td6n],
.model-badges b[b-eitab9td6n] {
    font-style: normal;
}

    .model-badges em.active[b-eitab9td6n] {
        color: var(--ai-green);
        background: var(--ai-green-soft);
    }

    .model-badges em.inactive[b-eitab9td6n] {
        color: var(--ai-red);
        background: var(--ai-red-soft);
    }

.model-badges b[b-eitab9td6n] {
    color: var(--ai-accent);
    background: var(--ai-accent-soft);
}

.model-cost-preview[b-eitab9td6n] {
    display: grid;
    gap: 2px;
    text-align: end;
}

    .model-cost-preview small[b-eitab9td6n] {
        color: var(--ai-muted);
        font-size: .4rem;
    }

    .model-cost-preview strong[b-eitab9td6n] {
        color: var(--ai-secondary);
        font-size: .5rem;
    }

.model-item-body[b-eitab9td6n] {
    border-top: 1px solid var(--ai-border);
}

.model-state-form[b-eitab9td6n] {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(180px,.5fr) auto;
    gap: 10px;
    align-items: end;
    padding: 11px 13px;
    border-top: 1px solid var(--ai-border);
}

    .model-state-form > div[b-eitab9td6n] {
        display: grid;
        gap: 2px;
    }

    .model-state-form strong[b-eitab9td6n] {
        font-size: .54rem;
    }

    .model-state-form small[b-eitab9td6n] {
        color: var(--ai-muted);
        font-size: .45rem;
        line-height: 1.55;
    }

html[data-theme="dark"] .ai-configuration[b-eitab9td6n] {
    --ai-panel: #151d2b;
    --ai-panel-soft: #111925;
    --ai-panel-muted: #101722;
    --ai-border: #263246;
    --ai-border-strong: #314058;
    --ai-text: #e8edf5;
    --ai-secondary: #a8b4c7;
    --ai-muted: #77859b;
    --ai-shadow: 0 14px 38px rgba(0,0,0,.14);
}

html[data-theme="dark"] .section-jump-nav[b-eitab9td6n] {
    border-color: rgba(38,50,70,.88);
    background: rgba(17,25,37,.88);
}

html[data-theme="dark"] .test-metric[b-eitab9td6n],
html[data-theme="dark"] .test-translation[b-eitab9td6n],
html[data-theme="dark"] .feedback-icon[b-eitab9td6n] {
    background: rgba(255,255,255,.035);
}

@media (max-width:1180px) {
    .overview-grid[b-eitab9td6n] {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .processing-card[b-eitab9td6n] {
        grid-template-columns: minmax(0,1fr) auto;
    }

        .processing-card .audit-field[b-eitab9td6n] {
            grid-column: 1;
        }

        .processing-card > button[b-eitab9td6n] {
            grid-column: 2;
            grid-row: 2;
        }

    .quality-profile-grid[b-eitab9td6n] {
        grid-template-columns: 1fr;
    }

    .model-field-grid[b-eitab9td6n] {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width:860px) {
    .ai-configuration[b-eitab9td6n] {
        padding: 24px 18px 46px;
    }

    .page-header[b-eitab9td6n], .section-heading[b-eitab9td6n] {
        align-items: stretch;
        flex-direction: column;
    }

    .provider-link[b-eitab9td6n] {
        width: fit-content;
        min-width: 0;
    }

    .routing-quality-footer[b-eitab9td6n] {
        grid-template-columns: 1fr;
    }

        .routing-quality-footer button[b-eitab9td6n] {
            width: 100%;
        }

    .test-form[b-eitab9td6n] {
        grid-template-columns: 1fr;
    }

    .test-button[b-eitab9td6n] {
        min-height: 40px;
    }

    .test-result.success[b-eitab9td6n] {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .model-item > summary[b-eitab9td6n] {
        grid-template-columns: auto minmax(0,1fr) auto;
    }

    .model-badges[b-eitab9td6n] {
        grid-column: 2;
    }

    .model-cost-preview[b-eitab9td6n] {
        display: none;
    }

    .model-state-form[b-eitab9td6n] {
        grid-template-columns: 1fr;
    }
}

@media (max-width:620px) {
    .ai-configuration[b-eitab9td6n] {
        padding: 20px 13px 40px;
    }

    .overview-grid[b-eitab9td6n] {
        grid-template-columns: 1fr;
    }

    .processing-card[b-eitab9td6n] {
        grid-template-columns: 1fr;
    }

        .processing-card .audit-field[b-eitab9td6n], .processing-card > button[b-eitab9td6n] {
            grid-column: auto;
            grid-row: auto;
        }

        .processing-card > button[b-eitab9td6n] {
            width: 100%;
        }

    .routing-quality-header[b-eitab9td6n] {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-state[b-eitab9td6n] {
        margin-inline-start: 48px;
    }

    .test-result.success[b-eitab9td6n] {
        grid-template-columns: 1fr;
    }

    .model-field-grid[b-eitab9td6n] {
        grid-template-columns: 1fr;
    }

        .model-field-grid .wide[b-eitab9td6n] {
            grid-column: auto;
        }

    .model-form-actions button[b-eitab9td6n] {
        width: 100%;
    }

    .catalog-summary[b-eitab9td6n] {
        width: 100%;
        flex-wrap: wrap;
    }

        .catalog-summary > span[b-eitab9td6n] {
            flex: 1;
        }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Ai/AdminAiProvider.razor.rz.scp.css */
/* ============================================================
   AI ECONOMICS, PROVIDER & USAGE V2
   ============================================================ */

.ai-economics[b-gpvsle509j] {
    --eco-accent: #5f70e8;
    --eco-accent-hover: #4f60d4;
    --eco-accent-soft: rgba(95, 112, 232, .08);
    --eco-accent-border: rgba(95, 112, 232, .18);
    --eco-green: #238267;
    --eco-green-soft: rgba(35, 130, 103, .085);
    --eco-red: #c64f5b;
    --eco-red-soft: rgba(198, 79, 91, .08);
    --eco-amber: #a8761c;
    --eco-amber-soft: rgba(168, 118, 28, .09);
    --eco-violet: #7458b5;
    --eco-violet-soft: rgba(116, 88, 181, .09);
    --eco-blue: #347bb7;
    --eco-blue-soft: rgba(52, 123, 183, .085);
    --eco-panel: #ffffff;
    --eco-panel-soft: #f8faff;
    --eco-panel-muted: #f4f7fb;
    --eco-border: #e2e8f2;
    --eco-border-strong: #d5deec;
    --eco-text: #1c2940;
    --eco-secondary: #5e6c82;
    --eco-muted: #8591a4;
    --eco-shadow: 0 13px 34px rgba(36, 52, 86, .045);
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 30px 28px 58px;
    color: var(--eco-text);
}


/* ============================================================
   HEADER
   ============================================================ */

.economics-header[b-gpvsle509j] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 19px;
}

.economics-header-copy[b-gpvsle509j] {
    min-width: 0;
    max-width: 850px;
}

.economics-eyebrow[b-gpvsle509j],
.panel-kicker[b-gpvsle509j],
.detail-kicker[b-gpvsle509j] {
    display: block;
    margin-bottom: 7px;
    color: var(--eco-accent);
    font-size: .61rem;
    font-weight: 850;
    line-height: 1.3;
    letter-spacing: .11em;
}

.ai-economics[dir="rtl"] .economics-eyebrow[b-gpvsle509j],
.ai-economics[dir="rtl"] .panel-kicker[b-gpvsle509j],
.ai-economics[dir="rtl"] .detail-kicker[b-gpvsle509j] {
    letter-spacing: 0;
}

.economics-header h1[b-gpvsle509j] {
    margin: 0;
    color: var(--eco-text);
    font-size: clamp(1.7rem, 2.4vw, 2.45rem);
    font-weight: 820;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.ai-economics[dir="rtl"] .economics-header h1[b-gpvsle509j] {
    letter-spacing: 0;
}

.economics-header p[b-gpvsle509j] {
    max-width: 820px;
    margin: 9px 0 0;
    color: var(--eco-secondary);
    font-size: .76rem;
    line-height: 1.9;
}

.economics-header-actions[b-gpvsle509j] {
    flex: 0 0 auto;
    display: grid;
    justify-items: end;
    gap: 10px;
}

.secondary-action[b-gpvsle509j] {
    min-width: 205px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid var(--eco-border);
    border-radius: 13px;
    color: var(--eco-text);
    background: var(--eco-panel);
    box-shadow: 0 7px 20px rgba(36, 52, 86, .03);
    text-decoration: none;
}

    .secondary-action:hover[b-gpvsle509j] {
        border-color: var(--eco-accent-border);
    }

.action-icon[b-gpvsle509j] {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--eco-accent);
    background: var(--eco-accent-soft);
    font-size: .72rem;
}

.secondary-action > span:last-child[b-gpvsle509j] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.secondary-action strong[b-gpvsle509j] {
    font-size: .62rem;
}

.secondary-action small[b-gpvsle509j] {
    color: var(--eco-muted);
    font-size: .48rem;
}

.period-switcher[b-gpvsle509j] {
    display: flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--eco-border);
    border-radius: 11px;
    background: var(--eco-panel);
}

    .period-switcher a[b-gpvsle509j] {
        padding: 6px 8px;
        border-radius: 7px;
        color: var(--eco-secondary);
        font-size: .52rem;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }

        .period-switcher a:hover[b-gpvsle509j] {
            color: var(--eco-accent);
            background: var(--eco-accent-soft);
        }

        .period-switcher a.active[b-gpvsle509j] {
            color: #fff;
            background: var(--eco-accent);
        }


/* ============================================================
   FEEDBACK + LOADING
   ============================================================ */

.feedback-banner[b-gpvsle509j] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 11px 13px;
    border: 1px solid;
    border-radius: 13px;
}

    .feedback-banner.success[b-gpvsle509j] {
        border-color: rgba(35, 130, 103, .17);
        color: #22735c;
        background: rgba(35, 130, 103, .055);
    }

    .feedback-banner.danger[b-gpvsle509j] {
        border-color: rgba(198, 79, 91, .17);
        color: #ad4652;
        background: rgba(198, 79, 91, .055);
    }

.feedback-symbol[b-gpvsle509j] {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, .62);
    font-size: .68rem;
    font-weight: 900;
}

.feedback-banner > div[b-gpvsle509j] {
    display: grid;
    gap: 2px;
}

.feedback-banner strong[b-gpvsle509j] {
    font-size: .64rem;
}

.feedback-banner small[b-gpvsle509j],
.feedback-banner code[b-gpvsle509j] {
    color: inherit;
    font-size: .51rem;
}

.economics-loading[b-gpvsle509j] {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--eco-border);
    border-radius: 18px;
    color: var(--eco-muted);
    background: var(--eco-panel);
    font-size: .65rem;
}

.economics-spinner[b-gpvsle509j] {
    width: 17px;
    height: 17px;
    border: 2px solid rgba(95, 112, 232, .15);
    border-top-color: var(--eco-accent);
    border-radius: 50%;
    animation: economics-spin-b-gpvsle509j .8s linear infinite;
}

@keyframes economics-spin-b-gpvsle509j {
    to {
        transform: rotate(360deg);
    }
}


/* ============================================================
   CORE STATUS
   ============================================================ */

.economics-status-strip[b-gpvsle509j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 13px;
    padding: 11px 13px;
    border: 1px solid var(--eco-accent-border);
    border-radius: 14px;
    background: linear-gradient( 90deg, rgba(95, 112, 232, .045), rgba(95, 112, 232, .015) );
}

.status-strip-copy[b-gpvsle509j] {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.status-strip-icon[b-gpvsle509j] {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--eco-accent);
    background: var(--eco-accent-soft);
    font-size: .58rem;
    font-weight: 850;
}

.status-strip-copy > div[b-gpvsle509j] {
    min-width: 0;
}

.status-strip-copy strong[b-gpvsle509j] {
    display: block;
    color: var(--eco-text);
    font-size: .59rem;
}

.status-strip-copy p[b-gpvsle509j] {
    margin: 2px 0 0;
    color: var(--eco-secondary);
    font-size: .50rem;
    line-height: 1.6;
}

.economics-stage-badge[b-gpvsle509j] {
    flex: 0 0 auto;
    padding: 5px 7px;
    border-radius: 999px;
    color: var(--eco-accent);
    background: var(--eco-accent-soft);
    font-size: .48rem;
    font-weight: 850;
}


/* ============================================================
   ECONOMICS KPIs
   ============================================================ */

.economics-kpi-grid[b-gpvsle509j] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.economics-kpi-card[b-gpvsle509j] {
    min-width: 0;
    min-height: 118px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--eco-border);
    border-radius: 16px;
    background: var(--eco-panel);
    box-shadow: 0 8px 22px rgba(36, 52, 86, .03);
}

.kpi-icon[b-gpvsle509j] {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--eco-accent);
    background: var(--eco-accent-soft);
    font-size: .66rem;
    font-weight: 900;
}

.economics-kpi-card.credits .kpi-icon[b-gpvsle509j] {
    color: var(--eco-blue);
    background: var(--eco-blue-soft);
}

.economics-kpi-card.cost-per-credit .kpi-icon[b-gpvsle509j] {
    color: var(--eco-violet);
    background: var(--eco-violet-soft);
}

.economics-kpi-card.savings .kpi-icon[b-gpvsle509j] {
    color: var(--eco-green);
    background: var(--eco-green-soft);
}

.economics-kpi-card.jobs .kpi-icon[b-gpvsle509j] {
    color: #55708b;
    background: rgba(85, 112, 139, .08);
}

.economics-kpi-card.revenue .kpi-icon[b-gpvsle509j] {
    color: var(--eco-amber);
    background: var(--eco-amber-soft);
}

.kpi-copy[b-gpvsle509j] {
    min-width: 0;
    flex: 1;
    display: grid;
}

    .kpi-copy > span[b-gpvsle509j] {
        color: var(--eco-secondary);
        font-size: .52rem;
        font-weight: 700;
    }

    .kpi-copy strong[b-gpvsle509j] {
        overflow: hidden;
        margin-top: 10px;
        color: var(--eco-text);
        font-size: .95rem;
        font-weight: 820;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .kpi-copy small[b-gpvsle509j] {
        margin-top: 5px;
        color: var(--eco-muted);
        font-size: .44rem;
        line-height: 1.45;
    }


/* ============================================================
   SECTIONS
   ============================================================ */

.economics-section[b-gpvsle509j] {
    margin-top: 29px;
    scroll-margin-top: 20px;
}

.section-heading[b-gpvsle509j] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 13px;
}

    .section-heading > div:first-child[b-gpvsle509j] {
        min-width: 0;
        max-width: 910px;
    }

    .section-heading h2[b-gpvsle509j] {
        margin: 0;
        color: var(--eco-text);
        font-size: 1.04rem;
        font-weight: 790;
    }

    .section-heading p[b-gpvsle509j] {
        margin: 6px 0 0;
        color: var(--eco-muted);
        font-size: .58rem;
        line-height: 1.7;
    }

.section-summary[b-gpvsle509j] {
    flex: 0 0 auto;
    display: flex;
    gap: 6px;
}

    .section-summary > span[b-gpvsle509j] {
        min-width: 76px;
        display: grid;
        gap: 2px;
        padding: 7px 9px;
        border: 1px solid var(--eco-border);
        border-radius: 10px;
        background: var(--eco-panel);
        text-align: center;
    }

    .section-summary strong[b-gpvsle509j] {
        font-size: .66rem;
    }

    .section-summary small[b-gpvsle509j] {
        color: var(--eco-muted);
        font-size: .40rem;
    }


/* ============================================================
   EMPTY STATES
   ============================================================ */

.empty-state[b-gpvsle509j],
.mini-empty[b-gpvsle509j] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 1px solid var(--eco-border);
    border-radius: 15px;
    color: var(--eco-muted);
    background: var(--eco-panel);
}

.empty-state[b-gpvsle509j] {
    min-height: 130px;
    padding: 18px;
}

.empty-state-icon[b-gpvsle509j] {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--eco-muted);
    background: var(--eco-panel-muted);
    font-size: .85rem;
}

.empty-state strong[b-gpvsle509j] {
    display: block;
    color: var(--eco-text);
    font-size: .63rem;
}

.empty-state p[b-gpvsle509j] {
    max-width: 600px;
    margin: 4px 0 0;
    font-size: .50rem;
    line-height: 1.6;
}

.mini-empty[b-gpvsle509j] {
    min-height: 95px;
    padding: 14px;
    font-size: .52rem;
    text-align: center;
}


/* ============================================================
   JOB ECONOMICS TABLE
   ============================================================ */

.job-table-shell[b-gpvsle509j] {
    overflow-x: auto;
    border: 1px solid var(--eco-border);
    border-radius: 18px;
    background: var(--eco-panel);
    box-shadow: var(--eco-shadow);
}

.job-table-head[b-gpvsle509j] {
    min-width: 1080px;
    display: grid;
    grid-template-columns: minmax(265px, 1.6fr) minmax(145px, .75fr) minmax(170px, .9fr) minmax(155px, .82fr) minmax(130px, .65fr) minmax(155px, .78fr);
    gap: 10px;
    padding: 9px 14px;
    border-bottom: 1px solid var(--eco-border);
    color: var(--eco-muted);
    background: var(--eco-panel-muted);
    font-size: .47rem;
    font-weight: 760;
}

.job-economics-list[b-gpvsle509j] {
    min-width: 1080px;
}

.job-economics-item[b-gpvsle509j] {
    border-bottom: 1px solid var(--eco-border);
}

    .job-economics-item:last-child[b-gpvsle509j] {
        border-bottom: 0;
    }

    .job-economics-item > summary[b-gpvsle509j] {
        position: relative;
        display: grid;
        grid-template-columns: minmax(265px, 1.6fr) minmax(145px, .75fr) minmax(170px, .9fr) minmax(155px, .82fr) minmax(130px, .65fr) minmax(155px, .78fr);
        gap: 10px;
        align-items: center;
        padding: 12px 36px 12px 14px;
        list-style: none;
        cursor: pointer;
        transition: background-color .15s ease;
    }

.ai-economics[dir="rtl"] .job-economics-item > summary[b-gpvsle509j] {
    padding: 12px 14px 12px 36px;
}

.job-economics-item > summary[b-gpvsle509j]::-webkit-details-marker {
    display: none;
}

.job-economics-item > summary:hover[b-gpvsle509j] {
    background: rgba(95, 112, 232, .018);
}

.job-economics-item[open] > summary[b-gpvsle509j] {
    background: rgba(95, 112, 232, .025);
}

.details-chevron[b-gpvsle509j] {
    position: absolute;
    inset-inline-end: 13px;
    color: var(--eco-muted);
    font-size: .68rem;
    transition: transform .16s ease;
}

.job-economics-item[open] .details-chevron[b-gpvsle509j] {
    transform: rotate(180deg);
}

.job-identity[b-gpvsle509j] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.job-type-icon[b-gpvsle509j] {
    width: 40px;
    height: 34px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--eco-accent);
    background: var(--eco-accent-soft);
    font-size: .42rem;
    font-weight: 900;
}

    .job-type-icon.image[b-gpvsle509j] {
        color: #906021;
        background: rgba(144, 96, 33, .08);
    }

    .job-type-icon.website[b-gpvsle509j] {
        color: #237b68;
        background: rgba(35, 123, 104, .08);
    }

    .job-type-icon.subtitle[b-gpvsle509j] {
        color: var(--eco-violet);
        background: var(--eco-violet-soft);
    }

    .job-type-icon.text[b-gpvsle509j] {
        color: #4d6b86;
        background: rgba(77, 107, 134, .08);
    }

    /* voice studio projects */
    .job-type-icon.voice[b-gpvsle509j] {
        color: #a0522d;
        background: rgba(160, 82, 45, .09);
    }

.job-identity-copy[b-gpvsle509j] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

    .job-identity-copy > strong[b-gpvsle509j] {
        overflow: hidden;
        color: var(--eco-text);
        font-size: .58rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .job-identity-copy > small[b-gpvsle509j],
    .job-user[b-gpvsle509j] {
        overflow: hidden;
        color: var(--eco-muted);
        font-size: .43rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.job-user[b-gpvsle509j] {
    max-width: 190px;
    color: var(--eco-secondary);
}

.job-route[b-gpvsle509j] {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.quality-badge[b-gpvsle509j],
.input-label[b-gpvsle509j],
.ocr-badge[b-gpvsle509j],
.cost-origin[b-gpvsle509j],
.pending-badge[b-gpvsle509j] {
    padding: 4px 6px;
    border-radius: 999px;
    font-size: .42rem;
    font-weight: 760;
    white-space: nowrap;
}

    .quality-badge.standard[b-gpvsle509j] {
        color: var(--eco-accent);
        background: var(--eco-accent-soft);
    }

    .quality-badge.professional[b-gpvsle509j] {
        color: var(--eco-blue);
        background: var(--eco-blue-soft);
    }

    .quality-badge.expert[b-gpvsle509j] {
        color: var(--eco-violet);
        background: var(--eco-violet-soft);
    }

.input-label[b-gpvsle509j] {
    color: var(--eco-secondary);
    background: rgba(94, 108, 130, .07);
}

.ocr-badge[b-gpvsle509j] {
    color: var(--eco-amber);
    background: var(--eco-amber-soft);
}

.job-ai-usage[b-gpvsle509j] {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 6px;
}

    .job-ai-usage > strong[b-gpvsle509j],
    .job-ai-usage > span[b-gpvsle509j] {
        display: grid;
        gap: 1px;
        color: var(--eco-text);
        font-size: .53rem;
    }

    .job-ai-usage small[b-gpvsle509j] {
        color: var(--eco-muted);
        font-size: .37rem;
    }

.job-cost[b-gpvsle509j],
.job-credits[b-gpvsle509j],
.job-revenue[b-gpvsle509j] {
    min-width: 0;
    display: grid;
    gap: 3px;
    justify-items: start;
}

    .job-cost > strong[b-gpvsle509j],
    .job-credits > strong[b-gpvsle509j],
    .job-revenue > strong[b-gpvsle509j] {
        color: var(--eco-text);
        font-size: .58rem;
    }

.cost-origin.actual[b-gpvsle509j] {
    color: var(--eco-green);
    background: var(--eco-green-soft);
}

.cost-origin.estimated[b-gpvsle509j] {
    color: var(--eco-amber);
    background: var(--eco-amber-soft);
}

.job-cost .saving[b-gpvsle509j] {
    color: var(--eco-green);
    font-size: .41rem;
}

.job-credits > span[b-gpvsle509j] {
    color: var(--eco-muted);
    font-size: .42rem;
}

.ledger-warning[b-gpvsle509j] {
    color: var(--eco-red);
    font-size: .40rem;
}

.pending-badge[b-gpvsle509j] {
    color: var(--eco-amber);
    background: var(--eco-amber-soft);
}

.profit-value[b-gpvsle509j] {
    font-size: .45rem;
    font-weight: 750;
}

    .profit-value.positive[b-gpvsle509j] {
        color: var(--eco-green);
    }

    .profit-value.negative[b-gpvsle509j] {
        color: var(--eco-red);
    }


/* ============================================================
   JOB DETAILS
   ============================================================ */

.job-details[b-gpvsle509j] {
    display: grid;
    grid-template-columns: 1.12fr 1fr 1.08fr;
    gap: 10px;
    padding: 12px 14px 14px;
    border-top: 1px solid var(--eco-border);
    background: var(--eco-panel-soft);
}

.job-detail-block[b-gpvsle509j] {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--eco-border);
    border-radius: 13px;
    background: var(--eco-panel);
}

    .job-detail-block h3[b-gpvsle509j] {
        margin: 0 0 10px;
        color: var(--eco-text);
        font-size: .63rem;
    }

.detail-kicker[b-gpvsle509j] {
    margin-bottom: 3px;
    font-size: .43rem;
}

.detail-metric-grid[b-gpvsle509j] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

    .detail-metric-grid > div[b-gpvsle509j] {
        min-width: 0;
        display: grid;
        gap: 3px;
        padding: 7px 8px;
        border-radius: 8px;
        background: var(--eco-panel-soft);
    }

    .detail-metric-grid span[b-gpvsle509j],
    .money-lines span[b-gpvsle509j],
    .billing-ledger-row span[b-gpvsle509j] {
        color: var(--eco-muted);
        font-size: .43rem;
    }

    .detail-metric-grid strong[b-gpvsle509j] {
        overflow: hidden;
        color: var(--eco-text);
        font-size: .53rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.models-value[b-gpvsle509j] {
    grid-column: 1 / -1;
}

.value-danger[b-gpvsle509j] {
    color: var(--eco-red) !important;
}

.value-positive[b-gpvsle509j] {
    color: var(--eco-green) !important;
}

.money-lines[b-gpvsle509j] {
    display: grid;
    gap: 7px;
}

    .money-lines > div[b-gpvsle509j],
    .billing-ledger-row[b-gpvsle509j] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 7px 0;
        border-bottom: 1px solid var(--eco-border);
    }

        .money-lines > div:last-child[b-gpvsle509j] {
            border-bottom: 0;
        }

        .money-lines strong[b-gpvsle509j],
        .billing-ledger-row strong[b-gpvsle509j] {
            color: var(--eco-text);
            font-size: .52rem;
        }

.money-total[b-gpvsle509j] {
    margin-top: 2px;
    padding: 8px !important;
    border: 1px solid var(--eco-accent-border) !important;
    border-radius: 9px;
    background: var(--eco-accent-soft);
}

    .money-total strong[b-gpvsle509j] {
        color: var(--eco-accent);
    }

.muted-money[b-gpvsle509j] {
    color: var(--eco-muted) !important;
}

.saving-line strong[b-gpvsle509j] {
    color: var(--eco-green);
}

.cost-policy-note[b-gpvsle509j] {
    margin: 9px 0 0;
    padding: 8px;
    border-radius: 8px;
    color: var(--eco-muted);
    background: var(--eco-panel-muted);
    font-size: .43rem;
    line-height: 1.55;
}

.ledger-alert[b-gpvsle509j],
.revenue-pending-card[b-gpvsle509j] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    padding: 8px;
    border-radius: 9px;
}

.ledger-alert[b-gpvsle509j] {
    border: 1px solid rgba(198, 79, 91, .13);
    color: var(--eco-red);
    background: var(--eco-red-soft);
}

    .ledger-alert > span[b-gpvsle509j],
    .revenue-pending-icon[b-gpvsle509j] {
        width: 23px;
        height: 23px;
        flex: 0 0 23px;
        display: grid;
        place-items: center;
        border-radius: 7px;
        font-size: .52rem;
        font-weight: 900;
    }

    .ledger-alert > span[b-gpvsle509j] {
        background: rgba(198, 79, 91, .08);
    }

    .ledger-alert p[b-gpvsle509j],
    .revenue-pending-card p[b-gpvsle509j] {
        margin: 0;
        font-size: .43rem;
        line-height: 1.55;
    }

.revenue-pending-card[b-gpvsle509j] {
    border: 1px solid rgba(168, 118, 28, .14);
    color: var(--eco-amber);
    background: var(--eco-amber-soft);
}

.revenue-pending-icon[b-gpvsle509j] {
    background: rgba(168, 118, 28, .09);
}

.revenue-pending-card strong[b-gpvsle509j] {
    display: block;
    margin-bottom: 3px;
    color: #876019;
    font-size: .51rem;
}

.revenue-ready[b-gpvsle509j] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 9px;
}

    .revenue-ready > div[b-gpvsle509j] {
        display: grid;
        gap: 3px;
        padding: 7px;
        border-radius: 8px;
        background: var(--eco-green-soft);
    }

    .revenue-ready span[b-gpvsle509j] {
        color: #52796d;
        font-size: .40rem;
    }

    .revenue-ready strong[b-gpvsle509j] {
        color: var(--eco-green);
        font-size: .52rem;
    }


/* ============================================================
   PROVIDER METRICS
   ============================================================ */

.provider-health[b-gpvsle509j] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border: 1px solid var(--eco-border);
    border-radius: 10px;
    background: var(--eco-panel);
}

.health-dot[b-gpvsle509j] {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
}

    .health-dot.on[b-gpvsle509j] {
        background: var(--eco-green);
        box-shadow: 0 0 0 4px var(--eco-green-soft);
    }

    .health-dot.off[b-gpvsle509j] {
        background: var(--eco-red);
        box-shadow: 0 0 0 4px var(--eco-red-soft);
    }

.provider-health > div[b-gpvsle509j] {
    display: grid;
    gap: 1px;
}

.provider-health strong[b-gpvsle509j] {
    font-size: .52rem;
}

.provider-health small[b-gpvsle509j] {
    color: var(--eco-muted);
    font-size: .40rem;
}

.provider-metrics-grid[b-gpvsle509j] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 10px;
}

    .provider-metrics-grid article[b-gpvsle509j] {
        min-width: 0;
        display: grid;
        gap: 4px;
        padding: 11px 12px;
        border: 1px solid var(--eco-border);
        border-radius: 13px;
        background: var(--eco-panel);
    }

    .provider-metrics-grid span[b-gpvsle509j] {
        color: var(--eco-muted);
        font-size: .46rem;
    }

    .provider-metrics-grid strong[b-gpvsle509j] {
        color: var(--eco-text);
        font-size: .74rem;
    }

    .provider-metrics-grid small[b-gpvsle509j] {
        color: var(--eco-secondary);
        font-size: .41rem;
    }

.provider-grid[b-gpvsle509j] {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
    gap: 10px;
}

.provider-panel[b-gpvsle509j] {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--eco-border);
    border-radius: 16px;
    background: var(--eco-panel);
    box-shadow: 0 8px 24px rgba(36, 52, 86, .03);
}

.panel-heading[b-gpvsle509j] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 13px;
    border-bottom: 1px solid var(--eco-border);
}

    .panel-heading h3[b-gpvsle509j] {
        margin: 0;
        color: var(--eco-text);
        font-size: .66rem;
    }

.panel-kicker[b-gpvsle509j] {
    margin-bottom: 2px;
    font-size: .42rem;
}

.error-count-badge[b-gpvsle509j] {
    padding: 4px 7px;
    border-radius: 999px;
    color: var(--eco-red);
    background: var(--eco-red-soft);
    font-size: .45rem;
    font-weight: 800;
}

.model-usage-list[b-gpvsle509j] {
    display: grid;
}

.model-usage-row[b-gpvsle509j] {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(160px, 1.3fr) minmax(125px, .85fr) minmax(115px, .7fr) minmax(95px, .55fr);
    gap: 9px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid var(--eco-border);
}

    .model-usage-row:last-child[b-gpvsle509j] {
        border-bottom: 0;
    }

.model-avatar[b-gpvsle509j] {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--eco-accent);
    background: var(--eco-accent-soft);
    font-size: .44rem;
    font-weight: 900;
}

.model-usage-name[b-gpvsle509j],
.model-token-summary[b-gpvsle509j],
.model-cost[b-gpvsle509j],
.model-latency[b-gpvsle509j] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

    .model-usage-name strong[b-gpvsle509j] {
        overflow: hidden;
        color: var(--eco-text);
        font-size: .53rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .model-usage-name small[b-gpvsle509j],
    .model-token-summary small[b-gpvsle509j],
    .model-cost small[b-gpvsle509j],
    .model-latency small[b-gpvsle509j] {
        color: var(--eco-muted);
        font-size: .39rem;
    }

    .model-token-summary strong[b-gpvsle509j],
    .model-cost strong[b-gpvsle509j],
    .model-latency strong[b-gpvsle509j] {
        color: var(--eco-secondary);
        font-size: .48rem;
    }

.error-list[b-gpvsle509j] {
    display: grid;
}

.error-row[b-gpvsle509j] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 9px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--eco-border);
}

    .error-row:last-child[b-gpvsle509j] {
        border-bottom: 0;
    }

.error-code[b-gpvsle509j] {
    overflow: hidden;
    color: var(--eco-red);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .47rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.error-occurrences[b-gpvsle509j] {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

    .error-occurrences strong[b-gpvsle509j] {
        color: var(--eco-text);
        font-size: .52rem;
    }

    .error-occurrences small[b-gpvsle509j] {
        color: var(--eco-muted);
        font-size: .39rem;
    }

.error-date[b-gpvsle509j] {
    grid-column: 1 / -1;
    color: var(--eco-muted);
    font-size: .39rem;
}

.healthy-empty[b-gpvsle509j] {
    min-height: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
}

    .healthy-empty > span[b-gpvsle509j] {
        width: 31px;
        height: 31px;
        display: grid;
        place-items: center;
        border-radius: 9px;
        color: var(--eco-green);
        background: var(--eco-green-soft);
        font-size: .64rem;
        font-weight: 900;
    }

    .healthy-empty > div[b-gpvsle509j] {
        display: grid;
        gap: 2px;
    }

    .healthy-empty strong[b-gpvsle509j] {
        color: var(--eco-text);
        font-size: .53rem;
    }

    .healthy-empty small[b-gpvsle509j] {
        color: var(--eco-muted);
        font-size: .42rem;
    }


/* ============================================================
   TRANSPORT SETTINGS
   ============================================================ */

.transport-layout[b-gpvsle509j] {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .58fr);
    gap: 10px;
}

.transport-form[b-gpvsle509j],
.economics-roadmap[b-gpvsle509j] {
    border: 1px solid var(--eco-border);
    border-radius: 16px;
    background: var(--eco-panel);
    box-shadow: 0 8px 24px rgba(36, 52, 86, .03);
}

.transport-form[b-gpvsle509j] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 13px;
}

    .transport-form label[b-gpvsle509j] {
        min-width: 0;
        display: grid;
        gap: 4px;
    }

        .transport-form label.wide[b-gpvsle509j] {
            grid-column: 1 / -1;
        }

        .transport-form label > span[b-gpvsle509j] {
            color: var(--eco-secondary);
            font-size: .48rem;
            font-weight: 700;
        }

        .transport-form label > small[b-gpvsle509j] {
            color: var(--eco-muted);
            font-size: .40rem;
        }

    .transport-form input[b-gpvsle509j],
    .transport-form select[b-gpvsle509j] {
        width: 100%;
        min-height: 36px;
        box-sizing: border-box;
        padding: 0 9px;
        border: 1px solid var(--eco-border-strong);
        border-radius: 9px;
        outline: none;
        color: var(--eco-text);
        background: var(--eco-panel-soft);
        font: inherit;
        font-size: .54rem;
    }

        .transport-form input:focus[b-gpvsle509j],
        .transport-form select:focus[b-gpvsle509j] {
            border-color: rgba(95, 112, 232, .44);
            background: var(--eco-panel);
            box-shadow: 0 0 0 3px rgba(95, 112, 232, .07);
        }

.transport-form-footer[b-gpvsle509j] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
}

.transport-security-note[b-gpvsle509j] {
    color: var(--eco-muted);
    font-size: .43rem;
}

.primary-button[b-gpvsle509j] {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--eco-accent);
    border-radius: 9px;
    color: #fff;
    background: var(--eco-accent);
    font: inherit;
    font-size: .54rem;
    font-weight: 760;
    cursor: pointer;
    box-shadow: 0 7px 17px rgba(95, 112, 232, .18);
}

    .primary-button:hover[b-gpvsle509j] {
        background: var(--eco-accent-hover);
    }

.economics-roadmap[b-gpvsle509j] {
    padding: 13px;
}

    .economics-roadmap h3[b-gpvsle509j] {
        margin: 0 0 10px;
        font-size: .64rem;
    }

.roadmap-item[b-gpvsle509j] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--eco-border);
}

    .roadmap-item:last-child[b-gpvsle509j] {
        border-bottom: 0;
    }

    .roadmap-item > span[b-gpvsle509j] {
        width: 25px;
        height: 25px;
        display: grid;
        place-items: center;
        border-radius: 8px;
        color: var(--eco-muted);
        background: var(--eco-panel-muted);
        font-size: .44rem;
        font-weight: 850;
    }

    .roadmap-item.active > span[b-gpvsle509j] {
        color: var(--eco-green);
        background: var(--eco-green-soft);
    }

    .roadmap-item.next > span[b-gpvsle509j] {
        color: var(--eco-accent);
        background: var(--eco-accent-soft);
    }

    .roadmap-item > div[b-gpvsle509j] {
        min-width: 0;
        display: grid;
        gap: 2px;
    }

    .roadmap-item strong[b-gpvsle509j] {
        font-size: .51rem;
    }

    .roadmap-item small[b-gpvsle509j] {
        color: var(--eco-muted);
        font-size: .40rem;
    }

    .roadmap-item b[b-gpvsle509j] {
        color: var(--eco-green);
        font-size: .57rem;
    }


/* ============================================================
   HISTORICAL ECONOMICS RECONSTRUCTION
   ============================================================ */

.reconstruction-panel[b-gpvsle509j] {
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid var(--eco-border);
    border-radius: 18px;
    background: var(--eco-panel);
    box-shadow: var(--eco-shadow);
}

.reconstruction-panel-heading[b-gpvsle509j] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 16px;
    border-bottom: 1px solid var(--eco-border);
    background: linear-gradient( 115deg, rgba(95,112,232,.045), rgba(95,112,232,.008) );
}

.reconstruction-title[b-gpvsle509j] {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.reconstruction-icon[b-gpvsle509j] {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--eco-accent);
    background: var(--eco-accent-soft);
    font-size: .48rem;
    font-weight: 900;
}

.reconstruction-title > div[b-gpvsle509j] {
    min-width: 0;
}

.reconstruction-title h2[b-gpvsle509j] {
    margin: 0;
    color: var(--eco-text);
    font-size: .82rem;
}

.reconstruction-title p[b-gpvsle509j] {
    max-width: 900px;
    margin: 5px 0 0;
    color: var(--eco-muted);
    font-size: .50rem;
    line-height: 1.7;
}

.reconstruction-status[b-gpvsle509j] {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: .44rem;
    font-weight: 800;
}

    .reconstruction-status.ready[b-gpvsle509j] {
        color: var(--eco-green);
        background: var(--eco-green-soft);
    }

    .reconstruction-status.done[b-gpvsle509j] {
        color: var(--eco-accent);
        background: var(--eco-accent-soft);
    }

    .reconstruction-status.blocked[b-gpvsle509j] {
        color: var(--eco-red);
        background: var(--eco-red-soft);
    }

.reconstruction-loading[b-gpvsle509j] {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--eco-muted);
    font-size: .52rem;
}

.reconstruction-complete[b-gpvsle509j] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 13px;
    padding: 12px;
    border: 1px solid rgba(35,130,103,.14);
    border-radius: 12px;
    color: var(--eco-green);
    background: var(--eco-green-soft);
}

    .reconstruction-complete > span[b-gpvsle509j],
    .reconstruction-blocked > span[b-gpvsle509j] {
        width: 29px;
        height: 29px;
        flex: 0 0 29px;
        display: grid;
        place-items: center;
        border-radius: 9px;
        font-size: .62rem;
        font-weight: 900;
    }

    .reconstruction-complete > span[b-gpvsle509j] {
        background: rgba(35,130,103,.08);
    }

    .reconstruction-complete strong[b-gpvsle509j],
    .reconstruction-blocked strong[b-gpvsle509j] {
        display: block;
        font-size: .56rem;
    }

    .reconstruction-complete p[b-gpvsle509j],
    .reconstruction-blocked p[b-gpvsle509j] {
        margin: 3px 0 0;
        font-size: .44rem;
        line-height: 1.6;
    }

.reconstruction-metrics[b-gpvsle509j] {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 8px;
    padding: 13px 13px 0;
}

    .reconstruction-metrics article[b-gpvsle509j] {
        min-width: 0;
        display: grid;
        gap: 4px;
        padding: 10px;
        border: 1px solid var(--eco-border);
        border-radius: 11px;
        background: var(--eco-panel-soft);
    }

    .reconstruction-metrics span[b-gpvsle509j] {
        color: var(--eco-muted);
        font-size: .42rem;
    }

    .reconstruction-metrics strong[b-gpvsle509j] {
        overflow: hidden;
        color: var(--eco-text);
        font-size: .62rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.value-warning[b-gpvsle509j] {
    color: var(--eco-amber) !important;
}

.reconstruction-blocked[b-gpvsle509j] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 10px 13px 0;
    padding: 10px;
    border: 1px solid rgba(198,79,91,.15);
    border-radius: 11px;
    color: var(--eco-red);
    background: var(--eco-red-soft);
}

    .reconstruction-blocked > span[b-gpvsle509j] {
        background: rgba(198,79,91,.08);
    }

    .reconstruction-blocked code[b-gpvsle509j] {
        display: inline-block;
        margin-top: 4px;
        font-size: .43rem;
    }

.reconstruction-warnings[b-gpvsle509j] {
    margin: 10px 13px 0;
    border: 1px solid rgba(168,118,28,.14);
    border-radius: 11px;
    background: var(--eco-amber-soft);
}

    .reconstruction-warnings > summary[b-gpvsle509j] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 9px 10px;
        list-style: none;
        color: var(--eco-amber);
        cursor: pointer;
        font-size: .48rem;
        font-weight: 760;
    }

        .reconstruction-warnings > summary[b-gpvsle509j]::-webkit-details-marker {
            display: none;
        }

        .reconstruction-warnings > summary strong[b-gpvsle509j] {
            min-width: 24px;
            padding: 3px 6px;
            border-radius: 999px;
            background: rgba(168,118,28,.09);
            text-align: center;
            font-size: .42rem;
        }

    .reconstruction-warnings > div[b-gpvsle509j] {
        max-height: 240px;
        overflow: auto;
        padding: 0 10px 9px;
    }

    .reconstruction-warnings p[b-gpvsle509j] {
        margin: 0;
        padding: 5px 0;
        border-top: 1px solid rgba(168,118,28,.10);
        color: #88601a;
        font-family: ui-monospace,SFMono-Regular,Consolas,monospace;
        font-size: .40rem;
        line-height: 1.55;
    }

    .reconstruction-warnings small[b-gpvsle509j] {
        display: block;
        margin-top: 6px;
        color: var(--eco-muted);
        font-size: .40rem;
    }

.reconstruction-actions[b-gpvsle509j] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 13px;
}

.reconstruction-preview-button[b-gpvsle509j],
.reconstruction-execute-button[b-gpvsle509j] {
    min-height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 11px;
    border-radius: 9px;
    font: inherit;
    font-size: .49rem;
    font-weight: 760;
    text-decoration: none;
}

.reconstruction-preview-button[b-gpvsle509j] {
    border: 1px solid var(--eco-border);
    color: var(--eco-secondary);
    background: var(--eco-panel);
}

    .reconstruction-preview-button:hover[b-gpvsle509j] {
        border-color: var(--eco-accent-border);
        color: var(--eco-accent);
    }

.reconstruction-execute-form[b-gpvsle509j] {
    min-width: min(640px,100%);
    display: grid;
    grid-template-columns: minmax(260px,1fr) auto;
    gap: 8px;
    align-items: end;
}

    .reconstruction-execute-form label[b-gpvsle509j] {
        min-width: 0;
        display: grid;
        gap: 4px;
    }

        .reconstruction-execute-form label > span[b-gpvsle509j] {
            color: var(--eco-secondary);
            font-size: .44rem;
            font-weight: 700;
        }

    .reconstruction-execute-form input[b-gpvsle509j] {
        width: 100%;
        min-height: 37px;
        box-sizing: border-box;
        padding: 0 9px;
        border: 1px solid var(--eco-border-strong);
        border-radius: 9px;
        outline: none;
        color: var(--eco-text);
        background: var(--eco-panel-soft);
        font: inherit;
        font-size: .48rem;
    }

        .reconstruction-execute-form input:focus[b-gpvsle509j] {
            border-color: rgba(95,112,232,.44);
            box-shadow: 0 0 0 3px rgba(95,112,232,.07);
        }

.reconstruction-execute-button[b-gpvsle509j] {
    border: 1px solid var(--eco-accent);
    color: #fff;
    background: var(--eco-accent);
    cursor: pointer;
    box-shadow: 0 7px 17px rgba(95,112,232,.17);
}

    .reconstruction-execute-button:hover[b-gpvsle509j] {
        background: var(--eco-accent-hover);
    }


/* ============================================================
   DARK THEME
   ============================================================ */

html[data-theme="dark"] .ai-economics[b-gpvsle509j] {
    --eco-panel: #151d2b;
    --eco-panel-soft: #111925;
    --eco-panel-muted: #101722;
    --eco-border: #273246;
    --eco-border-strong: #32415a;
    --eco-text: #e8edf5;
    --eco-secondary: #a7b3c6;
    --eco-muted: #78869b;
    --eco-shadow: 0 13px 34px rgba(0, 0, 0, .14);
}

html[data-theme="dark"] .feedback-symbol[b-gpvsle509j] {
    background: rgba(255, 255, 255, .035);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1280px) {

    .economics-kpi-grid[b-gpvsle509j] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .provider-metrics-grid[b-gpvsle509j] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


@media (max-width: 1020px) {

    .economics-header[b-gpvsle509j] {
        align-items: stretch;
        flex-direction: column;
    }

    .economics-header-actions[b-gpvsle509j] {
        justify-items: start;
    }

    .provider-grid[b-gpvsle509j],
    .transport-layout[b-gpvsle509j] {
        grid-template-columns: 1fr;
    }

    .job-details[b-gpvsle509j] {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 900px) {
    .reconstruction-metrics[b-gpvsle509j] {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .reconstruction-actions[b-gpvsle509j] {
        align-items: stretch;
        flex-direction: column;
    }

    .reconstruction-execute-form[b-gpvsle509j] {
        width: 100%;
    }
}


@media (max-width: 760px) {

    .ai-economics[b-gpvsle509j] {
        padding: 23px 17px 46px;
    }

    .economics-kpi-grid[b-gpvsle509j],
    .provider-metrics-grid[b-gpvsle509j] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-heading[b-gpvsle509j] {
        align-items: flex-start;
        flex-direction: column;
    }

    .transport-form[b-gpvsle509j] {
        grid-template-columns: 1fr;
    }

        .transport-form label.wide[b-gpvsle509j],
        .transport-form-footer[b-gpvsle509j] {
            grid-column: auto;
        }

    .transport-form-footer[b-gpvsle509j] {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-button[b-gpvsle509j] {
        width: 100%;
    }

    .section-summary[b-gpvsle509j] {
        width: 100%;
    }

        .section-summary > span[b-gpvsle509j] {
            flex: 1;
        }
}


@media (max-width: 520px) {

    .ai-economics[b-gpvsle509j] {
        padding: 20px 12px 40px;
    }

    .economics-kpi-grid[b-gpvsle509j],
    .provider-metrics-grid[b-gpvsle509j] {
        grid-template-columns: 1fr;
    }

    .economics-header-actions[b-gpvsle509j],
    .secondary-action[b-gpvsle509j] {
        width: 100%;
    }

    .period-switcher[b-gpvsle509j] {
        width: 100%;
        overflow-x: auto;
    }

        .period-switcher a[b-gpvsle509j] {
            flex: 1;
            text-align: center;
        }

    .economics-status-strip[b-gpvsle509j] {
        align-items: flex-start;
        flex-direction: column;
    }
}


@media (max-width: 560px) {
    .reconstruction-panel-heading[b-gpvsle509j] {
        flex-direction: column;
    }

    .reconstruction-metrics[b-gpvsle509j] {
        grid-template-columns: 1fr;
    }

    .reconstruction-execute-form[b-gpvsle509j] {
        grid-template-columns: 1fr;
    }

    .reconstruction-preview-button[b-gpvsle509j],
    .reconstruction-execute-button[b-gpvsle509j] {
        width: 100%;
    }
}


/* ============================================================
   REALIZED REVENUE & PROFITABILITY
   ============================================================ */

.economics-kpi-grid-financial[b-gpvsle509j] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.economics-kpi-card.realized-revenue .kpi-icon[b-gpvsle509j] {
    color: var(--eco-green);
    background: var(--eco-green-soft);
}

.economics-kpi-card.gross-profit .kpi-icon[b-gpvsle509j] {
    color: #2f8067;
    background: rgba(47, 128, 103, .08);
}

.economics-kpi-card.gross-margin .kpi-icon[b-gpvsle509j] {
    color: var(--eco-violet);
    background: var(--eco-violet-soft);
}

.economics-kpi-card.basis-health .kpi-icon[b-gpvsle509j] {
    color: var(--eco-amber);
    background: var(--eco-amber-soft);
}

.economics-state-summary[b-gpvsle509j] {
    flex-wrap: wrap;
}

    .economics-state-summary .summary-known[b-gpvsle509j] {
        border-color: rgba(35, 130, 103, .15);
        background: var(--eco-green-soft);
    }

        .economics-state-summary .summary-known strong[b-gpvsle509j] {
            color: var(--eco-green);
        }

    .economics-state-summary .summary-pending[b-gpvsle509j] {
        border-color: rgba(168, 118, 28, .14);
        background: var(--eco-amber-soft);
    }

        .economics-state-summary .summary-pending strong[b-gpvsle509j] {
            color: var(--eco-amber);
        }

    .economics-state-summary .summary-unknown[b-gpvsle509j] {
        border-color: rgba(198, 79, 91, .13);
        background: var(--eco-red-soft);
    }

        .economics-state-summary .summary-unknown strong[b-gpvsle509j] {
            color: var(--eco-red);
        }

.revenue-status-badge[b-gpvsle509j] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    border-radius: 999px;
    font-size: .40rem;
    font-weight: 800;
    white-space: nowrap;
}

    .revenue-status-badge.complete[b-gpvsle509j] {
        color: var(--eco-green);
        background: var(--eco-green-soft);
    }

    .revenue-status-badge.pending[b-gpvsle509j] {
        color: var(--eco-amber);
        background: var(--eco-amber-soft);
    }

    .revenue-status-badge.unknown[b-gpvsle509j] {
        color: var(--eco-red);
        background: var(--eco-red-soft);
    }

    .revenue-status-badge.no-charge[b-gpvsle509j] {
        color: var(--eco-secondary);
        background: rgba(94, 108, 130, .08);
    }

.revenue-cell-note[b-gpvsle509j] {
    max-width: 150px;
    overflow: hidden;
    color: var(--eco-muted);
    font-size: .38rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.revenue-allocation-metrics[b-gpvsle509j] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 9px;
}

    .revenue-allocation-metrics > div[b-gpvsle509j] {
        min-width: 0;
        display: grid;
        gap: 3px;
        padding: 7px;
        border: 1px solid var(--eco-border);
        border-radius: 8px;
        background: var(--eco-panel-soft);
    }

    .revenue-allocation-metrics span[b-gpvsle509j] {
        color: var(--eco-muted);
        font-size: .39rem;
    }

    .revenue-allocation-metrics strong[b-gpvsle509j] {
        overflow: hidden;
        color: var(--eco-text);
        font-size: .49rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.revenue-state-card[b-gpvsle509j] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    padding: 9px;
    border: 1px solid;
    border-radius: 10px;
}

.revenue-state-icon[b-gpvsle509j] {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    font-size: .50rem;
    font-weight: 900;
}

.revenue-state-card > div[b-gpvsle509j] {
    min-width: 0;
}

.revenue-state-card strong[b-gpvsle509j] {
    display: block;
    font-size: .49rem;
}

.revenue-state-card p[b-gpvsle509j] {
    margin: 3px 0 0;
    font-size: .41rem;
    line-height: 1.58;
}

.revenue-state-card.complete[b-gpvsle509j] {
    border-color: rgba(35, 130, 103, .14);
    color: var(--eco-green);
    background: var(--eco-green-soft);
}

    .revenue-state-card.complete .revenue-state-icon[b-gpvsle509j] {
        background: rgba(35, 130, 103, .08);
    }

.revenue-state-card.pending[b-gpvsle509j] {
    border-color: rgba(168, 118, 28, .14);
    color: var(--eco-amber);
    background: var(--eco-amber-soft);
}

    .revenue-state-card.pending .revenue-state-icon[b-gpvsle509j] {
        background: rgba(168, 118, 28, .09);
    }

.revenue-state-card.unknown[b-gpvsle509j] {
    border-color: rgba(198, 79, 91, .14);
    color: var(--eco-red);
    background: var(--eco-red-soft);
}

    .revenue-state-card.unknown .revenue-state-icon[b-gpvsle509j] {
        background: rgba(198, 79, 91, .08);
    }

.revenue-state-card.no-charge[b-gpvsle509j] {
    border-color: var(--eco-border);
    color: var(--eco-secondary);
    background: var(--eco-panel-soft);
}

    .revenue-state-card.no-charge .revenue-state-icon[b-gpvsle509j] {
        background: rgba(94, 108, 130, .08);
    }

.known-revenue-strip[b-gpvsle509j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 9px;
    border: 1px dashed var(--eco-border-strong);
    border-radius: 9px;
    background: var(--eco-panel-soft);
}

    .known-revenue-strip span[b-gpvsle509j] {
        color: var(--eco-muted);
        font-size: .41rem;
    }

    .known-revenue-strip strong[b-gpvsle509j] {
        color: var(--eco-text);
        font-size: .51rem;
    }

@media (max-width: 1280px) {
    .economics-kpi-grid-financial[b-gpvsle509j] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .revenue-allocation-metrics[b-gpvsle509j] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .economics-kpi-grid-financial[b-gpvsle509j],
    .revenue-allocation-metrics[b-gpvsle509j] {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   READABILITY SCALE V3
   Coordinated with AdminTranslationPricingPanel
   ============================================================ */

/*
 * The original Economics UI was intentionally compact and many labels were
 * below comfortable desktop reading size. These overrides keep the existing
 * layout/branding while bringing typography, controls and spacing in line with
 * the larger Pricing Policy panel.
 */

/* ---- Page / header ---- */

.ai-economics[b-gpvsle509j] {
    padding: 34px 30px 64px;
}

.economics-header[b-gpvsle509j] {
    gap: 30px;
    margin-bottom: 24px;
}

.economics-eyebrow[b-gpvsle509j],
.panel-kicker[b-gpvsle509j],
.detail-kicker[b-gpvsle509j] {
    font-size: .76rem;
    line-height: 1.45;
}

.economics-header h1[b-gpvsle509j] {
    font-size: clamp(2rem, 2.6vw, 2.75rem);
}

.economics-header p[b-gpvsle509j] {
    margin-top: 11px;
    font-size: 1rem;
    line-height: 1.9;
}

.secondary-action[b-gpvsle509j] {
    min-width: 235px;
    gap: 11px;
    padding: 12px 14px;
}

.action-icon[b-gpvsle509j] {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: .92rem;
}

.secondary-action strong[b-gpvsle509j] {
    font-size: .9rem;
}

.secondary-action small[b-gpvsle509j] {
    font-size: .76rem;
}

.period-switcher[b-gpvsle509j] {
    gap: 5px;
    padding: 5px;
}

    .period-switcher a[b-gpvsle509j] {
        padding: 8px 11px;
        font-size: .78rem;
    }


/* ---- Feedback / loading ---- */

.feedback-banner[b-gpvsle509j] {
    gap: 12px;
    margin-bottom: 15px;
    padding: 14px 16px;
}

.feedback-symbol[b-gpvsle509j] {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: .9rem;
}

.feedback-banner strong[b-gpvsle509j] {
    font-size: .95rem;
}

.feedback-banner small[b-gpvsle509j],
.feedback-banner code[b-gpvsle509j] {
    font-size: .78rem;
}

.economics-loading[b-gpvsle509j] {
    min-height: 200px;
    gap: 11px;
    font-size: .95rem;
}


/* ---- Economics status ---- */

.economics-status-strip[b-gpvsle509j] {
    gap: 18px;
    margin-bottom: 17px;
    padding: 14px 16px;
}

.status-strip-icon[b-gpvsle509j] {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
    font-size: .82rem;
}

.status-strip-copy strong[b-gpvsle509j] {
    font-size: .9rem;
}

.status-strip-copy p[b-gpvsle509j] {
    margin-top: 4px;
    font-size: .78rem;
    line-height: 1.75;
}

.economics-stage-badge[b-gpvsle509j] {
    padding: 7px 10px;
    font-size: .7rem;
}


/* ---- KPI cards ---- */

.economics-kpi-grid[b-gpvsle509j] {
    gap: 12px;
    margin-top: 20px;
}

.economics-kpi-card[b-gpvsle509j] {
    min-height: 135px;
    gap: 12px;
    padding: 16px;
}

.kpi-icon[b-gpvsle509j] {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: .85rem;
}

.kpi-copy > span[b-gpvsle509j] {
    font-size: .78rem;
}

.kpi-copy strong[b-gpvsle509j] {
    margin-top: 11px;
    font-size: 1.18rem;
}

.kpi-copy small[b-gpvsle509j] {
    margin-top: 7px;
    font-size: .7rem;
    line-height: 1.55;
}


/* ---- Generic section headings ---- */

.economics-section[b-gpvsle509j] {
    margin-top: 34px;
}

.section-heading[b-gpvsle509j] {
    gap: 24px;
    margin-bottom: 17px;
}

    .section-heading h2[b-gpvsle509j] {
        font-size: 1.36rem;
    }

    .section-heading p[b-gpvsle509j] {
        margin-top: 8px;
        font-size: .86rem;
        line-height: 1.8;
    }

.section-summary[b-gpvsle509j] {
    gap: 8px;
}

    .section-summary > span[b-gpvsle509j] {
        min-width: 96px;
        gap: 3px;
        padding: 9px 11px;
    }

    .section-summary strong[b-gpvsle509j] {
        font-size: .9rem;
    }

    .section-summary small[b-gpvsle509j] {
        font-size: .66rem;
    }


/* ---- Empty states ---- */

.empty-state[b-gpvsle509j] {
    min-height: 150px;
    padding: 22px;
}

.empty-state-icon[b-gpvsle509j] {
    width: 45px;
    height: 45px;
    flex-basis: 45px;
    font-size: 1rem;
}

.empty-state strong[b-gpvsle509j] {
    font-size: .95rem;
}

.empty-state p[b-gpvsle509j] {
    margin-top: 6px;
    font-size: .78rem;
    line-height: 1.7;
}

.mini-empty[b-gpvsle509j] {
    min-height: 110px;
    padding: 17px;
    font-size: .8rem;
}


/* ---- Job economics table ---- */

.job-table-head[b-gpvsle509j] {
    min-width: 1120px;
    padding: 11px 16px;
    font-size: .72rem;
}

.job-economics-list[b-gpvsle509j] {
    min-width: 1120px;
}

.job-economics-item > summary[b-gpvsle509j] {
    padding: 15px 40px 15px 16px;
}

.ai-economics[dir="rtl"] .job-economics-item > summary[b-gpvsle509j] {
    padding: 15px 16px 15px 40px;
}

.details-chevron[b-gpvsle509j] {
    font-size: .95rem;
}

.job-identity[b-gpvsle509j] {
    gap: 11px;
}

.job-type-icon[b-gpvsle509j] {
    width: 46px;
    height: 40px;
    flex-basis: 46px;
    font-size: .65rem;
}

.job-identity-copy[b-gpvsle509j] {
    gap: 3px;
}

    .job-identity-copy > strong[b-gpvsle509j] {
        font-size: .88rem;
    }

    .job-identity-copy > small[b-gpvsle509j],
    .job-user[b-gpvsle509j] {
        font-size: .68rem;
    }

.quality-badge[b-gpvsle509j],
.input-label[b-gpvsle509j],
.ocr-badge[b-gpvsle509j],
.cost-origin[b-gpvsle509j],
.pending-badge[b-gpvsle509j] {
    padding: 5px 8px;
    font-size: .66rem;
}

.job-ai-usage[b-gpvsle509j] {
    gap: 8px;
}

    .job-ai-usage > strong[b-gpvsle509j],
    .job-ai-usage > span[b-gpvsle509j] {
        font-size: .8rem;
    }

    .job-ai-usage small[b-gpvsle509j] {
        font-size: .58rem;
    }

.job-cost[b-gpvsle509j],
.job-credits[b-gpvsle509j],
.job-revenue[b-gpvsle509j] {
    gap: 4px;
}

    .job-cost > strong[b-gpvsle509j],
    .job-credits > strong[b-gpvsle509j],
    .job-revenue > strong[b-gpvsle509j] {
        font-size: .88rem;
    }

    .job-cost .saving[b-gpvsle509j],
    .job-credits > span[b-gpvsle509j],
    .ledger-warning[b-gpvsle509j] {
        font-size: .64rem;
    }

.profit-value[b-gpvsle509j] {
    font-size: .7rem;
}


/* ---- Job detail cards ---- */

.job-details[b-gpvsle509j] {
    gap: 12px;
    padding: 15px 16px 17px;
}

.job-detail-block[b-gpvsle509j] {
    padding: 15px;
}

    .job-detail-block h3[b-gpvsle509j] {
        margin-bottom: 12px;
        font-size: .95rem;
    }

.detail-kicker[b-gpvsle509j] {
    font-size: .66rem;
}

.detail-metric-grid[b-gpvsle509j] {
    gap: 8px;
}

    .detail-metric-grid > div[b-gpvsle509j] {
        gap: 4px;
        padding: 9px 10px;
    }

    .detail-metric-grid span[b-gpvsle509j],
    .money-lines span[b-gpvsle509j],
    .billing-ledger-row span[b-gpvsle509j] {
        font-size: .68rem;
    }

    .detail-metric-grid strong[b-gpvsle509j] {
        font-size: .82rem;
    }

.money-lines[b-gpvsle509j] {
    gap: 9px;
}

    .money-lines > div[b-gpvsle509j],
    .billing-ledger-row[b-gpvsle509j] {
        padding: 9px 0;
    }

        .money-lines strong[b-gpvsle509j],
        .billing-ledger-row strong[b-gpvsle509j] {
            font-size: .82rem;
        }

.money-total[b-gpvsle509j] {
    padding: 10px !important;
}

.cost-policy-note[b-gpvsle509j] {
    margin-top: 11px;
    padding: 10px;
    font-size: .68rem;
    line-height: 1.7;
}

.ledger-alert[b-gpvsle509j],
.revenue-pending-card[b-gpvsle509j] {
    gap: 10px;
    margin-top: 10px;
    padding: 10px;
}

    .ledger-alert > span[b-gpvsle509j],
    .revenue-pending-icon[b-gpvsle509j] {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        font-size: .75rem;
    }

    .ledger-alert p[b-gpvsle509j],
    .revenue-pending-card p[b-gpvsle509j] {
        font-size: .68rem;
        line-height: 1.7;
    }

    .revenue-pending-card strong[b-gpvsle509j] {
        font-size: .8rem;
    }

.revenue-ready[b-gpvsle509j] {
    gap: 8px;
    margin-top: 11px;
}

    .revenue-ready > div[b-gpvsle509j] {
        gap: 4px;
        padding: 9px;
    }

    .revenue-ready span[b-gpvsle509j] {
        font-size: .64rem;
    }

    .revenue-ready strong[b-gpvsle509j] {
        font-size: .82rem;
    }


/* ---- Provider health / usage ---- */

.provider-health[b-gpvsle509j] {
    gap: 10px;
    padding: 9px 11px;
}

.health-dot[b-gpvsle509j] {
    width: 10px;
    height: 10px;
    flex-basis: 10px;
}

.provider-health strong[b-gpvsle509j] {
    font-size: .82rem;
}

.provider-health small[b-gpvsle509j] {
    font-size: .64rem;
}

.provider-metrics-grid[b-gpvsle509j] {
    gap: 11px;
    margin-bottom: 12px;
}

    .provider-metrics-grid article[b-gpvsle509j] {
        gap: 6px;
        padding: 14px;
    }

    .provider-metrics-grid span[b-gpvsle509j] {
        font-size: .72rem;
    }

    .provider-metrics-grid strong[b-gpvsle509j] {
        font-size: 1rem;
    }

    .provider-metrics-grid small[b-gpvsle509j] {
        font-size: .66rem;
    }

.provider-grid[b-gpvsle509j] {
    gap: 12px;
}

.panel-heading[b-gpvsle509j] {
    gap: 12px;
    padding: 15px 16px;
}

    .panel-heading h3[b-gpvsle509j] {
        font-size: 1rem;
    }

.panel-kicker[b-gpvsle509j] {
    font-size: .66rem;
}

.error-count-badge[b-gpvsle509j] {
    padding: 5px 8px;
    font-size: .7rem;
}

.model-usage-row[b-gpvsle509j] {
    gap: 11px;
    padding: 13px 15px;
}

.model-avatar[b-gpvsle509j] {
    width: 38px;
    height: 38px;
    font-size: .68rem;
}

.model-usage-name strong[b-gpvsle509j] {
    font-size: .82rem;
}

.model-usage-name small[b-gpvsle509j],
.model-token-summary small[b-gpvsle509j],
.model-cost small[b-gpvsle509j],
.model-latency small[b-gpvsle509j] {
    font-size: .62rem;
}

.model-token-summary strong[b-gpvsle509j],
.model-cost strong[b-gpvsle509j],
.model-latency strong[b-gpvsle509j] {
    font-size: .74rem;
}

.error-row[b-gpvsle509j] {
    gap: 7px 11px;
    padding: 13px 15px;
}

.error-code[b-gpvsle509j] {
    font-size: .72rem;
}

.error-occurrences strong[b-gpvsle509j] {
    font-size: .82rem;
}

.error-occurrences small[b-gpvsle509j],
.error-date[b-gpvsle509j] {
    font-size: .62rem;
}

.healthy-empty[b-gpvsle509j] {
    min-height: 130px;
    gap: 10px;
    padding: 16px;
}

    .healthy-empty > span[b-gpvsle509j] {
        width: 37px;
        height: 37px;
        font-size: .85rem;
    }

    .healthy-empty strong[b-gpvsle509j] {
        font-size: .82rem;
    }

    .healthy-empty small[b-gpvsle509j] {
        font-size: .66rem;
    }


/* ---- Transport settings ---- */

.transport-layout[b-gpvsle509j] {
    gap: 12px;
}

.transport-form[b-gpvsle509j] {
    gap: 11px;
    padding: 16px;
}

    .transport-form label[b-gpvsle509j] {
        gap: 6px;
    }

        .transport-form label > span[b-gpvsle509j] {
            font-size: .78rem;
        }

        .transport-form label > small[b-gpvsle509j] {
            font-size: .66rem;
        }

    .transport-form input[b-gpvsle509j],
    .transport-form select[b-gpvsle509j] {
        min-height: 44px;
        padding: 0 12px;
        font-size: .88rem;
    }

.transport-form-footer[b-gpvsle509j] {
    gap: 14px;
    padding-top: 7px;
}

.transport-security-note[b-gpvsle509j] {
    font-size: .68rem;
    line-height: 1.6;
}

.primary-button[b-gpvsle509j] {
    min-height: 46px;
    padding: 0 16px;
    font-size: .86rem;
}

.economics-roadmap[b-gpvsle509j] {
    padding: 16px;
}

    .economics-roadmap h3[b-gpvsle509j] {
        margin-bottom: 13px;
        font-size: 1rem;
    }

.roadmap-item[b-gpvsle509j] {
    gap: 10px;
    padding: 11px 0;
}

    .roadmap-item > span[b-gpvsle509j] {
        width: 31px;
        height: 31px;
        font-size: .7rem;
    }

    .roadmap-item > div[b-gpvsle509j] {
        gap: 3px;
    }

    .roadmap-item strong[b-gpvsle509j] {
        font-size: .8rem;
    }

    .roadmap-item small[b-gpvsle509j] {
        font-size: .64rem;
        line-height: 1.5;
    }

    .roadmap-item b[b-gpvsle509j] {
        font-size: .82rem;
    }


/* ---- Historical reconstruction ---- */

.reconstruction-panel[b-gpvsle509j] {
    margin-bottom: 22px;
}

.reconstruction-panel-heading[b-gpvsle509j] {
    gap: 21px;
    padding: 18px 19px;
}

.reconstruction-title[b-gpvsle509j] {
    gap: 13px;
}

.reconstruction-icon[b-gpvsle509j] {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    font-size: .72rem;
}

.reconstruction-title h2[b-gpvsle509j] {
    font-size: 1.18rem;
}

.reconstruction-title p[b-gpvsle509j] {
    margin-top: 7px;
    font-size: .78rem;
    line-height: 1.8;
}

.reconstruction-status[b-gpvsle509j] {
    padding: 7px 10px;
    font-size: .68rem;
}

.reconstruction-loading[b-gpvsle509j] {
    min-height: 105px;
    gap: 10px;
    font-size: .8rem;
}

.reconstruction-complete[b-gpvsle509j] {
    gap: 12px;
    margin: 16px;
    padding: 15px;
}

    .reconstruction-complete > span[b-gpvsle509j],
    .reconstruction-blocked > span[b-gpvsle509j] {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
        font-size: .86rem;
    }

    .reconstruction-complete strong[b-gpvsle509j],
    .reconstruction-blocked strong[b-gpvsle509j] {
        font-size: .86rem;
    }

    .reconstruction-complete p[b-gpvsle509j],
    .reconstruction-blocked p[b-gpvsle509j] {
        margin-top: 5px;
        font-size: .7rem;
        line-height: 1.7;
    }

.reconstruction-metrics[b-gpvsle509j] {
    gap: 10px;
    padding: 16px 16px 0;
}

    .reconstruction-metrics article[b-gpvsle509j] {
        gap: 6px;
        padding: 12px;
    }

    .reconstruction-metrics span[b-gpvsle509j] {
        font-size: .68rem;
    }

    .reconstruction-metrics strong[b-gpvsle509j] {
        font-size: .92rem;
    }

.reconstruction-blocked[b-gpvsle509j] {
    gap: 11px;
    margin: 12px 16px 0;
    padding: 13px;
}

    .reconstruction-blocked code[b-gpvsle509j] {
        margin-top: 6px;
        font-size: .66rem;
    }

.reconstruction-warnings[b-gpvsle509j] {
    margin: 12px 16px 0;
}

    .reconstruction-warnings > summary[b-gpvsle509j] {
        padding: 11px 12px;
        font-size: .74rem;
    }

        .reconstruction-warnings > summary strong[b-gpvsle509j] {
            min-width: 29px;
            font-size: .66rem;
        }

    .reconstruction-warnings > div[b-gpvsle509j] {
        max-height: 280px;
        padding: 0 12px 11px;
    }

    .reconstruction-warnings p[b-gpvsle509j] {
        padding: 7px 0;
        font-size: .64rem;
        line-height: 1.65;
    }

    .reconstruction-warnings small[b-gpvsle509j] {
        font-size: .64rem;
    }

.reconstruction-actions[b-gpvsle509j] {
    gap: 14px;
    padding: 16px;
}

.reconstruction-preview-button[b-gpvsle509j],
.reconstruction-execute-button[b-gpvsle509j] {
    min-height: 44px;
    padding: 0 14px;
    font-size: .76rem;
}

.reconstruction-execute-form[b-gpvsle509j] {
    gap: 10px;
}

    .reconstruction-execute-form label[b-gpvsle509j] {
        gap: 6px;
    }

        .reconstruction-execute-form label > span[b-gpvsle509j] {
            font-size: .7rem;
        }

    .reconstruction-execute-form input[b-gpvsle509j] {
        min-height: 44px;
        padding: 0 12px;
        font-size: .76rem;
    }


/* ---- Revenue / profitability ---- */

.revenue-status-badge[b-gpvsle509j] {
    padding: 5px 8px;
    font-size: .64rem;
}

.revenue-cell-note[b-gpvsle509j] {
    max-width: 180px;
    font-size: .6rem;
    line-height: 1.5;
}

.revenue-allocation-metrics[b-gpvsle509j] {
    gap: 8px;
    margin-top: 11px;
}

    .revenue-allocation-metrics > div[b-gpvsle509j] {
        gap: 4px;
        padding: 9px;
    }

    .revenue-allocation-metrics span[b-gpvsle509j] {
        font-size: .64rem;
    }

    .revenue-allocation-metrics strong[b-gpvsle509j] {
        font-size: .78rem;
    }

.revenue-state-card[b-gpvsle509j] {
    gap: 10px;
    margin-top: 10px;
    padding: 11px;
}

.revenue-state-icon[b-gpvsle509j] {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
    font-size: .74rem;
}

.revenue-state-card strong[b-gpvsle509j] {
    font-size: .78rem;
}

.revenue-state-card p[b-gpvsle509j] {
    margin-top: 5px;
    font-size: .66rem;
    line-height: 1.7;
}

.known-revenue-strip[b-gpvsle509j] {
    gap: 10px;
    margin-top: 10px;
    padding: 10px 11px;
}

    .known-revenue-strip span[b-gpvsle509j] {
        font-size: .66rem;
    }

    .known-revenue-strip strong[b-gpvsle509j] {
        font-size: .8rem;
    }


/* ============================================================
   READABILITY RESPONSIVE TUNING
   ============================================================ */

@media (max-width: 1280px) {
    .economics-kpi-grid-financial[b-gpvsle509j] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1020px) {
    .job-details[b-gpvsle509j] {
        grid-template-columns: 1fr;
    }

    .provider-grid[b-gpvsle509j],
    .transport-layout[b-gpvsle509j] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .ai-economics[b-gpvsle509j] {
        padding: 25px 18px 50px;
    }

    .economics-header h1[b-gpvsle509j] {
        font-size: 1.85rem;
    }

    .economics-header p[b-gpvsle509j] {
        font-size: .94rem;
    }

    .economics-kpi-grid[b-gpvsle509j],
    .provider-metrics-grid[b-gpvsle509j] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-heading h2[b-gpvsle509j] {
        font-size: 1.2rem;
    }

    .section-heading p[b-gpvsle509j] {
        font-size: .82rem;
    }

    .transport-form input[b-gpvsle509j],
    .transport-form select[b-gpvsle509j],
    .reconstruction-execute-form input[b-gpvsle509j] {
        font-size: .9rem;
    }
}

@media (max-width: 520px) {
    .ai-economics[b-gpvsle509j] {
        padding: 21px 13px 42px;
    }

    .economics-kpi-grid[b-gpvsle509j],
    .economics-kpi-grid-financial[b-gpvsle509j],
    .provider-metrics-grid[b-gpvsle509j],
    .revenue-allocation-metrics[b-gpvsle509j] {
        grid-template-columns: 1fr;
    }

    .section-summary[b-gpvsle509j] {
        flex-wrap: wrap;
    }

        .section-summary > span[b-gpvsle509j] {
            min-width: calc(50% - 4px);
        }
}

/* ============================================================
   JOB-LEVEL SHADOW PRICING COMPARISON
   ============================================================ */

.economics-state-summary .summary-shadow[b-gpvsle509j] {
    border-color: rgba(116, 88, 181, .15);
    background: var(--eco-violet-soft);
}

    .economics-state-summary .summary-shadow strong[b-gpvsle509j] {
        color: var(--eco-violet);
    }

.shadow-inline-badge[b-gpvsle509j] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: .62rem;
    font-weight: 820;
    line-height: 1;
    white-space: nowrap;
}

    .shadow-inline-badge.up[b-gpvsle509j] {
        color: var(--eco-violet);
        background: var(--eco-violet-soft);
    }

    .shadow-inline-badge.down[b-gpvsle509j] {
        color: var(--eco-green);
        background: var(--eco-green-soft);
    }

/*
 * Four detail cards now exist: Provider, Cost, Billing and Shadow Pricing.
 * A 2�2 desktop layout keeps all four readable instead of squeezing them into
 * four narrow columns.
 */
.job-details[b-gpvsle509j] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shadow-pricing-breakdown[b-gpvsle509j] {
    border-color: rgba(116, 88, 181, .17);
    background: linear-gradient( 145deg, rgba(116, 88, 181, .035), var(--eco-panel) 42%);
}

.shadow-job-heading[b-gpvsle509j] {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 11px;
}

    .shadow-job-heading > div[b-gpvsle509j] {
        min-width: 0;
        display: grid;
        gap: 2px;
        margin-inline-end: auto;
    }

        .shadow-job-heading > div > span[b-gpvsle509j] {
            color: var(--eco-muted);
            font-size: .66rem;
        }

        .shadow-job-heading > div > strong[b-gpvsle509j] {
            color: var(--eco-text);
            font-size: .9rem;
        }

.shadow-mode-badge[b-gpvsle509j],
.shadow-guardrail-badge[b-gpvsle509j] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: .62rem;
    font-weight: 850;
    white-space: nowrap;
}

.shadow-mode-badge[b-gpvsle509j] {
    color: var(--eco-violet);
    background: var(--eco-violet-soft);
}

.shadow-guardrail-badge[b-gpvsle509j] {
    color: var(--eco-amber);
    background: var(--eco-amber-soft);
}

.shadow-credit-comparison[b-gpvsle509j] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    margin-bottom: 11px;
    padding: 11px;
    border: 1px solid rgba(116, 88, 181, .13);
    border-radius: 11px;
    background: rgba(116, 88, 181, .045);
}

    .shadow-credit-comparison > div[b-gpvsle509j] {
        min-width: 0;
        display: grid;
        gap: 3px;
    }

        .shadow-credit-comparison > div > span[b-gpvsle509j] {
            color: var(--eco-muted);
            font-size: .65rem;
        }

        .shadow-credit-comparison > div > strong[b-gpvsle509j] {
            color: var(--eco-text);
            font-size: 1rem;
        }

.shadow-comparison-arrow[b-gpvsle509j] {
    color: var(--eco-muted);
    font-size: .88rem;
}

.shadow-delta[b-gpvsle509j] {
    min-width: 48px;
    padding: 6px 8px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 850;
    text-align: center;
}

    .shadow-delta.up[b-gpvsle509j] {
        color: var(--eco-violet);
        background: var(--eco-violet-soft);
    }

    .shadow-delta.down[b-gpvsle509j] {
        color: var(--eco-green);
        background: var(--eco-green-soft);
    }

.shadow-pricing-metrics[b-gpvsle509j] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

    .shadow-pricing-metrics > div[b-gpvsle509j] {
        min-width: 0;
        display: grid;
        gap: 4px;
        padding: 9px;
        border: 1px solid var(--eco-border);
        border-radius: 9px;
        background: var(--eco-panel-soft);
    }

    .shadow-pricing-metrics span[b-gpvsle509j] {
        color: var(--eco-muted);
        font-size: .62rem;
        line-height: 1.45;
    }

    .shadow-pricing-metrics strong[b-gpvsle509j] {
        overflow: hidden;
        color: var(--eco-text);
        font-size: .78rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.shadow-multiplier-strip[b-gpvsle509j] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 9px;
}

    .shadow-multiplier-strip > span[b-gpvsle509j] {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 5px 7px;
        border: 1px solid var(--eco-border);
        border-radius: 999px;
        color: var(--eco-muted);
        background: var(--eco-panel-soft);
        font-size: .61rem;
    }

    .shadow-multiplier-strip strong[b-gpvsle509j] {
        color: var(--eco-secondary);
        font-size: .66rem;
    }

.shadow-snapshot-note[b-gpvsle509j] {
    margin: 10px 0 0;
    padding: 9px 10px;
    border-radius: 9px;
    color: var(--eco-muted);
    background: var(--eco-panel-muted);
    font-size: .65rem;
    line-height: 1.65;
}

.shadow-snapshot-warning[b-gpvsle509j] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 9px;
    padding: 9px 10px;
    border: 1px solid rgba(168, 118, 28, .15);
    border-radius: 9px;
    color: var(--eco-amber);
    background: var(--eco-amber-soft);
}

    .shadow-snapshot-warning > span[b-gpvsle509j] {
        width: 25px;
        height: 25px;
        flex: 0 0 25px;
        display: grid;
        place-items: center;
        border-radius: 7px;
        background: rgba(168, 118, 28, .09);
        font-size: .68rem;
        font-weight: 900;
    }

    .shadow-snapshot-warning p[b-gpvsle509j] {
        margin: 0;
        font-size: .65rem;
        line-height: 1.65;
    }

.shadow-missing-state[b-gpvsle509j] {
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 16px;
    border: 1px dashed var(--eco-border-strong);
    border-radius: 11px;
    color: var(--eco-muted);
    background: var(--eco-panel-soft);
}

    .shadow-missing-state > span[b-gpvsle509j] {
        width: 35px;
        height: 35px;
        flex: 0 0 35px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        color: var(--eco-violet);
        background: var(--eco-violet-soft);
        font-size: .85rem;
    }

    .shadow-missing-state > div[b-gpvsle509j] {
        min-width: 0;
    }

    .shadow-missing-state strong[b-gpvsle509j] {
        display: block;
        color: var(--eco-secondary);
        font-size: .8rem;
    }

    .shadow-missing-state p[b-gpvsle509j] {
        margin: 5px 0 0;
        font-size: .66rem;
        line-height: 1.65;
    }

@media (max-width: 1180px) {
    .shadow-pricing-metrics[b-gpvsle509j] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1020px) {
    .job-details[b-gpvsle509j] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .shadow-credit-comparison[b-gpvsle509j] {
        grid-template-columns: 1fr;
    }

    .shadow-comparison-arrow[b-gpvsle509j] {
        transform: rotate(90deg);
        justify-self: center;
    }

    .shadow-delta[b-gpvsle509j] {
        justify-self: start;
    }

    .shadow-pricing-metrics[b-gpvsle509j] {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   JOB INTERNAL COST SNAPSHOT
   Phase 4.4B-3C
   ============================================================ */

.job-cost-heading[b-gpvsle509j] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}


    .job-cost-heading > div[b-gpvsle509j] {
        min-width: 0;
    }


    .job-cost-heading h3[b-gpvsle509j] {
        margin-bottom: 3px !important;
    }


    .job-cost-heading small[b-gpvsle509j] {
        display: block;
        color: var(--eco-muted);
        font-size: .64rem;
        line-height: 1.55;
    }


.job-cost-policy-badge[b-gpvsle509j] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: .62rem;
    font-weight: 850;
    white-space: nowrap;
}


    .job-cost-policy-badge.active[b-gpvsle509j] {
        color: var(--eco-green);
        background: var(--eco-green-soft);
    }


    .job-cost-policy-badge.legacy[b-gpvsle509j] {
        color: var(--eco-amber);
        background: var(--eco-amber-soft);
    }


    .job-cost-policy-badge.missing[b-gpvsle509j] {
        color: var(--eco-secondary);
        background: var(--eco-panel-muted);
    }


/* ============================================================
   INTERNAL COST COMPONENTS
   ============================================================ */

.internal-cost-section[b-gpvsle509j] {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--eco-border);
}


.internal-cost-heading[b-gpvsle509j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
}


    .internal-cost-heading > div[b-gpvsle509j] {
        min-width: 0;
        display: grid;
        gap: 3px;
    }


        .internal-cost-heading > div > strong[b-gpvsle509j] {
            color: var(--eco-text);
            font-size: .79rem;
        }


        .internal-cost-heading > div > small[b-gpvsle509j] {
            color: var(--eco-muted);
            font-size: .62rem;
        }


.internal-cost-total[b-gpvsle509j] {
    flex: 0 0 auto;
    color: var(--eco-accent);
    font-size: .85rem;
    font-weight: 900;
}


.internal-cost-grid[b-gpvsle509j] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}


    .internal-cost-grid > div[b-gpvsle509j] {
        min-width: 0;
        display: grid;
        gap: 4px;
        padding: 9px;
        border: 1px solid var(--eco-border);
        border-radius: 9px;
        background: var(--eco-panel-soft);
    }


    .internal-cost-grid span[b-gpvsle509j] {
        color: var(--eco-muted);
        font-size: .62rem;
    }


    .internal-cost-grid strong[b-gpvsle509j] {
        overflow: hidden;
        color: var(--eco-text);
        font-size: .76rem;
        font-weight: 820;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


/* ============================================================
   COST ENGINE MEASUREMENTS
   ============================================================ */

.cost-measurements[b-gpvsle509j] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
}


    .cost-measurements > div[b-gpvsle509j] {
        min-width: 0;
        display: grid;
        gap: 3px;
        padding: 8px;
        border-radius: 8px;
        background: var(--eco-panel-muted);
    }


    .cost-measurements span[b-gpvsle509j] {
        color: var(--eco-muted);
        font-size: .58rem;
    }


    .cost-measurements strong[b-gpvsle509j] {
        overflow: hidden;
        color: var(--eco-secondary);
        font-size: .7rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


/* ============================================================
   COST SNAPSHOT STATES
   ============================================================ */

.cost-policy-note.verified[b-gpvsle509j] {
    border: 1px solid rgba(35, 130, 103, .12);
    color: var(--eco-green);
    background: var(--eco-green-soft);
}


.cost-snapshot-warning[b-gpvsle509j] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 11px;
    padding: 10px;
    border: 1px solid;
    border-radius: 10px;
}


    .cost-snapshot-warning > span[b-gpvsle509j] {
        width: 27px;
        height: 27px;
        flex: 0 0 27px;
        display: grid;
        place-items: center;
        border-radius: 8px;
        font-size: .72rem;
        font-weight: 900;
    }


    .cost-snapshot-warning > div[b-gpvsle509j] {
        min-width: 0;
    }


    .cost-snapshot-warning strong[b-gpvsle509j] {
        display: block;
        font-size: .74rem;
    }


    .cost-snapshot-warning p[b-gpvsle509j] {
        margin: 4px 0 0;
        font-size: .64rem;
        line-height: 1.65;
    }


    .cost-snapshot-warning.legacy[b-gpvsle509j] {
        border-color: rgba(168, 118, 28, .15);
        color: var(--eco-amber);
        background: var(--eco-amber-soft);
    }


        .cost-snapshot-warning.legacy > span[b-gpvsle509j] {
            background: rgba(168, 118, 28, .08);
        }


    .cost-snapshot-warning.missing[b-gpvsle509j] {
        border-color: var(--eco-border);
        color: var(--eco-secondary);
        background: var(--eco-panel-soft);
    }


        .cost-snapshot-warning.missing > span[b-gpvsle509j] {
            background: var(--eco-panel-muted);
        }


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 760px) {

    .job-cost-heading[b-gpvsle509j] {
        align-items: stretch;
        flex-direction: column;
    }


    .job-cost-policy-badge[b-gpvsle509j] {
        align-self: flex-start;
    }


    .cost-measurements[b-gpvsle509j] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 520px) {

    .internal-cost-grid[b-gpvsle509j],
    .cost-measurements[b-gpvsle509j] {
        grid-template-columns: 1fr;
    }


    .internal-cost-heading[b-gpvsle509j] {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ============================================================
   ADMIN ECONOMICS COMMERCIAL-FIRST FIX 2026-08-31
   ============================================================ */

.commercial-first-kpis .commercial-value .kpi-icon[b-gpvsle509j],
.commercial-first-kpis .commercial-profit .kpi-icon[b-gpvsle509j],
.commercial-first-kpis .commercial-margin .kpi-icon[b-gpvsle509j],
.commercial-first-kpis .unified-jobs .kpi-icon[b-gpvsle509j] {
    color: var(--eco-green);
    background: var(--eco-green-soft);
}

.commercial-first-kpis .commercial-provider-cost .kpi-icon[b-gpvsle509j] {
    color: var(--eco-accent);
    background: var(--eco-accent-soft);
}

.economics-state-summary .summary-commercial[b-gpvsle509j] {
    border-color: rgba(35, 130, 103, .15);
    background: var(--eco-green-soft);
}

.economics-state-summary .summary-commercial strong[b-gpvsle509j] {
    color: var(--eco-green);
}

.revenue-status-badge.commercial[b-gpvsle509j] {
    color: var(--eco-green);
    background: var(--eco-green-soft);
}

.commercial-revenue > strong[b-gpvsle509j] {
    color: var(--eco-text);
}

.unified-commercial-breakdown[b-gpvsle509j] {
    border-color: rgba(35, 130, 103, .18);
    background: linear-gradient(145deg, rgba(35, 130, 103, .035), var(--eco-panel) 45%);
}

.unified-commercial-grid[b-gpvsle509j],
.unified-cash-grid[b-gpvsle509j] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.unified-commercial-grid > div[b-gpvsle509j],
.unified-cash-grid > div[b-gpvsle509j] {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--eco-border);
    border-radius: 9px;
    background: var(--eco-panel-soft);
}

.unified-commercial-grid span[b-gpvsle509j],
.unified-cash-grid span[b-gpvsle509j] {
    color: var(--eco-muted);
    font-size: .66rem;
}

.unified-commercial-grid strong[b-gpvsle509j],
.unified-cash-grid strong[b-gpvsle509j] {
    overflow: hidden;
    color: var(--eco-text);
    font-size: .82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.unified-commercial-note[b-gpvsle509j],
.unified-fifo-note[b-gpvsle509j] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid var(--eco-border);
    border-radius: 10px;
}

.unified-commercial-note[b-gpvsle509j] {
    border-color: rgba(35, 130, 103, .14);
    color: var(--eco-green);
    background: var(--eco-green-soft);
}

.unified-commercial-note > span[b-gpvsle509j],
.unified-fifo-note > span[b-gpvsle509j] {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 900;
}

.unified-commercial-note > span[b-gpvsle509j] {
    background: rgba(35, 130, 103, .08);
}

.unified-commercial-note p[b-gpvsle509j],
.unified-fifo-note p[b-gpvsle509j] {
    margin: 0;
    font-size: .66rem;
    line-height: 1.7;
}

.unified-fifo-accounting[b-gpvsle509j] {
    border-color: var(--eco-border-strong);
    background: linear-gradient(145deg, rgba(52, 123, 183, .025), var(--eco-panel) 48%);
}

.unified-fifo-metrics strong.value-warning[b-gpvsle509j],
.unified-fifo-metrics strong[b-gpvsle509j] {
    color: var(--eco-text) !important;
}

.unified-cash-grid[b-gpvsle509j] {
    margin-top: 9px;
}

.unified-fifo-note.diagnostic[b-gpvsle509j] {
    border-color: rgba(52, 123, 183, .15);
    color: var(--eco-secondary);
    background: var(--eco-blue-soft);
}

.unified-fifo-note.diagnostic > span[b-gpvsle509j] {
    color: var(--eco-blue);
    background: rgba(52, 123, 183, .08);
}

.unified-fifo-note.complete[b-gpvsle509j] {
    border-color: rgba(35, 130, 103, .14);
    color: var(--eco-green);
    background: var(--eco-green-soft);
}

.unified-fifo-note.complete > span[b-gpvsle509j] {
    background: rgba(35, 130, 103, .08);
}

@media (max-width: 620px) {
    .unified-commercial-grid[b-gpvsle509j],
    .unified-cash-grid[b-gpvsle509j] {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   CUSTOM PERIOD + EXCEL EXPORT
   ============================================================ */

.period-range[b-gpvsle509j] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 5px;
    border: 1px solid var(--eco-border);
    border-radius: 11px;
    background: var(--eco-panel);
}

    .period-range.active[b-gpvsle509j] {
        border-color: var(--eco-accent-border);
        box-shadow: 0 0 0 3px var(--eco-accent-soft);
    }

    .period-range label[b-gpvsle509j] {
        display: flex;
        align-items: center;
        gap: 5px;
        color: var(--eco-secondary);
        font-size: .78rem;
        font-weight: 700;
    }

    .period-range input[type="date"][b-gpvsle509j] {
        height: 34px;
        padding: 0 8px;
        border: 1px solid var(--eco-border);
        border-radius: 7px;
        color: var(--eco-text);
        background: var(--eco-panel);
        font: inherit;
        font-size: .78rem;
    }

        .period-range input[type="date"]:focus[b-gpvsle509j] {
            border-color: var(--eco-accent);
            outline: none;
        }

    .period-range button[b-gpvsle509j] {
        height: 34px;
        padding: 0 13px;
        border: 0;
        border-radius: 7px;
        color: #fff;
        background: var(--eco-accent);
        font: inherit;
        font-size: .78rem;
        font-weight: 700;
        cursor: pointer;
    }

        .period-range button:hover[b-gpvsle509j] {
            background: var(--eco-accent-hover);
        }

html[data-theme="dark"] .period-range input[type="date"][b-gpvsle509j] {
    color-scheme: dark;
}

.period-tools[b-gpvsle509j] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.period-caption[b-gpvsle509j] {
    color: var(--eco-muted);
    font-size: .76rem;
    font-weight: 600;
}

.export-action[b-gpvsle509j] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border: 1px solid var(--eco-border);
    border-radius: 11px;
    color: var(--eco-green);
    background: var(--eco-panel);
    font-size: .8rem;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

    .export-action:hover[b-gpvsle509j] {
        border-color: rgba(35, 130, 103, .3);
        background: var(--eco-green-soft);
    }

    .export-action[data-file-download-busy="1"][b-gpvsle509j] {
        opacity: .6;
        cursor: progress;
    }

@media (max-width: 1020px) {
    .period-range[b-gpvsle509j],
    .period-tools[b-gpvsle509j] {
        width: 100%;
        justify-content: flex-start;
    }

        .period-range label[b-gpvsle509j] {
            flex: 1 1 140px;
        }

        .period-range input[type="date"][b-gpvsle509j] {
            flex: 1;
            min-width: 0;
        }
}


/* ---- Per-operation usage inside a job's details ---- */
.operation-usage[b-gpvsle509j] {
    display: grid;
    gap: 4px;
    margin-top: 10px;
}

.operation-usage-row[b-gpvsle509j] {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, .55fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.35fr);
    gap: 6px;
    align-items: center;
    padding: 7px 8px;
    border-radius: 8px;
    background: var(--eco-panel-soft);
    color: var(--eco-text);
    font-size: .72rem;
    font-variant-numeric: tabular-nums;
}

    .operation-usage-row > span[b-gpvsle509j],
    .operation-usage-row > strong[b-gpvsle509j] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .operation-usage-row > strong[b-gpvsle509j] {
        font-size: .74rem;
    }

.operation-usage-head[b-gpvsle509j] {
    background: transparent;
    color: var(--eco-muted);
    font-size: .64rem;
    padding-block: 2px;
}

    .operation-usage-head > span[b-gpvsle509j] {
        white-space: normal;
    }

.operation-name[b-gpvsle509j] {
    display: grid;
    gap: 1px;
    min-width: 0;
}

    .operation-name small[b-gpvsle509j] {
        overflow: hidden;
        color: var(--eco-muted);
        font-size: .64rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


/* ---- A voice project's usage by model, and a podcast's steps ---- */
.voice-usage-title[b-gpvsle509j] {
    margin: 16px 0 0;
    color: var(--eco-muted);
    font-size: .74rem;
    font-weight: 800;
}

.voice-usage-row[b-gpvsle509j] {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, .45fr) minmax(0, 2.2fr) minmax(0, 1fr);
}

.voice-part-row[b-gpvsle509j] {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr) minmax(0, 2fr) minmax(0, .6fr) minmax(0, 1fr);
}

    .voice-usage-row > .voice-usage-amount[b-gpvsle509j],
    .voice-part-row > .voice-usage-amount[b-gpvsle509j] {
        white-space: normal;
        line-height: 1.5;
    }

.voice-usage-total[b-gpvsle509j] {
    background: transparent;
    border: 1px dashed var(--eco-border);
}

.voice-usage-note[b-gpvsle509j] {
    margin: 8px 0 0;
    color: var(--eco-muted);
    font-size: .68rem;
    line-height: 1.7;
}

@media (max-width: 720px) {
    .voice-usage-row[b-gpvsle509j],
    .voice-part-row[b-gpvsle509j] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

        .voice-usage-row > .voice-usage-amount[b-gpvsle509j],
        .voice-part-row > .voice-usage-amount[b-gpvsle509j] {
            grid-column: 1 / -1;
        }

        .voice-usage-row.operation-usage-head > span:nth-child(3)[b-gpvsle509j],
        .voice-part-row.operation-usage-head > span:nth-child(3)[b-gpvsle509j] {
            display: none;
        }
}

/* USE BY PART OF THE SITE */

.product-usage-wrap[b-gpvsle509j] {
    overflow-x: auto;
    border: 1px solid var(--eco-border, #e4e9f2);
    border-radius: 16px;
    background: var(--eco-panel, #fff);
}

.product-usage[b-gpvsle509j] {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    font-size: .84rem;
}

.product-usage th[b-gpvsle509j],
.product-usage td[b-gpvsle509j] {
    padding: 12px 14px;
    border-bottom: 1px solid var(--eco-border, #e4e9f2);
    text-align: start;
    white-space: nowrap;
}

.product-usage thead th[b-gpvsle509j] {
    font-size: .74rem;
    font-weight: 700;
    opacity: .72;
}

.product-usage tbody tr:last-child th[b-gpvsle509j],
.product-usage tbody tr:last-child td[b-gpvsle509j] {
    border-bottom: 0;
}

.product-usage tbody th[b-gpvsle509j] {
    font-weight: 800;
}

.product-usage td small[b-gpvsle509j] {
    display: block;
    margin-top: 2px;
    font-size: .72rem;
    opacity: .72;
}

.product-usage td.is-positive[b-gpvsle509j] {
    color: var(--eco-green, #15803d);
}

.product-usage td.is-negative[b-gpvsle509j] {
    color: #c0352b;
}
/* _content/AITranslationPlatform.Web/Components/Admin/Ai/AdminTranslationCostPolicyPanel.razor.rz.scp.css */
.cost-policy-panel[b-9f21grxwdf] {
    margin-top: 32px;
    overflow: hidden;
    border: 1px solid var(--eco-border);
    border-radius: 20px;
    color: var(--eco-text);
    background: var(--eco-panel);
    box-shadow: var(--eco-shadow);
}

.cost-policy-heading[b-9f21grxwdf] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    padding: 22px;
    border-bottom: 1px solid var(--eco-border);
    background: linear-gradient(115deg, rgba(35,130,103,.055), rgba(35,130,103,.008));
}

.cost-policy-title[b-9f21grxwdf] {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.cost-policy-icon[b-9f21grxwdf] {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--eco-green);
    background: var(--eco-green-soft);
    font-size: .95rem;
    font-weight: 900;
}

.cost-policy-title > div[b-9f21grxwdf] {
    min-width: 0;
}

.cost-policy-eyebrow[b-9f21grxwdf] {
    display: block;
    margin-bottom: 6px;
    color: var(--eco-green);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .06em;
}

.cost-policy-panel[dir="rtl"] .cost-policy-eyebrow[b-9f21grxwdf] {
    letter-spacing: 0;
}

.cost-policy-title h2[b-9f21grxwdf],
.cost-history-heading h3[b-9f21grxwdf] {
    margin: 0;
    color: var(--eco-text);
}

.cost-policy-title h2[b-9f21grxwdf] {
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.3;
}

.cost-policy-title p[b-9f21grxwdf] {
    max-width: 980px;
    margin: 8px 0 0;
    color: var(--eco-muted);
    font-size: 1rem;
    line-height: 1.9;
}

.cost-policy-heading-status[b-9f21grxwdf] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cost-shadow-badge[b-9f21grxwdf],
.cost-version-badge[b-9f21grxwdf],
.cost-version-active[b-9f21grxwdf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 850;
    white-space: nowrap;
}

.cost-shadow-badge[b-9f21grxwdf] {
    padding: 8px 12px;
    color: var(--eco-violet);
    background: var(--eco-violet-soft);
    font-size: .78rem;
}

.cost-version-badge[b-9f21grxwdf] {
    padding: 8px 10px;
    color: var(--eco-green);
    background: var(--eco-green-soft);
    font-size: .78rem;
}

.cost-feedback[b-9f21grxwdf] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 16px 18px 0;
    padding: 14px 16px;
    border: 1px solid;
    border-radius: 14px;
}

    .cost-feedback > span[b-9f21grxwdf] {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        font-weight: 900;
    }

    .cost-feedback > div[b-9f21grxwdf] {
        min-width: 0;
        display: grid;
        gap: 4px;
    }

    .cost-feedback strong[b-9f21grxwdf] {
        font-size: 1rem;
        line-height: 1.6;
    }

    .cost-feedback small[b-9f21grxwdf],
    .cost-feedback code[b-9f21grxwdf] {
        color: inherit;
        font-size: .85rem;
    }

    .cost-feedback.success[b-9f21grxwdf] {
        border-color: rgba(35,130,103,.16);
        color: var(--eco-green);
        background: var(--eco-green-soft);
    }

    .cost-feedback.danger[b-9f21grxwdf] {
        border-color: rgba(198,79,91,.16);
        color: var(--eco-red);
        background: var(--eco-red-soft);
    }

.cost-loading[b-9f21grxwdf] {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--eco-muted);
}

.cost-spinner[b-9f21grxwdf] {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(35,130,103,.15);
    border-top-color: var(--eco-green);
    border-radius: 50%;
    animation: cost-spin-b-9f21grxwdf .8s linear infinite;
}

@keyframes cost-spin-b-9f21grxwdf {
    to {
        transform: rotate(360deg);
    }
}

.cost-blocked[b-9f21grxwdf] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 18px;
    padding: 16px;
    border: 1px solid rgba(198,79,91,.16);
    border-radius: 14px;
    color: var(--eco-red);
    background: var(--eco-red-soft);
}

    .cost-blocked > span[b-9f21grxwdf] {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        background: rgba(198,79,91,.08);
        font-weight: 900;
    }

    .cost-blocked strong[b-9f21grxwdf] {
        display: block;
    }

    .cost-blocked p[b-9f21grxwdf] {
        margin: 6px 0 0;
        font-size: .88rem;
        line-height: 1.75;
    }

.cost-active-overview[b-9f21grxwdf] {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
    padding: 18px 18px 0;
}

    .cost-active-overview article[b-9f21grxwdf] {
        min-width: 0;
        display: grid;
        gap: 6px;
        padding: 14px;
        border: 1px solid var(--eco-border);
        border-radius: 12px;
        background: var(--eco-panel-soft);
    }

    .cost-active-overview span[b-9f21grxwdf],
    .cost-active-overview small[b-9f21grxwdf] {
        color: var(--eco-muted);
    }

    .cost-active-overview span[b-9f21grxwdf] {
        font-size: .82rem;
        font-weight: 700;
    }

    .cost-active-overview strong[b-9f21grxwdf] {
        overflow: hidden;
        color: var(--eco-text);
        font-size: 1.08rem;
        font-weight: 900;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cost-active-overview small[b-9f21grxwdf] {
        font-size: .78rem;
    }

.cost-policy-layout[b-9f21grxwdf] {
    display: grid;
    grid-template-columns: minmax(0,1.65fr) minmax(340px,.55fr);
    gap: 14px;
    padding: 18px;
}

.cost-policy-form[b-9f21grxwdf],
.cost-history[b-9f21grxwdf] {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--eco-border);
    border-radius: 16px;
    background: var(--eco-panel);
}

.cost-form-section[b-9f21grxwdf] {
    padding: 18px;
    border-bottom: 1px solid var(--eco-border);
}

    .cost-form-section:last-child[b-9f21grxwdf] {
        border-bottom: 0;
    }

.cost-section-heading[b-9f21grxwdf] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

    .cost-section-heading > span[b-9f21grxwdf] {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        color: var(--eco-green);
        background: var(--eco-green-soft);
        font-size: .82rem;
        font-weight: 850;
    }

    .cost-section-heading > div[b-9f21grxwdf] {
        min-width: 0;
        display: grid;
        gap: 4px;
    }

    .cost-section-heading strong[b-9f21grxwdf] {
        font-size: 1.08rem;
    }

    .cost-section-heading small[b-9f21grxwdf] {
        color: var(--eco-muted);
        font-size: .86rem;
        line-height: 1.75;
    }

.cost-fields[b-9f21grxwdf] {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
}

    .cost-fields label[b-9f21grxwdf],
    .cost-audit-reason[b-9f21grxwdf] {
        min-width: 0;
        display: grid;
        gap: 6px;
    }

        .cost-fields label.wide[b-9f21grxwdf] {
            grid-column: 1 / -1;
        }

        .cost-fields label > span[b-9f21grxwdf],
        .cost-audit-reason > span[b-9f21grxwdf] {
            color: var(--eco-secondary);
            font-size: .92rem;
            font-weight: 800;
        }

        .cost-fields label > small[b-9f21grxwdf] {
            color: var(--eco-muted);
            font-size: .78rem;
            line-height: 1.65;
        }

        .cost-fields input[b-9f21grxwdf],
        .cost-audit-reason textarea[b-9f21grxwdf] {
            width: 100%;
            box-sizing: border-box;
            border: 1px solid var(--eco-border-strong);
            border-radius: 11px;
            outline: none;
            color: var(--eco-text);
            background: var(--eco-panel-soft);
            font: inherit;
            font-size: .98rem;
        }

    .cost-fields input[b-9f21grxwdf] {
        min-height: 46px;
        padding: 0 12px;
    }

.cost-audit-reason textarea[b-9f21grxwdf] {
    min-height: 110px;
    resize: vertical;
    padding: 12px;
    line-height: 1.8;
}

    .cost-fields input:focus[b-9f21grxwdf],
    .cost-audit-reason textarea:focus[b-9f21grxwdf] {
        border-color: rgba(35,130,103,.45);
        background: var(--eco-panel);
        box-shadow: 0 0 0 3px rgba(35,130,103,.07);
    }

.cost-safety-box[b-9f21grxwdf] {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding: 14px;
    border: 1px solid var(--eco-border);
    border-radius: 12px;
    background: var(--eco-panel-soft);
}

    .cost-safety-box > strong[b-9f21grxwdf] {
        margin-bottom: 3px;
        font-size: .92rem;
    }

    .cost-safety-box > div[b-9f21grxwdf] {
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

        .cost-safety-box > div > span[b-9f21grxwdf] {
            width: 22px;
            height: 22px;
            flex: 0 0 22px;
            display: grid;
            place-items: center;
            border-radius: 7px;
            color: var(--eco-green);
            background: var(--eco-green-soft);
            font-size: .72rem;
            font-weight: 900;
        }

        .cost-safety-box > div.negative > span[b-9f21grxwdf] {
            color: var(--eco-muted);
            background: var(--eco-panel-muted);
        }

    .cost-safety-box p[b-9f21grxwdf] {
        margin: 1px 0 0;
        color: var(--eco-secondary);
        font-size: .80rem;
        line-height: 1.6;
    }

.cost-form-footer[b-9f21grxwdf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
}

.cost-linked-epoch[b-9f21grxwdf] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .cost-linked-epoch > span[b-9f21grxwdf] {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        color: var(--eco-violet);
        background: var(--eco-violet-soft);
    }

    .cost-linked-epoch > div[b-9f21grxwdf] {
        min-width: 0;
        display: grid;
        gap: 2px;
    }

    .cost-linked-epoch strong[b-9f21grxwdf] {
        font-size: .88rem;
    }

    .cost-linked-epoch small[b-9f21grxwdf] {
        overflow: hidden;
        color: var(--eco-muted);
        font-size: .76rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.cost-save-button[b-9f21grxwdf] {
    min-height: 48px;
    flex: 0 0 auto;
    padding: 0 16px;
    border: 1px solid var(--eco-green);
    border-radius: 11px;
    color: #fff;
    background: var(--eco-green);
    font: inherit;
    font-size: .92rem;
    font-weight: 800;
    cursor: pointer;
}

    .cost-save-button:hover[b-9f21grxwdf] {
        filter: brightness(.94);
    }

.cost-history-heading[b-9f21grxwdf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--eco-border);
}

    .cost-history-heading h3[b-9f21grxwdf] {
        font-size: 1.14rem;
    }

    .cost-history-heading > span[b-9f21grxwdf] {
        min-width: 34px;
        padding: 6px 8px;
        border-radius: 999px;
        color: var(--eco-green);
        background: var(--eco-green-soft);
        font-size: .82rem;
        font-weight: 850;
        text-align: center;
    }

.cost-history-empty[b-9f21grxwdf] {
    min-height: 120px;
    display: grid;
    place-items: center;
    padding: 18px;
    color: var(--eco-muted);
    font-size: .88rem;
    text-align: center;
}

.cost-history-list[b-9f21grxwdf] {
    max-height: 720px;
    overflow: auto;
    display: grid;
}

.cost-version-card[b-9f21grxwdf] {
    padding: 14px 16px;
    border-bottom: 1px solid var(--eco-border);
}

    .cost-version-card:last-child[b-9f21grxwdf] {
        border-bottom: 0;
    }

    .cost-version-card.active[b-9f21grxwdf] {
        background: linear-gradient(115deg, rgba(35,130,103,.045), transparent);
    }

.cost-version-top[b-9f21grxwdf] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.cost-version-number[b-9f21grxwdf] {
    font-size: 1rem;
    font-weight: 900;
}

.cost-version-active[b-9f21grxwdf] {
    padding: 4px 7px;
    color: var(--eco-green);
    background: var(--eco-green-soft);
    font-size: .72rem;
}

.cost-version-card > strong[b-9f21grxwdf] {
    display: block;
    overflow: hidden;
    margin-bottom: 8px;
    font-size: .94rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cost-version-metrics[b-9f21grxwdf] {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 6px;
    margin-bottom: 8px;
}

    .cost-version-metrics > span[b-9f21grxwdf] {
        min-width: 0;
        display: grid;
        gap: 3px;
        padding: 8px;
        border-radius: 9px;
        background: var(--eco-panel-soft);
    }

    .cost-version-metrics small[b-9f21grxwdf] {
        color: var(--eco-muted);
        font-size: .70rem;
    }

    .cost-version-metrics b[b-9f21grxwdf] {
        overflow: hidden;
        color: var(--eco-secondary);
        font-size: .82rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.cost-version-date[b-9f21grxwdf] {
    display: block;
    margin-top: 3px;
    color: var(--eco-muted);
    font-size: .76rem;
}

    .cost-version-date.retired[b-9f21grxwdf] {
        color: var(--eco-secondary);
    }

.cost-version-details[b-9f21grxwdf] {
    margin-top: 10px;
    border-top: 1px dashed var(--eco-border);
}

    .cost-version-details > summary[b-9f21grxwdf] {
        padding-top: 8px;
        color: var(--eco-green);
        font-size: .84rem;
        font-weight: 750;
        cursor: pointer;
    }

    .cost-version-details > div[b-9f21grxwdf] {
        display: grid;
        gap: 6px;
        margin-top: 8px;
    }

    .cost-version-details p[b-9f21grxwdf] {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        margin: 0;
        font-size: .80rem;
        line-height: 1.7;
    }

        .cost-version-details p span[b-9f21grxwdf] {
            color: var(--eco-muted);
        }

        .cost-version-details p strong[b-9f21grxwdf] {
            color: var(--eco-secondary);
            text-align: end;
        }

    .cost-version-details .cost-history-audit[b-9f21grxwdf] {
        align-items: flex-start;
        flex-direction: column;
    }

        .cost-version-details .cost-history-audit strong[b-9f21grxwdf] {
            color: var(--eco-muted);
            font-weight: 500;
            text-align: start;
        }

@media (max-width: 1100px) {
    .cost-policy-layout[b-9f21grxwdf] {
        grid-template-columns: 1fr;
    }

    .cost-history-list[b-9f21grxwdf] {
        max-height: 480px;
    }
}

@media (max-width: 820px) {
    .cost-policy-heading[b-9f21grxwdf],
    .cost-form-footer[b-9f21grxwdf] {
        align-items: stretch;
        flex-direction: column;
    }

    .cost-active-overview[b-9f21grxwdf] {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .cost-save-button[b-9f21grxwdf] {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .cost-active-overview[b-9f21grxwdf],
    .cost-fields[b-9f21grxwdf] {
        grid-template-columns: 1fr;
    }

    .cost-policy-title[b-9f21grxwdf] {
        flex-direction: column;
    }

        .cost-policy-title h2[b-9f21grxwdf] {
            font-size: 1.35rem;
        }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Ai/AdminTranslationPricingCalibrationPanel.razor.rz.scp.css */
/* ============================================================
   PRICING POLICY CALIBRATION
   Phase 4.4B-3B
   ============================================================ */

.pricing-calibration-panel[b-tm6n68tzyi] {
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid var(--eco-border);
    border-radius: 18px;
    color: var(--eco-text);
    background: var(--eco-panel);
    box-shadow: var(--eco-shadow);
}


/* ============================================================
   HEADER
   ============================================================ */

.pricing-calibration-heading[b-tm6n68tzyi] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    border-bottom: 1px solid var(--eco-border);
    background: linear-gradient( 115deg, rgba(116, 88, 181, .055), transparent );
}


    .pricing-calibration-heading > div:first-child[b-tm6n68tzyi] {
        min-width: 0;
    }


.pricing-calibration-kicker[b-tm6n68tzyi] {
    display: block;
    margin-bottom: 5px;
    color: var(--eco-violet);
    font-size: .74rem;
    font-weight: 850;
    letter-spacing: .06em;
}


.pricing-calibration-panel[dir="rtl"]
.pricing-calibration-kicker[b-tm6n68tzyi] {
    letter-spacing: 0;
}


.pricing-calibration-heading h2[b-tm6n68tzyi] {
    margin: 0;
    color: var(--eco-text);
    font-size: 1.45rem;
    font-weight: 850;
    line-height: 1.35;
}


.pricing-calibration-heading p[b-tm6n68tzyi] {
    max-width: 980px;
    margin: 7px 0 0;
    color: var(--eco-muted);
    font-size: .9rem;
    line-height: 1.8;
}


/* ============================================================
   POLICY CHIP
   ============================================================ */

.calibration-policy-chip[b-tm6n68tzyi] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
}


    .calibration-policy-chip span[b-tm6n68tzyi],
    .calibration-policy-chip strong[b-tm6n68tzyi],
    .target-margin-chip[b-tm6n68tzyi] {
        padding: 7px 9px;
        border-radius: 999px;
        font-size: .72rem;
        font-weight: 800;
        white-space: nowrap;
    }


    .calibration-policy-chip span[b-tm6n68tzyi] {
        color: var(--eco-violet);
        background: var(--eco-violet-soft);
    }


    .calibration-policy-chip strong[b-tm6n68tzyi] {
        color: var(--eco-accent);
        background: var(--eco-accent-soft);
    }


/* ============================================================
   LOADING / EMPTY / FEEDBACK
   ============================================================ */

.calibration-loading[b-tm6n68tzyi],
.calibration-empty[b-tm6n68tzyi] {
    min-height: 110px;
    display: grid;
    place-items: center;
    padding: 20px;
    color: var(--eco-muted);
    font-size: .9rem;
    text-align: center;
}


.calibration-feedback[b-tm6n68tzyi] {
    display: grid;
    gap: 4px;
    margin: 16px;
    padding: 13px;
    border: 1px solid;
    border-radius: 11px;
}


    .calibration-feedback.danger[b-tm6n68tzyi] {
        border-color: rgba(198, 79, 91, .15);
        color: var(--eco-red);
        background: var(--eco-red-soft);
    }


    .calibration-feedback strong[b-tm6n68tzyi] {
        font-size: .86rem;
    }


    .calibration-feedback small[b-tm6n68tzyi] {
        font-size: .75rem;
        line-height: 1.6;
    }


/* ============================================================
   READINESS
   ============================================================ */

.calibration-readiness[b-tm6n68tzyi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 16px;
    padding: 14px;
    border: 1px solid;
    border-radius: 12px;
}


    .calibration-readiness > div[b-tm6n68tzyi] {
        min-width: 0;
        display: grid;
        gap: 4px;
    }


.readiness-label[b-tm6n68tzyi] {
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
}


.calibration-readiness strong[b-tm6n68tzyi] {
    font-size: .88rem;
    line-height: 1.6;
}


.calibration-readiness.blocked[b-tm6n68tzyi] {
    border-color: rgba(198, 79, 91, .16);
    color: var(--eco-red);
    background: var(--eco-red-soft);
}


.calibration-readiness.partial[b-tm6n68tzyi] {
    border-color: rgba(168, 118, 28, .16);
    color: var(--eco-amber);
    background: var(--eco-amber-soft);
}


.calibration-readiness.review[b-tm6n68tzyi] {
    border-color: rgba(35, 130, 103, .16);
    color: var(--eco-green);
    background: var(--eco-green-soft);
}


.calibration-readiness.neutral[b-tm6n68tzyi] {
    border-color: var(--eco-border);
    color: var(--eco-secondary);
    background: var(--eco-panel-soft);
}


.target-margin-chip[b-tm6n68tzyi] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--eco-violet);
    background: var(--eco-violet-soft);
}


    .target-margin-chip b[b-tm6n68tzyi] {
        color: inherit;
        font-weight: 900;
    }


/* ============================================================
   DATA QUALITY WARNINGS
   ============================================================ */

.calibration-warning[b-tm6n68tzyi] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 16px 10px;
    padding: 12px 13px;
    border: 1px solid rgba(168, 118, 28, .14);
    border-radius: 11px;
    color: var(--eco-amber);
    background: var(--eco-amber-soft);
}


    .calibration-warning.provider[b-tm6n68tzyi] {
        border-color: rgba(198, 79, 91, .12);
        color: var(--eco-red);
        background: var(--eco-red-soft);
    }


    /*
 * A missing Cost Policy is not equivalent to actual zero internal cost.
 * Historical snapshots intentionally remain immutable.
 */
    .calibration-warning.cost-policy[b-tm6n68tzyi] {
        border-color: rgba(168, 118, 28, .16);
        color: var(--eco-amber);
        background: var(--eco-amber-soft);
    }


    .calibration-warning > span[b-tm6n68tzyi] {
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
        display: grid;
        place-items: center;
        border-radius: 8px;
        background: rgba(255, 255, 255, .28);
        font-weight: 900;
    }


    .calibration-warning > div[b-tm6n68tzyi] {
        min-width: 0;
    }


    .calibration-warning strong[b-tm6n68tzyi] {
        display: block;
        font-size: .84rem;
    }


    .calibration-warning p[b-tm6n68tzyi] {
        margin: 4px 0 0;
        font-size: .74rem;
        line-height: 1.7;
    }


/* ============================================================
   PRIMARY CALIBRATION KPI
   ============================================================ */

.calibration-kpis[b-tm6n68tzyi] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    padding: 6px 16px 16px;
}


    .calibration-kpis article[b-tm6n68tzyi],
    .calibration-economics article[b-tm6n68tzyi] {
        min-width: 0;
        display: grid;
        gap: 5px;
        padding: 13px;
        border: 1px solid var(--eco-border);
        border-radius: 11px;
        background: var(--eco-panel-soft);
    }


    .calibration-kpis span[b-tm6n68tzyi],
    .calibration-economics span[b-tm6n68tzyi] {
        color: var(--eco-muted);
        font-size: .74rem;
        line-height: 1.5;
    }


    .calibration-kpis strong[b-tm6n68tzyi],
    .calibration-economics strong[b-tm6n68tzyi] {
        overflow: hidden;
        color: var(--eco-text);
        font-size: 1rem;
        font-weight: 850;
        line-height: 1.35;
        text-overflow: ellipsis;
    }


    .calibration-kpis small[b-tm6n68tzyi] {
        color: var(--eco-muted);
        font-size: .66rem;
        line-height: 1.5;
    }


.danger-value[b-tm6n68tzyi] {
    color: var(--eco-red) !important;
}


.positive-value[b-tm6n68tzyi] {
    color: var(--eco-green) !important;
}


/* ============================================================
   PRICE DIRECTION
   ============================================================ */

.calibration-direction[b-tm6n68tzyi] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin: 0 16px 10px;
}


    .calibration-direction article[b-tm6n68tzyi] {
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 11px 12px;
        border: 1px solid var(--eco-border);
        border-radius: 10px;
        background: var(--eco-panel);
    }


    .calibration-direction span[b-tm6n68tzyi] {
        color: var(--eco-muted);
        font-size: .74rem;
    }


    .calibration-direction strong[b-tm6n68tzyi] {
        font-size: .95rem;
        font-weight: 900;
    }


    .calibration-direction .higher strong[b-tm6n68tzyi] {
        color: var(--eco-amber);
    }


    .calibration-direction .equal strong[b-tm6n68tzyi] {
        color: var(--eco-secondary);
    }


    .calibration-direction .lower strong[b-tm6n68tzyi] {
        color: var(--eco-green);
    }


/* ============================================================
   PRICE CHANGE DISTRIBUTION
   ============================================================ */

.calibration-range[b-tm6n68tzyi] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    margin: 0 16px 16px;
}


    .calibration-range > div[b-tm6n68tzyi] {
        min-width: 0;
        display: grid;
        gap: 4px;
        padding: 10px 12px;
        border: 1px dashed var(--eco-border-strong);
        border-radius: 10px;
        background: var(--eco-panel);
    }


    .calibration-range span[b-tm6n68tzyi] {
        color: var(--eco-muted);
        font-size: .68rem;
    }


    .calibration-range strong[b-tm6n68tzyi] {
        color: var(--eco-text);
        font-size: .88rem;
        font-weight: 850;
    }


/* ============================================================
   ECONOMIC TOTALS
   ============================================================ */

/*
 * The previous version had five cards.
 *
 * Cost Policy visibility expands this section to:
 *
 * Provider
 * Internal
 * Platform
 * Base
 * Processing
 * Storage
 * OCR
 * Current Reference
 * Shadow Billable
 * Projected Profit
 * Portfolio Margin
 */
.calibration-economics[b-tm6n68tzyi] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    margin: 0 16px 16px;
}


    .calibration-economics article[b-tm6n68tzyi] {
        transition: border-color .15s ease, background-color .15s ease;
    }


        /*
 * Total Platform Cost is the economic cost used by Pricing:
 *
 * Provider Cost
 * +
 * Internal Cost
 */
        .calibration-economics article.total-platform[b-tm6n68tzyi] {
            border-color: rgba(95, 112, 232, .18);
            background: var(--eco-accent-soft);
        }


            .calibration-economics
            article.total-platform span[b-tm6n68tzyi] {
                color: var(--eco-accent);
            }


            .calibration-economics
            article.total-platform strong[b-tm6n68tzyi] {
                color: var(--eco-accent);
                font-weight: 900;
            }


/* ============================================================
   QUALITY / INPUT BREAKDOWNS
   ============================================================ */

.calibration-breakdowns[b-tm6n68tzyi] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 16px 16px;
}


.calibration-breakdown-card[b-tm6n68tzyi] {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--eco-border);
    border-radius: 12px;
    background: var(--eco-panel);
}


    .calibration-breakdown-card h3[b-tm6n68tzyi] {
        margin: 0;
        padding: 12px 13px;
        border-bottom: 1px solid var(--eco-border);
        color: var(--eco-text);
        background: linear-gradient( 90deg, var(--eco-panel-soft), var(--eco-panel) );
        font-size: .92rem;
        font-weight: 850;
    }


/* ============================================================
   BREAKDOWN TABLE
   ============================================================ */

.breakdown-table[b-tm6n68tzyi] {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}


/*
 * New 9-column layout:
 *
 * Group
 * Jobs
 * Actual
 * Shadow
 * Delta
 * Provider
 * Internal
 * Platform
 * Margin
 */
.breakdown-head[b-tm6n68tzyi],
.breakdown-row[b-tm6n68tzyi] {
    min-width: 900px;
    display: grid;
    grid-template-columns: 1.25fr .50fr .65fr .65fr .55fr .90fr .90fr .95fr .65fr;
    gap: 7px;
    align-items: center;
}


.breakdown-head[b-tm6n68tzyi] {
    padding: 8px 10px;
    color: var(--eco-muted);
    background: var(--eco-panel-soft);
    font-size: .66rem;
    font-weight: 800;
}


    .breakdown-head > span[b-tm6n68tzyi] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


.breakdown-row[b-tm6n68tzyi] {
    padding: 10px;
    border-top: 1px solid var(--eco-border);
    color: var(--eco-secondary);
    font-size: .72rem;
    transition: background-color .15s ease;
}


    .breakdown-row:hover[b-tm6n68tzyi] {
        background: rgba(95, 112, 232, .018);
    }


    .breakdown-row:first-of-type[b-tm6n68tzyi] {
        border-top: 0;
    }


    .breakdown-row > strong[b-tm6n68tzyi],
    .breakdown-row > span[b-tm6n68tzyi] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


    .breakdown-row > strong[b-tm6n68tzyi] {
        color: var(--eco-text);
        font-weight: 800;
    }


/*
 * Highlight Total Platform Cost because this is the cost base used
 * by margin-floor economics.
 */
.platform-cost-value[b-tm6n68tzyi] {
    color: var(--eco-accent) !important;
    font-weight: 850;
}


.breakdown-empty[b-tm6n68tzyi] {
    padding: 20px;
    color: var(--eco-muted);
    font-size: .8rem;
    text-align: center;
}


/* ============================================================
   RTL
   ============================================================ */

.pricing-calibration-panel[dir="rtl"]
.breakdown-head[b-tm6n68tzyi],
.pricing-calibration-panel[dir="rtl"]
.breakdown-row[b-tm6n68tzyi] {
    text-align: right;
}


.pricing-calibration-panel[dir="ltr"]
.breakdown-head[b-tm6n68tzyi],
.pricing-calibration-panel[dir="ltr"]
.breakdown-row[b-tm6n68tzyi] {
    text-align: left;
}


/* ============================================================
   DARK THEME SUPPORT
   ============================================================ */

/*
 * Most colors are inherited from AdminAiProvider CSS variables.
 * These selectors only refine translucent elements where useful.
 */

html[data-theme="dark"]
.pricing-calibration-panel
.calibration-warning > span[b-tm6n68tzyi] {
    background: rgba(255, 255, 255, .035);
}


html[data-theme="dark"]
.pricing-calibration-panel
.breakdown-row:hover[b-tm6n68tzyi] {
    background: rgba(95, 112, 232, .035);
}


html[data-theme="dark"]
.pricing-calibration-panel
.calibration-economics article.total-platform[b-tm6n68tzyi] {
    background: rgba(95, 112, 232, .09);
}


/* ============================================================
   RESPONSIVE � LARGE TABLET
   ============================================================ */

@media (max-width: 1180px) {

    .calibration-economics[b-tm6n68tzyi] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }


    .calibration-breakdowns[b-tm6n68tzyi] {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   RESPONSIVE � TABLET
   ============================================================ */

@media (max-width: 820px) {

    .pricing-calibration-heading[b-tm6n68tzyi] {
        align-items: stretch;
        flex-direction: column;
    }


    .calibration-policy-chip[b-tm6n68tzyi] {
        align-self: flex-start;
    }


    .calibration-readiness[b-tm6n68tzyi] {
        align-items: stretch;
        flex-direction: column;
    }


    .target-margin-chip[b-tm6n68tzyi] {
        align-self: flex-start;
    }


    .calibration-kpis[b-tm6n68tzyi] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .calibration-direction[b-tm6n68tzyi] {
        grid-template-columns: 1fr;
    }


    .calibration-range[b-tm6n68tzyi] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .calibration-economics[b-tm6n68tzyi] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ============================================================
   RESPONSIVE � MOBILE
   ============================================================ */

@media (max-width: 560px) {

    .pricing-calibration-heading[b-tm6n68tzyi] {
        padding: 16px;
    }


        .pricing-calibration-heading h2[b-tm6n68tzyi] {
            font-size: 1.25rem;
        }


        .pricing-calibration-heading p[b-tm6n68tzyi] {
            font-size: .84rem;
        }


    .calibration-readiness[b-tm6n68tzyi] {
        margin: 12px;
    }


    .calibration-warning[b-tm6n68tzyi] {
        margin-inline: 12px;
    }


    .calibration-kpis[b-tm6n68tzyi] {
        grid-template-columns: 1fr;
        padding-inline: 12px;
    }


    .calibration-direction[b-tm6n68tzyi] {
        margin-inline: 12px;
    }


    .calibration-range[b-tm6n68tzyi] {
        grid-template-columns: 1fr;
        margin-inline: 12px;
    }


    .calibration-economics[b-tm6n68tzyi] {
        grid-template-columns: 1fr;
        margin-inline: 12px;
    }


    .calibration-breakdowns[b-tm6n68tzyi] {
        grid-template-columns: 1fr;
        margin-inline: 12px;
    }


    .breakdown-head[b-tm6n68tzyi],
    .breakdown-row[b-tm6n68tzyi] {
        /*
         * Keep the economic columns readable instead of crushing them.
         * The table intentionally becomes horizontally scrollable.
         */
        min-width: 860px;
    }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Ai/AdminTranslationPricingHealthPanel.razor.rz.scp.css */
/* ============================================================
   AUTOMATIC PRICING EVALUATION HEALTH
   ============================================================ */

.pricing-health-panel[b-rv4lpriaxh] {
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid var(--eco-border);
    border-radius: 18px;
    color: var(--eco-text);
    background: var(--eco-panel);
    box-shadow: var(--eco-shadow);
}


.pricing-health-heading[b-rv4lpriaxh] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    border-bottom: 1px solid var(--eco-border);
    background: linear-gradient( 115deg, rgba(35, 130, 103, .045), rgba(95, 112, 232, .02), transparent);
}


.pricing-health-heading-copy[b-rv4lpriaxh] {
    min-width: 0;
}


.pricing-health-kicker[b-rv4lpriaxh] {
    display: block;
    margin-bottom: 5px;
    color: var(--eco-accent);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .06em;
}


.pricing-health-panel[dir="rtl"] .pricing-health-kicker[b-rv4lpriaxh] {
    letter-spacing: 0;
}


.pricing-health-heading h2[b-rv4lpriaxh] {
    margin: 0;
    color: var(--eco-text);
    font-size: 1.45rem;
}


.pricing-health-heading p[b-rv4lpriaxh] {
    max-width: 980px;
    margin: 7px 0 0;
    color: var(--eco-muted);
    font-size: .92rem;
    line-height: 1.8;
}


.pricing-health-state[b-rv4lpriaxh] {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 850;
    white-space: nowrap;
}


    .pricing-health-state.healthy[b-rv4lpriaxh] {
        color: var(--eco-green);
        background: var(--eco-green-soft);
    }


    .pricing-health-state.attention[b-rv4lpriaxh] {
        color: var(--eco-amber);
        background: var(--eco-amber-soft);
    }


    .pricing-health-state.inactive[b-rv4lpriaxh] {
        color: var(--eco-muted);
        background: var(--eco-panel-muted);
    }


/* ============================================================
   LOAD / EMPTY / FEEDBACK
   ============================================================ */

.pricing-health-loading[b-rv4lpriaxh] {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--eco-muted);
    font-size: .88rem;
}


.pricing-health-spinner[b-rv4lpriaxh] {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(95, 112, 232, .16);
    border-top-color: var(--eco-accent);
    border-radius: 50%;
    animation: pricing-health-spin-b-rv4lpriaxh .8s linear infinite;
}


@keyframes pricing-health-spin-b-rv4lpriaxh {
    to {
        transform: rotate(360deg);
    }
}


.pricing-health-feedback[b-rv4lpriaxh],
.pricing-health-summary[b-rv4lpriaxh],
.pricing-health-empty[b-rv4lpriaxh] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px;
    padding: 13px;
    border: 1px solid;
    border-radius: 12px;
}


    .pricing-health-feedback > span[b-rv4lpriaxh],
    .pricing-health-summary > span[b-rv4lpriaxh],
    .pricing-health-empty > span[b-rv4lpriaxh] {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
        display: grid;
        place-items: center;
        border-radius: 9px;
        font-weight: 900;
    }


    .pricing-health-feedback > div[b-rv4lpriaxh],
    .pricing-health-summary > div[b-rv4lpriaxh],
    .pricing-health-empty > div[b-rv4lpriaxh] {
        min-width: 0;
    }


    .pricing-health-feedback strong[b-rv4lpriaxh],
    .pricing-health-summary strong[b-rv4lpriaxh],
    .pricing-health-empty strong[b-rv4lpriaxh] {
        display: block;
        font-size: .9rem;
    }


    .pricing-health-feedback small[b-rv4lpriaxh] {
        display: block;
        margin-top: 3px;
        font-size: .74rem;
        line-height: 1.6;
    }


    .pricing-health-feedback.danger[b-rv4lpriaxh] {
        border-color: rgba(198, 79, 91, .15);
        color: var(--eco-red);
        background: var(--eco-red-soft);
    }


        .pricing-health-feedback.danger > span[b-rv4lpriaxh] {
            background: rgba(198, 79, 91, .08);
        }


    .pricing-health-summary p[b-rv4lpriaxh],
    .pricing-health-empty p[b-rv4lpriaxh] {
        margin: 4px 0 0;
        font-size: .75rem;
        line-height: 1.7;
    }


    .pricing-health-summary.healthy[b-rv4lpriaxh] {
        border-color: rgba(35, 130, 103, .15);
        color: var(--eco-green);
        background: var(--eco-green-soft);
    }


        .pricing-health-summary.healthy > span[b-rv4lpriaxh] {
            background: rgba(35, 130, 103, .08);
        }


    .pricing-health-summary.attention[b-rv4lpriaxh] {
        border-color: rgba(168, 118, 28, .16);
        color: var(--eco-amber);
        background: var(--eco-amber-soft);
    }


        .pricing-health-summary.attention > span[b-rv4lpriaxh] {
            background: rgba(168, 118, 28, .09);
        }


.pricing-health-empty[b-rv4lpriaxh] {
    border-color: var(--eco-border);
    color: var(--eco-muted);
    background: var(--eco-panel-soft);
}


    .pricing-health-empty > span[b-rv4lpriaxh] {
        color: var(--eco-accent);
        background: var(--eco-accent-soft);
    }


    .pricing-health-empty.compact[b-rv4lpriaxh] {
        margin: 0;
        border: 0;
        border-radius: 0;
    }


/* ============================================================
   POLICY
   ============================================================ */

.pricing-health-policy-strip[b-rv4lpriaxh] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 16px 16px 0;
}


    .pricing-health-policy-strip > div[b-rv4lpriaxh] {
        min-width: 0;
        display: grid;
        gap: 4px;
        padding: 11px 12px;
        border: 1px solid var(--eco-border);
        border-radius: 10px;
        background: var(--eco-panel-soft);
    }


    .pricing-health-policy-strip span[b-rv4lpriaxh] {
        color: var(--eco-muted);
        font-size: .7rem;
    }


    .pricing-health-policy-strip strong[b-rv4lpriaxh] {
        overflow: hidden;
        color: var(--eco-text);
        font-size: .86rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


/* ============================================================
   KPI
   ============================================================ */

.pricing-health-kpis[b-rv4lpriaxh] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    padding: 0 16px 16px;
}


    .pricing-health-kpis article[b-rv4lpriaxh] {
        min-width: 0;
        display: grid;
        gap: 5px;
        padding: 13px;
        border: 1px solid var(--eco-border);
        border-radius: 11px;
        background: var(--eco-panel-soft);
    }


        .pricing-health-kpis article.coverage[b-rv4lpriaxh] {
            border-color: rgba(95, 112, 232, .15);
        }


        .pricing-health-kpis article.missing[b-rv4lpriaxh] {
            border-color: rgba(168, 118, 28, .14);
        }


    .pricing-health-kpis span[b-rv4lpriaxh] {
        color: var(--eco-muted);
        font-size: .74rem;
    }


    .pricing-health-kpis strong[b-rv4lpriaxh] {
        overflow: hidden;
        color: var(--eco-text);
        font-size: 1.02rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


    .pricing-health-kpis small[b-rv4lpriaxh] {
        color: var(--eco-muted);
        font-size: .67rem;
        line-height: 1.5;
    }


.positive[b-rv4lpriaxh] {
    color: var(--eco-green) !important;
}


.warning[b-rv4lpriaxh] {
    color: var(--eco-amber) !important;
}


.danger[b-rv4lpriaxh] {
    color: var(--eco-red) !important;
}


/* ============================================================
   TIMELINE / FAILURE
   ============================================================ */

.pricing-health-timeline[b-rv4lpriaxh] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0 16px 16px;
}


    .pricing-health-timeline > div[b-rv4lpriaxh] {
        min-width: 0;
        display: grid;
        gap: 4px;
        padding: 11px 12px;
        border: 1px solid var(--eco-border);
        border-radius: 10px;
    }


        .pricing-health-timeline > div.failure[b-rv4lpriaxh] {
            border-color: rgba(198, 79, 91, .13);
        }


    .pricing-health-timeline span[b-rv4lpriaxh] {
        color: var(--eco-muted);
        font-size: .68rem;
    }


    .pricing-health-timeline strong[b-rv4lpriaxh] {
        color: var(--eco-text);
        font-size: .82rem;
    }


    .pricing-health-timeline small[b-rv4lpriaxh] {
        overflow: hidden;
        color: var(--eco-muted);
        font-size: .64rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


.pricing-health-last-error[b-rv4lpriaxh] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 16px 16px;
    padding: 11px 12px;
    border: 1px solid rgba(198, 79, 91, .14);
    border-radius: 11px;
    color: var(--eco-red);
    background: var(--eco-red-soft);
}


    .pricing-health-last-error > span[b-rv4lpriaxh] {
        width: 29px;
        height: 29px;
        flex: 0 0 29px;
        display: grid;
        place-items: center;
        border-radius: 8px;
        background: rgba(198, 79, 91, .08);
        font-weight: 900;
    }


    .pricing-health-last-error > div[b-rv4lpriaxh] {
        min-width: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 10px;
    }


    .pricing-health-last-error strong[b-rv4lpriaxh] {
        width: 100%;
        font-size: .82rem;
    }


    .pricing-health-last-error code[b-rv4lpriaxh],
    .pricing-health-last-error small[b-rv4lpriaxh] {
        font-size: .68rem;
    }


/* ============================================================
   RECOVERY
   ============================================================ */

.pricing-health-recovery[b-rv4lpriaxh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 16px 16px;
    padding: 14px;
    border: 1px solid var(--eco-border);
    border-radius: 12px;
    background: linear-gradient( 115deg, rgba(95, 112, 232, .035), transparent);
}


    .pricing-health-recovery > div[b-rv4lpriaxh] {
        min-width: 0;
        max-width: 1000px;
    }


    .pricing-health-recovery strong[b-rv4lpriaxh] {
        display: block;
        color: var(--eco-text);
        font-size: .9rem;
    }


    .pricing-health-recovery p[b-rv4lpriaxh] {
        margin: 5px 0 0;
        color: var(--eco-muted);
        font-size: .74rem;
        line-height: 1.65;
    }


.pricing-health-recovery-note[b-rv4lpriaxh] {
    display: block;
    margin-top: 7px;
    color: var(--eco-amber);
    font-size: .66rem;
    line-height: 1.6;
}


.pricing-health-recovery form[b-rv4lpriaxh] {
    flex: 0 0 auto;
}


.pricing-health-recovery button[b-rv4lpriaxh] {
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--eco-accent);
    border-radius: 10px;
    color: #fff;
    background: var(--eco-accent);
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
    cursor: pointer;
}


    .pricing-health-recovery button:hover[b-rv4lpriaxh] {
        background: var(--eco-accent-hover);
    }


    .pricing-health-recovery button:disabled[b-rv4lpriaxh] {
        border-color: var(--eco-border-strong);
        color: var(--eco-muted);
        background: var(--eco-panel-soft);
        cursor: default;
    }


/* ============================================================
   MISSING TABLE
   ============================================================ */

.pricing-health-missing[b-rv4lpriaxh] {
    margin: 0 16px 16px;
    overflow: hidden;
    border: 1px solid var(--eco-border);
    border-radius: 12px;
}


.pricing-health-missing-heading[b-rv4lpriaxh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border-bottom: 1px solid var(--eco-border);
}


    .pricing-health-missing-heading h3[b-rv4lpriaxh] {
        margin: 0;
        color: var(--eco-text);
        font-size: 1rem;
    }


.pricing-health-count[b-rv4lpriaxh] {
    min-width: 32px;
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--eco-amber);
    background: var(--eco-amber-soft);
    font-size: .72rem;
    font-weight: 850;
    text-align: center;
}


.pricing-health-table[b-rv4lpriaxh] {
    overflow-x: auto;
}


.pricing-health-table-head[b-rv4lpriaxh],
.pricing-health-row[b-rv4lpriaxh] {
    min-width: 900px;
    display: grid;
    grid-template-columns: 120px 185px 185px 145px minmax(220px, 1fr);
    gap: 10px;
    align-items: center;
}


.pricing-health-table-head[b-rv4lpriaxh] {
    padding: 10px 12px;
    color: var(--eco-muted);
    background: var(--eco-panel-soft);
    font-size: .7rem;
    font-weight: 800;
}


.pricing-health-row[b-rv4lpriaxh] {
    padding: 11px 12px;
    border-top: 1px solid var(--eco-border);
    color: var(--eco-secondary);
    font-size: .75rem;
}


    .pricing-health-row .job-id[b-rv4lpriaxh] {
        color: var(--eco-text);
        font-weight: 800;
    }


    .pricing-health-row .error-code[b-rv4lpriaxh] {
        overflow: hidden;
        color: var(--eco-red);
        font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


.outcome[b-rv4lpriaxh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 7px;
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 800;
    white-space: nowrap;
}


    .outcome.created[b-rv4lpriaxh],
    .outcome.existing[b-rv4lpriaxh] {
        color: var(--eco-green);
        background: var(--eco-green-soft);
    }


    .outcome.failed[b-rv4lpriaxh] {
        color: var(--eco-red);
        background: var(--eco-red-soft);
    }


    .outcome.cancelled[b-rv4lpriaxh],
    .outcome.skipped[b-rv4lpriaxh] {
        color: var(--eco-amber);
        background: var(--eco-amber-soft);
    }


    .outcome.never[b-rv4lpriaxh],
    .outcome.unknown[b-rv4lpriaxh] {
        color: var(--eco-muted);
        background: var(--eco-panel-muted);
    }


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1180px) {

    .pricing-health-kpis[b-rv4lpriaxh],
    .pricing-health-timeline[b-rv4lpriaxh] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 760px) {

    .pricing-health-heading[b-rv4lpriaxh],
    .pricing-health-recovery[b-rv4lpriaxh] {
        align-items: stretch;
        flex-direction: column;
    }


    .pricing-health-state[b-rv4lpriaxh] {
        align-self: flex-start;
    }


    .pricing-health-policy-strip[b-rv4lpriaxh] {
        grid-template-columns: 1fr;
    }


    .pricing-health-recovery button[b-rv4lpriaxh] {
        width: 100%;
    }
}


@media (max-width: 560px) {

    .pricing-health-kpis[b-rv4lpriaxh],
    .pricing-health-timeline[b-rv4lpriaxh] {
        grid-template-columns: 1fr;
    }


    .pricing-health-heading[b-rv4lpriaxh] {
        padding: 16px;
    }


        .pricing-health-heading h2[b-rv4lpriaxh] {
            font-size: 1.2rem;
        }


        .pricing-health-heading p[b-rv4lpriaxh] {
            font-size: .82rem;
        }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Ai/AdminTranslationPricingPanel.razor.rz.scp.css */
/* ============================================================
   TRANSLATION PRICING POLICY · SHADOW
   Larger / More Readable Version
   ============================================================ */

.pricing-policy-panel[b-pm7kpj9014] {
    margin-top: 32px;
    overflow: hidden;
    border: 1px solid var(--eco-border);
    border-radius: 20px;
    color: var(--eco-text);
    background: var(--eco-panel);
    box-shadow: var(--eco-shadow);
}

.pricing-heading[b-pm7kpj9014] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    padding: 22px;
    border-bottom: 1px solid var(--eco-border);
    background: linear-gradient( 115deg, rgba(95,112,232,.05), rgba(95,112,232,.008));
}

.pricing-title[b-pm7kpj9014] {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pricing-icon[b-pm7kpj9014] {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--eco-accent);
    background: var(--eco-accent-soft);
    font-size: .95rem;
    font-weight: 900;
}

.pricing-title > div[b-pm7kpj9014] {
    min-width: 0;
}

.pricing-eyebrow[b-pm7kpj9014] {
    display: block;
    margin-bottom: 6px;
    color: var(--eco-accent);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .06em;
}

.pricing-policy-panel[dir="rtl"] .pricing-eyebrow[b-pm7kpj9014] {
    letter-spacing: 0;
}

.pricing-title h2[b-pm7kpj9014],
.pricing-history-heading h3[b-pm7kpj9014] {
    margin: 0;
    color: var(--eco-text);
}

.pricing-title h2[b-pm7kpj9014] {
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.3;
}

.pricing-title p[b-pm7kpj9014] {
    max-width: 980px;
    margin: 8px 0 0;
    color: var(--eco-muted);
    font-size: 1rem;
    line-height: 1.9;
}

.pricing-heading-status[b-pm7kpj9014] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shadow-badge[b-pm7kpj9014],
.version-badge[b-pm7kpj9014],
.version-mode[b-pm7kpj9014],
.version-active[b-pm7kpj9014] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 850;
    white-space: nowrap;
}

.shadow-badge[b-pm7kpj9014] {
    padding: 8px 12px;
    color: var(--eco-violet);
    background: var(--eco-violet-soft);
    font-size: .78rem;
}

.version-badge[b-pm7kpj9014] {
    min-width: 42px;
    padding: 8px 10px;
    color: var(--eco-accent);
    background: var(--eco-accent-soft);
    font-size: .78rem;
}

.pricing-feedback[b-pm7kpj9014] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 16px 18px 0;
    padding: 14px 16px;
    border: 1px solid;
    border-radius: 14px;
}

    .pricing-feedback > span[b-pm7kpj9014] {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        font-size: .95rem;
        font-weight: 900;
    }

    .pricing-feedback > div[b-pm7kpj9014] {
        min-width: 0;
        display: grid;
        gap: 4px;
    }

    .pricing-feedback strong[b-pm7kpj9014] {
        font-size: 1rem;
        line-height: 1.6;
    }

    .pricing-feedback small[b-pm7kpj9014],
    .pricing-feedback code[b-pm7kpj9014] {
        color: inherit;
        font-size: .85rem;
        line-height: 1.6;
    }

    .pricing-feedback.success[b-pm7kpj9014] {
        border-color: rgba(35,130,103,.16);
        color: var(--eco-green);
        background: var(--eco-green-soft);
    }

        .pricing-feedback.success > span[b-pm7kpj9014] {
            background: rgba(35,130,103,.08);
        }

    .pricing-feedback.danger[b-pm7kpj9014] {
        border-color: rgba(198,79,91,.16);
        color: var(--eco-red);
        background: var(--eco-red-soft);
    }

        .pricing-feedback.danger > span[b-pm7kpj9014] {
            background: rgba(198,79,91,.08);
        }

.pricing-loading[b-pm7kpj9014] {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--eco-muted);
    font-size: 1rem;
}

.pricing-spinner[b-pm7kpj9014] {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(95,112,232,.15);
    border-top-color: var(--eco-accent);
    border-radius: 50%;
    animation: pricing-spin-b-pm7kpj9014 .8s linear infinite;
}

@keyframes pricing-spin-b-pm7kpj9014 {
    to {
        transform: rotate(360deg);
    }
}

.pricing-empty-policy[b-pm7kpj9014] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 18px;
    padding: 16px;
    border: 1px solid rgba(168,118,28,.14);
    border-radius: 14px;
    color: var(--eco-amber);
    background: var(--eco-amber-soft);
}

    .pricing-empty-policy > span[b-pm7kpj9014] {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        background: rgba(168,118,28,.09);
        font-size: 1rem;
        font-weight: 900;
    }

    .pricing-empty-policy strong[b-pm7kpj9014] {
        display: block;
        font-size: 1rem;
    }

    .pricing-empty-policy p[b-pm7kpj9014] {
        margin: 6px 0 0;
        font-size: .92rem;
        line-height: 1.8;
    }

.active-policy-overview[b-pm7kpj9014] {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
    padding: 18px 18px 0;
}

    .active-policy-overview article[b-pm7kpj9014] {
        min-width: 0;
        display: grid;
        gap: 6px;
        padding: 14px;
        border: 1px solid var(--eco-border);
        border-radius: 12px;
        background: var(--eco-panel-soft);
    }

    .active-policy-overview span[b-pm7kpj9014],
    .active-policy-overview small[b-pm7kpj9014] {
        color: var(--eco-muted);
    }

    .active-policy-overview span[b-pm7kpj9014] {
        font-size: .82rem;
        font-weight: 700;
    }

    .active-policy-overview strong[b-pm7kpj9014] {
        overflow: hidden;
        color: var(--eco-text);
        font-size: 1.12rem;
        font-weight: 900;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .active-policy-overview small[b-pm7kpj9014] {
        font-size: .78rem;
        line-height: 1.55;
    }

.pricing-layout[b-pm7kpj9014] {
    display: grid;
    grid-template-columns: minmax(0,1.65fr) minmax(340px,.55fr);
    gap: 14px;
    padding: 18px;
}

.pricing-form[b-pm7kpj9014],
.pricing-history[b-pm7kpj9014] {
    min-width: 0;
    border: 1px solid var(--eco-border);
    border-radius: 16px;
    background: var(--eco-panel);
}

.pricing-form[b-pm7kpj9014] {
    overflow: hidden;
}

.pricing-form-section[b-pm7kpj9014] {
    padding: 18px;
    border-bottom: 1px solid var(--eco-border);
}

    .pricing-form-section:last-child[b-pm7kpj9014] {
        border-bottom: 0;
    }

.pricing-form-section-heading[b-pm7kpj9014] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

    .pricing-form-section-heading > span[b-pm7kpj9014] {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        color: var(--eco-accent);
        background: var(--eco-accent-soft);
        font-size: .82rem;
        font-weight: 850;
    }

    .pricing-form-section-heading > div[b-pm7kpj9014] {
        min-width: 0;
        display: grid;
        gap: 4px;
    }

    .pricing-form-section-heading strong[b-pm7kpj9014] {
        font-size: 1.08rem;
        line-height: 1.5;
    }

    .pricing-form-section-heading small[b-pm7kpj9014] {
        color: var(--eco-muted);
        font-size: .86rem;
        line-height: 1.75;
    }

.pricing-fields[b-pm7kpj9014] {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
}

    .pricing-fields.three[b-pm7kpj9014] {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .pricing-fields.five[b-pm7kpj9014] {
        grid-template-columns: repeat(5,minmax(0,1fr));
    }

    .pricing-fields label[b-pm7kpj9014],
    .pricing-audit-reason[b-pm7kpj9014] {
        min-width: 0;
        display: grid;
        gap: 6px;
    }

        .pricing-fields label.wide[b-pm7kpj9014] {
            grid-column: 1 / -1;
        }

        .pricing-fields label > span[b-pm7kpj9014],
        .pricing-audit-reason > span[b-pm7kpj9014] {
            color: var(--eco-secondary);
            font-size: .92rem;
            font-weight: 800;
            line-height: 1.5;
        }

        .pricing-fields label > small[b-pm7kpj9014] {
            color: var(--eco-muted);
            font-size: .78rem;
            line-height: 1.65;
        }

        .pricing-fields input[b-pm7kpj9014],
        .pricing-fields select[b-pm7kpj9014],
        .pricing-audit-reason textarea[b-pm7kpj9014] {
            width: 100%;
            box-sizing: border-box;
            border: 1px solid var(--eco-border-strong);
            border-radius: 11px;
            outline: none;
            color: var(--eco-text);
            background: var(--eco-panel-soft);
            font: inherit;
            font-size: .98rem;
        }

    .pricing-fields input[b-pm7kpj9014],
    .pricing-fields select[b-pm7kpj9014] {
        min-height: 46px;
        padding: 0 12px;
    }

.pricing-audit-reason textarea[b-pm7kpj9014] {
    min-height: 110px;
    resize: vertical;
    padding: 12px;
    line-height: 1.8;
}

    .pricing-fields input:focus[b-pm7kpj9014],
    .pricing-fields select:focus[b-pm7kpj9014],
    .pricing-audit-reason textarea:focus[b-pm7kpj9014] {
        border-color: rgba(95,112,232,.44);
        background: var(--eco-panel);
        box-shadow: 0 0 0 3px rgba(95,112,232,.07);
    }

.pricing-toggle-grid[b-pm7kpj9014] {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
}

.pricing-toggle[b-pm7kpj9014] {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--eco-border);
    border-radius: 12px;
    background: var(--eco-panel-soft);
    cursor: pointer;
}

    .pricing-toggle input[b-pm7kpj9014] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

.toggle-switch[b-pm7kpj9014] {
    position: relative;
    width: 38px;
    height: 22px;
    flex: 0 0 38px;
    border-radius: 999px;
    background: var(--eco-border-strong);
    transition: background-color .15s ease;
}

    .toggle-switch[b-pm7kpj9014]::after {
        content: "";
        position: absolute;
        top: 3px;
        left: 3px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 1px 4px rgba(0,0,0,.12);
        transition: transform .15s ease;
    }

.pricing-toggle input:checked + .toggle-switch[b-pm7kpj9014] {
    background: var(--eco-accent);
}

    .pricing-toggle input:checked + .toggle-switch[b-pm7kpj9014]::after {
        transform: translateX(16px);
    }

.pricing-policy-panel[dir="rtl"] .toggle-switch[b-pm7kpj9014]::after {
    left: auto;
    right: 3px;
}

.pricing-policy-panel[dir="rtl"] .pricing-toggle input:checked + .toggle-switch[b-pm7kpj9014]::after {
    transform: translateX(-16px);
}

.toggle-copy[b-pm7kpj9014] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

    .toggle-copy strong[b-pm7kpj9014] {
        font-size: .92rem;
        line-height: 1.5;
    }

    .toggle-copy small[b-pm7kpj9014] {
        overflow: hidden;
        color: var(--eco-muted);
        font-size: .78rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.pricing-form-section.audit[b-pm7kpj9014] {
    background: linear-gradient( 115deg, rgba(95,112,232,.025), transparent);
}

.pricing-form-footer[b-pm7kpj9014] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 14px;
}

.shadow-safety-note[b-pm7kpj9014] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .shadow-safety-note > span[b-pm7kpj9014] {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        color: var(--eco-green);
        background: var(--eco-green-soft);
        font-size: 1rem;
    }

    .shadow-safety-note > div[b-pm7kpj9014] {
        min-width: 0;
        display: grid;
        gap: 2px;
    }

    .shadow-safety-note strong[b-pm7kpj9014] {
        font-size: .92rem;
        line-height: 1.5;
    }

    .shadow-safety-note small[b-pm7kpj9014] {
        color: var(--eco-muted);
        font-size: .80rem;
        line-height: 1.6;
    }

.pricing-save-button[b-pm7kpj9014] {
    min-height: 48px;
    flex: 0 0 auto;
    padding: 0 16px;
    border: 1px solid var(--eco-accent);
    border-radius: 11px;
    color: #fff;
    background: var(--eco-accent);
    font: inherit;
    font-size: .95rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 7px 17px rgba(95,112,232,.18);
}

    .pricing-save-button:hover[b-pm7kpj9014] {
        background: var(--eco-accent-hover);
    }

.pricing-history[b-pm7kpj9014] {
    overflow: hidden;
}

.pricing-history-heading[b-pm7kpj9014] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--eco-border);
}

    .pricing-history-heading h3[b-pm7kpj9014] {
        font-size: 1.14rem;
        line-height: 1.4;
    }

    .pricing-history-heading > span[b-pm7kpj9014] {
        min-width: 34px;
        padding: 6px 8px;
        border-radius: 999px;
        color: var(--eco-accent);
        background: var(--eco-accent-soft);
        font-size: .82rem;
        font-weight: 850;
        text-align: center;
    }

.pricing-history-empty[b-pm7kpj9014] {
    min-height: 120px;
    display: grid;
    place-items: center;
    padding: 18px;
    color: var(--eco-muted);
    font-size: .88rem;
    text-align: center;
    line-height: 1.8;
}

.pricing-history-list[b-pm7kpj9014] {
    max-height: 760px;
    overflow: auto;
    display: grid;
}

.pricing-version-card[b-pm7kpj9014] {
    padding: 14px 16px;
    border-bottom: 1px solid var(--eco-border);
    background: var(--eco-panel);
}

    .pricing-version-card:last-child[b-pm7kpj9014] {
        border-bottom: 0;
    }

    .pricing-version-card.active[b-pm7kpj9014] {
        background: linear-gradient( 115deg, rgba(95,112,232,.045), transparent);
    }

.pricing-version-top[b-pm7kpj9014] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.version-number[b-pm7kpj9014] {
    color: var(--eco-text);
    font-size: 1rem;
    font-weight: 900;
}

.version-mode[b-pm7kpj9014] {
    padding: 4px 7px;
    color: var(--eco-violet);
    background: var(--eco-violet-soft);
    font-size: .74rem;
}

.version-active[b-pm7kpj9014] {
    padding: 4px 7px;
    color: var(--eco-green);
    background: var(--eco-green-soft);
    font-size: .74rem;
}

.pricing-version-card > strong[b-pm7kpj9014] {
    display: block;
    overflow: hidden;
    margin-bottom: 8px;
    color: var(--eco-text);
    font-size: .95rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.version-mini-metrics[b-pm7kpj9014] {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 6px;
    margin-bottom: 8px;
}

    .version-mini-metrics > span[b-pm7kpj9014] {
        min-width: 0;
        display: grid;
        gap: 3px;
        padding: 8px;
        border-radius: 9px;
        background: var(--eco-panel-soft);
    }

    .version-mini-metrics small[b-pm7kpj9014] {
        color: var(--eco-muted);
        font-size: .70rem;
    }

    .version-mini-metrics b[b-pm7kpj9014] {
        overflow: hidden;
        color: var(--eco-secondary);
        font-size: .82rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.version-date[b-pm7kpj9014] {
    display: block;
    margin-top: 3px;
    color: var(--eco-muted);
    font-size: .76rem;
    line-height: 1.6;
}

    .version-date.retired[b-pm7kpj9014] {
        color: var(--eco-secondary);
    }

.version-details[b-pm7kpj9014] {
    margin-top: 10px;
    border-top: 1px dashed var(--eco-border);
}

    .version-details > summary[b-pm7kpj9014] {
        padding-top: 8px;
        color: var(--eco-accent);
        font-size: .84rem;
        font-weight: 750;
        cursor: pointer;
    }

    .version-details > div[b-pm7kpj9014] {
        display: grid;
        gap: 6px;
        margin-top: 8px;
    }

    .version-details p[b-pm7kpj9014] {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        margin: 0;
        font-size: .80rem;
        line-height: 1.7;
    }

        .version-details p span[b-pm7kpj9014] {
            color: var(--eco-muted);
        }

        .version-details p strong[b-pm7kpj9014] {
            color: var(--eco-secondary);
            text-align: end;
        }

    .version-details .history-audit[b-pm7kpj9014] {
        align-items: flex-start;
        flex-direction: column;
    }

        .version-details .history-audit strong[b-pm7kpj9014] {
            max-width: 100%;
            color: var(--eco-muted);
            font-weight: 500;
            line-height: 1.7;
            text-align: start;
        }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1400px) {
    .active-policy-overview[b-pm7kpj9014] {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .pricing-fields.five[b-pm7kpj9014] {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}

@media (max-width: 1100px) {
    .pricing-layout[b-pm7kpj9014] {
        grid-template-columns: 1fr;
    }

    .pricing-history-list[b-pm7kpj9014] {
        max-height: 480px;
    }
}

@media (max-width: 820px) {
    .pricing-heading[b-pm7kpj9014],
    .pricing-form-footer[b-pm7kpj9014] {
        align-items: stretch;
        flex-direction: column;
    }

    .pricing-heading-status[b-pm7kpj9014] {
        align-self: flex-start;
    }

    .active-policy-overview[b-pm7kpj9014],
    .pricing-fields.three[b-pm7kpj9014],
    .pricing-fields.five[b-pm7kpj9014] {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .pricing-save-button[b-pm7kpj9014] {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .active-policy-overview[b-pm7kpj9014],
    .pricing-fields[b-pm7kpj9014],
    .pricing-fields.three[b-pm7kpj9014],
    .pricing-fields.five[b-pm7kpj9014],
    .pricing-toggle-grid[b-pm7kpj9014] {
        grid-template-columns: 1fr;
    }

    .pricing-title[b-pm7kpj9014] {
        flex-direction: column;
    }

    .version-mini-metrics[b-pm7kpj9014] {
        grid-template-columns: 1fr;
    }

    .pricing-title h2[b-pm7kpj9014] {
        font-size: 1.35rem;
    }

    .pricing-title p[b-pm7kpj9014] {
        font-size: .92rem;
    }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Ai/AdminTranslationPricingShadowAnalysisPanel.razor.rz.scp.css */
/* ============================================================
   SHADOW PRICING ANALYSIS
   ============================================================ */

.shadow-analysis-panel[b-v20b2hwe2n] {
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid var(--eco-border);
    border-radius: 18px;
    color: var(--eco-text);
    background: var(--eco-panel);
    box-shadow: var(--eco-shadow);
}

.shadow-analysis-heading[b-v20b2hwe2n] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    border-bottom: 1px solid var(--eco-border);
    background:
        linear-gradient(
            115deg,
            rgba(95,112,232,.045),
            transparent);
}

.shadow-analysis-heading > div:first-child[b-v20b2hwe2n] {
    min-width: 0;
}

.shadow-analysis-kicker[b-v20b2hwe2n] {
    display: block;
    margin-bottom: 5px;
    color: var(--eco-accent);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .06em;
}

.shadow-analysis-panel[dir="rtl"] .shadow-analysis-kicker[b-v20b2hwe2n] {
    letter-spacing: 0;
}

.shadow-analysis-heading h2[b-v20b2hwe2n],
.shadow-analysis-table-heading h3[b-v20b2hwe2n] {
    margin: 0;
    color: var(--eco-text);
}

.shadow-analysis-heading h2[b-v20b2hwe2n] {
    font-size: 1.45rem;
}

.shadow-analysis-heading p[b-v20b2hwe2n] {
    max-width: 980px;
    margin: 7px 0 0;
    color: var(--eco-muted);
    font-size: .92rem;
    line-height: 1.8;
}

.shadow-policy-chip[b-v20b2hwe2n] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.shadow-policy-chip span[b-v20b2hwe2n],
.shadow-policy-chip strong[b-v20b2hwe2n] {
    padding: 7px 9px;
    border-radius: 999px;
    font-size: .72rem;
}

.shadow-policy-chip span[b-v20b2hwe2n] {
    color: var(--eco-violet);
    background: var(--eco-violet-soft);
}

.shadow-policy-chip strong[b-v20b2hwe2n] {
    color: var(--eco-accent);
    background: var(--eco-accent-soft);
}

.shadow-analysis-feedback[b-v20b2hwe2n] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 16px 0;
    padding: 12px 13px;
    border: 1px solid;
    border-radius: 11px;
}

.shadow-analysis-feedback > span[b-v20b2hwe2n] {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-weight: 900;
}

.shadow-analysis-feedback > div[b-v20b2hwe2n] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.shadow-analysis-feedback strong[b-v20b2hwe2n] {
    font-size: .88rem;
}

.shadow-analysis-feedback small[b-v20b2hwe2n] {
    font-size: .75rem;
    line-height: 1.6;
}

.shadow-analysis-feedback.success[b-v20b2hwe2n] {
    border-color: rgba(35,130,103,.15);
    color: var(--eco-green);
    background: var(--eco-green-soft);
}

.shadow-analysis-feedback.danger[b-v20b2hwe2n] {
    border-color: rgba(198,79,91,.15);
    color: var(--eco-red);
    background: var(--eco-red-soft);
}

.shadow-analysis-loading[b-v20b2hwe2n],
.shadow-analysis-empty[b-v20b2hwe2n] {
    min-height: 110px;
    display: grid;
    place-items: center;
    padding: 20px;
    color: var(--eco-muted);
    font-size: .88rem;
    text-align: center;
}

.shadow-analysis-empty strong[b-v20b2hwe2n] {
    display: block;
    color: var(--eco-secondary);
    font-size: .95rem;
}

.shadow-analysis-empty p[b-v20b2hwe2n] {
    margin: 6px 0 0;
    line-height: 1.7;
}

.shadow-analysis-empty.compact[b-v20b2hwe2n] {
    min-height: 90px;
}

.shadow-analysis-kpis[b-v20b2hwe2n] {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 9px;
    padding: 16px;
}

.shadow-analysis-kpis article[b-v20b2hwe2n] {
    min-width: 0;
    display: grid;
    gap: 5px;
    padding: 13px;
    border: 1px solid var(--eco-border);
    border-radius: 11px;
    background: var(--eco-panel-soft);
}

.shadow-analysis-kpis span[b-v20b2hwe2n] {
    color: var(--eco-muted);
    font-size: .74rem;
}

.shadow-analysis-kpis strong[b-v20b2hwe2n] {
    overflow: hidden;
    color: var(--eco-text);
    font-size: 1.02rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shadow-analysis-kpis small[b-v20b2hwe2n] {
    color: var(--eco-muted);
    font-size: .67rem;
    line-height: 1.5;
}

.positive[b-v20b2hwe2n] {
    color: var(--eco-green) !important;
}

.negative[b-v20b2hwe2n] {
    color: var(--eco-red) !important;
}

.shadow-analysis-kpis article.platform-cost[b-v20b2hwe2n] {
    border-color: rgba(95,112,232,.18);
    background: var(--eco-accent-soft);
}

    .shadow-analysis-kpis article.platform-cost strong[b-v20b2hwe2n] {
        color: var(--eco-accent);
    }

.shadow-analysis-kpis article.cost-coverage[b-v20b2hwe2n] {
    border-color: rgba(35,130,103,.16);
    background: var(--eco-green-soft);
}

    .shadow-analysis-kpis article.cost-coverage strong[b-v20b2hwe2n] {
        color: var(--eco-green);
    }


/* ============================================================
   INTERNAL COST COMPOSITION
   ============================================================ */

.shadow-cost-composition[b-v20b2hwe2n] {
    margin: 0 16px 16px;
    overflow: hidden;
    border: 1px solid var(--eco-border);
    border-radius: 12px;
    background: var(--eco-panel);
}

.shadow-cost-composition-heading[b-v20b2hwe2n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--eco-border);
    background: var(--eco-panel-soft);
}

    .shadow-cost-composition-heading > div[b-v20b2hwe2n] {
        min-width: 0;
        display: grid;
        gap: 3px;
    }

    .shadow-cost-composition-heading strong[b-v20b2hwe2n] {
        font-size: .9rem;
    }

    .shadow-cost-composition-heading small[b-v20b2hwe2n] {
        color: var(--eco-muted);
        font-size: .72rem;
    }

    .shadow-cost-composition-heading > span[b-v20b2hwe2n] {
        flex: 0 0 auto;
        color: var(--eco-accent);
        font-size: .94rem;
        font-weight: 850;
    }

.shadow-cost-composition-grid[b-v20b2hwe2n] {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 8px;
    padding: 12px;
}

    .shadow-cost-composition-grid article[b-v20b2hwe2n] {
        min-width: 0;
        display: grid;
        gap: 5px;
        padding: 10px;
        border: 1px solid var(--eco-border);
        border-radius: 9px;
        background: var(--eco-panel-soft);
    }

    .shadow-cost-composition-grid span[b-v20b2hwe2n] {
        color: var(--eco-muted);
        font-size: .68rem;
    }

    .shadow-cost-composition-grid strong[b-v20b2hwe2n] {
        overflow: hidden;
        font-size: .86rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.shadow-cost-warning[b-v20b2hwe2n] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 12px 12px;
    padding: 9px 10px;
    border: 1px solid rgba(168,118,28,.15);
    border-radius: 9px;
    color: var(--eco-amber);
    background: var(--eco-amber-soft);
}

    .shadow-cost-warning > span[b-v20b2hwe2n] {
        width: 25px;
        height: 25px;
        flex: 0 0 25px;
        display: grid;
        place-items: center;
        border-radius: 7px;
        background: rgba(168,118,28,.08);
        font-weight: 900;
    }

    .shadow-cost-warning p[b-v20b2hwe2n] {
        margin: 2px 0 0;
        font-size: .7rem;
        line-height: 1.65;
    }

.shadow-cost-policy-badge[b-v20b2hwe2n] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 7px;
    border-radius: 999px;
    color: var(--eco-green);
    background: var(--eco-green-soft);
    font-size: .64rem;
    font-weight: 850;
}

    .shadow-cost-policy-badge.legacy[b-v20b2hwe2n] {
        color: var(--eco-amber);
        background: var(--eco-amber-soft);
    }

.platform-cost-value[b-v20b2hwe2n] {
    color: var(--eco-accent);
    font-weight: 800;
}


.shadow-analysis-actions[b-v20b2hwe2n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 16px 16px;
    padding: 13px 14px;
    border: 1px solid var(--eco-border);
    border-radius: 12px;
    background:
        linear-gradient(
            115deg,
            rgba(95,112,232,.03),
            transparent);
}

.shadow-analysis-actions > div[b-v20b2hwe2n] {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.shadow-analysis-actions strong[b-v20b2hwe2n] {
    font-size: .9rem;
}

.shadow-analysis-actions small[b-v20b2hwe2n] {
    color: var(--eco-muted);
    font-size: .75rem;
    line-height: 1.6;
}

.shadow-analysis-actions button[b-v20b2hwe2n] {
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--eco-accent);
    border-radius: 10px;
    color: #fff;
    background: var(--eco-accent);
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
    cursor: pointer;
}

.shadow-analysis-actions button:disabled[b-v20b2hwe2n] {
    border-color: var(--eco-border-strong);
    color: var(--eco-muted);
    background: var(--eco-panel-soft);
    cursor: default;
}

.shadow-analysis-table-wrap[b-v20b2hwe2n] {
    margin: 0 16px 16px;
    overflow: hidden;
    border: 1px solid var(--eco-border);
    border-radius: 12px;
}

.shadow-analysis-table-heading[b-v20b2hwe2n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border-bottom: 1px solid var(--eco-border);
}

.shadow-analysis-table-heading h3[b-v20b2hwe2n] {
    font-size: 1rem;
}

.shadow-analysis-table-heading > span[b-v20b2hwe2n] {
    min-width: 30px;
    padding: 5px 7px;
    border-radius: 999px;
    color: var(--eco-accent);
    background: var(--eco-accent-soft);
    font-size: .72rem;
    font-weight: 850;
    text-align: center;
}

.shadow-analysis-table[b-v20b2hwe2n] {
    overflow-x: auto;
}

.shadow-analysis-table-head[b-v20b2hwe2n],
.shadow-analysis-row[b-v20b2hwe2n] {
    min-width: 1420px;
    display: grid;
    grid-template-columns: 90px 105px 85px 85px 70px 95px 130px 130px 140px 145px 90px;
    gap: 8px;
    align-items: center;
}

.shadow-analysis-table-head[b-v20b2hwe2n] {
    padding: 9px 12px;
    color: var(--eco-muted);
    background: var(--eco-panel-soft);
    font-size: .7rem;
    font-weight: 800;
}

.shadow-analysis-row[b-v20b2hwe2n] {
    padding: 11px 12px;
    border-top: 1px solid var(--eco-border);
    color: var(--eco-secondary);
    font-size: .76rem;
}

.shadow-analysis-row:first-of-type[b-v20b2hwe2n] {
    border-top: 0;
}

.shadow-analysis-row .job-id[b-v20b2hwe2n] {
    color: var(--eco-text);
    font-weight: 800;
}

.shadow-credit[b-v20b2hwe2n] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.shadow-credit small[b-v20b2hwe2n] {
    padding: 2px 4px;
    border-radius: 999px;
    color: var(--eco-amber);
    background: var(--eco-amber-soft);
    font-size: .52rem;
    font-weight: 850;
}

@media (max-width: 1180px) {
    .shadow-analysis-kpis[b-v20b2hwe2n] {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 760px) {
    .shadow-analysis-heading[b-v20b2hwe2n],
    .shadow-analysis-actions[b-v20b2hwe2n] {
        align-items: stretch;
        flex-direction: column;
    }

    .shadow-policy-chip[b-v20b2hwe2n] {
        align-self: flex-start;
    }

    .shadow-analysis-actions button[b-v20b2hwe2n] {
        width: 100%;
    }

    .shadow-cost-composition-heading[b-v20b2hwe2n] {
        align-items: stretch;
        flex-direction: column;
    }

    .shadow-cost-composition-grid[b-v20b2hwe2n] {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 560px) {
    .shadow-analysis-kpis[b-v20b2hwe2n] {
        grid-template-columns: 1fr;
    }

    .shadow-cost-composition-grid[b-v20b2hwe2n] {
        grid-template-columns: 1fr;
    }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Ai/AdminUnifiedCommercialEconomicsPanel.razor.rz.scp.css */
/* ============================================================
   UNIFIED REAL JOB ECONOMICS
   ============================================================ */

.unified-commercial-economics[b-f8fs2hv8od] {
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid var(--eco-border);
    border-radius: 18px;
    color: var(--eco-text);
    background: var(--eco-panel);
    box-shadow: var(--eco-shadow);
}

.uce-heading[b-f8fs2hv8od] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border-bottom: 1px solid var(--eco-border);
    background: linear-gradient(115deg, rgba(35, 130, 103, .045), rgba(95, 112, 232, .02), transparent);
}

.uce-heading > div[b-f8fs2hv8od] {
    min-width: 0;
    max-width: 1050px;
}

.uce-eyebrow[b-f8fs2hv8od] {
    display: block;
    margin-bottom: 4px;
    color: var(--eco-green);
    font-size: .55rem;
    font-weight: 850;
    letter-spacing: .08em;
}

.unified-commercial-economics[dir="rtl"] .uce-eyebrow[b-f8fs2hv8od] {
    letter-spacing: 0;
}

.uce-heading h2[b-f8fs2hv8od] {
    margin: 0;
    color: var(--eco-text);
    font-size: .95rem;
}

.uce-heading p[b-f8fs2hv8od] {
    margin: 6px 0 0;
    color: var(--eco-muted);
    font-size: .55rem;
    line-height: 1.75;
}

.uce-badge[b-f8fs2hv8od] {
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--eco-green);
    background: var(--eco-green-soft);
    font-size: .48rem;
    font-weight: 900;
}

.uce-empty[b-f8fs2hv8od] {
    min-height: 90px;
    display: grid;
    place-items: center;
    padding: 15px;
    color: var(--eco-muted);
    font-size: .55rem;
}

.uce-kpis[b-f8fs2hv8od] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 13px;
}

.uce-kpis article[b-f8fs2hv8od] {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--eco-border);
    border-radius: 11px;
    background: var(--eco-panel-soft);
}

.uce-kpis span[b-f8fs2hv8od] {
    color: var(--eco-muted);
    font-size: .43rem;
}

.uce-kpis strong[b-f8fs2hv8od] {
    overflow: hidden;
    color: var(--eco-text);
    font-size: .65rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.positive[b-f8fs2hv8od] {
    color: var(--eco-green) !important;
}

.negative[b-f8fs2hv8od] {
    color: var(--eco-red) !important;
}

.uce-table-shell[b-f8fs2hv8od] {
    margin: 0 13px 13px;
    overflow-x: auto;
    border: 1px solid var(--eco-border);
    border-radius: 12px;
}

.uce-table-head[b-f8fs2hv8od],
.uce-row[b-f8fs2hv8od] {
    min-width: 1000px;
    display: grid;
    grid-template-columns: minmax(240px, 1.45fr) minmax(130px, .7fr) minmax(105px, .55fr) minmax(165px, .85fr) minmax(150px, .8fr) minmax(160px, .82fr);
    gap: 9px;
    align-items: center;
}

.uce-table-head[b-f8fs2hv8od] {
    padding: 9px 11px;
    color: var(--eco-muted);
    background: var(--eco-panel-muted);
    font-size: .43rem;
    font-weight: 800;
}

.uce-row[b-f8fs2hv8od] {
    padding: 10px 11px;
    border-top: 1px solid var(--eco-border);
}

.uce-row > div[b-f8fs2hv8od] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.uce-row strong[b-f8fs2hv8od] {
    overflow: hidden;
    color: var(--eco-text);
    font-size: .52rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uce-row small[b-f8fs2hv8od] {
    overflow: hidden;
    color: var(--eco-muted);
    font-size: .39rem;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uce-identity strong[b-f8fs2hv8od] {
    font-size: .56rem;
}

.uce-note[b-f8fs2hv8od] {
    margin: 0 13px 13px;
    padding: 10px 11px;
    border: 1px solid var(--eco-accent-border);
    border-radius: 10px;
    color: var(--eco-secondary);
    background: var(--eco-accent-soft);
}

.uce-note strong[b-f8fs2hv8od] {
    display: block;
    color: var(--eco-text);
    font-size: .50rem;
}

.uce-note p[b-f8fs2hv8od] {
    margin: 3px 0 0;
    font-size: .43rem;
    line-height: 1.65;
}

@media (max-width: 1050px) {
    .uce-kpis[b-f8fs2hv8od] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .uce-heading[b-f8fs2hv8od] {
        flex-direction: column;
    }

    .uce-kpis[b-f8fs2hv8od] {
        grid-template-columns: 1fr;
    }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Ai/AdminUnifiedTranslationPricingPanel.razor.rz.scp.css */
/* ============================================================
   UNIFIED REAL CUSTOMER PRICING
   Scoped styles for AdminUnifiedTranslationPricingPanel.razor
   ============================================================ */

.unified-pricing[b-e3hlq25ce7] {
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid var(--eco-border);
    border-radius: 18px;
    color: var(--eco-text);
    background: var(--eco-panel);
    box-shadow: var(--eco-shadow);
}

.unified-pricing[dir="rtl"][b-e3hlq25ce7] {
    text-align: right;
}

.unified-pricing[dir="ltr"][b-e3hlq25ce7] {
    text-align: left;
}

/* ============================================================
   HEADER
   ============================================================ */

.up-header[b-e3hlq25ce7] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    padding: 22px 22px 19px;
    border-bottom: 1px solid var(--eco-border);
    background:
        linear-gradient(115deg,
            rgba(95, 112, 232, .055),
            rgba(52, 123, 183, .025),
            transparent 70%);
}

.up-header > div[b-e3hlq25ce7] {
    min-width: 0;
    max-width: 1000px;
}

.up-eyebrow[b-e3hlq25ce7] {
    display: block;
    margin-bottom: 6px;
    color: var(--eco-accent);
    font-size: .70rem;
    font-weight: 850;
    line-height: 1.35;
    letter-spacing: .09em;
}

.unified-pricing[dir="rtl"] .up-eyebrow[b-e3hlq25ce7] {
    letter-spacing: 0;
}

.up-header h2[b-e3hlq25ce7] {
    margin: 0;
    color: var(--eco-text);
    font-size: clamp(1.35rem, 2vw, 1.72rem);
    font-weight: 820;
    line-height: 1.35;
}

.up-header p[b-e3hlq25ce7] {
    max-width: 980px;
    margin: 8px 0 0;
    color: var(--eco-secondary);
    font-size: .82rem;
    line-height: 1.9;
}

.up-live-badge[b-e3hlq25ce7],
.up-unconfigured-badge[b-e3hlq25ce7] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 11px;
    border: 1px solid;
    border-radius: 999px;
    font-size: .70rem;
    font-weight: 850;
    white-space: nowrap;
}

.up-live-badge[b-e3hlq25ce7] {
    border-color: rgba(35, 130, 103, .18);
    color: var(--eco-green);
    background: var(--eco-green-soft);
}

.up-unconfigured-badge[b-e3hlq25ce7] {
    border-color: rgba(168, 118, 28, .20);
    color: var(--eco-amber);
    background: var(--eco-amber-soft);
}

/* ============================================================
   FORMULA / FEEDBACK / STATE
   ============================================================ */

.up-formula[b-e3hlq25ce7] {
    display: grid;
    gap: 7px;
    margin: 16px 18px 0;
    padding: 14px 16px;
    border: 1px solid var(--eco-accent-border);
    border-radius: 13px;
    background: var(--eco-accent-soft);
}

.up-formula strong[b-e3hlq25ce7] {
    color: var(--eco-text);
    font-size: .79rem;
}

.up-formula code[b-e3hlq25ce7] {
    display: block;
    overflow-x: auto;
    padding: 2px 0;
    color: var(--eco-accent);
    background: transparent;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .76rem;
    line-height: 1.8;
    direction: ltr;
    text-align: left;
    white-space: nowrap;
}

.up-feedback[b-e3hlq25ce7],
.up-warning[b-e3hlq25ce7] {
    display: grid;
    gap: 5px;
    margin: 14px 18px 0;
    padding: 13px 15px;
    border: 1px solid;
    border-radius: 12px;
}

.up-feedback strong[b-e3hlq25ce7],
.up-warning strong[b-e3hlq25ce7] {
    font-size: .80rem;
    line-height: 1.6;
}

.up-feedback small[b-e3hlq25ce7],
.up-warning span[b-e3hlq25ce7] {
    font-size: .72rem;
    line-height: 1.7;
}

.up-feedback.success[b-e3hlq25ce7] {
    border-color: rgba(35, 130, 103, .16);
    color: var(--eco-green);
    background: var(--eco-green-soft);
}

.up-feedback.danger[b-e3hlq25ce7] {
    border-color: rgba(198, 79, 91, .16);
    color: var(--eco-red);
    background: var(--eco-red-soft);
}

.up-feedback code[b-e3hlq25ce7] {
    color: inherit;
}

.up-warning[b-e3hlq25ce7] {
    border-color: rgba(168, 118, 28, .18);
    color: var(--eco-amber);
    background: var(--eco-amber-soft);
}

.up-loading[b-e3hlq25ce7] {
    min-height: 110px;
    display: grid;
    place-items: center;
    color: var(--eco-muted);
    font-size: .80rem;
}

/* ============================================================
   ACTIVE SUMMARY
   ============================================================ */

.up-summary[b-e3hlq25ce7] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin: 14px 18px 0;
}

.up-summary article[b-e3hlq25ce7] {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding: 11px 12px;
    border: 1px solid var(--eco-border);
    border-radius: 11px;
    background: var(--eco-panel-soft);
}

.up-summary span[b-e3hlq25ce7],
.up-summary small[b-e3hlq25ce7] {
    color: var(--eco-muted);
    font-size: .66rem;
    line-height: 1.45;
}

.up-summary strong[b-e3hlq25ce7] {
    overflow: hidden;
    color: var(--eco-text);
    font-size: .82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================================
   FORM / SECTIONS
   ============================================================ */

.up-form[b-e3hlq25ce7] {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.up-section[b-e3hlq25ce7] {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--eco-border);
    border-radius: 14px;
    background: var(--eco-panel);
}

.up-section-title[b-e3hlq25ce7] {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 15px;
    border-bottom: 1px solid var(--eco-border);
    background: var(--eco-panel-soft);
}

.up-section-title > span[b-e3hlq25ce7] {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--eco-accent);
    background: var(--eco-accent-soft);
    font-size: .69rem;
    font-weight: 900;
}

.up-section-title > div[b-e3hlq25ce7] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.up-section-title strong[b-e3hlq25ce7] {
    color: var(--eco-text);
    font-size: .88rem;
    line-height: 1.45;
}

.up-section-title small[b-e3hlq25ce7] {
    color: var(--eco-muted);
    font-size: .70rem;
    line-height: 1.7;
}

/* ============================================================
   FIELD GRIDS / CONTROLS
   ============================================================ */

.up-grid[b-e3hlq25ce7] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 11px;
    padding: 15px;
}

.up-grid.prices[b-e3hlq25ce7] {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.unified-pricing label[b-e3hlq25ce7] {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 6px;
}

.unified-pricing label > span[b-e3hlq25ce7] {
    color: var(--eco-secondary);
    font-size: .70rem;
    font-weight: 720;
    line-height: 1.55;
}

.unified-pricing input[b-e3hlq25ce7],
.unified-pricing select[b-e3hlq25ce7],
.unified-pricing textarea[b-e3hlq25ce7] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--eco-border-strong);
    border-radius: 10px;
    outline: none;
    color: var(--eco-text);
    background: var(--eco-panel-soft);
    font: inherit;
    font-size: .78rem;
    transition:
        border-color .14s ease,
        box-shadow .14s ease,
        background-color .14s ease;
}

.unified-pricing input[b-e3hlq25ce7],
.unified-pricing select[b-e3hlq25ce7] {
    min-height: 42px;
    padding: 0 11px;
}

.unified-pricing textarea[b-e3hlq25ce7] {
    min-height: 105px;
    resize: vertical;
    padding: 10px 11px;
    line-height: 1.7;
}

.unified-pricing input:hover[b-e3hlq25ce7],
.unified-pricing select:hover[b-e3hlq25ce7],
.unified-pricing textarea:hover[b-e3hlq25ce7] {
    border-color: var(--eco-border-strong);
    background: var(--eco-panel);
}

.unified-pricing input:focus[b-e3hlq25ce7],
.unified-pricing select:focus[b-e3hlq25ce7],
.unified-pricing textarea:focus[b-e3hlq25ce7] {
    border-color: rgba(95, 112, 232, .48);
    background: var(--eco-panel);
    box-shadow: 0 0 0 3px rgba(95, 112, 232, .08);
}

.unified-pricing input[type="number"][b-e3hlq25ce7] {
    direction: ltr;
    text-align: left;
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   TABLES: MODEL TOKEN RATES + PACKAGE/INPUT MATRIX
   ============================================================ */

.up-section table[b-e3hlq25ce7] {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    table-layout: fixed;
}

.up-section table thead[b-e3hlq25ce7] {
    background: var(--eco-panel-muted);
}

.up-section table th[b-e3hlq25ce7],
.up-section table td[b-e3hlq25ce7] {
    padding: 10px 11px;
    border-bottom: 1px solid var(--eco-border);
    vertical-align: middle;
}

.up-section table th[b-e3hlq25ce7] {
    color: var(--eco-muted);
    font-size: .67rem;
    font-weight: 800;
    line-height: 1.55;
}

.up-section table td[b-e3hlq25ce7] {
    color: var(--eco-secondary);
    font-size: .72rem;
}

.up-section table tbody tr:last-child th[b-e3hlq25ce7],
.up-section table tbody tr:last-child td[b-e3hlq25ce7] {
    border-bottom: 0;
}

.up-section table tbody tr:hover[b-e3hlq25ce7] {
    background: rgba(95, 112, 232, .025);
}

.up-section table td input[b-e3hlq25ce7] {
    min-height: 38px;
    padding-inline: 9px;
    font-size: .73rem;
}

.up-model-table[b-e3hlq25ce7] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.up-model-table table[b-e3hlq25ce7],
table.up-model-table[b-e3hlq25ce7] {
    min-width: 900px;
}

.up-model-table strong[b-e3hlq25ce7],
.up-section table td strong[b-e3hlq25ce7] {
    color: var(--eco-text);
    font-size: .76rem;
}

.up-model-table small[b-e3hlq25ce7],
.up-section table td small[b-e3hlq25ce7] {
    color: var(--eco-muted);
    font-size: .64rem;
    line-height: 1.5;
}

/* When the markup uses a div wrapper rather than the table itself. */
.up-section:has(table)[b-e3hlq25ce7] {
    overflow-x: auto;
}

/* ============================================================
   AUDIT / SAVE
   ============================================================ */

.up-section.audit[b-e3hlq25ce7] {
    overflow: visible;
}

.up-audit[b-e3hlq25ce7] {
    margin: 15px 15px 0;
}

.up-save[b-e3hlq25ce7] {
    min-height: 44px;
    margin: 13px 15px 15px;
    padding: 0 17px;
    border: 1px solid var(--eco-accent);
    border-radius: 10px;
    color: #fff;
    background: var(--eco-accent);
    font: inherit;
    font-size: .78rem;
    font-weight: 820;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(95, 112, 232, .17);
    transition:
        transform .12s ease,
        background-color .12s ease,
        box-shadow .12s ease;
}

.up-save:hover[b-e3hlq25ce7] {
    background: var(--eco-accent-hover);
    box-shadow: 0 10px 22px rgba(95, 112, 232, .22);
}

.up-save:active[b-e3hlq25ce7] {
    transform: translateY(1px);
}

.up-save:focus-visible[b-e3hlq25ce7],
.unified-pricing input:focus-visible[b-e3hlq25ce7],
.unified-pricing select:focus-visible[b-e3hlq25ce7],
.unified-pricing textarea:focus-visible[b-e3hlq25ce7] {
    outline: 2px solid var(--eco-accent);
    outline-offset: 2px;
}

/* ============================================================
   VERSION HISTORY
   ============================================================ */

.up-history[b-e3hlq25ce7] {
    margin: 0 18px 18px;
    padding: 15px;
    border: 1px solid var(--eco-border);
    border-radius: 14px;
    background: var(--eco-panel-soft);
}

.up-history h3[b-e3hlq25ce7] {
    margin: 0 0 11px;
    color: var(--eco-text);
    font-size: .90rem;
}

.up-history-list[b-e3hlq25ce7] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
}

.up-history-list article[b-e3hlq25ce7] {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding: 11px 12px;
    border: 1px solid var(--eco-border);
    border-radius: 10px;
    background: var(--eco-panel);
}

.up-history-list strong[b-e3hlq25ce7] {
    overflow: hidden;
    color: var(--eco-text);
    font-size: .76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.up-history-list span[b-e3hlq25ce7] {
    color: var(--eco-accent);
    font-size: .72rem;
    font-weight: 760;
}

.up-history-list small[b-e3hlq25ce7] {
    color: var(--eco-muted);
    font-size: .64rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1280px) {
    .up-summary[b-e3hlq25ce7] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .up-header[b-e3hlq25ce7] {
        align-items: stretch;
        flex-direction: column;
    }

    .up-live-badge[b-e3hlq25ce7],
    .up-unconfigured-badge[b-e3hlq25ce7] {
        align-self: flex-start;
    }

    .up-summary[b-e3hlq25ce7] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .up-grid[b-e3hlq25ce7],
    .up-grid.prices[b-e3hlq25ce7] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .up-header[b-e3hlq25ce7] {
        padding: 18px 15px 16px;
    }

    .up-header h2[b-e3hlq25ce7] {
        font-size: 1.30rem;
    }

    .up-header p[b-e3hlq25ce7] {
        font-size: .76rem;
    }

    .up-formula[b-e3hlq25ce7],
    .up-feedback[b-e3hlq25ce7],
    .up-warning[b-e3hlq25ce7],
    .up-summary[b-e3hlq25ce7],
    .up-history[b-e3hlq25ce7] {
        margin-inline: 13px;
    }

    .up-form[b-e3hlq25ce7] {
        padding: 13px;
    }

    .up-summary[b-e3hlq25ce7],
    .up-grid[b-e3hlq25ce7],
    .up-grid.prices[b-e3hlq25ce7] {
        grid-template-columns: 1fr;
    }

    .up-section-title[b-e3hlq25ce7] {
        padding: 12px;
    }

    .up-grid[b-e3hlq25ce7] {
        padding: 12px;
    }

    .up-audit[b-e3hlq25ce7] {
        margin: 12px 12px 0;
    }

    .up-save[b-e3hlq25ce7] {
        width: calc(100% - 24px);
        margin: 12px;
    }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Analytics/AdminSiteAnalytics.razor.rz.scp.css */
.site-analytics[b-kd62hmbo6t] { max-width: 1260px; margin: 0 auto; padding: 34px 30px 48px; color: #1a2740; }

.page-header[b-kd62hmbo6t] { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.page-copy[b-kd62hmbo6t] { min-width: 0; flex: 1 1 420px; }
.eyebrow[b-kd62hmbo6t] { display: block; color: #506de5; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.page-header h1[b-kd62hmbo6t] { margin: 8px 0 10px; font-size: 30px; }
.page-header p[b-kd62hmbo6t] { max-width: 680px; margin: 0; color: #73819a; line-height: 1.8; }

.period[b-kd62hmbo6t] { display: grid; gap: 8px; justify-items: end; }
[dir="ltr"] .period[b-kd62hmbo6t] { justify-items: start; }
.period-switcher[b-kd62hmbo6t] { display: inline-flex; padding: 4px; background: #fff; border: 1px solid #e2e8f3; border-radius: 11px; gap: 2px; }
.period-switcher a[b-kd62hmbo6t] { padding: 7px 12px; border-radius: 8px; color: #5d6b84; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.period-switcher a:hover[b-kd62hmbo6t] { background: #f3f6fc; color: #23324b; }
.period-switcher a.active[b-kd62hmbo6t] { background: #3156db; color: #fff; }
.period-range[b-kd62hmbo6t] { display: flex; align-items: flex-end; gap: 8px; padding: 6px 8px; background: #fff; border: 1px solid #e2e8f3; border-radius: 11px; flex-wrap: wrap; }
.period-range.active[b-kd62hmbo6t] { border-color: #9fb1f3; box-shadow: 0 0 0 3px #edf1ff; }
.period-range label[b-kd62hmbo6t] { display: grid; gap: 3px; color: #73819a; font-size: 10px; font-weight: 700; }
.period-range input[b-kd62hmbo6t] { height: 32px; padding: 0 8px; border: 1px solid #d9e1ef; border-radius: 8px; background: #fbfcff; color: #23324b; font: inherit; font-size: 12px; }
.period-range button[b-kd62hmbo6t] { height: 32px; padding: 0 14px; border: 0; border-radius: 8px; background: #3156db; color: #fff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.period-caption[b-kd62hmbo6t] { color: #8793a8; font-size: 11px; }

.notice[b-kd62hmbo6t], .error[b-kd62hmbo6t], .info[b-kd62hmbo6t], .loading-state[b-kd62hmbo6t] { padding: 13px 15px; border-radius: 11px; margin-bottom: 16px; line-height: 1.8; font-size: 13px; }
.notice[b-kd62hmbo6t] { background: #eaf8ef; color: #176e40; }
.error[b-kd62hmbo6t] { background: #fff0f1; color: #b83442; }
.info[b-kd62hmbo6t] { background: #fff8e1; color: #7a5a14; border: 1px solid #f0dca4; }
.info strong[b-kd62hmbo6t] { margin-inline-end: 6px; }
.loading-state[b-kd62hmbo6t] { background: #fff; color: #73819a; border: 1px solid #e2e8f3; }

.kpis[b-kd62hmbo6t] { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi[b-kd62hmbo6t] { display: grid; gap: 6px; align-content: start; padding: 16px; background: #fff; border: 1px solid #e2e8f3; border-radius: 14px; box-shadow: 0 8px 25px rgba(37, 55, 94, .045); min-width: 0; }
.kpi > span[b-kd62hmbo6t] { color: #73819a; font-size: 12px; font-weight: 700; }
.kpi strong[b-kd62hmbo6t] { font-size: 24px; line-height: 1.2; overflow-wrap: anywhere; }
.kpi strong em[b-kd62hmbo6t] { font-style: normal; font-size: 12px; color: #8793a8; font-weight: 600; }
.kpi small[b-kd62hmbo6t] { color: #8793a8; font-size: 11px; line-height: 1.6; }
.kpi.accent[b-kd62hmbo6t] { border-color: #f0dca4; background: linear-gradient(180deg, #fffaf0, #fff); }
.kpi.accent strong[b-kd62hmbo6t] { color: #8a6516; }

.card[b-kd62hmbo6t] { background: #fff; border: 1px solid #e2e8f3; border-radius: 16px; box-shadow: 0 8px 25px rgba(37, 55, 94, .045); padding: 20px; margin-bottom: 18px; min-width: 0; }
.card-heading[b-kd62hmbo6t] { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #edf1f7; }
.card-heading h2[b-kd62hmbo6t] { font-size: 16px; margin: 0 0 5px; }
.card-heading p[b-kd62hmbo6t] { margin: 0; color: #74829a; font-size: 12px; line-height: 1.7; }

.two-columns[b-kd62hmbo6t] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.two-columns > .card[b-kd62hmbo6t] { margin-bottom: 18px; }

.empty[b-kd62hmbo6t] { padding: 22px; border: 1px dashed #d9e1ef; border-radius: 12px; color: #8793a8; font-size: 12px; text-align: center; }

/* ---------- chart ---------- */
.chart[b-kd62hmbo6t] { display: flex; align-items: stretch; gap: 4px; height: 190px; padding-top: 18px; overflow-x: auto; }
.chart-column[b-kd62hmbo6t] { flex: 1 1 0; min-width: 14px; display: grid; grid-template-rows: 1fr auto; gap: 6px; }
.chart-bar-area[b-kd62hmbo6t] { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.chart-bar[b-kd62hmbo6t] { width: 100%; max-width: 34px; min-height: 0; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #6f88ee, #3156db); }
.chart-column:hover .chart-bar[b-kd62hmbo6t] { background: linear-gradient(180deg, #8ea2f5, #4563dd); }
.chart-signups[b-kd62hmbo6t] { margin-bottom: 3px; padding: 1px 6px; border-radius: 100px; background: #fff3cf; color: #8a6516; font-size: 10px; font-weight: 800; white-space: nowrap; }
.chart-column small[b-kd62hmbo6t] { color: #8793a8; font-size: 9px; text-align: center; white-space: nowrap; overflow: hidden; }

/* ---------- tables ---------- */
.table-wrap[b-kd62hmbo6t] { overflow-x: auto; }
table[b-kd62hmbo6t] { width: 100%; border-collapse: collapse; font-size: 12px; }
th[b-kd62hmbo6t] { padding: 9px 10px; color: #73819a; font-weight: 700; text-align: start; white-space: nowrap; border-bottom: 1px solid #edf1f7; }
td[b-kd62hmbo6t] { padding: 10px; border-bottom: 1px solid #f1f4f9; color: #2b3a54; white-space: nowrap; }
tbody tr:hover td[b-kd62hmbo6t] { background: #fafbff; }
td.strong[b-kd62hmbo6t] { font-weight: 800; color: #1a2740; }
.source-name[b-kd62hmbo6t] { font-weight: 700; margin-inline-end: 6px; }
.page-name[b-kd62hmbo6t] { display: block; font-weight: 700; margin-bottom: 2px; }
.code[b-kd62hmbo6t] { font-family: Consolas, "Courier New", monospace; font-size: 11px; color: #73819a; direction: ltr; unicode-bidi: isolate; }

.chip[b-kd62hmbo6t] { display: inline-block; padding: 2px 7px; border-radius: 100px; font-size: 10px; font-weight: 700; background: #f1f4f9; color: #5d6b84; }
.chip.organic[b-kd62hmbo6t] { background: #eaf8ef; color: #176e40; }
.chip.social[b-kd62hmbo6t] { background: #fdeef6; color: #a0306c; }
.chip.ai[b-kd62hmbo6t] { background: #f1edff; color: #5a3fc0; }
.chip.direct[b-kd62hmbo6t] { background: #eef3ff; color: #3653c0; }
.chip.unknown[b-kd62hmbo6t] { background: #f4f4f4; color: #8a8a8a; }

/* ---------- link builder ---------- */
.builder[b-kd62hmbo6t] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.builder label[b-kd62hmbo6t] { display: grid; gap: 6px; align-content: start; font-size: 12px; font-weight: 700; color: #3d4c65; }
.builder label em[b-kd62hmbo6t] { color: #c84d52; font-style: normal; }
.builder label small[b-kd62hmbo6t] { color: #8793a8; font-size: 10px; font-weight: 400; line-height: 1.6; }
.builder label:first-of-type[b-kd62hmbo6t] { grid-column: 1 / -1; }
.builder input[b-kd62hmbo6t], .builder select[b-kd62hmbo6t] { box-sizing: border-box; width: 100%; height: 40px; padding: 0 10px; background: #fbfcff; border: 1px solid #d9e1ef; border-radius: 9px; color: #23324b; font: inherit; font-size: 13px; outline: none; }
.builder input:focus[b-kd62hmbo6t], .builder select:focus[b-kd62hmbo6t] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }
.builder button[b-kd62hmbo6t] { grid-column: 1 / -1; justify-self: start; border: 0; border-radius: 10px; background: #3156db; color: #fff; padding: 11px 18px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 18px rgba(49, 86, 219, .2); }

.built-link[b-kd62hmbo6t] { margin-top: 16px; padding: 14px; border-radius: 12px; background: #f3f6fc; display: grid; gap: 8px; }
.built-link > span[b-kd62hmbo6t] { font-size: 12px; font-weight: 700; color: #3d4c65; }
.built-link-row[b-kd62hmbo6t] { display: flex; gap: 8px; }
.built-link-row input[b-kd62hmbo6t] { flex: 1; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid #d9e1ef; border-radius: 9px; background: #fff; color: #23324b; font-family: Consolas, "Courier New", monospace; font-size: 12px; }
.built-link-row button[b-kd62hmbo6t] { flex: none; border: 0; border-radius: 9px; background: #1a2740; color: #fff; padding: 0 16px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }

/* ---------- this browser ---------- */
.this-browser[b-kd62hmbo6t] { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.this-browser h2[b-kd62hmbo6t] { font-size: 15px; margin: 0 0 6px; }
.this-browser p[b-kd62hmbo6t] { margin: 0; color: #74829a; font-size: 12px; line-height: 1.8; max-width: 720px; }
.this-browser button[b-kd62hmbo6t] { flex: none; border: 0; border-radius: 10px; background: #3156db; color: #fff; padding: 11px 16px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.this-browser button.ghost[b-kd62hmbo6t] { background: #fff; color: #3156db; border: 1px solid #c9d4f6; }

@media (max-width: 1180px) {
    .kpis[b-kd62hmbo6t] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .two-columns[b-kd62hmbo6t] { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
    .site-analytics[b-kd62hmbo6t] { padding: 22px 14px 36px; }
    .page-header h1[b-kd62hmbo6t] { font-size: 24px; }
    .period[b-kd62hmbo6t], [dir="ltr"] .period[b-kd62hmbo6t] { justify-items: stretch; width: 100%; }
    .period-switcher[b-kd62hmbo6t] { overflow-x: auto; }
    .kpis[b-kd62hmbo6t] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .builder[b-kd62hmbo6t] { grid-template-columns: minmax(0, 1fr); }
    .this-browser[b-kd62hmbo6t] { flex-direction: column; align-items: stretch; }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Announcements/AdminAnnouncements.razor.rz.scp.css */
.admin-announcements[b-ynffyufcv3] { max-width: 1260px; margin: 0 auto; padding: 34px 30px 48px; color: #1a2740; }

.page-header[b-ynffyufcv3] { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.eyebrow[b-ynffyufcv3] { display: block; color: #506de5; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.page-header h1[b-ynffyufcv3] { margin: 8px 0 10px; font-size: 30px; }
.page-header p[b-ynffyufcv3] { max-width: 680px; margin: 0; color: #73819a; line-height: 1.8; }

.state-badge[b-ynffyufcv3] { border-radius: 10px; padding: 10px 13px; font-size: 12px; white-space: nowrap; border: 1px solid; }
.state-badge span[b-ynffyufcv3] { margin-inline-end: 6px; }
.state-badge.on[b-ynffyufcv3] { border-color: #f0dca4; background: #fff8e1; color: #8a6516; }
.state-badge.off[b-ynffyufcv3] { border-color: #e2e8f3; background: #f6f8fc; color: #5d6b84; }

.notice[b-ynffyufcv3], .error[b-ynffyufcv3], .loading-state[b-ynffyufcv3] { padding: 13px 15px; border-radius: 11px; margin-bottom: 16px; }
.notice[b-ynffyufcv3] { background: #eaf8ef; color: #176e40; }
.notice small[b-ynffyufcv3] { margin-inline-start: 8px; color: #5c8b70; font-size: 11px; }
.error[b-ynffyufcv3] { background: #fff0f1; color: #b83442; }
.loading-state[b-ynffyufcv3] { background: #fff; color: #73819a; border: 1px solid #e2e8f3; }

.layout[b-ynffyufcv3] { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 18px; align-items: start; }

.editor-card[b-ynffyufcv3], .list-card[b-ynffyufcv3] { background: #fff; border: 1px solid #e2e8f3; border-radius: 16px; box-shadow: 0 8px 25px rgba(37, 55, 94, .045); padding: 22px; }

.card-heading[b-ynffyufcv3] { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #edf1f7; }
.card-heading h2[b-ynffyufcv3] { font-size: 17px; margin: 0 0 5px; }
.card-heading p[b-ynffyufcv3] { margin: 0; color: #74829a; font-size: 12px; line-height: 1.7; }
.card-icon[b-ynffyufcv3] { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #eaf0ff; color: #4563dd; font-size: 19px; flex: none; }
.card-icon.yellow[b-ynffyufcv3] { background: #fff3cf; color: #9a6b0a; font-weight: 900; }

.fields[b-ynffyufcv3] { display: grid; gap: 16px; padding-top: 18px; }
.fields label[b-ynffyufcv3] { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.fields label > span[b-ynffyufcv3] { color: #3d4c65; }
.fields label > span em[b-ynffyufcv3] { color: #c84d52; font-style: normal; }
.fields small[b-ynffyufcv3] { color: #8793a8; font-size: 11px; font-weight: 400; }
.fields input:not([type="checkbox"])[b-ynffyufcv3], .fields textarea[b-ynffyufcv3] { box-sizing: border-box; width: 100%; padding: 10px 11px; background: #fbfcff; border: 1px solid #d9e1ef; border-radius: 9px; color: #23324b; font: inherit; font-size: 13px; outline: none; resize: vertical; }
.fields input:not([type="checkbox"])[b-ynffyufcv3] { height: 42px; }
.fields input:focus[b-ynffyufcv3], .fields textarea:focus[b-ynffyufcv3] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }

.english[b-ynffyufcv3] { display: grid; gap: 12px; padding: 12px 14px; border: 1px dashed #d9e1ef; border-radius: 11px; }
.english summary[b-ynffyufcv3] { color: #3d4c65; font-size: 12px; font-weight: 700; cursor: pointer; }
.english p[b-ynffyufcv3] { margin: 0; color: #8793a8; font-size: 11px; line-height: 1.7; }

.toggle-row[b-ynffyufcv3] { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 4px 0; cursor: pointer; }
.toggle-row span[b-ynffyufcv3] { display: grid; gap: 4px; }
.toggle-row strong[b-ynffyufcv3] { font-size: 13px; }
.toggle-row small[b-ynffyufcv3] { color: #7c899f; font-size: 11px; line-height: 1.5; }
.toggle-row input[b-ynffyufcv3] { position: absolute; opacity: 0; }
.toggle-row i[b-ynffyufcv3] { position: relative; display: block; width: 42px; height: 23px; background: #cbd4e2; border-radius: 100px; transition: .2s; flex: none; }
.toggle-row i[b-ynffyufcv3]:after { content: ""; position: absolute; width: 17px; height: 17px; border-radius: 50%; background: #fff; top: 3px; right: 3px; box-shadow: 0 1px 3px #889; transition: .2s; }
.toggle-row input:checked + i[b-ynffyufcv3] { background: #d9a520; }
.toggle-row input:checked + i[b-ynffyufcv3]:after { right: 22px; }
.toggle-row input:focus-visible + i[b-ynffyufcv3] { box-shadow: 0 0 0 3px #fff3cf; }

.form-footer[b-ynffyufcv3] { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #edf1f7; }
.form-footer button[b-ynffyufcv3] { border: 0; border-radius: 10px; background: #3156db; color: #fff; padding: 12px 18px; font: inherit; font-size: 13px; font-weight: 700; box-shadow: 0 8px 18px rgba(49, 86, 219, .2); cursor: pointer; }
.form-footer button span[b-ynffyufcv3] { margin-inline-end: 6px; }
.form-footer .ghost[b-ynffyufcv3] { padding: 11px 14px; border: 1px solid #d9e1ef; border-radius: 10px; color: #5d6b84; font-size: 13px; text-decoration: none; }

.empty[b-ynffyufcv3] { margin: 20px 0 4px; padding: 26px; border: 1px dashed #d9e1ef; border-radius: 12px; color: #8793a8; font-size: 12px; text-align: center; }

.items[b-ynffyufcv3] { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.items li[b-ynffyufcv3] { padding: 12px; border: 1px solid #edf1f7; border-radius: 14px; background: #fbfcff; }
.items li.is-editing[b-ynffyufcv3] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }
.items li.is-off .preview[b-ynffyufcv3] { opacity: .55; filter: grayscale(.4); }

/* How it looks on the customer's dashboard. */
.preview[b-ynffyufcv3] { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 15px; border: 1px solid rgb(176 129 20 / 40%); border-radius: 13px; background: #fdefc6; }
.preview-icon[b-ynffyufcv3] { width: 35px; height: 35px; flex: none; display: grid; place-items: center; border-radius: 9px; background: #f7dc8f; color: #7d5a10; }
.preview-icon svg[b-ynffyufcv3] { width: 18px; height: 18px; }
.preview > div[b-ynffyufcv3] { display: grid; gap: 2px; min-width: 0; }
.preview strong[b-ynffyufcv3] { color: #1c1b17; font-size: 13px; }
.preview > div > span[b-ynffyufcv3] { color: #5c5240; font-size: 12px; line-height: 1.6; }

.item-foot[b-ynffyufcv3] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
.status[b-ynffyufcv3] { padding: 3px 9px; border-radius: 100px; font-size: 11px; font-weight: 800; }
.status.on[b-ynffyufcv3] { background: #fff3cf; color: #8a6516; }
.status.off[b-ynffyufcv3] { background: #eef1f6; color: #6b778c; }
.item-foot small[b-ynffyufcv3] { color: #8793a8; font-size: 11px; }
.actions[b-ynffyufcv3] { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.actions form[b-ynffyufcv3] { margin: 0; }
.actions .small[b-ynffyufcv3] { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid #d9e1ef; border-radius: 8px; background: #fff; color: #3d4c65; font: inherit; font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; }
.actions .small:hover[b-ynffyufcv3] { border-color: #5773e7; color: #3156db; }
.actions .small.danger[b-ynffyufcv3] { color: #c84d52; }
.actions .small.danger:hover[b-ynffyufcv3] { border-color: #c84d52; background: #fff0f1; }

[data-theme="dark"] .admin-announcements[b-ynffyufcv3] { color: #e4ebf8; }
[data-theme="dark"] .editor-card[b-ynffyufcv3], [data-theme="dark"] .list-card[b-ynffyufcv3], [data-theme="dark"] .loading-state[b-ynffyufcv3] { background: #161c2e; border-color: #26304a; box-shadow: none; }
[data-theme="dark"] .card-heading[b-ynffyufcv3] { border-color: #26304a; }
[data-theme="dark"] .fields label > span[b-ynffyufcv3], [data-theme="dark"] .english summary[b-ynffyufcv3] { color: #c7d2e6; }
[data-theme="dark"] .fields input:not([type="checkbox"])[b-ynffyufcv3], [data-theme="dark"] .fields textarea[b-ynffyufcv3] { background: #101623; border-color: #2b3752; color: #e4ebf8; }
[data-theme="dark"] .english[b-ynffyufcv3], [data-theme="dark"] .empty[b-ynffyufcv3] { border-color: #2b3752; }
[data-theme="dark"] .items li[b-ynffyufcv3] { background: #101623; border-color: #26304a; }
[data-theme="dark"] .form-footer[b-ynffyufcv3] { border-color: #26304a; }
[data-theme="dark"] .actions .small[b-ynffyufcv3] { background: #161c2e; border-color: #2b3752; color: #c7d2e6; }
[data-theme="dark"] .state-badge.off[b-ynffyufcv3] { background: #101623; border-color: #2b3752; color: #b6c2d8; }

@media (max-width: 980px) {
    .layout[b-ynffyufcv3] { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
    .admin-announcements[b-ynffyufcv3] { padding: 22px 16px; }
    .page-header[b-ynffyufcv3] { align-items: flex-start; flex-direction: column; }
    .actions[b-ynffyufcv3] { margin-inline-start: 0; width: 100%; }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Audit/AdminAuditLog.razor.rz.scp.css */
.admin-audit-page[b-x6fbrkpn88] {
    display: grid;
    gap: 16px;
    color: var(--admin-text);
}

.admin-audit-hero[b-x6fbrkpn88] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--admin-line);
    border-radius: 18px;
    background: var(--admin-surface);
}

.admin-audit-hero > div[b-x6fbrkpn88] {
    min-width: 0;
}

.admin-audit-hero span[b-x6fbrkpn88] {
    color: var(--admin-accent);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .11em;
}

.admin-audit-hero h1[b-x6fbrkpn88] {
    margin: 6px 0 7px;
    font-size: 22px;
}

.admin-audit-hero p[b-x6fbrkpn88] {
    max-width: 820px;
    margin: 0;
    color: var(--admin-muted);
    font-size: 10px;
    line-height: 1.8;
}

.admin-audit-hero > a[b-x6fbrkpn88],
.admin-audit-filter-actions a[b-x6fbrkpn88],
.admin-audit-filter-actions button[b-x6fbrkpn88] {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    color: var(--admin-text-2);
    background: var(--admin-surface);
    text-decoration: none;
    font: inherit;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
}

.admin-audit-filter[b-x6fbrkpn88] {
    display: grid;
    grid-template-columns: 2fr repeat(4, minmax(0, 1fr)) auto;
    align-items: end;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--admin-line);
    border-radius: 15px;
    background: var(--admin-surface);
}

.admin-audit-filter label[b-x6fbrkpn88] {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.admin-audit-filter label > span[b-x6fbrkpn88] {
    color: var(--admin-muted);
    font-size: 7px;
    font-weight: 800;
}

.admin-audit-filter input[b-x6fbrkpn88],
.admin-audit-filter select[b-x6fbrkpn88] {
    width: 100%;
    min-width: 0;
    height: 36px;
    padding: 0 9px;
    border: 1px solid var(--admin-line);
    border-radius: 9px;
    outline: none;
    color: var(--admin-text);
    background: var(--admin-surface-soft);
    font: inherit;
    font-size: 8px;
}

.admin-audit-filter input:focus[b-x6fbrkpn88],
.admin-audit-filter select:focus[b-x6fbrkpn88] {
    border-color: color-mix(in srgb, var(--admin-accent) 45%, var(--admin-line));
}

.admin-audit-filter-actions[b-x6fbrkpn88] {
    display: flex;
    gap: 6px;
}

.admin-audit-filter-actions button[b-x6fbrkpn88] {
    border-color: transparent;
    color: white;
    background: var(--admin-accent);
}

.admin-audit-summary[b-x6fbrkpn88] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.admin-audit-summary article[b-x6fbrkpn88] {
    padding: 12px;
    border: 1px solid var(--admin-line);
    border-radius: 13px;
    background: var(--admin-surface);
}

.admin-audit-summary span[b-x6fbrkpn88],
.admin-audit-summary strong[b-x6fbrkpn88] {
    display: block;
}

.admin-audit-summary span[b-x6fbrkpn88] {
    color: var(--admin-muted);
    font-size: 7px;
}

.admin-audit-summary strong[b-x6fbrkpn88] {
    margin-top: 4px;
    font-size: 15px;
}

.admin-audit-list[b-x6fbrkpn88] {
    display: grid;
    gap: 8px;
}

.admin-audit-item[b-x6fbrkpn88] {
    overflow: hidden;
    border: 1px solid var(--admin-line);
    border-radius: 13px;
    background: var(--admin-surface);
}

.admin-audit-item > summary[b-x6fbrkpn88] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    list-style: none;
}

.admin-audit-item > summary[b-x6fbrkpn88]::-webkit-details-marker {
    display: none;
}

.admin-audit-item-main[b-x6fbrkpn88],
.admin-audit-item-reference[b-x6fbrkpn88] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.admin-audit-item-reference[b-x6fbrkpn88] {
    justify-items: end;
    text-align: end;
}

.admin-audit-action[b-x6fbrkpn88] {
    width: fit-content;
    padding: 3px 6px;
    border-radius: 999px;
    color: var(--admin-accent);
    background: var(--admin-accent-soft);
    font-size: 6.4px;
    font-weight: 900;
}

.admin-audit-item strong[b-x6fbrkpn88] {
    font-size: 9px;
}

.admin-audit-item small[b-x6fbrkpn88],
.admin-audit-item time[b-x6fbrkpn88] {
    color: var(--admin-muted);
    font-size: 6.5px;
}

.admin-audit-item code[b-x6fbrkpn88] {
    color: var(--admin-text-2);
    font-size: 6.5px;
    overflow-wrap: anywhere;
}

.admin-audit-detail[b-x6fbrkpn88] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 14px 14px;
    border-top: 1px solid var(--admin-line);
    background: var(--admin-surface-soft);
}

.admin-audit-detail > div[b-x6fbrkpn88] {
    min-width: 0;
    padding: 9px;
    border: 1px solid var(--admin-line);
    border-radius: 9px;
    background: var(--admin-surface);
}

.admin-audit-detail > div.is-wide[b-x6fbrkpn88] {
    grid-column: 1 / -1;
}

.admin-audit-detail span[b-x6fbrkpn88],
.admin-audit-detail strong[b-x6fbrkpn88],
.admin-audit-detail a[b-x6fbrkpn88] {
    display: block;
}

.admin-audit-detail span[b-x6fbrkpn88] {
    margin-bottom: 4px;
    color: var(--admin-muted);
    font-size: 6.5px;
}

.admin-audit-detail strong[b-x6fbrkpn88],
.admin-audit-detail a[b-x6fbrkpn88] {
    color: var(--admin-text-2);
    font-size: 7.2px;
    overflow-wrap: anywhere;
}

.admin-audit-detail a[b-x6fbrkpn88] {
    color: var(--admin-accent);
    text-decoration: none;
}

.admin-audit-detail pre[b-x6fbrkpn88] {
    max-height: 220px;
    margin: 0;
    overflow: auto;
    white-space: pre-wrap;
    color: var(--admin-text-2);
    font: inherit;
    font-size: 7px;
    line-height: 1.6;
}

.admin-audit-state[b-x6fbrkpn88] {
    padding: 24px;
    border: 1px dashed var(--admin-line);
    border-radius: 14px;
    color: var(--admin-muted);
    background: var(--admin-surface);
    text-align: center;
    font-size: 9px;
}

@media (max-width: 1180px) {
    .admin-audit-filter[b-x6fbrkpn88] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-audit-filter .is-search[b-x6fbrkpn88] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .admin-audit-hero[b-x6fbrkpn88],
    .admin-audit-item > summary[b-x6fbrkpn88] {
        flex-direction: column;
    }

    .admin-audit-item-reference[b-x6fbrkpn88] {
        justify-items: start;
        text-align: start;
    }

    .admin-audit-summary[b-x6fbrkpn88],
    .admin-audit-filter[b-x6fbrkpn88],
    .admin-audit-detail[b-x6fbrkpn88] {
        grid-template-columns: 1fr;
    }

    .admin-audit-filter .is-search[b-x6fbrkpn88],
    .admin-audit-detail > div.is-wide[b-x6fbrkpn88] {
        grid-column: auto;
    }

    .admin-audit-filter-actions[b-x6fbrkpn88] {
        width: 100%;
    }

    .admin-audit-filter-actions > *[b-x6fbrkpn88] {
        flex: 1;
    }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Auth/AdminAccessDenied.razor.rz.scp.css */
.admin-access-denied-page[b-84il0j4qh5] {
    min-height: 100dvh;
    padding: 28px;
    display: grid;
    place-items: center;
    color: #171c26;
    background:
        radial-gradient(circle at 18% 15%, rgba(24,68,198,.10), transparent 28rem),
        #eef2f8;
}

.admin-access-denied-card[b-84il0j4qh5] {
    width: min(560px, 100%);
    padding: 42px;
    border: 1px solid rgba(25,34,52,.08);
    border-radius: 26px;
    text-align: center;
    background: rgba(255,255,255,.92);
    box-shadow: 0 34px 90px rgba(33,51,86,.13);
}

.admin-access-denied-icon[b-84il0j4qh5] {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #c7464d;
    background: rgba(199,70,77,.08);
}

.admin-access-denied-icon svg[b-84il0j4qh5] {
    width: 29px;
    height: 29px;
}

.admin-access-denied-eyebrow[b-84il0j4qh5] {
    color: #1844c6;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.admin-access-denied-card h1[b-84il0j4qh5] {
    margin: 8px 0 10px;
    font-size: clamp(25px, 4vw, 34px);
    line-height: 1.3;
}

.admin-access-denied-card p[b-84il0j4qh5] {
    margin: 0;
    color: #687181;
    font-size: 12.5px;
    line-height: 1.9;
}

.admin-access-denied-actions[b-84il0j4qh5] {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-access-denied-actions a[b-84il0j4qh5] {
    min-height: 42px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 850;
}

.admin-access-denied-actions .is-primary[b-84il0j4qh5] {
    color: #fff;
    background: #1844c6;
}

.admin-access-denied-actions .is-secondary[b-84il0j4qh5] {
    border: 1px solid rgba(25,34,52,.10);
    color: #536072;
    background: #f8f9fb;
}

:global(html[data-theme="dark"]) .admin-access-denied-page[b-84il0j4qh5] {
    color: #edf1f8;
    background:
        radial-gradient(circle at 18% 15%, rgba(95,128,235,.12), transparent 28rem),
        #0c101a;
}

:global(html[data-theme="dark"]) .admin-access-denied-card[b-84il0j4qh5] {
    border-color: rgba(255,255,255,.07);
    background: #151b28;
    box-shadow: 0 38px 90px rgba(0,0,0,.34);
}

:global(html[data-theme="dark"]) .admin-access-denied-card p[b-84il0j4qh5] {
    color: #aeb7c7;
}

:global(html[data-theme="dark"]) .admin-access-denied-actions .is-secondary[b-84il0j4qh5] {
    border-color: rgba(255,255,255,.075);
    color: #b4bdcc;
    background: #192130;
}

@media (max-width: 600px) {
    .admin-access-denied-page[b-84il0j4qh5] {
        padding: 16px;
    }

    .admin-access-denied-card[b-84il0j4qh5] {
        padding: 30px 20px;
        border-radius: 21px;
    }

    .admin-access-denied-actions[b-84il0j4qh5] {
        display: grid;
    }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Auth/AdminLogin.razor.rz.scp.css */
.admin-login-page[b-0yki17hsta] {
    --admin-login-primary: #1844c6;
    --admin-login-primary-hover: #123aa9;
    --admin-login-primary-soft: rgba(24, 68, 198, .09);
    --admin-login-bg: #eef2f8;
    --admin-login-surface: rgba(255, 255, 255, .90);
    --admin-login-surface-strong: #ffffff;
    --admin-login-text: #141923;
    --admin-login-text-2: #596273;
    --admin-login-muted: #8b93a2;
    --admin-login-border: rgba(25, 34, 52, .09);
    --admin-login-border-strong: rgba(25, 34, 52, .14);
    --admin-login-danger: #c7464d;
    --admin-login-danger-soft: rgba(199, 70, 77, .08);
    --admin-login-shadow: 0 38px 100px rgba(33, 51, 86, .14);

    position: relative;
    min-height: 100dvh;
    overflow: hidden;
    color: var(--admin-login-text);
    background: var(--admin-login-bg);
}

.admin-login-background[b-0yki17hsta] {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.admin-login-orb[b-0yki17hsta] {
    position: absolute;
    border-radius: 999px;
    filter: blur(1px);
}

.orb-a[b-0yki17hsta] {
    width: 520px;
    height: 520px;
    inset-inline-start: -170px;
    top: -170px;
    background: radial-gradient(circle, rgba(24, 68, 198, .14), rgba(24, 68, 198, 0) 70%);
}

.orb-b[b-0yki17hsta] {
    width: 620px;
    height: 620px;
    inset-inline-end: -230px;
    bottom: -250px;
    background: radial-gradient(circle, rgba(83, 115, 223, .11), rgba(83, 115, 223, 0) 72%);
}

.admin-login-grid[b-0yki17hsta] {
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image:
        linear-gradient(rgba(31, 48, 80, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 48, 80, .045) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 70%);
}

.admin-login-topbar[b-0yki17hsta] {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 48px));
    min-height: 86px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.admin-login-brand[b-0yki17hsta] {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.admin-login-brand-mark[b-0yki17hsta] {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--admin-login-border);
    border-radius: 14px;
    color: var(--admin-login-primary);
    background: rgba(255,255,255,.72);
    box-shadow: 0 8px 24px rgba(26, 46, 84, .06);
}

.admin-login-brand-mark svg[b-0yki17hsta] {
    width: 24px;
    height: 24px;
}

.admin-login-brand > span:last-child[b-0yki17hsta] {
    display: grid;
    gap: 2px;
}

.admin-login-brand strong[b-0yki17hsta] {
    font-size: 14px;
    letter-spacing: -.01em;
}

.admin-login-brand small[b-0yki17hsta] {
    color: var(--admin-login-muted);
    font-size: 10px;
    font-weight: 700;
}

.admin-login-top-actions[b-0yki17hsta] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-login-top-button[b-0yki17hsta] {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    border: 1px solid var(--admin-login-border);
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: #5c6574;
    background: rgba(255,255,255,.68);
    text-decoration: none;
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}

.admin-login-top-button:hover[b-0yki17hsta] {
    border-color: rgba(24,68,198,.24);
    color: var(--admin-login-primary);
    background: #fff;
    transform: translateY(-1px);
}

.admin-login-language[b-0yki17hsta] {
    font-size: 11px;
    font-weight: 900;
}

.admin-login-top-button svg[b-0yki17hsta] {
    width: 18px;
    height: 18px;
}

.admin-login-theme-dark[b-0yki17hsta] {
    display: none;
}

.admin-login-shell[b-0yki17hsta] {
    position: relative;
    z-index: 1;
    width: min(1080px, calc(100% - 48px));
    margin: 38px auto 70px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(310px, .82fr);
    border: 1px solid rgba(255,255,255,.88);
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255,255,255,.46);
    box-shadow: var(--admin-login-shadow);
    backdrop-filter: blur(28px);
}

.admin-login-card[b-0yki17hsta] {
    padding: clamp(28px, 4vw, 52px);
    background: var(--admin-login-surface);
}

.admin-login-card-heading[b-0yki17hsta] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 30px;
}

.admin-login-security-mark[b-0yki17hsta] {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--admin-login-primary);
    background: var(--admin-login-primary-soft);
}

.admin-login-security-mark svg[b-0yki17hsta] {
    width: 25px;
    height: 25px;
}

.admin-login-eyebrow[b-0yki17hsta],
.admin-login-side-eyebrow[b-0yki17hsta] {
    color: var(--admin-login-primary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.admin-login-card h1[b-0yki17hsta] {
    margin: 6px 0 8px;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.25;
    letter-spacing: -.035em;
}

.admin-login-card-heading p[b-0yki17hsta],
.admin-login-side-card p[b-0yki17hsta] {
    margin: 0;
    color: var(--admin-login-text-2);
    font-size: 13px;
    line-height: 1.9;
}

.admin-login-alert[b-0yki17hsta] {
    margin-bottom: 22px;
    padding: 13px 15px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    border: 1px solid rgba(199,70,77,.16);
    border-radius: 14px;
    color: #a33a41;
    background: var(--admin-login-danger-soft);
    font-size: 12px;
    line-height: 1.7;
}

.admin-login-alert-icon[b-0yki17hsta] {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
}

.admin-login-alert-icon svg[b-0yki17hsta] {
    width: 17px;
    height: 17px;
}

.admin-login-form[b-0yki17hsta] {
    display: grid;
    gap: 18px;
}

.admin-login-field[b-0yki17hsta] {
    display: grid;
    gap: 8px;
}

.admin-login-field > span[b-0yki17hsta] {
    color: #3f4858;
    font-size: 11px;
    font-weight: 850;
}

.admin-login-input-shell[b-0yki17hsta] {
    min-height: 50px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid var(--admin-login-border-strong);
    border-radius: 15px;
    background: rgba(249,250,253,.88);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.admin-login-input-shell:focus-within[b-0yki17hsta] {
    border-color: rgba(24,68,198,.48);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(24,68,198,.08);
}

.admin-login-input-icon[b-0yki17hsta] {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: #8c94a2;
}

.admin-login-input-icon svg[b-0yki17hsta] {
    width: 18px;
    height: 18px;
}

.admin-login-input-shell input[b-0yki17hsta] {
    width: 100%;
    height: 48px;
    padding: 0;
    border: 0;
    outline: 0;
    color: var(--admin-login-text);
    background: transparent;
    font: inherit;
    font-size: 13px;
}

.admin-login-input-shell input[b-0yki17hsta]::placeholder {
    color: #aab0bb;
}

.admin-login-submit[b-0yki17hsta] {
    min-height: 50px;
    margin-top: 3px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 15px;
    color: #fff;
    background: var(--admin-login-primary);
    box-shadow: 0 15px 30px rgba(24,68,198,.20);
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.admin-login-submit:hover[b-0yki17hsta] {
    background: var(--admin-login-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(24,68,198,.24);
}

.admin-login-submit svg[b-0yki17hsta] {
    width: 18px;
    height: 18px;
}

[dir="rtl"] .admin-login-submit svg[b-0yki17hsta] {
    transform: scaleX(-1);
}

.admin-login-hint[b-0yki17hsta] {
    margin: -6px 0 0;
    color: var(--admin-login-muted);
    font-size: 10.5px;
    line-height: 1.75;
}

.admin-login-restart[b-0yki17hsta] {
    justify-self: center;
    color: var(--admin-login-primary);
    text-decoration: none;
    font-size: 10.5px;
    font-weight: 800;
}

.admin-login-security-note[b-0yki17hsta] {
    margin-top: 22px;
    padding-top: 19px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    border-top: 1px solid var(--admin-login-border);
    color: var(--admin-login-muted);
    font-size: 10.5px;
    line-height: 1.75;
}

.admin-login-security-note svg[b-0yki17hsta] {
    width: 17px;
    height: 17px;
    margin-top: 1px;
}

.admin-login-side-card[b-0yki17hsta] {
    position: relative;
    padding: clamp(30px, 4vw, 52px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ecf1ff;
    background:
        radial-gradient(circle at 80% 14%, rgba(101,129,230,.22), transparent 30%),
        linear-gradient(155deg, #202c46 0%, #151d2d 64%, #121926 100%);
}

.admin-login-side-card[b-0yki17hsta]::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 22px;
    pointer-events: none;
}

.admin-login-side-card > *[b-0yki17hsta] {
    position: relative;
    z-index: 1;
}

.admin-login-side-eyebrow[b-0yki17hsta] {
    color: #94abff;
}

.admin-login-side-card h2[b-0yki17hsta] {
    margin: 10px 0 13px;
    font-size: clamp(23px, 2.8vw, 31px);
    line-height: 1.38;
    letter-spacing: -.035em;
}

.admin-login-side-card p[b-0yki17hsta] {
    color: #aeb9cd;
}

.admin-login-feature-list[b-0yki17hsta] {
    margin-top: 26px;
    display: grid;
    gap: 12px;
}

[b-0yki17hsta] .admin-login-feature {
    min-height: 38px;
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 10px;
    align-items: center;
    color: #dce5f7;
}

[b-0yki17hsta] .admin-login-feature span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #9db0fb;
    background: rgba(130,153,236,.10);
}

[b-0yki17hsta] .admin-login-feature svg {
    width: 15px;
    height: 15px;
}

[b-0yki17hsta] .admin-login-feature strong {
    font-size: 11px;
    font-weight: 750;
}

.admin-login-user-link[b-0yki17hsta] {
    width: fit-content;
    margin-top: 32px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(157,176,251,.35);
    color: #aebfff;
    text-decoration: none;
    font-size: 10.5px;
    font-weight: 800;
}

:global(html[data-theme="dark"]) .admin-login-page[b-0yki17hsta] {
    --admin-login-bg: #0c101a;
    --admin-login-surface: rgba(20, 26, 39, .94);
    --admin-login-surface-strong: #151b28;
    --admin-login-text: #edf1f8;
    --admin-login-text-2: #aeb7c7;
    --admin-login-muted: #737e90;
    --admin-login-border: rgba(255,255,255,.065);
    --admin-login-border-strong: rgba(255,255,255,.095);
    --admin-login-primary: #708df1;
    --admin-login-primary-hover: #8099f3;
    --admin-login-primary-soft: rgba(95,128,235,.12);
    --admin-login-shadow: 0 42px 110px rgba(0,0,0,.38);
}

:global(html[data-theme="dark"]) .admin-login-grid[b-0yki17hsta] {
    opacity: .16;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
}

:global(html[data-theme="dark"]) .admin-login-brand-mark[b-0yki17hsta],
:global(html[data-theme="dark"]) .admin-login-top-button[b-0yki17hsta] {
    border-color: rgba(255,255,255,.075);
    color: #b3bdd0;
    background: rgba(21,27,40,.76);
}

:global(html[data-theme="dark"]) .admin-login-top-button:hover[b-0yki17hsta] {
    color: #91a8fb;
    background: #181f2e;
}

:global(html[data-theme="dark"]) .admin-login-shell[b-0yki17hsta] {
    border-color: rgba(255,255,255,.055);
    background: rgba(9,13,21,.56);
}

:global(html[data-theme="dark"]) .admin-login-field > span[b-0yki17hsta] {
    color: #c6cddd;
}

:global(html[data-theme="dark"]) .admin-login-input-shell[b-0yki17hsta] {
    background: rgba(255,255,255,.035);
}

:global(html[data-theme="dark"]) .admin-login-input-shell:focus-within[b-0yki17hsta] {
    background: rgba(255,255,255,.055);
}

:global(html[data-theme="dark"]) .admin-login-theme-light[b-0yki17hsta] {
    display: none;
}

:global(html[data-theme="dark"]) .admin-login-theme-dark[b-0yki17hsta] {
    display: block;
}

@media (max-width: 900px) {
    .admin-login-shell[b-0yki17hsta] {
        grid-template-columns: 1fr;
        width: min(680px, calc(100% - 36px));
        margin-top: 20px;
    }

    .admin-login-side-card[b-0yki17hsta] {
        min-height: 360px;
    }
}

@media (max-width: 600px) {
    .admin-login-topbar[b-0yki17hsta] {
        width: calc(100% - 28px);
        min-height: 72px;
    }

    .admin-login-brand small[b-0yki17hsta] {
        display: none;
    }

    .admin-login-shell[b-0yki17hsta] {
        width: calc(100% - 24px);
        margin: 12px auto 34px;
        border-radius: 22px;
    }

    .admin-login-card[b-0yki17hsta],
    .admin-login-side-card[b-0yki17hsta] {
        padding: 24px 20px;
    }

    .admin-login-card-heading[b-0yki17hsta] {
        grid-template-columns: 1fr;
    }

    .admin-login-security-mark[b-0yki17hsta] {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .admin-login-side-card[b-0yki17hsta] {
        min-height: 330px;
    }
}

/* Goftito logo in the brand box. */
.admin-login-brand-mark .goftito-mark[b-0yki17hsta] {
    display: block;
    width: 72%;
    height: 72%;
    object-fit: contain;
}
/* _content/AITranslationPlatform.Web/Components/Admin/Backups/AdminBackups.razor.rz.scp.css */
.admin-backups[b-56e6txy0ns] { max-width: 1260px; margin: 0 auto; padding: 34px 30px 48px; color: #1a2740; }

.page-header[b-56e6txy0ns] { margin-bottom: 24px; }
.eyebrow[b-56e6txy0ns] { display: block; color: #506de5; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.page-header h1[b-56e6txy0ns] { margin: 8px 0 10px; font-size: 30px; }
.page-header p[b-56e6txy0ns] { margin: 0; color: #73819a; line-height: 1.8; }

.cards[b-56e6txy0ns] { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.card[b-56e6txy0ns] { background: #fff; border: 1px solid #e2e8f3; border-radius: 16px; box-shadow: 0 8px 25px rgba(37, 55, 94, .045); padding: 22px; }
.card + .card[b-56e6txy0ns], .cards + .card[b-56e6txy0ns], .card.inspection[b-56e6txy0ns], .card.report[b-56e6txy0ns], .card.files[b-56e6txy0ns] { margin-top: 18px; }
.cards > .card[b-56e6txy0ns] { margin-top: 0; }
.card-heading[b-56e6txy0ns] { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #edf1f7; }
.card-heading h2[b-56e6txy0ns] { font-size: 17px; margin: 0 0 5px; }
.card-heading p[b-56e6txy0ns] { margin: 0; color: #74829a; font-size: 12px; line-height: 1.8; }
.card-icon[b-56e6txy0ns] { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #eaf0ff; color: #4563dd; font-size: 19px; flex: none; }
.card-icon.purple[b-56e6txy0ns] { background: #f2ecff; color: #7b5cdb; }
.card-icon.green[b-56e6txy0ns] { background: #e9f8ef; color: #1f8a52; }
.card-icon.amber[b-56e6txy0ns] { background: #fff0d6; color: #ba7414; }
.card-icon.red[b-56e6txy0ns] { background: #fff0f1; color: #b83442; }

.scope[b-56e6txy0ns] { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 16px; }
.scope h3[b-56e6txy0ns] { margin: 0 0 8px; font-size: 13px; color: #3d4c65; }
.scope ul[b-56e6txy0ns] { margin: 0; padding-inline-start: 18px; color: #5d6b84; font-size: 12px; line-height: 1.9; }

.card-action[b-56e6txy0ns], .upload-form[b-56e6txy0ns], .restore-form[b-56e6txy0ns], .password-form[b-56e6txy0ns], .unlock-form[b-56e6txy0ns] { margin-top: 18px; }
.upload-row[b-56e6txy0ns] { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.upload-row input[type="file"][b-56e6txy0ns] { flex: 1 1 220px; min-width: 0; font-size: 12px; color: #3d4c65; }
.upload-form .progress[hidden][b-56e6txy0ns], .upload-form .warning[hidden][b-56e6txy0ns] { display: none; }

button[b-56e6txy0ns] { border: 0; border-radius: 10px; background: #3156db; color: #fff; padding: 11px 18px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 18px rgba(49, 86, 219, .2); }
button.danger[b-56e6txy0ns] { background: #c4384a; box-shadow: 0 8px 18px rgba(196, 56, 74, .2); }
button:disabled[b-56e6txy0ns] { opacity: .45; cursor: not-allowed; box-shadow: none; }

.password-form[b-56e6txy0ns], .unlock-form[b-56e6txy0ns] { display: grid; gap: 10px; max-width: 420px; }
.password-form label[b-56e6txy0ns], .unlock-form label[b-56e6txy0ns] { display: grid; gap: 5px; font-size: 12px; color: #3d4c65; }
.password-form input[b-56e6txy0ns], .unlock-form input[b-56e6txy0ns] { border: 1px solid #d8e0ec; border-radius: 10px; padding: 9px 12px; font: inherit; background: #fff; color: inherit; }
.password-form button[b-56e6txy0ns], .unlock-form button[b-56e6txy0ns] { justify-self: start; }
.password-change[b-56e6txy0ns] { margin-top: 14px; }
.password-change summary[b-56e6txy0ns] { color: #3156db; font-weight: 700; font-size: 12px; cursor: pointer; }

.card.operation[b-56e6txy0ns] { margin-bottom: 18px; }
.card.operation.running[b-56e6txy0ns] { border-color: #c9d6fb; }
.card.operation.failed[b-56e6txy0ns] { border-color: #f3c6cc; }
.progress[b-56e6txy0ns] { margin-top: 16px; }
.progress-label[b-56e6txy0ns] { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: #3d4c65; margin-bottom: 8px; }
.progress-track[b-56e6txy0ns] { height: 10px; border-radius: 999px; background: #edf1f7; overflow: hidden; }
.progress-bar[b-56e6txy0ns] { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #3156db, #6f8cf0); transition: width .6s ease; }

.facts[b-56e6txy0ns] { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.facts li[b-56e6txy0ns] { background: #f6f8fc; border-radius: 11px; padding: 10px 12px; display: grid; gap: 4px; font-size: 12px; }
.facts li span[b-56e6txy0ns] { color: #74829a; }
.facts li strong[b-56e6txy0ns] { color: #1a2740; font-size: 14px; }

.lock[b-56e6txy0ns] { margin-inline-start: 6px; font-size: 11px; }
.account[b-56e6txy0ns] { display: inline-block; margin-inline-end: 8px; font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.muted-inline[b-56e6txy0ns] { color: #74829a; font-size: 12px; }
tr.legacy td[b-56e6txy0ns] { color: #8a96ab; }

.warning.strong[b-56e6txy0ns] { display: grid; gap: 10px; border: 1px solid #f0c98a; }
.warning.strong p[b-56e6txy0ns] { margin: 0; }
.warning.strong form button[b-56e6txy0ns] { background: #ba7414; box-shadow: none; }
.notice-inline[b-56e6txy0ns] { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: #eaf0ff; color: #2c45a8; font-size: 12px; line-height: 1.8; }

.recovery[b-56e6txy0ns] { margin-top: 14px; }
.recovery summary[b-56e6txy0ns] { color: #3156db; font-weight: 700; font-size: 12px; cursor: pointer; }
.recovery ol[b-56e6txy0ns] { margin: 10px 0 0; padding-inline-start: 20px; color: #5d6b84; font-size: 12px; line-height: 1.9; list-style-type: persian; }

.schedule-form[b-56e6txy0ns] { margin-top: 18px; display: grid; gap: 12px; }
.schedule-form .toggle[b-56e6txy0ns] { display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; color: #3d4c65; cursor: pointer; }
.schedule-form .fields[b-56e6txy0ns] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.schedule-form .fields label[b-56e6txy0ns] { display: grid; gap: 5px; font-size: 12px; color: #3d4c65; }
.schedule-form input[type="number"][b-56e6txy0ns], .schedule-form select[b-56e6txy0ns] { border: 1px solid #d8e0ec; border-radius: 10px; padding: 9px 12px; font: inherit; background: #fff; color: inherit; min-width: 0; }
.schedule-form button[b-56e6txy0ns] { justify-self: start; }
.facts li strong a[b-56e6txy0ns] { color: #3156db; text-decoration: none; overflow-wrap: anywhere; }
.facts li strong a bdi[b-56e6txy0ns], .pruned[b-56e6txy0ns] { font-family: ui-monospace, Consolas, monospace; font-size: 11px; }
.pruned[b-56e6txy0ns] { display: inline-block; margin-inline-start: 8px; }
.warning small[b-56e6txy0ns] { display: block; margin-top: 4px; opacity: .8; overflow-wrap: anywhere; }

.confirm[b-56e6txy0ns] { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: 12px; line-height: 1.8; color: #3d4c65; cursor: pointer; }
.confirm input[b-56e6txy0ns] { margin-top: 5px; flex: none; }

.grid[b-56e6txy0ns] { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 12px; }
.grid th[b-56e6txy0ns] { text-align: start; color: #74829a; font-weight: 700; padding: 8px 10px; border-bottom: 1px solid #e2e8f3; white-space: nowrap; }
.grid td[b-56e6txy0ns] { padding: 9px 10px; border-bottom: 1px solid #f0f3f8; color: #23324b; vertical-align: top; }
.grid td bdi[b-56e6txy0ns] { font-family: ui-monospace, Consolas, monospace; font-size: 11px; }

.actions[b-56e6txy0ns] { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.actions a[b-56e6txy0ns] { color: #3156db; font-weight: 700; text-decoration: none; }
.actions a:hover[b-56e6txy0ns] { text-decoration: underline; }
.delete summary[b-56e6txy0ns] { color: #c4384a; font-weight: 700; cursor: pointer; list-style: none; }
.delete summary[b-56e6txy0ns]::-webkit-details-marker { display: none; }
.delete form[b-56e6txy0ns] { margin-top: 8px; }
.delete button[b-56e6txy0ns] { padding: 7px 12px; font-size: 11px; }

.secrets[b-56e6txy0ns] { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.secrets li[b-56e6txy0ns] { padding: 9px 12px; border-radius: 10px; font-size: 12px; line-height: 1.8; }
.secrets li strong[b-56e6txy0ns] { margin-inline-end: 6px; }
.secrets li.ok[b-56e6txy0ns] { background: #eaf8ef; color: #176e40; }
.secrets li.bad[b-56e6txy0ns] { background: #fff4e5; color: #9a5d0a; }

.muted[b-56e6txy0ns] { margin: 12px 0 0; color: #74829a; font-size: 12px; line-height: 1.8; }
.warning[b-56e6txy0ns] { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff4e5; color: #9a5d0a; font-size: 12px; line-height: 1.8; }

.notice[b-56e6txy0ns], .error[b-56e6txy0ns], .loading-state[b-56e6txy0ns] { padding: 13px 15px; border-radius: 11px; margin-bottom: 16px; line-height: 1.8; }
.notice[b-56e6txy0ns] { background: #eaf8ef; color: #176e40; }
.notice a[b-56e6txy0ns] { color: #176e40; font-weight: 800; margin-inline-start: 8px; }
.notice small[b-56e6txy0ns], .error small[b-56e6txy0ns] { display: block; margin-top: 4px; opacity: .8; overflow-wrap: anywhere; }
.error[b-56e6txy0ns] { background: #fff0f1; color: #b83442; }
.loading-state[b-56e6txy0ns] { background: #fff; color: #73819a; border: 1px solid #e2e8f3; }


/* ===== dark ===== */

[data-theme="dark"] .admin-backups[b-56e6txy0ns] { color: #e4ebf8; }
[data-theme="dark"] .page-header p[b-56e6txy0ns],
[data-theme="dark"] .card-heading p[b-56e6txy0ns],
[data-theme="dark"] .muted[b-56e6txy0ns],
[data-theme="dark"] .grid th[b-56e6txy0ns] { color: #8b98b1; }
[data-theme="dark"] .card[b-56e6txy0ns],
[data-theme="dark"] .loading-state[b-56e6txy0ns] { background: #161d2c; border-color: #26324a; box-shadow: none; }
[data-theme="dark"] .card-heading[b-56e6txy0ns] { border-color: #26324a; }
[data-theme="dark"] .card-icon[b-56e6txy0ns] { background: #1b2540; color: #7d97f5; }
[data-theme="dark"] .card-icon.purple[b-56e6txy0ns] { background: #241c3d; color: #a58bf0; }
[data-theme="dark"] .card-icon.green[b-56e6txy0ns] { background: #10281c; color: #5fd598; }
[data-theme="dark"] .card-icon.amber[b-56e6txy0ns] { background: #3a2c12; color: #e2b563; }
[data-theme="dark"] .card-icon.red[b-56e6txy0ns] { background: #3a1820; color: #f08a97; }
[data-theme="dark"] .password-form label[b-56e6txy0ns],
[data-theme="dark"] .unlock-form label[b-56e6txy0ns],
[data-theme="dark"] .progress-label[b-56e6txy0ns] { color: #b6c2d8; }
[data-theme="dark"] .password-form input[b-56e6txy0ns],
[data-theme="dark"] .unlock-form input[b-56e6txy0ns],
[data-theme="dark"] .schedule-form input[type="number"][b-56e6txy0ns],
[data-theme="dark"] .schedule-form select[b-56e6txy0ns] { background: #0f1522; border-color: #26324a; }
[data-theme="dark"] .schedule-form .toggle[b-56e6txy0ns],
[data-theme="dark"] .schedule-form .fields label[b-56e6txy0ns] { color: #b6c2d8; }
[data-theme="dark"] .facts li strong a[b-56e6txy0ns] { color: #7d97f5; }
[data-theme="dark"] .password-change summary[b-56e6txy0ns],
[data-theme="dark"] .recovery summary[b-56e6txy0ns] { color: #7d97f5; }
[data-theme="dark"] .recovery ol[b-56e6txy0ns] { color: #c9d3e6; }
[data-theme="dark"] .notice-inline[b-56e6txy0ns] { background: #1b2540; color: #9fb4f7; }
[data-theme="dark"] .warning.strong[b-56e6txy0ns] { border-color: #6b4e1d; }
[data-theme="dark"] tr.legacy td[b-56e6txy0ns],
[data-theme="dark"] .muted-inline[b-56e6txy0ns] { color: #6f7c94; }
[data-theme="dark"] .progress-track[b-56e6txy0ns] { background: #26324a; }
[data-theme="dark"] .facts li[b-56e6txy0ns] { background: #1b2336; }
[data-theme="dark"] .facts li strong[b-56e6txy0ns] { color: #e4ebf8; }
[data-theme="dark"] .card.operation.running[b-56e6txy0ns] { border-color: #2f3f66; }
[data-theme="dark"] .card.operation.failed[b-56e6txy0ns] { border-color: #5a2630; }
[data-theme="dark"] .scope h3[b-56e6txy0ns],
[data-theme="dark"] .confirm[b-56e6txy0ns],
[data-theme="dark"] .upload-row input[type="file"][b-56e6txy0ns] { color: #b6c2d8; }
[data-theme="dark"] .scope ul[b-56e6txy0ns],
[data-theme="dark"] .grid td[b-56e6txy0ns] { color: #c9d3e6; }
[data-theme="dark"] .grid th[b-56e6txy0ns],
[data-theme="dark"] .grid td[b-56e6txy0ns] { border-color: #26324a; }
[data-theme="dark"] .actions a[b-56e6txy0ns] { color: #7d97f5; }
[data-theme="dark"] .warning[b-56e6txy0ns],
[data-theme="dark"] .secrets li.bad[b-56e6txy0ns] { background: #3a2c12; color: #e2b563; }
[data-theme="dark"] .secrets li.ok[b-56e6txy0ns],
[data-theme="dark"] .notice[b-56e6txy0ns] { background: #10281c; color: #5fd598; }
[data-theme="dark"] .notice a[b-56e6txy0ns] { color: #5fd598; }
[data-theme="dark"] .error[b-56e6txy0ns] { background: #3a1820; color: #f08a97; }


@media (max-width: 900px) {
    .cards[b-56e6txy0ns], .scope[b-56e6txy0ns] { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .schedule-form .fields[b-56e6txy0ns] { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .admin-backups[b-56e6txy0ns] { padding: 22px 16px; }
    .grid[b-56e6txy0ns] { display: block; overflow-x: auto; }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Billing/AdminBilling.razor.rz.scp.css */
.admin-billing[b-5fa6zg8vmg]{max-width:1480px;margin:auto;padding:26px;color:var(--admin-text,#172033)}.billing-hero[b-5fa6zg8vmg]{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:22px}.billing-hero span[b-5fa6zg8vmg]{color:#526ee8;font-size:12px;font-weight:800;letter-spacing:.1em}.billing-hero h1[b-5fa6zg8vmg]{margin:8px 0;font-size:30px}.billing-hero p[b-5fa6zg8vmg]{max-width:750px;color:#64748b;line-height:1.9}.billing-hero nav[b-5fa6zg8vmg]{display:flex;gap:7px;white-space:nowrap}.billing-hero nav a[b-5fa6zg8vmg],.billing-filters button[b-5fa6zg8vmg],.billing-filters a[b-5fa6zg8vmg]{border:1px solid #dbe3f2;border-radius:10px;padding:9px 12px;background:#fff;color:#34415e;text-decoration:none;font:inherit;font-size:13px;cursor:pointer}.billing-hero nav a.active[b-5fa6zg8vmg],.billing-filters button[b-5fa6zg8vmg]{background:#3156db;color:#fff;border-color:#3156db}.billing-filters[b-5fa6zg8vmg]{display:flex;align-items:end;flex-wrap:wrap;gap:10px;padding:14px;background:#fff;border:1px solid #e4e9f3;border-radius:15px;margin-bottom:16px}.billing-filters label[b-5fa6zg8vmg]{display:grid;gap:5px;font-size:12px;font-weight:700;color:#526078}.billing-filters input[b-5fa6zg8vmg],.billing-filters select[b-5fa6zg8vmg]{min-height:36px;border:1px solid #dbe3f2;border-radius:8px;padding:0 9px;background:#fbfcff;color:#18243a;font:inherit}.billing-metrics[b-5fa6zg8vmg]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.billing-metrics article[b-5fa6zg8vmg],.billing-panel[b-5fa6zg8vmg]{background:#fff;border:1px solid #e4e9f3;border-radius:16px;padding:16px}.billing-metrics span[b-5fa6zg8vmg],.billing-metrics small[b-5fa6zg8vmg]{display:block;color:#71809a;font-size:12px}.billing-metrics strong[b-5fa6zg8vmg]{display:block;font-size:22px;margin:9px 0;color:#172033}.billing-panel[b-5fa6zg8vmg]{margin-bottom:16px}.billing-panel h2[b-5fa6zg8vmg]{font-size:17px;margin:0 0 12px}.panel-heading[b-5fa6zg8vmg]{display:flex;justify-content:space-between;gap:16px}.panel-heading p[b-5fa6zg8vmg]{font-size:12px;color:#71809a;margin:0 0 12px}.billing-panel-link[b-5fa6zg8vmg]{align-self:flex-start;border:1px solid #cdd9ef;border-radius:9px;padding:8px 11px;background:#fbfcff;color:#3555bc;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap}.billing-trend[b-5fa6zg8vmg]{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}.billing-trend article[b-5fa6zg8vmg]{padding:10px;background:#f7f9fe;border-radius:10px}.billing-trend strong[b-5fa6zg8vmg],.billing-trend span[b-5fa6zg8vmg],.billing-trend small[b-5fa6zg8vmg]{display:block}.billing-trend strong[b-5fa6zg8vmg]{font-size:13px}.billing-trend span[b-5fa6zg8vmg],.billing-trend small[b-5fa6zg8vmg]{font-size:11px;color:#71809a;margin-top:4px}.billing-grid[b-5fa6zg8vmg]{display:grid;grid-template-columns:1fr 1fr;gap:16px}.billing-table[b-5fa6zg8vmg]{display:grid;gap:6px;max-height:570px;overflow:auto}.billing-table>div[b-5fa6zg8vmg]{display:grid;grid-template-columns:1.15fr .8fr .8fr .8fr 1fr;gap:8px;align-items:center;padding:10px;background:#f8faff;border-radius:9px;font-size:12px}.billing-table strong[b-5fa6zg8vmg],.billing-table small[b-5fa6zg8vmg]{display:block}.billing-table small[b-5fa6zg8vmg]{font-size:10px;color:#71809a;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status[b-5fa6zg8vmg]{font-weight:800}.status.paid[b-5fa6zg8vmg]{color:#158143}.status.failed[b-5fa6zg8vmg]{color:#c23945}.status.pending[b-5fa6zg8vmg]{color:#9a6500}.positive[b-5fa6zg8vmg]{color:#138242;font-weight:800}.negative[b-5fa6zg8vmg]{color:#c23945;font-weight:800}.table-empty[b-5fa6zg8vmg],.billing-state[b-5fa6zg8vmg]{padding:30px;color:#71809a;text-align:center}@media(max-width:1050px){.billing-metrics[b-5fa6zg8vmg]{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-grid[b-5fa6zg8vmg]{grid-template-columns:1fr}}@media(max-width:650px){.admin-billing[b-5fa6zg8vmg]{padding:16px}.billing-hero[b-5fa6zg8vmg]{align-items:stretch;flex-direction:column}.billing-metrics[b-5fa6zg8vmg]{grid-template-columns:1fr}.billing-table>div[b-5fa6zg8vmg]{grid-template-columns:1fr 1fr}.billing-table>div span:last-child[b-5fa6zg8vmg]{grid-column:1/-1}.billing-hero nav[b-5fa6zg8vmg]{overflow:auto}.panel-heading[b-5fa6zg8vmg]{flex-direction:column}.billing-panel-link[b-5fa6zg8vmg]{align-self:flex-start}}
/* _content/AITranslationPlatform.Web/Components/Admin/Billing/AdminCreditPackages.razor.rz.scp.css */
.credit-packages-page[b-mioi4ul9j5]{max-width:1600px;margin:0 auto;padding:28px;color:var(--admin-text,#16213a)}
.packages-hero[b-mioi4ul9j5]{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 20px}.packages-hero>div[b-mioi4ul9j5]{max-width:910px}.packages-hero span[b-mioi4ul9j5],.section-heading>div>span[b-mioi4ul9j5]{display:block;color:#526ee8;font-size:11px;font-weight:800;letter-spacing:.12em}.packages-hero h1[b-mioi4ul9j5]{margin:8px 0 10px;font-size:30px;line-height:1.2}.packages-hero p[b-mioi4ul9j5]{margin:0;color:#64748b;line-height:1.9}.primary-action[b-mioi4ul9j5],.save-package[b-mioi4ul9j5]{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 17px;border:1px solid #3156db;border-radius:11px;background:#3156db;color:#fff;text-decoration:none;font:inherit;font-weight:800;white-space:nowrap;box-shadow:0 8px 20px rgba(49,86,219,.17)}
.page-notice[b-mioi4ul9j5],.page-error[b-mioi4ul9j5],.loading-state[b-mioi4ul9j5]{margin-bottom:16px;padding:14px 16px;border-radius:13px;border:1px solid}.page-notice[b-mioi4ul9j5]{background:#ebf9f0;border-color:#c3ead1;color:#157143}.page-notice small[b-mioi4ul9j5]{margin-inline-start:9px;opacity:.7}.page-error[b-mioi4ul9j5]{background:#fff2f3;border-color:#ffd2d6;color:#b42335}.loading-state[b-mioi4ul9j5]{background:#fff;border-color:#e4eaf4;color:#687791;text-align:center}
.package-editor[b-mioi4ul9j5],.packages-panel[b-mioi4ul9j5]{background:var(--admin-card,#fff);border:1px solid #e2e8f3;border-radius:18px;box-shadow:0 8px 24px rgba(32,53,90,.035)}.package-editor[b-mioi4ul9j5]{margin-bottom:18px;padding:20px}.packages-panel[b-mioi4ul9j5]{padding:20px}.section-heading[b-mioi4ul9j5]{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:17px}.section-heading h2[b-mioi4ul9j5]{margin:7px 0;font-size:19px}.section-heading p[b-mioi4ul9j5]{margin:0;color:#71809a;font-size:13px;line-height:1.75}.report-link[b-mioi4ul9j5]{display:inline-flex;padding:9px 12px;border:1px solid #dce4f2;border-radius:10px;color:#40517c;background:#fbfcff;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap}.report-link:hover[b-mioi4ul9j5]{border-color:#9dafdb;color:#3156db}
.package-table-wrap[b-mioi4ul9j5]{overflow:auto;border:1px solid #e5ebf5;border-radius:14px}.package-table[b-mioi4ul9j5]{min-width:1280px}.package-table-head[b-mioi4ul9j5],.package-row[b-mioi4ul9j5]{display:grid;grid-template-columns:1.7fr .78fr .68fr .78fr 1fr 1.13fr 2.05fr .85fr .74fr 1.2fr;gap:12px;align-items:center}.package-table-head[b-mioi4ul9j5]{padding:12px 14px;background:#f5f7fd;border-bottom:1px solid #e3e9f3;color:#6b7890;font-size:11px;font-weight:800}.package-row[b-mioi4ul9j5]{padding:14px;border-bottom:1px solid #edf1f7;background:#fff;font-size:12px}.package-row:last-child[b-mioi4ul9j5]{border-bottom:0}.package-row:hover[b-mioi4ul9j5]{background:#fcfdff}.package-row>div[b-mioi4ul9j5]{min-width:0}.package-row strong[b-mioi4ul9j5]{display:block;color:#1c2a44;font-size:13px}.package-row small[b-mioi4ul9j5],.package-name span[b-mioi4ul9j5],.package-name code[b-mioi4ul9j5]{display:block;margin-top:3px;color:#71809a;font-size:10px}.package-name code[b-mioi4ul9j5]{width:max-content;max-width:100%;padding:2px 5px;border-radius:5px;background:#f1f4fa;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#4d5f83}.capability-cells[b-mioi4ul9j5]{display:grid;gap:5px}.badge-group[b-mioi4ul9j5]{display:flex;flex-wrap:wrap;gap:4px}.capability-badge[b-mioi4ul9j5],.status-badge[b-mioi4ul9j5],.featured-badge[b-mioi4ul9j5]{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:800;line-height:1.2}.capability-badge.quality[b-mioi4ul9j5]{background:#e9edff;color:#3c52bd}.capability-badge.input[b-mioi4ul9j5]{background:#edf8f3;color:#1c7850}.capability-badge.format[b-mioi4ul9j5]{background:#fff4e8;color:#975a16}.capability-badge.size[b-mioi4ul9j5]{background:#eef3ff;color:#3156db}.capability-badge.voice[b-mioi4ul9j5]{background:#f3ecff;color:#6a3fc2}.capability-badge.voice-off[b-mioi4ul9j5]{background:#f1f3f7;color:#6d798d}.status-badge.active[b-mioi4ul9j5]{background:#e9f8ee;color:#177442}.status-badge.inactive[b-mioi4ul9j5]{background:#f1f3f7;color:#6d798d}.featured-badge[b-mioi4ul9j5]{background:#fff4d8;color:#926400}.muted[b-mioi4ul9j5]{color:#a0aaba}.row-actions[b-mioi4ul9j5]{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.edit-details[b-mioi4ul9j5]{position:relative}.edit-details>summary[b-mioi4ul9j5],.status-form button[b-mioi4ul9j5]{border:1px solid #d6dfef;border-radius:8px;background:#fff;color:#34466f;padding:7px 9px;font:inherit;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}.edit-details>summary[b-mioi4ul9j5]{list-style:none}.edit-details>summary[b-mioi4ul9j5]::-webkit-details-marker{display:none}.edit-details[open]>summary[b-mioi4ul9j5]{background:#eff3ff;border-color:#b8c7ef;color:#3156db}.status-form[b-mioi4ul9j5]{margin:0}.status-form button.deactivate[b-mioi4ul9j5]{color:#b3293a;border-color:#ffc5cd;background:#fffafb}.status-form button.activate[b-mioi4ul9j5]{color:#177442;border-color:#bfe8cf;background:#fbfffd}.edit-drawer[b-mioi4ul9j5]{position:fixed;z-index:110;top:clamp(16px,7vh,76px);left:50%;box-sizing:border-box;width:min(920px,calc(100vw - 40px));max-height:min(86vh,840px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:18px;border:1px solid #ced9ed;border-radius:16px;background:#fff;box-shadow:0 28px 76px rgba(21,37,72,.3);transform:translateX(-50%)}.edit-drawer .package-form[b-mioi4ul9j5]{max-height:none;overflow:visible;padding-inline-end:0}.edit-drawer .form-layout[b-mioi4ul9j5]{grid-template-columns:1fr}.edit-drawer .package-preview[b-mioi4ul9j5]{display:none}
.package-form[b-mioi4ul9j5]{display:grid;gap:16px}.form-layout[b-mioi4ul9j5]{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px;align-items:start}.form-section[b-mioi4ul9j5]{border:1px solid #e5ebf5;border-radius:13px;padding:15px;background:#fcfdff}.form-layout>.form-section[b-mioi4ul9j5]{grid-column:1}.form-section-heading[b-mioi4ul9j5]{display:flex;gap:10px;margin-bottom:13px}.form-section-heading>span[b-mioi4ul9j5]{display:flex;width:25px;height:25px;align-items:center;justify-content:center;flex:0 0 auto;border-radius:8px;background:#eaf0ff;color:#3657c8;font-size:10px;font-weight:900}.form-section-heading h3[b-mioi4ul9j5]{margin:0 0 3px;font-size:14px}.form-section-heading p[b-mioi4ul9j5]{margin:0;color:#748198;font-size:11px;line-height:1.6}.field-grid[b-mioi4ul9j5]{display:grid;gap:10px}.field-grid.two-columns[b-mioi4ul9j5]{grid-template-columns:repeat(2,minmax(0,1fr))}.field-grid.three-columns[b-mioi4ul9j5]{grid-template-columns:repeat(3,minmax(0,1fr))}.field-grid+ .field-grid[b-mioi4ul9j5]{margin-top:10px}.field-grid label[b-mioi4ul9j5],.audit-reason[b-mioi4ul9j5]{display:grid;gap:5px;color:#52627c;font-size:11px;font-weight:800}.field-grid input[b-mioi4ul9j5],.field-grid textarea[b-mioi4ul9j5],.audit-reason input[b-mioi4ul9j5]{width:100%;box-sizing:border-box;border:1px solid #d9e2f0;border-radius:9px;background:#fff;color:#1d2b45;font:inherit;font-size:13px;padding:8px 10px;outline:none}.field-grid input[b-mioi4ul9j5]{min-height:38px}.field-grid textarea[b-mioi4ul9j5]{resize:vertical;line-height:1.65}.field-grid input:focus[b-mioi4ul9j5],.field-grid textarea:focus[b-mioi4ul9j5],.audit-reason input:focus[b-mioi4ul9j5]{border-color:#718be7;box-shadow:0 0 0 3px rgba(80,111,222,.1)}
.checkbox-matrix[b-mioi4ul9j5]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.input-matrix[b-mioi4ul9j5]{grid-template-columns:repeat(5,minmax(0,1fr))}.format-matrix[b-mioi4ul9j5]{grid-template-columns:repeat(4,minmax(0,1fr))}.package-upload-limit[b-mioi4ul9j5]{margin-top:12px}.limit-note[b-mioi4ul9j5]{display:grid;gap:4px;align-content:center;padding:10px;border:1px dashed #ccd8ec;border-radius:10px;background:#fff;color:#6f7e96;font-size:10px;line-height:1.55}.limit-note strong[b-mioi4ul9j5]{color:#334666;font-size:11px}.capability-option[b-mioi4ul9j5]{display:flex;align-items:flex-start;gap:8px;min-width:0;padding:10px;border:1px solid #dfe7f4;border-radius:10px;background:#fff;cursor:pointer;transition:.16s ease}.capability-option:hover[b-mioi4ul9j5]{border-color:#afc0e9;background:#fbfcff}.capability-option input[b-mioi4ul9j5]{position:absolute;opacity:0;pointer-events:none}.checkbox-mark[b-mioi4ul9j5]{display:flex;width:18px;height:18px;align-items:center;justify-content:center;flex:0 0 auto;border:1px solid #cbd7ea;border-radius:6px;background:#fff;color:transparent;font-size:12px;font-weight:900}.capability-option input:checked+.checkbox-mark[b-mioi4ul9j5]{border-color:#3156db;background:#3156db;color:#fff}.capability-option strong[b-mioi4ul9j5],.capability-option small[b-mioi4ul9j5]{display:block}.capability-option strong[b-mioi4ul9j5]{color:#293954;font-size:12px}.capability-option small[b-mioi4ul9j5]{margin-top:3px;color:#7a879c;font-size:10px;line-height:1.35}.status-controls[b-mioi4ul9j5]{display:grid;grid-template-columns:1fr 1fr;gap:10px}.toggle-option[b-mioi4ul9j5]{display:flex;gap:9px;align-items:flex-start;padding:10px;border:1px solid #dfe7f4;border-radius:10px;background:#fff;cursor:pointer}.toggle-option input[type=checkbox][b-mioi4ul9j5]{width:17px;height:17px;accent-color:#3156db;margin:1px 0 0}.toggle-option strong[b-mioi4ul9j5],.toggle-option small[b-mioi4ul9j5]{display:block}.toggle-option strong[b-mioi4ul9j5]{color:#293954;font-size:12px}.toggle-option small[b-mioi4ul9j5]{margin-top:3px;color:#7a879c;font-size:10px;line-height:1.4}.audit-reason[b-mioi4ul9j5]{grid-column:1/-1}
.package-preview[b-mioi4ul9j5]{position:sticky;top:18px;grid-column:2;grid-row:1 / span 5;padding:16px;border:1px solid #dce5fb;border-radius:14px;background:linear-gradient(155deg,#f8faff,#edf2ff)}.package-preview>span[b-mioi4ul9j5]{display:block;color:#596fca;font-size:10px;font-weight:900;letter-spacing:.1em}.package-preview h3[b-mioi4ul9j5]{margin:9px 0 5px;font-size:17px}.package-preview>p[b-mioi4ul9j5]{margin:0;color:#687791;font-size:11px;line-height:1.7}.package-preview dl[b-mioi4ul9j5]{display:grid;gap:8px;margin:14px 0}.package-preview dl div[b-mioi4ul9j5]{display:flex;justify-content:space-between;gap:8px;padding-bottom:7px;border-bottom:1px solid #dfe6f5}.package-preview dt[b-mioi4ul9j5]{color:#6e7d98;font-size:11px}.package-preview dd[b-mioi4ul9j5]{margin:0;color:#243554;font-size:11px;font-weight:900}.preview-capabilities[b-mioi4ul9j5]{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.preview-capabilities strong[b-mioi4ul9j5]{display:block;width:100%;font-size:11px;color:#52627c}.preview-capabilities span[b-mioi4ul9j5]{padding:3px 6px;border-radius:6px;background:#fff;color:#3d548b;font-size:10px;font-weight:700}.form-footer[b-mioi4ul9j5]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 2px}.form-footer>span[b-mioi4ul9j5]{color:#728099;font-size:11px;line-height:1.65}.save-package[b-mioi4ul9j5]{border:0;cursor:pointer}.empty-state[b-mioi4ul9j5]{display:grid;gap:5px;justify-items:center;padding:48px 16px;color:#71809a;text-align:center}.empty-state strong[b-mioi4ul9j5]{color:#42516d}
@media(max-width:1320px){.form-layout[b-mioi4ul9j5]{grid-template-columns:1fr}.package-preview[b-mioi4ul9j5]{position:static;grid-column:1;grid-row:auto}.input-matrix[b-mioi4ul9j5],.format-matrix[b-mioi4ul9j5]{grid-template-columns:repeat(3,minmax(0,1fr))}.package-table[b-mioi4ul9j5]{min-width:1200px}}
@media(max-width:850px){.credit-packages-page[b-mioi4ul9j5]{padding:18px}.packages-hero[b-mioi4ul9j5]{align-items:stretch;flex-direction:column}.primary-action[b-mioi4ul9j5]{align-self:flex-start}.section-heading[b-mioi4ul9j5]{align-items:stretch;flex-direction:column}.report-link[b-mioi4ul9j5]{align-self:flex-start}.field-grid.two-columns[b-mioi4ul9j5],.field-grid.three-columns[b-mioi4ul9j5],.checkbox-matrix[b-mioi4ul9j5],.input-matrix[b-mioi4ul9j5],.format-matrix[b-mioi4ul9j5],.status-controls[b-mioi4ul9j5]{grid-template-columns:1fr 1fr}.edit-drawer[b-mioi4ul9j5]{top:12px;left:12px;width:calc(100vw - 24px);max-height:calc(100vh - 24px);padding:14px;transform:none}.form-footer[b-mioi4ul9j5]{align-items:stretch;flex-direction:column}.save-package[b-mioi4ul9j5]{width:100%}}
@media(max-width:540px){.credit-packages-page[b-mioi4ul9j5]{padding:14px}.packages-hero h1[b-mioi4ul9j5]{font-size:25px}.package-editor[b-mioi4ul9j5],.packages-panel[b-mioi4ul9j5]{padding:14px}.field-grid.two-columns[b-mioi4ul9j5],.field-grid.three-columns[b-mioi4ul9j5],.checkbox-matrix[b-mioi4ul9j5],.input-matrix[b-mioi4ul9j5],.format-matrix[b-mioi4ul9j5],.status-controls[b-mioi4ul9j5]{grid-template-columns:1fr}.package-preview[b-mioi4ul9j5]{display:none}.new-package-editor .package-preview[b-mioi4ul9j5]{display:block}.package-table-wrap[b-mioi4ul9j5]{margin-inline:-2px}.page-notice[b-mioi4ul9j5],.page-error[b-mioi4ul9j5]{font-size:12px}}

html[data-theme="dark"] .credit-packages-page[b-mioi4ul9j5] {
    color: var(--admin-text);
}

html[data-theme="dark"] .package-editor[b-mioi4ul9j5],
html[data-theme="dark"] .packages-panel[b-mioi4ul9j5],
html[data-theme="dark"] .edit-drawer[b-mioi4ul9j5],
html[data-theme="dark"] .loading-state[b-mioi4ul9j5] {
    border-color: var(--admin-line-strong);
    background: var(--admin-surface-elevated);
    box-shadow: none;
}

html[data-theme="dark"] .packages-hero p[b-mioi4ul9j5],
html[data-theme="dark"] .section-heading p[b-mioi4ul9j5],
html[data-theme="dark"] .package-row small[b-mioi4ul9j5],
html[data-theme="dark"] .package-name span[b-mioi4ul9j5],
html[data-theme="dark"] .package-name code[b-mioi4ul9j5],
html[data-theme="dark"] .form-section-heading p[b-mioi4ul9j5],
html[data-theme="dark"] .field-grid label[b-mioi4ul9j5],
html[data-theme="dark"] .audit-reason[b-mioi4ul9j5],
html[data-theme="dark"] .capability-option small[b-mioi4ul9j5],
html[data-theme="dark"] .toggle-option small[b-mioi4ul9j5],
html[data-theme="dark"] .form-footer > span[b-mioi4ul9j5],
html[data-theme="dark"] .empty-state[b-mioi4ul9j5] {
    color: var(--admin-text-2);
}

html[data-theme="dark"] .package-table-wrap[b-mioi4ul9j5],
html[data-theme="dark"] .form-section[b-mioi4ul9j5],
html[data-theme="dark"] .capability-option[b-mioi4ul9j5],
html[data-theme="dark"] .toggle-option[b-mioi4ul9j5],
html[data-theme="dark"] .limit-note[b-mioi4ul9j5] {
    border-color: var(--admin-line-strong);
    background: var(--admin-surface);
}

html[data-theme="dark"] .package-table-head[b-mioi4ul9j5] {
    border-color: var(--admin-line);
    background: rgba(255, 255, 255, .045);
    color: var(--admin-text-2);
}

html[data-theme="dark"] .package-row[b-mioi4ul9j5] {
    border-color: var(--admin-line);
    background: var(--admin-surface-elevated);
}

html[data-theme="dark"] .package-row:hover[b-mioi4ul9j5],
html[data-theme="dark"] .capability-option:hover[b-mioi4ul9j5] {
    background: rgba(120, 147, 243, .075);
}

html[data-theme="dark"] .package-row strong[b-mioi4ul9j5],
html[data-theme="dark"] .capability-option strong[b-mioi4ul9j5],
html[data-theme="dark"] .toggle-option strong[b-mioi4ul9j5],
html[data-theme="dark"] .empty-state strong[b-mioi4ul9j5] {
    color: var(--admin-text);
}

html[data-theme="dark"] .package-name code[b-mioi4ul9j5],
html[data-theme="dark"] .checkbox-mark[b-mioi4ul9j5],
html[data-theme="dark"] .preview-capabilities span[b-mioi4ul9j5],
html[data-theme="dark"] .edit-details > summary[b-mioi4ul9j5],
html[data-theme="dark"] .status-form button[b-mioi4ul9j5],
html[data-theme="dark"] .report-link[b-mioi4ul9j5],
html[data-theme="dark"] .field-grid input[b-mioi4ul9j5],
html[data-theme="dark"] .field-grid textarea[b-mioi4ul9j5],
html[data-theme="dark"] .audit-reason input[b-mioi4ul9j5] {
    border-color: var(--admin-line-strong);
    background: var(--admin-surface);
    color: var(--admin-text);
}

html[data-theme="dark"] .package-preview[b-mioi4ul9j5] {
    border-color: rgba(120, 147, 243, .32);
    background: linear-gradient(155deg, rgba(120, 147, 243, .14), rgba(120, 147, 243, .045));
}

html[data-theme="dark"] .package-preview > p[b-mioi4ul9j5],
html[data-theme="dark"] .package-preview dt[b-mioi4ul9j5],
html[data-theme="dark"] .preview-capabilities strong[b-mioi4ul9j5] {
    color: var(--admin-text-2);
}

html[data-theme="dark"] .package-preview h3[b-mioi4ul9j5],
html[data-theme="dark"] .package-preview dd[b-mioi4ul9j5] {
    color: var(--admin-text);
}

html[data-theme="dark"] .page-notice[b-mioi4ul9j5] {
    border-color: rgba(74, 192, 133, .28);
    background: rgba(39, 132, 103, .15);
    color: #8edcbb;
}

html[data-theme="dark"] .page-error[b-mioi4ul9j5] {
    border-color: rgba(224, 105, 117, .3);
    background: rgba(201, 74, 82, .14);
    color: #ffb4bc;
}


/* =====================================================
   THE STARTER PACKAGE

   Set apart from the sold packages on purpose: it is the
   one card on this page that has no price, and an
   administrator should be able to see that at a glance
   rather than read the form to find out.
   ===================================================== */

.free-package-editor[b-mioi4ul9j5] {
    border-color: #cfe3d6;
    background: linear-gradient(155deg, #fbfffc, #f2faf5);
}

.free-package-editor .section-heading > div > span[b-mioi4ul9j5] {
    color: #1c7850;
}

.free-package-empty[b-mioi4ul9j5] {
    margin-bottom: 15px;
    padding: 11px 13px;
    border: 1px dashed #bcd8c7;
    border-radius: 10px;
    background: #fff;
    color: #5d7568;
    font-size: 12px;
    line-height: 1.7;
}

/* the price slot, saying plainly that there is no price */
.free-price-note[b-mioi4ul9j5] {
    display: grid;
    gap: 4px;
    align-content: center;
    padding: 10px;
    border: 1px dashed #bcd8c7;
    border-radius: 10px;
    background: #fff;
}

.free-price-note > span[b-mioi4ul9j5] {
    color: #52627c;
    font-size: 11px;
    font-weight: 800;
}

.free-price-note > strong[b-mioi4ul9j5] {
    color: #177442;
    font-size: 15px;
}

.free-price-note > small[b-mioi4ul9j5] {
    color: #7a879c;
    font-size: 10px;
    line-height: 1.5;
}

html[data-theme="dark"] .free-package-editor[b-mioi4ul9j5] {
    border-color: var(--admin-line-strong);
    background: var(--admin-surface-elevated);
}

html[data-theme="dark"] .free-package-empty[b-mioi4ul9j5],
html[data-theme="dark"] .free-price-note[b-mioi4ul9j5] {
    border-color: var(--admin-line-strong);
    background: var(--admin-surface);
    color: var(--admin-text-muted, #9aa7b8);
}

html[data-theme="dark"] .free-price-note > span[b-mioi4ul9j5],
html[data-theme="dark"] .free-price-note > strong[b-mioi4ul9j5] {
    color: var(--admin-text);
}

/* ---- the other amounts a package is sold in (the card's slider) ---- */

.amount-options[b-mioi4ul9j5] {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 12px;
    border: 1px dashed #ccd8ec;
    border-radius: 10px;
    background: #fff;
}

.amount-options-head[b-mioi4ul9j5] {
    display: grid;
    gap: 4px;
}

    .amount-options-head strong[b-mioi4ul9j5] {
        color: #334666;
        font-size: 12px;
    }

    .amount-options-head small[b-mioi4ul9j5] {
        color: #6f7e96;
        font-size: 10px;
        line-height: 1.65;
    }

.amount-rows[b-mioi4ul9j5] {
    display: grid;
    gap: 6px;
}

.amount-row[b-mioi4ul9j5] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

    .amount-row input[b-mioi4ul9j5] {
        width: 100%;
        min-height: 34px;
        box-sizing: border-box;
        padding: 6px 9px;
        border: 1px solid #d9e2f0;
        border-radius: 9px;
        outline: none;
        background: #fff;
        color: #1d2b45;
        font: inherit;
        font-size: 13px;
    }

        .amount-row input:focus[b-mioi4ul9j5] {
            border-color: #718be7;
            box-shadow: 0 0 0 3px rgba(80, 111, 222, .1);
        }

.amount-row-head span[b-mioi4ul9j5] {
    color: #52627c;
    font-size: 11px;
    font-weight: 800;
}

.package-name .amount-count[b-mioi4ul9j5] {
    display: block;
    margin-top: 4px;
    color: #596fca;
    font-size: 10px;
    font-weight: 800;
}

html[data-theme="dark"] .amount-options[b-mioi4ul9j5] {
    border-color: var(--admin-line-strong);
    background: var(--admin-surface);
}

html[data-theme="dark"] .amount-options-head strong[b-mioi4ul9j5],
html[data-theme="dark"] .amount-row-head span[b-mioi4ul9j5] {
    color: var(--admin-text);
}

html[data-theme="dark"] .amount-options-head small[b-mioi4ul9j5] {
    color: var(--admin-text-muted, #9aa7b8);
}

html[data-theme="dark"] .amount-row input[b-mioi4ul9j5] {
    border-color: var(--admin-line-strong);
    background: var(--admin-surface-elevated);
    color: var(--admin-text);
}
/* _content/AITranslationPlatform.Web/Components/Admin/Billing/AdminDiscountCodes.razor.rz.scp.css */
.admin-discounts[b-qo50smaeht] { max-width: 1260px; margin: 0 auto; padding: 34px 30px 48px; color: #1a2740; }

.page-header[b-qo50smaeht] { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.eyebrow[b-qo50smaeht] { display: block; color: #506de5; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.page-header h1[b-qo50smaeht] { margin: 8px 0 10px; font-size: 30px; }
.page-header p[b-qo50smaeht] { margin: 0; max-width: 860px; color: #73819a; line-height: 1.8; }

.notice[b-qo50smaeht], .error[b-qo50smaeht], .loading-state[b-qo50smaeht] { padding: 13px 15px; border-radius: 11px; margin-bottom: 16px; }
.notice[b-qo50smaeht] { background: #eaf8ef; color: #176e40; }
.notice small[b-qo50smaeht] { margin-inline-start: 6px; opacity: .7; }
.error[b-qo50smaeht] { background: #fff0f1; color: #b83442; }
.loading-state[b-qo50smaeht] { background: #fff; color: #73819a; border: 1px solid #e2e8f3; }

.vat-card[b-qo50smaeht], .setting-card[b-qo50smaeht], .codes-card[b-qo50smaeht] { background: #fff; border: 1px solid #e2e8f3; border-radius: 16px; box-shadow: 0 8px 25px rgba(37, 55, 94, .045); padding: 22px; }

.card-heading[b-qo50smaeht] { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #edf1f7; }
.card-heading h2[b-qo50smaeht], .card-heading h3[b-qo50smaeht] { font-size: 17px; margin: 0 0 5px; }
.card-heading h3[b-qo50smaeht] { font-size: 15px; }
.card-heading p[b-qo50smaeht] { margin: 0; color: #74829a; font-size: 12px; line-height: 1.7; }
.card-icon[b-qo50smaeht] { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #eaf0ff; color: #4563dd; font-size: 19px; font-weight: 800; flex: none; }
.card-icon.purple[b-qo50smaeht] { background: #f2ecff; color: #7b5cdb; }
.card-icon.teal[b-qo50smaeht] { background: #e6f6f3; color: #1d8a78; }
.card-icon.amber[b-qo50smaeht] { background: #fff3df; color: #b06d12; }


/* ---- value added tax ---- */

.vat-body[b-qo50smaeht] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 22px; padding-top: 19px; }
.vat-form[b-qo50smaeht] { display: grid; align-content: start; gap: 14px; }
.vat-form label[b-qo50smaeht], .fields label[b-qo50smaeht] { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.vat-form label > span[b-qo50smaeht], .fields label > span[b-qo50smaeht] { color: #3d4c65; }
.vat-form small[b-qo50smaeht], .fields small[b-qo50smaeht] { color: #8793a8; font-size: 11px; font-weight: 400; line-height: 1.7; }
.vat-form .primary-button[b-qo50smaeht] { justify-self: start; }

.vat-example[b-qo50smaeht] { display: grid; gap: 12px; }
.example-title[b-qo50smaeht] { color: #6b7890; font-size: 11px; font-weight: 800; }
.vat-example dl[b-qo50smaeht] { display: grid; gap: 6px; margin: 0; padding: 12px 14px; border-radius: 12px; background: #f7f9fd; }
.vat-example dl div[b-qo50smaeht] { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.vat-example dt[b-qo50smaeht] { color: #5d6b84; }
.vat-example dd[b-qo50smaeht] { margin: 0; font-weight: 700; color: #23324b; }
.vat-example dl .total[b-qo50smaeht] { padding-top: 7px; border-top: 1px dashed #d6deec; }
.vat-example dl .total dd[b-qo50smaeht] { color: #1d3fbf; font-size: 14px; }
.vat-stats[b-qo50smaeht] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.vat-stats li[b-qo50smaeht] { display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px; border: 1px solid #edf1f7; }
.vat-stats span[b-qo50smaeht] { color: #74829a; font-size: 11px; line-height: 1.5; }
.vat-stats b[b-qo50smaeht] { font-size: 13px; color: #23324b; }


/* ---- a code ---- */

.code-form[b-qo50smaeht] { margin-top: 18px; }
.form-head[b-qo50smaeht] { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.form-head h2[b-qo50smaeht] { margin: 0 0 6px; font-size: 19px; }
.form-head p[b-qo50smaeht] { margin: 0; color: #74829a; font-size: 12px; line-height: 1.7; }

.setting-cards[b-qo50smaeht] { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.setting-card.wide[b-qo50smaeht] { grid-column: 1 / -1; }

.fields[b-qo50smaeht] { display: grid; gap: 16px; padding-top: 19px; }
.fields input:not([type="checkbox"]):not([type="radio"])[b-qo50smaeht], .vat-form input[b-qo50smaeht] { box-sizing: border-box; width: 100%; height: 40px; padding: 0 11px; background: #fbfcff; border: 1px solid #d9e1ef; border-radius: 9px; color: #23324b; font: inherit; outline: none; }
.fields input:focus[b-qo50smaeht], .vat-form input:focus[b-qo50smaeht] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }
.fields input[dir="ltr"][b-qo50smaeht] { text-align: left; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .04em; }
.fields .fields-note[b-qo50smaeht] { margin-top: -8px; }
.two-fields[b-qo50smaeht] { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.unit-input[b-qo50smaeht] { position: relative; }
.unit-input input[b-qo50smaeht] { padding-inline-end: 46px !important; }
.unit-input em[b-qo50smaeht] { position: absolute; inset-inline-end: 11px; top: 12px; color: #7e8aa0; font-size: 11px; font-style: normal; }

.kind-choice[b-qo50smaeht] { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.kind-choice legend[b-qo50smaeht] { width: 100%; margin-bottom: 7px; padding: 0; color: #3d4c65; font-size: 12px; font-weight: 700; }
.kind-choice label[b-qo50smaeht] { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid #d9e1ef; border-radius: 9px; background: #fbfcff; font-size: 12px; font-weight: 700; cursor: pointer; }
.kind-choice label:has(input:checked)[b-qo50smaeht] { border-color: #5773e7; background: #eef2ff; color: #2f4fcf; }
.kind-choice input[b-qo50smaeht] { accent-color: #4867e7; margin: 0; }

/* only the fields of the kind that is chosen */
.code-form:has(input[name="Kind"][value="FixedAmount"]:checked) .only-percent[b-qo50smaeht],
.code-form:has(input[name="Kind"][value="Percent"]:checked) .only-fixed[b-qo50smaeht] { display: none; }

.package-choices[b-qo50smaeht] { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; padding-top: 19px; }
.package-choices label[b-qo50smaeht] { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid #e2e8f3; border-radius: 11px; cursor: pointer; }
.package-choices label:has(input:checked)[b-qo50smaeht] { border-color: #5773e7; background: #f3f6ff; }
.package-choices input[b-qo50smaeht] { accent-color: #4867e7; width: 16px; height: 16px; margin: 0; flex: none; }
.package-choices span[b-qo50smaeht] { display: grid; gap: 3px; }
.package-choices strong[b-qo50smaeht] { font-size: 13px; }
.package-choices small[b-qo50smaeht] { color: #7c899f; font-size: 11px; }

.toggle-row[b-qo50smaeht] { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 6px 0; cursor: pointer; }
.toggle-row span[b-qo50smaeht] { display: grid; gap: 4px; }
.toggle-row strong[b-qo50smaeht] { font-size: 13px; }
.toggle-row small[b-qo50smaeht] { color: #7c899f; font-size: 11px; line-height: 1.45; }
.toggle-row input[b-qo50smaeht] { position: absolute; opacity: 0; }
.toggle-row i[b-qo50smaeht] { position: relative; display: block; width: 42px; height: 23px; background: #cbd4e2; border-radius: 100px; transition: .2s; flex: none; }
.toggle-row i[b-qo50smaeht]:after { content: ""; position: absolute; width: 17px; height: 17px; border-radius: 50%; background: #fff; top: 3px; inset-inline-start: 3px; box-shadow: 0 1px 3px #889; transition: .2s; }
.toggle-row input:checked + i[b-qo50smaeht] { background: #4867e7; }
.toggle-row input:checked + i[b-qo50smaeht]:after { inset-inline-start: 22px; }
.toggle-row input:focus-visible + i[b-qo50smaeht] { box-shadow: 0 0 0 3px #edf1ff; }

.form-footer[b-qo50smaeht] { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 18px; border: 1px solid #e2e8f3; border-radius: 14px; background: #fff; }
.switch-toggle[b-qo50smaeht] { min-width: 220px; }

.primary-button[b-qo50smaeht] { border: 0; border-radius: 10px; background: #3156db; color: #fff; padding: 12px 18px; font: inherit; font-weight: 700; box-shadow: 0 8px 18px rgba(49, 86, 219, .2); cursor: pointer; }
.primary-button span[b-qo50smaeht] { font-size: 16px; margin-inline-end: 5px; }
.ghost-button[b-qo50smaeht] { display: inline-flex; align-items: center; padding: 9px 14px; border: 1px solid #d9e1ef; border-radius: 9px; color: #3d4c65; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }


/* ---- the codes ---- */

.codes-card[b-qo50smaeht] { margin-top: 18px; }
.codes-card h2[b-qo50smaeht] { margin: 0 0 12px; font-size: 17px; }
.table-wrap[b-qo50smaeht] { overflow-x: auto; }
.codes-card table[b-qo50smaeht] { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 900px; }
.codes-card th[b-qo50smaeht] { text-align: start; color: #6b7890; font-weight: 800; font-size: 11px; padding: 9px 10px; background: #f5f7fd; border-bottom: 1px solid #e3e9f3; }
.codes-card td[b-qo50smaeht] { padding: 11px 10px; border-bottom: 1px solid #edf1f7; color: #23324b; vertical-align: top; }
.codes-card td small[b-qo50smaeht] { display: block; margin-top: 3px; color: #7c899f; font-size: 11px; line-height: 1.6; }
.codes-card tr.is-editing td[b-qo50smaeht] { background: #f6f8ff; }
.codes-card code[b-qo50smaeht] { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; font-weight: 800; letter-spacing: .04em; color: #1d3fbf; }
.actions[b-qo50smaeht] { white-space: nowrap; }
.actions form[b-qo50smaeht] { display: inline; }
.small-button[b-qo50smaeht] { display: inline-flex; align-items: center; margin: 0 2px 4px; padding: 6px 10px; border: 1px solid #d9e1ef; border-radius: 8px; background: #fff; color: #3d4c65; font: inherit; font-size: 11px; font-weight: 700; text-decoration: none; cursor: pointer; }
.small-button:hover[b-qo50smaeht] { border-color: #5773e7; color: #2f4fcf; }
.small-button.danger[b-qo50smaeht] { color: #b83442; }
.small-button.danger:hover[b-qo50smaeht] { border-color: #e6a0a8; }
.status[b-qo50smaeht] { display: inline-block; border-radius: 999px; padding: 3px 9px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.status.done[b-qo50smaeht] { background: #e9f8ee; color: #177442; }
.status.waiting[b-qo50smaeht] { background: #fff4d8; color: #926400; }
.status.off[b-qo50smaeht] { background: #f1f3f7; color: #6d798d; }
.muted[b-qo50smaeht] { margin: 12px 0 0; color: #74829a; font-size: 12px; line-height: 1.7; }

@media (max-width: 900px) {
    .vat-body[b-qo50smaeht], .setting-cards[b-qo50smaeht], .two-fields[b-qo50smaeht] { grid-template-columns: 1fr; }
    .vat-stats[b-qo50smaeht] { grid-template-columns: 1fr; }
    .page-header[b-qo50smaeht], .form-head[b-qo50smaeht] { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
    .admin-discounts[b-qo50smaeht] { padding: 22px 16px; }
    .form-footer[b-qo50smaeht] { align-items: stretch; flex-direction: column; }
    .switch-toggle[b-qo50smaeht] { min-width: 0; }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Billing/AdminPaymentGateway.razor.rz.scp.css */
.admin-payment-gateway[b-zeghcvij3h] {
    max-width: 1260px;
    margin: 0 auto;
    padding: 34px 30px 48px;
    color: #1a2740;
}

.page-header[b-zeghcvij3h] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 26px;
}

.eyebrow[b-zeghcvij3h] {
    display: block;
    color: #506de5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.page-header h1[b-zeghcvij3h] {
    margin: 8px 0 10px;
    font-size: 30px;
}

.page-header p[b-zeghcvij3h] {
    margin: 0;
    color: #73819a;
    max-width: 70ch;
    line-height: 1.75;
}

.status-badge[b-zeghcvij3h] {
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.status-badge span[b-zeghcvij3h] {
    margin-inline-end: 6px;
}

.status-badge.is-live[b-zeghcvij3h] {
    border: 1px solid #cdebdc;
    background: #f0fbf5;
    color: #19774b;
}

.status-badge.is-off[b-zeghcvij3h] {
    border: 1px solid #e6dcc4;
    background: #fffaf3;
    color: #92651a;
}

.reason-card[b-zeghcvij3h] {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    background: #fffaf3;
    border: 1px solid #f3dfbd;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 18px;
}

.reason-icon[b-zeghcvij3h] {
    display: grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #fff0d6;
    color: #ba7414;
    font-weight: 900;
}

.reason-card strong[b-zeghcvij3h] {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

.reason-card p[b-zeghcvij3h] {
    margin: 0;
    color: #7d6b4c;
    font-size: 12px;
    line-height: 1.7;
}

.setting-cards[b-zeghcvij3h] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.setting-card[b-zeghcvij3h],
.audit-card[b-zeghcvij3h],
.test-card[b-zeghcvij3h] {
    background: #fff;
    border: 1px solid #e2e8f3;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(37,55,94,.045);
    padding: 22px;
}

.card-heading[b-zeghcvij3h] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf1f7;
}

.card-heading h2[b-zeghcvij3h] {
    font-size: 17px;
    margin: 0 0 5px;
}

.card-heading p[b-zeghcvij3h] {
    margin: 0;
    color: #74829a;
    font-size: 12px;
    line-height: 1.7;
}

.card-icon[b-zeghcvij3h] {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #eaf0ff;
    color: #4563dd;
    font-size: 20px;
}

.card-icon.purple[b-zeghcvij3h] {
    background: #f2ecff;
    color: #7b5cdb;
}

.card-icon.green[b-zeghcvij3h] {
    background: #e9f8ef;
    color: #1f8a52;
}

.fields[b-zeghcvij3h] {
    display: grid;
    gap: 17px;
    padding-top: 19px;
}

.fields label[b-zeghcvij3h] {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
}

.fields label > span[b-zeghcvij3h] {
    color: #3d4c65;
}

.fields small[b-zeghcvij3h] {
    color: #8793a8;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.7;
}

.fields input[b-zeghcvij3h],
.fields select[b-zeghcvij3h],
.fields textarea[b-zeghcvij3h] {
    box-sizing: border-box;
    width: 100%;
    padding: 0 11px;
    background: #fbfcff;
    border: 1px solid #d9e1ef;
    border-radius: 9px;
    color: #23324b;
    font: inherit;
    font-weight: 400;
    outline: none;
}

.fields input[b-zeghcvij3h],
.fields select[b-zeghcvij3h] {
    height: 40px;
}

.fields textarea[b-zeghcvij3h] {
    padding: 11px;
    line-height: 1.7;
    resize: vertical;
}

.fields input:focus[b-zeghcvij3h],
.fields select:focus[b-zeghcvij3h],
.fields textarea:focus[b-zeghcvij3h] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px #edf1ff;
}

.provider-row[b-zeghcvij3h] {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: baseline;
    gap: 4px 10px;
    font-size: 12px;
    font-weight: 700;
}

.provider-row > span[b-zeghcvij3h] {
    color: #3d4c65;
}

.provider-row b[b-zeghcvij3h] {
    padding: 3px 10px;
    border-radius: 100px;
    background: #eef2ff;
    color: #4965dd;
    font-size: 12px;
}

.provider-row small[b-zeghcvij3h] {
    grid-column: 1 / -1;
    color: #8793a8;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.7;
}

.merchant-id b.installed[b-zeghcvij3h] {
    display: inline-block;
    margin-inline-start: 8px;
    padding: 2px 8px;
    border-radius: 100px;
    background: #eef2ff;
    color: #4965dd;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
}

.mode-block[b-zeghcvij3h] {
    display: grid;
    gap: 15px;
    padding: 16px;
    border: 1px dashed #dde4f1;
    border-radius: 12px;
    background: #fbfcff;
}

.mode-block h3[b-zeghcvij3h] {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    color: #4c5b74;
    letter-spacing: .02em;
}

.toggle-row[b-zeghcvij3h] {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    cursor: pointer;
}

.toggle-row > span[b-zeghcvij3h] {
    display: grid;
    gap: 4px;
}

.toggle-row strong[b-zeghcvij3h] {
    font-size: 13px;
}

.toggle-row small[b-zeghcvij3h] {
    color: #7c899f;
    font-size: 11px;
    line-height: 1.5;
}

.toggle-row input[b-zeghcvij3h] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-row i[b-zeghcvij3h] {
    position: relative;
    display: block;
    flex: none;
    width: 42px;
    height: 23px;
    background: #cbd4e2;
    border-radius: 100px;
    transition: .2s;
}

.toggle-row i[b-zeghcvij3h]:after {
    content: "";
    position: absolute;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    top: 3px;
    inset-inline-start: 3px;
    box-shadow: 0 1px 3px #889;
    transition: .2s;
}

.toggle-row input:checked + i[b-zeghcvij3h] {
    background: #4867e7;
}

.toggle-row input:checked + i[b-zeghcvij3h]:after {
    inset-inline-start: 22px;
}

.toggle-row.danger input:checked + i[b-zeghcvij3h] {
    background: #d9534f;
}

.audit-card[b-zeghcvij3h] {
    margin-top: 18px;
}

.audit-card label[b-zeghcvij3h] {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: #3d4c65;
}

.audit-card input[b-zeghcvij3h] {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    padding: 0 11px;
    background: #fbfcff;
    border: 1px solid #d9e1ef;
    border-radius: 9px;
    color: #23324b;
    font: inherit;
    font-weight: 400;
    outline: none;
}

.audit-card input:focus[b-zeghcvij3h] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px #edf1ff;
}

.form-footer[b-zeghcvij3h] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.form-footer p[b-zeghcvij3h] {
    margin: 0;
    color: #8190a7;
    font-size: 12px;
    line-height: 1.7;
}

.form-footer button[b-zeghcvij3h] {
    flex: none;
    border: 0;
    border-radius: 10px;
    background: #3156db;
    color: #fff;
    padding: 12px 18px;
    font: inherit;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(49,86,219,.2);
    cursor: pointer;
}

.form-footer button span[b-zeghcvij3h] {
    font-size: 16px;
    margin-inline-end: 5px;
}

.test-card[b-zeghcvij3h] {
    margin-top: 18px;
}

.test-form[b-zeghcvij3h] {
    display: flex;
    gap: 10px;
    padding-top: 19px;
}

.test-form input[b-zeghcvij3h] {
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    background: #fbfcff;
    border: 1px solid #d9e1ef;
    border-radius: 9px;
    color: #23324b;
    font: inherit;
    outline: none;
    direction: ltr;
    text-align: start;
}

.test-form input:focus[b-zeghcvij3h] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px #edf1ff;
}

.test-form button[b-zeghcvij3h] {
    flex: none;
    border: 0;
    border-radius: 10px;
    background: #1f8a52;
    color: #fff;
    padding: 0 18px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.last-run[b-zeghcvij3h] {
    margin: 14px 0 0;
    font-size: 11.5px;
    line-height: 1.7;
}

.last-run.ok[b-zeghcvij3h] {
    color: #19774b;
}

.last-run.bad[b-zeghcvij3h] {
    color: #b83442;
}

.last-run span[b-zeghcvij3h] {
    color: #8793a8;
}

.notice[b-zeghcvij3h],
.error[b-zeghcvij3h],
.loading-state[b-zeghcvij3h] {
    padding: 13px 15px;
    border-radius: 11px;
    margin-bottom: 16px;
    line-height: 1.7;
}

.notice small[b-zeghcvij3h],
.error small[b-zeghcvij3h] {
    display: block;
    margin-top: 5px;
    opacity: .8;
    font-size: 11px;
}

.notice[b-zeghcvij3h] {
    background: #eaf8ef;
    color: #176e40;
}

.error[b-zeghcvij3h] {
    background: #fff0f1;
    color: #b83442;
}

.loading-state[b-zeghcvij3h] {
    background: #fff;
    color: #73819a;
    border: 1px solid #e2e8f3;
}


/* =====================================================
   DARK
   ===================================================== */

[data-theme="dark"] .admin-payment-gateway[b-zeghcvij3h] {
    color: #dbe3f2;
}

[data-theme="dark"] .page-header p[b-zeghcvij3h],
[data-theme="dark"] .card-heading p[b-zeghcvij3h],
[data-theme="dark"] .fields small[b-zeghcvij3h],
[data-theme="dark"] .form-footer p[b-zeghcvij3h],
[data-theme="dark"] .toggle-row small[b-zeghcvij3h],
[data-theme="dark"] .last-run span[b-zeghcvij3h] {
    color: #8b98b1;
}

[data-theme="dark"] .setting-card[b-zeghcvij3h],
[data-theme="dark"] .audit-card[b-zeghcvij3h],
[data-theme="dark"] .test-card[b-zeghcvij3h],
[data-theme="dark"] .loading-state[b-zeghcvij3h] {
    background: #161d2c;
    border-color: #26314a;
    box-shadow: none;
}

[data-theme="dark"] .card-heading[b-zeghcvij3h] {
    border-bottom-color: #26314a;
}

[data-theme="dark"] .fields label > span[b-zeghcvij3h],
[data-theme="dark"] .audit-card label[b-zeghcvij3h],
[data-theme="dark"] .mode-block h3[b-zeghcvij3h] {
    color: #b6c2d8;
}

[data-theme="dark"] .fields input[b-zeghcvij3h],
[data-theme="dark"] .fields select[b-zeghcvij3h],
[data-theme="dark"] .fields textarea[b-zeghcvij3h],
[data-theme="dark"] .audit-card input[b-zeghcvij3h],
[data-theme="dark"] .test-form input[b-zeghcvij3h] {
    background: #101623;
    border-color: #2b3752;
    color: #e4ebf8;
}

[data-theme="dark"] .fields input:focus[b-zeghcvij3h],
[data-theme="dark"] .fields select:focus[b-zeghcvij3h],
[data-theme="dark"] .fields textarea:focus[b-zeghcvij3h],
[data-theme="dark"] .audit-card input:focus[b-zeghcvij3h],
[data-theme="dark"] .test-form input:focus[b-zeghcvij3h] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px rgba(87,115,231,.18);
}

[data-theme="dark"] .mode-block[b-zeghcvij3h] {
    background: #121926;
    border-color: #2b3752;
}

[data-theme="dark"] .toggle-row i[b-zeghcvij3h] {
    background: #38455f;
}

[data-theme="dark"] .status-badge.is-live[b-zeghcvij3h] {
    background: #10281c;
    border-color: #1f5138;
    color: #5fd598;
}

[data-theme="dark"] .status-badge.is-off[b-zeghcvij3h],
[data-theme="dark"] .reason-card[b-zeghcvij3h] {
    background: #241c0f;
    border-color: #4c3a18;
    color: #e2b563;
}

[data-theme="dark"] .reason-card p[b-zeghcvij3h] {
    color: #c2a273;
}

[data-theme="dark"] .reason-icon[b-zeghcvij3h] {
    background: #3a2c12;
    color: #e2b563;
}

[data-theme="dark"] .card-icon[b-zeghcvij3h] {
    background: #1b2540;
    color: #7d97f5;
}

[data-theme="dark"] .card-icon.purple[b-zeghcvij3h] {
    background: #241c3d;
    color: #a58bf0;
}

[data-theme="dark"] .card-icon.green[b-zeghcvij3h] {
    background: #10281c;
    color: #5fd598;
}

[data-theme="dark"] .merchant-id b.installed[b-zeghcvij3h],
[data-theme="dark"] .provider-row b[b-zeghcvij3h] {
    background: #1b2540;
    color: #7d97f5;
}

[data-theme="dark"] .provider-row > span[b-zeghcvij3h] {
    color: #b6c2d8;
}

[data-theme="dark"] .provider-row small[b-zeghcvij3h] {
    color: #8b98b1;
}

[data-theme="dark"] .notice[b-zeghcvij3h] {
    background: #10281c;
    color: #5fd598;
}

[data-theme="dark"] .error[b-zeghcvij3h] {
    background: #2a1418;
    color: #f08a95;
}

[data-theme="dark"] .last-run.ok[b-zeghcvij3h] {
    color: #5fd598;
}

[data-theme="dark"] .last-run.bad[b-zeghcvij3h] {
    color: #f08a95;
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 850px) {
    .setting-cards[b-zeghcvij3h] {
        grid-template-columns: 1fr;
    }

    .page-header[b-zeghcvij3h] {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .admin-payment-gateway[b-zeghcvij3h] {
        padding: 22px 16px;
    }

    .form-footer[b-zeghcvij3h],
    .test-form[b-zeghcvij3h] {
        flex-direction: column;
        align-items: stretch;
    }

    .test-form button[b-zeghcvij3h] {
        height: 42px;
    }
}

/* =====================================================
   DELIVERY DIAGNOSTICS
   ===================================================== */

.diagnostics-form[b-zeghcvij3h] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #edf1f7;
}

.diagnostics-form button[b-zeghcvij3h] {
    flex: none;
    border: 1px solid #d8dcfb;
    border-radius: 10px;
    background: #f6f7ff;
    color: #4a63d8;
    padding: 10px 15px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.diagnostics-form button:hover[b-zeghcvij3h] {
    background: #eef1ff;
}

.diagnostics-form small[b-zeghcvij3h] {
    color: #8793a8;
    font-size: 11px;
}

.diagnostics-result[b-zeghcvij3h] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid #e2e8f3;
    border-radius: 12px;
    background: #fbfcff;
}

.diagnostics-result > div[b-zeghcvij3h] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.diagnostics-result span[b-zeghcvij3h] {
    color: #8793a8;
    font-size: 10.5px;
    font-weight: 700;
}

.diagnostics-result strong[b-zeghcvij3h] {
    font-size: 13px;
    color: #26304a;
}

.diagnostics-result strong.ok[b-zeghcvij3h] {
    color: #19774b;
}

.diagnostics-result strong.bad[b-zeghcvij3h] {
    color: #b83442;
}

.diagnostics-result em[b-zeghcvij3h],
.diagnostics-note[b-zeghcvij3h] {
    font-style: normal;
    font-size: 10.5px;
    color: #8793a8;
    line-height: 1.7;
}

.diagnostics-hint[b-zeghcvij3h] {
    margin: 12px 0 0;
    padding: 12px 14px;
    border: 1px solid #f3dfbd;
    border-radius: 11px;
    background: #fffaf3;
    color: #7d6b4c;
    font-size: 11.5px;
    line-height: 1.8;
}

[data-theme="dark"] .diagnostics-form[b-zeghcvij3h] {
    border-top-color: #26314a;
}

[data-theme="dark"] .diagnostics-form button[b-zeghcvij3h] {
    background: #161c2e;
    border-color: #2c3556;
    color: #8ba3f7;
}

[data-theme="dark"] .diagnostics-result[b-zeghcvij3h] {
    background: #121926;
    border-color: #26314a;
}

[data-theme="dark"] .diagnostics-result strong[b-zeghcvij3h] {
    color: #dfe6f6;
}

[data-theme="dark"] .diagnostics-result strong.ok[b-zeghcvij3h] {
    color: #5fd598;
}

[data-theme="dark"] .diagnostics-result strong.bad[b-zeghcvij3h] {
    color: #f08a95;
}

[data-theme="dark"] .diagnostics-result span[b-zeghcvij3h],
[data-theme="dark"] .diagnostics-result em[b-zeghcvij3h],
[data-theme="dark"] .diagnostics-note[b-zeghcvij3h],
[data-theme="dark"] .diagnostics-form small[b-zeghcvij3h] {
    color: #8b98b1;
}

[data-theme="dark"] .diagnostics-hint[b-zeghcvij3h] {
    background: #241c0f;
    border-color: #4c3a18;
    color: #c2a273;
}

@media (max-width: 620px) {
    .diagnostics-result[b-zeghcvij3h] {
        grid-template-columns: 1fr;
    }

    .diagnostics-form[b-zeghcvij3h] {
        flex-direction: column;
        align-items: stretch;
    }
}


/* =====================================================
   PAYMENT-SPECIFIC
   ===================================================== */

.status-badge.is-test[b-zeghcvij3h] {
    border: 1px solid #e6dcc4;
    background: #fffaf3;
    color: #92651a;
}

.reason-card ul[b-zeghcvij3h] {
    margin: 6px 0 0;
    padding-inline-start: 18px;
    color: #7d6b4c;
    font-size: 12px;
    line-height: 1.9;
}

.reason-card:not(.is-blocking)[b-zeghcvij3h] {
    border-color: #d8dcfb;
    background: linear-gradient(180deg, #f6f7ff 0%, #fbfbff 100%);
}

.reason-card:not(.is-blocking) .reason-icon[b-zeghcvij3h] {
    background: #e7ebff;
    color: #4a63d8;
}

.reason-card:not(.is-blocking) p[b-zeghcvij3h] {
    color: #77819a;
}

.toggle-row.is-locked[b-zeghcvij3h] {
    opacity: .55;
    cursor: not-allowed;
}

[data-theme="dark"] .status-badge.is-test[b-zeghcvij3h] {
    background: #241c0f;
    border-color: #4c3a18;
    color: #e2b563;
}

[data-theme="dark"] .reason-card ul[b-zeghcvij3h] {
    color: #c2a273;
}

[data-theme="dark"] .reason-card:not(.is-blocking)[b-zeghcvij3h] {
    border-color: #2c3556;
    background: #161c2e;
}

[data-theme="dark"] .reason-card:not(.is-blocking) .reason-icon[b-zeghcvij3h] {
    background: #1e2745;
    color: #8ba3f7;
}

[data-theme="dark"] .reason-card:not(.is-blocking) p[b-zeghcvij3h] {
    color: #8b98b1;
}

/* ---- payment mode: one control, three states ---- */

.mode-choice[b-zeghcvij3h] {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.mode-choice legend[b-zeghcvij3h] {
    padding: 0 0 8px;
    color: #3d4c65;
    font-size: 12px;
    font-weight: 700;
}

.mode-choice label[b-zeghcvij3h] {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 10px;
    padding: 11px 13px;
    border: 1px solid #dfe4ee;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.mode-choice label:hover[b-zeghcvij3h] {
    border-color: #b9c4dd;
}

.mode-choice label.is-selected[b-zeghcvij3h] {
    border-color: #5773e7;
    background: #f6f8ff;
}

.mode-choice label.is-locked[b-zeghcvij3h] {
    background: #f5f6f9;
    cursor: not-allowed;
    opacity: .62;
}

.mode-choice input[b-zeghcvij3h] {
    width: 15px;
    height: 15px;
    margin: 2px 0 0;
    accent-color: #5773e7;
}

.mode-choice strong[b-zeghcvij3h] {
    display: block;
    color: #1f2a3d;
    font-size: 13px;
    font-weight: 700;
}

.mode-choice small[b-zeghcvij3h] {
    display: block;
    margin-top: 3px;
    color: #8793a8;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.7;
}

/* ---- gateway choice: only the selected gateway's code is on the screen ---- */

.provider-choice label:has(input:checked)[b-zeghcvij3h] {
    border-color: #5773e7;
    background: #f6f8ff;
}

.provider-choice small.provider-note[b-zeghcvij3h] {
    margin-top: 0;
}

.gateway-fields[b-zeghcvij3h] {
    display: grid;
    gap: 17px;
}

form:has(input[name="Provider"][value="Zibal"]:checked) .gateway-fields.for-zarinpal[b-zeghcvij3h],
form:has(input[name="Provider"][value="ZarinPal"]:checked) .gateway-fields.for-zibal[b-zeghcvij3h] {
    display: none;
}
/* _content/AITranslationPlatform.Web/Components/Admin/Cache/AdminTranslationCache.razor.rz.scp.css */
.admin-cache[b-xh5lztvvic]{max-width:1200px;margin:auto;padding:26px}.admin-cache span[b-xh5lztvvic]{color:#71809a}.metrics[b-xh5lztvvic]{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:18px 0}.metrics article[b-xh5lztvvic],.panel[b-xh5lztvvic]{padding:16px;border:1px solid #e2e8f3;border-radius:14px;background:#fff}.metrics strong[b-xh5lztvvic]{display:block;font-size:21px;margin-top:8px}.pair[b-xh5lztvvic]{display:flex;justify-content:space-between;padding:10px;background:#f8faff;margin:6px 0;border-radius:8px}.warning[b-xh5lztvvic]{background:#fff9ed}.warning button[b-xh5lztvvic]{padding:9px 13px;border:0;border-radius:8px;background:#c2410c;color:#fff}@media(max-width:800px){.metrics[b-xh5lztvvic]{grid-template-columns:repeat(2,1fr)}}
/* _content/AITranslationPlatform.Web/Components/Admin/Dashboard/AdminDashboard.razor.rz.scp.css */
.admin-dashboard-page[b-2d1zp7kp82] {
    display: grid;
    gap: 24px;
}

.admin-dashboard-hero[b-2d1zp7kp82] {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding: 30px 32px;
    border: 1px solid var(--admin-line);
    border-radius: 24px;
    background: radial-gradient(circle at 90% 0%, rgba(24, 68, 198, .08), transparent 32%), var(--admin-surface);
    box-shadow: var(--admin-shadow);
}

    .admin-dashboard-hero[b-2d1zp7kp82]::after {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        inset-inline-end: -90px;
        inset-block-end: -140px;
        border: 1px solid rgba(24, 68, 198, .08);
        border-radius: 50%;
        pointer-events: none;
    }

.admin-dashboard-hero-copy[b-2d1zp7kp82] {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.admin-dashboard-eyebrow[b-2d1zp7kp82],
.admin-section-heading span[b-2d1zp7kp82],
.admin-card-heading > div > span[b-2d1zp7kp82],
.admin-metric-group-header small[b-2d1zp7kp82] {
    color: var(--admin-accent);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .11em;
}

.admin-dashboard-hero h1[b-2d1zp7kp82] {
    margin: 9px 0 0;
    color: var(--admin-text);
    font-size: clamp(25px, 2.5vw, 38px);
    line-height: 1.24;
    letter-spacing: -.035em;
}

.admin-dashboard-hero p[b-2d1zp7kp82] {
    max-width: 750px;
    margin: 12px 0 0;
    color: var(--admin-text-2);
    font-size: 13px;
    line-height: 1.85;
}

.admin-dashboard-hero-actions[b-2d1zp7kp82] {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 9px;
}

.admin-dashboard-live-badge[b-2d1zp7kp82],
.admin-refresh-button[b-2d1zp7kp82] {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 800;
}

.admin-dashboard-live-badge[b-2d1zp7kp82] {
    border: 1px solid rgba(39, 132, 103, .13);
    color: var(--admin-success);
    background: rgba(39, 132, 103, .07);
}

    .admin-dashboard-live-badge small[b-2d1zp7kp82] {
        color: var(--admin-muted);
        font-size: 8px;
        font-weight: 700;
    }

.admin-dashboard-live-dot[b-2d1zp7kp82] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(39, 132, 103, .08);
}

.admin-refresh-button[b-2d1zp7kp82] {
    border: 1px solid var(--admin-line-strong);
    color: var(--admin-text-2);
    background: var(--admin-surface-elevated);
    cursor: pointer;
    transition: 160ms ease;
}

    .admin-refresh-button:hover:not(:disabled)[b-2d1zp7kp82] {
        color: var(--admin-accent);
        border-color: rgba(24, 68, 198, .16);
        background: var(--admin-accent-soft);
    }

    .admin-refresh-button:disabled[b-2d1zp7kp82] {
        opacity: .58;
        cursor: wait;
    }

    .admin-refresh-button svg[b-2d1zp7kp82] {
        width: 17px;
        height: 17px;
    }

.is-spinning[b-2d1zp7kp82] {
    animation: admin-spin-b-2d1zp7kp82 1s linear infinite;
}

@keyframes admin-spin-b-2d1zp7kp82 {
    to {
        transform: rotate(360deg);
    }
}

.admin-dashboard-loading[b-2d1zp7kp82],
.admin-dashboard-error[b-2d1zp7kp82] {
    min-height: 260px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 34px;
    border: 1px solid var(--admin-line);
    border-radius: 20px;
    background: var(--admin-surface);
    text-align: center;
}

.admin-dashboard-spinner[b-2d1zp7kp82] {
    width: 34px;
    height: 34px;
    border: 3px solid var(--admin-line);
    border-top-color: var(--admin-accent);
    border-radius: 50%;
    animation: admin-spin-b-2d1zp7kp82 .85s linear infinite;
}

.admin-dashboard-loading strong[b-2d1zp7kp82],
.admin-dashboard-error strong[b-2d1zp7kp82] {
    color: var(--admin-text);
    font-size: 13px;
}

.admin-dashboard-loading p[b-2d1zp7kp82],
.admin-dashboard-error p[b-2d1zp7kp82] {
    max-width: 620px;
    margin: 0;
    color: var(--admin-muted);
    font-size: 10px;
    line-height: 1.8;
}

.admin-dashboard-error[b-2d1zp7kp82] {
    grid-template-columns: auto minmax(0, 1fr) auto;
    place-items: initial;
    align-items: center;
    min-height: 0;
    text-align: start;
}

.admin-error-icon[b-2d1zp7kp82] {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--admin-danger);
    background: rgba(201, 74, 82, .08);
}

    .admin-error-icon svg[b-2d1zp7kp82] {
        width: 21px;
        height: 21px;
    }

.admin-dashboard-error button[b-2d1zp7kp82] {
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(201, 74, 82, .16);
    border-radius: 11px;
    color: var(--admin-danger);
    background: rgba(201, 74, 82, .06);
    font: inherit;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
}

.admin-inline-warning[b-2d1zp7kp82] {
    padding: 10px 13px;
    border: 1px solid rgba(169, 115, 31, .15);
    border-radius: 12px;
    color: var(--admin-warning);
    background: rgba(169, 115, 31, .07);
    font-size: 9px;
    font-weight: 700;
}

.admin-dashboard-section[b-2d1zp7kp82] {
    display: grid;
    gap: 16px;
}

.admin-section-heading[b-2d1zp7kp82],
.admin-card-heading[b-2d1zp7kp82] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

    .admin-section-heading h2[b-2d1zp7kp82],
    .admin-card-heading h2[b-2d1zp7kp82] {
        margin: 5px 0 0;
        color: var(--admin-text);
        font-size: 18px;
        line-height: 1.35;
    }

    .admin-section-heading p[b-2d1zp7kp82] {
        max-width: 540px;
        margin: 0;
        color: var(--admin-muted);
        font-size: 10px;
        line-height: 1.7;
        text-align: end;
    }

.admin-metric-groups[b-2d1zp7kp82] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-metric-group[b-2d1zp7kp82],
.admin-dashboard-card[b-2d1zp7kp82] {
    min-width: 0;
    border: 1px solid var(--admin-line);
    border-radius: 20px;
    background: var(--admin-surface);
    box-shadow: 0 12px 28px rgba(24, 32, 55, .035);
}

.admin-metric-group[b-2d1zp7kp82] {
    padding: 18px;
}

.admin-metric-group-header[b-2d1zp7kp82] {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--admin-line);
}

.admin-metric-group-icon[b-2d1zp7kp82] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--admin-accent);
    background: var(--admin-accent-soft);
}

    .admin-metric-group-icon svg[b-2d1zp7kp82] {
        width: 20px;
        height: 20px;
    }

.admin-metric-group-header > div[b-2d1zp7kp82] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.admin-metric-group-header strong[b-2d1zp7kp82] {
    color: var(--admin-text);
    font-size: 12px;
    font-weight: 800;
}

.admin-metric-list[b-2d1zp7kp82] {
    display: grid;
    padding-top: 6px;
}

.admin-metric-row[b-2d1zp7kp82] {
    min-height: 47px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px dashed var(--admin-line);
}

    .admin-metric-row:last-child[b-2d1zp7kp82] {
        border-bottom: 0;
    }

.admin-metric-label[b-2d1zp7kp82] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

    .admin-metric-label > span[b-2d1zp7kp82] {
        color: var(--admin-text-2);
        font-size: 10px;
        font-weight: 650;
    }

    .admin-metric-label small[b-2d1zp7kp82] {
        color: var(--admin-muted);
        font-size: 7.5px;
        line-height: 1.35;
    }

.admin-metric-row > strong[b-2d1zp7kp82] {
    flex: 0 0 auto;
    color: var(--admin-text);
    font-size: 14px;
    font-weight: 850;
    text-align: end;
}

    .admin-metric-row > strong.is-success[b-2d1zp7kp82] {
        color: var(--admin-success);
    }

    .admin-metric-row > strong.is-warning[b-2d1zp7kp82] {
        color: var(--admin-warning);
    }

    .admin-metric-row > strong.is-danger[b-2d1zp7kp82] {
        color: var(--admin-danger);
    }

    .admin-metric-row > strong.is-info[b-2d1zp7kp82] {
        color: var(--admin-accent);
    }

.admin-dashboard-insights-grid[b-2d1zp7kp82],
.admin-dashboard-lower-grid[b-2d1zp7kp82] {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 16px;
}

.admin-dashboard-card[b-2d1zp7kp82] {
    padding: 20px;
}

.admin-card-heading[b-2d1zp7kp82] {
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--admin-line);
}

.admin-card-heading-meta[b-2d1zp7kp82] {
    display: grid;
    justify-items: end;
    gap: 1px;
}

    .admin-card-heading-meta strong[b-2d1zp7kp82] {
        color: var(--admin-text);
        font-size: 18px;
        font-weight: 850;
    }

    .admin-card-heading-meta small[b-2d1zp7kp82] {
        color: var(--admin-muted);
        font-size: 8px;
    }

.admin-card-status[b-2d1zp7kp82] {
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--admin-muted);
    background: var(--admin-surface-soft);
    font-size: 8px;
    font-weight: 800;
}

    .admin-card-status.is-success[b-2d1zp7kp82] {
        color: var(--admin-success);
        background: rgba(39, 132, 103, .08);
    }

    .admin-card-status.is-warning[b-2d1zp7kp82] {
        color: var(--admin-warning);
        background: rgba(169, 115, 31, .08);
    }

.admin-activity-chart[b-2d1zp7kp82] {
    min-height: 230px;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: end;
    gap: 10px;
    padding: 26px 4px 8px;
}

.admin-activity-day[b-2d1zp7kp82] {
    min-width: 0;
    display: grid;
    gap: 8px;
    justify-items: center;
}

.admin-activity-bar-wrap[b-2d1zp7kp82] {
    width: min(38px, 72%);
    height: 170px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(to top, var(--admin-surface-soft), transparent);
}

.admin-activity-bar[b-2d1zp7kp82] {
    width: 100%;
    min-height: 6px;
    display: block;
    border-radius: 9px 9px 5px 5px;
    background: linear-gradient(180deg, rgba(24, 68, 198, .95), rgba(24, 68, 198, .56));
    box-shadow: 0 8px 18px rgba(24, 68, 198, .12);
    transition: height 220ms ease;
}

.admin-activity-value[b-2d1zp7kp82] {
    position: absolute;
    inset-block-start: -18px;
    color: var(--admin-text-2);
    font-size: 8px;
    font-weight: 800;
}

.admin-activity-date[b-2d1zp7kp82] {
    color: var(--admin-muted);
    font-size: 8px;
    font-weight: 750;
}

.admin-activity-summary[b-2d1zp7kp82] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--admin-line);
}

    .admin-activity-summary > div[b-2d1zp7kp82] {
        min-width: 0;
        display: grid;
        gap: 4px;
        padding: 10px;
        border-radius: 12px;
        background: var(--admin-surface-soft);
    }

    .admin-activity-summary span[b-2d1zp7kp82] {
        color: var(--admin-muted);
        font-size: 8px;
        font-weight: 700;
    }

    .admin-activity-summary strong[b-2d1zp7kp82] {
        color: var(--admin-text);
        font-size: 11px;
        font-weight: 850;
        overflow-wrap: anywhere;
    }

.admin-efficiency-primary[b-2d1zp7kp82] {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    padding: 18px 0 16px;
}

.admin-efficiency-icon[b-2d1zp7kp82] {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--admin-success);
    background: rgba(39, 132, 103, .08);
}

    .admin-efficiency-icon svg[b-2d1zp7kp82] {
        width: 22px;
        height: 22px;
    }

.admin-efficiency-primary > div[b-2d1zp7kp82] {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.admin-efficiency-primary span[b-2d1zp7kp82] {
    color: var(--admin-muted);
    font-size: 8px;
    font-weight: 700;
}

.admin-efficiency-primary strong[b-2d1zp7kp82] {
    color: var(--admin-success);
    font-size: 20px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.admin-efficiency-primary small[b-2d1zp7kp82] {
    color: var(--admin-muted);
    font-size: 8px;
    line-height: 1.6;
}

.admin-efficiency-grid[b-2d1zp7kp82] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.admin-efficiency-item[b-2d1zp7kp82] {
    min-width: 0;
    display: grid;
    gap: 5px;
    padding: 11px;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: var(--admin-surface-elevated);
}

    .admin-efficiency-item span[b-2d1zp7kp82] {
        color: var(--admin-muted);
        font-size: 8px;
        font-weight: 700;
    }

    .admin-efficiency-item strong[b-2d1zp7kp82] {
        color: var(--admin-text);
        font-size: 13px;
        font-weight: 850;
    }

.admin-empty-state[b-2d1zp7kp82] {
    min-height: 250px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 30px;
    text-align: center;
}

    .admin-empty-state.is-success .admin-empty-icon[b-2d1zp7kp82] {
        color: var(--admin-success);
        background: rgba(39, 132, 103, .08);
    }

.admin-empty-icon[b-2d1zp7kp82] {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: var(--admin-warning);
    background: rgba(169, 115, 31, .08);
}

    .admin-empty-icon svg[b-2d1zp7kp82] {
        width: 23px;
        height: 23px;
    }

.admin-empty-state strong[b-2d1zp7kp82] {
    color: var(--admin-text);
    font-size: 13px;
}

.admin-empty-state p[b-2d1zp7kp82] {
    max-width: 620px;
    margin: 0;
    color: var(--admin-muted);
    font-size: 10px;
    line-height: 1.8;
}

.admin-attention-list[b-2d1zp7kp82] {
    display: grid;
    gap: 7px;
    padding-top: 14px;
}

.admin-attention-item[b-2d1zp7kp82] {
    min-height: 50px;
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: var(--admin-surface-elevated);
}

.admin-attention-indicator[b-2d1zp7kp82] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--admin-muted);
}

    .admin-attention-indicator.is-danger[b-2d1zp7kp82] {
        background: var(--admin-danger);
    }

    .admin-attention-indicator.is-warning[b-2d1zp7kp82] {
        background: var(--admin-warning);
    }

.admin-attention-label[b-2d1zp7kp82] {
    color: var(--admin-text-2);
    font-size: 9px;
    font-weight: 700;
}

.admin-attention-item strong[b-2d1zp7kp82] {
    min-width: 28px;
    padding: 4px 7px;
    border-radius: 999px;
    text-align: center;
    font-size: 9px;
    font-weight: 850;
}

    .admin-attention-item strong.is-danger[b-2d1zp7kp82] {
        color: var(--admin-danger);
        background: rgba(201, 74, 82, .08);
    }

    .admin-attention-item strong.is-warning[b-2d1zp7kp82] {
        color: var(--admin-warning);
        background: rgba(169, 115, 31, .08);
    }

.admin-quick-actions[b-2d1zp7kp82] {
    display: grid;
    gap: 8px;
    padding-top: 14px;
}

.admin-quick-action[b-2d1zp7kp82] {
    min-height: 58px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid var(--admin-line);
    border-radius: 13px;
    color: var(--admin-text-2);
    background: var(--admin-surface-elevated);
    text-decoration: none;
    transition: 150ms ease;
}

    .admin-quick-action.is-active:hover[b-2d1zp7kp82] {
        color: var(--admin-accent);
        border-color: rgba(24, 68, 198, .14);
        background: var(--admin-accent-soft);
    }

    .admin-quick-action.is-disabled[b-2d1zp7kp82] {
        opacity: .48;
    }

.admin-quick-icon[b-2d1zp7kp82] {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--admin-surface-soft);
}

    .admin-quick-icon svg[b-2d1zp7kp82] {
        width: 18px;
        height: 18px;
    }

.admin-quick-action > span:last-child[b-2d1zp7kp82] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.admin-quick-action strong[b-2d1zp7kp82] {
    color: inherit;
    font-size: 10px;
    font-weight: 800;
}

.admin-quick-action small[b-2d1zp7kp82] {
    color: var(--admin-muted);
    font-size: 8px;
    line-height: 1.4;
}

html[data-theme="dark"] .admin-dashboard-hero[b-2d1zp7kp82] {
    background: radial-gradient(circle at 90% 0%, rgba(95, 128, 235, .11), transparent 34%), var(--admin-surface);
}

html[data-theme="dark"] .admin-metric-group[b-2d1zp7kp82],
html[data-theme="dark"] .admin-dashboard-card[b-2d1zp7kp82],
html[data-theme="dark"] .admin-dashboard-loading[b-2d1zp7kp82],
html[data-theme="dark"] .admin-dashboard-error[b-2d1zp7kp82] {
    box-shadow: none;
}

@media (max-width: 1280px) {
    .admin-metric-groups[b-2d1zp7kp82] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-dashboard-insights-grid[b-2d1zp7kp82],
    .admin-dashboard-lower-grid[b-2d1zp7kp82] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .admin-dashboard-hero[b-2d1zp7kp82] {
        align-items: flex-start;
        flex-direction: column;
        padding: 26px;
    }

    .admin-dashboard-hero-actions[b-2d1zp7kp82] {
        width: 100%;
        justify-content: space-between;
    }

    .admin-section-heading[b-2d1zp7kp82] {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

        .admin-section-heading p[b-2d1zp7kp82] {
            text-align: start;
        }

    .admin-activity-summary[b-2d1zp7kp82] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .admin-dashboard-page[b-2d1zp7kp82] {
        gap: 20px;
    }

    .admin-dashboard-hero[b-2d1zp7kp82] {
        padding: 22px 20px;
        border-radius: 18px;
    }

        .admin-dashboard-hero h1[b-2d1zp7kp82] {
            font-size: 24px;
        }

        .admin-dashboard-hero p[b-2d1zp7kp82] {
            font-size: 11px;
        }

    .admin-dashboard-hero-actions[b-2d1zp7kp82] {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-dashboard-live-badge[b-2d1zp7kp82],
    .admin-refresh-button[b-2d1zp7kp82] {
        width: 100%;
        justify-content: center;
    }

    .admin-metric-groups[b-2d1zp7kp82] {
        grid-template-columns: 1fr;
    }

    .admin-dashboard-card[b-2d1zp7kp82],
    .admin-metric-group[b-2d1zp7kp82],
    .admin-dashboard-loading[b-2d1zp7kp82],
    .admin-dashboard-error[b-2d1zp7kp82] {
        border-radius: 17px;
    }

    .admin-dashboard-error[b-2d1zp7kp82] {
        grid-template-columns: 1fr;
    }

        .admin-dashboard-error button[b-2d1zp7kp82] {
            width: 100%;
        }

    .admin-section-heading h2[b-2d1zp7kp82],
    .admin-card-heading h2[b-2d1zp7kp82] {
        font-size: 16px;
    }

    .admin-activity-chart[b-2d1zp7kp82] {
        gap: 5px;
        padding-inline: 0;
    }

    .admin-activity-bar-wrap[b-2d1zp7kp82] {
        width: 70%;
    }

    .admin-activity-value[b-2d1zp7kp82],
    .admin-activity-date[b-2d1zp7kp82] {
        font-size: 7px;
    }

    .admin-activity-summary[b-2d1zp7kp82],
    .admin-efficiency-grid[b-2d1zp7kp82] {
        grid-template-columns: 1fr;
    }

    .admin-empty-state[b-2d1zp7kp82] {
        min-height: 220px;
        padding: 24px 12px;
    }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Diagnostics/AdminErrorCenter.razor.rz.scp.css */
.admin-error-page[b-ir8xb4vxxg] {
    display: grid;
    gap: 16px;
    color: var(--admin-text);
}

.admin-error-hero[b-ir8xb4vxxg] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--admin-line);
    border-radius: 18px;
    background: var(--admin-surface);
}

.admin-error-hero > div[b-ir8xb4vxxg] {
    min-width: 0;
}

.admin-error-hero span[b-ir8xb4vxxg],
.admin-operational-incidents > header span[b-ir8xb4vxxg],
.admin-error-panel > header span[b-ir8xb4vxxg] {
    color: var(--admin-accent);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .11em;
}

.admin-error-hero h1[b-ir8xb4vxxg] {
    margin: 6px 0 7px;
    font-size: 22px;
}

.admin-error-hero p[b-ir8xb4vxxg] {
    max-width: 900px;
    margin: 0;
    color: var(--admin-muted);
    font-size: 10px;
    line-height: 1.8;
}

.admin-error-hero > a[b-ir8xb4vxxg],
.admin-error-filter-actions a[b-ir8xb4vxxg],
.admin-error-filter-actions button[b-ir8xb4vxxg],
.admin-operational-incidents article > a[b-ir8xb4vxxg] {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    color: var(--admin-text-2);
    background: var(--admin-surface);
    text-decoration: none;
    font: inherit;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
}

.admin-observability-summary[b-ir8xb4vxxg] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.admin-observability-summary article[b-ir8xb4vxxg],
.admin-error-summary article[b-ir8xb4vxxg] {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--admin-line);
    border-radius: 13px;
    background: var(--admin-surface);
}

.admin-observability-summary article.is-good[b-ir8xb4vxxg] {
    border-color: color-mix(in srgb, var(--admin-success) 28%, var(--admin-line));
    background: color-mix(in srgb, var(--admin-success) 4%, var(--admin-surface));
}

.admin-observability-summary article.is-warn[b-ir8xb4vxxg] {
    border-color: color-mix(in srgb, var(--admin-warning) 30%, var(--admin-line));
    background: color-mix(in srgb, var(--admin-warning) 5%, var(--admin-surface));
}

.admin-observability-summary article.is-bad[b-ir8xb4vxxg] {
    border-color: color-mix(in srgb, var(--admin-danger) 30%, var(--admin-line));
    background: color-mix(in srgb, var(--admin-danger) 5%, var(--admin-surface));
}

.admin-observability-summary span[b-ir8xb4vxxg],
.admin-observability-summary strong[b-ir8xb4vxxg],
.admin-observability-summary small[b-ir8xb4vxxg],
.admin-error-summary span[b-ir8xb4vxxg],
.admin-error-summary strong[b-ir8xb4vxxg] {
    display: block;
}

.admin-observability-summary span[b-ir8xb4vxxg],
.admin-error-summary span[b-ir8xb4vxxg] {
    color: var(--admin-muted);
    font-size: 6.5px;
}

.admin-observability-summary strong[b-ir8xb4vxxg] {
    margin-top: 4px;
    font-size: 10px;
    overflow-wrap: anywhere;
}

.admin-observability-summary small[b-ir8xb4vxxg] {
    margin-top: 3px;
    color: var(--admin-muted);
    font-size: 6.4px;
}

.admin-operational-incidents[b-ir8xb4vxxg],
.admin-error-panel[b-ir8xb4vxxg] {
    overflow: hidden;
    border: 1px solid var(--admin-line);
    border-radius: 15px;
    background: var(--admin-surface);
}

.admin-operational-incidents > header[b-ir8xb4vxxg],
.admin-error-panel > header[b-ir8xb4vxxg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border-bottom: 1px solid var(--admin-line);
}

.admin-operational-incidents > header h2[b-ir8xb4vxxg],
.admin-error-panel > header h2[b-ir8xb4vxxg] {
    margin: 4px 0 0;
    font-size: 12px;
}

.admin-operational-incidents > header > strong[b-ir8xb4vxxg] {
    padding: 4px 7px;
    border-radius: 999px;
    color: var(--admin-text-2);
    background: var(--admin-surface-soft);
    font-size: 7px;
}

.admin-operational-incidents > div[b-ir8xb4vxxg] {
    display: grid;
}

.admin-operational-incidents article[b-ir8xb4vxxg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-top: 1px solid var(--admin-line);
}

.admin-operational-incidents article:first-child[b-ir8xb4vxxg] {
    border-top: 0;
}

.admin-operational-incidents article.is-critical[b-ir8xb4vxxg] {
    background: color-mix(in srgb, var(--admin-danger) 4%, transparent);
}

.admin-operational-incidents article.is-warning[b-ir8xb4vxxg] {
    background: color-mix(in srgb, var(--admin-warning) 4%, transparent);
}

.admin-operational-incidents article > div[b-ir8xb4vxxg] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.admin-operational-incidents article span[b-ir8xb4vxxg],
.admin-operational-incidents article small[b-ir8xb4vxxg] {
    color: var(--admin-muted);
    font-size: 6.3px;
}

.admin-operational-incidents article strong[b-ir8xb4vxxg] {
    color: var(--admin-text);
    font-size: 7.5px;
    overflow-wrap: anywhere;
}

.admin-operational-incidents article > a[b-ir8xb4vxxg] {
    flex: 0 0 auto;
    min-height: 30px;
}

.admin-error-filter[b-ir8xb4vxxg] {
    display: grid;
    grid-template-columns: 2fr repeat(4, minmax(0, 1fr)) auto;
    align-items: end;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--admin-line);
    border-radius: 15px;
    background: var(--admin-surface);
}

.admin-error-filter label[b-ir8xb4vxxg] {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.admin-error-filter label > span[b-ir8xb4vxxg] {
    color: var(--admin-muted);
    font-size: 7px;
    font-weight: 800;
}

.admin-error-filter input[b-ir8xb4vxxg],
.admin-error-filter select[b-ir8xb4vxxg] {
    width: 100%;
    min-width: 0;
    height: 36px;
    padding: 0 9px;
    border: 1px solid var(--admin-line);
    border-radius: 9px;
    outline: none;
    color: var(--admin-text);
    background: var(--admin-surface-soft);
    font: inherit;
    font-size: 8px;
}

.admin-error-filter-actions[b-ir8xb4vxxg] {
    display: flex;
    gap: 6px;
}

.admin-error-filter-actions button[b-ir8xb4vxxg] {
    border-color: transparent;
    color: white;
    background: var(--admin-accent);
}

.admin-error-summary[b-ir8xb4vxxg] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.admin-error-summary strong[b-ir8xb4vxxg] {
    margin-top: 4px;
    font-size: 15px;
}

.admin-error-severity-totals[b-ir8xb4vxxg] {
    display: flex;
    gap: 5px;
}

.admin-error-severity-totals span[b-ir8xb4vxxg] {
    padding: 3px 6px;
    border-radius: 999px;
    font-size: 6.3px;
    font-weight: 900;
}

.admin-error-severity-totals .is-critical[b-ir8xb4vxxg],
.admin-error-severity-totals .is-error[b-ir8xb4vxxg] {
    color: var(--admin-danger);
    background: color-mix(in srgb, var(--admin-danger) 8%, transparent);
}

.admin-error-severity-totals .is-warning[b-ir8xb4vxxg] {
    color: var(--admin-warning);
    background: color-mix(in srgb, var(--admin-warning) 9%, transparent);
}

.admin-error-list[b-ir8xb4vxxg] {
    display: grid;
}

.admin-error-item[b-ir8xb4vxxg] {
    border-top: 1px solid var(--admin-line);
}

.admin-error-item:first-child[b-ir8xb4vxxg] {
    border-top: 0;
}

.admin-error-item > summary[b-ir8xb4vxxg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
    cursor: pointer;
    list-style: none;
}

.admin-error-item > summary[b-ir8xb4vxxg]::-webkit-details-marker {
    display: none;
}

.admin-error-item-main[b-ir8xb4vxxg],
.admin-error-item-context[b-ir8xb4vxxg] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.admin-error-item-context[b-ir8xb4vxxg] {
    justify-items: end;
    text-align: end;
}

.admin-error-item strong[b-ir8xb4vxxg] {
    font-size: 8px;
    overflow-wrap: anywhere;
}

.admin-error-item small[b-ir8xb4vxxg],
.admin-error-item time[b-ir8xb4vxxg],
.admin-error-item-context code[b-ir8xb4vxxg] {
    color: var(--admin-muted);
    font-size: 6.3px;
}

.admin-error-severity[b-ir8xb4vxxg] {
    width: fit-content;
    padding: 3px 6px;
    border-radius: 999px;
    font-size: 6.2px;
    font-weight: 900;
}

.admin-error-severity.is-critical[b-ir8xb4vxxg],
.admin-error-severity.is-error[b-ir8xb4vxxg] {
    color: var(--admin-danger);
    background: color-mix(in srgb, var(--admin-danger) 9%, transparent);
}

.admin-error-severity.is-warning[b-ir8xb4vxxg] {
    color: var(--admin-warning);
    background: color-mix(in srgb, var(--admin-warning) 10%, transparent);
}

.admin-error-detail[b-ir8xb4vxxg] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 14px 14px;
    border-top: 1px solid var(--admin-line);
    background: var(--admin-surface-soft);
}

.admin-error-detail > div[b-ir8xb4vxxg] {
    min-width: 0;
    padding: 9px;
    border: 1px solid var(--admin-line);
    border-radius: 9px;
    background: var(--admin-surface);
}

.admin-error-detail > div.is-wide[b-ir8xb4vxxg] {
    grid-column: 1 / -1;
}

.admin-error-detail span[b-ir8xb4vxxg],
.admin-error-detail strong[b-ir8xb4vxxg],
.admin-error-detail code[b-ir8xb4vxxg],
.admin-error-detail a[b-ir8xb4vxxg] {
    display: block;
}

.admin-error-detail span[b-ir8xb4vxxg] {
    margin-bottom: 4px;
    color: var(--admin-muted);
    font-size: 6.3px;
}

.admin-error-detail strong[b-ir8xb4vxxg],
.admin-error-detail code[b-ir8xb4vxxg],
.admin-error-detail a[b-ir8xb4vxxg] {
    color: var(--admin-text-2);
    font-size: 7px;
    overflow-wrap: anywhere;
}

.admin-error-detail a[b-ir8xb4vxxg] {
    color: var(--admin-accent);
    text-decoration: none;
}

.admin-error-stack pre[b-ir8xb4vxxg] {
    max-height: 300px;
    margin: 0;
    overflow: auto;
    white-space: pre-wrap;
    color: var(--admin-text-2);
    font-family: Consolas, monospace;
    font-size: 6.5px;
    line-height: 1.55;
}

.admin-error-state[b-ir8xb4vxxg] {
    padding: 24px;
    border: 1px dashed var(--admin-line);
    border-radius: 14px;
    color: var(--admin-muted);
    background: var(--admin-surface);
    text-align: center;
    font-size: 9px;
}

@media (max-width: 1180px) {
    .admin-error-filter[b-ir8xb4vxxg] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-error-filter .is-search[b-ir8xb4vxxg] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .admin-observability-summary[b-ir8xb4vxxg] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-error-hero[b-ir8xb4vxxg],
    .admin-operational-incidents article[b-ir8xb4vxxg],
    .admin-error-item > summary[b-ir8xb4vxxg] {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-error-item-context[b-ir8xb4vxxg] {
        justify-items: start;
        text-align: start;
    }
}

@media (max-width: 680px) {
    .admin-observability-summary[b-ir8xb4vxxg],
    .admin-error-summary[b-ir8xb4vxxg],
    .admin-error-filter[b-ir8xb4vxxg],
    .admin-error-detail[b-ir8xb4vxxg] {
        grid-template-columns: 1fr;
    }

    .admin-error-filter .is-search[b-ir8xb4vxxg],
    .admin-error-detail > div.is-wide[b-ir8xb4vxxg] {
        grid-column: auto;
    }

    .admin-error-filter-actions[b-ir8xb4vxxg] {
        width: 100%;
    }

    .admin-error-filter-actions > *[b-ir8xb4vxxg] {
        flex: 1;
    }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Diagnostics/AdminSystemHealth.razor.rz.scp.css */
.admin-diagnostics[b-x3jmwwzcar]{max-width:1450px;margin:auto;padding:30px;color:#17223b}.admin-diagnostics>header[b-x3jmwwzcar]{display:flex;justify-content:space-between;gap:20px}.admin-diagnostics header span[b-x3jmwwzcar]{font-size:.72rem;font-weight:800;letter-spacing:.12em;color:#71809a}.admin-diagnostics h1[b-x3jmwwzcar]{margin:8px 0;font-size:2rem}.admin-diagnostics p[b-x3jmwwzcar]{margin:0;color:#67758d;line-height:1.8}.admin-diagnostics>header>a[b-x3jmwwzcar]{height:max-content;padding:10px 15px;border-radius:9px;background:#eaf0ff;color:#244cc6;text-decoration:none;font-weight:800}.admin-diag-grid[b-x3jmwwzcar]{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:25px 0}.admin-diag-card[b-x3jmwwzcar],.admin-diag-panel[b-x3jmwwzcar]{background:#fff;border:1px solid #e3e9f4;border-radius:14px;box-shadow:0 8px 24px rgba(34,55,95,.05)}.admin-diag-card[b-x3jmwwzcar]{padding:19px}.admin-diag-card span[b-x3jmwwzcar],.admin-diag-card strong[b-x3jmwwzcar]{display:block}.admin-diag-card span[b-x3jmwwzcar]{color:#748199;font-size:.82rem}.admin-diag-card strong[b-x3jmwwzcar]{margin-top:9px;font-size:1.55rem}.admin-diag-card.is-good[b-x3jmwwzcar]{border-color:#9adab6}.admin-diag-card.is-warn[b-x3jmwwzcar]{border-color:#efd27f}.admin-diag-card.is-bad[b-x3jmwwzcar]{border-color:#efabab}.admin-diag-panel[b-x3jmwwzcar]{padding:21px}.admin-diag-panel h2[b-x3jmwwzcar]{margin:0 0 18px;font-size:1.12rem}.admin-diag-panel dl[b-x3jmwwzcar]{display:grid;grid-template-columns:220px 1fr;gap:12px;margin:0}.admin-diag-panel dt[b-x3jmwwzcar]{color:#71809a}.admin-diag-panel dd[b-x3jmwwzcar]{margin:0;overflow-wrap:anywhere}.admin-diag-state[b-x3jmwwzcar]{padding:35px 0;color:#6a7891}@media(max-width:760px){.admin-diagnostics[b-x3jmwwzcar]{padding:18px}.admin-diag-grid[b-x3jmwwzcar]{grid-template-columns:1fr 1fr}.admin-diagnostics>header[b-x3jmwwzcar]{flex-direction:column}.admin-diag-panel dl[b-x3jmwwzcar]{grid-template-columns:1fr}}@media(max-width:460px){.admin-diag-grid[b-x3jmwwzcar]{grid-template-columns:1fr}}
/* _content/AITranslationPlatform.Web/Components/Admin/Efficiency/AdminTranslationEfficiency.razor.rz.scp.css */
.admin-efficiency[b-17zw1xa7fz]{max-width:1450px;margin:auto;padding:30px;color:#17223b}.admin-efficiency>header[b-17zw1xa7fz]{display:flex;justify-content:space-between;gap:20px}.admin-efficiency header span[b-17zw1xa7fz]{font-size:.72rem;font-weight:800;letter-spacing:.12em;color:#71809a}.admin-efficiency h1[b-17zw1xa7fz]{margin:8px 0;font-size:2rem}.admin-efficiency p[b-17zw1xa7fz]{max-width:750px;margin:0;color:#68758d;line-height:1.8}.admin-efficiency nav[b-17zw1xa7fz]{display:flex;gap:7px;flex-wrap:wrap}.admin-efficiency nav a[b-17zw1xa7fz]{padding:8px 11px;border:1px solid #dce4f2;border-radius:8px;color:#52617b;text-decoration:none;font-size:.85rem}.admin-efficiency nav a.active[b-17zw1xa7fz]{background:#1844c6;border-color:#1844c6;color:#fff}.metrics[b-17zw1xa7fz]{display:grid;grid-template-columns:repeat(5,1fr);gap:13px;margin:25px 0}.metrics article[b-17zw1xa7fz],.panel[b-17zw1xa7fz]{background:#fff;border:1px solid #e2e9f4;border-radius:14px;box-shadow:0 8px 24px rgba(34,55,95,.05)}.metrics article[b-17zw1xa7fz]{padding:17px}.metrics span[b-17zw1xa7fz],.metrics small[b-17zw1xa7fz]{display:block;color:#71809a;font-size:.79rem}.metrics strong[b-17zw1xa7fz]{display:block;margin:8px 0;font-size:1.38rem}.panel[b-17zw1xa7fz]{padding:20px}.panel h2[b-17zw1xa7fz]{margin-top:0}.trend[b-17zw1xa7fz]{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}.trend article[b-17zw1xa7fz]{padding:13px;border-radius:10px;background:#f7f9fd}.trend strong[b-17zw1xa7fz],.trend span[b-17zw1xa7fz],.trend small[b-17zw1xa7fz]{display:block}.trend strong[b-17zw1xa7fz]{font-size:1.35rem;color:#1844c6}.trend span[b-17zw1xa7fz]{font-size:.78rem}.trend small[b-17zw1xa7fz]{margin-top:8px;color:#748199}.note[b-17zw1xa7fz]{margin-top:18px!important;font-size:.85rem}.state[b-17zw1xa7fz]{padding:35px 0;color:#6c7a91}@media(max-width:950px){.metrics[b-17zw1xa7fz]{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){.admin-efficiency[b-17zw1xa7fz]{padding:18px}.admin-efficiency>header[b-17zw1xa7fz]{flex-direction:column}.metrics[b-17zw1xa7fz]{grid-template-columns:1fr 1fr}}@media(max-width:420px){.metrics[b-17zw1xa7fz]{grid-template-columns:1fr}}
 .filters[b-17zw1xa7fz]{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:24px 0;padding:14px;background:#fff;border:1px solid #e2e9f4;border-radius:14px}.filters label[b-17zw1xa7fz]{display:grid;gap:5px;color:#62708a;font-size:.78rem}.filters select[b-17zw1xa7fz],.filters input[b-17zw1xa7fz]{min-width:145px;padding:8px 10px;border:1px solid #ccd7e9;border-radius:8px;background:#fbfcff;color:#1d2a43}.filters button[b-17zw1xa7fz],.filters>a[b-17zw1xa7fz]{padding:9px 13px;border:0;border-radius:8px;background:#1844c6;color:#fff;text-decoration:none;font:inherit;cursor:pointer}.filters>a[b-17zw1xa7fz]{background:#edf1f8;color:#45536d}@media(max-width:650px){.filters[b-17zw1xa7fz]{align-items:stretch}.filters label[b-17zw1xa7fz]{width:100%}.filters select[b-17zw1xa7fz],.filters input[b-17zw1xa7fz]{width:100%}}
/* _content/AITranslationPlatform.Web/Components/Admin/Email/AdminEmailSettings.razor.rz.scp.css */
.admin-email[b-htq12h7tax] {
    max-width: 1260px;
    margin: 0 auto;
    padding: 34px 30px 48px;
    color: #1a2740;
}

.page-header[b-htq12h7tax] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 26px;
}

.eyebrow[b-htq12h7tax] {
    display: block;
    color: #506de5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.page-header h1[b-htq12h7tax] {
    margin: 8px 0 10px;
    font-size: 30px;
}

.page-header p[b-htq12h7tax] {
    margin: 0;
    color: #73819a;
    max-width: 70ch;
    line-height: 1.75;
}

.status-badge[b-htq12h7tax] {
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.status-badge span[b-htq12h7tax] {
    margin-inline-end: 6px;
}

.status-badge.is-live[b-htq12h7tax] {
    border: 1px solid #cdebdc;
    background: #f0fbf5;
    color: #19774b;
}

.status-badge.is-off[b-htq12h7tax] {
    border: 1px solid #e6dcc4;
    background: #fffaf3;
    color: #92651a;
}

.reason-card[b-htq12h7tax] {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    background: #fffaf3;
    border: 1px solid #f3dfbd;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 18px;
}

.reason-icon[b-htq12h7tax] {
    display: grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #fff0d6;
    color: #ba7414;
    font-weight: 900;
}

.reason-card strong[b-htq12h7tax] {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

.reason-card p[b-htq12h7tax] {
    margin: 0;
    color: #7d6b4c;
    font-size: 12px;
    line-height: 1.7;
}

.setting-cards[b-htq12h7tax] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.setting-card[b-htq12h7tax],
.audit-card[b-htq12h7tax],
.test-card[b-htq12h7tax] {
    background: #fff;
    border: 1px solid #e2e8f3;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(37,55,94,.045);
    padding: 22px;
}

.card-heading[b-htq12h7tax] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf1f7;
}

.card-heading h2[b-htq12h7tax] {
    font-size: 17px;
    margin: 0 0 5px;
}

.card-heading p[b-htq12h7tax] {
    margin: 0;
    color: #74829a;
    font-size: 12px;
    line-height: 1.7;
}

.card-icon[b-htq12h7tax] {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #eaf0ff;
    color: #4563dd;
    font-size: 20px;
}

.card-icon.purple[b-htq12h7tax] {
    background: #f2ecff;
    color: #7b5cdb;
}

.card-icon.green[b-htq12h7tax] {
    background: #e9f8ef;
    color: #1f8a52;
}

.fields[b-htq12h7tax] {
    display: grid;
    gap: 17px;
    padding-top: 19px;
}

.fields label[b-htq12h7tax] {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
}

.fields label > span[b-htq12h7tax] {
    color: #3d4c65;
}

.fields small[b-htq12h7tax] {
    color: #8793a8;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.7;
}

.fields input[b-htq12h7tax],
.fields select[b-htq12h7tax],
.fields textarea[b-htq12h7tax] {
    box-sizing: border-box;
    width: 100%;
    padding: 0 11px;
    background: #fbfcff;
    border: 1px solid #d9e1ef;
    border-radius: 9px;
    color: #23324b;
    font: inherit;
    font-weight: 400;
    outline: none;
}

.fields input[b-htq12h7tax],
.fields select[b-htq12h7tax] {
    height: 40px;
}

.fields textarea[b-htq12h7tax] {
    padding: 11px;
    line-height: 1.7;
    resize: vertical;
}

.fields input:focus[b-htq12h7tax],
.fields select:focus[b-htq12h7tax],
.fields textarea:focus[b-htq12h7tax] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px #edf1ff;
}

.provider-row[b-htq12h7tax] {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: baseline;
    gap: 4px 10px;
    font-size: 12px;
    font-weight: 700;
}

.provider-row > span[b-htq12h7tax] {
    color: #3d4c65;
}

.provider-row b[b-htq12h7tax] {
    padding: 3px 10px;
    border-radius: 100px;
    background: #eef2ff;
    color: #4965dd;
    font-size: 12px;
}

.provider-row small[b-htq12h7tax] {
    grid-column: 1 / -1;
    color: #8793a8;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.7;
}

.api-key b.installed[b-htq12h7tax] {
    display: inline-block;
    margin-inline-start: 8px;
    padding: 2px 8px;
    border-radius: 100px;
    background: #eef2ff;
    color: #4965dd;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
}

.mode-block[b-htq12h7tax] {
    display: grid;
    gap: 15px;
    padding: 16px;
    border: 1px dashed #dde4f1;
    border-radius: 12px;
    background: #fbfcff;
}

.mode-block h3[b-htq12h7tax] {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    color: #4c5b74;
    letter-spacing: .02em;
}

.toggle-row[b-htq12h7tax] {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    cursor: pointer;
}

.toggle-row > span[b-htq12h7tax] {
    display: grid;
    gap: 4px;
}

.toggle-row strong[b-htq12h7tax] {
    font-size: 13px;
}

.toggle-row small[b-htq12h7tax] {
    color: #7c899f;
    font-size: 11px;
    line-height: 1.5;
}

.toggle-row input[b-htq12h7tax] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-row i[b-htq12h7tax] {
    position: relative;
    display: block;
    flex: none;
    width: 42px;
    height: 23px;
    background: #cbd4e2;
    border-radius: 100px;
    transition: .2s;
}

.toggle-row i[b-htq12h7tax]:after {
    content: "";
    position: absolute;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    top: 3px;
    inset-inline-start: 3px;
    box-shadow: 0 1px 3px #889;
    transition: .2s;
}

.toggle-row input:checked + i[b-htq12h7tax] {
    background: #4867e7;
}

.toggle-row input:checked + i[b-htq12h7tax]:after {
    inset-inline-start: 22px;
}

.toggle-row.danger input:checked + i[b-htq12h7tax] {
    background: #d9534f;
}

.audit-card[b-htq12h7tax] {
    margin-top: 18px;
}

.audit-card label[b-htq12h7tax] {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: #3d4c65;
}

.audit-card input[b-htq12h7tax] {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    padding: 0 11px;
    background: #fbfcff;
    border: 1px solid #d9e1ef;
    border-radius: 9px;
    color: #23324b;
    font: inherit;
    font-weight: 400;
    outline: none;
}

.audit-card input:focus[b-htq12h7tax] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px #edf1ff;
}

.form-footer[b-htq12h7tax] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.form-footer p[b-htq12h7tax] {
    margin: 0;
    color: #8190a7;
    font-size: 12px;
    line-height: 1.7;
}

.form-footer button[b-htq12h7tax] {
    flex: none;
    border: 0;
    border-radius: 10px;
    background: #3156db;
    color: #fff;
    padding: 12px 18px;
    font: inherit;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(49,86,219,.2);
    cursor: pointer;
}

.form-footer button span[b-htq12h7tax] {
    font-size: 16px;
    margin-inline-end: 5px;
}

.test-card[b-htq12h7tax] {
    margin-top: 18px;
}

.test-form[b-htq12h7tax] {
    display: flex;
    gap: 10px;
    padding-top: 19px;
}

.test-form input[b-htq12h7tax] {
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    background: #fbfcff;
    border: 1px solid #d9e1ef;
    border-radius: 9px;
    color: #23324b;
    font: inherit;
    outline: none;
    direction: ltr;
    text-align: start;
}

.test-form input:focus[b-htq12h7tax] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px #edf1ff;
}

.test-form button[b-htq12h7tax] {
    flex: none;
    border: 0;
    border-radius: 10px;
    background: #1f8a52;
    color: #fff;
    padding: 0 18px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.last-run[b-htq12h7tax] {
    margin: 14px 0 0;
    font-size: 11.5px;
    line-height: 1.7;
}

.last-run.ok[b-htq12h7tax] {
    color: #19774b;
}

.last-run.bad[b-htq12h7tax] {
    color: #b83442;
}

.last-run span[b-htq12h7tax] {
    color: #8793a8;
}

.notice[b-htq12h7tax],
.error[b-htq12h7tax],
.loading-state[b-htq12h7tax] {
    padding: 13px 15px;
    border-radius: 11px;
    margin-bottom: 16px;
    line-height: 1.7;
}

.notice small[b-htq12h7tax],
.error small[b-htq12h7tax] {
    display: block;
    margin-top: 5px;
    opacity: .8;
    font-size: 11px;
}

.notice[b-htq12h7tax] {
    background: #eaf8ef;
    color: #176e40;
}

.error[b-htq12h7tax] {
    background: #fff0f1;
    color: #b83442;
}

.loading-state[b-htq12h7tax] {
    background: #fff;
    color: #73819a;
    border: 1px solid #e2e8f3;
}


/* =====================================================
   DARK
   ===================================================== */

[data-theme="dark"] .admin-email[b-htq12h7tax] {
    color: #dbe3f2;
}

[data-theme="dark"] .page-header p[b-htq12h7tax],
[data-theme="dark"] .card-heading p[b-htq12h7tax],
[data-theme="dark"] .fields small[b-htq12h7tax],
[data-theme="dark"] .form-footer p[b-htq12h7tax],
[data-theme="dark"] .toggle-row small[b-htq12h7tax],
[data-theme="dark"] .last-run span[b-htq12h7tax] {
    color: #8b98b1;
}

[data-theme="dark"] .setting-card[b-htq12h7tax],
[data-theme="dark"] .audit-card[b-htq12h7tax],
[data-theme="dark"] .test-card[b-htq12h7tax],
[data-theme="dark"] .loading-state[b-htq12h7tax] {
    background: #161d2c;
    border-color: #26314a;
    box-shadow: none;
}

[data-theme="dark"] .card-heading[b-htq12h7tax] {
    border-bottom-color: #26314a;
}

[data-theme="dark"] .fields label > span[b-htq12h7tax],
[data-theme="dark"] .audit-card label[b-htq12h7tax],
[data-theme="dark"] .mode-block h3[b-htq12h7tax] {
    color: #b6c2d8;
}

[data-theme="dark"] .fields input[b-htq12h7tax],
[data-theme="dark"] .fields select[b-htq12h7tax],
[data-theme="dark"] .fields textarea[b-htq12h7tax],
[data-theme="dark"] .audit-card input[b-htq12h7tax],
[data-theme="dark"] .test-form input[b-htq12h7tax] {
    background: #101623;
    border-color: #2b3752;
    color: #e4ebf8;
}

[data-theme="dark"] .fields input:focus[b-htq12h7tax],
[data-theme="dark"] .fields select:focus[b-htq12h7tax],
[data-theme="dark"] .fields textarea:focus[b-htq12h7tax],
[data-theme="dark"] .audit-card input:focus[b-htq12h7tax],
[data-theme="dark"] .test-form input:focus[b-htq12h7tax] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px rgba(87,115,231,.18);
}

[data-theme="dark"] .mode-block[b-htq12h7tax] {
    background: #121926;
    border-color: #2b3752;
}

[data-theme="dark"] .toggle-row i[b-htq12h7tax] {
    background: #38455f;
}

[data-theme="dark"] .status-badge.is-live[b-htq12h7tax] {
    background: #10281c;
    border-color: #1f5138;
    color: #5fd598;
}

[data-theme="dark"] .status-badge.is-off[b-htq12h7tax],
[data-theme="dark"] .reason-card[b-htq12h7tax] {
    background: #241c0f;
    border-color: #4c3a18;
    color: #e2b563;
}

[data-theme="dark"] .reason-card p[b-htq12h7tax] {
    color: #c2a273;
}

[data-theme="dark"] .reason-icon[b-htq12h7tax] {
    background: #3a2c12;
    color: #e2b563;
}

[data-theme="dark"] .card-icon[b-htq12h7tax] {
    background: #1b2540;
    color: #7d97f5;
}

[data-theme="dark"] .card-icon.purple[b-htq12h7tax] {
    background: #241c3d;
    color: #a58bf0;
}

[data-theme="dark"] .card-icon.green[b-htq12h7tax] {
    background: #10281c;
    color: #5fd598;
}

[data-theme="dark"] .api-key b.installed[b-htq12h7tax],
[data-theme="dark"] .provider-row b[b-htq12h7tax] {
    background: #1b2540;
    color: #7d97f5;
}

[data-theme="dark"] .provider-row > span[b-htq12h7tax] {
    color: #b6c2d8;
}

[data-theme="dark"] .provider-row small[b-htq12h7tax] {
    color: #8b98b1;
}

[data-theme="dark"] .notice[b-htq12h7tax] {
    background: #10281c;
    color: #5fd598;
}

[data-theme="dark"] .error[b-htq12h7tax] {
    background: #2a1418;
    color: #f08a95;
}

[data-theme="dark"] .last-run.ok[b-htq12h7tax] {
    color: #5fd598;
}

[data-theme="dark"] .last-run.bad[b-htq12h7tax] {
    color: #f08a95;
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 850px) {
    .setting-cards[b-htq12h7tax] {
        grid-template-columns: 1fr;
    }

    .page-header[b-htq12h7tax] {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .admin-email[b-htq12h7tax] {
        padding: 22px 16px;
    }

    .form-footer[b-htq12h7tax],
    .test-form[b-htq12h7tax] {
        flex-direction: column;
        align-items: stretch;
    }

    .test-form button[b-htq12h7tax] {
        height: 42px;
    }
}

/* =====================================================
   DELIVERY DIAGNOSTICS
   ===================================================== */

.diagnostics-form[b-htq12h7tax] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #edf1f7;
}

.diagnostics-form button[b-htq12h7tax] {
    flex: none;
    border: 1px solid #d8dcfb;
    border-radius: 10px;
    background: #f6f7ff;
    color: #4a63d8;
    padding: 10px 15px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.diagnostics-form button:hover[b-htq12h7tax] {
    background: #eef1ff;
}

.diagnostics-form small[b-htq12h7tax] {
    color: #8793a8;
    font-size: 11px;
}

.diagnostics-result[b-htq12h7tax] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid #e2e8f3;
    border-radius: 12px;
    background: #fbfcff;
}

.diagnostics-result > div[b-htq12h7tax] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.diagnostics-result span[b-htq12h7tax] {
    color: #8793a8;
    font-size: 10.5px;
    font-weight: 700;
}

.diagnostics-result strong[b-htq12h7tax] {
    font-size: 13px;
    color: #26304a;
}

.diagnostics-result strong.ok[b-htq12h7tax] {
    color: #19774b;
}

.diagnostics-result strong.bad[b-htq12h7tax] {
    color: #b83442;
}

.diagnostics-result em[b-htq12h7tax],
.diagnostics-note[b-htq12h7tax] {
    font-style: normal;
    font-size: 10.5px;
    color: #8793a8;
    line-height: 1.7;
}

.diagnostics-hint[b-htq12h7tax] {
    margin: 12px 0 0;
    padding: 12px 14px;
    border: 1px solid #f3dfbd;
    border-radius: 11px;
    background: #fffaf3;
    color: #7d6b4c;
    font-size: 11.5px;
    line-height: 1.8;
}

[data-theme="dark"] .diagnostics-form[b-htq12h7tax] {
    border-top-color: #26314a;
}

[data-theme="dark"] .diagnostics-form button[b-htq12h7tax] {
    background: #161c2e;
    border-color: #2c3556;
    color: #8ba3f7;
}

[data-theme="dark"] .diagnostics-result[b-htq12h7tax] {
    background: #121926;
    border-color: #26314a;
}

[data-theme="dark"] .diagnostics-result strong[b-htq12h7tax] {
    color: #dfe6f6;
}

[data-theme="dark"] .diagnostics-result strong.ok[b-htq12h7tax] {
    color: #5fd598;
}

[data-theme="dark"] .diagnostics-result strong.bad[b-htq12h7tax] {
    color: #f08a95;
}

[data-theme="dark"] .diagnostics-result span[b-htq12h7tax],
[data-theme="dark"] .diagnostics-result em[b-htq12h7tax],
[data-theme="dark"] .diagnostics-note[b-htq12h7tax],
[data-theme="dark"] .diagnostics-form small[b-htq12h7tax] {
    color: #8b98b1;
}

[data-theme="dark"] .diagnostics-hint[b-htq12h7tax] {
    background: #241c0f;
    border-color: #4c3a18;
    color: #c2a273;
}

@media (max-width: 620px) {
    .diagnostics-result[b-htq12h7tax] {
        grid-template-columns: 1fr;
    }

    .diagnostics-form[b-htq12h7tax] {
        flex-direction: column;
        align-items: stretch;
    }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Features/AdminFeatureFlags.razor.rz.scp.css */
.admin-feature-flags[b-recy8lacgb]{max-width:1260px;margin:auto;padding:34px 30px;color:#1a2740}.admin-feature-flags header[b-recy8lacgb]{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:24px}.admin-feature-flags header>div>span[b-recy8lacgb]{font-size:11px;letter-spacing:.12em;font-weight:800;color:#526ee8}.admin-feature-flags h1[b-recy8lacgb]{font-size:30px;margin:8px 0}.admin-feature-flags header p[b-recy8lacgb]{margin:0;color:#75839a}.guard[b-recy8lacgb]{padding:10px 13px;border:1px solid #d7e0ff;background:#f0f3ff;color:#4866d9;border-radius:10px;font-size:12px}.flag-grid[b-recy8lacgb]{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.flag-card[b-recy8lacgb]{background:#fff;border:1px solid #e2e8f3;border-radius:15px;padding:20px;box-shadow:0 8px 24px rgba(31,49,89,.045)}.flag-top[b-recy8lacgb]{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #edf1f7;padding-bottom:16px}.flag-card h2[b-recy8lacgb]{font-size:16px;margin:0 0 7px}.flag-card p[b-recy8lacgb]{margin:0;color:#74829a;font-size:12px;line-height:1.65}.toggle[b-recy8lacgb]{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer}.toggle input[b-recy8lacgb]{position:absolute;opacity:0}.toggle i[b-recy8lacgb]{position:relative;width:38px;height:21px;border-radius:99px;background:#cbd4e2}.toggle i[b-recy8lacgb]:after{content:"";position:absolute;top:3px;right:3px;width:15px;height:15px;border-radius:50%;background:white;transition:.2s}.toggle input:checked+i[b-recy8lacgb]{background:#4867e7}.toggle input:checked+i[b-recy8lacgb]:after{right:20px}.pilot[b-recy8lacgb]{display:grid;gap:7px;padding-top:16px;font-size:12px;font-weight:700}.pilot input[b-recy8lacgb]{height:39px;border:1px solid #d9e1ef;border-radius:8px;padding:0 10px;direction:ltr;text-align:left}.pilot small[b-recy8lacgb]{font-weight:400;color:#8793a8;font-size:10px}.admin-feature-flags footer[b-recy8lacgb]{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.admin-feature-flags footer p[b-recy8lacgb]{font-size:12px;color:#8190a7}.admin-feature-flags button[b-recy8lacgb]{border:0;background:#3156db;color:white;border-radius:10px;padding:12px 18px;font-weight:700}.notice[b-recy8lacgb],.error[b-recy8lacgb]{padding:13px 15px;border-radius:11px;margin:0 0 16px}.notice[b-recy8lacgb]{background:#eaf8ef;color:#176e40}.error[b-recy8lacgb]{background:#fff0f1;color:#b83442}@media(max-width:800px){.flag-grid[b-recy8lacgb]{grid-template-columns:1fr}.admin-feature-flags header[b-recy8lacgb],.admin-feature-flags footer[b-recy8lacgb]{align-items:flex-start;flex-direction:column}}@media(max-width:520px){.admin-feature-flags[b-recy8lacgb]{padding:22px 16px}.flag-top[b-recy8lacgb]{flex-direction:column}}
/* _content/AITranslationPlatform.Web/Components/Admin/Feedback/AdminFeedback.razor.rz.scp.css */
.admin-feedback[b-rdax0tqg4e] { max-width: 1320px; margin: 0 auto; padding: 34px 30px 48px; color: #1a2740; }

.page-header[b-rdax0tqg4e] { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 22px; }
.eyebrow[b-rdax0tqg4e] { display: block; color: #506de5; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.page-header h1[b-rdax0tqg4e] { margin: 8px 0 10px; font-size: 30px; }
.page-header p[b-rdax0tqg4e] { max-width: 720px; margin: 0; color: #73819a; line-height: 1.8; }

.state-badge[b-rdax0tqg4e] { border-radius: 10px; padding: 10px 13px; font-size: 12px; white-space: nowrap; border: 1px solid; }
.state-badge span[b-rdax0tqg4e] { margin-inline-end: 6px; }
.state-badge.on[b-rdax0tqg4e] { border-color: #f0dca4; background: #fff8e1; color: #8a6516; }
.state-badge.off[b-rdax0tqg4e] { border-color: #e2e8f3; background: #f6f8fc; color: #5d6b84; }

.notice[b-rdax0tqg4e], .error[b-rdax0tqg4e], .loading-state[b-rdax0tqg4e], .warn[b-rdax0tqg4e] { padding: 13px 15px; border-radius: 11px; margin-bottom: 16px; font-size: 13px; line-height: 1.8; }
.notice[b-rdax0tqg4e] { background: #eaf8ef; color: #176e40; }
.notice small[b-rdax0tqg4e] { margin-inline-start: 8px; color: #5c8b70; font-size: 11px; }
.error[b-rdax0tqg4e] { background: #fff0f1; color: #b83442; }
.warn[b-rdax0tqg4e] { background: #fff8e1; color: #8a6516; border: 1px solid #f0dca4; }
.warn a[b-rdax0tqg4e] { color: inherit; font-weight: 700; }
.loading-state[b-rdax0tqg4e] { background: #fff; color: #73819a; border: 1px solid #e2e8f3; }

/* ---------- figures ---------- */
.figures[b-rdax0tqg4e] { display: grid; grid-template-columns: 1.15fr repeat(4, minmax(0, 1fr)); gap: 12px; }
.figure[b-rdax0tqg4e] { display: grid; align-content: start; gap: 6px; padding: 16px 18px; background: #fff; border: 1px solid #e2e8f3; border-radius: 16px; box-shadow: 0 8px 25px rgba(37, 55, 94, .045); min-width: 0; }
.figure > span[b-rdax0tqg4e] { color: #6b7890; font-size: 12px; font-weight: 700; }
.figure strong[b-rdax0tqg4e] { font-size: 26px; line-height: 1.2; }
.figure strong em[b-rdax0tqg4e] { font-style: normal; font-size: 14px; color: #8793a8; font-weight: 600; }
.figure small[b-rdax0tqg4e] { color: #8793a8; font-size: 11px; line-height: 1.7; }
.figure--nps[b-rdax0tqg4e] { background: linear-gradient(135deg, #f3f6ff, #fff 70%); border-color: #cfd9fb; }
.figure--nps strong[b-rdax0tqg4e] { font-size: 38px; color: #3156db; }
.figure--nps.is-good strong[b-rdax0tqg4e] { color: #198451; }
.figure--nps.is-mid strong[b-rdax0tqg4e] { color: #b07c12; }
.figure--nps.is-bad strong[b-rdax0tqg4e] { color: #c03a48; }
.split b[b-rdax0tqg4e] { font-weight: 800; }
.split .good[b-rdax0tqg4e], .sends .good[b-rdax0tqg4e] { color: #198451; }
.split .bad[b-rdax0tqg4e], .sends .bad[b-rdax0tqg4e] { color: #c03a48; }
.mix[b-rdax0tqg4e] { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: #edf1f7; }
.mix i[b-rdax0tqg4e] { display: block; height: 100%; }
.mix .good[b-rdax0tqg4e] { background: #2fa36b; }
.mix .mid[b-rdax0tqg4e] { background: #f0c24b; }
.mix .bad[b-rdax0tqg4e] { background: #e2596a; }
.period-note[b-rdax0tqg4e] { margin: 8px 2px 18px; color: #8793a8; font-size: 11px; }

/* ---------- cards ---------- */
.two-up[b-rdax0tqg4e] { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: 18px; }
.card[b-rdax0tqg4e] { background: #fff; border: 1px solid #e2e8f3; border-radius: 16px; box-shadow: 0 8px 25px rgba(37, 55, 94, .045); padding: 22px; min-width: 0; }
.card + .card[b-rdax0tqg4e] { margin-top: 18px; }
.card-heading[b-rdax0tqg4e] { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid #edf1f7; }
.card-heading > div[b-rdax0tqg4e] { flex: 1 1 auto; min-width: 0; }
.card-heading h2[b-rdax0tqg4e] { font-size: 17px; margin: 0 0 5px; }
.card-heading p[b-rdax0tqg4e] { margin: 0; color: #74829a; font-size: 12px; line-height: 1.7; }
.card-icon[b-rdax0tqg4e] { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #eaf0ff; color: #4563dd; font-size: 18px; flex: none; }
.card-icon.yellow[b-rdax0tqg4e] { background: #fff3cf; color: #9a6b0a; }
.sub[b-rdax0tqg4e] { margin: 22px 0 10px; font-size: 14px; }

/* ---------- forms ---------- */
.fields[b-rdax0tqg4e] { display: grid; gap: 14px; }
.fields label[b-rdax0tqg4e], .days-form label[b-rdax0tqg4e] { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.fields label > span[b-rdax0tqg4e], .days-form label > span[b-rdax0tqg4e] { color: #3d4c65; }
.fields small[b-rdax0tqg4e] { color: #8793a8; font-size: 11px; font-weight: 400; line-height: 1.7; }
.fields input:not([type="checkbox"]):not([type="radio"])[b-rdax0tqg4e], .fields textarea[b-rdax0tqg4e], .fields select[b-rdax0tqg4e], .days-form input[b-rdax0tqg4e], .filters input[b-rdax0tqg4e], .filters select[b-rdax0tqg4e], .review input[b-rdax0tqg4e], .review select[b-rdax0tqg4e] { box-sizing: border-box; width: 100%; padding: 9px 11px; background: #fbfcff; border: 1px solid #d9e1ef; border-radius: 9px; color: #23324b; font: inherit; font-size: 13px; outline: none; }
.fields input:not([type="checkbox"]):not([type="radio"])[b-rdax0tqg4e], .fields select[b-rdax0tqg4e] { height: 42px; }
.fields input:focus[b-rdax0tqg4e], .fields textarea:focus[b-rdax0tqg4e], .fields select:focus[b-rdax0tqg4e], .filters input:focus[b-rdax0tqg4e], .review input:focus[b-rdax0tqg4e] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }
.pair[b-rdax0tqg4e] { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint[b-rdax0tqg4e] { margin: 0; color: #8793a8; font-size: 11px; line-height: 1.7; }

.days-form[b-rdax0tqg4e] { margin-bottom: 14px; }
.days-form .inline[b-rdax0tqg4e] { display: flex; align-items: center; gap: 8px; font-weight: 400; color: #5d6b84; }
.days-form .inline input[b-rdax0tqg4e] { width: 90px; height: 36px; }

.audiences[b-rdax0tqg4e] { display: grid; gap: 8px; }
.audience[b-rdax0tqg4e] { position: relative; display: flex !important; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid #e2e8f3; border-radius: 12px; background: #fbfcff; cursor: pointer; }
.audience input[b-rdax0tqg4e] { width: 16px; height: 16px; accent-color: #3156db; flex: none; }
.audience > span[b-rdax0tqg4e] { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
.audience strong[b-rdax0tqg4e] { font-size: 13px; }
.audience small[b-rdax0tqg4e] { font-size: 11px; }
.audience b[b-rdax0tqg4e] { flex: none; min-width: 44px; padding: 4px 10px; border-radius: 99px; background: #eef2fb; color: #3156db; font-size: 13px; text-align: center; }
.audience:has(input:checked)[b-rdax0tqg4e] { border-color: #5773e7; background: #f3f6ff; box-shadow: 0 0 0 3px #edf1ff; }

.toggle-row[b-rdax0tqg4e] { display: flex !important; align-items: center; justify-content: space-between; gap: 15px; padding: 4px 0; cursor: pointer; }
.toggle-row span[b-rdax0tqg4e] { display: grid; gap: 4px; }
.toggle-row strong[b-rdax0tqg4e] { font-size: 13px; }
.toggle-row input[b-rdax0tqg4e] { position: absolute; opacity: 0; }
.toggle-row i[b-rdax0tqg4e] { position: relative; display: block; width: 42px; height: 23px; background: #cbd4e2; border-radius: 100px; transition: .2s; flex: none; }
.toggle-row i[b-rdax0tqg4e]:after { content: ""; position: absolute; width: 17px; height: 17px; border-radius: 50%; background: #fff; top: 3px; inset-inline-start: 3px; box-shadow: 0 1px 3px #889; transition: .2s; }
.toggle-row input:checked + i[b-rdax0tqg4e] { background: #d9a520; }
.toggle-row input:checked + i[b-rdax0tqg4e]:after { inset-inline-start: 22px; }
.toggle-row input:focus-visible + i[b-rdax0tqg4e] { box-shadow: 0 0 0 3px #fff3cf; }

.gift-box[b-rdax0tqg4e] { display: grid; gap: 12px; padding: 14px; border: 1px dashed #e7cf86; border-radius: 12px; background: #fffbef; }

.template-help[b-rdax0tqg4e] { display: grid; gap: 6px; margin-bottom: 16px; padding: 14px; border-radius: 12px; background: #f6f8fc; border: 1px solid #e2e8f3; }
.template-help strong[b-rdax0tqg4e] { font-size: 12px; color: #3d4c65; }
.template-help pre[b-rdax0tqg4e] { margin: 0; padding: 10px 12px; border-radius: 9px; background: #fff; border: 1px solid #e2e8f3; font: inherit; font-size: 13px; line-height: 2; white-space: pre-wrap; }
.template-help small[b-rdax0tqg4e] { color: #8793a8; font-size: 11px; line-height: 1.7; }

.form-footer[b-rdax0tqg4e] { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid #edf1f7; }
.form-footer button[b-rdax0tqg4e] { border: 0; border-radius: 10px; background: #3156db; color: #fff; padding: 12px 18px; font: inherit; font-size: 13px; font-weight: 700; box-shadow: 0 8px 18px rgba(49, 86, 219, .2); cursor: pointer; }
.form-footer button:disabled[b-rdax0tqg4e] { background: #b9c3dc; box-shadow: none; cursor: not-allowed; }
.form-footer button span[b-rdax0tqg4e] { margin-inline-end: 6px; }

.small[b-rdax0tqg4e] { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border: 1px solid #d9e1ef; border-radius: 8px; background: #fff; color: #3d4c65; font: inherit; font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.small:hover[b-rdax0tqg4e] { border-color: #5773e7; color: #3156db; }
.export[b-rdax0tqg4e] { flex: none; }

/* ---------- recent sends ---------- */
.sends[b-rdax0tqg4e] { width: 100%; border-collapse: collapse; font-size: 12px; }
.sends th[b-rdax0tqg4e] { padding: 8px 6px; color: #74829a; font-weight: 700; text-align: start; border-bottom: 1px solid #edf1f7; }
.sends td[b-rdax0tqg4e] { padding: 9px 6px; border-bottom: 1px solid #f2f4f9; }
.sends small[b-rdax0tqg4e] { color: #8793a8; }

/* ---------- topics ---------- */
.topics[b-rdax0tqg4e] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.topic-column h3[b-rdax0tqg4e] { margin: 0 0 12px; font-size: 14px; }
.topic-column ul[b-rdax0tqg4e] { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.topic-column li[b-rdax0tqg4e] { display: grid; grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr) auto auto; align-items: center; gap: 10px; font-size: 12px; }
.topic-column .label[b-rdax0tqg4e] { color: #3d4c65; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topic-column .bar[b-rdax0tqg4e] { height: 8px; border-radius: 99px; background: #edf1f7; overflow: hidden; }
.topic-column .bar i[b-rdax0tqg4e] { display: block; height: 100%; border-radius: 99px; background: #5773e7; }
.topic-column--problem .bar i[b-rdax0tqg4e] { background: #e2596a; }
.topic-column--liked .bar i[b-rdax0tqg4e] { background: #2fa36b; }
.topic-column .value[b-rdax0tqg4e] { font-weight: 800; }
.topic-column small[b-rdax0tqg4e] { color: #8793a8; min-width: 2.2em; text-align: end; }
.small-empty[b-rdax0tqg4e] { margin: 0; padding: 12px; }

/* ---------- answers ---------- */
.filters[b-rdax0tqg4e] { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.4fr) auto; gap: 8px; margin-bottom: 16px; }
.filters select[b-rdax0tqg4e], .filters input[b-rdax0tqg4e] { height: 36px; padding: 0 10px; }
.filters .small[b-rdax0tqg4e] { height: 36px; }

.empty[b-rdax0tqg4e] { margin: 8px 0 4px; padding: 26px; border: 1px dashed #d9e1ef; border-radius: 12px; color: #8793a8; font-size: 12px; text-align: center; }

.answers[b-rdax0tqg4e] { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.answer[b-rdax0tqg4e] { padding: 16px; border: 1px solid #e2e8f3; border-radius: 14px; background: #fbfcff; scroll-margin-top: 90px; }
.answer.is-new[b-rdax0tqg4e] { border-color: #cfd9fb; background: #fff; box-shadow: inset 3px 0 0 #5773e7; }
.admin-feedback[dir="rtl"] .answer.is-new[b-rdax0tqg4e] { box-shadow: inset -3px 0 0 #5773e7; }
.answer:target[b-rdax0tqg4e] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }
.answer.is-resolved[b-rdax0tqg4e] { opacity: .85; }

.answer-head[b-rdax0tqg4e] { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.score[b-rdax0tqg4e] { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-size: 18px; font-weight: 900; color: #fff; flex: none; }
.score--low[b-rdax0tqg4e] { background: #d64757; }
.score--mid[b-rdax0tqg4e] { background: #e0a920; }
.score--high[b-rdax0tqg4e] { background: #2a9a62; }
.who[b-rdax0tqg4e] { display: grid; gap: 2px; min-width: 0; }
.who a[b-rdax0tqg4e], .who strong[b-rdax0tqg4e] { font-size: 14px; font-weight: 800; color: #1a2740; text-decoration: none; }
.who a:hover[b-rdax0tqg4e] { color: #3156db; text-decoration: underline; }
.who em[b-rdax0tqg4e] { font-style: normal; font-size: 11px; color: #b07c12; }
.who bdi[b-rdax0tqg4e] { color: #6b7890; font-size: 12px; }
.meta[b-rdax0tqg4e] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-inline-start: auto; }
.meta small[b-rdax0tqg4e] { color: #8793a8; font-size: 11px; }
.tag[b-rdax0tqg4e], .status[b-rdax0tqg4e] { padding: 3px 9px; border-radius: 100px; font-size: 11px; font-weight: 800; background: #eef1f6; color: #5d6b84; }
.status--new[b-rdax0tqg4e] { background: #eaf0ff; color: #3156db; }
.status--reviewed[b-rdax0tqg4e] { background: #fff3cf; color: #8a6516; }
.status--resolved[b-rdax0tqg4e] { background: #e6f6ec; color: #198451; }

.answer-topics[b-rdax0tqg4e] { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.answer-topics:empty[b-rdax0tqg4e] { display: none; }
.chip[b-rdax0tqg4e] { padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; background: #eef2fb; color: #3d4c65; }
.chip--problem[b-rdax0tqg4e] { background: #fdecee; color: #b83442; }
.chip--liked[b-rdax0tqg4e] { background: #e6f6ec; color: #176e40; }

.answer blockquote[b-rdax0tqg4e] { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #edf1f7; color: #23324b; font-size: 13px; line-height: 2; white-space: pre-wrap; overflow-wrap: anywhere; }

.answer-extras[b-rdax0tqg4e] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.answer-extras:empty[b-rdax0tqg4e] { display: none; }
.shot[b-rdax0tqg4e] { display: block; width: 120px; height: 80px; border-radius: 10px; overflow: hidden; border: 1px solid #d9e1ef; background: #fff; }
.shot img[b-rdax0tqg4e] { width: 100%; height: 100%; object-fit: cover; }
.flag[b-rdax0tqg4e] { padding: 5px 10px; border-radius: 9px; background: #f6f8fc; border: 1px solid #e2e8f3; font-size: 12px; color: #3d4c65; text-decoration: none; }
.flag.link:hover[b-rdax0tqg4e] { border-color: #5773e7; color: #3156db; }

.review[b-rdax0tqg4e] { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed #e2e8f3; }
.review select[b-rdax0tqg4e], .review input[b-rdax0tqg4e] { height: 34px; padding: 0 10px; }

.more[b-rdax0tqg4e] { display: block; margin-top: 14px; padding: 12px; border-radius: 10px; text-align: center; background: #f6f8fc; color: #3156db; font-size: 13px; font-weight: 700; text-decoration: none; }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
    .figures[b-rdax0tqg4e] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .two-up[b-rdax0tqg4e] { grid-template-columns: 1fr; }
    .filters[b-rdax0tqg4e] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .admin-feedback[b-rdax0tqg4e] { padding: 22px 14px 40px; }
    .page-header[b-rdax0tqg4e] { flex-direction: column; align-items: stretch; }
    .figures[b-rdax0tqg4e] { grid-template-columns: 1fr 1fr; }
    .figure--nps[b-rdax0tqg4e] { grid-column: 1 / -1; }
    .topics[b-rdax0tqg4e] { grid-template-columns: 1fr; }
    .pair[b-rdax0tqg4e] { grid-template-columns: 1fr; }
    .filters[b-rdax0tqg4e] { grid-template-columns: 1fr 1fr; }
    .review[b-rdax0tqg4e] { grid-template-columns: 1fr; }
    .meta[b-rdax0tqg4e] { margin-inline-start: 0; }
    .sends[b-rdax0tqg4e] { display: block; overflow-x: auto; }
    .card-heading[b-rdax0tqg4e] { flex-wrap: wrap; }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Instagram/AdminInstagramAnalysis.razor.rz.scp.css */
.admin-instagram-analysis[b-4jfyks0845] { max-width: 1260px; margin: 0 auto; padding: 34px 30px 48px; color: #1a2740; }

.page-header[b-4jfyks0845] { margin-bottom: 26px; }
.eyebrow[b-4jfyks0845] { display: block; color: #506de5; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.page-header h1[b-4jfyks0845] { margin: 8px 0 10px; font-size: 30px; }
.page-header p[b-4jfyks0845] { margin: 0; max-width: 900px; color: #73819a; line-height: 1.8; }

.setting-cards[b-4jfyks0845] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.setting-card[b-4jfyks0845] { min-width: 0; padding: 20px 22px; background: #fff; border: 1px solid #e2e8f3; border-radius: 16px; box-shadow: 0 8px 25px rgba(37, 55, 94, .05); }
.setting-card.wide[b-4jfyks0845] { grid-column: 1 / -1; }
.card-heading[b-4jfyks0845] { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #edf1f7; }
.card-heading h2[b-4jfyks0845] { font-size: 17px; margin: 0 0 5px; }
.card-heading p[b-4jfyks0845] { margin: 0; color: #74829a; font-size: 12px; line-height: 1.7; }
.card-icon[b-4jfyks0845] { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #eaf0ff; color: #4563dd; font-size: 15px; font-weight: 800; }
.card-icon.purple[b-4jfyks0845] { background: #f2ecff; color: #7b5cdb; }
.card-icon.teal[b-4jfyks0845] { background: #e6f6f3; color: #1d8a78; font-size: 20px; }

.fields[b-4jfyks0845] { display: grid; gap: 17px; padding-top: 19px; }
.fields label[b-4jfyks0845] { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.fields label > span[b-4jfyks0845] { color: #3d4c65; }
.fields small[b-4jfyks0845] { color: #8793a8; font-size: 11px; font-weight: 400; line-height: 1.7; }
.fields input[b-4jfyks0845] { box-sizing: border-box; width: 100%; max-width: 160px; height: 40px; padding: 0 11px; background: #fbfcff; border: 1px solid #d9e1ef; border-radius: 9px; color: inherit; font: inherit; font-size: 14px; outline: 0; }
.fields input:focus[b-4jfyks0845] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }
.server-fields[b-4jfyks0845] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 22px; }

.form-footer[b-4jfyks0845] { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 20px; }
.form-footer p[b-4jfyks0845] { color: #8190a7; font-size: 12px; line-height: 1.8; margin: 0; }
.form-footer a[b-4jfyks0845] { color: #3156db; }
.form-footer button[b-4jfyks0845] { flex: none; border: 0; border-radius: 10px; background: #3156db; color: #fff; padding: 12px 18px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 8px 18px rgba(49, 86, 219, .22); }
.form-footer button span[b-4jfyks0845] { font-size: 16px; margin-inline-end: 5px; }

.notice[b-4jfyks0845], .error[b-4jfyks0845], .loading-state[b-4jfyks0845] { padding: 13px 15px; border-radius: 11px; margin-bottom: 16px; }
.notice[b-4jfyks0845] { background: #eaf8ef; color: #176e40; }
.notice small[b-4jfyks0845] { margin-inline-start: 6px; opacity: .7; }
.error[b-4jfyks0845] { background: #fff0f1; color: #b83442; line-height: 1.8; }
.loading-state[b-4jfyks0845] { background: #fff; color: #73819a; border: 1px solid #e2e8f3; }

@media (max-width: 850px) {
    .setting-cards[b-4jfyks0845], .server-fields[b-4jfyks0845] { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
    .admin-instagram-analysis[b-4jfyks0845] { padding: 22px 16px; }
    .form-footer[b-4jfyks0845] { align-items: stretch; flex-direction: column; }
}

.fields select[b-4jfyks0845] { box-sizing: border-box; width: 100%; max-width: 320px; height: 40px; padding: 0 11px; background: #fbfcff; border: 1px solid #d9e1ef; border-radius: 9px; color: inherit; font: inherit; font-size: 14px; }
.fields .toggle[b-4jfyks0845] { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.fields .toggle input[b-4jfyks0845] { width: 18px; height: 18px; max-width: none; }
.try-link[b-4jfyks0845] { display: inline-block; margin-top: 4px; color: #3156db; font-size: 12px; font-weight: 700; }
.stats[b-4jfyks0845] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #edf1f7; }
.stats div[b-4jfyks0845] { display: grid; gap: 3px; }
.stats b[b-4jfyks0845] { font-size: 17px; color: #1a2740; }
.stats span[b-4jfyks0845] { font-size: 11px; color: #8793a8; }
.status[b-4jfyks0845] { display: inline-block; margin-inline-start: 8px; padding: 2px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; background: #f0f2f7; color: #73819a; }
.status.on[b-4jfyks0845] { background: #eaf8ef; color: #176e40; }

@media (max-width: 560px) {
    .stats[b-4jfyks0845] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.factors[b-4jfyks0845] { margin-top: 18px; padding: 16px; background: #f7f9fd; border: 1px solid #e6ebf4; border-radius: 13px; }
.factors-head h3[b-4jfyks0845] { margin: 0 0 4px; font-size: 14px; }
.factors-head p[b-4jfyks0845] { margin: 0 0 12px; color: #7d8aa1; font-size: 11px; line-height: 1.7; }
.factors ul[b-4jfyks0845] { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.factors li[b-4jfyks0845] { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; background: #fff; border: 1px solid #e3e9f3; border-radius: 10px; }
.factors li.role-other[b-4jfyks0845] { opacity: .7; }
.factor-name[b-4jfyks0845] { min-width: 0; display: grid; gap: 2px; justify-items: start; }
.factor-name strong[b-4jfyks0845] { max-width: 100%; font-size: 13px; color: #1a2740; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.factor-name span[b-4jfyks0845] { font-size: 11px; color: #8793a8; }
.factors li.role-text .factor-name span[b-4jfyks0845] { color: #4563dd; }
.factors li.role-transcription .factor-name span[b-4jfyks0845] { color: #1d8a78; }
.factors li.role-voice .factor-name span[b-4jfyks0845] { color: #7b5cdb; }
.factor-box[b-4jfyks0845] { flex: none; display: flex; align-items: center; gap: 6px; margin: 0; }
.factor-box span[b-4jfyks0845] { color: #8793a8; font-size: 14px; font-weight: 700; }
.factor-box input[b-4jfyks0845] { box-sizing: border-box; width: 74px; height: 36px; padding: 0 10px; background: #fbfcff; border: 1px solid #d9e1ef; border-radius: 9px; color: inherit; font: inherit; font-size: 14px; text-align: center; outline: 0; }
.factor-box input:focus[b-4jfyks0845] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }
.factors-empty[b-4jfyks0845] { margin: 0; color: #8793a8; font-size: 12px; }
.stats[b-4jfyks0845] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #edf1f7; }
.stats div[b-4jfyks0845] { display: grid; gap: 3px; }
.stats b[b-4jfyks0845] { font-size: 17px; color: #1a2740; }
.stats span[b-4jfyks0845] { font-size: 11px; color: #8793a8; }

@media (max-width: 560px) {
    .stats[b-4jfyks0845] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.fields input.wide[b-4jfyks0845] { max-width: 420px; }
.stats[b-4jfyks0845] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.test-form[b-4jfyks0845] { margin-top: 14px; }
.test-form button[b-4jfyks0845] { border: 1px solid #d9e1ef; border-radius: 10px; background: #fff; color: #3156db; padding: 10px 16px; font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 560px) {
    .stats[b-4jfyks0845] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Knowledge/AdminKnowledgeAnalytics.razor.rz.scp.css */
.admin-knowledge[b-xcjvuavbgc]{max-width:1300px;margin:auto;padding:26px;color:#172033}.admin-knowledge header span[b-xcjvuavbgc]{font-size:11px;color:#526ee8;font-weight:800}.admin-knowledge h1[b-xcjvuavbgc]{margin:8px 0}.admin-knowledge p[b-xcjvuavbgc]{color:#71809a;max-width:760px}.admin-knowledge nav[b-xcjvuavbgc]{display:flex;gap:7px}.admin-knowledge nav a[b-xcjvuavbgc]{border:1px solid #dce4f3;padding:8px 11px;border-radius:8px;text-decoration:none;color:#34415e}.admin-knowledge nav a.active[b-xcjvuavbgc]{background:#3156db;color:#fff}.metrics[b-xcjvuavbgc]{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.metrics article[b-xcjvuavbgc],.panel[b-xcjvuavbgc]{background:#fff;border:1px solid #e2e8f3;border-radius:14px;padding:16px}.metrics span[b-xcjvuavbgc]{display:block;color:#71809a;font-size:12px}.metrics strong[b-xcjvuavbgc]{font-size:25px;display:block;margin-top:9px}.panel[b-xcjvuavbgc]{margin-top:15px}.panel h2[b-xcjvuavbgc]{font-size:17px;margin-top:0}.pairs[b-xcjvuavbgc],.growth[b-xcjvuavbgc]{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px}.pairs div[b-xcjvuavbgc],.growth div[b-xcjvuavbgc]{padding:10px;background:#f7f9fe;border-radius:9px}.pairs strong[b-xcjvuavbgc],.pairs span[b-xcjvuavbgc],.pairs small[b-xcjvuavbgc],.growth strong[b-xcjvuavbgc],.growth small[b-xcjvuavbgc]{display:block}.pairs span[b-xcjvuavbgc],.pairs small[b-xcjvuavbgc],.growth small[b-xcjvuavbgc]{font-size:11px;color:#71809a;margin-top:4px}.state[b-xcjvuavbgc]{padding:30px;color:#71809a}@media(max-width:600px){.admin-knowledge[b-xcjvuavbgc]{padding:16px}.metrics[b-xcjvuavbgc]{grid-template-columns:1fr}}
/* _content/AITranslationPlatform.Web/Components/Admin/Languages/AdminLanguages.razor.rz.scp.css */
.admin-languages[b-0drmcnxlnv]{max-width:1200px;margin:auto;padding:26px}.admin-languages p[b-0drmcnxlnv]{color:#71809a}.admin-languages header span[b-0drmcnxlnv]{font-size:11px;color:#526ee8;font-weight:800}.languages details[b-0drmcnxlnv],.create[b-0drmcnxlnv]{background:#fff;border:1px solid #e2e8f3;border-radius:12px;margin:10px 0}.languages summary[b-0drmcnxlnv],.create summary[b-0drmcnxlnv]{padding:14px;display:flex;gap:12px;cursor:pointer}.languages summary span[b-0drmcnxlnv]{margin-inline-start:auto;color:#71809a}.fields[b-0drmcnxlnv]{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px}.fields label[b-0drmcnxlnv]{display:grid;gap:5px;font-size:12px}.fields input[b-0drmcnxlnv]{padding:8px;border:1px solid #dce4f3;border-radius:7px}.fields .check[b-0drmcnxlnv]{display:flex;align-items:center;gap:6px}.admin-languages button[b-0drmcnxlnv]{margin:0 14px 14px;padding:9px 13px;border:0;border-radius:8px;background:#3156db;color:white}.notice[b-0drmcnxlnv],.error[b-0drmcnxlnv]{padding:12px;border-radius:9px;margin:12px 0}.notice[b-0drmcnxlnv]{background:#eaf8ef;color:#176e40}.error[b-0drmcnxlnv]{background:#fff0f1;color:#b83442}@media(max-width:700px){.fields[b-0drmcnxlnv]{grid-template-columns:1fr}}
/* _content/AITranslationPlatform.Web/Components/Admin/Layout/AdminAuthLayout.razor.rz.scp.css */
.admin-auth-layout[b-o1jsfvepg0] {
    min-height: 100dvh;
}
/* _content/AITranslationPlatform.Web/Components/Admin/Layout/AdminLayout.razor.rz.scp.css */
.admin-surface[b-snx0tuc2ec] {
    --admin-accent: #1844c6;
    --admin-accent-hover: #123ba9;
    --admin-accent-soft: rgba(24, 68, 198, .08);
    --admin-text: #171a20;
    --admin-text-2: #505763;
    --admin-muted: #8a9099;
    --admin-surface: #ffffff;
    --admin-surface-soft: #f5f6f8;
    --admin-surface-elevated: #fbfbfc;
    --admin-line: rgba(28, 34, 46, .075);
    --admin-line-strong: rgba(28, 34, 46, .12);
    --admin-success: #278467;
    --admin-warning: #a9731f;
    --admin-danger: #c94a52;
    --admin-shadow: 0 18px 44px rgba(24, 32, 55, .075);
    min-height: 100vh;
    background: var(--admin-surface-soft);
    color: var(--admin-text);
}

.admin-frame[b-snx0tuc2ec] {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
}

.admin-sidebar[b-snx0tuc2ec] {
    min-width: 0;
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    background: var(--admin-surface);
    border-inline-end: 1px solid var(--admin-line);
}

.admin-sidebar-brand[b-snx0tuc2ec] {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 18px;
    border-bottom: 1px solid var(--admin-line);
}

.admin-brand-link[b-snx0tuc2ec] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.admin-brand-mark[b-snx0tuc2ec] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--admin-accent);
    background: var(--admin-accent-soft);
}

    .admin-brand-mark svg[b-snx0tuc2ec] {
        width: 25px;
        height: 25px;
    }

.admin-brand-copy[b-snx0tuc2ec] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

    .admin-brand-copy strong[b-snx0tuc2ec] {
        font-size: 14px;
        font-weight: 800;
        letter-spacing: -.01em;
    }

    .admin-brand-copy small[b-snx0tuc2ec] {
        color: var(--admin-muted);
        font-size: 10px;
        font-weight: 700;
        white-space: nowrap;
    }

.admin-sidebar-close[b-snx0tuc2ec] {
    display: none;
    width: 36px;
    height: 36px;
    border: 1px solid var(--admin-line);
    border-radius: 11px;
    background: var(--admin-surface-elevated);
    color: var(--admin-text-2);
    cursor: pointer;
}

    .admin-sidebar-close svg[b-snx0tuc2ec] {
        width: 18px;
        height: 18px;
    }

.admin-sidebar-scroll[b-snx0tuc2ec] {
    min-height: 0;
    overflow-y: auto;
    padding: 18px 12px 24px;
    scrollbar-width: thin;
}

.admin-navigation[b-snx0tuc2ec] {
    display: grid;
    gap: 22px;
}

.admin-nav-group[b-snx0tuc2ec] {
    display: grid;
    gap: 5px;
}

.admin-nav-heading[b-snx0tuc2ec] {
    padding: 0 10px 6px;
    color: var(--admin-muted);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}

.admin-nav-link[b-snx0tuc2ec],
.admin-return-link[b-snx0tuc2ec] {
    min-height: 42px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--admin-text-2);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: 160ms ease;
}

    .admin-nav-link:hover[b-snx0tuc2ec],
    .admin-return-link:hover[b-snx0tuc2ec] {
        color: var(--admin-accent);
        background: var(--admin-accent-soft);
    }

    .admin-nav-link.active[b-snx0tuc2ec] {
        color: var(--admin-accent);
        background: var(--admin-accent-soft);
        border-color: rgba(24, 68, 198, .11);
    }

    .admin-nav-link.is-disabled[b-snx0tuc2ec] {
        opacity: .48;
        cursor: default;
        user-select: none;
    }

        .admin-nav-link.is-disabled:hover[b-snx0tuc2ec] {
            color: var(--admin-text-2);
            background: transparent;
        }

    .admin-nav-link small[b-snx0tuc2ec] {
        padding: 3px 6px;
        border-radius: 999px;
        background: var(--admin-surface-soft);
        color: var(--admin-muted);
        font-size: 8px;
        font-weight: 800;
    }

.admin-nav-icon[b-snx0tuc2ec] {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
}

    .admin-nav-icon svg[b-snx0tuc2ec] {
        width: 19px;
        height: 19px;
    }

.admin-sidebar-footer[b-snx0tuc2ec] {
    padding: 12px;
    border-top: 1px solid var(--admin-line);
    background: var(--admin-surface);
}

.admin-return-link[b-snx0tuc2ec] {
    grid-template-columns: 28px minmax(0, 1fr);
}

.admin-main-panel[b-snx0tuc2ec] {
    min-width: 0;
    min-height: 100vh;
}

.admin-header[b-snx0tuc2ec] {
    min-height: 76px;
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 24px;
    border-bottom: 1px solid var(--admin-line);
    background: color-mix(in srgb, var(--admin-surface) 92%, transparent);
    backdrop-filter: blur(18px);
}

.admin-header-start[b-snx0tuc2ec],
.admin-header-actions[b-snx0tuc2ec] {
    display: flex;
    align-items: center;
}

.admin-header-start[b-snx0tuc2ec] {
    min-width: 0;
    gap: 12px;
}

.admin-header-actions[b-snx0tuc2ec] {
    gap: 8px;
}

.admin-header-title[b-snx0tuc2ec] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

    .admin-header-title strong[b-snx0tuc2ec] {
        font-size: 14px;
        font-weight: 850;
    }

    .admin-header-title span[b-snx0tuc2ec] {
        color: var(--admin-muted);
        font-size: 10px;
        font-weight: 600;
    }

.admin-header-icon[b-snx0tuc2ec] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: var(--admin-surface);
    color: var(--admin-text-2);
    text-decoration: none;
    cursor: pointer;
    transition: 160ms ease;
}

    .admin-header-icon:not(:disabled):hover[b-snx0tuc2ec] {
        color: var(--admin-accent);
        border-color: rgba(24, 68, 198, .16);
        background: var(--admin-accent-soft);
    }

    .admin-header-icon:disabled[b-snx0tuc2ec],
    .admin-search-shell:disabled[b-snx0tuc2ec] {
        opacity: .46;
        cursor: default;
    }

    .admin-header-icon svg[b-snx0tuc2ec] {
        width: 18px;
        height: 18px;
    }

.admin-language-button[b-snx0tuc2ec] {
    font-size: 11px;
    font-weight: 900;
}

.admin-mobile-menu[b-snx0tuc2ec] {
    display: none;
}

.admin-search-shell[b-snx0tuc2ec] {
    width: 210px;
    height: 38px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: var(--admin-surface);
    color: var(--admin-muted);
    text-align: start;
}

    .admin-search-shell svg[b-snx0tuc2ec] {
        width: 16px;
        height: 16px;
        flex: 0 0 16px;
    }

    .admin-search-shell span[b-snx0tuc2ec] {
        font-size: 10px;
        font-weight: 700;
    }

.admin-environment[b-snx0tuc2ec] {
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border-radius: 9px;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .08em;
}

    .admin-environment.is-development[b-snx0tuc2ec] {
        color: #8b5a13;
        background: rgba(192, 132, 38, .11);
        border: 1px solid rgba(192, 132, 38, .14);
    }

    .admin-environment.is-staging[b-snx0tuc2ec] {
        color: #7554aa;
        background: rgba(117, 84, 170, .10);
        border: 1px solid rgba(117, 84, 170, .14);
    }

    .admin-environment.is-production[b-snx0tuc2ec] {
        color: #237059;
        background: rgba(39, 132, 103, .10);
        border: 1px solid rgba(39, 132, 103, .14);
    }

.admin-profile-chip[b-snx0tuc2ec] {
    min-width: 0;
    height: 42px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 10px 0 8px;
    border: 1px solid var(--admin-line);
    border-radius: 13px;
    background: var(--admin-surface);
}

.admin-profile-avatar[b-snx0tuc2ec] {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--admin-accent-soft);
    color: var(--admin-accent);
}

    .admin-profile-avatar svg[b-snx0tuc2ec] {
        width: 17px;
        height: 17px;
    }

.admin-profile-copy[b-snx0tuc2ec] {
    min-width: 0;
    max-width: 138px;
    display: grid;
    gap: 1px;
}

    .admin-profile-copy small[b-snx0tuc2ec] {
        color: var(--admin-muted);
        font-size: 8px;
        font-weight: 700;
    }

    .admin-profile-copy strong[b-snx0tuc2ec] {
        overflow: hidden;
        color: var(--admin-text);
        font-size: 10px;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.admin-logout-form[b-snx0tuc2ec] {
    margin: 0;
}

.admin-logout-button:hover[b-snx0tuc2ec] {
    color: var(--admin-danger) !important;
    border-color: rgba(201, 74, 82, .16) !important;
    background: rgba(201, 74, 82, .07) !important;
}

.admin-theme-dark-icon[b-snx0tuc2ec] {
    display: none;
}

.admin-content[b-snx0tuc2ec] {
    min-width: 0;
    width: min(1580px, 100%);
    margin: 0 auto;
    padding: 28px;
}

.admin-mobile-backdrop[b-snx0tuc2ec] {
    display: none;
}

html[data-theme="dark"] .admin-surface[b-snx0tuc2ec] {
    --admin-text: #eef1f7;
    --admin-text-2: #b0b8c7;
    --admin-muted: #747e8f;
    --admin-surface: #131824;
    --admin-surface-soft: #0c101a;
    --admin-surface-elevated: #171d2a;
    --admin-line: rgba(255, 255, 255, .065);
    --admin-line-strong: rgba(255, 255, 255, .10);
    --admin-accent: #7893f3;
    --admin-accent-hover: #89a0f5;
    --admin-accent-soft: rgba(95, 128, 235, .105);
    --admin-shadow: 0 24px 55px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] .admin-header[b-snx0tuc2ec] {
    background: rgba(12, 16, 26, .86);
}

html[data-theme="dark"] .admin-theme-light-icon[b-snx0tuc2ec] {
    display: none;
}

html[data-theme="dark"] .admin-theme-dark-icon[b-snx0tuc2ec] {
    display: block;
}

html[data-theme="dark"] .admin-environment.is-development[b-snx0tuc2ec] {
    color: #d8ad62;
    background: rgba(192, 132, 38, .12);
}

html[data-theme="dark"] .admin-environment.is-production[b-snx0tuc2ec] {
    color: #69c5a7;
    background: rgba(39, 132, 103, .12);
}

@media (max-width: 1180px) {
    .admin-search-shell[b-snx0tuc2ec] {
        display: none;
    }

    .admin-profile-copy[b-snx0tuc2ec] {
        display: none;
    }

    .admin-profile-chip[b-snx0tuc2ec] {
        width: 38px;
        padding: 0;
        justify-content: center;
    }
}

@media (max-width: 960px) {
    .admin-frame[b-snx0tuc2ec] {
        display: block;
    }

    .admin-sidebar[b-snx0tuc2ec] {
        width: min(290px, 88vw);
        position: fixed;
        inset-block: 0;
        z-index: 70;
        box-shadow: 0 28px 80px rgba(0, 0, 0, .18);
        transition: transform 180ms ease;
    }

    .admin-surface[dir="ltr"] .admin-sidebar[b-snx0tuc2ec] {
        left: 0;
        right: auto;
        transform: translateX(-105%);
    }

    .admin-surface[dir="rtl"] .admin-sidebar[b-snx0tuc2ec] {
        right: 0;
        left: auto;
        transform: translateX(105%);
    }

    .admin-sidebar.mobile-open[b-snx0tuc2ec] {
        transform: translateX(0) !important;
    }

    .admin-surface.mobile-nav-open .admin-sidebar[b-snx0tuc2ec] {
        transform: translateX(0) !important;
    }

    .admin-sidebar-close[b-snx0tuc2ec],
    .admin-mobile-menu[b-snx0tuc2ec] {
        display: grid;
        place-items: center;
    }

    .admin-mobile-backdrop[b-snx0tuc2ec] {
        position: fixed;
        inset: 0;
        z-index: 60;
        display: none;
        border: 0;
        background: rgba(8, 12, 20, .34);
        backdrop-filter: blur(2px);
    }

    .admin-surface.mobile-nav-open .admin-mobile-backdrop[b-snx0tuc2ec] {
        display: block;
    }

    .admin-header[b-snx0tuc2ec] {
        min-height: 70px;
        padding: 10px 18px;
    }

    .admin-content[b-snx0tuc2ec] {
        padding: 22px 18px;
    }
}

@media (max-width: 700px) {
    .admin-header-title span[b-snx0tuc2ec],
    .admin-environment[b-snx0tuc2ec],
    .admin-profile-chip[b-snx0tuc2ec] {
        display: none;
    }

    .admin-header[b-snx0tuc2ec] {
        gap: 10px;
        padding-inline: 14px;
    }

    .admin-header-actions[b-snx0tuc2ec] {
        gap: 6px;
    }

    .admin-header-icon[b-snx0tuc2ec] {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .admin-content[b-snx0tuc2ec] {
        padding: 18px 14px 28px;
    }
}

@media (max-width: 430px) {
    .admin-header-title strong[b-snx0tuc2ec] {
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .admin-header-actions .admin-header-icon:disabled[b-snx0tuc2ec] {
        display: none;
    }
}

/* ============================================================
   ADMIN SIDEBAR V2
   Professional SaaS navigation
   ============================================================ */

.admin-frame[b-snx0tuc2ec] {
    grid-template-columns: 284px minmax(0, 1fr);
}


/* ------------------------------------------------------------
   RTL SHELL
   Keep physical grid positioning predictable
   ------------------------------------------------------------ */

.admin-surface[dir="rtl"] .admin-frame[b-snx0tuc2ec] {
    direction: ltr;
    grid-template-columns: minmax(0, 1fr) 284px;
}

.admin-surface[dir="rtl"] .admin-sidebar[b-snx0tuc2ec] {
    grid-column: 2;
    grid-row: 1;
    direction: rtl;
    border-inline-end: 0;
    border-inline-start: 1px solid rgba(255, 255, 255, .065);
    box-shadow: -18px 0 45px rgba(15, 23, 42, .055);
}

.admin-surface[dir="rtl"] .admin-main-panel[b-snx0tuc2ec] {
    grid-column: 1;
    grid-row: 1;
    direction: rtl;
}


/* ============================================================
   SIDEBAR SURFACE
   ============================================================ */

.admin-sidebar[b-snx0tuc2ec] {
    --sidebar-bg-top: #172239;
    --sidebar-bg-bottom: #0d1525;
    --sidebar-text: #d6deeb;
    --sidebar-text-muted: #8490a5;
    --sidebar-heading: #69768d;
    --sidebar-accent: #8198ff;
    --sidebar-accent-bright: #a9b8ff;
    --sidebar-hover: rgba(255, 255, 255, .055);
    --sidebar-active: rgba(111, 137, 245, .14);
    --sidebar-border: rgba(255, 255, 255, .07);
    color: var(--sidebar-text);
    background: radial-gradient( circle at 30% -5%, rgba(104, 127, 235, .20), transparent 28% ), linear-gradient( 180deg, var(--sidebar-bg-top) 0%, var(--sidebar-bg-bottom) 100% );
    border-inline-end: 1px solid var(--sidebar-border);
    box-shadow: 18px 0 45px rgba(15, 23, 42, .055);
    isolation: isolate;
}


    /* subtle sidebar texture */

    .admin-sidebar[b-snx0tuc2ec]::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background: linear-gradient( 180deg, rgba(255, 255, 255, .025), transparent 18% );
    }


/* ============================================================
   BRAND
   ============================================================ */

.admin-sidebar-brand[b-snx0tuc2ec] {
    height: 82px;
    padding-inline: 17px;
    border-bottom: 1px solid var(--sidebar-border);
    background: rgba(255, 255, 255, .012);
}


.admin-brand-link[b-snx0tuc2ec] {
    gap: 12px;
}


.admin-brand-mark[b-snx0tuc2ec] {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border-radius: 14px;
    color: var(--sidebar-accent-bright);
    border: 1px solid rgba(171, 187, 255, .18);
    background: linear-gradient( 145deg, rgba(126, 151, 255, .16), rgba(255, 255, 255, .045) );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 25px rgba(0, 0, 0, .10);
}


    .admin-brand-mark svg[b-snx0tuc2ec] {
        width: 25px;
        height: 25px;
    }


.admin-brand-copy[b-snx0tuc2ec] {
    gap: 3px;
}


    .admin-brand-copy strong[b-snx0tuc2ec] {
        color: #ffffff;
        font-size: 13.5px;
        font-weight: 800;
        letter-spacing: -.015em;
        white-space: nowrap;
    }


    .admin-brand-copy small[b-snx0tuc2ec] {
        color: #929db1;
        font-size: 9px;
        font-weight: 600;
        white-space: nowrap;
    }


/* ============================================================
   CLOSE BUTTON
   ============================================================ */

.admin-sidebar-close[b-snx0tuc2ec] {
    border: 1px solid rgba(255, 255, 255, .08);
    color: #b9c4d5;
    background: rgba(255, 255, 255, .045);
}

    .admin-sidebar-close:hover[b-snx0tuc2ec] {
        color: #ffffff;
        background: rgba(255, 255, 255, .08);
    }


/* ============================================================
   SCROLL AREA
   ============================================================ */

.admin-sidebar-scroll[b-snx0tuc2ec] {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 17px 11px 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .16) transparent;
}


    .admin-sidebar-scroll[b-snx0tuc2ec]::-webkit-scrollbar {
        width: 4px;
    }


    .admin-sidebar-scroll[b-snx0tuc2ec]::-webkit-scrollbar-track {
        background: transparent;
    }


    .admin-sidebar-scroll[b-snx0tuc2ec]::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(255, 255, 255, .15);
    }


        .admin-sidebar-scroll[b-snx0tuc2ec]::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, .24);
        }


/* ============================================================
   NAVIGATION GROUPS
   ============================================================ */

.admin-navigation[b-snx0tuc2ec] {
    display: grid;
    gap: 17px;
}


.admin-nav-group[b-snx0tuc2ec] {
    display: grid;
    gap: 4px;
}


    /* subtle divider between navigation categories */

    .admin-nav-group + .admin-nav-group[b-snx0tuc2ec] {
        position: relative;
        padding-top: 14px;
    }


        .admin-nav-group + .admin-nav-group[b-snx0tuc2ec]::before {
            content: "";
            position: absolute;
            inset-inline: 8px;
            top: 0;
            height: 1px;
            background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, .065), transparent );
        }


/* ============================================================
   SECTION HEADING
   ============================================================ */

.admin-nav-heading[b-snx0tuc2ec] {
    display: block;
    padding: 0 11px 5px;
    color: var(--sidebar-heading);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .09em;
    line-height: 1.4;
    text-transform: uppercase;
    user-select: none;
}


/* ============================================================
   IMPORTANT:
   NavLink is a CHILD COMPONENT.
   ::deep is required for CSS isolation to style its <a>.
   ============================================================ */

.admin-sidebar[b-snx0tuc2ec]  .admin-nav-link {
    min-width: 0;
    min-height: 41px;
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 4px 9px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: var(--sidebar-text) !important;
    background: transparent;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.25;
    text-decoration: none !important;
    transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease;
}


    .admin-sidebar[b-snx0tuc2ec]  .admin-nav-link:visited {
        color: var(--sidebar-text) !important;
        text-decoration: none !important;
    }


    /* link label */

    .admin-sidebar[b-snx0tuc2ec]  .admin-nav-link > span:not(.admin-nav-icon) {
        min-width: 0;
        overflow: hidden;
        color: inherit;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-decoration: none;
    }


    /* ============================================================
   ICON
   ============================================================ */

    .admin-sidebar[b-snx0tuc2ec]  .admin-nav-link .admin-nav-icon {
        width: 32px;
        height: 32px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(255, 255, 255, .035);
        border-radius: 10px;
        color: #8997ad;
        background: rgba(255, 255, 255, .032);
        transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease;
    }


        .admin-sidebar[b-snx0tuc2ec]  .admin-nav-link .admin-nav-icon svg {
            width: 17px;
            height: 17px;
            display: block;
        }


    /* ============================================================
   HOVER
   ============================================================ */

    .admin-sidebar[b-snx0tuc2ec]  .admin-nav-link:hover {
        color: #ffffff !important;
        background: var(--sidebar-hover);
        border-color: rgba(255, 255, 255, .045);
        text-decoration: none !important;
    }


        .admin-sidebar[b-snx0tuc2ec]  .admin-nav-link:hover .admin-nav-icon {
            color: #b9c6ff;
            border-color: rgba(142, 163, 255, .10);
            background: rgba(127, 151, 255, .09);
            transform: translateY(-1px);
        }


    /* ============================================================
   ACTIVE ITEM
   ============================================================ */

    .admin-sidebar[b-snx0tuc2ec]  .admin-nav-link.active {
        color: #ffffff !important;
        background: linear-gradient( 90deg, rgba(107, 132, 239, .20), rgba(107, 132, 239, .095) );
        border-color: rgba(133, 155, 255, .14);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
        text-decoration: none !important;
    }


        /* active indicator */

        .admin-sidebar[b-snx0tuc2ec]  .admin-nav-link.active::before {
            content: "";
            position: absolute;
            inset-block: 9px;
            inset-inline-start: -1px;
            width: 3px;
            border-radius: 0 999px 999px 0;
            background: var(--sidebar-accent);
            box-shadow: 0 0 14px rgba(129, 152, 255, .48);
        }


.admin-surface[dir="rtl"]
.admin-sidebar[b-snx0tuc2ec]
 .admin-nav-link.active::before {
    border-radius: 999px 0 0 999px;
}


.admin-sidebar[b-snx0tuc2ec]  .admin-nav-link.active .admin-nav-icon {
    color: #ffffff;
    border-color: rgba(157, 176, 255, .22);
    background: linear-gradient( 145deg, rgba(112, 139, 255, .36), rgba(91, 115, 226, .19) );
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}


/* ============================================================
   DISABLED ITEM
   ============================================================ */

.admin-nav-link.is-disabled[b-snx0tuc2ec] {
    opacity: .44;
    cursor: default;
}


    .admin-nav-link.is-disabled small[b-snx0tuc2ec] {
        display: none;
    }


/* ============================================================
   SIDEBAR FOOTER
   ============================================================ */

.admin-sidebar-footer[b-snx0tuc2ec] {
    padding: 11px;
    border-top: 1px solid var(--sidebar-border);
    background: rgba(3, 8, 17, .19);
    backdrop-filter: blur(12px);
}


.admin-return-link[b-snx0tuc2ec] {
    min-height: 43px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    padding: 5px 9px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #c4cedd;
    font-size: 10.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: .16s ease;
}


    .admin-return-link:visited[b-snx0tuc2ec] {
        color: #c4cedd;
        text-decoration: none !important;
    }


    .admin-return-link .admin-nav-icon[b-snx0tuc2ec] {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        color: #8997ad;
        background: rgba(255, 255, 255, .035);
    }


    .admin-return-link:hover[b-snx0tuc2ec] {
        color: #ffffff;
        border-color: rgba(255, 255, 255, .05);
        background: rgba(255, 255, 255, .055);
        text-decoration: none !important;
    }


        .admin-return-link:hover .admin-nav-icon[b-snx0tuc2ec] {
            color: #b9c6ff;
            background: rgba(127, 151, 255, .09);
        }


/* ============================================================
   DARK THEME
   Sidebar remains dark but gets slightly deeper
   ============================================================ */

html[data-theme="dark"] .admin-sidebar[b-snx0tuc2ec] {
    --sidebar-bg-top: #111a2b;
    --sidebar-bg-bottom: #080f1c;
    background: radial-gradient( circle at 30% -5%, rgba(101, 127, 238, .17), transparent 28% ), linear-gradient( 180deg, var(--sidebar-bg-top) 0%, var(--sidebar-bg-bottom) 100% );
}


/* ============================================================
   MOBILE SIDEBAR
   ============================================================ */

@media (max-width: 960px) {

    .admin-frame[b-snx0tuc2ec],
    .admin-surface[dir="rtl"] .admin-frame[b-snx0tuc2ec] {
        display: block;
        direction: inherit;
    }


    .admin-surface[dir="rtl"] .admin-sidebar[b-snx0tuc2ec],
    .admin-surface[dir="rtl"] .admin-main-panel[b-snx0tuc2ec] {
        grid-column: auto;
        grid-row: auto;
    }


    .admin-sidebar[b-snx0tuc2ec] {
        width: min(292px, 88vw);
        box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
    }


    .admin-sidebar-brand[b-snx0tuc2ec] {
        height: 76px;
    }


    .admin-sidebar-scroll[b-snx0tuc2ec] {
        padding-top: 13px;
    }
}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 430px) {

    .admin-sidebar[b-snx0tuc2ec] {
        width: min(286px, 91vw);
    }


        .admin-sidebar[b-snx0tuc2ec]  .admin-nav-link {
            min-height: 42px;
            font-size: 11px;
        }
}

/* ============================================================
   SUPPORT TICKET BADGE
   ============================================================ */

.admin-sidebar[b-snx0tuc2ec]  .admin-nav-link .admin-ticket-badge {
    min-width: 21px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 999px;
    background: #c94a52;
    color: #fff;
    font-size: 8px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 5px 14px rgba(201, 74, 82, .22);
}

/* Goftito logo in the sidebar brand box. */
.admin-brand-mark .goftito-mark[b-snx0tuc2ec] {
    display: block;
    width: 72%;
    height: 72%;
    object-fit: contain;
}
/* _content/AITranslationPlatform.Web/Components/Admin/Newsletter/AdminNewsletter.razor.rz.scp.css */
.admin-newsletter[b-uj2yzklow8] { max-width: 1260px; margin: 0 auto; padding: 34px 30px 48px; color: #1a2740; }

.page-header[b-uj2yzklow8] { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.eyebrow[b-uj2yzklow8] { display: block; color: #506de5; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.page-header h1[b-uj2yzklow8] { margin: 8px 0 10px; font-size: 30px; }
.page-header p[b-uj2yzklow8] { max-width: 720px; margin: 0; color: #73819a; line-height: 1.8; }

.export[b-uj2yzklow8] { flex: none; padding: 11px 18px; border-radius: 10px; background: #3156db; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 18px rgba(49, 86, 219, .2); }

.error[b-uj2yzklow8], .loading-state[b-uj2yzklow8] { padding: 13px 15px; border-radius: 11px; margin-bottom: 16px; }
.error[b-uj2yzklow8] { background: #fff0f1; color: #b83442; }
.loading-state[b-uj2yzklow8] { background: #fff; color: #73819a; border: 1px solid #e2e8f3; }

.stats[b-uj2yzklow8] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.stats div[b-uj2yzklow8] { padding: 16px 18px; border: 1px solid #e2e8f3; border-radius: 14px; background: #fff; }
.stats span[b-uj2yzklow8] { display: block; color: #73819a; font-size: 12px; }
.stats b[b-uj2yzklow8] { display: block; margin-top: 6px; font-size: 26px; }
.stats .good b[b-uj2yzklow8] { color: #1e8a4d; }
.stats .off b[b-uj2yzklow8] { color: #8793a8; }

.gifts[b-uj2yzklow8] { margin-bottom: 18px; padding: 16px 18px; border: 1px solid #f0dca4; border-radius: 14px; background: #fff8e1; }
.gifts h2[b-uj2yzklow8] { margin: 0 0 8px; font-size: 14px; color: #8a6516; }
.gifts ul[b-uj2yzklow8] { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.gifts li[b-uj2yzklow8] { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; }
.gifts li span[b-uj2yzklow8] { color: #8a6516; direction: ltr; unicode-bidi: isolate; }

.list-card[b-uj2yzklow8] { background: #fff; border: 1px solid #e2e8f3; border-radius: 16px; box-shadow: 0 8px 25px rgba(37, 55, 94, .045); padding: 6px 0; }
.table-wrap[b-uj2yzklow8] { overflow-x: auto; }
table[b-uj2yzklow8] { width: 100%; border-collapse: collapse; font-size: 13px; }
th[b-uj2yzklow8], td[b-uj2yzklow8] { padding: 12px 18px; text-align: start; border-bottom: 1px solid #edf1f7; white-space: nowrap; }
th[b-uj2yzklow8] { color: #73819a; font-size: 12px; font-weight: 700; }
tr:last-child td[b-uj2yzklow8] { border-bottom: 0; }
td.email[b-uj2yzklow8] { font-weight: 700; text-align: left; }
td.page[b-uj2yzklow8] { color: #73819a; text-align: left; }

.pill[b-uj2yzklow8] { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.pill.good[b-uj2yzklow8] { background: #eaf8ef; color: #176e40; }
.pill.wait[b-uj2yzklow8] { background: #fff3cf; color: #8a6516; }
.pill.off[b-uj2yzklow8] { background: #f1f3f8; color: #6b768c; }

.empty[b-uj2yzklow8] { margin: 14px 18px; padding: 26px; border: 1px dashed #d9e1ef; border-radius: 12px; color: #8793a8; font-size: 13px; text-align: center; }
.more[b-uj2yzklow8] { margin: 10px 18px; color: #8793a8; font-size: 12px; }

@media (max-width: 900px) {
    .admin-newsletter[b-uj2yzklow8] { padding: 24px 16px 40px; }
    .page-header[b-uj2yzklow8] { flex-direction: column; align-items: stretch; }
    .stats[b-uj2yzklow8] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Operations/AdminAttentionCenter.razor.rz.scp.css */
.admin-attention[b-7s0bntdlli]{max-width:1200px;margin:auto;padding:32px;color:#1a2740}.admin-attention header span[b-7s0bntdlli]{font-size:11px;font-weight:800;color:#526ee8;letter-spacing:.12em}.admin-attention h1[b-7s0bntdlli]{margin:8px 0}.admin-attention header p[b-7s0bntdlli]{color:#74829a}.items[b-7s0bntdlli]{display:grid;gap:13px;margin:24px 0}.items a[b-7s0bntdlli]{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid #e2e8f3;border-radius:13px;padding:16px;text-decoration:none;color:inherit}.items b[b-7s0bntdlli]{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#fff0f1;color:#c23a45}.items.warning b[b-7s0bntdlli]{background:#fff6df;color:#a06a08}.items div[b-7s0bntdlli]{display:grid;gap:4px}.items span[b-7s0bntdlli]{color:#74829a;font-size:12px}.items em[b-7s0bntdlli]{margin-inline-start:auto;color:#4665df;font-style:normal;font-size:12px}.clear[b-7s0bntdlli]{margin-top:22px;padding:18px;background:#edfaf2;color:#187648;border-radius:12px}
/* _content/AITranslationPlatform.Web/Components/Admin/Operations/AdminReports.razor.rz.scp.css */
.admin-reports[b-so52etzfvd]{max-width:1200px;margin:auto;padding:32px;color:#1a2740}.admin-reports header span[b-so52etzfvd]{font-size:11px;font-weight:800;color:#526ee8;letter-spacing:.12em}.admin-reports h1[b-so52etzfvd]{margin:8px 0}.admin-reports header p[b-so52etzfvd],.report-grid p[b-so52etzfvd]{color:#74829a}.filters[b-so52etzfvd]{display:flex;gap:10px;align-items:end;background:#fff;border:1px solid #e2e8f3;padding:15px;border-radius:13px}.filters label[b-so52etzfvd]{display:grid;gap:5px;font-size:12px}.filters input[b-so52etzfvd]{height:36px;border:1px solid #d9e1ef;border-radius:8px;padding:0 9px}.filters button[b-so52etzfvd],.report-grid a[b-so52etzfvd]{border:0;background:#3156db;color:#fff;border-radius:8px;padding:10px 13px;text-decoration:none}.report-grid[b-so52etzfvd]{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:24px 0}.report-grid article[b-so52etzfvd]{background:#fff;border:1px solid #e2e8f3;border-radius:13px;padding:17px}.report-grid h2[b-so52etzfvd]{font-size:16px;margin:0}.report-grid p[b-so52etzfvd]{font-size:12px;min-height:38px}.report-grid a[b-so52etzfvd]{display:inline-block;font-size:12px}@media(max-width:700px){.report-grid[b-so52etzfvd]{grid-template-columns:1fr}.filters[b-so52etzfvd]{align-items:stretch;flex-direction:column}}
/* _content/AITranslationPlatform.Web/Components/Admin/Readiness/AdminFinalReadiness.razor.rz.scp.css */
.admin-readiness-page[b-lwq00ju8r9] {
    display: grid;
    gap: 16px;
    color: var(--admin-text);
}

.admin-readiness-hero[b-lwq00ju8r9] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--admin-line);
    border-radius: 18px;
    background: var(--admin-surface);
}

.admin-readiness-hero.is-good[b-lwq00ju8r9] {
    border-color: color-mix(in srgb, var(--admin-success) 30%, var(--admin-line));
}

.admin-readiness-hero.is-warning[b-lwq00ju8r9] {
    border-color: color-mix(in srgb, var(--admin-warning) 34%, var(--admin-line));
}

.admin-readiness-hero.is-danger[b-lwq00ju8r9] {
    border-color: color-mix(in srgb, var(--admin-danger) 34%, var(--admin-line));
}

.admin-readiness-hero > div:first-child[b-lwq00ju8r9] {
    min-width: 0;
    max-width: 920px;
}

.admin-readiness-hero > div:first-child > span[b-lwq00ju8r9],
.admin-readiness-panel > header span[b-lwq00ju8r9],
.admin-readiness-release-gate span[b-lwq00ju8r9] {
    color: var(--admin-accent);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .11em;
}

.admin-readiness-hero h1[b-lwq00ju8r9] {
    margin: 6px 0 8px;
    font-size: 22px;
}

.admin-readiness-hero p[b-lwq00ju8r9] {
    margin: 0;
    color: var(--admin-muted);
    font-size: 10px;
    line-height: 1.8;
}

.admin-readiness-state[b-lwq00ju8r9] {
    min-width: 190px;
    display: grid;
    gap: 5px;
    padding: 12px;
    border: 1px solid var(--admin-line);
    border-radius: 13px;
    background: var(--admin-surface-soft);
}

.admin-readiness-state small[b-lwq00ju8r9] {
    color: var(--admin-muted);
    font-size: 7px;
    text-transform: uppercase;
}

.admin-readiness-state strong[b-lwq00ju8r9] {
    font-size: 11px;
}

.admin-readiness-state span[b-lwq00ju8r9] {
    color: var(--admin-muted);
    font-size: 7px;
    line-height: 1.55;
}

.admin-readiness-kpis[b-lwq00ju8r9] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.admin-readiness-kpis article[b-lwq00ju8r9],
.admin-readiness-components article[b-lwq00ju8r9] {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--admin-line);
    border-radius: 13px;
    background: var(--admin-surface);
}

.admin-readiness-kpis article.is-warning[b-lwq00ju8r9] {
    background: color-mix(in srgb, var(--admin-warning) 5%, var(--admin-surface));
}

.admin-readiness-kpis article.is-danger[b-lwq00ju8r9] {
    background: color-mix(in srgb, var(--admin-danger) 5%, var(--admin-surface));
}

.admin-readiness-kpis span[b-lwq00ju8r9],
.admin-readiness-kpis strong[b-lwq00ju8r9] {
    display: block;
}

.admin-readiness-kpis span[b-lwq00ju8r9] {
    color: var(--admin-muted);
    font-size: 7px;
}

.admin-readiness-kpis strong[b-lwq00ju8r9] {
    margin-top: 4px;
    font-size: 15px;
}

.admin-readiness-components[b-lwq00ju8r9] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.admin-readiness-components article[b-lwq00ju8r9] {
    display: grid;
    gap: 5px;
}

.admin-readiness-components article.is-good[b-lwq00ju8r9] {
    border-color: color-mix(in srgb, var(--admin-success) 25%, var(--admin-line));
}

.admin-readiness-components article.is-warning[b-lwq00ju8r9] {
    border-color: color-mix(in srgb, var(--admin-warning) 28%, var(--admin-line));
}

.admin-readiness-components article.is-danger[b-lwq00ju8r9] {
    border-color: color-mix(in srgb, var(--admin-danger) 28%, var(--admin-line));
}

.admin-readiness-components span[b-lwq00ju8r9] {
    color: var(--admin-muted);
    font-size: 6.5px;
    font-weight: 800;
}

.admin-readiness-components strong[b-lwq00ju8r9] {
    font-size: 9px;
    overflow-wrap: anywhere;
}

.admin-readiness-components small[b-lwq00ju8r9] {
    color: var(--admin-muted);
    font-size: 6.5px;
}

.admin-readiness-components a[b-lwq00ju8r9] {
    width: fit-content;
    margin-top: 3px;
    color: var(--admin-accent);
    font-size: 7px;
    font-weight: 800;
    text-decoration: none;
}

.admin-readiness-alert[b-lwq00ju8r9] {
    display: grid;
    gap: 4px;
    padding: 11px 12px;
    border: 1px solid var(--admin-line);
    border-radius: 11px;
    background: var(--admin-surface);
    font-size: 8px;
    line-height: 1.7;
}

.admin-readiness-alert.is-warning[b-lwq00ju8r9] {
    border-color: color-mix(in srgb, var(--admin-warning) 30%, var(--admin-line));
    background: color-mix(in srgb, var(--admin-warning) 5%, var(--admin-surface));
}

.admin-readiness-alert.is-danger[b-lwq00ju8r9] {
    border-color: color-mix(in srgb, var(--admin-danger) 30%, var(--admin-line));
    background: color-mix(in srgb, var(--admin-danger) 5%, var(--admin-surface));
}

.admin-readiness-panel[b-lwq00ju8r9] {
    overflow: hidden;
    border: 1px solid var(--admin-line);
    border-radius: 15px;
    background: var(--admin-surface);
}

.admin-readiness-panel > header[b-lwq00ju8r9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 14px;
    border-bottom: 1px solid var(--admin-line);
}

.admin-readiness-panel > header h2[b-lwq00ju8r9] {
    margin: 4px 0 0;
    font-size: 12px;
}

.admin-readiness-panel > header > strong[b-lwq00ju8r9] {
    padding: 4px 7px;
    border-radius: 999px;
    color: var(--admin-text-2);
    background: var(--admin-surface-soft);
    font-size: 7px;
}

.admin-readiness-checks[b-lwq00ju8r9] {
    display: grid;
}

.admin-readiness-checks article[b-lwq00ju8r9] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-top: 1px solid var(--admin-line);
}

.admin-readiness-checks article:first-child[b-lwq00ju8r9] {
    border-top: 0;
}

.admin-readiness-checks article.is-danger[b-lwq00ju8r9] {
    background: color-mix(in srgb, var(--admin-danger) 4%, transparent);
}

.admin-readiness-checks article.is-warning[b-lwq00ju8r9] {
    background: color-mix(in srgb, var(--admin-warning) 4%, transparent);
}

.admin-readiness-checks article > div:first-child[b-lwq00ju8r9] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.admin-readiness-checks article > div:first-child > span[b-lwq00ju8r9],
.admin-readiness-checks article small[b-lwq00ju8r9] {
    color: var(--admin-muted);
    font-size: 6.3px;
}

.admin-readiness-checks article strong[b-lwq00ju8r9] {
    color: var(--admin-text);
    font-size: 7.5px;
    overflow-wrap: anywhere;
}

.admin-readiness-check-state[b-lwq00ju8r9] {
    flex: 0 0 auto;
    display: grid;
    justify-items: end;
    gap: 3px;
}

.admin-readiness-check-state > span[b-lwq00ju8r9] {
    padding: 3px 6px;
    border-radius: 999px;
    font-size: 6px;
    font-weight: 900;
}

.admin-readiness-check-state > span.is-success[b-lwq00ju8r9] {
    color: var(--admin-success);
    background: color-mix(in srgb, var(--admin-success) 9%, transparent);
}

.admin-readiness-check-state > span.is-warning[b-lwq00ju8r9] {
    color: var(--admin-warning);
    background: color-mix(in srgb, var(--admin-warning) 10%, transparent);
}

.admin-readiness-check-state > span.is-danger[b-lwq00ju8r9] {
    color: var(--admin-danger);
    background: color-mix(in srgb, var(--admin-danger) 9%, transparent);
}

.admin-readiness-evidence-grid[b-lwq00ju8r9] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.admin-readiness-panel-note[b-lwq00ju8r9] {
    margin: 0;
    padding: 10px 14px;
    border-bottom: 1px solid var(--admin-line);
    color: var(--admin-muted);
    font-size: 7px;
    line-height: 1.7;
}

.admin-readiness-evidence-list[b-lwq00ju8r9] {
    display: grid;
    gap: 5px;
    padding: 12px 14px;
}

.admin-readiness-evidence-list code[b-lwq00ju8r9] {
    display: block;
    padding: 6px 7px;
    border: 1px solid var(--admin-line);
    border-radius: 7px;
    color: var(--admin-text-2);
    background: var(--admin-surface-soft);
    font-size: 6.5px;
    overflow-wrap: anywhere;
}

.admin-readiness-release-gate[b-lwq00ju8r9] {
    display: grid;
    grid-template-columns: minmax(180px, .35fr) 1fr;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--admin-line);
    border-radius: 15px;
    background: var(--admin-surface);
}

.admin-readiness-release-gate.is-good[b-lwq00ju8r9] {
    border-color: color-mix(in srgb, var(--admin-success) 30%, var(--admin-line));
}

.admin-readiness-release-gate.is-warning[b-lwq00ju8r9] {
    border-color: color-mix(in srgb, var(--admin-warning) 30%, var(--admin-line));
}

.admin-readiness-release-gate.is-danger[b-lwq00ju8r9] {
    border-color: color-mix(in srgb, var(--admin-danger) 30%, var(--admin-line));
}

.admin-readiness-release-gate h2[b-lwq00ju8r9] {
    margin: 4px 0 0;
    font-size: 13px;
}

.admin-readiness-release-gate p[b-lwq00ju8r9] {
    margin: 0;
    color: var(--admin-muted);
    font-size: 8px;
    line-height: 1.75;
}

.admin-readiness-empty[b-lwq00ju8r9] {
    padding: 28px;
    border: 1px dashed var(--admin-line);
    border-radius: 14px;
    color: var(--admin-muted);
    background: var(--admin-surface);
    text-align: center;
    font-size: 9px;
}

@media (max-width: 900px) {
    .admin-readiness-kpis[b-lwq00ju8r9],
    .admin-readiness-components[b-lwq00ju8r9],
    .admin-readiness-evidence-grid[b-lwq00ju8r9] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-readiness-components article:last-child[b-lwq00ju8r9] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .admin-readiness-hero[b-lwq00ju8r9],
    .admin-readiness-checks article[b-lwq00ju8r9] {
        flex-direction: column;
    }

    .admin-readiness-state[b-lwq00ju8r9] {
        width: 100%;
        min-width: 0;
    }

    .admin-readiness-kpis[b-lwq00ju8r9],
    .admin-readiness-components[b-lwq00ju8r9],
    .admin-readiness-evidence-grid[b-lwq00ju8r9],
    .admin-readiness-release-gate[b-lwq00ju8r9] {
        grid-template-columns: 1fr;
    }

    .admin-readiness-components article:last-child[b-lwq00ju8r9] {
        grid-column: auto;
    }

    .admin-readiness-check-state[b-lwq00ju8r9] {
        justify-items: start;
    }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Referrals/AdminReferrals.razor.rz.scp.css */
.admin-referrals[b-m6wj0da2jk] { max-width: 1260px; margin: 0 auto; padding: 34px 30px 48px; color: #1a2740; }

.page-header[b-m6wj0da2jk] { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.eyebrow[b-m6wj0da2jk] { display: block; color: #506de5; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.page-header h1[b-m6wj0da2jk] { margin: 8px 0 10px; font-size: 30px; }
.page-header p[b-m6wj0da2jk] { margin: 0; color: #73819a; line-height: 1.8; }

.state-badge[b-m6wj0da2jk] { border-radius: 10px; padding: 10px 13px; font-size: 12px; white-space: nowrap; border: 1px solid; }
.state-badge span[b-m6wj0da2jk] { display: inline-grid; place-items: center; color: #fff; border-radius: 50%; width: 18px; height: 18px; margin-left: 6px; }
.state-badge.on[b-m6wj0da2jk] { border-color: #cdebdc; background: #f0fbf5; color: #19774b; }
.state-badge.on span[b-m6wj0da2jk] { background: #27a765; }
.state-badge.off[b-m6wj0da2jk] { border-color: #e2e8f3; background: #f6f8fc; color: #5d6b84; }
.state-badge.off span[b-m6wj0da2jk] { background: #9aa6ba; }

.setting-cards[b-m6wj0da2jk] { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.setting-card[b-m6wj0da2jk], .switch-card[b-m6wj0da2jk], .status-card[b-m6wj0da2jk] { background: #fff; border: 1px solid #e2e8f3; border-radius: 16px; box-shadow: 0 8px 25px rgba(37, 55, 94, .045); padding: 22px; }
.card-heading[b-m6wj0da2jk] { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #edf1f7; }
.card-heading h2[b-m6wj0da2jk], .switch-card h2[b-m6wj0da2jk] { font-size: 17px; margin: 0 0 5px; }
.card-heading p[b-m6wj0da2jk], .switch-card p[b-m6wj0da2jk] { margin: 0; color: #74829a; font-size: 12px; line-height: 1.7; }
.card-icon[b-m6wj0da2jk] { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #eaf0ff; color: #4563dd; font-size: 21px; flex: none; }
.card-icon.purple[b-m6wj0da2jk] { background: #f2ecff; color: #7b5cdb; }
.card-icon.teal[b-m6wj0da2jk] { background: #e6f6f3; color: #1d8a78; }
.setting-card.wide[b-m6wj0da2jk] { grid-column: 1 / -1; }

.fields[b-m6wj0da2jk] { display: grid; gap: 17px; padding-top: 19px; }
.fields label[b-m6wj0da2jk] { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.fields label > span[b-m6wj0da2jk] { color: #3d4c65; }
.fields small[b-m6wj0da2jk] { color: #8793a8; font-size: 11px; font-weight: 400; line-height: 1.7; }
.fields input[b-m6wj0da2jk] { box-sizing: border-box; width: 100%; height: 40px; padding: 0 11px; background: #fbfcff; border: 1px solid #d9e1ef; border-radius: 9px; color: #23324b; outline: none; }
.fields input:focus[b-m6wj0da2jk] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }
.unit-input[b-m6wj0da2jk] { position: relative; }
.unit-input input[b-m6wj0da2jk] { padding-left: 46px; }
.unit-input em[b-m6wj0da2jk] { position: absolute; left: 11px; top: 12px; color: #7e8aa0; font-size: 11px; font-style: normal; }

.switch-card[b-m6wj0da2jk] { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 18px; background: #fffaf3; border-color: #f3dfbd; }
.switch-card > div[b-m6wj0da2jk] { display: flex; align-items: center; gap: 13px; }
.warning-icon[b-m6wj0da2jk] { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff0d6; color: #ba7414; font-weight: 900; font-size: 20px; flex: none; }

.toggle-row[b-m6wj0da2jk] { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; cursor: pointer; }
.toggle-row span[b-m6wj0da2jk] { display: grid; gap: 4px; }
.toggle-row strong[b-m6wj0da2jk] { font-size: 13px; }
.toggle-row small[b-m6wj0da2jk] { color: #7c899f; font-size: 11px; line-height: 1.45; }
.toggle-row input[b-m6wj0da2jk] { position: absolute; opacity: 0; }
.toggle-row i[b-m6wj0da2jk] { position: relative; display: block; width: 42px; height: 23px; background: #cbd4e2; border-radius: 100px; transition: .2s; flex: none; }
.toggle-row i[b-m6wj0da2jk]:after { content: ""; position: absolute; width: 17px; height: 17px; border-radius: 50%; background: #fff; top: 3px; right: 3px; box-shadow: 0 1px 3px #889; transition: .2s; }
.toggle-row input:checked + i[b-m6wj0da2jk] { background: #4867e7; }
.toggle-row input:checked + i[b-m6wj0da2jk]:after { right: 22px; }
.toggle-row input:focus-visible + i[b-m6wj0da2jk] { box-shadow: 0 0 0 3px #edf1ff; }
.switch-toggle[b-m6wj0da2jk] { min-width: 130px; padding: 0; }

.status-cards[b-m6wj0da2jk] { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.status-card h3[b-m6wj0da2jk] { margin: 0 0 4px; font-size: 15px; }
.status-card > small[b-m6wj0da2jk] { color: #8793a8; font-size: 11px; }
.status-card dl[b-m6wj0da2jk] { display: grid; gap: 8px; margin: 14px 0 0; }
.status-card dl div[b-m6wj0da2jk] { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 12px; border-radius: 10px; background: #f7f9fd; }
.status-card dt[b-m6wj0da2jk] { color: #5d6b84; font-size: 12px; }
.status-card dd[b-m6wj0da2jk] { margin: 0; font-size: 16px; font-weight: 800; color: #23324b; }
.muted[b-m6wj0da2jk] { margin: 12px 0 0; color: #74829a; font-size: 12px; line-height: 1.7; }
.warning[b-m6wj0da2jk] { margin: 12px 0 0; padding: 9px 12px; border-radius: 10px; background: #fff4e5; color: #9a5d0a; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }

.form-footer[b-m6wj0da2jk] { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 20px; }
.form-footer p[b-m6wj0da2jk] { color: #8190a7; font-size: 12px; margin: 0; }
.form-footer button[b-m6wj0da2jk] { border: 0; border-radius: 10px; background: #3156db; color: #fff; padding: 12px 18px; font-weight: 700; box-shadow: 0 8px 18px rgba(49, 86, 219, .2); cursor: pointer; }
.form-footer button span[b-m6wj0da2jk] { font-size: 16px; margin-left: 5px; }

.notice[b-m6wj0da2jk], .error[b-m6wj0da2jk], .loading-state[b-m6wj0da2jk] { padding: 13px 15px; border-radius: 11px; margin-bottom: 16px; }
.notice[b-m6wj0da2jk] { background: #eaf8ef; color: #176e40; }
.error[b-m6wj0da2jk] { background: #fff0f1; color: #b83442; }
.loading-state[b-m6wj0da2jk] { background: #fff; color: #73819a; border: 1px solid #e2e8f3; }

.card-icon.amber[b-m6wj0da2jk] { background: #fff3df; color: #b06d12; }
.fields select[b-m6wj0da2jk] { box-sizing: border-box; width: 100%; height: 40px; padding: 0 11px; background: #fbfcff; border: 1px solid #d9e1ef; border-radius: 9px; color: #23324b; font: inherit; outline: none; }
.fields select:focus[b-m6wj0da2jk] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }
.two-fields[b-m6wj0da2jk] { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields small.field-warning[b-m6wj0da2jk] { color: #a8590c; }
.status-card dd[b-m6wj0da2jk] { font-size: 14px; text-align: left; }
.status-card dt[b-m6wj0da2jk] { min-width: 0; overflow-wrap: anywhere; }

.recent-card[b-m6wj0da2jk] { margin-top: 18px; background: #fff; border: 1px solid #e2e8f3; border-radius: 16px; box-shadow: 0 8px 25px rgba(37, 55, 94, .045); padding: 22px; }
.recent-card h3[b-m6wj0da2jk] { margin: 0 0 12px; font-size: 15px; }
.table-wrap[b-m6wj0da2jk] { overflow-x: auto; }
.recent-card table[b-m6wj0da2jk] { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 720px; }
.recent-card th[b-m6wj0da2jk] { text-align: right; color: #6b7890; font-weight: 800; font-size: 11px; padding: 9px 10px; background: #f5f7fd; border-bottom: 1px solid #e3e9f3; }
.recent-card td[b-m6wj0da2jk] { padding: 10px; border-bottom: 1px solid #edf1f7; color: #23324b; }
.status[b-m6wj0da2jk] { display: inline-block; border-radius: 999px; padding: 3px 9px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.status.done[b-m6wj0da2jk] { background: #e9f8ee; color: #177442; }
.status.waiting[b-m6wj0da2jk] { background: #fff4d8; color: #926400; }
.status.off[b-m6wj0da2jk] { background: #f1f3f7; color: #6d798d; }

@media (max-width: 850px) {
    .setting-cards[b-m6wj0da2jk], .status-cards[b-m6wj0da2jk], .two-fields[b-m6wj0da2jk] { grid-template-columns: 1fr; }
    .page-header[b-m6wj0da2jk] { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
    .admin-referrals[b-m6wj0da2jk] { padding: 22px 16px; }
    .switch-card[b-m6wj0da2jk], .form-footer[b-m6wj0da2jk] { align-items: flex-start; flex-direction: column; }
    .switch-toggle[b-m6wj0da2jk] { width: 100%; }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Security/AdminSecurity.razor.rz.scp.css */
.admin-security[b-l7cljptkmj] {
    max-width: 900px;
    margin: 0 auto;
    padding: 34px 30px 48px;
    color: #1a2740;
}

.page-header[b-l7cljptkmj] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 26px;
}

.eyebrow[b-l7cljptkmj] {
    display: block;
    color: #506de5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.page-header h1[b-l7cljptkmj] {
    margin: 8px 0 10px;
    font-size: 30px;
}

.page-header p[b-l7cljptkmj] {
    margin: 0;
    color: #73819a;
    max-width: 70ch;
    line-height: 1.75;
}

.state-badge[b-l7cljptkmj] {
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.state-badge span[b-l7cljptkmj] {
    margin-inline-end: 6px;
}

.state-badge.on[b-l7cljptkmj] {
    border: 1px solid #cdebdc;
    background: #f0fbf5;
    color: #19774b;
}

.state-badge.off[b-l7cljptkmj] {
    border: 1px solid #e6dcc4;
    background: #fffaf3;
    color: #92651a;
}

.notice[b-l7cljptkmj],
.error[b-l7cljptkmj],
.loading-state[b-l7cljptkmj] {
    border-radius: 12px;
    padding: 13px 16px;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.7;
}

.notice[b-l7cljptkmj] {
    border: 1px solid #cdebdc;
    background: #f0fbf5;
    color: #19774b;
}

.error[b-l7cljptkmj] {
    border: 1px solid #f1c9c9;
    background: #fff5f5;
    color: #a32626;
}

.loading-state[b-l7cljptkmj] {
    border: 1px solid #e2e8f3;
    background: #fff;
    color: #73819a;
}

.card[b-l7cljptkmj] {
    background: #fff;
    border: 1px solid #e2e8f3;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(37,55,94,.045);
    padding: 22px;
    margin-bottom: 18px;
}

.card-heading[b-l7cljptkmj] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf1f7;
}

.card-heading h2[b-l7cljptkmj] {
    font-size: 17px;
    margin: 0 0 5px;
}

.card-heading p[b-l7cljptkmj] {
    margin: 0;
    color: #74829a;
    font-size: 12px;
    line-height: 1.7;
}

.card-heading strong.warn[b-l7cljptkmj] {
    color: #b36a0c;
}

.card-icon[b-l7cljptkmj] {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #eaf0ff;
    color: #4563dd;
    font-size: 18px;
    font-weight: 800;
}

.enrolment[b-l7cljptkmj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    padding-top: 18px;
}

.qr[b-l7cljptkmj] {
    display: inline-flex;
    padding: 10px;
    border: 1px solid #e2e8f3;
    border-radius: 14px;
    background: #fff;
}

.qr img[b-l7cljptkmj] {
    display: block;
    max-width: 100%;
    height: auto;
}

.key[b-l7cljptkmj] {
    display: grid;
    gap: 8px;
    min-width: 0;
    flex: 1 1 220px;
    color: #74829a;
    font-size: 12px;
    line-height: 1.7;
}

.key code[b-l7cljptkmj] {
    padding: 10px 12px;
    border-radius: 10px;
    background: #f4f7fc;
    color: #1a2740;
    font-size: 13px;
    word-break: break-all;
}

.code-form[b-l7cljptkmj] {
    display: grid;
    gap: 16px;
    padding-top: 18px;
}

.code-form label[b-l7cljptkmj] {
    display: grid;
    gap: 8px;
    max-width: 320px;
}

.code-form label > span[b-l7cljptkmj] {
    color: #3f4858;
    font-size: 12px;
    font-weight: 750;
}

.code-form input[b-l7cljptkmj] {
    height: 44px;
    padding: 0 12px;
    border: 1px solid #d9e1ee;
    border-radius: 10px;
    background: #fff;
    color: #1a2740;
    font-size: 16px;
    letter-spacing: .12em;
}

.code-form input:focus[b-l7cljptkmj] {
    outline: none;
    border-color: #506de5;
    box-shadow: 0 0 0 3px rgba(80,109,229,.14);
}

.actions[b-l7cljptkmj] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.actions button[b-l7cljptkmj],
.actions a[b-l7cljptkmj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.actions .primary[b-l7cljptkmj] {
    background: #506de5;
    color: #fff;
}

.actions .secondary[b-l7cljptkmj] {
    border-color: #d9e1ee;
    background: #fff;
    color: #33415c;
}

.actions .danger[b-l7cljptkmj] {
    border-color: #f1c9c9;
    background: #fff5f5;
    color: #a32626;
}

.recovery-card[b-l7cljptkmj] {
    border-color: #f3dfbd;
    background: #fffcf6;
}

.recovery-codes[b-l7cljptkmj] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.recovery-codes code[b-l7cljptkmj] {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #f0e2c7;
    color: #1a2740;
    font-size: 13px;
    text-align: center;
}


[data-theme="dark"] .admin-security[b-l7cljptkmj] {
    color: #dbe3f2;
}

[data-theme="dark"] .page-header p[b-l7cljptkmj],
[data-theme="dark"] .card-heading p[b-l7cljptkmj],
[data-theme="dark"] .key[b-l7cljptkmj] {
    color: #8b98b1;
}

[data-theme="dark"] .card[b-l7cljptkmj],
[data-theme="dark"] .loading-state[b-l7cljptkmj] {
    background: #161d2c;
    border-color: #26314a;
    box-shadow: none;
}

[data-theme="dark"] .card-heading[b-l7cljptkmj] {
    border-bottom-color: #26314a;
}

[data-theme="dark"] .card-icon[b-l7cljptkmj] {
    background: #1d2945;
    color: #9db0fb;
}

[data-theme="dark"] .code-form label > span[b-l7cljptkmj] {
    color: #b6c2d8;
}

[data-theme="dark"] .code-form input[b-l7cljptkmj],
[data-theme="dark"] .key code[b-l7cljptkmj] {
    background: #101623;
    border-color: #2b3752;
    color: #e4ebf8;
}

[data-theme="dark"] .actions .secondary[b-l7cljptkmj] {
    background: #101623;
    border-color: #2b3752;
    color: #c9d4e8;
}

[data-theme="dark"] .actions .danger[b-l7cljptkmj] {
    background: #2c1517;
    border-color: #5a2a2e;
    color: #f0a9ac;
}

[data-theme="dark"] .notice[b-l7cljptkmj],
[data-theme="dark"] .state-badge.on[b-l7cljptkmj] {
    background: #10291d;
    border-color: #1f4f37;
    color: #7fd6a6;
}

[data-theme="dark"] .error[b-l7cljptkmj] {
    background: #2c1517;
    border-color: #5a2a2e;
    color: #f0a9ac;
}

[data-theme="dark"] .state-badge.off[b-l7cljptkmj] {
    background: #2e2414;
    border-color: #574322;
    color: #e2b563;
}

[data-theme="dark"] .recovery-card[b-l7cljptkmj] {
    background: #1d1a12;
    border-color: #4a3c20;
}

[data-theme="dark"] .recovery-codes code[b-l7cljptkmj] {
    background: #101623;
    border-color: #4a3c20;
    color: #f1e3c4;
}


@media (max-width: 720px) {
    .admin-security[b-l7cljptkmj] {
        padding: 22px 16px;
    }

    .page-header[b-l7cljptkmj] {
        flex-direction: column;
        align-items: stretch;
    }

    .page-header h1[b-l7cljptkmj] {
        font-size: 24px;
    }

    .actions button[b-l7cljptkmj],
    .actions a[b-l7cljptkmj] {
        flex: 1 1 100%;
    }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Settings/AdminDataRetention.razor.rz.scp.css */
.admin-data-retention[b-1qi4ex1ral] { max-width: 1260px; margin: 0 auto; padding: 34px 30px 48px; color: #1a2740; }

.page-header[b-1qi4ex1ral] { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.eyebrow[b-1qi4ex1ral] { display: block; color: #506de5; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.page-header h1[b-1qi4ex1ral] { margin: 8px 0 10px; font-size: 30px; }
.page-header p[b-1qi4ex1ral] { margin: 0; color: #73819a; line-height: 1.8; }

.state-badge[b-1qi4ex1ral] { border-radius: 10px; padding: 10px 13px; font-size: 12px; white-space: nowrap; border: 1px solid; }
.state-badge span[b-1qi4ex1ral] { display: inline-grid; place-items: center; color: #fff; border-radius: 50%; width: 18px; height: 18px; margin-left: 6px; }
.state-badge.on[b-1qi4ex1ral] { border-color: #cdebdc; background: #f0fbf5; color: #19774b; }
.state-badge.on span[b-1qi4ex1ral] { background: #27a765; }
.state-badge.off[b-1qi4ex1ral] { border-color: #e2e8f3; background: #f6f8fc; color: #5d6b84; }
.state-badge.off span[b-1qi4ex1ral] { background: #9aa6ba; }

.setting-cards[b-1qi4ex1ral] { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.setting-card[b-1qi4ex1ral], .switch-card[b-1qi4ex1ral], .status-card[b-1qi4ex1ral] { background: #fff; border: 1px solid #e2e8f3; border-radius: 16px; box-shadow: 0 8px 25px rgba(37, 55, 94, .045); padding: 22px; }
.card-heading[b-1qi4ex1ral] { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #edf1f7; }
.card-heading h2[b-1qi4ex1ral], .switch-card h2[b-1qi4ex1ral] { font-size: 17px; margin: 0 0 5px; }
.card-heading p[b-1qi4ex1ral], .switch-card p[b-1qi4ex1ral] { margin: 0; color: #74829a; font-size: 12px; line-height: 1.7; }
.card-icon[b-1qi4ex1ral] { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #eaf0ff; color: #4563dd; font-size: 21px; flex: none; }
.card-icon.purple[b-1qi4ex1ral] { background: #f2ecff; color: #7b5cdb; }
.card-icon.teal[b-1qi4ex1ral] { background: #e6f6f3; color: #1d8a78; }
.setting-card.wide[b-1qi4ex1ral] { grid-column: 1 / -1; }

.fields[b-1qi4ex1ral] { display: grid; gap: 17px; padding-top: 19px; }
.fields label[b-1qi4ex1ral] { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.fields label > span[b-1qi4ex1ral] { color: #3d4c65; }
.fields small[b-1qi4ex1ral] { color: #8793a8; font-size: 11px; font-weight: 400; line-height: 1.7; }
.fields input[b-1qi4ex1ral] { box-sizing: border-box; width: 100%; height: 40px; padding: 0 11px; background: #fbfcff; border: 1px solid #d9e1ef; border-radius: 9px; color: #23324b; outline: none; }
.fields input:focus[b-1qi4ex1ral] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }
.unit-input[b-1qi4ex1ral] { position: relative; }
.unit-input input[b-1qi4ex1ral] { padding-left: 46px; }
.unit-input em[b-1qi4ex1ral] { position: absolute; left: 11px; top: 12px; color: #7e8aa0; font-size: 11px; font-style: normal; }

.switch-card[b-1qi4ex1ral] { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 18px; background: #fffaf3; border-color: #f3dfbd; }
.switch-card > div[b-1qi4ex1ral] { display: flex; align-items: center; gap: 13px; }
.warning-icon[b-1qi4ex1ral] { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff0d6; color: #ba7414; font-weight: 900; font-size: 20px; flex: none; }

.toggle-row[b-1qi4ex1ral] { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; cursor: pointer; }
.toggle-row span[b-1qi4ex1ral] { display: grid; gap: 4px; }
.toggle-row strong[b-1qi4ex1ral] { font-size: 13px; }
.toggle-row small[b-1qi4ex1ral] { color: #7c899f; font-size: 11px; line-height: 1.45; }
.toggle-row input[b-1qi4ex1ral] { position: absolute; opacity: 0; }
.toggle-row i[b-1qi4ex1ral] { position: relative; display: block; width: 42px; height: 23px; background: #cbd4e2; border-radius: 100px; transition: .2s; flex: none; }
.toggle-row i[b-1qi4ex1ral]:after { content: ""; position: absolute; width: 17px; height: 17px; border-radius: 50%; background: #fff; top: 3px; right: 3px; box-shadow: 0 1px 3px #889; transition: .2s; }
.toggle-row input:checked + i[b-1qi4ex1ral] { background: #4867e7; }
.toggle-row input:checked + i[b-1qi4ex1ral]:after { right: 22px; }
.toggle-row input:focus-visible + i[b-1qi4ex1ral] { box-shadow: 0 0 0 3px #edf1ff; }
.switch-toggle[b-1qi4ex1ral] { min-width: 130px; padding: 0; }

.status-cards[b-1qi4ex1ral] { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.status-card h3[b-1qi4ex1ral] { margin: 0 0 4px; font-size: 15px; }
.status-card > small[b-1qi4ex1ral] { color: #8793a8; font-size: 11px; }
.status-card dl[b-1qi4ex1ral] { display: grid; gap: 8px; margin: 14px 0 0; }
.status-card dl div[b-1qi4ex1ral] { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 12px; border-radius: 10px; background: #f7f9fd; }
.status-card dt[b-1qi4ex1ral] { color: #5d6b84; font-size: 12px; }
.status-card dd[b-1qi4ex1ral] { margin: 0; font-size: 16px; font-weight: 800; color: #23324b; }
.muted[b-1qi4ex1ral] { margin: 12px 0 0; color: #74829a; font-size: 12px; line-height: 1.7; }
.warning[b-1qi4ex1ral] { margin: 12px 0 0; padding: 9px 12px; border-radius: 10px; background: #fff4e5; color: #9a5d0a; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }

.form-footer[b-1qi4ex1ral] { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 20px; }
.form-footer p[b-1qi4ex1ral] { color: #8190a7; font-size: 12px; margin: 0; }
.form-footer button[b-1qi4ex1ral] { border: 0; border-radius: 10px; background: #3156db; color: #fff; padding: 12px 18px; font-weight: 700; box-shadow: 0 8px 18px rgba(49, 86, 219, .2); cursor: pointer; }
.form-footer button span[b-1qi4ex1ral] { font-size: 16px; margin-left: 5px; }

.notice[b-1qi4ex1ral], .error[b-1qi4ex1ral], .loading-state[b-1qi4ex1ral] { padding: 13px 15px; border-radius: 11px; margin-bottom: 16px; }
.notice[b-1qi4ex1ral] { background: #eaf8ef; color: #176e40; }
.error[b-1qi4ex1ral] { background: #fff0f1; color: #b83442; }
.loading-state[b-1qi4ex1ral] { background: #fff; color: #73819a; border: 1px solid #e2e8f3; }

@media (max-width: 850px) {
    .setting-cards[b-1qi4ex1ral], .status-cards[b-1qi4ex1ral] { grid-template-columns: 1fr; }
    .page-header[b-1qi4ex1ral] { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
    .admin-data-retention[b-1qi4ex1ral] { padding: 22px 16px; }
    .switch-card[b-1qi4ex1ral], .form-footer[b-1qi4ex1ral] { align-items: flex-start; flex-direction: column; }
    .switch-toggle[b-1qi4ex1ral] { width: 100%; }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Settings/AdminOutboundRouting.razor.rz.scp.css */
.admin-outbound[b-3ndrp94z85] { max-width: 1260px; margin: 0 auto; padding: 34px 30px 48px; color: #1a2740; }

.page-header[b-3ndrp94z85] { margin-bottom: 26px; }
.eyebrow[b-3ndrp94z85] { display: block; color: #506de5; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.page-header h1[b-3ndrp94z85] { margin: 8px 0 10px; font-size: 30px; }
.page-header p[b-3ndrp94z85] { margin: 0; max-width: 920px; color: #73819a; line-height: 1.8; }

.cards[b-3ndrp94z85] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.card[b-3ndrp94z85] { min-width: 0; padding: 20px 22px; background: #fff; border: 1px solid #e2e8f3; border-radius: 16px; box-shadow: 0 8px 25px rgba(37, 55, 94, .05); }
.card.wide[b-3ndrp94z85] { grid-column: 1 / -1; }
.card-heading[b-3ndrp94z85] { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid #edf1f7; }
.card-heading h2[b-3ndrp94z85] { font-size: 17px; margin: 0 0 5px; }
.card-heading p[b-3ndrp94z85] { margin: 0; color: #74829a; font-size: 12px; line-height: 1.7; }
.card-icon[b-3ndrp94z85] { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #eaf0ff; color: #4563dd; font-size: 17px; font-weight: 800; }
.card-icon.purple[b-3ndrp94z85] { background: #f2ecff; color: #7b5cdb; font-size: 20px; }
.card-icon.teal[b-3ndrp94z85] { background: #e6f6f3; color: #1d8a78; }
.card-icon.amber[b-3ndrp94z85] { background: #fff4e0; color: #b7791f; }

.services[b-3ndrp94z85] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.service[b-3ndrp94z85] { min-width: 0; margin: 0; padding: 14px 16px 16px; border: 1px solid #e6ebf4; border-radius: 13px; background: #fbfcff; display: grid; gap: 9px; }
.service legend[b-3ndrp94z85] { padding: 0 6px; display: grid; gap: 2px; }
.service-name[b-3ndrp94z85] { font-size: 15px; font-weight: 800; }
.service legend small[b-3ndrp94z85] { color: #8793a8; font-size: 11px; font-weight: 400; }

.choice[b-3ndrp94z85], .kind[b-3ndrp94z85] { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid #e2e8f3; border-radius: 10px; background: #fff; cursor: pointer; }
.choice:has(input:checked)[b-3ndrp94z85], .kind:has(input:checked)[b-3ndrp94z85] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }
.choice input[b-3ndrp94z85], .kind input[b-3ndrp94z85] { margin-top: 3px; accent-color: #3156db; }
.choice span[b-3ndrp94z85], .kind span[b-3ndrp94z85] { display: grid; gap: 3px; min-width: 0; }
.choice b[b-3ndrp94z85], .kind b[b-3ndrp94z85] { font-size: 13px; }
.choice small[b-3ndrp94z85], .kind small[b-3ndrp94z85] { color: #8793a8; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }

.route-now[b-3ndrp94z85] { margin-top: 4px; padding: 9px 12px; border-radius: 10px; background: #f1f5ff; font-size: 11px; color: #4a5872; }
.route-now ol[b-3ndrp94z85] { margin: 6px 0 0; padding-inline-start: 18px; font-family: ui-monospace, Consolas, monospace; font-size: 11px; overflow-wrap: anywhere; }

.check[b-3ndrp94z85] { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: #3d4c65; cursor: pointer; }
.check input[b-3ndrp94z85] { accent-color: #3156db; width: 16px; height: 16px; }
.card > form > .check[b-3ndrp94z85] { margin-top: 16px; }

.form-footer[b-3ndrp94z85] { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 20px; }
.form-footer p[b-3ndrp94z85] { color: #8190a7; font-size: 12px; line-height: 1.8; margin: 0; }
.form-footer a[b-3ndrp94z85] { color: #3156db; font-size: 13px; }
.form-footer button[b-3ndrp94z85] { flex: none; border: 0; border-radius: 10px; background: #3156db; color: #fff; padding: 12px 18px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 8px 18px rgba(49, 86, 219, .22); }
.form-footer button span[b-3ndrp94z85] { font-size: 16px; margin-inline-end: 5px; }

.empty[b-3ndrp94z85] { margin: 0 0 14px; color: #8793a8; font-size: 13px; }
.servers[b-3ndrp94z85] { display: grid; gap: 12px; }
.server[b-3ndrp94z85] { padding: 14px 16px; border: 1px solid #e2e8f3; border-radius: 13px; background: #fff; display: grid; gap: 12px; }
.server.is-off[b-3ndrp94z85] { opacity: .62; }
.server.direct[b-3ndrp94z85] { background: #fbfcff; border-style: dashed; }
.server-top[b-3ndrp94z85] { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.order[b-3ndrp94z85] { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #eaf0ff; color: #3156db; font-size: 12px; font-weight: 800; }
.server-name[b-3ndrp94z85] { min-width: 0; flex: 1 1 220px; }
.server-name h3[b-3ndrp94z85] { margin: 0 0 3px; font-size: 14px; }
.server-name code[b-3ndrp94z85] { color: #5a6882; font-size: 12px; overflow-wrap: anywhere; }
.badges[b-3ndrp94z85] { display: flex; flex-wrap: wrap; gap: 6px; }
.badge[b-3ndrp94z85] { padding: 3px 9px; border-radius: 999px; background: #eef2f8; color: #4a5872; font-size: 11px; font-weight: 700; }
.badge.proxy[b-3ndrp94z85] { background: #e6f6f3; color: #1d8a78; }
.badge.relay[b-3ndrp94z85] { background: #f2ecff; color: #7b5cdb; }
.badge.off[b-3ndrp94z85] { background: #fff0f1; color: #b83442; }
.badge.muted[b-3ndrp94z85] { font-weight: 400; }

.server-actions[b-3ndrp94z85] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.server-actions form[b-3ndrp94z85] { display: contents; }
.server-actions button[b-3ndrp94z85], .link-button[b-3ndrp94z85] { border: 1px solid #d9e1ef; border-radius: 9px; background: #fff; color: #33425d; padding: 7px 12px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; text-decoration: none; }
.server-actions button:disabled[b-3ndrp94z85] { opacity: .35; cursor: default; }
.server-actions .primary-light[b-3ndrp94z85] { border-color: #c9d5fb; background: #eef2ff; color: #3156db; }
.server-actions .danger[b-3ndrp94z85] { color: #b83442; border-color: #f3cdd2; }

[b-3ndrp94z85] .untested { margin: 0; color: #8793a8; font-size: 12px; }
[b-3ndrp94z85] .tests { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
[b-3ndrp94z85] .tests li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 11px; border-radius: 10px; font-size: 12px; }
[b-3ndrp94z85] .tests li.ok { background: #eaf8ef; color: #176e40; }
[b-3ndrp94z85] .tests li.warn { background: #fff7e6; color: #8a5a00; }
[b-3ndrp94z85] .tests li.bad { background: #fff0f1; color: #b83442; }
[b-3ndrp94z85] .tests .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
[b-3ndrp94z85] .tests small { opacity: .75; }
[b-3ndrp94z85] .tests code { flex-basis: 100%; font-size: 11px; opacity: .8; overflow-wrap: anywhere; }

.kinds[b-3ndrp94z85] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-bottom: 16px; }
.fields[b-3ndrp94z85] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.fields label:not(.check)[b-3ndrp94z85] { display: grid; gap: 7px; font-size: 12px; font-weight: 700; align-content: start; }
.fields label > span[b-3ndrp94z85] { color: #3d4c65; }
.fields small[b-3ndrp94z85] { color: #8793a8; font-size: 11px; font-weight: 400; line-height: 1.6; }
.fields input:not([type=checkbox])[b-3ndrp94z85] { box-sizing: border-box; width: 100%; height: 40px; padding: 0 11px; background: #fbfcff; border: 1px solid #d9e1ef; border-radius: 9px; color: inherit; font: inherit; font-size: 14px; outline: 0; }
.fields input:focus[b-3ndrp94z85] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }
.toggles[b-3ndrp94z85] { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; }

.steps[b-3ndrp94z85] { margin: 0; padding-inline-start: 20px; display: grid; gap: 12px; color: #3d4c65; font-size: 13px; line-height: 1.8; }
.steps pre[b-3ndrp94z85] { margin: 6px 0 0; padding: 10px 12px; border-radius: 9px; background: #1a2740; color: #e7ecf7; font-size: 12px; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; }

.notice[b-3ndrp94z85], .error[b-3ndrp94z85], .loading-state[b-3ndrp94z85] { padding: 13px 15px; border-radius: 11px; margin-bottom: 16px; line-height: 1.8; }
.notice[b-3ndrp94z85] { background: #eaf8ef; color: #176e40; }
.notice small[b-3ndrp94z85] { margin-inline-start: 6px; opacity: .7; }
.error[b-3ndrp94z85] { background: #fff0f1; color: #b83442; }
.loading-state[b-3ndrp94z85] { background: #fff; color: #73819a; border: 1px solid #e2e8f3; }

@media (max-width: 950px) {
    .cards[b-3ndrp94z85], .services[b-3ndrp94z85] { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
    .admin-outbound[b-3ndrp94z85] { padding: 22px 16px; }
    .kinds[b-3ndrp94z85], .fields[b-3ndrp94z85] { grid-template-columns: minmax(0, 1fr); }
    .form-footer[b-3ndrp94z85] { align-items: stretch; flex-direction: column; }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Settings/AdminSystemSettings.razor.rz.scp.css */
.admin-system-settings[b-1ygwavh298]{max-width:1260px;margin:0 auto;padding:34px 30px 48px;color:#1a2740}.page-header[b-1ygwavh298]{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:26px}.eyebrow[b-1ygwavh298]{display:block;color:#506de5;font-size:11px;font-weight:800;letter-spacing:.12em}.page-header h1[b-1ygwavh298]{margin:8px 0 10px;font-size:30px}.page-header p[b-1ygwavh298]{margin:0;color:#73819a}.safe-badge[b-1ygwavh298]{border:1px solid #cdebdc;background:#f0fbf5;color:#19774b;border-radius:10px;padding:10px 13px;font-size:12px;white-space:nowrap}.safe-badge span[b-1ygwavh298]{display:inline-grid;place-items:center;background:#27a765;color:#fff;border-radius:50%;width:18px;height:18px;margin-left:6px}.setting-cards[b-1ygwavh298]{display:grid;grid-template-columns:1fr 1fr;gap:18px}.setting-card[b-1ygwavh298],.maintenance-card[b-1ygwavh298]{background:#fff;border:1px solid #e2e8f3;border-radius:16px;box-shadow:0 8px 25px rgba(37,55,94,.045);padding:22px}.card-heading[b-1ygwavh298]{display:flex;align-items:center;gap:12px;padding-bottom:18px;border-bottom:1px solid #edf1f7}.card-heading h2[b-1ygwavh298],.maintenance-card h2[b-1ygwavh298]{font-size:17px;margin:0 0 5px}.card-heading p[b-1ygwavh298],.maintenance-card p[b-1ygwavh298]{margin:0;color:#74829a;font-size:12px;line-height:1.7}.card-icon[b-1ygwavh298]{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#eaf0ff;color:#4563dd;font-size:21px}.card-icon.purple[b-1ygwavh298]{background:#f2ecff;color:#7b5cdb}.fields[b-1ygwavh298]{display:grid;gap:17px;padding-top:19px}.two-columns[b-1ygwavh298]{grid-template-columns:1fr 1fr}.fields label[b-1ygwavh298],.similarity[b-1ygwavh298]{display:grid;gap:7px;font-size:12px;font-weight:700}.fields label>span[b-1ygwavh298],.similarity>span[b-1ygwavh298]{color:#3d4c65}.fields small[b-1ygwavh298],.similarity small[b-1ygwavh298]{color:#8793a8;font-size:10px;font-weight:400}.fields input[b-1ygwavh298],.fields select[b-1ygwavh298],.similarity input[b-1ygwavh298]{box-sizing:border-box;width:100%;height:40px;padding:0 11px;background:#fbfcff;border:1px solid #d9e1ef;border-radius:9px;color:#23324b;outline:none}.fields input:focus[b-1ygwavh298],.fields select:focus[b-1ygwavh298],.similarity input:focus[b-1ygwavh298]{border-color:#5773e7;box-shadow:0 0 0 3px #edf1ff}.unit-input[b-1ygwavh298]{position:relative}.unit-input input[b-1ygwavh298]{padding-left:43px}.unit-input em[b-1ygwavh298]{position:absolute;left:11px;top:12px;color:#7e8aa0;font-size:11px;font-style:normal}.toggle-list[b-1ygwavh298]{padding:14px 0 8px}.toggle-row[b-1ygwavh298]{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;cursor:pointer}.toggle-row span[b-1ygwavh298]{display:grid;gap:4px}.toggle-row strong[b-1ygwavh298]{font-size:13px}.toggle-row small[b-1ygwavh298]{color:#7c899f;font-size:11px;line-height:1.45}.toggle-row input[b-1ygwavh298]{position:absolute;opacity:0}.toggle-row i[b-1ygwavh298]{position:relative;display:block;width:42px;height:23px;background:#cbd4e2;border-radius:100px;transition:.2s;flex:none}.toggle-row i[b-1ygwavh298]:after{content:"";position:absolute;width:17px;height:17px;border-radius:50%;background:#fff;top:3px;right:3px;box-shadow:0 1px 3px #889}.toggle-row input:checked+i[b-1ygwavh298]{background:#4867e7}.toggle-row input:checked+i[b-1ygwavh298]:after{right:22px}.similarity[b-1ygwavh298]{padding-top:13px;border-top:1px solid #edf1f7}.similarity>div[b-1ygwavh298]{display:flex;align-items:center;gap:9px}.similarity b[b-1ygwavh298]{min-width:47px;padding:10px 6px;border-radius:8px;background:#eef2ff;color:#4965dd;text-align:center;font-size:12px}.maintenance-card[b-1ygwavh298]{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:18px;background:#fffaf3;border-color:#f3dfbd}.maintenance-card>div[b-1ygwavh298]{display:flex;align-items:center;gap:13px}.warning-icon[b-1ygwavh298]{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff0d6;color:#ba7414;font-weight:900;font-size:20px}.maintenance-toggle[b-1ygwavh298]{min-width:130px;padding:0}.form-footer[b-1ygwavh298]{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.form-footer p[b-1ygwavh298]{color:#8190a7;font-size:12px}.form-footer button[b-1ygwavh298]{border:0;border-radius:10px;background:#3156db;color:#fff;padding:12px 18px;font-weight:700;box-shadow:0 8px 18px rgba(49,86,219,.2);cursor:pointer}.form-footer button span[b-1ygwavh298]{font-size:16px;margin-left:5px}.notice[b-1ygwavh298],.error[b-1ygwavh298],.loading-state[b-1ygwavh298]{padding:13px 15px;border-radius:11px;margin-bottom:16px}.notice[b-1ygwavh298]{background:#eaf8ef;color:#176e40}.error[b-1ygwavh298]{background:#fff0f1;color:#b83442}.loading-state[b-1ygwavh298]{background:#fff;color:#73819a;border:1px solid #e2e8f3}@media(max-width:850px){.setting-cards[b-1ygwavh298]{grid-template-columns:1fr}.page-header[b-1ygwavh298]{align-items:flex-start;flex-direction:column}.two-columns[b-1ygwavh298]{grid-template-columns:1fr}}@media(max-width:560px){.admin-system-settings[b-1ygwavh298]{padding:22px 16px}.maintenance-card[b-1ygwavh298],.form-footer[b-1ygwavh298]{align-items:flex-start;flex-direction:column}.maintenance-toggle[b-1ygwavh298]{width:100%}}
/* _content/AITranslationPlatform.Web/Components/Admin/Settings/AdminWorkQueues.razor.rz.scp.css */
.admin-work-queues[b-owsppko8ik] { max-width: 1260px; margin: 0 auto; padding: 34px 30px 48px; color: #1a2740; }

.page-header[b-owsppko8ik] { margin-bottom: 26px; }
.eyebrow[b-owsppko8ik] { display: block; color: #506de5; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.page-header h1[b-owsppko8ik] { margin: 8px 0 10px; font-size: 30px; }
.page-header p[b-owsppko8ik] { margin: 0; max-width: 900px; color: #73819a; line-height: 1.8; }

.setting-cards[b-owsppko8ik] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.setting-card[b-owsppko8ik] { min-width: 0; padding: 20px 22px; background: #fff; border: 1px solid #e2e8f3; border-radius: 16px; box-shadow: 0 8px 25px rgba(37, 55, 94, .05); }
.setting-card.wide[b-owsppko8ik] { grid-column: 1 / -1; }
.card-heading[b-owsppko8ik] { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #edf1f7; }
.card-heading h2[b-owsppko8ik] { font-size: 17px; margin: 0 0 5px; }
.card-heading p[b-owsppko8ik] { margin: 0; color: #74829a; font-size: 12px; line-height: 1.7; }
.card-icon[b-owsppko8ik] { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #eaf0ff; color: #4563dd; font-size: 15px; font-weight: 800; }
.card-icon.purple[b-owsppko8ik] { background: #f2ecff; color: #7b5cdb; }
.card-icon.teal[b-owsppko8ik] { background: #e6f6f3; color: #1d8a78; font-size: 20px; }

.fields[b-owsppko8ik] { display: grid; gap: 17px; padding-top: 19px; }
.fields label[b-owsppko8ik] { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.fields label > span[b-owsppko8ik] { color: #3d4c65; }
.fields small[b-owsppko8ik] { color: #8793a8; font-size: 11px; font-weight: 400; line-height: 1.7; }
.fields input[b-owsppko8ik] { box-sizing: border-box; width: 100%; max-width: 160px; height: 40px; padding: 0 11px; background: #fbfcff; border: 1px solid #d9e1ef; border-radius: 9px; color: inherit; font: inherit; font-size: 14px; outline: 0; }
.fields input:focus[b-owsppko8ik] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }
.server-fields[b-owsppko8ik] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 22px; }

.form-footer[b-owsppko8ik] { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 20px; }
.form-footer p[b-owsppko8ik] { color: #8190a7; font-size: 12px; line-height: 1.8; margin: 0; }
.form-footer a[b-owsppko8ik] { color: #3156db; }
.form-footer button[b-owsppko8ik] { flex: none; border: 0; border-radius: 10px; background: #3156db; color: #fff; padding: 12px 18px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 8px 18px rgba(49, 86, 219, .22); }
.form-footer button span[b-owsppko8ik] { font-size: 16px; margin-inline-end: 5px; }

.notice[b-owsppko8ik], .error[b-owsppko8ik], .loading-state[b-owsppko8ik] { padding: 13px 15px; border-radius: 11px; margin-bottom: 16px; }
.notice[b-owsppko8ik] { background: #eaf8ef; color: #176e40; }
.notice small[b-owsppko8ik] { margin-inline-start: 6px; opacity: .7; }
.error[b-owsppko8ik] { background: #fff0f1; color: #b83442; line-height: 1.8; }
.loading-state[b-owsppko8ik] { background: #fff; color: #73819a; border: 1px solid #e2e8f3; }

@media (max-width: 850px) {
    .setting-cards[b-owsppko8ik], .server-fields[b-owsppko8ik] { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
    .admin-work-queues[b-owsppko8ik] { padding: 22px 16px; }
    .form-footer[b-owsppko8ik] { align-items: stretch; flex-direction: column; }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Settings/LiveRow.razor.rz.scp.css */
.live-row[b-3k0sd126ct] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; }
.live-row div[b-3k0sd126ct] { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 9px 12px; border-radius: 10px; background: #f6f8fc; }
.live-row dt[b-3k0sd126ct] { color: #5d6b84; font-size: 11px; }
.live-row dd[b-3k0sd126ct] { margin: 0; color: #23324b; font-size: 15px; font-weight: 800; }
.live-row .is-waiting[b-3k0sd126ct] { background: #fff4e5; }
.live-row .is-waiting dt[b-3k0sd126ct], .live-row .is-waiting dd[b-3k0sd126ct] { color: #9a5d0a; }

@media (max-width: 420px) {
    .live-row[b-3k0sd126ct] { grid-template-columns: 1fr; }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Sms/AdminSmsSettings.razor.rz.scp.css */
.admin-sms[b-r2vmykulwo] {
    max-width: 1260px;
    margin: 0 auto;
    padding: 34px 30px 48px;
    color: #1a2740;
}

.page-header[b-r2vmykulwo] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 26px;
}

.eyebrow[b-r2vmykulwo] {
    display: block;
    color: #506de5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.page-header h1[b-r2vmykulwo] {
    margin: 8px 0 10px;
    font-size: 30px;
}

.page-header p[b-r2vmykulwo] {
    margin: 0;
    color: #73819a;
    max-width: 70ch;
    line-height: 1.75;
}

.status-badge[b-r2vmykulwo] {
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.status-badge span[b-r2vmykulwo] {
    margin-inline-end: 6px;
}

.status-badge.is-live[b-r2vmykulwo] {
    border: 1px solid #cdebdc;
    background: #f0fbf5;
    color: #19774b;
}

.status-badge.is-off[b-r2vmykulwo] {
    border: 1px solid #e6dcc4;
    background: #fffaf3;
    color: #92651a;
}

.reason-card[b-r2vmykulwo] {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    background: #fffaf3;
    border: 1px solid #f3dfbd;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 18px;
}

.reason-icon[b-r2vmykulwo] {
    display: grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #fff0d6;
    color: #ba7414;
    font-weight: 900;
}

.reason-card strong[b-r2vmykulwo] {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

.reason-card p[b-r2vmykulwo] {
    margin: 0;
    color: #7d6b4c;
    font-size: 12px;
    line-height: 1.7;
}

.setting-cards[b-r2vmykulwo] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.setting-card[b-r2vmykulwo],
.audit-card[b-r2vmykulwo],
.test-card[b-r2vmykulwo] {
    background: #fff;
    border: 1px solid #e2e8f3;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(37,55,94,.045);
    padding: 22px;
}

.card-heading[b-r2vmykulwo] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf1f7;
}

.card-heading h2[b-r2vmykulwo] {
    font-size: 17px;
    margin: 0 0 5px;
}

.card-heading p[b-r2vmykulwo] {
    margin: 0;
    color: #74829a;
    font-size: 12px;
    line-height: 1.7;
}

.card-icon[b-r2vmykulwo] {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #eaf0ff;
    color: #4563dd;
    font-size: 20px;
}

.card-icon.purple[b-r2vmykulwo] {
    background: #f2ecff;
    color: #7b5cdb;
}

.card-icon.green[b-r2vmykulwo] {
    background: #e9f8ef;
    color: #1f8a52;
}

.fields[b-r2vmykulwo] {
    display: grid;
    gap: 17px;
    padding-top: 19px;
}

.fields label[b-r2vmykulwo] {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
}

.fields label > span[b-r2vmykulwo] {
    color: #3d4c65;
}

.fields small[b-r2vmykulwo] {
    color: #8793a8;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.7;
}

/* where the new-user SMS goes, or why it cannot go anywhere yet */
.recipient-note[b-r2vmykulwo] {
    margin: 0;
    padding: 9px 12px;
    border-radius: 10px;
    background: #f7f9fd;
    color: #5d6b84;
    font-size: 11px;
    line-height: 1.8;
}

.recipient-note bdi[b-r2vmykulwo] {
    font-weight: 700;
    color: #3d4c65;
}

.recipient-note.missing[b-r2vmykulwo] {
    background: #fff4e5;
    color: #9a5d0a;
}

.fields input[b-r2vmykulwo],
.fields select[b-r2vmykulwo],
.fields textarea[b-r2vmykulwo] {
    box-sizing: border-box;
    width: 100%;
    padding: 0 11px;
    background: #fbfcff;
    border: 1px solid #d9e1ef;
    border-radius: 9px;
    color: #23324b;
    font: inherit;
    font-weight: 400;
    outline: none;
}

.fields input[b-r2vmykulwo],
.fields select[b-r2vmykulwo] {
    height: 40px;
}

.fields textarea[b-r2vmykulwo] {
    padding: 11px;
    line-height: 1.7;
    resize: vertical;
}

.fields input:focus[b-r2vmykulwo],
.fields select:focus[b-r2vmykulwo],
.fields textarea:focus[b-r2vmykulwo] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px #edf1ff;
}

.provider-row[b-r2vmykulwo] {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: baseline;
    gap: 4px 10px;
    font-size: 12px;
    font-weight: 700;
}

.provider-row > span[b-r2vmykulwo] {
    color: #3d4c65;
}

.provider-row b[b-r2vmykulwo] {
    padding: 3px 10px;
    border-radius: 100px;
    background: #eef2ff;
    color: #4965dd;
    font-size: 12px;
}

.provider-row small[b-r2vmykulwo] {
    grid-column: 1 / -1;
    color: #8793a8;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.7;
}

.api-key b.installed[b-r2vmykulwo] {
    display: inline-block;
    margin-inline-start: 8px;
    padding: 2px 8px;
    border-radius: 100px;
    background: #eef2ff;
    color: #4965dd;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
}

.mode-block[b-r2vmykulwo] {
    display: grid;
    gap: 15px;
    padding: 16px;
    border: 1px dashed #dde4f1;
    border-radius: 12px;
    background: #fbfcff;
}

.mode-block h3[b-r2vmykulwo] {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    color: #4c5b74;
    letter-spacing: .02em;
}

.toggle-row[b-r2vmykulwo] {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    cursor: pointer;
}

.toggle-row > span[b-r2vmykulwo] {
    display: grid;
    gap: 4px;
}

.toggle-row strong[b-r2vmykulwo] {
    font-size: 13px;
}

.toggle-row small[b-r2vmykulwo] {
    color: #7c899f;
    font-size: 11px;
    line-height: 1.5;
}

.toggle-row input[b-r2vmykulwo] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-row i[b-r2vmykulwo] {
    position: relative;
    display: block;
    flex: none;
    width: 42px;
    height: 23px;
    background: #cbd4e2;
    border-radius: 100px;
    transition: .2s;
}

.toggle-row i[b-r2vmykulwo]:after {
    content: "";
    position: absolute;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    top: 3px;
    inset-inline-start: 3px;
    box-shadow: 0 1px 3px #889;
    transition: .2s;
}

.toggle-row input:checked + i[b-r2vmykulwo] {
    background: #4867e7;
}

.toggle-row input:checked + i[b-r2vmykulwo]:after {
    inset-inline-start: 22px;
}

.toggle-row.danger input:checked + i[b-r2vmykulwo] {
    background: #d9534f;
}

.audit-card[b-r2vmykulwo] {
    margin-top: 18px;
}

.audit-card label[b-r2vmykulwo] {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: #3d4c65;
}

.audit-card input[b-r2vmykulwo] {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    padding: 0 11px;
    background: #fbfcff;
    border: 1px solid #d9e1ef;
    border-radius: 9px;
    color: #23324b;
    font: inherit;
    font-weight: 400;
    outline: none;
}

.audit-card input:focus[b-r2vmykulwo] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px #edf1ff;
}

.form-footer[b-r2vmykulwo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.form-footer p[b-r2vmykulwo] {
    margin: 0;
    color: #8190a7;
    font-size: 12px;
    line-height: 1.7;
}

.form-footer button[b-r2vmykulwo] {
    flex: none;
    border: 0;
    border-radius: 10px;
    background: #3156db;
    color: #fff;
    padding: 12px 18px;
    font: inherit;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(49,86,219,.2);
    cursor: pointer;
}

.form-footer button span[b-r2vmykulwo] {
    font-size: 16px;
    margin-inline-end: 5px;
}

.test-card[b-r2vmykulwo] {
    margin-top: 18px;
}

.test-form[b-r2vmykulwo] {
    display: flex;
    gap: 10px;
    padding-top: 19px;
}

.test-form input[b-r2vmykulwo] {
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    background: #fbfcff;
    border: 1px solid #d9e1ef;
    border-radius: 9px;
    color: #23324b;
    font: inherit;
    outline: none;
    direction: ltr;
    text-align: start;
}

.test-form input:focus[b-r2vmykulwo] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px #edf1ff;
}

.test-form button[b-r2vmykulwo] {
    flex: none;
    border: 0;
    border-radius: 10px;
    background: #1f8a52;
    color: #fff;
    padding: 0 18px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.last-run[b-r2vmykulwo] {
    margin: 14px 0 0;
    font-size: 11.5px;
    line-height: 1.7;
}

.last-run.ok[b-r2vmykulwo] {
    color: #19774b;
}

.last-run.bad[b-r2vmykulwo] {
    color: #b83442;
}

.last-run span[b-r2vmykulwo] {
    color: #8793a8;
}

.notice[b-r2vmykulwo],
.error[b-r2vmykulwo],
.loading-state[b-r2vmykulwo] {
    padding: 13px 15px;
    border-radius: 11px;
    margin-bottom: 16px;
    line-height: 1.7;
}

.notice small[b-r2vmykulwo],
.error small[b-r2vmykulwo] {
    display: block;
    margin-top: 5px;
    opacity: .8;
    font-size: 11px;
}

.notice[b-r2vmykulwo] {
    background: #eaf8ef;
    color: #176e40;
}

.error[b-r2vmykulwo] {
    background: #fff0f1;
    color: #b83442;
}

.loading-state[b-r2vmykulwo] {
    background: #fff;
    color: #73819a;
    border: 1px solid #e2e8f3;
}


/* =====================================================
   DARK
   ===================================================== */

[data-theme="dark"] .admin-sms[b-r2vmykulwo] {
    color: #dbe3f2;
}

[data-theme="dark"] .page-header p[b-r2vmykulwo],
[data-theme="dark"] .card-heading p[b-r2vmykulwo],
[data-theme="dark"] .fields small[b-r2vmykulwo],
[data-theme="dark"] .form-footer p[b-r2vmykulwo],
[data-theme="dark"] .toggle-row small[b-r2vmykulwo],
[data-theme="dark"] .last-run span[b-r2vmykulwo] {
    color: #8b98b1;
}

[data-theme="dark"] .setting-card[b-r2vmykulwo],
[data-theme="dark"] .audit-card[b-r2vmykulwo],
[data-theme="dark"] .test-card[b-r2vmykulwo],
[data-theme="dark"] .loading-state[b-r2vmykulwo] {
    background: #161d2c;
    border-color: #26314a;
    box-shadow: none;
}

[data-theme="dark"] .card-heading[b-r2vmykulwo] {
    border-bottom-color: #26314a;
}

[data-theme="dark"] .fields label > span[b-r2vmykulwo],
[data-theme="dark"] .audit-card label[b-r2vmykulwo],
[data-theme="dark"] .mode-block h3[b-r2vmykulwo] {
    color: #b6c2d8;
}

[data-theme="dark"] .fields input[b-r2vmykulwo],
[data-theme="dark"] .fields select[b-r2vmykulwo],
[data-theme="dark"] .fields textarea[b-r2vmykulwo],
[data-theme="dark"] .audit-card input[b-r2vmykulwo],
[data-theme="dark"] .test-form input[b-r2vmykulwo] {
    background: #101623;
    border-color: #2b3752;
    color: #e4ebf8;
}

[data-theme="dark"] .recipient-note[b-r2vmykulwo] {
    background: #101623;
    color: #8b98b1;
}

[data-theme="dark"] .recipient-note bdi[b-r2vmykulwo] {
    color: #e4ebf8;
}

[data-theme="dark"] .recipient-note.missing[b-r2vmykulwo] {
    background: #3a2c12;
    color: #e2b563;
}

[data-theme="dark"] .fields input:focus[b-r2vmykulwo],
[data-theme="dark"] .fields select:focus[b-r2vmykulwo],
[data-theme="dark"] .fields textarea:focus[b-r2vmykulwo],
[data-theme="dark"] .audit-card input:focus[b-r2vmykulwo],
[data-theme="dark"] .test-form input:focus[b-r2vmykulwo] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px rgba(87,115,231,.18);
}

[data-theme="dark"] .mode-block[b-r2vmykulwo] {
    background: #121926;
    border-color: #2b3752;
}

[data-theme="dark"] .toggle-row i[b-r2vmykulwo] {
    background: #38455f;
}

[data-theme="dark"] .status-badge.is-live[b-r2vmykulwo] {
    background: #10281c;
    border-color: #1f5138;
    color: #5fd598;
}

[data-theme="dark"] .status-badge.is-off[b-r2vmykulwo],
[data-theme="dark"] .reason-card[b-r2vmykulwo] {
    background: #241c0f;
    border-color: #4c3a18;
    color: #e2b563;
}

[data-theme="dark"] .reason-card p[b-r2vmykulwo] {
    color: #c2a273;
}

[data-theme="dark"] .reason-icon[b-r2vmykulwo] {
    background: #3a2c12;
    color: #e2b563;
}

[data-theme="dark"] .card-icon[b-r2vmykulwo] {
    background: #1b2540;
    color: #7d97f5;
}

[data-theme="dark"] .card-icon.purple[b-r2vmykulwo] {
    background: #241c3d;
    color: #a58bf0;
}

[data-theme="dark"] .card-icon.green[b-r2vmykulwo] {
    background: #10281c;
    color: #5fd598;
}

[data-theme="dark"] .api-key b.installed[b-r2vmykulwo],
[data-theme="dark"] .provider-row b[b-r2vmykulwo] {
    background: #1b2540;
    color: #7d97f5;
}

[data-theme="dark"] .provider-row > span[b-r2vmykulwo] {
    color: #b6c2d8;
}

[data-theme="dark"] .provider-row small[b-r2vmykulwo] {
    color: #8b98b1;
}

[data-theme="dark"] .notice[b-r2vmykulwo] {
    background: #10281c;
    color: #5fd598;
}

[data-theme="dark"] .error[b-r2vmykulwo] {
    background: #2a1418;
    color: #f08a95;
}

[data-theme="dark"] .last-run.ok[b-r2vmykulwo] {
    color: #5fd598;
}

[data-theme="dark"] .last-run.bad[b-r2vmykulwo] {
    color: #f08a95;
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 850px) {
    .setting-cards[b-r2vmykulwo] {
        grid-template-columns: 1fr;
    }

    .page-header[b-r2vmykulwo] {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .admin-sms[b-r2vmykulwo] {
        padding: 22px 16px;
    }

    .form-footer[b-r2vmykulwo],
    .test-form[b-r2vmykulwo] {
        flex-direction: column;
        align-items: stretch;
    }

    .test-form button[b-r2vmykulwo] {
        height: 42px;
    }
}

/* =====================================================
   DELIVERY DIAGNOSTICS
   ===================================================== */

.diagnostics-form[b-r2vmykulwo] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #edf1f7;
}

.diagnostics-form button[b-r2vmykulwo] {
    flex: none;
    border: 1px solid #d8dcfb;
    border-radius: 10px;
    background: #f6f7ff;
    color: #4a63d8;
    padding: 10px 15px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.diagnostics-form button:hover[b-r2vmykulwo] {
    background: #eef1ff;
}

.diagnostics-form small[b-r2vmykulwo] {
    color: #8793a8;
    font-size: 11px;
}

.diagnostics-result[b-r2vmykulwo] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid #e2e8f3;
    border-radius: 12px;
    background: #fbfcff;
}

.diagnostics-result > div[b-r2vmykulwo] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.diagnostics-result span[b-r2vmykulwo] {
    color: #8793a8;
    font-size: 10.5px;
    font-weight: 700;
}

.diagnostics-result strong[b-r2vmykulwo] {
    font-size: 13px;
    color: #26304a;
}

.diagnostics-result strong.ok[b-r2vmykulwo] {
    color: #19774b;
}

.diagnostics-result strong.bad[b-r2vmykulwo] {
    color: #b83442;
}

.diagnostics-result em[b-r2vmykulwo],
.diagnostics-note[b-r2vmykulwo] {
    font-style: normal;
    font-size: 10.5px;
    color: #8793a8;
    line-height: 1.7;
}

.diagnostics-hint[b-r2vmykulwo] {
    margin: 12px 0 0;
    padding: 12px 14px;
    border: 1px solid #f3dfbd;
    border-radius: 11px;
    background: #fffaf3;
    color: #7d6b4c;
    font-size: 11.5px;
    line-height: 1.8;
}

[data-theme="dark"] .diagnostics-form[b-r2vmykulwo] {
    border-top-color: #26314a;
}

[data-theme="dark"] .diagnostics-form button[b-r2vmykulwo] {
    background: #161c2e;
    border-color: #2c3556;
    color: #8ba3f7;
}

[data-theme="dark"] .diagnostics-result[b-r2vmykulwo] {
    background: #121926;
    border-color: #26314a;
}

[data-theme="dark"] .diagnostics-result strong[b-r2vmykulwo] {
    color: #dfe6f6;
}

[data-theme="dark"] .diagnostics-result strong.ok[b-r2vmykulwo] {
    color: #5fd598;
}

[data-theme="dark"] .diagnostics-result strong.bad[b-r2vmykulwo] {
    color: #f08a95;
}

[data-theme="dark"] .diagnostics-result span[b-r2vmykulwo],
[data-theme="dark"] .diagnostics-result em[b-r2vmykulwo],
[data-theme="dark"] .diagnostics-note[b-r2vmykulwo],
[data-theme="dark"] .diagnostics-form small[b-r2vmykulwo] {
    color: #8b98b1;
}

[data-theme="dark"] .diagnostics-hint[b-r2vmykulwo] {
    background: #241c0f;
    border-color: #4c3a18;
    color: #c2a273;
}

@media (max-width: 620px) {
    .diagnostics-result[b-r2vmykulwo] {
        grid-template-columns: 1fr;
    }

    .diagnostics-form[b-r2vmykulwo] {
        flex-direction: column;
        align-items: stretch;
    }
}

/* =====================================================
   FINISH-REGISTRATION SMS
   ===================================================== */

.reminder-card[b-r2vmykulwo] {
    margin-top: 18px;
    background: #fff;
    border: 1px solid #e2e8f3;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(37,55,94,.045);
    padding: 22px;
}

.reminder-card .notice[b-r2vmykulwo],
.reminder-card .error[b-r2vmykulwo],
.reminder-card .recipient-note[b-r2vmykulwo] {
    margin: 18px 0 0;
}

.reminder-toolbar[b-r2vmykulwo] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-top: 19px;
}

.reminder-toolbar label[b-r2vmykulwo] {
    display: grid;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: #34445f;
}

.reminder-toolbar input[b-r2vmykulwo] {
    box-sizing: border-box;
    width: 170px;
    height: 40px;
    padding: 0 12px;
    background: #fbfcff;
    border: 1px solid #d9e1ef;
    border-radius: 9px;
    color: #23324b;
    font: inherit;
    font-weight: 400;
    outline: none;
    direction: ltr;
}

.reminder-toolbar input:focus[b-r2vmykulwo] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px #edf1ff;
}

.reminder-toolbar p[b-r2vmykulwo],
.reminder-empty[b-r2vmykulwo] {
    margin: 0;
    color: #74829a;
    font-size: 12px;
    line-height: 1.7;
}

.reminder-empty[b-r2vmykulwo] {
    margin-top: 16px;
    padding: 14px;
    border-radius: 11px;
    background: #f6f8fc;
    text-align: center;
}

.reminder-table-wrap[b-r2vmykulwo] {
    margin-top: 16px;
    max-height: 460px;
    overflow: auto;
    border: 1px solid #e6ebf4;
    border-radius: 12px;
}

.reminder-table[b-r2vmykulwo] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.reminder-table th[b-r2vmykulwo],
.reminder-table td[b-r2vmykulwo] {
    padding: 10px 12px;
    border-bottom: 1px solid #edf1f7;
    text-align: start;
    vertical-align: middle;
    white-space: nowrap;
}

.reminder-table th[b-r2vmykulwo] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f6f8fc;
    color: #5d6c86;
    font-weight: 700;
    font-size: 11.5px;
}

.reminder-table th:first-child[b-r2vmykulwo],
.reminder-table td:first-child[b-r2vmykulwo] {
    width: 34px;
}

.reminder-table tbody tr:last-child td[b-r2vmykulwo] {
    border-bottom: 0;
}

.reminder-table tr.is-done td[b-r2vmykulwo] {
    background: #fafbfd;
}

.reminder-table input[type="checkbox"][b-r2vmykulwo] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #3156db;
    cursor: pointer;
}

.reminder-table .muted[b-r2vmykulwo] {
    color: #97a3b8;
}

.reminder-status[b-r2vmykulwo] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    margin-inline-end: 6px;
}

.reminder-status.ok[b-r2vmykulwo] {
    background: #e9f8ef;
    color: #1f8a52;
}

.reminder-status.wait[b-r2vmykulwo] {
    background: #fff5e0;
    color: #a26a06;
}

.reminder-status.bad[b-r2vmykulwo] {
    background: #fff0f1;
    color: #b83442;
}

.reminder-when[b-r2vmykulwo] {
    color: #5d6c86;
    margin-inline-end: 4px;
}

.reminder-error[b-r2vmykulwo] {
    display: block;
    margin-top: 4px;
    color: #b83442;
    font-size: 11px;
    white-space: normal;
}

.reminder-numbers[b-r2vmykulwo] {
    display: grid;
    gap: 7px;
    margin-top: 18px;
    font-size: 12.5px;
    font-weight: 700;
    color: #34445f;
}

.reminder-numbers textarea[b-r2vmykulwo] {
    box-sizing: border-box;
    width: 100%;
    min-height: 74px;
    padding: 10px 12px;
    background: #fbfcff;
    border: 1px solid #d9e1ef;
    border-radius: 9px;
    color: #23324b;
    font: inherit;
    font-weight: 400;
    line-height: 1.7;
    outline: none;
    resize: vertical;
    text-align: left;
}

.reminder-numbers textarea:focus[b-r2vmykulwo] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px #edf1ff;
}

.reminder-numbers small[b-r2vmykulwo] {
    color: #8190a7;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.7;
}

[data-theme="dark"] .reminder-numbers[b-r2vmykulwo] {
    color: #b6c2d8;
}

[data-theme="dark"] .reminder-numbers textarea[b-r2vmykulwo] {
    background: #101623;
    border-color: #2b3752;
    color: #e4ebf8;
}

[data-theme="dark"] .reminder-numbers small[b-r2vmykulwo] {
    color: #8b98b1;
}

.reminder-form .form-footer button:disabled[b-r2vmykulwo] {
    opacity: .45;
    box-shadow: none;
    cursor: not-allowed;
}

[data-theme="dark"] .reminder-card[b-r2vmykulwo] {
    background: #161d2c;
    border-color: #26314a;
    box-shadow: none;
}

[data-theme="dark"] .reminder-toolbar label[b-r2vmykulwo] {
    color: #b6c2d8;
}

[data-theme="dark"] .reminder-toolbar input[b-r2vmykulwo] {
    background: #101623;
    border-color: #2b3752;
    color: #e4ebf8;
}

[data-theme="dark"] .reminder-toolbar p[b-r2vmykulwo] {
    color: #8b98b1;
}

[data-theme="dark"] .reminder-empty[b-r2vmykulwo] {
    background: #101623;
    color: #8b98b1;
}

[data-theme="dark"] .reminder-table-wrap[b-r2vmykulwo] {
    border-color: #26314a;
}

[data-theme="dark"] .reminder-table th[b-r2vmykulwo] {
    background: #121926;
    color: #8b98b1;
}

[data-theme="dark"] .reminder-table th[b-r2vmykulwo],
[data-theme="dark"] .reminder-table td[b-r2vmykulwo] {
    border-bottom-color: #222c42;
}

[data-theme="dark"] .reminder-table tr.is-done td[b-r2vmykulwo] {
    background: #131a28;
}

[data-theme="dark"] .reminder-table .muted[b-r2vmykulwo],
[data-theme="dark"] .reminder-when[b-r2vmykulwo] {
    color: #75829b;
}

[data-theme="dark"] .reminder-status.ok[b-r2vmykulwo] {
    background: #10281c;
    color: #5fd598;
}

[data-theme="dark"] .reminder-status.wait[b-r2vmykulwo] {
    background: #2e2410;
    color: #e2b563;
}

[data-theme="dark"] .reminder-status.bad[b-r2vmykulwo] {
    background: #2a1418;
    color: #f08a95;
}

[data-theme="dark"] .reminder-error[b-r2vmykulwo] {
    color: #f08a95;
}

@media (max-width: 560px) {
    .reminder-card[b-r2vmykulwo] {
        padding: 18px 14px;
    }

    .reminder-toolbar[b-r2vmykulwo] {
        flex-direction: column;
        align-items: stretch;
    }

    .reminder-toolbar input[b-r2vmykulwo] {
        width: 100%;
    }
}

/* =====================================================
   CUSTOM SMS (#custom-sms)
   Reuses the finish-registration card; only what differs.
   ===================================================== */

.reminder-numbers input[b-r2vmykulwo] {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    background: #fbfcff;
    border: 1px solid #d9e1ef;
    border-radius: 9px;
    color: #23324b;
    font: inherit;
    font-weight: 400;
    outline: none;
}

.reminder-numbers input:focus[b-r2vmykulwo] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px #edf1ff;
}

.custom-sms-form .reminder-numbers textarea[dir="auto"][b-r2vmykulwo] {
    text-align: start;
}

.custom-sms-recent[b-r2vmykulwo] {
    margin: 22px 0 0;
    color: #34445f;
    font-size: 13.5px;
}

.reminder-table td.custom-sms-text[b-r2vmykulwo] {
    min-width: 220px;
    max-width: 420px;
    white-space: normal;
    line-height: 1.7;
}

[data-theme="dark"] .reminder-numbers input[b-r2vmykulwo] {
    background: #101623;
    border-color: #2b3752;
    color: #e4ebf8;
}

[data-theme="dark"] .custom-sms-recent[b-r2vmykulwo] {
    color: #b6c2d8;
}
/* _content/AITranslationPlatform.Web/Components/Admin/Social/AdminSocialStudio.razor.rz.scp.css */
.admin-social[b-kxil4b4thu] { max-width: 1260px; margin: 0 auto; padding: 34px 30px 48px; color: #1a2740; }

.page-header[b-kxil4b4thu] { margin-bottom: 22px; }
.eyebrow[b-kxil4b4thu] { display: block; color: #506de5; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.page-header h1[b-kxil4b4thu] { margin: 8px 0 10px; font-size: 30px; }
.page-header p[b-kxil4b4thu] { margin: 0; max-width: 900px; color: #73819a; line-height: 1.8; }

.notice[b-kxil4b4thu], .error[b-kxil4b4thu], .loading-state[b-kxil4b4thu] { padding: 13px 15px; border-radius: 11px; margin-bottom: 16px; }
.notice[b-kxil4b4thu] { background: #eaf8ef; color: #176e40; }
.notice small[b-kxil4b4thu] { margin-inline-start: 6px; opacity: .7; }
.error[b-kxil4b4thu] { background: #fff0f1; color: #b83442; }
.loading-state[b-kxil4b4thu] { background: #fff; color: #73819a; border: 1px solid #e2e8f3; }

.status-card[b-kxil4b4thu] { display: grid; gap: 16px; margin-bottom: 18px; padding: 18px 20px; border: 1px solid #e2e8f3; border-inline-start: 4px solid #c7cfdd; border-radius: 16px; background: #fff; }
.status-card.is-on[b-kxil4b4thu] { border-inline-start-color: #2a9d63; }
.status-card.is-off[b-kxil4b4thu] { border-inline-start-color: #d4a017; }
.status-card > div[b-kxil4b4thu] { display: grid; gap: 5px; }
.status-card strong[b-kxil4b4thu] { font-size: 16px; }
.status-card span[b-kxil4b4thu] { color: #5d6b84; font-size: 12px; line-height: 1.8; }

.stats[b-kxil4b4thu] { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.stats li[b-kxil4b4thu] { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid #edf1f7; border-radius: 10px; }
.stats span[b-kxil4b4thu] { color: #74829a; font-size: 11px; line-height: 1.5; }
.stats b[b-kxil4b4thu] { color: #23324b; font-size: 14px; }

.setting-card[b-kxil4b4thu] { padding: 20px 22px; border: 1px solid #e2e8f3; border-radius: 16px; background: #fff; box-shadow: 0 8px 25px rgba(37, 55, 94, .045); }
.setting-card h2[b-kxil4b4thu] { margin: 0 0 4px; font-size: 16px; }
.setting-cards[b-kxil4b4thu] { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.setting-card.wide[b-kxil4b4thu] { grid-column: 1 / -1; }
.note-card[b-kxil4b4thu] { margin-top: 18px; }
.note-card p[b-kxil4b4thu] { margin: 6px 0 0; color: #5d6b84; font-size: 12px; line-height: 1.9; }

.fields[b-kxil4b4thu] { display: grid; gap: 16px; padding-top: 14px; }
.fields.two[b-kxil4b4thu] { grid-template-columns: 1fr 1fr; }
.fields.is-five[b-kxil4b4thu] { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; }
.card-note[b-kxil4b4thu] { margin: 4px 0 0; color: #74829a; font-size: 12px; line-height: 1.8; }
.fields label[b-kxil4b4thu] { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.fields label > span[b-kxil4b4thu] { color: #3d4c65; }
.fields small[b-kxil4b4thu] { color: #8793a8; font-size: 11px; font-weight: 400; line-height: 1.7; }
.fields input:not([type="checkbox"])[b-kxil4b4thu], .fields select[b-kxil4b4thu] { box-sizing: border-box; width: 100%; height: 40px; padding: 0 11px; border: 1px solid #d9e1ef; border-radius: 9px; background: #fbfcff; color: #23324b; font: inherit; outline: none; }
.fields input:focus[b-kxil4b4thu], .fields select:focus[b-kxil4b4thu] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }
.fields input[dir="ltr"][b-kxil4b4thu] { text-align: left; }
.inline-check[b-kxil4b4thu] { display: inline-flex !important; align-items: center; gap: 7px; font-weight: 400 !important; }

.toggle-row[b-kxil4b4thu] { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 15px; cursor: pointer; }
.toggle-row span[b-kxil4b4thu] { display: grid; gap: 4px; }
.toggle-row strong[b-kxil4b4thu] { font-size: 14px; }
.toggle-row small[b-kxil4b4thu] { color: #7c899f; font-size: 11px; line-height: 1.6; }
.toggle-row input[type="checkbox"][b-kxil4b4thu] { position: absolute; opacity: 0; }
.toggle-row i[b-kxil4b4thu] { position: relative; display: block; flex: none; width: 42px; height: 23px; border-radius: 100px; background: #cbd4e2; transition: .2s; }
.toggle-row i[b-kxil4b4thu]::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #889; transition: .2s; }
.toggle-row input:checked + i[b-kxil4b4thu] { background: #4867e7; }
.toggle-row input:checked + i[b-kxil4b4thu]::after { inset-inline-start: 22px; }
.toggle-row input:focus-visible + i[b-kxil4b4thu] { box-shadow: 0 0 0 3px #edf1ff; }

.form-footer[b-kxil4b4thu] { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 18px; border: 1px solid #e2e8f3; border-radius: 14px; background: #fff; }
.form-footer span[b-kxil4b4thu] { color: #74829a; font-size: 12px; line-height: 1.7; }
.primary-button[b-kxil4b4thu] { flex: none; padding: 12px 22px; border: 0; border-radius: 10px; background: #3156db; color: #fff; font: inherit; font-weight: 700; box-shadow: 0 8px 18px rgba(49, 86, 219, .2); cursor: pointer; }

@media (max-width: 1250px) {
    .fields.is-five[b-kxil4b4thu] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .setting-cards[b-kxil4b4thu], .fields.two[b-kxil4b4thu] { grid-template-columns: 1fr; }
    .fields.is-five[b-kxil4b4thu] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats[b-kxil4b4thu] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .admin-social[b-kxil4b4thu] { padding: 22px 16px; }
    .form-footer[b-kxil4b4thu] { flex-direction: column; align-items: stretch; }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Speech/AdminSpeechSettings.razor.rz.scp.css */
.admin-tts[b-xmrp8msv3k] {
    max-width: 1260px;
    margin: 0 auto;
    padding: 34px 30px 48px;
    color: #1a2740;
}

.page-header[b-xmrp8msv3k] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 26px;
}

.eyebrow[b-xmrp8msv3k] {
    display: block;
    color: #506de5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.page-header h1[b-xmrp8msv3k] {
    margin: 8px 0 10px;
    font-size: 30px;
}

.page-header p[b-xmrp8msv3k] {
    margin: 0;
    color: #73819a;
    max-width: 70ch;
    line-height: 1.75;
}

.status-badge[b-xmrp8msv3k] {
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.status-badge span[b-xmrp8msv3k] {
    margin-inline-end: 6px;
}

.status-badge.is-live[b-xmrp8msv3k] {
    border: 1px solid #cdebdc;
    background: #f0fbf5;
    color: #19774b;
}

.status-badge.is-off[b-xmrp8msv3k] {
    border: 1px solid #e6dcc4;
    background: #fffaf3;
    color: #92651a;
}

.reason-card[b-xmrp8msv3k] {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    background: #fffaf3;
    border: 1px solid #f3dfbd;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 18px;
}

.reason-icon[b-xmrp8msv3k] {
    display: grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #fff0d6;
    color: #ba7414;
    font-weight: 900;
}

.reason-card strong[b-xmrp8msv3k] {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

.reason-card p[b-xmrp8msv3k] {
    margin: 0;
    color: #7d6b4c;
    font-size: 12px;
    line-height: 1.7;
}

.setting-cards[b-xmrp8msv3k] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.setting-card[b-xmrp8msv3k],
.audit-card[b-xmrp8msv3k],
.test-card[b-xmrp8msv3k] {
    background: #fff;
    border: 1px solid #e2e8f3;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(37,55,94,.045);
    padding: 22px;
}

.card-heading[b-xmrp8msv3k] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf1f7;
}

.card-heading h2[b-xmrp8msv3k] {
    font-size: 17px;
    margin: 0 0 5px;
}

.card-heading p[b-xmrp8msv3k] {
    margin: 0;
    color: #74829a;
    font-size: 12px;
    line-height: 1.7;
}

.card-icon[b-xmrp8msv3k] {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #eaf0ff;
    color: #4563dd;
    font-size: 20px;
}

.card-icon.purple[b-xmrp8msv3k] {
    background: #f2ecff;
    color: #7b5cdb;
}

.card-icon.green[b-xmrp8msv3k] {
    background: #e9f8ef;
    color: #1f8a52;
}

.fields[b-xmrp8msv3k] {
    display: grid;
    gap: 17px;
    padding-top: 19px;
}

.fields label[b-xmrp8msv3k] {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
}

.fields label > span[b-xmrp8msv3k] {
    color: #3d4c65;
}

.fields small[b-xmrp8msv3k] {
    color: #8793a8;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.7;
}

/* where the new-user SMS goes, or why it cannot go anywhere yet */
.recipient-note[b-xmrp8msv3k] {
    margin: 0;
    padding: 9px 12px;
    border-radius: 10px;
    background: #f7f9fd;
    color: #5d6b84;
    font-size: 11px;
    line-height: 1.8;
}

.recipient-note bdi[b-xmrp8msv3k] {
    font-weight: 700;
    color: #3d4c65;
}

.recipient-note.missing[b-xmrp8msv3k] {
    background: #fff4e5;
    color: #9a5d0a;
}

.fields input[b-xmrp8msv3k],
.fields select[b-xmrp8msv3k],
.fields textarea[b-xmrp8msv3k] {
    box-sizing: border-box;
    width: 100%;
    padding: 0 11px;
    background: #fbfcff;
    border: 1px solid #d9e1ef;
    border-radius: 9px;
    color: #23324b;
    font: inherit;
    font-weight: 400;
    outline: none;
}

.fields input[b-xmrp8msv3k],
.fields select[b-xmrp8msv3k] {
    height: 40px;
}

.fields textarea[b-xmrp8msv3k] {
    padding: 11px;
    line-height: 1.7;
    resize: vertical;
}

.fields input:focus[b-xmrp8msv3k],
.fields select:focus[b-xmrp8msv3k],
.fields textarea:focus[b-xmrp8msv3k] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px #edf1ff;
}

.provider-row[b-xmrp8msv3k] {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: baseline;
    gap: 4px 10px;
    font-size: 12px;
    font-weight: 700;
}

.provider-row > span[b-xmrp8msv3k] {
    color: #3d4c65;
}

.provider-row b[b-xmrp8msv3k] {
    padding: 3px 10px;
    border-radius: 100px;
    background: #eef2ff;
    color: #4965dd;
    font-size: 12px;
}

.provider-row small[b-xmrp8msv3k] {
    grid-column: 1 / -1;
    color: #8793a8;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.7;
}

.api-key b.installed[b-xmrp8msv3k] {
    display: inline-block;
    margin-inline-start: 8px;
    padding: 2px 8px;
    border-radius: 100px;
    background: #eef2ff;
    color: #4965dd;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
}

.mode-block[b-xmrp8msv3k] {
    display: grid;
    gap: 15px;
    padding: 16px;
    border: 1px dashed #dde4f1;
    border-radius: 12px;
    background: #fbfcff;
}

.mode-block h3[b-xmrp8msv3k] {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    color: #4c5b74;
    letter-spacing: .02em;
}

.toggle-row[b-xmrp8msv3k] {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    cursor: pointer;
}

.toggle-row > span[b-xmrp8msv3k] {
    display: grid;
    gap: 4px;
}

.toggle-row strong[b-xmrp8msv3k] {
    font-size: 13px;
}

.toggle-row small[b-xmrp8msv3k] {
    color: #7c899f;
    font-size: 11px;
    line-height: 1.5;
}

.toggle-row input[b-xmrp8msv3k] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-row i[b-xmrp8msv3k] {
    position: relative;
    display: block;
    flex: none;
    width: 42px;
    height: 23px;
    background: #cbd4e2;
    border-radius: 100px;
    transition: .2s;
}

.toggle-row i[b-xmrp8msv3k]:after {
    content: "";
    position: absolute;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    top: 3px;
    inset-inline-start: 3px;
    box-shadow: 0 1px 3px #889;
    transition: .2s;
}

.toggle-row input:checked + i[b-xmrp8msv3k] {
    background: #4867e7;
}

.toggle-row input:checked + i[b-xmrp8msv3k]:after {
    inset-inline-start: 22px;
}

.toggle-row.danger input:checked + i[b-xmrp8msv3k] {
    background: #d9534f;
}

.audit-card[b-xmrp8msv3k] {
    margin-top: 18px;
}

.audit-card label[b-xmrp8msv3k] {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: #3d4c65;
}

.audit-card input[b-xmrp8msv3k] {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    padding: 0 11px;
    background: #fbfcff;
    border: 1px solid #d9e1ef;
    border-radius: 9px;
    color: #23324b;
    font: inherit;
    font-weight: 400;
    outline: none;
}

.audit-card input:focus[b-xmrp8msv3k] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px #edf1ff;
}

.form-footer[b-xmrp8msv3k] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.form-footer p[b-xmrp8msv3k] {
    margin: 0;
    color: #8190a7;
    font-size: 12px;
    line-height: 1.7;
}

.form-footer button[b-xmrp8msv3k] {
    flex: none;
    border: 0;
    border-radius: 10px;
    background: #3156db;
    color: #fff;
    padding: 12px 18px;
    font: inherit;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(49,86,219,.2);
    cursor: pointer;
}

.form-footer button span[b-xmrp8msv3k] {
    font-size: 16px;
    margin-inline-end: 5px;
}

.test-card[b-xmrp8msv3k] {
    margin-top: 18px;
}

.test-form[b-xmrp8msv3k] {
    display: flex;
    gap: 10px;
    padding-top: 19px;
}

.test-form input[b-xmrp8msv3k] {
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    background: #fbfcff;
    border: 1px solid #d9e1ef;
    border-radius: 9px;
    color: #23324b;
    font: inherit;
    outline: none;
    direction: ltr;
    text-align: start;
}

.test-form input:focus[b-xmrp8msv3k] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px #edf1ff;
}

.test-form button[b-xmrp8msv3k] {
    flex: none;
    border: 0;
    border-radius: 10px;
    background: #1f8a52;
    color: #fff;
    padding: 0 18px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.last-run[b-xmrp8msv3k] {
    margin: 14px 0 0;
    font-size: 11.5px;
    line-height: 1.7;
}

.last-run.ok[b-xmrp8msv3k] {
    color: #19774b;
}

.last-run.bad[b-xmrp8msv3k] {
    color: #b83442;
}

.last-run span[b-xmrp8msv3k] {
    color: #8793a8;
}

.notice[b-xmrp8msv3k],
.error[b-xmrp8msv3k],
.loading-state[b-xmrp8msv3k] {
    padding: 13px 15px;
    border-radius: 11px;
    margin-bottom: 16px;
    line-height: 1.7;
}

.notice small[b-xmrp8msv3k],
.error small[b-xmrp8msv3k] {
    display: block;
    margin-top: 5px;
    opacity: .8;
    font-size: 11px;
}

.notice[b-xmrp8msv3k] {
    background: #eaf8ef;
    color: #176e40;
}

.error[b-xmrp8msv3k] {
    background: #fff0f1;
    color: #b83442;
}

.loading-state[b-xmrp8msv3k] {
    background: #fff;
    color: #73819a;
    border: 1px solid #e2e8f3;
}


/* =====================================================
   DARK
   ===================================================== */

[data-theme="dark"] .admin-tts[b-xmrp8msv3k] {
    color: #dbe3f2;
}

[data-theme="dark"] .page-header p[b-xmrp8msv3k],
[data-theme="dark"] .card-heading p[b-xmrp8msv3k],
[data-theme="dark"] .fields small[b-xmrp8msv3k],
[data-theme="dark"] .form-footer p[b-xmrp8msv3k],
[data-theme="dark"] .toggle-row small[b-xmrp8msv3k],
[data-theme="dark"] .last-run span[b-xmrp8msv3k] {
    color: #8b98b1;
}

[data-theme="dark"] .setting-card[b-xmrp8msv3k],
[data-theme="dark"] .audit-card[b-xmrp8msv3k],
[data-theme="dark"] .test-card[b-xmrp8msv3k],
[data-theme="dark"] .loading-state[b-xmrp8msv3k] {
    background: #161d2c;
    border-color: #26314a;
    box-shadow: none;
}

[data-theme="dark"] .card-heading[b-xmrp8msv3k] {
    border-bottom-color: #26314a;
}

[data-theme="dark"] .fields label > span[b-xmrp8msv3k],
[data-theme="dark"] .audit-card label[b-xmrp8msv3k],
[data-theme="dark"] .mode-block h3[b-xmrp8msv3k] {
    color: #b6c2d8;
}

[data-theme="dark"] .fields input[b-xmrp8msv3k],
[data-theme="dark"] .fields select[b-xmrp8msv3k],
[data-theme="dark"] .fields textarea[b-xmrp8msv3k],
[data-theme="dark"] .audit-card input[b-xmrp8msv3k],
[data-theme="dark"] .test-form input[b-xmrp8msv3k] {
    background: #101623;
    border-color: #2b3752;
    color: #e4ebf8;
}

[data-theme="dark"] .recipient-note[b-xmrp8msv3k] {
    background: #101623;
    color: #8b98b1;
}

[data-theme="dark"] .recipient-note bdi[b-xmrp8msv3k] {
    color: #e4ebf8;
}

[data-theme="dark"] .recipient-note.missing[b-xmrp8msv3k] {
    background: #3a2c12;
    color: #e2b563;
}

[data-theme="dark"] .fields input:focus[b-xmrp8msv3k],
[data-theme="dark"] .fields select:focus[b-xmrp8msv3k],
[data-theme="dark"] .fields textarea:focus[b-xmrp8msv3k],
[data-theme="dark"] .audit-card input:focus[b-xmrp8msv3k],
[data-theme="dark"] .test-form input:focus[b-xmrp8msv3k] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px rgba(87,115,231,.18);
}

[data-theme="dark"] .mode-block[b-xmrp8msv3k] {
    background: #121926;
    border-color: #2b3752;
}

[data-theme="dark"] .toggle-row i[b-xmrp8msv3k] {
    background: #38455f;
}

[data-theme="dark"] .status-badge.is-live[b-xmrp8msv3k] {
    background: #10281c;
    border-color: #1f5138;
    color: #5fd598;
}

[data-theme="dark"] .status-badge.is-off[b-xmrp8msv3k],
[data-theme="dark"] .reason-card[b-xmrp8msv3k] {
    background: #241c0f;
    border-color: #4c3a18;
    color: #e2b563;
}

[data-theme="dark"] .reason-card p[b-xmrp8msv3k] {
    color: #c2a273;
}

[data-theme="dark"] .reason-icon[b-xmrp8msv3k] {
    background: #3a2c12;
    color: #e2b563;
}



/* =====================================================
   TEXT TO SPEECH - page specific
   ===================================================== */

.setting-cards[b-xmrp8msv3k] {
    grid-template-columns: minmax(0, 1fr);
}

.admin-tts[b-xmrp8msv3k],
.setting-card[b-xmrp8msv3k],
.kpi-card[b-xmrp8msv3k],
.recent-card[b-xmrp8msv3k],
.main-form[b-xmrp8msv3k] {
    min-width: 0;
}

.admin-tts[b-xmrp8msv3k] {
    overflow-x: clip;
}

.notice small.warn[b-xmrp8msv3k] {
    color: #9a5d0a;
    font-weight: 700;
}

.api-key b.installed.bad[b-xmrp8msv3k] {
    background: #fff0f1;
    color: #b83442;
}

.field-row[b-xmrp8msv3k] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.card-heading p b[b-xmrp8msv3k] {
    display: block;
    margin-top: 4px;
    color: #4563dd;
    font-weight: 700;
}

.hint[b-xmrp8msv3k] {
    margin: 14px 0 0;
    padding: 11px 13px;
    border-radius: 10px;
    background: #f7f9fd;
    color: #66748d;
    font-size: 11.5px;
    line-height: 1.8;
}


/* ---------- KPIs ---------- */

.kpi-card[b-xmrp8msv3k],
.recent-card[b-xmrp8msv3k] {
    background: #fff;
    border: 1px solid #e2e8f3;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(37,55,94,.045);
    padding: 20px 22px;
    margin-bottom: 18px;
}

.kpi-head[b-xmrp8msv3k] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.kpi-head h2[b-xmrp8msv3k] {
    margin: 0 0 4px;
    font-size: 17px;
}

.kpi-head p[b-xmrp8msv3k] {
    margin: 0;
    color: #74829a;
    font-size: 12px;
}

.period[b-xmrp8msv3k] {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 11px;
    background: #f2f5fb;
}

.period a[b-xmrp8msv3k] {
    padding: 6px 12px;
    border-radius: 8px;
    color: #5d6b84;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.period a.on[b-xmrp8msv3k] {
    background: #fff;
    color: #3156db;
    box-shadow: 0 2px 8px rgba(37,55,94,.08);
}

.kpis[b-xmrp8msv3k] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.kpis > div[b-xmrp8msv3k] {
    display: grid;
    gap: 4px;
    align-content: start;
    padding: 13px 14px;
    border: 1px solid #edf1f7;
    border-radius: 12px;
    background: #fbfcff;
    min-width: 0;
}

.kpis span[b-xmrp8msv3k] {
    color: #74829a;
    font-size: 11px;
    font-weight: 700;
}

.kpis strong[b-xmrp8msv3k] {
    font-size: 19px;
    color: #1a2740;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.kpis em[b-xmrp8msv3k] {
    font-style: normal;
    color: #8793a8;
    font-size: 10.5px;
    line-height: 1.6;
}

.kpis .good strong[b-xmrp8msv3k] {
    color: #19774b;
}

.kpis .bad strong[b-xmrp8msv3k] {
    color: #b83442;
}

.by-model[b-xmrp8msv3k] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.by-model span[b-xmrp8msv3k] {
    padding: 6px 10px;
    border-radius: 100px;
    background: #f2f5fb;
    color: #4c5b74;
    font-size: 11px;
}


/* ---------- actions ---------- */

.action-strip[b-xmrp8msv3k] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.action-strip form[b-xmrp8msv3k] {
    margin: 0;
}

.action-strip button.ghost[b-xmrp8msv3k] {
    border: 1px solid #d8dcfb;
    border-radius: 10px;
    background: #f6f7ff;
    color: #4a63d8;
    padding: 10px 15px;
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
}

.action-strip button.ghost span[b-xmrp8msv3k] {
    margin-inline-end: 6px;
}

.action-strip button.ghost:disabled[b-xmrp8msv3k] {
    opacity: .45;
    cursor: not-allowed;
}

.action-strip .last-run[b-xmrp8msv3k] {
    margin: 0;
    flex: 1 1 260px;
}


/* ---------- models ---------- */

.model-table[b-xmrp8msv3k] {
    display: grid;
    gap: 6px;
    padding-top: 16px;
    overflow-x: auto;
}

.model-row[b-xmrp8msv3k] {
    display: grid;
    grid-template-columns: 44px minmax(150px, 1.4fr) minmax(110px, 1fr) minmax(110px, .9fr) 90px 90px minmax(120px, 1fr) 70px 70px;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 11px;
    border: 1px solid transparent;
    min-width: 900px;
}

.model-row.is-tool[b-xmrp8msv3k] {
    grid-template-columns: 44px minmax(150px, 1.2fr) minmax(170px, 1.3fr) minmax(110px, .9fr) 90px 110px minmax(130px, 1fr) 70px;
}

.tool-name[b-xmrp8msv3k] {
    display: grid;
    gap: 2px;
}

.tool-name b[b-xmrp8msv3k] {
    font-size: 12.5px;
}

.tool-name small[b-xmrp8msv3k] {
    color: #8793a8;
    font-size: 10px;
}

.tool-tag[b-xmrp8msv3k] {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
}

.by-model span.is-tool[b-xmrp8msv3k] {
    background: #fff6df;
    color: #7a5a12;
}

.model-row.head[b-xmrp8msv3k] {
    padding-block: 2px;
    color: #74829a;
    font-size: 10.5px;
    font-weight: 800;
}

.model-row.offered[b-xmrp8msv3k] {
    border-color: #d7e9de;
    background: #f5fbf7;
}

.model-row label[b-xmrp8msv3k] {
    display: grid;
    gap: 3px;
    margin: 0;
}

.model-row input:not([type="checkbox"])[b-xmrp8msv3k] {
    box-sizing: border-box;
    width: 100%;
    height: 36px;
    padding: 0 9px;
    background: #fbfcff;
    border: 1px solid #d9e1ef;
    border-radius: 8px;
    color: #23324b;
    font: inherit;
    font-size: 12.5px;
    outline: none;
}

.model-row input:focus[b-xmrp8msv3k] {
    border-color: #5773e7;
    box-shadow: 0 0 0 3px #edf1ff;
}

.model-row input[type="checkbox"][b-xmrp8msv3k] {
    width: 17px;
    height: 17px;
    accent-color: #4867e7;
}

.model-row .check[b-xmrp8msv3k] {
    justify-items: center;
}

.model-row small[b-xmrp8msv3k] {
    color: #8793a8;
    font-size: 10px;
}

.model-row .margin[b-xmrp8msv3k] {
    font-size: 12px;
    font-weight: 800;
    color: #19774b;
    text-align: center;
}

/* The podcast's row: its prices come from the voice model and the music tool. */
.model-row select[b-xmrp8msv3k] {
    box-sizing: border-box;
    width: 100%;
    height: 36px;
    padding: 0 6px;
    background: #fbfcff;
    border: 1px solid #d9e1ef;
    border-radius: 8px;
    color: #23324b;
    font: inherit;
    font-size: 12.5px;
}

.model-row .priced-by[b-xmrp8msv3k] {
    display: grid;
    gap: 2px;
    font-size: 12px;
}

.model-row .priced-by b[b-xmrp8msv3k] {
    color: #23324b;
}

.model-row .priced-by b.is-missing[b-xmrp8msv3k] {
    color: #b42318;
}


/* ---------- voices ---------- */

.voice-count[b-xmrp8msv3k] {
    margin: 14px 0 10px;
    color: #66748d;
    font-size: 12px;
}

.empty-voices[b-xmrp8msv3k] {
    margin-top: 16px;
    padding: 18px;
    border: 1px dashed #d9e1ef;
    border-radius: 12px;
    color: #74829a;
    font-size: 12.5px;
    text-align: center;
}

.voice-grid[b-xmrp8msv3k] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    max-height: 560px;
    overflow-y: auto;
    padding: 2px;
}

.voice-item[b-xmrp8msv3k] {
    display: grid;
    gap: 8px;
    padding: 11px 12px;
    border: 1px solid #e2e8f3;
    border-radius: 12px;
    background: #fbfcff;
    opacity: .72;
    transition: border-color .2s, opacity .2s, background-color .2s;
}

.voice-item:has(input[type="checkbox"]:checked)[b-xmrp8msv3k] {
    opacity: 1;
    border-color: #c9d5fb;
    background: #fff;
}

.voice-check[b-xmrp8msv3k] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    min-width: 0;
}

.voice-check input[b-xmrp8msv3k] {
    width: 17px;
    height: 17px;
    flex: none;
    accent-color: #4867e7;
}

.voice-avatar[b-xmrp8msv3k] {
    display: grid;
    place-items: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e7ecff, #f3ecff);
    color: #4a56c8;
    font-weight: 800;
}

.voice-meta[b-xmrp8msv3k] {
    display: grid;
    min-width: 0;
}

.voice-meta strong[b-xmrp8msv3k] {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.voice-meta small[b-xmrp8msv3k] {
    color: #8793a8;
    font-size: 10.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.voice-name[b-xmrp8msv3k] {
    box-sizing: border-box;
    width: 100%;
    height: 34px;
    padding: 0 9px;
    background: #fff;
    border: 1px solid #d9e1ef;
    border-radius: 8px;
    color: #23324b;
    font: inherit;
    font-size: 12px;
    outline: none;
}

.voice-name:focus[b-xmrp8msv3k] {
    border-color: #5773e7;
}

.voice-sample[b-xmrp8msv3k] {
    color: #4a63d8;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}


/* ---------- recent ---------- */

.recent-card[b-xmrp8msv3k] {
    margin-top: 18px;
}

.recent-scroll[b-xmrp8msv3k] {
    overflow-x: auto;
    margin-top: 14px;
}

.recent-card table[b-xmrp8msv3k] {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    font-size: 12px;
}

.recent-card th[b-xmrp8msv3k] {
    padding: 8px 10px;
    color: #74829a;
    font-size: 10.5px;
    font-weight: 800;
    text-align: start;
    border-bottom: 1px solid #edf1f7;
}

.recent-card td[b-xmrp8msv3k] {
    padding: 9px 10px;
    border-bottom: 1px solid #f2f5fa;
    vertical-align: top;
}

.recent-card td small[b-xmrp8msv3k] {
    display: block;
    color: #8793a8;
    font-size: 10.5px;
}

.recent-card td.text[b-xmrp8msv3k] {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pill[b-xmrp8msv3k] {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 100px;
    font-size: 10.5px;
    font-weight: 800;
}

.pill.succeeded[b-xmrp8msv3k] {
    background: #eaf8ef;
    color: #19774b;
}

.pill.failed[b-xmrp8msv3k] {
    background: #fff0f1;
    color: #b83442;
}

.pill.pending[b-xmrp8msv3k] {
    background: #fff6e6;
    color: #9a5d0a;
}


/* ---------- dark ---------- */

[data-theme="dark"] .kpi-card[b-xmrp8msv3k],
[data-theme="dark"] .recent-card[b-xmrp8msv3k] {
    background: #161d2c;
    border-color: #26314a;
    box-shadow: none;
}

[data-theme="dark"] .kpis > div[b-xmrp8msv3k],
[data-theme="dark"] .voice-item[b-xmrp8msv3k],
[data-theme="dark"] .hint[b-xmrp8msv3k] {
    background: #121926;
    border-color: #26314a;
}

[data-theme="dark"] .voice-item:has(input[type="checkbox"]:checked)[b-xmrp8msv3k] {
    background: #172036;
    border-color: #34437a;
}

[data-theme="dark"] .kpis strong[b-xmrp8msv3k],
[data-theme="dark"] .kpi-head h2[b-xmrp8msv3k] {
    color: #e4ebf8;
}

[data-theme="dark"] .kpis span[b-xmrp8msv3k],
[data-theme="dark"] .kpis em[b-xmrp8msv3k],
[data-theme="dark"] .kpi-head p[b-xmrp8msv3k],
[data-theme="dark"] .voice-meta small[b-xmrp8msv3k],
[data-theme="dark"] .voice-count[b-xmrp8msv3k],
[data-theme="dark"] .hint[b-xmrp8msv3k],
[data-theme="dark"] .model-row.head[b-xmrp8msv3k],
[data-theme="dark"] .recent-card th[b-xmrp8msv3k] {
    color: #8b98b1;
}

[data-theme="dark"] .kpis .good strong[b-xmrp8msv3k] {
    color: #5fd598;
}

[data-theme="dark"] .kpis .bad strong[b-xmrp8msv3k] {
    color: #f08a95;
}

[data-theme="dark"] .period[b-xmrp8msv3k],
[data-theme="dark"] .by-model span[b-xmrp8msv3k] {
    background: #101623;
    color: #b6c2d8;
}

[data-theme="dark"] .by-model span.is-tool[b-xmrp8msv3k] {
    background: #2a2210;
    color: #f0d48a;
}

[data-theme="dark"] .period a[b-xmrp8msv3k] {
    color: #8b98b1;
}

[data-theme="dark"] .period a.on[b-xmrp8msv3k] {
    background: #1b2540;
    color: #8ba3f7;
}

[data-theme="dark"] .model-row input:not([type="checkbox"])[b-xmrp8msv3k],
[data-theme="dark"] .model-row select[b-xmrp8msv3k],
[data-theme="dark"] .voice-name[b-xmrp8msv3k] {
    background: #101623;
    border-color: #2b3752;
    color: #e4ebf8;
}

[data-theme="dark"] .model-row.offered[b-xmrp8msv3k] {
    background: #10281c;
    border-color: #1f5138;
}

[data-theme="dark"] .model-row .priced-by b[b-xmrp8msv3k] {
    color: #e4ebf8;
}

[data-theme="dark"] .action-strip button.ghost[b-xmrp8msv3k] {
    background: #161c2e;
    border-color: #2c3556;
    color: #8ba3f7;
}

[data-theme="dark"] .empty-voices[b-xmrp8msv3k] {
    border-color: #2b3752;
    color: #8b98b1;
}

[data-theme="dark"] .recent-card th[b-xmrp8msv3k],
[data-theme="dark"] .recent-card td[b-xmrp8msv3k] {
    border-color: #26314a;
}

[data-theme="dark"] .card-heading p b[b-xmrp8msv3k] {
    color: #8ba3f7;
}


/* ---------- narrow ---------- */

@media (max-width: 1100px) {
    .kpis[b-xmrp8msv3k] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .field-row[b-xmrp8msv3k] {
        grid-template-columns: 1fr;
    }

    .kpis[b-xmrp8msv3k] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .model-table[b-xmrp8msv3k] {
        overflow: visible;
    }

    .model-row.head[b-xmrp8msv3k] {
        display: none;
    }

    .model-row[b-xmrp8msv3k] {
        min-width: 0;
        grid-template-columns: 1fr 1fr;
        padding: 12px;
        border-color: #e2e8f3;
    }

    .model-row label[b-xmrp8msv3k]::before,
    .model-row .tool-name[b-xmrp8msv3k]::before,
    .model-row .priced-by[b-xmrp8msv3k]::before,
    .model-row .margin[b-xmrp8msv3k]::before {
        content: attr(data-label);
        color: #74829a;
        font-size: 10.5px;
        font-weight: 700;
    }

    .model-row .check[b-xmrp8msv3k] {
        justify-items: start;
    }

    .model-row .margin[b-xmrp8msv3k] {
        display: grid;
        gap: 3px;
        text-align: start;
    }
}


/* ============ THE ELEVENLABS LIBRARY ============ */

.library-card[b-xmrp8msv3k] {
    margin-top: 18px;
}

.library-search[b-xmrp8msv3k] {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}

.library-search label[b-xmrp8msv3k] {
    display: grid;
    gap: 6px;
    font-size: 12px;
    color: #74829a;
}

.library-search select[b-xmrp8msv3k] {
    min-width: 180px;
    padding: 9px 12px;
    border: 1px solid #d8dfeb;
    border-radius: 10px;
    background: #fff;
    font: inherit;
    color: inherit;
}

.library-search button.ghost[b-xmrp8msv3k] {
    border: 1px solid #d8dcfb;
    border-radius: 10px;
    background: #f6f7ff;
    color: #4a63d8;
    padding: 10px 15px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.library-search button.ghost span[b-xmrp8msv3k] {
    margin-inline-end: 6px;
}

.library-search button.ghost:disabled[b-xmrp8msv3k] {
    opacity: .45;
    cursor: not-allowed;
}

.library-item[b-xmrp8msv3k] {
    opacity: 1;
    align-content: start;
}

.library-description[b-xmrp8msv3k] {
    margin: 0;
    color: #5d6b84;
    font-size: 12px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.library-item form[b-xmrp8msv3k] {
    margin: 0;
}

.library-add[b-xmrp8msv3k] {
    width: 100%;
    border: 0;
    border-radius: 9px;
    background: #4563dd;
    color: #fff;
    padding: 9px 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.library-add:hover[b-xmrp8msv3k] {
    background: #3550c6;
}

.library-offered[b-xmrp8msv3k] {
    color: #1f9d6b;
    font-size: 13px;
    font-weight: 700;
}

[data-theme="dark"] .library-search select[b-xmrp8msv3k] {
    background: #1d2433;
    border-color: #334056;
}

[data-theme="dark"] .library-search button.ghost[b-xmrp8msv3k] {
    background: #222b44;
    border-color: #36477a;
    color: #9fb2ff;
}

[data-theme="dark"] .library-description[b-xmrp8msv3k] {
    color: #a7b3c7;
}

/* A phone's card is narrower than one voice's least width. */
.library-grid[b-xmrp8msv3k] {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}

.library-item[b-xmrp8msv3k],
.library-item form[b-xmrp8msv3k] {
    min-width: 0;
}
/* _content/AITranslationPlatform.Web/Components/Admin/Storage/AdminStorage.razor.rz.scp.css */
.admin-storage-page[b-4o0414mbam] { max-width: 1500px; margin: 0 auto; padding: 30px; color: #17223b; }
.admin-storage-hero[b-4o0414mbam], .admin-storage-panel > header[b-4o0414mbam], .admin-storage-cleanup[b-4o0414mbam] { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.admin-storage-hero > div > span[b-4o0414mbam], .admin-storage-panel header span[b-4o0414mbam], .admin-storage-cleanup span[b-4o0414mbam] { color: #61708e; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.admin-storage-hero h1[b-4o0414mbam] { margin: 8px 0; font-size: 2rem; }.admin-storage-hero p[b-4o0414mbam] { max-width: 760px; margin: 0; color: #60708c; line-height: 1.8; }
.admin-storage-refresh[b-4o0414mbam] { padding: 11px 16px; border-radius: 10px; background: #eaf0ff; color: #244cc6; text-decoration: none; font-weight: 700; white-space: nowrap; }
.admin-storage-summary[b-4o0414mbam] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 26px 0; }.admin-storage-metric[b-4o0414mbam], .admin-storage-panel[b-4o0414mbam], .admin-storage-cleanup[b-4o0414mbam] { background: #fff; border: 1px solid #e3e9f4; border-radius: 14px; box-shadow: 0 8px 24px rgba(34, 55, 95, .05); }
.admin-storage-metric[b-4o0414mbam] { padding: 18px; }.admin-storage-metric span[b-4o0414mbam], .admin-storage-metric small[b-4o0414mbam] { display: block; color: #6d7b94; font-size: .8rem; }.admin-storage-metric strong[b-4o0414mbam] { display: block; margin: 8px 0 3px; font-size: 1.6rem; }.admin-storage-metric.is-warning[b-4o0414mbam] { border-color: #f0c56c; }.admin-storage-metric.is-danger[b-4o0414mbam] { border-color: #ef9b9b; }
.admin-storage-panel[b-4o0414mbam] { padding: 20px; }.admin-storage-panel > p[b-4o0414mbam] { color: #66748d; line-height: 1.8; margin: 14px 0 0; }.admin-storage-panel h2[b-4o0414mbam], .admin-storage-cleanup h2[b-4o0414mbam] { margin: 6px 0 0; font-size: 1.1rem; }.admin-storage-panel header code[b-4o0414mbam] { display: block; margin-top: 8px; color: #42516d; overflow-wrap: anywhere; }.admin-storage-panel header > small[b-4o0414mbam] { color: #75829a; white-space: nowrap; }
.admin-storage-grid[b-4o0414mbam] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }.admin-storage-empty[b-4o0414mbam], .admin-storage-state[b-4o0414mbam] { padding: 30px 0; color: #68758d; }.admin-storage-state.is-error[b-4o0414mbam], .admin-storage-notice.is-error[b-4o0414mbam] { color: #a43030; }.admin-storage-notice[b-4o0414mbam] { margin: 18px 0; padding: 13px 16px; border-radius: 10px; }.admin-storage-notice.is-success[b-4o0414mbam] { color: #17724b; background: #e9f8f0; }.admin-storage-notice.is-error[b-4o0414mbam] { background: #fff0f0; }
.admin-storage-table-wrap[b-4o0414mbam] { overflow: auto; margin-top: 16px; }.admin-storage-table-wrap table[b-4o0414mbam] { width: 100%; border-collapse: collapse; font-size: .84rem; }.admin-storage-table-wrap th[b-4o0414mbam], .admin-storage-table-wrap td[b-4o0414mbam] { padding: 10px 8px; text-align: start; border-bottom: 1px solid #edf0f6; vertical-align: top; }.admin-storage-table-wrap th[b-4o0414mbam] { color: #71809a; font-size: .72rem; }.admin-storage-table-wrap code[b-4o0414mbam] { overflow-wrap: anywhere; color: #40506c; }.admin-storage-table-wrap small[b-4o0414mbam] { display: block; color: #9a5a24; margin-top: 4px; }
.admin-storage-cleanup[b-4o0414mbam] { margin-top: 18px; padding: 22px; background: #fffaf0; border-color: #f1d49b; }.admin-storage-cleanup p[b-4o0414mbam] { color: #6c6656; line-height: 1.8; max-width: 670px; }.admin-storage-cleanup form[b-4o0414mbam] { width: min(430px, 100%); }.admin-storage-cleanup label[b-4o0414mbam] { display: block; font-size: .82rem; font-weight: 700; }.admin-storage-cleanup textarea[b-4o0414mbam] { box-sizing: border-box; display: block; width: 100%; min-height: 82px; padding: 10px; margin: 8px 0 10px; border: 1px solid #d7cda9; border-radius: 9px; font: inherit; resize: vertical; }.admin-storage-cleanup button[b-4o0414mbam] { border: 0; border-radius: 9px; background: #b42318; color: #fff; padding: 11px 14px; font: inherit; font-weight: 800; cursor: pointer; }
@media (max-width: 900px) { .admin-storage-summary[b-4o0414mbam], .admin-storage-grid[b-4o0414mbam] { grid-template-columns: 1fr 1fr; }.admin-storage-hero[b-4o0414mbam], .admin-storage-cleanup[b-4o0414mbam] { flex-direction: column; }.admin-storage-cleanup form[b-4o0414mbam] { width: 100%; } }
@media (max-width: 560px) { .admin-storage-page[b-4o0414mbam] { padding: 18px; }.admin-storage-summary[b-4o0414mbam], .admin-storage-grid[b-4o0414mbam] { grid-template-columns: 1fr; }.admin-storage-hero h1[b-4o0414mbam] { font-size: 1.55rem; } }
/* _content/AITranslationPlatform.Web/Components/Admin/Studio/AdminStudioLabs.razor.rz.scp.css */
.admin-studio-labs[b-4tvzont6ix] { max-width: 1260px; margin: 0 auto; padding: 34px 30px 48px; color: #1a2740; }

.page-header[b-4tvzont6ix] { margin-bottom: 26px; }
.eyebrow[b-4tvzont6ix] { display: block; color: #506de5; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.page-header h1[b-4tvzont6ix] { margin: 8px 0 10px; font-size: 30px; }
.page-header p[b-4tvzont6ix] { margin: 0; max-width: 900px; color: #73819a; line-height: 1.8; }

.setting-cards[b-4tvzont6ix] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.setting-card[b-4tvzont6ix] { min-width: 0; padding: 20px 22px; background: #fff; border: 1px solid #e2e8f3; border-radius: 16px; box-shadow: 0 8px 25px rgba(37, 55, 94, .05); }
.setting-card.wide[b-4tvzont6ix] { grid-column: 1 / -1; }
.card-heading[b-4tvzont6ix] { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #edf1f7; }
.card-heading h2[b-4tvzont6ix] { font-size: 17px; margin: 0 0 5px; }
.card-heading p[b-4tvzont6ix] { margin: 0; color: #74829a; font-size: 12px; line-height: 1.7; }
.card-icon[b-4tvzont6ix] { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #eaf0ff; color: #4563dd; font-size: 15px; font-weight: 800; }
.card-icon.purple[b-4tvzont6ix] { background: #f2ecff; color: #7b5cdb; }
.card-icon.teal[b-4tvzont6ix] { background: #e6f6f3; color: #1d8a78; font-size: 20px; }

.fields[b-4tvzont6ix] { display: grid; gap: 17px; padding-top: 19px; }
.fields label[b-4tvzont6ix] { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.fields label > span[b-4tvzont6ix] { color: #3d4c65; }
.fields small[b-4tvzont6ix] { color: #8793a8; font-size: 11px; font-weight: 400; line-height: 1.7; }
.fields input[b-4tvzont6ix] { box-sizing: border-box; width: 100%; max-width: 160px; height: 40px; padding: 0 11px; background: #fbfcff; border: 1px solid #d9e1ef; border-radius: 9px; color: inherit; font: inherit; font-size: 14px; outline: 0; }
.fields input:focus[b-4tvzont6ix] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }
.server-fields[b-4tvzont6ix] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 22px; }

.form-footer[b-4tvzont6ix] { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 20px; }
.form-footer p[b-4tvzont6ix] { color: #8190a7; font-size: 12px; line-height: 1.8; margin: 0; }
.form-footer a[b-4tvzont6ix] { color: #3156db; }
.form-footer button[b-4tvzont6ix] { flex: none; border: 0; border-radius: 10px; background: #3156db; color: #fff; padding: 12px 18px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 8px 18px rgba(49, 86, 219, .22); }
.form-footer button span[b-4tvzont6ix] { font-size: 16px; margin-inline-end: 5px; }

.notice[b-4tvzont6ix], .error[b-4tvzont6ix], .loading-state[b-4tvzont6ix] { padding: 13px 15px; border-radius: 11px; margin-bottom: 16px; }
.notice[b-4tvzont6ix] { background: #eaf8ef; color: #176e40; }
.notice small[b-4tvzont6ix] { margin-inline-start: 6px; opacity: .7; }
.error[b-4tvzont6ix] { background: #fff0f1; color: #b83442; line-height: 1.8; }
.loading-state[b-4tvzont6ix] { background: #fff; color: #73819a; border: 1px solid #e2e8f3; }

@media (max-width: 850px) {
    .setting-cards[b-4tvzont6ix], .server-fields[b-4tvzont6ix] { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
    .admin-studio-labs[b-4tvzont6ix] { padding: 22px 16px; }
    .form-footer[b-4tvzont6ix] { align-items: stretch; flex-direction: column; }
}

.fields select[b-4tvzont6ix] { box-sizing: border-box; width: 100%; max-width: 320px; height: 40px; padding: 0 11px; background: #fbfcff; border: 1px solid #d9e1ef; border-radius: 9px; color: inherit; font: inherit; font-size: 14px; }
.fields .toggle[b-4tvzont6ix] { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.fields .toggle input[b-4tvzont6ix] { width: 18px; height: 18px; max-width: none; }
.try-link[b-4tvzont6ix] { display: inline-block; margin-top: 4px; color: #3156db; font-size: 12px; font-weight: 700; }
.stats[b-4tvzont6ix] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #edf1f7; }
.stats div[b-4tvzont6ix] { display: grid; gap: 3px; }
.stats b[b-4tvzont6ix] { font-size: 17px; color: #1a2740; }
.stats span[b-4tvzont6ix] { font-size: 11px; color: #8793a8; }
.status[b-4tvzont6ix] { display: inline-block; margin-inline-start: 8px; padding: 2px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; background: #f0f2f7; color: #73819a; }
.status.on[b-4tvzont6ix] { background: #eaf8ef; color: #176e40; }

@media (max-width: 560px) {
    .stats[b-4tvzont6ix] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.factors[b-4tvzont6ix] { margin-top: 18px; padding: 16px; background: #f7f9fd; border: 1px solid #e6ebf4; border-radius: 13px; }
.factors-head h3[b-4tvzont6ix] { margin: 0 0 4px; font-size: 14px; }
.factors-head p[b-4tvzont6ix] { margin: 0 0 12px; color: #7d8aa1; font-size: 11px; line-height: 1.7; }
.factors ul[b-4tvzont6ix] { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.factors li[b-4tvzont6ix] { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; background: #fff; border: 1px solid #e3e9f3; border-radius: 10px; }
.factors li.role-other[b-4tvzont6ix] { opacity: .7; }
.factor-name[b-4tvzont6ix] { min-width: 0; display: grid; gap: 2px; justify-items: start; }
.factor-name strong[b-4tvzont6ix] { max-width: 100%; font-size: 13px; color: #1a2740; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.factor-name span[b-4tvzont6ix] { font-size: 11px; color: #8793a8; }
.factors li.role-text .factor-name span[b-4tvzont6ix] { color: #4563dd; }
.factors li.role-transcription .factor-name span[b-4tvzont6ix] { color: #1d8a78; }
.factors li.role-voice .factor-name span[b-4tvzont6ix] { color: #7b5cdb; }
.factor-box[b-4tvzont6ix] { flex: none; display: flex; align-items: center; gap: 6px; margin: 0; }
.factor-box span[b-4tvzont6ix] { color: #8793a8; font-size: 14px; font-weight: 700; }
.factor-box input[b-4tvzont6ix] { box-sizing: border-box; width: 74px; height: 36px; padding: 0 10px; background: #fbfcff; border: 1px solid #d9e1ef; border-radius: 9px; color: inherit; font: inherit; font-size: 14px; text-align: center; outline: 0; }
.factor-box input:focus[b-4tvzont6ix] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }
.factors-empty[b-4tvzont6ix] { margin: 0; color: #8793a8; font-size: 12px; }
/* _content/AITranslationPlatform.Web/Components/Admin/Studio/Stats.razor.rz.scp.css */
.stats[b-1bcu6aedpm] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #edf1f7; }
.stats div[b-1bcu6aedpm] { display: grid; gap: 3px; }
.stats b[b-1bcu6aedpm] { font-size: 17px; color: #1a2740; }
.stats span[b-1bcu6aedpm] { font-size: 11px; color: #8793a8; }

@media (max-width: 560px) {
    .stats[b-1bcu6aedpm] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Support/AdminTickets.razor.rz.scp.css */
.admin-tickets[b-zwf8i61d8x]{display:grid;gap:18px;color:var(--admin-text)}
.admin-ticket-head[b-zwf8i61d8x],.admin-ticket-toolbar[b-zwf8i61d8x],.admin-ticket-list[b-zwf8i61d8x],.admin-ticket-detail[b-zwf8i61d8x]{border:1px solid var(--admin-line);background:var(--admin-surface);box-shadow:var(--admin-shadow)}
.admin-ticket-head[b-zwf8i61d8x]{min-height:120px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 26px;border-radius:20px}
.admin-ticket-head h1[b-zwf8i61d8x]{margin:4px 0 6px;font-size:1.45rem}.admin-ticket-head p[b-zwf8i61d8x]{max-width:760px;margin:0;color:var(--admin-muted);font-size:11px;line-height:1.8}
.eyebrow[b-zwf8i61d8x]{color:var(--admin-accent);font-size:8px;font-weight:900;letter-spacing:.14em}
.queue-metrics[b-zwf8i61d8x]{display:grid;grid-template-columns:repeat(2,112px);gap:8px}.queue-metrics>div[b-zwf8i61d8x]{display:grid;gap:3px;padding:13px 14px;border:1px solid var(--admin-line);border-radius:15px;background:var(--admin-surface-elevated)}
.queue-metrics strong[b-zwf8i61d8x]{font-size:18px}.queue-metrics span[b-zwf8i61d8x]{color:var(--admin-muted);font-size:8px;font-weight:700}
.admin-ticket-toolbar[b-zwf8i61d8x]{min-height:62px;display:flex;align-items:center;gap:9px;padding:10px 12px;border-radius:16px}
.search-box[b-zwf8i61d8x]{flex:1;min-width:180px;height:40px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--admin-line);border-radius:12px;background:var(--admin-surface-elevated);color:var(--admin-muted)}
.search-box svg[b-zwf8i61d8x]{width:16px;flex:0 0 16px}.search-box input[b-zwf8i61d8x],.status-filter[b-zwf8i61d8x],.admin-reply textarea[b-zwf8i61d8x]{font-family:inherit}.search-box input[b-zwf8i61d8x]{width:100%;border:0;outline:0;background:transparent;color:var(--admin-text);font-size:10px}
.status-filter[b-zwf8i61d8x],.refresh-button[b-zwf8i61d8x]{height:40px;border:1px solid var(--admin-line);border-radius:12px;background:var(--admin-surface-elevated);color:var(--admin-text-2);font-size:9px;font-weight:700}
.status-filter[b-zwf8i61d8x]{min-width:150px;padding:0 10px}.refresh-button[b-zwf8i61d8x]{padding:0 14px;cursor:pointer}
.admin-ticket-workspace[b-zwf8i61d8x]{min-height:650px;display:grid;grid-template-columns:minmax(300px,390px) minmax(0,1fr);gap:15px}
.admin-ticket-list[b-zwf8i61d8x],.admin-ticket-detail[b-zwf8i61d8x]{min-width:0;min-height:0;border-radius:18px;overflow:hidden}.admin-ticket-list[b-zwf8i61d8x]{display:flex;flex-direction:column;gap:5px;padding:9px;overflow-y:auto}
.admin-ticket-row[b-zwf8i61d8x]{position:relative;display:grid;gap:7px;width:100%;padding:13px;border:1px solid transparent;border-radius:14px;background:transparent;color:var(--admin-text);text-align:start;font-family:inherit;cursor:pointer;transition:160ms ease}
.admin-ticket-row:hover[b-zwf8i61d8x]{border-color:var(--admin-line);background:var(--admin-surface-elevated)}.admin-ticket-row.is-active[b-zwf8i61d8x]{border-color:color-mix(in srgb,var(--admin-accent) 18%,transparent);background:var(--admin-accent-soft)}
.admin-ticket-row.has-unread[b-zwf8i61d8x]{box-shadow:inset 3px 0 0 var(--admin-accent)}
.row-title[b-zwf8i61d8x],.row-customer[b-zwf8i61d8x],.row-foot[b-zwf8i61d8x],.detail-meta[b-zwf8i61d8x],.admin-message>div[b-zwf8i61d8x]{display:flex;align-items:center}.row-title[b-zwf8i61d8x]{justify-content:space-between;gap:8px}
.row-title strong[b-zwf8i61d8x]{min-width:0;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.row-title i[b-zwf8i61d8x]{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--admin-accent);box-shadow:0 0 0 4px var(--admin-accent-soft)}
.row-customer[b-zwf8i61d8x],.row-foot[b-zwf8i61d8x]{justify-content:space-between;gap:8px;color:var(--admin-muted);font-size:8px}.row-customer b[b-zwf8i61d8x]{color:var(--admin-text-2);font-size:8px}
.admin-ticket-row p[b-zwf8i61d8x]{display:-webkit-box;margin:0;overflow:hidden;color:var(--admin-text-2);font-size:9px;line-height:1.6;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.status[b-zwf8i61d8x],.priority[b-zwf8i61d8x]{display:inline-flex;align-items:center;justify-content:center;padding:3px 6px;border-radius:999px;font-size:7px;font-weight:900}
.wait-support[b-zwf8i61d8x]{color:#a16d18;background:rgba(192,132,38,.10)}.wait-customer[b-zwf8i61d8x]{color:#73631d;background:rgba(212,172,52,.10)}.resolved[b-zwf8i61d8x]{color:var(--admin-success);background:rgba(39,132,103,.09)}.closed[b-zwf8i61d8x]{color:var(--admin-muted);background:var(--admin-surface-soft)}
.priority.low[b-zwf8i61d8x]{color:#3c7b63;background:rgba(39,132,103,.08)}.priority.normal[b-zwf8i61d8x]{color:var(--admin-text-2);background:var(--admin-surface-soft)}.priority.high[b-zwf8i61d8x]{color:var(--admin-warning);background:rgba(169,115,31,.09)}.priority.urgent[b-zwf8i61d8x]{color:var(--admin-danger);background:rgba(201,74,82,.09)}
.admin-ticket-detail[b-zwf8i61d8x]{display:flex;flex-direction:column}.detail-head[b-zwf8i61d8x]{min-height:112px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid var(--admin-line)}
.ticket-id[b-zwf8i61d8x]{color:var(--admin-accent);font-size:9px;font-weight:900}.detail-head h2[b-zwf8i61d8x]{margin:5px 0 8px;font-size:16px}.detail-meta[b-zwf8i61d8x]{flex-wrap:wrap;gap:7px;color:var(--admin-muted);font-size:8px}
.status-actions[b-zwf8i61d8x]{display:flex;flex-wrap:wrap;justify-content:end;gap:6px}.status-button[b-zwf8i61d8x]{min-height:34px;padding:0 9px;border:1px solid var(--admin-line);border-radius:10px;font-family:inherit;font-size:8px;font-weight:800;cursor:pointer}
.detail-status-line[b-zwf8i61d8x]{display:flex;align-items:center;justify-content:space-between;min-height:42px;padding:0 22px;border-bottom:1px solid var(--admin-line);color:var(--admin-muted);font-size:8px}.detail-status-line strong[b-zwf8i61d8x]{font-size:9px}
.admin-message-stream[b-zwf8i61d8x]{flex:1;min-height:360px;display:flex;flex-direction:column;gap:11px;padding:20px;overflow-y:auto;background:var(--admin-surface-elevated)}
.admin-message[b-zwf8i61d8x]{width:min(78%,760px);display:grid;gap:7px;padding:13px 14px;border:1px solid var(--admin-line);border-radius:15px;background:var(--admin-surface)}
.admin-message.customer[b-zwf8i61d8x]{align-self:flex-start;border-end-start-radius:4px}.admin-message.staff[b-zwf8i61d8x]{align-self:flex-end;border-end-end-radius:4px;border-color:color-mix(in srgb,var(--admin-accent) 14%,transparent);background:var(--admin-accent-soft)}
.admin-message>div[b-zwf8i61d8x]{justify-content:space-between;gap:12px}.admin-message strong[b-zwf8i61d8x]{font-size:9px}.admin-message span[b-zwf8i61d8x]{color:var(--admin-muted);font-size:7px}.admin-message p[b-zwf8i61d8x]{margin:0;white-space:pre-wrap;color:var(--admin-text-2);font-size:10px;line-height:1.85}
.admin-reply[b-zwf8i61d8x]{display:grid;gap:9px;padding:14px 16px 16px;border-top:1px solid var(--admin-line);background:var(--admin-surface)}.admin-reply textarea[b-zwf8i61d8x]{width:100%;padding:12px 13px;border:1px solid var(--admin-line);outline:0;border-radius:12px;background:var(--admin-surface-elevated);color:var(--admin-text);font-size:10px;line-height:1.8;resize:vertical;box-sizing:border-box}
.admin-reply textarea:focus[b-zwf8i61d8x]{border-color:color-mix(in srgb,var(--admin-accent) 35%,transparent);box-shadow:0 0 0 3px var(--admin-accent-soft)}.admin-reply>div[b-zwf8i61d8x]{display:flex;align-items:center;justify-content:space-between;gap:12px}
.send-reply[b-zwf8i61d8x]{min-height:38px;padding:0 15px;border:0;border-radius:11px;background:var(--admin-accent);color:#fff;font-family:inherit;font-size:9px;font-weight:900;cursor:pointer}.send-reply:disabled[b-zwf8i61d8x]{opacity:.55;cursor:wait}.action-error[b-zwf8i61d8x]{color:var(--admin-danger);font-size:8px;font-weight:800}
.admin-empty[b-zwf8i61d8x],.detail-empty[b-zwf8i61d8x]{min-height:260px;display:grid;place-content:center;justify-items:center;gap:7px;padding:24px;color:var(--admin-muted);font-size:10px;text-align:center}.detail-empty[b-zwf8i61d8x]{flex:1}.detail-empty span[b-zwf8i61d8x]{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:var(--admin-accent-soft);color:var(--admin-accent);font-size:20px}
@media(max-width:1080px){.admin-ticket-workspace[b-zwf8i61d8x]{grid-template-columns:1fr}.admin-ticket-list[b-zwf8i61d8x]{max-height:430px}}
@media(max-width:700px){.admin-ticket-head[b-zwf8i61d8x]{align-items:stretch;flex-direction:column}.queue-metrics[b-zwf8i61d8x]{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-ticket-toolbar[b-zwf8i61d8x]{align-items:stretch;flex-direction:column}.search-box[b-zwf8i61d8x],.status-filter[b-zwf8i61d8x],.refresh-button[b-zwf8i61d8x]{width:100%;box-sizing:border-box}.detail-head[b-zwf8i61d8x]{align-items:stretch;flex-direction:column}.status-actions[b-zwf8i61d8x]{justify-content:start}.admin-message[b-zwf8i61d8x]{width:92%}}


/* ============================================================
   TICKETING STATIC-SSR ACTION FIX
   ============================================================ */

.admin-ticket-row[b-zwf8i61d8x],
.refresh-button[b-zwf8i61d8x] {
    text-decoration: none;
}

.status-actions form[b-zwf8i61d8x] {
    margin: 0;
}

.admin-ticket-error[b-zwf8i61d8x] {
    padding: 11px 14px;
    border: 1px solid rgba(201, 74, 82, .16);
    border-radius: 13px;
    background: rgba(201, 74, 82, .07);
    color: var(--admin-danger);
    font-size: 9px;
    font-weight: 800;
}

.reply-hint[b-zwf8i61d8x] {
    color: var(--admin-muted);
    font-size: 8px;
    line-height: 1.6;
}


/* ============================================================
   TICKETING V1.1 — CUSTOMER GROUPING
   ============================================================ */

.admin-ticket-workspace.grouped[b-zwf8i61d8x] {
    grid-template-columns:
        minmax(220px, 280px)
        minmax(280px, 340px)
        minmax(0, 1fr);
}

.admin-customer-list[b-zwf8i61d8x] {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--admin-line);
    border-radius: 18px;
    background: var(--admin-surface);
    box-shadow: var(--admin-shadow);
}

.column-heading[b-zwf8i61d8x] {
    min-height: 66px;
    display: flex;
    align-items: center;
    padding: 13px 14px;
    border-bottom: 1px solid var(--admin-line);
}

.column-heading > div[b-zwf8i61d8x] {
    display: grid;
    gap: 3px;
}

.column-heading strong[b-zwf8i61d8x] {
    color: var(--admin-text);
    font-size: 10px;
}

.column-heading span[b-zwf8i61d8x] {
    color: var(--admin-muted);
    font-size: 7.5px;
}

.customer-list-scroll[b-zwf8i61d8x] {
    display: grid;
    gap: 5px;
    padding: 8px;
    overflow-y: auto;
}

.customer-row[b-zwf8i61d8x] {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 11px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: var(--admin-text);
    text-decoration: none;
    transition: 150ms ease;
}

.customer-row:hover[b-zwf8i61d8x] {
    border-color: var(--admin-line);
    background: var(--admin-surface-elevated);
}

.customer-row.is-active[b-zwf8i61d8x] {
    border-color: color-mix(in srgb, var(--admin-accent) 18%, transparent);
    background: var(--admin-accent-soft);
}

.customer-avatar[b-zwf8i61d8x] {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--admin-accent);
    background: var(--admin-accent-soft);
    font-size: 10px;
    font-weight: 900;
}

.customer-copy[b-zwf8i61d8x] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.customer-copy strong[b-zwf8i61d8x],
.customer-copy small[b-zwf8i61d8x],
.customer-copy em[b-zwf8i61d8x] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-copy strong[b-zwf8i61d8x] {
    color: var(--admin-text);
    font-size: 9px;
}

.customer-copy small[b-zwf8i61d8x] {
    color: var(--admin-text-2);
    font-size: 7.5px;
}

.customer-copy em[b-zwf8i61d8x] {
    color: var(--admin-muted);
    font-size: 7px;
    font-style: normal;
}

.customer-unread[b-zwf8i61d8x] {
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 999px;
    background: #c94a52;
    color: #fff;
    font-size: 7px;
    font-weight: 900;
}

.detail-empty small[b-zwf8i61d8x] {
    max-width: 360px;
    color: var(--admin-muted);
    font-size: 8px;
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 1320px) {
    .admin-ticket-workspace.grouped[b-zwf8i61d8x] {
        grid-template-columns: 230px 300px minmax(0, 1fr);
    }
}

@media (max-width: 1120px) {
    .admin-ticket-workspace.grouped[b-zwf8i61d8x] {
        grid-template-columns: 1fr 1fr;
    }

    .admin-ticket-detail[b-zwf8i61d8x] {
        grid-column: 1 / -1;
        min-height: 620px;
    }
}

@media (max-width: 760px) {
    .admin-ticket-workspace.grouped[b-zwf8i61d8x] {
        grid-template-columns: 1fr;
    }

    .admin-ticket-detail[b-zwf8i61d8x] {
        grid-column: auto;
    }

    .admin-customer-list[b-zwf8i61d8x],
    .admin-ticket-list[b-zwf8i61d8x] {
        max-height: 390px;
    }
}


/* ============================================================
   TICKETING ATTACHMENTS V1 — ADMIN
   ============================================================ */

.admin-ticket-attachments[b-zwf8i61d8x] {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid var(--admin-line);
    background: var(--admin-surface);
}

.attachment-section-head > div[b-zwf8i61d8x] {
    display: grid;
    gap: 3px;
}

.attachment-section-head strong[b-zwf8i61d8x] {
    color: var(--admin-text);
    font-size: 9px;
}

.attachment-section-head span[b-zwf8i61d8x] {
    color: var(--admin-muted);
    font-size: 7px;
}

.admin-attachment-grid[b-zwf8i61d8x] {
    display: grid;
    gap: 7px;
}

.admin-attachment-card[b-zwf8i61d8x] {
    min-width: 0;
    display: grid;
    grid-template-columns: 58px minmax(0,1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 9px;
    border: 1px solid var(--admin-line);
    border-radius: 13px;
    background: var(--admin-surface-elevated);
}

.admin-attachment-preview[b-zwf8i61d8x],
.admin-attachment-file-icon[b-zwf8i61d8x] {
    width: 58px;
    height: 46px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--admin-accent-soft);
    color: var(--admin-accent);
    text-decoration: none;
    font-size: 7px;
    font-weight: 900;
}

.admin-attachment-preview img[b-zwf8i61d8x] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-attachment-info[b-zwf8i61d8x] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.admin-attachment-info strong[b-zwf8i61d8x] {
    overflow: hidden;
    color: var(--admin-text);
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-attachment-info span[b-zwf8i61d8x],
.admin-attachment-info small[b-zwf8i61d8x] {
    color: var(--admin-muted);
    font-size: 6.8px;
}

.admin-attachment-download[b-zwf8i61d8x] {
    padding: 7px 9px;
    border: 1px solid var(--admin-line);
    border-radius: 9px;
    color: var(--admin-text-2);
    background: var(--admin-surface);
    text-decoration: none;
    font-size: 7px;
    font-weight: 850;
}

.admin-attachment-upload[b-zwf8i61d8x] {
    display: flex;
    align-items: end;
    gap: 8px;
}

.admin-file-picker[b-zwf8i61d8x] {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 5px;
    color: var(--admin-text-2);
    font-size: 7px;
    font-weight: 800;
}

.admin-file-picker input[type="file"][b-zwf8i61d8x] {
    width: 100%;
    min-height: 39px;
    padding: 7px 9px;
    border: 1px dashed var(--admin-line-strong);
    border-radius: 10px;
    background: var(--admin-surface-elevated);
    color: var(--admin-muted);
    font: inherit;
}

@media(max-width:760px) {
    .admin-attachment-card[b-zwf8i61d8x] {
        grid-template-columns: 52px minmax(0,1fr);
    }

    .admin-attachment-download[b-zwf8i61d8x] {
        grid-column: 1 / -1;
        text-align: center;
    }

    .admin-attachment-upload[b-zwf8i61d8x] {
        align-items: stretch;
        flex-direction: column;
    }
}

/* ============================================================
   TICKETING SOCIAL CONVERSATION V1 — ADMIN
   ============================================================ */

.admin-social-stream[b-zwf8i61d8x] {
    flex: 1;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 18px 20px;
    overflow-y: auto;
    background:
        radial-gradient(circle at 14% 0%, color-mix(in srgb,var(--admin-accent) 4%,transparent), transparent 30%),
        var(--admin-surface-elevated);
}

.admin-social-row[b-zwf8i61d8x] {
    width: 100%;
    display: flex;
    align-items: flex-end;
    gap: 7px;
    direction: ltr;
}

.admin-social-row.mine[b-zwf8i61d8x] {
    justify-content: flex-end;
}

.admin-social-row.other[b-zwf8i61d8x] {
    justify-content: flex-start;
}

.admin-social-avatar[b-zwf8i61d8x] {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    display: grid;
    place-items: center;
    border: 1px solid var(--admin-line);
    border-radius: 50%;
    background: var(--admin-surface);
    color: var(--admin-muted);
    font-size: 7px;
    font-weight: 950;
}

.admin-social-row.mine .admin-social-avatar[b-zwf8i61d8x] {
    order: 2;
    border-color: color-mix(in srgb,var(--admin-accent) 18%,var(--admin-line));
    background: var(--admin-accent-soft);
    color: var(--admin-accent);
}

.admin-social-stack[b-zwf8i61d8x] {
    max-width: min(74%, 760px);
    display: grid;
    gap: 4px;
}

.admin-tickets[dir="rtl"] .admin-social-stack[b-zwf8i61d8x] {
    direction: rtl;
    text-align: right;
}

.admin-tickets[dir="ltr"] .admin-social-stack[b-zwf8i61d8x] {
    direction: ltr;
    text-align: left;
}

.admin-social-author[b-zwf8i61d8x] {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-inline: 4px;
}

.admin-social-row.mine .admin-social-author[b-zwf8i61d8x] {
    justify-content: flex-end;
}

.admin-social-author strong[b-zwf8i61d8x] {
    color: var(--admin-text-2);
    font-size: 7.5px;
}

.admin-social-author span[b-zwf8i61d8x] {
    color: var(--admin-muted);
    font-size: 6.4px;
}

.admin-social-text[b-zwf8i61d8x] {
    padding: 11px 13px;
    border: 1px solid var(--admin-line);
    border-radius: 15px 15px 15px 5px;
    background: var(--admin-surface);
    box-shadow: 0 7px 18px rgba(8,18,36,.035);
}

.admin-social-row.mine .admin-social-text[b-zwf8i61d8x] {
    border-color: color-mix(in srgb,var(--admin-accent) 16%,var(--admin-line));
    border-radius: 15px 15px 5px 15px;
    background: var(--admin-accent-soft);
}

.admin-social-text p[b-zwf8i61d8x] {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: var(--admin-text-2);
    font-size: 9.5px;
    line-height: 1.85;
}

.admin-social-media[b-zwf8i61d8x] {
    width: min(340px, 58vw);
    overflow: hidden;
    border: 1px solid var(--admin-line);
    border-radius: 15px;
    background: var(--admin-surface);
    box-shadow: 0 8px 20px rgba(8,18,36,.05);
}

.admin-social-row.mine .admin-social-media[b-zwf8i61d8x] {
    border-color: color-mix(in srgb,var(--admin-accent) 16%,var(--admin-line));
}

.admin-social-media > a:first-child[b-zwf8i61d8x] {
    display: block;
    overflow: hidden;
    background: var(--admin-surface-soft);
}

.admin-social-media img[b-zwf8i61d8x] {
    display: block;
    width: 100%;
    max-height: 330px;
    object-fit: cover;
    transition: transform 160ms ease;
}

.admin-social-media > a:first-child:hover img[b-zwf8i61d8x] {
    transform: scale(1.012);
}

.admin-social-media > div[b-zwf8i61d8x] {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    padding: 8px 10px 9px;
}

.admin-social-media > div > span[b-zwf8i61d8x] {
    min-width: 0;
    overflow: hidden;
    color: var(--admin-text-2);
    font-size: 7px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-social-media > div > a[b-zwf8i61d8x] {
    flex: 0 0 auto;
    color: var(--admin-accent);
    text-decoration: none;
    font-size: 6.8px;
    font-weight: 900;
}

.admin-social-file[b-zwf8i61d8x] {
    width: min(350px, 62vw);
    min-height: 62px;
    display: grid;
    grid-template-columns: 40px minmax(0,1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border: 1px solid var(--admin-line);
    border-radius: 14px;
    background: var(--admin-surface);
    color: var(--admin-text);
    text-decoration: none;
    box-shadow: 0 7px 18px rgba(8,18,36,.035);
    transition: 150ms ease;
}

.admin-social-row.mine .admin-social-file[b-zwf8i61d8x] {
    border-color: color-mix(in srgb,var(--admin-accent) 16%,var(--admin-line));
    background: var(--admin-accent-soft);
}

.admin-social-file:hover[b-zwf8i61d8x] {
    transform: translateY(-1px);
    border-color: var(--admin-line-strong);
}

.admin-social-file-icon[b-zwf8i61d8x] {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--admin-accent-soft);
    color: var(--admin-accent);
}

.admin-social-file-icon svg[b-zwf8i61d8x] {
    width: 20px;
    height: 20px;
}

.admin-social-file-copy[b-zwf8i61d8x] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.admin-social-file-copy strong[b-zwf8i61d8x] {
    overflow: hidden;
    color: var(--admin-text);
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-social-file-copy small[b-zwf8i61d8x] {
    color: var(--admin-muted);
    font-size: 6.5px;
}

.admin-social-file-action[b-zwf8i61d8x] {
    color: var(--admin-accent);
    font-size: 6.7px;
    font-weight: 900;
}

.admin-social-composer[b-zwf8i61d8x] {
    display: grid;
    gap: 8px;
    padding: 12px 14px 14px;
    border-top: 1px solid var(--admin-line);
    background: var(--admin-surface);
}

.admin-social-composer textarea[b-zwf8i61d8x] {
    width: 100%;
    min-height: 72px;
    max-height: 170px;
    padding: 11px 12px;
    border: 1px solid var(--admin-line);
    outline: 0;
    border-radius: 14px;
    box-sizing: border-box;
    resize: vertical;
    background: var(--admin-surface-elevated);
    color: var(--admin-text);
    font-family: inherit;
    font-size: 9px;
    line-height: 1.8;
    transition: 150ms ease;
}

.admin-social-composer textarea:focus[b-zwf8i61d8x] {
    border-color: color-mix(in srgb,var(--admin-accent) 36%,var(--admin-line));
    box-shadow: 0 0 0 3px var(--admin-accent-soft);
}

.admin-social-actions[b-zwf8i61d8x] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-social-attach[b-zwf8i61d8x],
.admin-social-send[b-zwf8i61d8x] {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 7.5px;
    font-weight: 900;
}

.admin-social-attach[b-zwf8i61d8x] {
    position: relative;
    min-width: 92px;
    padding: 0 10px;
    overflow: hidden;
    border: 1px solid var(--admin-line);
    background: var(--admin-surface-elevated);
    color: var(--admin-text-2);
    cursor: pointer;
}

.admin-social-attach:hover[b-zwf8i61d8x] {
    border-color: var(--admin-line-strong);
    color: var(--admin-accent);
}

.admin-social-attach input[type="file"][b-zwf8i61d8x] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.admin-social-attach svg[b-zwf8i61d8x],
.admin-social-send svg[b-zwf8i61d8x] {
    width: 15px;
    height: 15px;
}

.admin-social-note[b-zwf8i61d8x] {
    flex: 1;
    color: var(--admin-muted);
    font-size: 6.8px;
}

.admin-social-send[b-zwf8i61d8x] {
    min-width: 76px;
    padding: 0 12px;
    border: 0;
    background: var(--admin-accent);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 7px 18px color-mix(in srgb,var(--admin-accent) 18%,transparent);
}

.admin-social-send:hover[b-zwf8i61d8x] {
    transform: translateY(-1px);
}

@media(max-width:760px) {
    .admin-social-stream[b-zwf8i61d8x] {
        padding: 14px 10px;
    }

    .admin-social-stack[b-zwf8i61d8x] {
        max-width: calc(100% - 38px);
    }

    .admin-social-media[b-zwf8i61d8x],
    .admin-social-file[b-zwf8i61d8x] {
        width: min(320px, 76vw);
    }

    .admin-social-actions[b-zwf8i61d8x] {
        flex-wrap: wrap;
    }

    .admin-social-note[b-zwf8i61d8x] {
        order: 3;
        flex-basis: 100%;
    }

    .admin-social-attach[b-zwf8i61d8x],
    .admin-social-send[b-zwf8i61d8x] {
        flex: 1;
    }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Tools/AdminTools.razor.rz.scp.css */
.admin-tools[b-mhvvq4aaf1] { max-width: 1320px; margin: 0 auto; padding: 34px 30px 48px; color: #1a2740; }

.page-header[b-mhvvq4aaf1] { margin-bottom: 22px; }
.eyebrow[b-mhvvq4aaf1] { display: block; color: #506de5; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.page-header h1[b-mhvvq4aaf1] { margin: 8px 0 10px; font-size: 30px; }
.page-header p[b-mhvvq4aaf1] { margin: 0; max-width: 900px; color: #73819a; line-height: 1.8; }

.notice[b-mhvvq4aaf1], .error[b-mhvvq4aaf1], .loading-state[b-mhvvq4aaf1] { padding: 13px 15px; border-radius: 11px; margin-bottom: 16px; }
.notice[b-mhvvq4aaf1] { background: #eaf8ef; color: #176e40; }
.notice small[b-mhvvq4aaf1] { margin-inline-start: 6px; opacity: .7; }
.error[b-mhvvq4aaf1] { background: #fff0f1; color: #b83442; }
.loading-state[b-mhvvq4aaf1] { background: #fff; color: #73819a; border: 1px solid #e2e8f3; }

.status-card[b-mhvvq4aaf1] { display: grid; gap: 16px; margin-bottom: 18px; padding: 18px 20px; border: 1px solid #e2e8f3; border-inline-start: 4px solid #c7cfdd; border-radius: 16px; background: #fff; }
.status-card.is-on[b-mhvvq4aaf1] { border-inline-start-color: #2a9d63; }
.status-card.is-off[b-mhvvq4aaf1] { border-inline-start-color: #d4a017; }
.status-card > div[b-mhvvq4aaf1] { display: grid; gap: 5px; }
.status-card strong[b-mhvvq4aaf1] { font-size: 16px; }
.status-card span[b-mhvvq4aaf1] { color: #5d6b84; font-size: 12px; line-height: 1.8; }
.status-card .warn[b-mhvvq4aaf1] { color: #b83442; font-weight: 700; }

.stats[b-mhvvq4aaf1] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.stats li[b-mhvvq4aaf1] { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid #edf1f7; border-radius: 10px; }
.stats span[b-mhvvq4aaf1] { color: #74829a; font-size: 11px; line-height: 1.5; }
.stats b[b-mhvvq4aaf1] { color: #23324b; font-size: 14px; }

.settings-form[b-mhvvq4aaf1] { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }

.setting-card[b-mhvvq4aaf1] { min-width: 0; padding: 20px 22px; border: 1px solid #e2e8f3; border-radius: 16px; background: #fff; box-shadow: 0 8px 25px rgba(37, 55, 94, .045); }
.setting-card h2[b-mhvvq4aaf1] { margin: 0 0 4px; font-size: 16px; }
.setting-cards[b-mhvvq4aaf1] { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.setting-card.wide[b-mhvvq4aaf1] { grid-column: 1 / -1; }
.card-lead[b-mhvvq4aaf1] { margin: 4px 0 0; color: #74829a; font-size: 12px; line-height: 1.8; }

.table-wrap[b-mhvvq4aaf1] { margin-top: 14px; overflow-x: auto; }

table[b-mhvvq4aaf1] { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 12px; }

th[b-mhvvq4aaf1] { padding: 8px 8px 10px; border-bottom: 1px solid #e2e8f3; color: #74829a; font-size: 11px; font-weight: 700; line-height: 1.5; text-align: start; vertical-align: bottom; }

td[b-mhvvq4aaf1] { padding: 10px 8px; border-bottom: 1px solid #f0f3f8; vertical-align: middle; }

tr:last-child td[b-mhvvq4aaf1] { border-bottom: 0; }

td input[type="text"][b-mhvvq4aaf1] { box-sizing: border-box; width: 72px; height: 36px; padding: 0 9px; border: 1px solid #d9e1ef; border-radius: 8px; background: #fbfcff; color: #23324b; font: inherit; text-align: left; outline: none; }
td input[type="text"]:focus[b-mhvvq4aaf1] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }

.tool-name strong[b-mhvvq4aaf1] { display: block; color: #23324b; font-size: 13px; }
.tool-name small[b-mhvvq4aaf1], .tool-usage small[b-mhvvq4aaf1] { display: block; margin-top: 3px; color: #8793a8; font-size: 11px; line-height: 1.5; }
.tool-usage span[b-mhvvq4aaf1] { color: #3d4c65; }

.margin[b-mhvvq4aaf1] { display: block; margin-top: 4px; color: #176e40; font-size: 10.5px; }
.margin.is-loss[b-mhvvq4aaf1] { color: #b83442; }

.mini-toggle[b-mhvvq4aaf1] { position: relative; display: inline-block; cursor: pointer; }
.mini-toggle input[b-mhvvq4aaf1] { position: absolute; opacity: 0; }
.mini-toggle i[b-mhvvq4aaf1] { position: relative; display: block; width: 38px; height: 21px; border-radius: 100px; background: #cbd4e2; transition: .2s; }
.mini-toggle i[b-mhvvq4aaf1]::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #889; transition: .2s; }
.mini-toggle input:checked + i[b-mhvvq4aaf1] { background: #4867e7; }
.mini-toggle input:checked + i[b-mhvvq4aaf1]::after { inset-inline-start: 20px; }
.mini-toggle input:focus-visible + i[b-mhvvq4aaf1] { box-shadow: 0 0 0 3px #edf1ff; }

.fields[b-mhvvq4aaf1] { display: grid; gap: 16px; padding-top: 14px; }
.fields.three[b-mhvvq4aaf1] { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 10px; }
.fields label[b-mhvvq4aaf1] { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.fields label > span[b-mhvvq4aaf1] { color: #3d4c65; }
.fields small[b-mhvvq4aaf1] { color: #8793a8; font-size: 11px; font-weight: 400; line-height: 1.7; }
.fields input[b-mhvvq4aaf1] { box-sizing: border-box; width: 100%; height: 40px; padding: 0 11px; border: 1px solid #d9e1ef; border-radius: 9px; background: #fbfcff; color: #23324b; font: inherit; outline: none; }
.fields input:focus[b-mhvvq4aaf1] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }
.fields select[b-mhvvq4aaf1] { box-sizing: border-box; width: 100%; height: 40px; padding: 0 9px; border: 1px solid #d9e1ee; border-radius: 10px; background: #fff; color: inherit; font: inherit; }
.fields select:focus[b-mhvvq4aaf1] { outline: none; border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }
.card-links[b-mhvvq4aaf1] { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 14px; font-size: .84rem; }
.card-links a[b-mhvvq4aaf1] { color: #4867e7; font-weight: 700; text-decoration: none; }
.card-links a:hover[b-mhvvq4aaf1] { text-decoration: underline; }
.tool-price span[b-mhvvq4aaf1] { display: block; font-size: .84rem; font-weight: 700; white-space: nowrap; }
.tool-price small[b-mhvvq4aaf1] { display: block; margin-top: 2px; font-size: .74rem; color: #6b7690; }
.tool-price small.is-loss[b-mhvvq4aaf1] { color: #c0352b; font-weight: 700; }
.fields input[dir="ltr"][b-mhvvq4aaf1] { text-align: left; }

.toggle-row[b-mhvvq4aaf1] { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 15px; cursor: pointer; }
.toggle-row span[b-mhvvq4aaf1] { display: grid; gap: 4px; }
.toggle-row strong[b-mhvvq4aaf1] { font-size: 14px; }
.toggle-row small[b-mhvvq4aaf1] { color: #7c899f; font-size: 11px; line-height: 1.6; }
.toggle-row input[type="checkbox"][b-mhvvq4aaf1] { position: absolute; opacity: 0; }
.toggle-row i[b-mhvvq4aaf1] { position: relative; display: block; flex: none; width: 42px; height: 23px; border-radius: 100px; background: #cbd4e2; transition: .2s; }
.toggle-row i[b-mhvvq4aaf1]::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #889; transition: .2s; }
.toggle-row input:checked + i[b-mhvvq4aaf1] { background: #4867e7; }
.toggle-row input:checked + i[b-mhvvq4aaf1]::after { inset-inline-start: 22px; }
.toggle-row input:focus-visible + i[b-mhvvq4aaf1] { box-shadow: 0 0 0 3px #edf1ff; }

.form-footer[b-mhvvq4aaf1] { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid #e2e8f3; border-radius: 14px; background: #fff; }
.form-footer span[b-mhvvq4aaf1] { color: #74829a; font-size: 12px; line-height: 1.7; }
.primary-button[b-mhvvq4aaf1] { flex: none; padding: 12px 22px; border: 0; border-radius: 10px; background: #3156db; color: #fff; font: inherit; font-weight: 700; box-shadow: 0 8px 18px rgba(49, 86, 219, .2); cursor: pointer; }

@media (max-width: 900px) {
    .setting-cards[b-mhvvq4aaf1], .fields.three[b-mhvvq4aaf1] { grid-template-columns: 1fr; }
    .stats[b-mhvvq4aaf1] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .admin-tools[b-mhvvq4aaf1] { padding: 22px 16px; }
    .form-footer[b-mhvvq4aaf1] { flex-direction: column; align-items: stretch; }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Translations/AdminTranslations.razor.rz.scp.css */
.admin-translations-page[b-kmqrk9xbx4],
.admin-translation-details-page[b-kmqrk9xbx4] {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.admin-translations-hero[b-kmqrk9xbx4],
.admin-translation-details-hero[b-kmqrk9xbx4] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
    padding: 26px 28px;
    border: 1px solid var(--admin-line);
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 0%, rgba(24, 68, 198, .075), transparent 34%),
        var(--admin-surface);
    box-shadow: var(--admin-shadow);
}

.admin-translation-eyebrow[b-kmqrk9xbx4],
.admin-translations-panel-heading > div > span[b-kmqrk9xbx4],
.admin-translation-section-header > div > span[b-kmqrk9xbx4],
.admin-translation-section-title span[b-kmqrk9xbx4],
.admin-translation-error-panel > header > span[b-kmqrk9xbx4] {
    color: var(--admin-accent);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .11em;
}

.admin-translations-hero h1[b-kmqrk9xbx4],
.admin-translation-details-title h1[b-kmqrk9xbx4] {
    margin: 7px 0 0;
    color: var(--admin-text);
    font-size: clamp(24px, 2.2vw, 35px);
    line-height: 1.25;
    letter-spacing: -.03em;
}

.admin-translations-hero p[b-kmqrk9xbx4],
.admin-translation-details-title p[b-kmqrk9xbx4] {
    max-width: 780px;
    margin: 10px 0 0;
    color: var(--admin-text-2);
    font-size: 11px;
    line-height: 1.85;
}

.admin-translations-refresh[b-kmqrk9xbx4],
.admin-translations-search-button[b-kmqrk9xbx4],
.admin-translations-clear-button[b-kmqrk9xbx4],
.admin-translation-state button[b-kmqrk9xbx4],
.admin-translations-pagination button[b-kmqrk9xbx4],
.admin-translations-pagination a[b-kmqrk9xbx4] {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid var(--admin-line-strong);
    border-radius: 11px;
    color: var(--admin-text-2);
    background: var(--admin-surface-elevated);
    font: inherit;
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: 150ms ease;
}

.admin-translations-refresh:hover[b-kmqrk9xbx4],
.admin-translations-search-button:hover[b-kmqrk9xbx4],
.admin-translations-clear-button:hover[b-kmqrk9xbx4],
.admin-translation-state button:hover[b-kmqrk9xbx4],
.admin-translations-pagination button:hover:not(:disabled)[b-kmqrk9xbx4],
.admin-translations-pagination a:hover[b-kmqrk9xbx4] {
    color: var(--admin-accent);
    border-color: rgba(24, 68, 198, .16);
    background: var(--admin-accent-soft);
}

.admin-translations-pagination button:disabled[b-kmqrk9xbx4] {
    opacity: .45;
    cursor: not-allowed;
}

.admin-translations-refresh svg[b-kmqrk9xbx4] {
    width: 17px;
    height: 17px;
}

.is-spinning[b-kmqrk9xbx4] {
    animation: admin-translation-spin-b-kmqrk9xbx4 .9s linear infinite;
}

@keyframes admin-translation-spin-b-kmqrk9xbx4 {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   SUMMARY
   ========================================================= */

.admin-translations-summary[b-kmqrk9xbx4] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-translations-summary-card[b-kmqrk9xbx4] {
    min-width: 0;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    padding: 15px;
    border: 1px solid var(--admin-line);
    border-radius: 17px;
    background: var(--admin-surface);
    box-shadow: 0 10px 25px rgba(24, 32, 55, .03);
}

.admin-translations-summary-icon[b-kmqrk9xbx4] {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--admin-accent);
    background: var(--admin-accent-soft);
}

.admin-translations-summary-card.is-success .admin-translations-summary-icon[b-kmqrk9xbx4] {
    color: var(--admin-success);
    background: rgba(39, 132, 103, .08);
}

.admin-translations-summary-card.is-danger .admin-translations-summary-icon[b-kmqrk9xbx4] {
    color: var(--admin-danger);
    background: rgba(201, 74, 82, .08);
}

.admin-translations-summary-card.is-ai .admin-translations-summary-icon[b-kmqrk9xbx4] {
    color: #725dc2;
    background: rgba(114, 93, 194, .08);
}

.admin-translations-summary-icon svg[b-kmqrk9xbx4] {
    width: 19px;
    height: 19px;
}

.admin-translations-summary-card > span:last-child[b-kmqrk9xbx4] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.admin-translations-summary-card small[b-kmqrk9xbx4],
.admin-translations-summary-card em[b-kmqrk9xbx4] {
    color: var(--admin-muted);
    font-size: 8px;
    font-weight: 750;
    font-style: normal;
    line-height: 1.45;
}

.admin-translations-summary-card strong[b-kmqrk9xbx4] {
    color: var(--admin-text);
    font-size: 19px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

/* =========================================================
   LIST PANEL / FILTERS
   ========================================================= */

.admin-translations-panel[b-kmqrk9xbx4] {
    overflow: hidden;
    border: 1px solid var(--admin-line);
    border-radius: 20px;
    background: var(--admin-surface);
    box-shadow: 0 12px 28px rgba(24, 32, 55, .035);
}

.admin-translations-panel-heading[b-kmqrk9xbx4] {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--admin-line);
}

.admin-translations-panel-heading h2[b-kmqrk9xbx4] {
    margin: 4px 0 0;
    color: var(--admin-text);
    font-size: 17px;
}

.admin-translations-panel-heading > small[b-kmqrk9xbx4] {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--admin-muted);
    background: var(--admin-surface-soft);
    font-size: 8px;
    font-weight: 750;
}

.admin-translations-toolbar[b-kmqrk9xbx4] {
    display: grid;
    grid-template-columns:
        minmax(230px, 1.25fr)
        repeat(4, minmax(120px, .55fr));
    gap: 8px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--admin-line);
    background: var(--admin-surface-soft);
}

.admin-translations-search[b-kmqrk9xbx4] {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 11px;
    border: 1px solid var(--admin-line);
    border-radius: 11px;
    background: var(--admin-surface-elevated);
}

.admin-translations-search:focus-within[b-kmqrk9xbx4] {
    border-color: rgba(24, 68, 198, .22);
    box-shadow: 0 0 0 3px rgba(24, 68, 198, .06);
}

.admin-translations-search svg[b-kmqrk9xbx4] {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: var(--admin-muted);
}

.admin-translations-search input[b-kmqrk9xbx4] {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--admin-text);
    background: transparent;
    font: inherit;
    font-size: 9px;
}

.admin-translations-search input[b-kmqrk9xbx4]::placeholder {
    color: var(--admin-muted);
}

.admin-translations-toolbar select[b-kmqrk9xbx4] {
    min-height: 40px;
    width: 100%;
    min-width: 0;
    padding: 0 9px;
    border: 1px solid var(--admin-line);
    border-radius: 11px;
    outline: 0;
    color: var(--admin-text-2);
    background: var(--admin-surface-elevated);
    font: inherit;
    font-size: 8.5px;
    font-weight: 700;
}

.admin-translations-search-button[b-kmqrk9xbx4],
.admin-translations-clear-button[b-kmqrk9xbx4] {
    width: 100%;
}

.admin-translations-clear-button[b-kmqrk9xbx4] {
    color: var(--admin-muted);
}

/* =========================================================
   TABLE
   ========================================================= */

.admin-translations-table-wrap[b-kmqrk9xbx4] {
    overflow-x: auto;
}

.admin-translations-table[b-kmqrk9xbx4] {
    width: 100%;
    min-width: 1160px;
    border-collapse: collapse;
    table-layout: fixed;
}

.admin-translations-table th[b-kmqrk9xbx4] {
    padding: 10px 9px;
    border-bottom: 1px solid var(--admin-line);
    color: var(--admin-muted);
    background: var(--admin-surface-soft);
    font-size: 7.3px;
    font-weight: 850;
    text-align: start;
    white-space: nowrap;
}

.admin-translations-table td[b-kmqrk9xbx4] {
    padding: 10px 9px;
    border-bottom: 1px solid var(--admin-line);
    color: var(--admin-text-2);
    vertical-align: middle;
}

.admin-translations-table tbody tr[b-kmqrk9xbx4] {
    transition: background 120ms ease;
}

.admin-translations-table tbody tr:hover[b-kmqrk9xbx4] {
    background: rgba(24, 68, 198, .025);
}

.admin-translations-table tbody tr:last-child td[b-kmqrk9xbx4] {
    border-bottom: 0;
}

.admin-translations-table th:nth-child(1)[b-kmqrk9xbx4],
.admin-translations-table td:nth-child(1)[b-kmqrk9xbx4] {
    width: 17%;
}

.admin-translations-table th:nth-child(2)[b-kmqrk9xbx4],
.admin-translations-table td:nth-child(2)[b-kmqrk9xbx4] {
    width: 13%;
}

.admin-translations-table th:nth-child(3)[b-kmqrk9xbx4],
.admin-translations-table td:nth-child(3)[b-kmqrk9xbx4] {
    width: 9%;
}

.admin-translations-table th:nth-child(4)[b-kmqrk9xbx4],
.admin-translations-table td:nth-child(4)[b-kmqrk9xbx4] {
    width: 10%;
}

.admin-translations-table th:nth-child(5)[b-kmqrk9xbx4],
.admin-translations-table td:nth-child(5)[b-kmqrk9xbx4] {
    width: 13%;
}

.admin-translations-table th:nth-child(6)[b-kmqrk9xbx4],
.admin-translations-table td:nth-child(6)[b-kmqrk9xbx4] {
    width: 9%;
}

.admin-translations-table th:nth-child(7)[b-kmqrk9xbx4],
.admin-translations-table td:nth-child(7)[b-kmqrk9xbx4] {
    width: 12%;
}

.admin-translations-table th:nth-child(8)[b-kmqrk9xbx4],
.admin-translations-table td:nth-child(8)[b-kmqrk9xbx4] {
    width: 10%;
}

.admin-translations-table th:nth-child(9)[b-kmqrk9xbx4],
.admin-translations-table td:nth-child(9)[b-kmqrk9xbx4] {
    width: 7%;
    text-align: center;
}

.admin-translation-source-cell[b-kmqrk9xbx4] {
    min-width: 0;
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
}

.admin-translation-source-icon[b-kmqrk9xbx4] {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(24, 68, 198, .10);
    border-radius: 10px;
    color: var(--admin-accent);
    background: var(--admin-accent-soft);
    font-size: 6.5px;
    font-weight: 900;
}

.admin-translation-source-cell > span:last-child[b-kmqrk9xbx4],
.admin-translation-value-cell[b-kmqrk9xbx4] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.admin-translation-source-cell strong[b-kmqrk9xbx4],
.admin-translation-value-cell strong[b-kmqrk9xbx4] {
    color: var(--admin-text);
    font-size: 8.5px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-translation-source-cell small[b-kmqrk9xbx4],
.admin-translation-value-cell small[b-kmqrk9xbx4] {
    color: var(--admin-muted);
    font-size: 6.8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-translation-language-cell[b-kmqrk9xbx4] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.admin-translation-language-cell span[b-kmqrk9xbx4] {
    min-width: 29px;
    display: inline-flex;
    justify-content: center;
    padding: 4px 5px;
    border: 1px solid var(--admin-line);
    border-radius: 7px;
    color: var(--admin-text-2);
    background: var(--admin-surface-soft);
    font-size: 6.7px;
    font-weight: 850;
}

.admin-translation-language-cell span.is-target[b-kmqrk9xbx4] {
    color: var(--admin-accent);
    border-color: rgba(24, 68, 198, .10);
    background: var(--admin-accent-soft);
}

.admin-translation-language-cell svg[b-kmqrk9xbx4] {
    width: 12px;
    height: 12px;
    color: var(--admin-muted);
}

.admin-translations-page[dir="rtl"] .admin-translation-language-cell svg[b-kmqrk9xbx4] {
    transform: rotate(180deg);
}

.admin-translation-status-cell[b-kmqrk9xbx4] {
    display: grid;
    justify-items: start;
    gap: 5px;
}

.admin-translation-status[b-kmqrk9xbx4] {
    display: inline-flex;
    align-items: center;
    min-height: 21px;
    padding: 0 7px;
    border-radius: 999px;
    color: var(--admin-muted);
    background: var(--admin-surface-soft);
    font-size: 6.8px;
    font-weight: 850;
    white-space: nowrap;
}

.admin-translation-status.is-active[b-kmqrk9xbx4] {
    color: var(--admin-accent);
    background: var(--admin-accent-soft);
}

.admin-translation-status.is-success[b-kmqrk9xbx4] {
    color: var(--admin-success);
    background: rgba(39, 132, 103, .08);
}

.admin-translation-status.is-warning[b-kmqrk9xbx4] {
    color: var(--admin-warning);
    background: rgba(169, 115, 31, .08);
}

.admin-translation-status.is-danger[b-kmqrk9xbx4] {
    color: var(--admin-danger);
    background: rgba(201, 74, 82, .08);
}

.admin-translation-progress[b-kmqrk9xbx4] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.admin-translation-progress > span[b-kmqrk9xbx4] {
    width: 54px;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(125, 130, 140, .13);
}

.admin-translation-progress > span i[b-kmqrk9xbx4] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--admin-accent);
}

.admin-translation-progress small[b-kmqrk9xbx4] {
    color: var(--admin-muted);
    font-size: 6.3px;
}

.admin-translation-actions[b-kmqrk9xbx4] {
    text-align: center;
}

.admin-translation-details-link[b-kmqrk9xbx4] {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--admin-line-strong);
    border-radius: 10px;
    color: var(--admin-text-2);
    background: var(--admin-surface-elevated);
    text-decoration: none;
    transition: 140ms ease;
}

.admin-translation-details-link:hover[b-kmqrk9xbx4] {
    transform: translateY(-1px);
    color: var(--admin-accent);
    border-color: rgba(24, 68, 198, .18);
    background: var(--admin-accent-soft);
}

.admin-translation-details-link svg[b-kmqrk9xbx4] {
    width: 15px;
    height: 15px;
}

/* =========================================================
   STATE / PAGINATION
   ========================================================= */

.admin-translation-state[b-kmqrk9xbx4] {
    min-height: 300px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 30px;
    text-align: center;
}

.admin-translation-state strong[b-kmqrk9xbx4] {
    color: var(--admin-text);
    font-size: 12px;
}

.admin-translation-state p[b-kmqrk9xbx4] {
    max-width: 560px;
    margin: 0;
    color: var(--admin-muted);
    font-size: 9px;
    line-height: 1.7;
}

.admin-translation-state.is-error strong[b-kmqrk9xbx4] {
    color: var(--admin-danger);
}

.admin-translation-state a[b-kmqrk9xbx4] {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--admin-accent);
    background: var(--admin-accent-soft);
    text-decoration: none;
    font-size: 8px;
    font-weight: 800;
}

.admin-translation-spinner[b-kmqrk9xbx4] {
    width: 30px;
    height: 30px;
    border: 3px solid var(--admin-line);
    border-top-color: var(--admin-accent);
    border-radius: 50%;
    animation: admin-translation-spin-b-kmqrk9xbx4 .85s linear infinite;
}

.admin-translations-pagination[b-kmqrk9xbx4] {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
    border-top: 1px solid var(--admin-line);
}

.admin-translations-pagination span[b-kmqrk9xbx4] {
    color: var(--admin-muted);
    font-size: 8px;
    font-weight: 750;
}

/* =========================================================
   DETAILS HERO
   ========================================================= */

.admin-translation-details-title[b-kmqrk9xbx4] {
    min-width: 0;
    max-width: 780px;
}

.admin-translation-back-link[b-kmqrk9xbx4] {
    width: fit-content;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
    padding: 0 11px;
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    color: var(--admin-text-2);
    background: var(--admin-surface-elevated);
    text-decoration: none;
    font-size: 9px;
    font-weight: 800;
    transition: 140ms ease;
}

.admin-translation-back-link:hover[b-kmqrk9xbx4] {
    color: var(--admin-accent);
    border-color: rgba(24, 68, 198, .16);
    background: var(--admin-accent-soft);
}

.admin-translation-back-link svg[b-kmqrk9xbx4] {
    width: 15px;
    height: 15px;
}

.admin-translation-details-page[dir="rtl"] .admin-translation-back-link svg[b-kmqrk9xbx4] {
    transform: rotate(180deg);
}

.admin-translation-job-chip[b-kmqrk9xbx4] {
    min-width: 300px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 12px 13px;
    border: 1px solid var(--admin-line);
    border-radius: 15px;
    background: var(--admin-surface-elevated);
}

.admin-translation-job-mark[b-kmqrk9xbx4] {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--admin-accent);
    background: var(--admin-accent-soft);
}

.admin-translation-job-mark svg[b-kmqrk9xbx4] {
    width: 21px;
    height: 21px;
}

.admin-translation-job-chip > div[b-kmqrk9xbx4] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.admin-translation-job-chip small[b-kmqrk9xbx4] {
    color: var(--admin-muted);
    font-size: 7px;
}

.admin-translation-job-chip strong[b-kmqrk9xbx4] {
    color: var(--admin-text);
    font-family: Consolas, "SFMono-Regular", monospace;
    font-size: 10px;
}

/* =========================================================
   DETAILS CARDS
   ========================================================= */

.admin-translation-details-grid[b-kmqrk9xbx4] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-translation-detail-card[b-kmqrk9xbx4],
.admin-translation-ai-log-card[b-kmqrk9xbx4],
.admin-translation-error-panel[b-kmqrk9xbx4] {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--admin-line);
    border-radius: 18px;
    background: var(--admin-surface);
    box-shadow: 0 10px 26px rgba(24, 32, 55, .028);
}

.admin-translation-section-header[b-kmqrk9xbx4] {
    min-height: 67px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 17px;
    border-bottom: 1px solid var(--admin-line);
}

.admin-translation-section-header h2[b-kmqrk9xbx4],
.admin-translation-section-title h2[b-kmqrk9xbx4],
.admin-translation-error-panel > header h2[b-kmqrk9xbx4] {
    margin: 4px 0 0;
    color: var(--admin-text);
    font-size: 15px;
}

.admin-translation-input-type[b-kmqrk9xbx4],
.admin-translation-count-badge[b-kmqrk9xbx4] {
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--admin-accent);
    background: var(--admin-accent-soft);
    font-size: 7px;
    font-weight: 850;
}

.admin-translation-info-grid[b-kmqrk9xbx4] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 0;
    padding: 15px 17px 17px;
}

.admin-translation-info-grid > div[b-kmqrk9xbx4] {
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid var(--admin-line);
    border-radius: 11px;
    background: var(--admin-surface-soft);
}

.admin-translation-info-grid > div.is-wide[b-kmqrk9xbx4] {
    grid-column: 1 / -1;
}

.admin-translation-info-grid dt[b-kmqrk9xbx4] {
    color: var(--admin-muted);
    font-size: 7.2px;
    font-weight: 750;
}

.admin-translation-info-grid dd[b-kmqrk9xbx4] {
    margin: 5px 0 0;
    color: var(--admin-text);
    font-size: 9px;
    font-weight: 760;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.admin-translation-wrap[b-kmqrk9xbx4] {
    word-break: break-all;
}

.admin-translation-user-link[b-kmqrk9xbx4] {
    color: var(--admin-accent);
    text-decoration: none;
}

.admin-translation-user-link:hover[b-kmqrk9xbx4] {
    text-decoration: underline;
}

.admin-translation-language-flow[b-kmqrk9xbx4] {
    display: grid;
    grid-template-columns: 1fr 30px 1fr;
    align-items: center;
    gap: 9px;
    padding: 16px 17px 4px;
}

.admin-translation-language-flow > div[b-kmqrk9xbx4] {
    min-width: 0;
    display: grid;
    gap: 3px;
    padding: 13px;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: var(--admin-surface-soft);
}

.admin-translation-language-flow span[b-kmqrk9xbx4] {
    color: var(--admin-muted);
    font-size: 7px;
}

.admin-translation-language-flow strong[b-kmqrk9xbx4] {
    color: var(--admin-text);
    font-size: 11px;
}

.admin-translation-language-flow small[b-kmqrk9xbx4] {
    color: var(--admin-accent);
    font-size: 7px;
    font-weight: 850;
}

.admin-translation-language-flow > svg[b-kmqrk9xbx4] {
    width: 18px;
    height: 18px;
    color: var(--admin-muted);
}

.admin-translation-details-page[dir="rtl"] .admin-translation-language-flow > svg[b-kmqrk9xbx4] {
    transform: rotate(180deg);
}

.admin-translation-config-grid[b-kmqrk9xbx4] {
    padding-top: 10px;
}

/* =========================================================
   DETAILS METRICS
   ========================================================= */

.admin-translation-metrics-section[b-kmqrk9xbx4] {
    display: grid;
    gap: 12px;
}

.admin-translation-section-title[b-kmqrk9xbx4] {
    padding: 0 3px;
}

.admin-translation-metrics-grid[b-kmqrk9xbx4] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.admin-translation-metric-card[b-kmqrk9xbx4] {
    min-width: 0;
    min-height: 112px;
    display: grid;
    align-content: space-between;
    gap: 7px;
    padding: 14px;
    border: 1px solid var(--admin-line);
    border-radius: 15px;
    background: var(--admin-surface);
    box-shadow: 0 8px 20px rgba(24, 32, 55, .025);
}

.admin-translation-metric-card > span[b-kmqrk9xbx4] {
    color: var(--admin-muted);
    font-size: 7.5px;
    font-weight: 780;
}

.admin-translation-metric-card > strong[b-kmqrk9xbx4] {
    color: var(--admin-text);
    font-size: 16px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.admin-translation-metric-card > small[b-kmqrk9xbx4] {
    color: var(--admin-muted);
    font-size: 7px;
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-translation-metric-card.is-progress > strong[b-kmqrk9xbx4],
.admin-translation-metric-card.is-ai > strong[b-kmqrk9xbx4],
.admin-translation-metric-card.is-cache > strong[b-kmqrk9xbx4] {
    color: var(--admin-accent);
}

.admin-translation-metric-card.is-credits > strong[b-kmqrk9xbx4],
.admin-translation-metric-card.is-saving > strong[b-kmqrk9xbx4] {
    color: var(--admin-success);
}

/* =========================================================
   SEGMENTS / ECONOMICS
   ========================================================= */

.admin-translation-segment-grid[b-kmqrk9xbx4],
.admin-translation-economics-grid[b-kmqrk9xbx4] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 15px 17px;
}

.admin-translation-segment-stat[b-kmqrk9xbx4],
.admin-translation-economics-grid > div[b-kmqrk9xbx4] {
    min-width: 0;
    display: grid;
    gap: 5px;
    padding: 11px;
    border: 1px solid var(--admin-line);
    border-radius: 11px;
    background: var(--admin-surface-soft);
}

.admin-translation-segment-stat span[b-kmqrk9xbx4],
.admin-translation-economics-grid span[b-kmqrk9xbx4] {
    color: var(--admin-muted);
    font-size: 7px;
    font-weight: 750;
}

.admin-translation-segment-stat strong[b-kmqrk9xbx4],
.admin-translation-economics-grid strong[b-kmqrk9xbx4] {
    color: var(--admin-text);
    font-size: 12px;
    font-weight: 900;
}

.admin-translation-segment-stat.is-success strong[b-kmqrk9xbx4] {
    color: var(--admin-success);
}

.admin-translation-segment-stat.is-danger strong[b-kmqrk9xbx4],
.admin-translation-economics-grid strong.is-danger[b-kmqrk9xbx4] {
    color: var(--admin-danger);
}

.admin-translation-segment-stat.is-active strong[b-kmqrk9xbx4],
.admin-translation-segment-stat.is-review strong[b-kmqrk9xbx4] {
    color: var(--admin-accent);
}

.admin-translation-segment-footer[b-kmqrk9xbx4] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 11px 17px 15px;
    border-top: 1px solid var(--admin-line);
    color: var(--admin-muted);
    font-size: 7px;
}

.admin-translation-segment-footer strong[b-kmqrk9xbx4] {
    color: var(--admin-text);
}

/* =========================================================
   ERROR PANEL
   ========================================================= */

.admin-translation-error-panel[b-kmqrk9xbx4] {
    padding-bottom: 14px;
    border-color: rgba(201, 74, 82, .15);
}

.admin-translation-error-panel > header[b-kmqrk9xbx4] {
    padding: 14px 17px;
    border-bottom: 1px solid rgba(201, 74, 82, .10);
    background: rgba(201, 74, 82, .04);
}

.admin-translation-error-panel > header > span[b-kmqrk9xbx4],
.admin-translation-error-panel > header h2[b-kmqrk9xbx4] {
    color: var(--admin-danger);
}

.admin-translation-error-panel > div[b-kmqrk9xbx4] {
    display: grid;
    gap: 5px;
    margin: 12px 14px 0;
    padding: 10px 11px;
    border-radius: 10px;
    background: var(--admin-surface-soft);
}

.admin-translation-error-panel > div > span[b-kmqrk9xbx4] {
    color: var(--admin-muted);
    font-size: 7px;
    font-weight: 750;
}

.admin-translation-error-panel code[b-kmqrk9xbx4] {
    color: var(--admin-danger);
    font-size: 8px;
}

.admin-translation-error-panel p[b-kmqrk9xbx4] {
    margin: 0;
    color: var(--admin-text-2);
    font-size: 8px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

/* =========================================================
   AI LOG
   ========================================================= */

.admin-translation-ai-log-card[b-kmqrk9xbx4] {
    overflow: hidden;
}

.admin-translation-ai-log[b-kmqrk9xbx4] {
    overflow-x: auto;
}

.admin-translation-ai-log-head[b-kmqrk9xbx4],
.admin-translation-ai-log-row[b-kmqrk9xbx4] {
    min-width: 850px;
    display: grid;
    grid-template-columns: 1.1fr 1.7fr .8fr 1fr .8fr .8fr 1.15fr;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
}

.admin-translation-ai-log-head[b-kmqrk9xbx4] {
    color: var(--admin-muted);
    background: var(--admin-surface-soft);
    font-size: 7px;
    font-weight: 850;
}

.admin-translation-ai-log-row[b-kmqrk9xbx4] {
    min-height: 48px;
    border-top: 1px solid var(--admin-line);
    color: var(--admin-text-2);
    font-size: 7.5px;
}

.admin-translation-ai-log-row strong[b-kmqrk9xbx4] {
    color: var(--admin-text);
}

.admin-translation-ai-log-row .is-success[b-kmqrk9xbx4] {
    color: var(--admin-success);
    font-weight: 850;
}

.admin-translation-ai-log-row .is-danger[b-kmqrk9xbx4] {
    color: var(--admin-danger);
    font-weight: 850;
}

.admin-translation-empty-log[b-kmqrk9xbx4] {
    margin: 0;
    padding: 24px 17px;
    color: var(--admin-muted);
    font-size: 8px;
    text-align: center;
}

.admin-translation-readonly-note[b-kmqrk9xbx4] {
    padding: 10px 12px;
    border: 1px solid rgba(169, 115, 31, .12);
    border-radius: 11px;
    color: var(--admin-warning);
    background: rgba(169, 115, 31, .06);
    font-size: 8px;
    line-height: 1.65;
}

/* =========================================================
   DARK MODE
   ========================================================= */

html[data-theme="dark"] .admin-translations-hero[b-kmqrk9xbx4],
html[data-theme="dark"] .admin-translation-details-hero[b-kmqrk9xbx4],
html[data-theme="dark"] .admin-translations-summary-card[b-kmqrk9xbx4],
html[data-theme="dark"] .admin-translations-panel[b-kmqrk9xbx4],
html[data-theme="dark"] .admin-translation-detail-card[b-kmqrk9xbx4],
html[data-theme="dark"] .admin-translation-metric-card[b-kmqrk9xbx4],
html[data-theme="dark"] .admin-translation-ai-log-card[b-kmqrk9xbx4] {
    box-shadow: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1350px) {
    .admin-translations-toolbar[b-kmqrk9xbx4] {
        grid-template-columns:
            minmax(220px, 1.2fr)
            repeat(3, minmax(125px, .55fr));
    }
}

@media (max-width: 1180px) {
    .admin-translations-summary[b-kmqrk9xbx4],
    .admin-translation-metrics-grid[b-kmqrk9xbx4] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-translation-details-hero[b-kmqrk9xbx4] {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-translation-job-chip[b-kmqrk9xbx4] {
        width: 100%;
        min-width: 0;
    }

    .admin-translation-details-grid[b-kmqrk9xbx4] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .admin-translations-hero[b-kmqrk9xbx4] {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-translations-refresh[b-kmqrk9xbx4] {
        width: 100%;
    }

    .admin-translations-toolbar[b-kmqrk9xbx4] {
        grid-template-columns: 1fr 1fr;
    }

    .admin-translations-search[b-kmqrk9xbx4] {
        grid-column: 1 / -1;
    }

    .admin-translations-table[b-kmqrk9xbx4] {
        min-width: 0;
    }

    .admin-translations-table[b-kmqrk9xbx4],
    .admin-translations-table tbody[b-kmqrk9xbx4],
    .admin-translations-table tr[b-kmqrk9xbx4],
    .admin-translations-table td[b-kmqrk9xbx4] {
        display: block;
        width: 100%;
    }

    .admin-translations-table thead[b-kmqrk9xbx4] {
        display: none;
    }

    .admin-translations-table tbody[b-kmqrk9xbx4] {
        display: grid;
        gap: 10px;
        padding: 12px;
        background: var(--admin-surface-soft);
    }

    .admin-translations-table tr[b-kmqrk9xbx4] {
        overflow: hidden;
        border: 1px solid var(--admin-line);
        border-radius: 14px;
        background: var(--admin-surface);
    }

    .admin-translations-table td[b-kmqrk9xbx4] {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
    }

    .admin-translations-table td[b-kmqrk9xbx4]::before {
        content: attr(data-label);
        color: var(--admin-muted);
        font-size: 7px;
        font-weight: 800;
    }

    .admin-translations-table td:first-child[b-kmqrk9xbx4] {
        display: block;
        background: var(--admin-surface-soft);
    }

    .admin-translations-table td:first-child[b-kmqrk9xbx4]::before,
    .admin-translations-table td:last-child[b-kmqrk9xbx4]::before {
        display: none;
    }

    .admin-translations-table td:last-child[b-kmqrk9xbx4] {
        display: flex;
        justify-content: flex-end;
    }
}

@media (max-width: 650px) {
    .admin-translations-summary[b-kmqrk9xbx4],
    .admin-translations-toolbar[b-kmqrk9xbx4],
    .admin-translation-metrics-grid[b-kmqrk9xbx4],
    .admin-translation-info-grid[b-kmqrk9xbx4],
    .admin-translation-segment-grid[b-kmqrk9xbx4],
    .admin-translation-economics-grid[b-kmqrk9xbx4] {
        grid-template-columns: 1fr;
    }

    .admin-translations-hero[b-kmqrk9xbx4],
    .admin-translation-details-hero[b-kmqrk9xbx4] {
        padding: 20px 18px;
        border-radius: 18px;
    }

    .admin-translations-search[b-kmqrk9xbx4] {
        grid-column: auto;
    }

    .admin-translation-info-grid > div.is-wide[b-kmqrk9xbx4] {
        grid-column: auto;
    }

    .admin-translation-language-flow[b-kmqrk9xbx4] {
        grid-template-columns: 1fr;
    }

    .admin-translation-language-flow > svg[b-kmqrk9xbx4] {
        justify-self: center;
        transform: rotate(90deg);
    }

    .admin-translation-details-page[dir="rtl"] .admin-translation-language-flow > svg[b-kmqrk9xbx4] {
        transform: rotate(90deg);
    }

    .admin-translation-job-chip[b-kmqrk9xbx4] {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .admin-translation-job-chip > .admin-translation-status[b-kmqrk9xbx4] {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

/* =========================================================
   STAGE 4.2 — SENSITIVE JOB OPERATIONS
   ========================================================= */

.admin-translation-actions-card[b-kmqrk9xbx4],
.admin-translation-audit-card[b-kmqrk9xbx4] {
    margin-top: 18px;
    padding: 20px;
    border: 1px solid var(--admin-line);
    border-radius: 18px;
    background: var(--admin-surface);
}

.admin-translation-actions-card > p[b-kmqrk9xbx4] {
    margin: 10px 0 0;
    color: var(--admin-muted);
    font-size: 8.5px;
    line-height: 1.75;
}

.admin-translation-action-buttons[b-kmqrk9xbx4] {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.admin-translation-action-buttons button[b-kmqrk9xbx4],
.admin-translation-action-buttons a[b-kmqrk9xbx4],
.admin-translation-modal-confirm[b-kmqrk9xbx4],
.admin-translation-modal-cancel[b-kmqrk9xbx4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-size: 8px;
    font-weight: 850;
    cursor: pointer;
}

.admin-translation-action-buttons .is-primary[b-kmqrk9xbx4],
.admin-translation-modal-confirm[b-kmqrk9xbx4] {
    color: #fff;
    background: var(--admin-accent);
}

.admin-translation-action-buttons .is-warning[b-kmqrk9xbx4] {
    color: #fff;
    background: var(--admin-warning);
}

.admin-translation-action-buttons .is-danger[b-kmqrk9xbx4] {
    color: #fff;
    background: var(--admin-danger);
}

.admin-translation-action-buttons a[b-kmqrk9xbx4],
.admin-translation-modal-cancel[b-kmqrk9xbx4] {
    text-decoration: none;
}

.admin-translation-action-buttons button:disabled[b-kmqrk9xbx4],
.admin-translation-modal-confirm:disabled[b-kmqrk9xbx4],
.admin-translation-modal-cancel:disabled[b-kmqrk9xbx4] {
    cursor: not-allowed;
    opacity: .55;
}

.admin-translation-actions-unavailable[b-kmqrk9xbx4] {
    color: var(--admin-muted);
    font-size: 8px;
}

.admin-translation-action-success[b-kmqrk9xbx4],
.admin-translation-action-error[b-kmqrk9xbx4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 14px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 8px;
}

.admin-translation-action-success[b-kmqrk9xbx4] {
    color: var(--admin-success);
    background: color-mix(in srgb, var(--admin-success) 8%, transparent);
}

.admin-translation-action-success code[b-kmqrk9xbx4] {
    color: var(--admin-muted);
    font-size: 7px;
}

.admin-translation-audit-list[b-kmqrk9xbx4] {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.admin-translation-audit-list article[b-kmqrk9xbx4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 12px;
    border: 1px solid var(--admin-line);
    border-radius: 11px;
    background: var(--admin-surface-soft);
}

.admin-translation-audit-list article > div[b-kmqrk9xbx4] {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-translation-audit-list article > div:last-child[b-kmqrk9xbx4] {
    justify-items: end;
    text-align: end;
}

.admin-translation-audit-list strong[b-kmqrk9xbx4] {
    color: var(--admin-text);
    font-size: 8px;
}

.admin-translation-audit-list small[b-kmqrk9xbx4],
.admin-translation-audit-list code[b-kmqrk9xbx4] {
    color: var(--admin-muted);
    font-size: 7px;
}

.admin-translation-action-modal-backdrop[b-kmqrk9xbx4] {
    display: block;
    position: fixed;
    z-index: 80;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(13, 23, 42, .5);
}

.admin-translation-action-modal[b-kmqrk9xbx4] {
    position: fixed;
    z-index: 81;
    top: 50%;
    left: 50%;
    width: min(460px, calc(100vw - 32px));
    overflow: hidden;
    border: 1px solid var(--admin-line);
    border-radius: 18px;
    background: var(--admin-surface);
    box-shadow: 0 24px 70px rgba(16, 24, 40, .26);
    transform: translate(-50%, -50%);
}

.admin-translation-action-modal > header[b-kmqrk9xbx4],
.admin-translation-action-modal > footer[b-kmqrk9xbx4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--admin-line);
}

.admin-translation-action-modal > header span[b-kmqrk9xbx4] {
    color: var(--admin-danger);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .07em;
}

.admin-translation-action-modal > header h2[b-kmqrk9xbx4] {
    margin: 5px 0 0;
    color: var(--admin-text);
    font-size: 15px;
}

.admin-translation-action-modal > header > button[b-kmqrk9xbx4],
.admin-translation-action-modal > header > a[b-kmqrk9xbx4] {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    color: var(--admin-muted);
    background: var(--admin-surface-soft);
    cursor: pointer;
    text-decoration: none;
}

.admin-translation-action-modal-body[b-kmqrk9xbx4] {
    padding: 18px;
}

.admin-translation-action-modal-body > p[b-kmqrk9xbx4] {
    margin: 0 0 14px;
    color: var(--admin-text-2);
    font-size: 8.5px;
    line-height: 1.8;
}

.admin-translation-action-modal label[b-kmqrk9xbx4] {
    display: grid;
    gap: 7px;
    color: var(--admin-text);
    font-size: 8px;
    font-weight: 800;
}

.admin-translation-action-modal textarea[b-kmqrk9xbx4] {
    min-height: 98px;
    resize: vertical;
    padding: 10px;
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    outline: none;
    color: var(--admin-text);
    background: var(--admin-surface-soft);
    font: inherit;
    font-size: 9px;
}

.admin-translation-action-error[b-kmqrk9xbx4] {
    color: var(--admin-danger);
    background: color-mix(in srgb, var(--admin-danger) 8%, transparent);
}

.admin-translation-action-modal > footer[b-kmqrk9xbx4] {
    justify-content: end;
    border-top: 1px solid var(--admin-line);
    border-bottom: 0;
}

.admin-translation-modal-cancel[b-kmqrk9xbx4] {
    color: var(--admin-text-2);
    background: var(--admin-surface-soft);
}

@media (max-width: 650px) {
    .admin-translation-audit-list article[b-kmqrk9xbx4] {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-translation-audit-list article > div:last-child[b-kmqrk9xbx4] {
        justify-items: start;
        text-align: start;
    }
}

/* =========================================================
   PHASE 5.2 — ADMIN TRANSLATION UX FINALIZATION
   ========================================================= */

.admin-translation-command-bar[b-kmqrk9xbx4] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--admin-line);
    border-radius: 16px;
    background: var(--admin-surface);
    box-shadow: 0 10px 24px rgba(24, 32, 55, .025);
}

.admin-translation-command-bar > div[b-kmqrk9xbx4] {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 4px;
    padding: 10px 11px;
    border: 1px solid var(--admin-line);
    border-radius: 11px;
    background: var(--admin-surface-soft);
}

.admin-translation-command-bar > div > span:first-child[b-kmqrk9xbx4] {
    color: var(--admin-muted);
    font-size: 6.5px;
    font-weight: 850;
    letter-spacing: .055em;
}

.admin-translation-command-bar strong[b-kmqrk9xbx4] {
    min-width: 0;
    color: var(--admin-text);
    font-size: 9px;
    overflow-wrap: anywhere;
}

.admin-translation-command-bar small[b-kmqrk9xbx4] {
    min-width: 0;
    color: var(--admin-muted);
    font-size: 7px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.admin-translation-command-state > .admin-translation-status[b-kmqrk9xbx4] {
    width: fit-content;
    margin-top: 1px;
}

.admin-translation-action-grid[b-kmqrk9xbx4] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-translation-action-grid > a[b-kmqrk9xbx4],
.admin-translation-action-grid > .admin-translation-action-disabled[b-kmqrk9xbx4] {
    min-width: 0;
    min-height: 58px;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 3px;
    padding: 10px 12px;
    border-radius: 11px;
}

.admin-translation-action-grid > a strong[b-kmqrk9xbx4],
.admin-translation-action-grid > .admin-translation-action-disabled strong[b-kmqrk9xbx4] {
    font-size: 8.5px;
}

.admin-translation-action-grid > a small[b-kmqrk9xbx4],
.admin-translation-action-grid > .admin-translation-action-disabled small[b-kmqrk9xbx4] {
    font-size: 6.7px;
    line-height: 1.45;
    text-align: start;
}

.admin-translation-action-grid > a small[b-kmqrk9xbx4] {
    color: rgba(255, 255, 255, .82);
}

.admin-translation-action-disabled[b-kmqrk9xbx4] {
    border: 1px dashed var(--admin-line-strong);
    color: var(--admin-muted);
    background: var(--admin-surface-soft);
    cursor: not-allowed;
}

.admin-translation-action-disabled strong[b-kmqrk9xbx4] {
    color: var(--admin-text-2);
    opacity: .78;
}

.admin-translation-action-disabled small[b-kmqrk9xbx4] {
    color: var(--admin-muted);
}

.admin-translation-actions-unavailable[b-kmqrk9xbx4] {
    display: block;
    margin-top: 10px;
    padding: 9px 10px;
    border: 1px dashed var(--admin-line);
    border-radius: 9px;
    background: var(--admin-surface-soft);
    line-height: 1.65;
}

.admin-translation-row-flags[b-kmqrk9xbx4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.admin-translation-row-flags > span[b-kmqrk9xbx4],
.admin-translation-row-flags > em[b-kmqrk9xbx4] {
    padding: 2px 5px;
    border-radius: 999px;
    color: var(--admin-muted);
    background: var(--admin-surface-soft);
    font-size: 5.8px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.35;
}

.admin-translation-row-flags > em.is-danger[b-kmqrk9xbx4] {
    color: var(--admin-danger);
    background: color-mix(in srgb, var(--admin-danger) 8%, transparent);
}

.admin-translation-row-flags > em.is-success[b-kmqrk9xbx4] {
    color: var(--admin-success);
    background: color-mix(in srgb, var(--admin-success) 8%, transparent);
}

.admin-translation-credit-stack[b-kmqrk9xbx4] {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.admin-translation-credit-stack > div[b-kmqrk9xbx4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.admin-translation-credit-stack > div > span[b-kmqrk9xbx4] {
    color: var(--admin-muted);
    font-size: 5.9px;
    font-weight: 750;
}

.admin-translation-credit-stack > div > strong[b-kmqrk9xbx4] {
    color: var(--admin-text-2);
    font-size: 7.6px;
    font-weight: 900;
}

.admin-translation-credit-stack > div.has-reservation[b-kmqrk9xbx4] {
    padding: 3px 5px;
    border-radius: 7px;
    background: color-mix(in srgb, var(--admin-warning) 7%, transparent);
}

.admin-translation-credit-stack > div.has-reservation > span[b-kmqrk9xbx4],
.admin-translation-credit-stack > div.has-reservation > strong[b-kmqrk9xbx4] {
    color: var(--admin-warning);
}

.admin-translation-credit-stack > small[b-kmqrk9xbx4] {
    color: var(--admin-muted);
    font-size: 5.9px;
}

.admin-translation-details-link[b-kmqrk9xbx4] {
    width: auto;
    min-width: 58px;
    height: 34px;
    grid-auto-flow: column;
    gap: 5px;
    padding: 0 8px;
}

.admin-translation-details-link > span[b-kmqrk9xbx4] {
    font-size: 6.4px;
    font-weight: 850;
}

.admin-translation-operation-trace[b-kmqrk9xbx4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 12px 0 14px;
}

.admin-translation-operation-trace > div[b-kmqrk9xbx4] {
    min-width: 0;
    padding: 8px 9px;
    border: 1px solid var(--admin-line);
    border-radius: 9px;
    background: var(--admin-surface-soft);
}

.admin-translation-operation-trace > div:first-child[b-kmqrk9xbx4] {
    grid-column: 1 / -1;
}

.admin-translation-operation-trace span[b-kmqrk9xbx4],
.admin-translation-operation-trace strong[b-kmqrk9xbx4],
.admin-translation-operation-trace code[b-kmqrk9xbx4] {
    display: block;
}

.admin-translation-operation-trace span[b-kmqrk9xbx4] {
    margin-bottom: 4px;
    color: var(--admin-muted);
    font-size: 6.2px;
    font-weight: 800;
}

.admin-translation-operation-trace strong[b-kmqrk9xbx4],
.admin-translation-operation-trace code[b-kmqrk9xbx4] {
    color: var(--admin-text-2);
    font-size: 7px;
    overflow-wrap: anywhere;
}

.admin-translation-action-modal-body label > small[b-kmqrk9xbx4] {
    display: block;
    margin-top: 5px;
    color: var(--admin-muted);
    font-size: 6.5px;
    line-height: 1.55;
}

@media (max-width: 980px) {
    .admin-translation-command-bar[b-kmqrk9xbx4] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-translation-action-grid[b-kmqrk9xbx4] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .admin-translation-command-bar[b-kmqrk9xbx4],
    .admin-translation-operation-trace[b-kmqrk9xbx4] {
        grid-template-columns: 1fr;
    }

    .admin-translation-operation-trace > div:first-child[b-kmqrk9xbx4] {
        grid-column: auto;
    }

    .admin-translation-details-link[b-kmqrk9xbx4] {
        min-width: 44px;
    }

    .admin-translation-details-link > span[b-kmqrk9xbx4] {
        display: none;
    }
}

/* _content/AITranslationPlatform.Web/Components/Admin/Users/AdminUserFeedback.razor.rz.scp.css */
.auf[b-vrxhtva66n] { margin-top: 18px; padding: 20px 22px; background: #fff; border: 1px solid #e2e8f3; border-radius: 16px; box-shadow: 0 8px 25px rgba(37, 55, 94, .045); }
.auf-head[b-vrxhtva66n] { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #edf1f7; }
.auf-head span[b-vrxhtva66n] { color: #506de5; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.auf-head h3[b-vrxhtva66n] { margin: 6px 0 0; font-size: 16px; }
.auf-head a[b-vrxhtva66n], .auf li a[b-vrxhtva66n] { color: #3156db; font-size: 12px; font-weight: 700; text-decoration: none; }
.auf ul[b-vrxhtva66n] { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.auf li[b-vrxhtva66n] { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid #edf1f7; border-radius: 12px; background: #fbfcff; }
.auf li > div[b-vrxhtva66n] { display: grid; gap: 6px; min-width: 0; }
.auf-score[b-vrxhtva66n] { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; color: #fff; font-weight: 900; }
.auf-score--low[b-vrxhtva66n] { background: #d64757; }
.auf-score--mid[b-vrxhtva66n] { background: #e0a920; }
.auf-score--high[b-vrxhtva66n] { background: #2a9a62; }
.auf-meta[b-vrxhtva66n] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.auf-meta small[b-vrxhtva66n] { color: #8793a8; font-size: 11px; }
.auf-meta em[b-vrxhtva66n] { padding: 2px 8px; border-radius: 99px; font-style: normal; font-size: 11px; font-weight: 700; }
.auf-meta .bad[b-vrxhtva66n] { background: #fdecee; color: #b83442; }
.auf-meta .good[b-vrxhtva66n] { background: #e6f6ec; color: #176e40; }
.auf li p[b-vrxhtva66n] { margin: 0; color: #23324b; font-size: 13px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
/* _content/AITranslationPlatform.Web/Components/Admin/Users/AdminUserProjects.razor.rz.scp.css */
/* One list of everything a customer made, each row opening onto the files given
   and the files made. Only the admin's tokens, so the dark theme needs nothing. */

.aup[b-zcs8c65ka0] {
    --aup-hue: var(--admin-accent);
    position: relative;
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 16px 18px 18px;
    border: 1px solid var(--admin-line);
    border-radius: 18px;
    background: var(--admin-surface);
    box-shadow: 0 10px 26px rgba(24, 32, 55, .028);
}

.aup-head[b-zcs8c65ka0] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

    .aup-head span[b-zcs8c65ka0] {
        color: var(--admin-accent);
        font-size: 8px;
        font-weight: 900;
        letter-spacing: .11em;
    }

    .aup-head h3[b-zcs8c65ka0] {
        margin: 4px 0 0;
        color: var(--admin-text);
        font-size: 16px;
    }

    .aup-head small[b-zcs8c65ka0] {
        display: block;
        margin-top: 4px;
        color: var(--admin-muted);
        font-size: 11px;
        line-height: 1.7;
    }

    .aup-head > strong[b-zcs8c65ka0] {
        flex: 0 0 auto;
        min-width: 42px;
        padding: 6px 12px;
        border-radius: 12px;
        background: var(--admin-accent-soft);
        color: var(--admin-accent);
        font-size: 18px;
        text-align: center;
    }

.aup-empty[b-zcs8c65ka0],
.aup-none[b-zcs8c65ka0] {
    margin: 0;
    color: var(--admin-muted);
    font-size: 12px;
}

.aup-error[b-zcs8c65ka0],
.aup-failed[b-zcs8c65ka0] {
    margin: 0;
    padding: 8px 12px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--admin-danger) 9%, transparent);
    color: var(--admin-danger);
    font-size: 12px;
}

/* ---- the filters: radio buttons the stylesheet reads (no live circuit) ---- */

.aup-input[b-zcs8c65ka0] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.aup-filters[b-zcs8c65ka0] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.aup-chip[b-zcs8c65ka0] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border: 1px solid var(--admin-line-strong);
    border-radius: 999px;
    background: var(--admin-surface);
    color: var(--admin-text-2);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

    .aup-chip b[b-zcs8c65ka0] {
        padding: 0 6px;
        border-radius: 999px;
        background: var(--admin-surface-soft);
        color: var(--admin-muted);
        font-size: 11px;
    }

    .aup-chip:hover[b-zcs8c65ka0] {
        border-color: var(--admin-accent);
        color: var(--admin-accent);
    }

.aup-input:checked + .aup-chip[b-zcs8c65ka0],
.aup:has(#aup-f-all:checked) .aup-chip--all[b-zcs8c65ka0] {
    border-color: var(--admin-accent);
    background: var(--admin-accent);
    color: #fff;
}

    .aup-input:checked + .aup-chip b[b-zcs8c65ka0],
    .aup:has(#aup-f-all:checked) .aup-chip--all b[b-zcs8c65ka0] {
        background: rgba(255, 255, 255, .22);
        color: #fff;
    }

.aup-input:focus-visible + .aup-chip[b-zcs8c65ka0] {
    outline: 2px solid var(--admin-accent);
    outline-offset: 2px;
}

.aup:has(#aup-f-translation:checked) .aup-item:not(.aup-item--translation)[b-zcs8c65ka0],
.aup:has(#aup-f-voice:checked) .aup-item:not(.aup-item--voice)[b-zcs8c65ka0],
.aup:has(#aup-f-tools:checked) .aup-item:not(.aup-item--tools)[b-zcs8c65ka0],
.aup:has(#aup-f-article:checked) .aup-item:not(.aup-item--article)[b-zcs8c65ka0],
.aup:has(#aup-f-dubbing:checked) .aup-item:not(.aup-item--dubbing)[b-zcs8c65ka0],
.aup:has(#aup-f-defense:checked) .aup-item:not(.aup-item--defense)[b-zcs8c65ka0],
.aup:has(#aup-f-instagram:checked) .aup-item:not(.aup-item--instagram)[b-zcs8c65ka0] {
    display: none;
}

/* "All" shows the latest few until "show all" is ticked; one part shows all of it. */
.aup:has(#aup-f-all:checked):not(:has(#aup-more:checked)) .aup-item.is-extra[b-zcs8c65ka0] {
    display: none;
}

/* ---- the rows ---- */

.aup-list[b-zcs8c65ka0] {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aup-item[b-zcs8c65ka0] {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--admin-line);
    border-radius: 13px;
    background: var(--admin-surface-soft);
    transition: border-color .15s ease, background .15s ease;
}

    .aup-item:has(details[open])[b-zcs8c65ka0] {
        border-color: color-mix(in srgb, var(--aup-hue) 40%, transparent);
        background: var(--admin-surface);
    }

.aup-item--translation[b-zcs8c65ka0] { --aup-hue: #3f7fd6; }
.aup-item--voice[b-zcs8c65ka0] { --aup-hue: #d6941b; }
.aup-item--tools[b-zcs8c65ka0] { --aup-hue: #2f9e94; }
.aup-item--article[b-zcs8c65ka0] { --aup-hue: #4f9a45; }
.aup-item--dubbing[b-zcs8c65ka0] { --aup-hue: #a463c9; }
.aup-item--defense[b-zcs8c65ka0] { --aup-hue: #c9605f; }
.aup-item--instagram[b-zcs8c65ka0] { --aup-hue: #d6487e; }

.aup-row[b-zcs8c65ka0] {
    list-style: none;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 9px 12px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: start;
    cursor: pointer;
}

    .aup-row[b-zcs8c65ka0]::-webkit-details-marker {
        display: none;
    }

    .aup-row:hover .aup-title strong[b-zcs8c65ka0] {
        color: var(--aup-hue);
    }

.aup-kind[b-zcs8c65ka0] {
    min-width: 92px;
    padding: 4px 9px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--aup-hue) 13%, transparent);
    color: color-mix(in srgb, var(--aup-hue) 80%, var(--admin-text));
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
}

.aup-title[b-zcs8c65ka0] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

    .aup-title strong[b-zcs8c65ka0] {
        overflow: hidden;
        color: var(--admin-text);
        font-size: 13px;
        text-overflow: ellipsis;
        white-space: nowrap;
        transition: color .15s ease;
    }

    .aup-title small[b-zcs8c65ka0],
    .aup-file-text small[b-zcs8c65ka0] {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 5px;
        min-width: 0;
        color: var(--admin-muted);
        font-size: 11px;
    }

    .aup-title i[b-zcs8c65ka0],
    .aup-file-text i[b-zcs8c65ka0] {
        font-style: normal;
        opacity: .6;
    }

.aup-status[b-zcs8c65ka0] {
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--admin-surface);
    color: var(--admin-muted);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

    .aup-status.is-ok[b-zcs8c65ka0] {
        background: color-mix(in srgb, var(--admin-success) 12%, transparent);
        color: var(--admin-success);
    }

    .aup-status.is-failed[b-zcs8c65ka0] {
        background: color-mix(in srgb, var(--admin-danger) 12%, transparent);
        color: var(--admin-danger);
    }

    .aup-status.is-pending[b-zcs8c65ka0] {
        background: color-mix(in srgb, var(--admin-warning) 13%, transparent);
        color: var(--admin-warning);
    }

.aup-chevron[b-zcs8c65ka0] {
    color: var(--admin-muted);
    transition: transform .18s ease;
}

details[open] .aup-chevron[b-zcs8c65ka0] {
    transform: rotate(180deg);
}

/* ---- inside a row ---- */

.aup-body[b-zcs8c65ka0] {
    display: grid;
    gap: 10px;
    padding: 2px 12px 12px;
    border-top: 1px solid var(--admin-line);
}

.aup-meta[b-zcs8c65ka0] {
    margin: 8px 0 0;
    color: var(--admin-text-2);
    font-size: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.aup-groups[b-zcs8c65ka0] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.aup-group[b-zcs8c65ka0] {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
}

    .aup-group h4[b-zcs8c65ka0] {
        display: flex;
        align-items: center;
        gap: 6px;
        margin: 0;
        color: var(--admin-text-2);
        font-size: 11px;
        font-weight: 800;
    }

        .aup-group h4 b[b-zcs8c65ka0] {
            padding: 0 6px;
            border-radius: 999px;
            background: var(--admin-surface-soft);
            color: var(--admin-muted);
            font-size: 10px;
        }

.aup-files[b-zcs8c65ka0] {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aup-file[b-zcs8c65ka0] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 10px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    background: var(--admin-surface-soft);
}

    .aup-file.is-gone[b-zcs8c65ka0] {
        border-style: dashed;
        background: transparent;
        opacity: .75;
    }

    .aup-file video[b-zcs8c65ka0],
    .aup-file audio[b-zcs8c65ka0],
    .aup-file img[b-zcs8c65ka0] {
        grid-column: 1 / -1;
        display: block;
        max-width: 100%;
    }

    .aup-file video[b-zcs8c65ka0] {
        width: min(100%, 420px);
        aspect-ratio: 16 / 9;
        border-radius: 8px;
        background: #000;
    }

    .aup-file audio[b-zcs8c65ka0] {
        width: 100%;
        height: 34px;
    }

    .aup-file img[b-zcs8c65ka0] {
        max-height: 150px;
        border-radius: 8px;
        background: #fff;
    }

.aup-file-text[b-zcs8c65ka0] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

    .aup-file-text strong[b-zcs8c65ka0] {
        color: var(--admin-text);
        font-size: 12px;
    }

    .aup-file-text bdi[b-zcs8c65ka0] {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.aup-file-actions[b-zcs8c65ka0] {
    display: flex;
    gap: 5px;
}

    .aup-file-actions a[b-zcs8c65ka0] {
        padding: 4px 10px;
        border: 1px solid var(--admin-line-strong);
        border-radius: 8px;
        background: var(--admin-surface);
        color: var(--admin-accent);
        font-size: 11px;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }

        .aup-file-actions a:hover[b-zcs8c65ka0] {
            border-color: var(--admin-accent);
            background: var(--admin-accent-soft);
        }

.aup-more[b-zcs8c65ka0] {
    display: block;
    padding: 9px;
    border: 1px dashed var(--admin-line-strong);
    border-radius: 12px;
    color: var(--admin-accent);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

    .aup-more:hover[b-zcs8c65ka0] {
        background: var(--admin-accent-soft);
    }

.aup-more-hide[b-zcs8c65ka0],
.aup:has(#aup-more:checked) .aup-more-show[b-zcs8c65ka0] {
    display: none;
}

.aup:has(#aup-more:checked) .aup-more-hide[b-zcs8c65ka0] {
    display: inline;
}

.aup:not(:has(#aup-f-all:checked)) .aup-more[b-zcs8c65ka0] {
    display: none;
}

@media (max-width: 900px) {
    .aup-groups[b-zcs8c65ka0] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 620px) {
    .aup[b-zcs8c65ka0] {
        padding: 14px;
    }

    .aup-row[b-zcs8c65ka0] {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px 10px;
    }

    .aup-kind[b-zcs8c65ka0] {
        justify-self: start;
        min-width: 0;
    }

    .aup-title[b-zcs8c65ka0] {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .aup-chevron[b-zcs8c65ka0] {
        display: none;
    }
}
/* _content/AITranslationPlatform.Web/Components/Admin/Users/AdminUsers.razor.rz.scp.css */

.admin-users-page[b-nyan6ze6yd] {
    display: grid;
    gap: 18px;
}

.admin-users-hero[b-nyan6ze6yd],
.admin-users-panel[b-nyan6ze6yd],
.admin-users-summary-card[b-nyan6ze6yd],
.admin-user-profile-card[b-nyan6ze6yd],
.admin-user-detail-metric[b-nyan6ze6yd] {
    border: 1px solid var(--admin-line);
    background: var(--admin-surface);
}

.admin-users-hero[b-nyan6ze6yd] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 28px;
    border-radius: 22px;
    background: radial-gradient(circle at 90% 0%, rgba(24, 68, 198, .075), transparent 34%), var(--admin-surface);
    box-shadow: var(--admin-shadow);
}

.admin-users-eyebrow[b-nyan6ze6yd],
.admin-users-panel-heading > div > span[b-nyan6ze6yd],
.admin-user-drawer > header span[b-nyan6ze6yd] {
    color: var(--admin-accent);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .12em;
}

.admin-users-hero h1[b-nyan6ze6yd] {
    margin: 7px 0 0;
    color: var(--admin-text);
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.25;
    letter-spacing: -.03em;
}

.admin-users-hero p[b-nyan6ze6yd] {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--admin-text-2);
    font-size: 11px;
    line-height: 1.8;
}

.admin-users-refresh[b-nyan6ze6yd],
.admin-users-export[b-nyan6ze6yd],
.admin-users-primary[b-nyan6ze6yd],
.admin-users-secondary[b-nyan6ze6yd],
.admin-users-state button[b-nyan6ze6yd],
.admin-users-state a[b-nyan6ze6yd],
.admin-users-pagination button[b-nyan6ze6yd],
.admin-users-pagination a[b-nyan6ze6yd] {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid var(--admin-line-strong);
    border-radius: 11px;
    color: var(--admin-text-2);
    background: var(--admin-surface-elevated);
    font: inherit;
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: 150ms ease;
}

    .admin-users-refresh:hover[b-nyan6ze6yd],
    .admin-users-export:hover[b-nyan6ze6yd],
    .admin-users-primary:hover[b-nyan6ze6yd],
    .admin-users-secondary:hover[b-nyan6ze6yd],
    .admin-users-state button:hover[b-nyan6ze6yd],
    .admin-users-state a:hover[b-nyan6ze6yd],
    .admin-users-pagination button:hover:not(:disabled)[b-nyan6ze6yd],
    .admin-users-pagination a:hover[b-nyan6ze6yd] {
        color: var(--admin-accent);
        border-color: rgba(24, 68, 198, .16);
        background: var(--admin-accent-soft);
    }

    .admin-users-pagination button:disabled[b-nyan6ze6yd] {
        opacity: .45;
        cursor: not-allowed;
    }

    .admin-users-refresh svg[b-nyan6ze6yd],
    .admin-users-export svg[b-nyan6ze6yd] {
        width: 17px;
        height: 17px;
    }

.is-spinning[b-nyan6ze6yd] {
    animation: admin-users-spin-b-nyan6ze6yd .9s linear infinite;
}

@keyframes admin-users-spin-b-nyan6ze6yd {
    to {
        transform: rotate(360deg);
    }
}

.admin-users-summary[b-nyan6ze6yd] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-users-summary-card[b-nyan6ze6yd] {
    min-width: 0;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    padding: 15px;
    border-radius: 17px;
    box-shadow: 0 10px 25px rgba(24, 32, 55, .03);
}

.admin-users-summary-icon[b-nyan6ze6yd] {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--admin-accent);
    background: var(--admin-accent-soft);
}

    .admin-users-summary-icon svg[b-nyan6ze6yd] {
        width: 19px;
        height: 19px;
    }

.admin-users-summary-card > span:last-child[b-nyan6ze6yd] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.admin-users-summary-card small[b-nyan6ze6yd],
.admin-users-summary-card em[b-nyan6ze6yd] {
    color: var(--admin-muted);
    font-size: 8px;
    font-weight: 750;
    font-style: normal;
    line-height: 1.4;
}

.admin-users-summary-card strong[b-nyan6ze6yd] {
    color: var(--admin-text);
    font-size: 19px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.admin-users-panel[b-nyan6ze6yd] {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(24, 32, 55, .035);
}

.admin-users-panel-heading[b-nyan6ze6yd] {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--admin-line);
}

    .admin-users-panel-heading h2[b-nyan6ze6yd] {
        margin: 4px 0 0;
        color: var(--admin-text);
        font-size: 17px;
    }

    .admin-users-panel-heading > small[b-nyan6ze6yd] {
        padding: 6px 10px;
        border-radius: 999px;
        color: var(--admin-muted);
        background: var(--admin-surface-soft);
        font-size: 8px;
        font-weight: 750;
    }

.admin-users-toolbar[b-nyan6ze6yd] {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 170px 170px 180px auto auto;
    gap: 9px;
    align-items: center;
    padding: 12px 18px;
    border-bottom: 1px solid var(--admin-line);
    background: var(--admin-surface-soft);
}

.admin-users-search[b-nyan6ze6yd] {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 11px;
    border: 1px solid var(--admin-line);
    border-radius: 11px;
    background: var(--admin-surface-elevated);
}

    .admin-users-search:focus-within[b-nyan6ze6yd] {
        border-color: rgba(24, 68, 198, .22);
        box-shadow: 0 0 0 3px rgba(24, 68, 198, .06);
    }

    .admin-users-search svg[b-nyan6ze6yd] {
        width: 16px;
        height: 16px;
        color: var(--admin-muted);
    }

    .admin-users-search input[b-nyan6ze6yd] {
        width: 100%;
        min-width: 0;
        border: 0;
        outline: 0;
        color: var(--admin-text);
        background: transparent;
        font: inherit;
        font-size: 9px;
    }

.admin-users-toolbar select[b-nyan6ze6yd] {
    min-height: 40px;
    width: 100%;
    padding: 0 10px;
    border: 1px solid var(--admin-line);
    border-radius: 11px;
    outline: 0;
    color: var(--admin-text-2);
    background: var(--admin-surface-elevated);
    font: inherit;
    font-size: 9px;
    font-weight: 700;
}

.admin-users-secondary[b-nyan6ze6yd] {
    color: var(--admin-muted);
}

.admin-users-state[b-nyan6ze6yd] {
    min-height: 300px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 30px;
    text-align: center;
}

    .admin-users-state strong[b-nyan6ze6yd] {
        color: var(--admin-text);
        font-size: 12px;
    }

    .admin-users-state p[b-nyan6ze6yd] {
        max-width: 560px;
        margin: 0;
        color: var(--admin-muted);
        font-size: 9px;
    }

    .admin-users-state.is-error strong[b-nyan6ze6yd] {
        color: var(--admin-danger);
    }

.admin-users-spinner[b-nyan6ze6yd] {
    width: 30px;
    height: 30px;
    border: 3px solid var(--admin-line);
    border-top-color: var(--admin-accent);
    border-radius: 50%;
    animation: admin-users-spin-b-nyan6ze6yd .85s linear infinite;
}

.admin-users-table-wrap[b-nyan6ze6yd] {
    overflow-x: auto;
}

.admin-users-table[b-nyan6ze6yd] {
    width: 100%;
    border-collapse: collapse;
}

    .admin-users-table th[b-nyan6ze6yd] {
        padding: 10px 11px;
        border-bottom: 1px solid var(--admin-line);
        color: var(--admin-muted);
        background: var(--admin-surface-soft);
        font-size: 7.5px;
        font-weight: 850;
        text-align: start;
        white-space: nowrap;
    }

    .admin-users-table td[b-nyan6ze6yd] {
        padding: 11px;
        border-bottom: 1px solid var(--admin-line);
        color: var(--admin-text-2);
        vertical-align: middle;
    }

    .admin-users-table tbody tr[b-nyan6ze6yd] {
        transition: 120ms ease;
    }

        .admin-users-table tbody tr:hover[b-nyan6ze6yd] {
            background: rgba(24, 68, 198, .025);
        }

        .admin-users-table tbody tr:last-child td[b-nyan6ze6yd] {
            border-bottom: 0;
        }

    .admin-users-table td > strong[b-nyan6ze6yd],
    .admin-users-table td > small[b-nyan6ze6yd] {
        display: block;
    }

    .admin-users-table td > strong[b-nyan6ze6yd] {
        color: var(--admin-text);
        font-size: 9px;
        font-weight: 820;
    }

    .admin-users-table td > small[b-nyan6ze6yd] {
        margin-top: 2px;
        color: var(--admin-muted);
        font-size: 7px;
    }

.admin-user-identity[b-nyan6ze6yd] {
    min-width: 175px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
}

.admin-user-avatar[b-nyan6ze6yd],
.admin-user-profile-avatar[b-nyan6ze6yd] {
    display: grid;
    place-items: center;
    border: 1px solid rgba(24, 68, 198, .10);
    border-radius: 11px;
    color: var(--admin-accent);
    background: var(--admin-accent-soft);
    font-size: 9px;
    font-weight: 900;
}

.admin-user-avatar[b-nyan6ze6yd] {
    width: 34px;
    height: 34px;
}

.admin-user-identity > span:last-child[b-nyan6ze6yd] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.admin-user-identity strong[b-nyan6ze6yd] {
    color: var(--admin-text);
    font-size: 9px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user-identity small[b-nyan6ze6yd] {
    color: var(--admin-muted);
    font-size: 7px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user-status[b-nyan6ze6yd] {
    display: inline-flex;
    align-items: center;
    min-height: 21px;
    padding: 0 7px;
    border-radius: 999px;
    color: var(--admin-muted);
    background: var(--admin-surface-soft);
    font-size: 7px;
    font-weight: 850;
    white-space: nowrap;
}

    .admin-user-status.is-success[b-nyan6ze6yd] {
        color: var(--admin-success);
        background: rgba(39, 132, 103, .08);
    }

    .admin-user-status.is-warning[b-nyan6ze6yd] {
        color: var(--admin-warning);
        background: rgba(169, 115, 31, .08);
    }

    .admin-user-status.is-danger[b-nyan6ze6yd] {
        color: var(--admin-danger);
        background: rgba(201, 74, 82, .08);
    }

.admin-user-actions[b-nyan6ze6yd] {
    text-align: end;
    white-space: nowrap;
}

.admin-user-actions-heading[b-nyan6ze6yd] {
    width: 92px;
    text-align: center !important;
}

.admin-user-details-link[b-nyan6ze6yd] {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--admin-line-strong);
    border-radius: 10px;
    color: var(--admin-text-2);
    background: var(--admin-surface-elevated);
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(17, 27, 46, .025);
    transition: color 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

    .admin-user-details-link:hover[b-nyan6ze6yd] {
        transform: translateY(-1px);
        color: var(--admin-accent);
        border-color: rgba(24, 68, 198, .18);
        background: var(--admin-accent-soft);
        box-shadow: 0 5px 12px rgba(24, 68, 198, .07);
    }

    .admin-user-details-link:focus-visible[b-nyan6ze6yd] {
        outline: 0;
        color: var(--admin-accent);
        border-color: rgba(24, 68, 198, .20);
        box-shadow: 0 0 0 3px rgba(24, 68, 198, .08);
    }

    .admin-user-details-link svg[b-nyan6ze6yd] {
        width: 15px;
        height: 15px;
    }

.admin-user-drawer-close[b-nyan6ze6yd] {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    color: var(--admin-muted);
    background: var(--admin-surface-elevated);
    text-decoration: none;
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
    transition: 140ms ease;
}

    .admin-user-drawer-close:hover[b-nyan6ze6yd] {
        color: var(--admin-accent);
        border-color: rgba(24, 68, 198, .14);
        background: var(--admin-accent-soft);
    }

.admin-users-pagination[b-nyan6ze6yd] {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
    border-top: 1px solid var(--admin-line);
}

    .admin-users-pagination span[b-nyan6ze6yd] {
        color: var(--admin-muted);
        font-size: 8px;
        font-weight: 750;
    }

.admin-user-drawer-backdrop[b-nyan6ze6yd] {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: block;
    border: 0;
    background: rgba(10, 17, 30, .28);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    cursor: default;
}

.admin-user-drawer[b-nyan6ze6yd] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 140;
    width: min(560px, 94vw);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    color: var(--admin-text);
    background: var(--admin-surface);
    border-left: 1px solid var(--admin-line);
    border-right: 0;
    box-shadow: -22px 0 54px rgba(17, 27, 46, .14);
    animation: admin-user-drawer-in-b-nyan6ze6yd 180ms cubic-bezier(.22, 1, .36, 1);
}

@keyframes admin-user-drawer-in-b-nyan6ze6yd {
    from {
        opacity: .75;
        transform: translateX(18px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.admin-user-drawer > header[b-nyan6ze6yd] {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 17px;
    border-bottom: 1px solid var(--admin-line);
}

    .admin-user-drawer > header h2[b-nyan6ze6yd] {
        margin: 4px 0 0;
        color: var(--admin-text);
        font-size: 16px;
    }

.admin-user-drawer-close[b-nyan6ze6yd] {
    font-size: 19px;
}

.admin-user-drawer-content[b-nyan6ze6yd] {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 14px;
    background: var(--admin-surface-soft);
    scrollbar-gutter: stable;
}

.admin-user-profile-card[b-nyan6ze6yd] {
    padding: 15px;
    border-radius: 16px;
}

.admin-user-profile-head[b-nyan6ze6yd] {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--admin-line);
}

.admin-user-profile-avatar[b-nyan6ze6yd] {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 12px;
}

.admin-user-profile-head h3[b-nyan6ze6yd] {
    margin: 0;
    color: var(--admin-text);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.admin-user-profile-head p[b-nyan6ze6yd] {
    margin: 3px 0 0;
    color: var(--admin-muted);
    font-size: 8px;
}

.admin-user-profile-card dl[b-nyan6ze6yd] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 13px 0 0;
}

    .admin-user-profile-card dl > div[b-nyan6ze6yd] {
        min-width: 0;
        padding: 9px;
        border-radius: 10px;
        background: var(--admin-surface-soft);
    }

.admin-user-profile-card dt[b-nyan6ze6yd] {
    color: var(--admin-muted);
    font-size: 7px;
    font-weight: 750;
}

.admin-user-profile-card dd[b-nyan6ze6yd] {
    margin: 4px 0 0;
    color: var(--admin-text);
    font-size: 8px;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.admin-user-readonly-note[b-nyan6ze6yd] {
    margin: 12px 0 0;
    padding: 9px 10px;
    border: 1px solid rgba(169, 115, 31, .12);
    border-radius: 10px;
    color: var(--admin-warning);
    background: rgba(169, 115, 31, .06);
    font-size: 7.5px;
    line-height: 1.6;
}

.admin-user-detail-grid[b-nyan6ze6yd] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.admin-user-detail-metric[b-nyan6ze6yd] {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding: 10px;
    border-radius: 12px;
}

    .admin-user-detail-metric span[b-nyan6ze6yd] {
        color: var(--admin-muted);
        font-size: 7px;
        font-weight: 700;
    }

    .admin-user-detail-metric strong[b-nyan6ze6yd] {
        color: var(--admin-text);
        font-size: 10px;
        font-weight: 850;
        overflow-wrap: anywhere;
    }

html[data-theme="dark"] .admin-users-hero[b-nyan6ze6yd],
html[data-theme="dark"] .admin-users-summary-card[b-nyan6ze6yd],
html[data-theme="dark"] .admin-users-panel[b-nyan6ze6yd] {
    box-shadow: none;
}

@media (max-width: 1280px) {
    .admin-users-summary[b-nyan6ze6yd] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-users-toolbar[b-nyan6ze6yd] {
        grid-template-columns: minmax(220px, 1fr) 160px 170px;
    }
}

@media (max-width: 900px) {
    .admin-users-hero[b-nyan6ze6yd] {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-users-hero-actions[b-nyan6ze6yd],
    .admin-users-refresh[b-nyan6ze6yd],
    .admin-users-export[b-nyan6ze6yd] {
        width: 100%;
    }

    .admin-users-toolbar[b-nyan6ze6yd] {
        grid-template-columns: 1fr 1fr;
    }

    .admin-users-search[b-nyan6ze6yd] {
        grid-column: 1 / -1;
    }

    .admin-users-table[b-nyan6ze6yd],
    .admin-users-table tbody[b-nyan6ze6yd],
    .admin-users-table tr[b-nyan6ze6yd],
    .admin-users-table td[b-nyan6ze6yd] {
        display: block;
        width: 100%;
    }

        .admin-users-table thead[b-nyan6ze6yd] {
            display: none;
        }

        .admin-users-table tbody[b-nyan6ze6yd] {
            display: grid;
            gap: 10px;
            padding: 12px;
            background: var(--admin-surface-soft);
        }

        .admin-users-table tr[b-nyan6ze6yd] {
            overflow: hidden;
            border: 1px solid var(--admin-line);
            border-radius: 14px;
            background: var(--admin-surface);
        }

        .admin-users-table td[b-nyan6ze6yd] {
            display: grid;
            grid-template-columns: 120px minmax(0, 1fr);
            align-items: center;
            gap: 10px;
        }

            .admin-users-table td[b-nyan6ze6yd]::before {
                content: attr(data-label);
                color: var(--admin-muted);
                font-size: 7px;
                font-weight: 800;
            }

            .admin-users-table td:first-child[b-nyan6ze6yd] {
                display: block;
                background: var(--admin-surface-soft);
            }

                .admin-users-table td:first-child[b-nyan6ze6yd]::before,
                .admin-users-table td:last-child[b-nyan6ze6yd]::before {
                    display: none;
                }

            .admin-users-table td:last-child[b-nyan6ze6yd] {
                display: flex;
                justify-content: flex-end;
            }
}

@media (max-width: 620px) {
    .admin-users-summary[b-nyan6ze6yd],
    .admin-users-toolbar[b-nyan6ze6yd],
    .admin-user-profile-card dl[b-nyan6ze6yd],
    .admin-user-detail-grid[b-nyan6ze6yd] {
        grid-template-columns: 1fr;
    }

    .admin-users-hero[b-nyan6ze6yd] {
        padding: 21px 19px;
        border-radius: 18px;
    }

    .admin-users-toolbar[b-nyan6ze6yd] {
        padding: 11px;
    }

    .admin-users-search[b-nyan6ze6yd] {
        grid-column: auto;
    }

    .admin-user-profile-head[b-nyan6ze6yd] {
        grid-template-columns: 44px minmax(0, 1fr);
    }

        .admin-user-profile-head > .admin-user-status[b-nyan6ze6yd] {
            grid-column: 1 / -1;
            justify-self: start;
        }
}


/* =========================================================
   STAGE 3.2 — ADMIN USER ACTIONS
   ========================================================= */

.admin-user-action-success[b-nyan6ze6yd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(39, 132, 103, .14);
    border-radius: 12px;
    color: var(--admin-success);
    background: rgba(39, 132, 103, .07);
}

    .admin-user-action-success strong[b-nyan6ze6yd] {
        font-size: 8.5px;
    }

    .admin-user-action-success small[b-nyan6ze6yd] {
        color: var(--admin-muted);
        font-size: 7px;
    }

.admin-user-admin-actions[b-nyan6ze6yd] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.admin-user-action-button[b-nyan6ze6yd] {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--admin-line-strong);
    border-radius: 11px;
    color: var(--admin-text-2);
    background: var(--admin-surface-elevated);
    font: inherit;
    font-size: 8px;
    font-weight: 850;
    cursor: pointer;
    transition: 150ms ease;
}

    .admin-user-action-button:hover:not(:disabled)[b-nyan6ze6yd] {
        transform: translateY(-1px);
    }

    .admin-user-action-button:disabled[b-nyan6ze6yd] {
        opacity: .5;
        cursor: not-allowed;
    }

    .admin-user-action-button.is-primary[b-nyan6ze6yd] {
        color: var(--admin-accent);
        border-color: rgba(24, 68, 198, .14);
        background: var(--admin-accent-soft);
    }

    .admin-user-action-button.is-danger[b-nyan6ze6yd] {
        color: var(--admin-danger);
        border-color: rgba(201, 74, 82, .15);
        background: rgba(201, 74, 82, .07);
    }

    .admin-user-action-button.is-success[b-nyan6ze6yd] {
        color: var(--admin-success);
        border-color: rgba(39, 132, 103, .15);
        background: rgba(39, 132, 103, .07);
    }

.admin-user-security-note[b-nyan6ze6yd] {
    margin: 9px 0 0;
    padding: 9px 10px;
    border: 1px solid rgba(24, 68, 198, .10);
    border-radius: 10px;
    color: var(--admin-muted);
    background: var(--admin-accent-soft);
    font-size: 7.2px;
    line-height: 1.65;
}

.admin-user-audit-card[b-nyan6ze6yd] {
    overflow: hidden;
    border: 1px solid var(--admin-line);
    border-radius: 16px;
    background: var(--admin-surface);
}

    .admin-user-audit-card > header[b-nyan6ze6yd] {
        min-height: 57px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 13px;
        border-bottom: 1px solid var(--admin-line);
    }

        .admin-user-audit-card > header span[b-nyan6ze6yd] {
            color: var(--admin-accent);
            font-size: 7px;
            font-weight: 900;
            letter-spacing: .10em;
        }

        .admin-user-audit-card > header h3[b-nyan6ze6yd] {
            margin: 3px 0 0;
            color: var(--admin-text);
            font-size: 12px;
        }

        .admin-user-audit-card > header > strong[b-nyan6ze6yd] {
            min-width: 28px;
            padding: 4px 7px;
            border-radius: 999px;
            color: var(--admin-accent);
            background: var(--admin-accent-soft);
            font-size: 8px;
            text-align: center;
        }

.admin-user-audit-empty[b-nyan6ze6yd] {
    margin: 0;
    padding: 18px 13px;
    color: var(--admin-muted);
    font-size: 8px;
    text-align: center;
}

.admin-user-audit-list[b-nyan6ze6yd] {
    display: grid;
}

    .admin-user-audit-list article[b-nyan6ze6yd] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 13px;
        border-bottom: 1px solid var(--admin-line);
    }

        .admin-user-audit-list article:last-child[b-nyan6ze6yd] {
            border-bottom: 0;
        }

        .admin-user-audit-list article > div[b-nyan6ze6yd] {
            min-width: 0;
            display: grid;
            gap: 3px;
        }

            .admin-user-audit-list article > div:last-child[b-nyan6ze6yd] {
                justify-items: end;
                text-align: end;
            }

    .admin-user-audit-list strong[b-nyan6ze6yd] {
        color: var(--admin-text);
        font-size: 8px;
    }

    .admin-user-audit-list small[b-nyan6ze6yd] {
        color: var(--admin-muted);
        font-size: 7px;
        line-height: 1.5;
    }

    .admin-user-audit-list code[b-nyan6ze6yd] {
        color: var(--admin-accent);
        font-family: Consolas, "SFMono-Regular", monospace;
        font-size: 6.8px;
    }

/* Modal */

.admin-user-action-modal-backdrop[b-nyan6ze6yd] {
    position: fixed;
    inset: 0;
    z-index: 160;
    border: 0;
    background: rgba(12, 18, 30, .48);
    backdrop-filter: blur(3px);
}

.admin-user-action-modal[b-nyan6ze6yd] {
    position: fixed;
    inset-block-start: 50%;
    /* physical, as the translate below is: a logical start put the dialog half off the screen in Persian */
    left: 50%;
    z-index: 170;
    width: min(520px, calc(100vw - 28px));
    max-height: min(760px, calc(100vh - 30px));
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    transform: translate(-50%, -50%);
    border: 1px solid var(--admin-line);
    border-radius: 18px;
    color: var(--admin-text);
    background: var(--admin-surface);
    box-shadow: 0 28px 80px rgba(13, 22, 40, .22);
}

    .admin-user-action-modal > header[b-nyan6ze6yd] {
        min-height: 68px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 13px 15px;
        border-bottom: 1px solid var(--admin-line);
    }

        .admin-user-action-modal > header span[b-nyan6ze6yd] {
            color: var(--admin-accent);
            font-size: 7px;
            font-weight: 900;
            letter-spacing: .10em;
        }

        .admin-user-action-modal > header h2[b-nyan6ze6yd],
        .admin-user-action-modal > header h3[b-nyan6ze6yd] {
            margin: 4px 0 0;
            color: var(--admin-text);
            font-size: 14px;
        }

        .admin-user-action-modal > header > a[b-nyan6ze6yd],
        .admin-user-action-modal > header > button[b-nyan6ze6yd] {
            flex: 0 0 auto;
            text-decoration: none;
            width: 32px;
            height: 32px;
            display: grid;
            place-items: center;
            padding: 0;
            border: 1px solid var(--admin-line);
            border-radius: 10px;
            color: var(--admin-muted);
            background: var(--admin-surface-elevated);
            font: inherit;
            font-size: 18px;
            cursor: pointer;
        }

/*
 * The dialog posts a plain form (static SSR): the form holds the body and
 * the footer, so it is the row that scrolls its body and keeps the footer
 * in view.
 */
.admin-user-action-modal > form[b-nyan6ze6yd] {
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
}

.admin-user-action-modal-body[b-nyan6ze6yd] {
    overflow-y: auto;
    display: grid;
    gap: 12px;
    padding: 14px;
    background: var(--admin-surface-soft);
}

.admin-user-action-target[b-nyan6ze6yd] {
    display: grid;
    gap: 3px;
    padding: 10px 11px;
    border: 1px solid var(--admin-line);
    border-radius: 11px;
    background: var(--admin-surface);
}

    .admin-user-action-target span[b-nyan6ze6yd],
    .admin-user-action-field > span[b-nyan6ze6yd],
    .admin-credit-current-grid span[b-nyan6ze6yd] {
        color: var(--admin-muted);
        font-size: 7px;
        font-weight: 750;
    }

    .admin-user-action-target strong[b-nyan6ze6yd] {
        color: var(--admin-text);
        font-size: 10px;
    }

    .admin-user-action-target small[b-nyan6ze6yd] {
        color: var(--admin-muted);
        font-size: 7px;
    }

.admin-credit-current-grid[b-nyan6ze6yd] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

    .admin-credit-current-grid > div[b-nyan6ze6yd] {
        min-width: 0;
        display: grid;
        gap: 4px;
        padding: 9px;
        border: 1px solid var(--admin-line);
        border-radius: 10px;
        background: var(--admin-surface);
    }

    .admin-credit-current-grid strong[b-nyan6ze6yd] {
        color: var(--admin-text);
        font-size: 10px;
        overflow-wrap: anywhere;
    }

.admin-credit-direction[b-nyan6ze6yd] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 4px;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: var(--admin-surface);
}

    .admin-credit-direction button[b-nyan6ze6yd] {
        min-height: 36px;
        border: 0;
        border-radius: 9px;
        color: var(--admin-muted);
        background: transparent;
        font: inherit;
        font-size: 8px;
        font-weight: 800;
        cursor: pointer;
    }

        .admin-credit-direction button.is-selected[b-nyan6ze6yd] {
            color: var(--admin-success);
            background: rgba(39, 132, 103, .08);
        }

            .admin-credit-direction button.is-selected.is-remove[b-nyan6ze6yd] {
                color: var(--admin-danger);
                background: rgba(201, 74, 82, .08);
            }

.admin-user-action-field[b-nyan6ze6yd] {
    display: grid;
    gap: 6px;
}

    .admin-user-action-field input[b-nyan6ze6yd],
    .admin-user-action-field select[b-nyan6ze6yd],
    .admin-user-action-field textarea[b-nyan6ze6yd] {
        width: 100%;
        box-sizing: border-box;
        border: 1px solid var(--admin-line);
        border-radius: 10px;
        outline: 0;
        color: var(--admin-text);
        background: var(--admin-surface);
        font: inherit;
        font-size: 9px;
        transition: 120ms ease;
    }

    .admin-user-action-field input[b-nyan6ze6yd],
    .admin-user-action-field select[b-nyan6ze6yd] {
        min-height: 41px;
        padding: 0 10px;
    }

    .admin-user-action-field textarea[b-nyan6ze6yd] {
        resize: vertical;
        min-height: 92px;
        padding: 9px 10px;
        line-height: 1.65;
    }

        .admin-user-action-field input:focus[b-nyan6ze6yd],
        .admin-user-action-field select:focus[b-nyan6ze6yd],
        .admin-user-action-field textarea:focus[b-nyan6ze6yd] {
            border-color: rgba(24, 68, 198, .22);
            box-shadow: 0 0 0 3px rgba(24, 68, 198, .06);
        }

    .admin-user-action-field small[b-nyan6ze6yd] {
        color: var(--admin-muted);
        font-size: 7px;
    }

.admin-user-suspension-warning[b-nyan6ze6yd] {
    padding: 11px;
    border: 1px solid rgba(201, 74, 82, .14);
    border-radius: 11px;
    color: var(--admin-danger);
    background: rgba(201, 74, 82, .06);
}

    .admin-user-suspension-warning.is-reactivate[b-nyan6ze6yd] {
        border-color: rgba(39, 132, 103, .14);
        color: var(--admin-success);
        background: rgba(39, 132, 103, .06);
    }

    /* A block of its own: inline, a wrapped line took the 16px line of the box around it. */
    .admin-user-suspension-warning strong[b-nyan6ze6yd] {
        display: block;
        font-size: 8.5px;
        line-height: 1.6;
    }

    .admin-user-suspension-warning p[b-nyan6ze6yd] {
        margin: 5px 0 0;
        color: var(--admin-muted);
        font-size: 7px;
        line-height: 1.6;
    }

.admin-user-action-error[b-nyan6ze6yd] {
    padding: 9px 10px;
    border: 1px solid rgba(201, 74, 82, .15);
    border-radius: 10px;
    color: var(--admin-danger);
    background: rgba(201, 74, 82, .07);
    font-size: 8px;
    line-height: 1.6;
}

.admin-user-action-modal > footer[b-nyan6ze6yd],
.admin-user-action-modal > form > footer[b-nyan6ze6yd] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 11px 14px;
    border-top: 1px solid var(--admin-line);
    background: var(--admin-surface);
}

.admin-action-cancel[b-nyan6ze6yd],
.admin-action-confirm[b-nyan6ze6yd] {
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    background: var(--admin-surface-elevated);
    font: inherit;
    font-size: 8px;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.admin-action-cancel[b-nyan6ze6yd] {
    color: var(--admin-muted);
}

.admin-action-confirm.is-primary[b-nyan6ze6yd] {
    color: var(--admin-accent);
    border-color: rgba(24, 68, 198, .15);
    background: var(--admin-accent-soft);
}

.admin-action-confirm.is-danger[b-nyan6ze6yd] {
    color: var(--admin-danger);
    border-color: rgba(201, 74, 82, .16);
    background: rgba(201, 74, 82, .07);
}

.admin-action-cancel:disabled[b-nyan6ze6yd],
.admin-action-confirm:disabled[b-nyan6ze6yd] {
    opacity: .5;
    cursor: not-allowed;
}

@media (max-width: 620px) {
    .admin-user-admin-actions[b-nyan6ze6yd],
    .admin-credit-current-grid[b-nyan6ze6yd],
    .admin-credit-direction[b-nyan6ze6yd] {
        grid-template-columns: 1fr;
    }

    .admin-user-action-modal > footer[b-nyan6ze6yd],
    .admin-user-action-modal > form > footer[b-nyan6ze6yd] {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .admin-user-audit-list article[b-nyan6ze6yd] {
        align-items: flex-start;
        flex-direction: column;
    }

        .admin-user-audit-list article > div:last-child[b-nyan6ze6yd] {
            justify-items: start;
            text-align: start;
        }
}


/* =========================================================
   USERS UI POLISH — latest Codex-compatible correction
   ========================================================= */

@media (max-width: 620px) {
    .admin-user-drawer[b-nyan6ze6yd] {
        width: 100vw;
        max-width: 100vw;
        border-left: 0;
        box-shadow: none;
    }
}

html[data-theme="dark"] .admin-user-details-link[b-nyan6ze6yd] {
    box-shadow: none;
}

html[data-theme="dark"] .admin-user-drawer[b-nyan6ze6yd] {
    box-shadow: -22px 0 54px rgba(0, 0, 0, .30);
}


/* =========================================================
   USERS — FULL MAIN-CONTENT DETAILS VIEW
   Replaces the compact overlay drawer visually while keeping
   the latest Codex SSR/query-string flow.
   ========================================================= */

.admin-user-details-page[b-nyan6ze6yd] {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.admin-user-details-hero[b-nyan6ze6yd] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding: 26px 28px;
    border: 1px solid var(--admin-line);
    border-radius: 22px;
    background: radial-gradient(circle at 88% 0%, rgba(24, 68, 198, .08), transparent 34%), var(--admin-surface);
    box-shadow: var(--admin-shadow);
}

.admin-user-details-title[b-nyan6ze6yd] {
    min-width: 0;
    max-width: 760px;
}

.admin-user-back-link[b-nyan6ze6yd] {
    width: fit-content;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
    padding: 0 11px;
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    color: var(--admin-text-2);
    background: var(--admin-surface-elevated);
    text-decoration: none;
    font-size: 9px;
    font-weight: 800;
    transition: 140ms ease;
}

    .admin-user-back-link:hover[b-nyan6ze6yd] {
        color: var(--admin-accent);
        border-color: rgba(24, 68, 198, .16);
        background: var(--admin-accent-soft);
    }

    .admin-user-back-link svg[b-nyan6ze6yd] {
        width: 15px;
        height: 15px;
    }

.admin-user-details-page[dir="rtl"] .admin-user-back-link svg[b-nyan6ze6yd] {
    transform: rotate(180deg);
}

.admin-user-details-eyebrow[b-nyan6ze6yd],
.admin-user-section-header span[b-nyan6ze6yd],
.admin-user-section-title span[b-nyan6ze6yd] {
    color: var(--admin-accent);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .11em;
}

.admin-user-details-title h1[b-nyan6ze6yd] {
    margin: 7px 0 0;
    color: var(--admin-text);
    font-size: clamp(26px, 2.4vw, 36px);
    line-height: 1.25;
    letter-spacing: -.03em;
}

.admin-user-details-title p[b-nyan6ze6yd] {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--admin-text-2);
    font-size: 11px;
    line-height: 1.85;
}

.admin-user-details-hero-status[b-nyan6ze6yd] {
    min-width: 300px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid var(--admin-line);
    border-radius: 16px;
    background: var(--admin-surface-elevated);
}

.admin-user-details-avatar[b-nyan6ze6yd] {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(24, 68, 198, .12);
    border-radius: 16px;
    color: var(--admin-accent);
    background: var(--admin-accent-soft);
    font-size: 14px;
    font-weight: 900;
}

.admin-user-details-hero-status > div[b-nyan6ze6yd] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

    .admin-user-details-hero-status > div strong[b-nyan6ze6yd] {
        color: var(--admin-text);
        font-size: 12px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .admin-user-details-hero-status > div small[b-nyan6ze6yd] {
        color: var(--admin-muted);
        font-size: 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.admin-user-details-loading[b-nyan6ze6yd],
.admin-user-details-error[b-nyan6ze6yd] {
    min-height: 320px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    padding: 32px;
    border: 1px solid var(--admin-line);
    border-radius: 20px;
    background: var(--admin-surface);
    text-align: center;
}

    .admin-user-details-loading strong[b-nyan6ze6yd],
    .admin-user-details-error strong[b-nyan6ze6yd] {
        color: var(--admin-text);
        font-size: 13px;
    }

    .admin-user-details-error strong[b-nyan6ze6yd] {
        color: var(--admin-danger);
    }

    .admin-user-details-error p[b-nyan6ze6yd] {
        margin: 0;
        color: var(--admin-muted);
        font-size: 10px;
    }

    .admin-user-details-error a[b-nyan6ze6yd] {
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        padding: 0 12px;
        border-radius: 10px;
        color: var(--admin-accent);
        background: var(--admin-accent-soft);
        text-decoration: none;
        font-size: 9px;
        font-weight: 800;
    }

.admin-user-action-success-wide[b-nyan6ze6yd] {
    padding: 13px 15px;
    border-radius: 14px;
}

    .admin-user-action-success-wide strong[b-nyan6ze6yd] {
        font-size: 10px;
    }

.admin-user-details-layout[b-nyan6ze6yd] {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .85fr);
    gap: 14px;
    align-items: stretch;
}

.admin-user-details-card[b-nyan6ze6yd] {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--admin-line);
    border-radius: 18px;
    background: var(--admin-surface);
    box-shadow: 0 10px 26px rgba(24, 32, 55, .028);
}

.admin-user-section-header[b-nyan6ze6yd] {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--admin-line);
}

    .admin-user-section-header h2[b-nyan6ze6yd],
    .admin-user-section-title h2[b-nyan6ze6yd] {
        margin: 4px 0 0;
        color: var(--admin-text);
        font-size: 16px;
    }

.admin-user-information-grid[b-nyan6ze6yd] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 16px 18px 18px;
}

    .admin-user-information-grid > div[b-nyan6ze6yd] {
        min-width: 0;
        padding: 13px 14px;
        border: 1px solid var(--admin-line);
        border-radius: 12px;
        background: var(--admin-surface-soft);
    }

    .admin-user-information-grid dt[b-nyan6ze6yd] {
        color: var(--admin-muted);
        font-size: 8px;
        font-weight: 750;
    }

    .admin-user-information-grid dd[b-nyan6ze6yd] {
        margin: 6px 0 0;
        color: var(--admin-text);
        font-size: 10px;
        font-weight: 780;
        line-height: 1.55;
        overflow-wrap: anywhere;
    }

.admin-user-id-value[b-nyan6ze6yd] {
    font-family: Consolas, "SFMono-Regular", monospace;
    font-size: 8.5px !important;
}

.admin-user-management-card[b-nyan6ze6yd] {
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.admin-user-management-actions[b-nyan6ze6yd] {
    display: grid;
    gap: 10px;
    padding: 16px 18px 10px;
}

.admin-user-management-button[b-nyan6ze6yd] {
    width: 100%;
    min-height: 70px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px 13px;
    border: 1px solid var(--admin-line-strong);
    border-radius: 13px;
    color: var(--admin-text-2);
    background: var(--admin-surface-elevated);
    text-align: start;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: 150ms ease;
}

    .admin-user-management-button:hover:not(:disabled)[b-nyan6ze6yd] {
        transform: translateY(-1px);
    }

    .admin-user-management-button:disabled[b-nyan6ze6yd] {
        opacity: .5;
        cursor: not-allowed;
    }

    .admin-user-management-button.is-primary[b-nyan6ze6yd] {
        color: var(--admin-accent);
        border-color: rgba(24, 68, 198, .14);
        background: var(--admin-accent-soft);
    }

    .admin-user-management-button.is-danger[b-nyan6ze6yd] {
        color: var(--admin-danger);
        border-color: rgba(201, 74, 82, .15);
        background: rgba(201, 74, 82, .06);
    }

    .admin-user-management-button.is-success[b-nyan6ze6yd] {
        color: var(--admin-success);
        border-color: rgba(39, 132, 103, .15);
        background: rgba(39, 132, 103, .06);
    }

.admin-user-management-button-icon[b-nyan6ze6yd] {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .46);
}

html[data-theme="dark"] .admin-user-management-button-icon[b-nyan6ze6yd] {
    background: rgba(255, 255, 255, .04);
}

.admin-user-management-button-icon svg[b-nyan6ze6yd] {
    width: 21px;
    height: 21px;
}

.admin-user-management-button > span:last-child[b-nyan6ze6yd] {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.admin-user-management-button strong[b-nyan6ze6yd] {
    color: currentColor;
    font-size: 10px;
}

.admin-user-management-button small[b-nyan6ze6yd] {
    color: var(--admin-muted);
    font-size: 8px;
    line-height: 1.55;
}

.admin-user-management-note[b-nyan6ze6yd] {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    margin: 0 18px 18px;
    padding: 10px 11px;
    border: 1px solid rgba(24, 68, 198, .10);
    border-radius: 11px;
    color: var(--admin-accent);
    background: var(--admin-accent-soft);
}

    .admin-user-management-note svg[b-nyan6ze6yd] {
        width: 20px;
        height: 20px;
    }

    .admin-user-management-note p[b-nyan6ze6yd] {
        margin: 0;
        color: var(--admin-muted);
        font-size: 8px;
        line-height: 1.65;
    }

.admin-user-statistics-section[b-nyan6ze6yd] {
    display: grid;
    gap: 12px;
}

.admin-user-section-title[b-nyan6ze6yd] {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding: 0 3px;
}

.admin-user-details-metrics[b-nyan6ze6yd] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.admin-user-large-metric[b-nyan6ze6yd] {
    min-width: 0;
    min-height: 116px;
    display: grid;
    align-content: space-between;
    gap: 8px;
    padding: 15px;
    border: 1px solid var(--admin-line);
    border-radius: 15px;
    background: var(--admin-surface);
    box-shadow: 0 8px 20px rgba(24, 32, 55, .025);
}

.admin-user-large-metric-label[b-nyan6ze6yd] {
    color: var(--admin-muted);
    font-size: 8px;
    font-weight: 780;
}

.admin-user-large-metric strong[b-nyan6ze6yd] {
    color: var(--admin-text);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.admin-user-large-metric small[b-nyan6ze6yd] {
    color: var(--admin-muted);
    font-size: 7.5px;
    line-height: 1.45;
}

.admin-user-large-metric.is-failed strong[b-nyan6ze6yd] {
    color: var(--admin-danger);
}

.admin-user-large-metric.is-credit strong[b-nyan6ze6yd],
.admin-user-large-metric.is-payment strong[b-nyan6ze6yd] {
    color: var(--admin-success);
}

.admin-user-large-metric.is-ai strong[b-nyan6ze6yd] {
    color: var(--admin-accent);
}

.admin-user-data-layout[b-nyan6ze6yd] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.admin-user-resource-grid[b-nyan6ze6yd],
.admin-user-storage-values[b-nyan6ze6yd] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 16px 18px 18px;
}

    .admin-user-resource-grid > div[b-nyan6ze6yd],
    .admin-user-storage-values > div[b-nyan6ze6yd] {
        min-width: 0;
        display: grid;
        gap: 6px;
        padding: 14px;
        border: 1px solid var(--admin-line);
        border-radius: 12px;
        background: var(--admin-surface-soft);
    }

    .admin-user-resource-grid span[b-nyan6ze6yd],
    .admin-user-storage-values span[b-nyan6ze6yd] {
        color: var(--admin-muted);
        font-size: 8px;
        font-weight: 750;
    }

    .admin-user-resource-grid strong[b-nyan6ze6yd],
    .admin-user-storage-values strong[b-nyan6ze6yd] {
        color: var(--admin-text);
        font-size: 14px;
        font-weight: 900;
        overflow-wrap: anywhere;
    }

    .admin-user-storage-values > div.is-total[b-nyan6ze6yd] {
        border-color: rgba(24, 68, 198, .13);
        background: var(--admin-accent-soft);
    }

/* The space part by part: translation, voice studio, podcast, articles, tools… */
.admin-user-storage-sections[b-nyan6ze6yd] {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0 18px 18px;
    list-style: none;
}

    .admin-user-storage-sections li[b-nyan6ze6yd] {
        min-width: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 2px 12px;
        padding: 9px 12px;
        border: 1px solid var(--admin-line);
        border-radius: 10px;
        background: var(--admin-surface-soft);
    }

    .admin-user-storage-sections span[b-nyan6ze6yd] {
        color: var(--admin-text);
        font-size: 10px;
        font-weight: 800;
    }

    .admin-user-storage-sections small[b-nyan6ze6yd] {
        grid-column: 1;
        color: var(--admin-muted);
        font-size: 8px;
        font-weight: 650;
        overflow-wrap: anywhere;
    }

    .admin-user-storage-sections strong[b-nyan6ze6yd] {
        grid-column: 2;
        grid-row: 1 / span 2;
        color: var(--admin-text);
        font-size: 12px;
        font-weight: 900;
    }

.admin-user-storage-empty[b-nyan6ze6yd] {
    margin: 0;
    padding: 0 18px 18px;
    color: var(--admin-muted);
    font-size: 9px;
}

.admin-user-audit-card-wide[b-nyan6ze6yd] {
    border-radius: 18px;
}

    .admin-user-audit-card-wide > header[b-nyan6ze6yd] {
        min-height: 68px;
        padding: 15px 18px;
    }

        .admin-user-audit-card-wide > header h3[b-nyan6ze6yd] {
            font-size: 16px;
        }

    .admin-user-audit-card-wide .admin-user-audit-list article[b-nyan6ze6yd] {
        min-height: 62px;
        padding: 12px 18px;
    }

    .admin-user-audit-card-wide .admin-user-audit-list strong[b-nyan6ze6yd] {
        font-size: 9.5px;
    }

    .admin-user-audit-card-wide .admin-user-audit-list small[b-nyan6ze6yd] {
        font-size: 8px;
    }

    .admin-user-audit-card-wide .admin-user-audit-list code[b-nyan6ze6yd] {
        font-size: 7.5px;
    }

html[data-theme="dark"] .admin-user-details-hero[b-nyan6ze6yd],
html[data-theme="dark"] .admin-user-details-card[b-nyan6ze6yd],
html[data-theme="dark"] .admin-user-large-metric[b-nyan6ze6yd] {
    box-shadow: none;
}

@media (max-width: 1180px) {
    .admin-user-details-hero[b-nyan6ze6yd] {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-user-details-hero-status[b-nyan6ze6yd] {
        width: 100%;
        min-width: 0;
    }

    .admin-user-details-layout[b-nyan6ze6yd] {
        grid-template-columns: 1fr;
    }

    .admin-user-details-metrics[b-nyan6ze6yd] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .admin-user-details-hero[b-nyan6ze6yd] {
        padding: 20px;
        border-radius: 18px;
    }

    .admin-user-details-hero-status[b-nyan6ze6yd] {
        grid-template-columns: 48px minmax(0, 1fr);
    }

        .admin-user-details-hero-status > .admin-user-status[b-nyan6ze6yd] {
            grid-column: 1 / -1;
            justify-self: start;
        }

    .admin-user-information-grid[b-nyan6ze6yd],
    .admin-user-resource-grid[b-nyan6ze6yd],
    .admin-user-storage-values[b-nyan6ze6yd],
    .admin-user-details-metrics[b-nyan6ze6yd] {
        grid-template-columns: 1fr;
    }

    .admin-user-details-title h1[b-nyan6ze6yd] {
        font-size: 26px;
    }

    .admin-user-large-metric[b-nyan6ze6yd] {
        min-height: 104px;
    }
}

/* =========================================================
   PHASE 5.3 — ADMIN USER FINANCIAL VISIBILITY
   ========================================================= */

.admin-user-financial-section[b-nyan6ze6yd] {
    display: grid;
    gap: 12px;
}

.admin-user-financial-overview[b-nyan6ze6yd],
.admin-user-financial-subgrid[b-nyan6ze6yd],
.admin-user-commercial-grid[b-nyan6ze6yd] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

/* The ledger, payments and refunds side by side, each its last few rows and a button for the rest. */
.admin-user-history-grid[b-nyan6ze6yd] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
}

/* A card showing every row takes the whole row and scrolls inside. */
.admin-user-history-grid > .is-all[b-nyan6ze6yd] {
    grid-column: 1 / -1;
    scroll-margin-top: 90px;
}

    .admin-user-history-grid > .is-all .admin-user-financial-list[b-nyan6ze6yd] {
        max-height: 560px;
        overflow-y: auto;
    }

.admin-user-history-toggle[b-nyan6ze6yd] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    border: 0;
    border-top: 1px solid var(--admin-line);
    background: var(--admin-surface-soft);
    color: var(--admin-accent);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease;
}

    .admin-user-history-toggle:hover[b-nyan6ze6yd] {
        background: var(--admin-accent-soft);
    }

.admin-user-financial-card[b-nyan6ze6yd],
.admin-user-financial-list-card[b-nyan6ze6yd] {
    min-width: 0;
    border: 1px solid var(--admin-line);
    border-radius: 17px;
    background: var(--admin-surface);
    box-shadow: 0 10px 24px rgba(24, 32, 55, .03);
}

.admin-user-financial-card[b-nyan6ze6yd] {
    padding: 15px;
}

.admin-user-financial-card > header[b-nyan6ze6yd],
.admin-user-financial-list-card > header[b-nyan6ze6yd] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.admin-user-financial-card > header > span[b-nyan6ze6yd],
.admin-user-financial-list-card > header span[b-nyan6ze6yd] {
    color: var(--admin-accent);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .09em;
}

.admin-user-financial-card > header > strong[b-nyan6ze6yd],
.admin-user-financial-list-card > header > strong[b-nyan6ze6yd] {
    padding: 4px 7px;
    border-radius: 999px;
    color: var(--admin-text-2);
    background: var(--admin-surface-soft);
    font-size: 7px;
    font-weight: 850;
}

.admin-user-financial-list-card[b-nyan6ze6yd] {
    overflow: hidden;
}

.admin-user-financial-list-card > header[b-nyan6ze6yd] {
    padding: 13px 14px;
    border-bottom: 1px solid var(--admin-line);
}

.admin-user-financial-list-card > header h3[b-nyan6ze6yd] {
    margin: 4px 0 0;
    color: var(--admin-text);
    font-size: 12px;
}

.admin-user-financial-metrics[b-nyan6ze6yd],
.admin-user-fifo-projection[b-nyan6ze6yd] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.admin-user-financial-metrics > div[b-nyan6ze6yd],
.admin-user-fifo-projection > div[b-nyan6ze6yd] {
    min-width: 0;
    padding: 9px;
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    background: var(--admin-surface-soft);
}

.admin-user-financial-metrics span[b-nyan6ze6yd],
.admin-user-fifo-projection span[b-nyan6ze6yd] {
    display: block;
    color: var(--admin-muted);
    font-size: 6.5px;
    font-weight: 750;
}

.admin-user-financial-metrics strong[b-nyan6ze6yd],
.admin-user-fifo-projection strong[b-nyan6ze6yd] {
    display: block;
    margin-top: 4px;
    color: var(--admin-text);
    font-size: 10px;
    overflow-wrap: anywhere;
}

.admin-user-fifo-projection strong[b-nyan6ze6yd] {
    font-size: 8px;
}

.admin-user-entitlement-name[b-nyan6ze6yd] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
    padding: 11px;
    border: 1px solid var(--admin-line);
    border-radius: 11px;
    background: var(--admin-surface-soft);
}

.admin-user-entitlement-name strong[b-nyan6ze6yd] {
    color: var(--admin-text);
    font-size: 12px;
}

.admin-user-entitlement-name code[b-nyan6ze6yd] {
    padding: 3px 6px;
    border-radius: 6px;
    color: var(--admin-accent);
    background: var(--admin-accent-soft);
    font-size: 7px;
}

.admin-user-entitlement-grid[b-nyan6ze6yd] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0 0;
}

.admin-user-entitlement-grid > div[b-nyan6ze6yd] {
    min-width: 0;
    padding: 8px;
    border: 1px solid var(--admin-line);
    border-radius: 9px;
}

.admin-user-entitlement-grid dt[b-nyan6ze6yd] {
    color: var(--admin-muted);
    font-size: 6.3px;
}

.admin-user-entitlement-grid dd[b-nyan6ze6yd] {
    margin: 4px 0 0;
    color: var(--admin-text-2);
    font-size: 7px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.admin-user-financial-alert[b-nyan6ze6yd] {
    display: grid;
    gap: 3px;
    padding: 10px 11px;
    border: 1px solid rgba(239, 68, 68, .2);
    border-radius: 10px;
    color: var(--admin-danger);
    background: rgba(239, 68, 68, .055);
    font-size: 7px;
    line-height: 1.65;
}

.admin-user-financial-alert strong[b-nyan6ze6yd],
.admin-user-financial-alert span[b-nyan6ze6yd] {
    display: block;
}

.admin-user-financial-card > .admin-user-financial-alert[b-nyan6ze6yd] {
    margin-top: 10px;
}

.admin-user-financial-list[b-nyan6ze6yd],
.admin-user-commercial-list[b-nyan6ze6yd] {
    display: grid;
}

.admin-user-financial-list > article[b-nyan6ze6yd],
.admin-user-commercial-list > article[b-nyan6ze6yd] {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-top: 1px solid var(--admin-line);
}

.admin-user-financial-list > article:first-child[b-nyan6ze6yd],
.admin-user-commercial-list > article:first-child[b-nyan6ze6yd] {
    border-top: 0;
}

.admin-user-financial-list > article.is-manual[b-nyan6ze6yd] {
    background: color-mix(in srgb, var(--admin-warning) 5%, transparent);
}

.admin-user-financial-list > article > div[b-nyan6ze6yd],
.admin-user-commercial-list > article > div[b-nyan6ze6yd] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.admin-user-financial-list > article > div:last-child[b-nyan6ze6yd],
.admin-user-commercial-list > article > div:last-child[b-nyan6ze6yd] {
    justify-items: end;
    text-align: end;
}

.admin-user-financial-list strong[b-nyan6ze6yd],
.admin-user-commercial-list strong[b-nyan6ze6yd] {
    color: var(--admin-text);
    font-size: 8px;
    overflow-wrap: anywhere;
}

.admin-user-financial-list small[b-nyan6ze6yd],
.admin-user-commercial-list small[b-nyan6ze6yd] {
    color: var(--admin-muted);
    font-size: 6.3px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.admin-user-financial-list code[b-nyan6ze6yd],
.admin-user-commercial-list code[b-nyan6ze6yd] {
    color: var(--admin-muted);
    font-size: 6.2px;
    overflow-wrap: anywhere;
}

.admin-user-credit-ledger strong.is-credit[b-nyan6ze6yd] {
    color: var(--admin-success);
}

.admin-user-credit-ledger strong.is-debit[b-nyan6ze6yd] {
    color: var(--admin-danger);
}

.admin-user-money-status[b-nyan6ze6yd] {
    display: inline-flex;
    width: fit-content;
    padding: 3px 6px;
    border-radius: 999px;
    font-size: 6.2px;
    font-weight: 850;
}

.admin-user-money-status.is-success[b-nyan6ze6yd] {
    color: var(--admin-success);
    background: color-mix(in srgb, var(--admin-success) 9%, transparent);
}

.admin-user-money-status.is-warning[b-nyan6ze6yd] {
    color: var(--admin-warning);
    background: color-mix(in srgb, var(--admin-warning) 10%, transparent);
}

.admin-user-money-status.is-danger[b-nyan6ze6yd] {
    color: var(--admin-danger);
    background: color-mix(in srgb, var(--admin-danger) 9%, transparent);
}

.admin-user-money-status.is-neutral[b-nyan6ze6yd] {
    color: var(--admin-muted);
    background: var(--admin-surface-soft);
}

.admin-user-financial-empty[b-nyan6ze6yd] {
    margin: 0;
    padding: 18px 14px;
    color: var(--admin-muted);
    font-size: 7px;
    line-height: 1.6;
}

@media (max-width: 1280px) {
    .admin-user-history-grid[b-nyan6ze6yd] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .admin-user-history-grid > :first-child[b-nyan6ze6yd] {
            grid-column: 1 / -1;
        }
}

@media (max-width: 980px) {
    .admin-user-financial-overview[b-nyan6ze6yd],
    .admin-user-financial-subgrid[b-nyan6ze6yd],
    .admin-user-commercial-grid[b-nyan6ze6yd],
    .admin-user-history-grid[b-nyan6ze6yd] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .admin-user-financial-metrics[b-nyan6ze6yd],
    .admin-user-fifo-projection[b-nyan6ze6yd],
    .admin-user-entitlement-grid[b-nyan6ze6yd] {
        grid-template-columns: 1fr;
    }

    .admin-user-financial-list > article[b-nyan6ze6yd],
    .admin-user-commercial-list > article[b-nyan6ze6yd] {
        flex-direction: column;
    }

    .admin-user-financial-list > article > div:last-child[b-nyan6ze6yd],
    .admin-user-commercial-list > article > div:last-child[b-nyan6ze6yd] {
        justify-items: start;
        text-align: start;
    }
}


.admin-users-hero-actions[b-nyan6ze6yd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.admin-users-export[b-nyan6ze6yd] {
    text-decoration: none;
}
/* _content/AITranslationPlatform.Web/Components/Admin/Writing/AdminArticleWriting.razor.rz.scp.css */
.admin-article[b-za6nnkj00s] { max-width: 1260px; margin: 0 auto; padding: 34px 30px 48px; color: #1a2740; }

.page-header[b-za6nnkj00s] { margin-bottom: 22px; }
.eyebrow[b-za6nnkj00s] { display: block; color: #506de5; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.page-header h1[b-za6nnkj00s] { margin: 8px 0 10px; font-size: 30px; }
.page-header p[b-za6nnkj00s] { margin: 0; max-width: 900px; color: #73819a; line-height: 1.8; }

.notice[b-za6nnkj00s], .error[b-za6nnkj00s], .loading-state[b-za6nnkj00s] { padding: 13px 15px; border-radius: 11px; margin-bottom: 16px; }
.notice[b-za6nnkj00s] { background: #eaf8ef; color: #176e40; }
.notice small[b-za6nnkj00s] { margin-inline-start: 6px; opacity: .7; }
.error[b-za6nnkj00s] { background: #fff0f1; color: #b83442; }
.loading-state[b-za6nnkj00s] { background: #fff; color: #73819a; border: 1px solid #e2e8f3; }

.status-card[b-za6nnkj00s] { display: grid; gap: 16px; margin-bottom: 18px; padding: 18px 20px; border: 1px solid #e2e8f3; border-inline-start: 4px solid #c7cfdd; border-radius: 16px; background: #fff; }
.status-card.is-on[b-za6nnkj00s] { border-inline-start-color: #2a9d63; }
.status-card.is-off[b-za6nnkj00s] { border-inline-start-color: #d4a017; }
.status-card > div[b-za6nnkj00s] { display: grid; gap: 5px; }
.status-card strong[b-za6nnkj00s] { font-size: 16px; }
.status-card span[b-za6nnkj00s] { color: #5d6b84; font-size: 12px; line-height: 1.8; }

.stats[b-za6nnkj00s] { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.stats li[b-za6nnkj00s] { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid #edf1f7; border-radius: 10px; }
.stats span[b-za6nnkj00s] { color: #74829a; font-size: 11px; line-height: 1.5; }
.stats b[b-za6nnkj00s] { color: #23324b; font-size: 14px; }

.setting-card[b-za6nnkj00s] { padding: 20px 22px; border: 1px solid #e2e8f3; border-radius: 16px; background: #fff; box-shadow: 0 8px 25px rgba(37, 55, 94, .045); }
.setting-card h2[b-za6nnkj00s] { margin: 0 0 4px; font-size: 16px; }
.setting-cards[b-za6nnkj00s] { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.setting-card.wide[b-za6nnkj00s] { grid-column: 1 / -1; }
.note-card[b-za6nnkj00s] { margin-top: 18px; }
.note-card p[b-za6nnkj00s] { margin: 6px 0 0; color: #5d6b84; font-size: 12px; line-height: 1.9; }

.fields[b-za6nnkj00s] { display: grid; gap: 16px; padding-top: 14px; }
.fields.two[b-za6nnkj00s] { grid-template-columns: 1fr 1fr; }
.fields label[b-za6nnkj00s] { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.fields label > span[b-za6nnkj00s] { color: #3d4c65; }
.fields small[b-za6nnkj00s] { color: #8793a8; font-size: 11px; font-weight: 400; line-height: 1.7; }
.fields input:not([type="checkbox"])[b-za6nnkj00s], .fields select[b-za6nnkj00s] { box-sizing: border-box; width: 100%; height: 40px; padding: 0 11px; border: 1px solid #d9e1ef; border-radius: 9px; background: #fbfcff; color: #23324b; font: inherit; outline: none; }
.fields input:focus[b-za6nnkj00s], .fields select:focus[b-za6nnkj00s] { border-color: #5773e7; box-shadow: 0 0 0 3px #edf1ff; }
.fields input[dir="ltr"][b-za6nnkj00s] { text-align: left; }
.inline-check[b-za6nnkj00s] { display: inline-flex !important; align-items: center; gap: 7px; font-weight: 400 !important; }

.toggle-row[b-za6nnkj00s] { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 15px; cursor: pointer; }
.toggle-row span[b-za6nnkj00s] { display: grid; gap: 4px; }
.toggle-row strong[b-za6nnkj00s] { font-size: 14px; }
.toggle-row small[b-za6nnkj00s] { color: #7c899f; font-size: 11px; line-height: 1.6; }
.toggle-row input[type="checkbox"][b-za6nnkj00s] { position: absolute; opacity: 0; }
.toggle-row i[b-za6nnkj00s] { position: relative; display: block; flex: none; width: 42px; height: 23px; border-radius: 100px; background: #cbd4e2; transition: .2s; }
.toggle-row i[b-za6nnkj00s]::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #889; transition: .2s; }
.toggle-row input:checked + i[b-za6nnkj00s] { background: #4867e7; }
.toggle-row input:checked + i[b-za6nnkj00s]::after { inset-inline-start: 22px; }
.toggle-row input:focus-visible + i[b-za6nnkj00s] { box-shadow: 0 0 0 3px #edf1ff; }

.form-footer[b-za6nnkj00s] { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 18px; border: 1px solid #e2e8f3; border-radius: 14px; background: #fff; }
.form-footer span[b-za6nnkj00s] { color: #74829a; font-size: 12px; line-height: 1.7; }
.primary-button[b-za6nnkj00s] { flex: none; padding: 12px 22px; border: 0; border-radius: 10px; background: #3156db; color: #fff; font: inherit; font-weight: 700; box-shadow: 0 8px 18px rgba(49, 86, 219, .2); cursor: pointer; }

@media (max-width: 900px) {
    .setting-cards[b-za6nnkj00s], .fields.two[b-za6nnkj00s] { grid-template-columns: 1fr; }
    .stats[b-za6nnkj00s] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .admin-article[b-za6nnkj00s] { padding: 22px 16px; }
    .form-footer[b-za6nnkj00s] { flex-direction: column; align-items: stretch; }
}
/* _content/AITranslationPlatform.Web/Components/Billing/Billing.razor.rz.scp.css */
/* =========================================================
   USER BILLING / CREDITS — PREMIUM WORKSPACE V2
   Unified with Dashboard / Translation / Documents / Glossaries
   ========================================================= */

.billing-page[b-zq2e6k3gnk] {
    --bill-accent: var(--ui-accent, #f2bd43);
    --bill-accent-strong: var(--ui-accent-strong, #dfa62c);
    --bill-accent-soft: var(--ui-accent-soft, rgba(226,175,46,.12));
    --bill-accent-tint: var(--ui-accent-tint, rgba(226,175,46,.065));

    --bill-text: var(--text, #28241e);
    --bill-text-2: var(--text-secondary, #625d54);
    --bill-muted: var(--muted, #918a7f);

    --bill-surface: var(--surface, #ffffff);
    --bill-surface-raised: var(--ui-surface-raised, #ffffff);
    --bill-surface-strong: var(--ui-surface-strong, #fffdf9);
    --bill-surface-soft: var(--ui-surface-sunken, #faf8f3);

    --bill-line: var(--ui-line, rgba(48,43,34,.10));
    --bill-line-strong: var(--ui-line-strong, rgba(48,43,34,.16));

    --bill-success: var(--ui-success, #4a8c61);
    --bill-success-soft: var(--ui-success-tint, rgba(74,140,97,.10));
    --bill-warning: var(--ui-warning, #b97814);
    --bill-warning-soft: var(--ui-warning-tint, rgba(185,120,20,.10));
    --bill-purple: #8d78b8;
    --bill-purple-soft: rgba(141,120,184,.10);
    --bill-danger: var(--ui-danger, #b65050);
    --bill-danger-soft: var(--ui-danger-tint, rgba(182,80,80,.10));

    --bill-shadow-sm: var(--ui-shadow-sm, 0 8px 22px rgba(32,28,22,.055));
    --bill-shadow-md: var(--ui-shadow-md, 0 18px 46px rgba(32,28,22,.085));

    --border-color: var(--bill-line);

    width: min(100%, 1480px);
    margin: 0 auto;
    padding: 0 0 30px;

    display: flex;
    flex-direction: column;
    gap: 18px;

    color: var(--bill-text);
}


/* =========================================================
   HERO
   ========================================================= */

.billing-hero[b-zq2e6k3gnk] {
    position: relative;

    min-height: 210px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;

    padding: 30px 32px;

    overflow: hidden;

    border: 1px solid var(--bill-line);
    border-radius: 28px;

    background:
        radial-gradient(115% 145% at 8% -18%, var(--bill-accent-soft), transparent 48%),
        radial-gradient(85% 115% at 96% 118%, rgba(130,121,103,.07), transparent 56%),
        linear-gradient(135deg, var(--bill-surface-strong), var(--bill-surface));

    box-shadow: var(--bill-shadow-md);

    animation: billing-card-in-b-zq2e6k3gnk .62s cubic-bezier(.2,.8,.2,1) .03s backwards;
}

.billing-page[dir="rtl"] .billing-hero[b-zq2e6k3gnk] {
    background:
        radial-gradient(115% 145% at 92% -18%, var(--bill-accent-soft), transparent 48%),
        radial-gradient(85% 115% at 4% 118%, rgba(130,121,103,.07), transparent 56%),
        linear-gradient(225deg, var(--bill-surface-strong), var(--bill-surface));
}

.billing-hero[b-zq2e6k3gnk]::before,
.billing-hero[b-zq2e6k3gnk]::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.billing-hero[b-zq2e6k3gnk]::before {
    width: 285px;
    height: 285px;

    inset-block-start: -184px;
    inset-inline-end: -94px;

    border: 42px solid var(--bill-accent-soft);
    opacity: .78;
}

.billing-hero[b-zq2e6k3gnk]::after {
    width: 154px;
    height: 154px;

    inset-block-end: -101px;
    inset-inline-start: -44px;

    border: 26px solid var(--bill-line-strong);
    opacity: .62;
}

.billing-hero-copy[b-zq2e6k3gnk] {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.billing-eyebrow[b-zq2e6k3gnk],
.billing-section-kicker[b-zq2e6k3gnk] {
    display: block;

    color: #a86e11;

    font-size: .56rem;
    font-weight: 850;
    letter-spacing: .07em;
}

.billing-eyebrow[b-zq2e6k3gnk] {
    width: max-content;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin: 0 0 9px;
    padding: 6px 11px;

    border: 1px solid rgba(226,175,46,.28);
    border-radius: 999px;

    background: var(--bill-surface-raised);
}

.billing-eyebrow[b-zq2e6k3gnk]::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--bill-accent-strong);
    box-shadow: 0 0 0 4px var(--bill-accent-soft);
}

.billing-page[dir="rtl"] .billing-eyebrow[b-zq2e6k3gnk],
.billing-page[dir="rtl"] .billing-section-kicker[b-zq2e6k3gnk] {
    letter-spacing: 0;
}

.billing-hero h1[b-zq2e6k3gnk] {
    margin: 0;

    color: var(--bill-text);

    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.billing-page[dir="rtl"] .billing-hero h1[b-zq2e6k3gnk] {
    letter-spacing: 0;
}

.billing-hero p[b-zq2e6k3gnk] {
    max-width: 760px;

    margin: 11px 0 0;

    color: var(--bill-text-2);

    font-size: .82rem;
    line-height: 1.9;
}


/* =========================================================
   PAYMENT RESULT / INFO STRIPS
   ========================================================= */

.billing-payment-result[b-zq2e6k3gnk] {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 14px 16px;

    border: 1px solid var(--bill-line);
    border-radius: 15px;

    background:
        linear-gradient(145deg, var(--bill-accent-tint), transparent 80%),
        var(--bill-surface-strong);

    box-shadow: var(--bill-shadow-sm);
}

.billing-payment-result-icon[b-zq2e6k3gnk] {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--bill-accent-soft);
    color: #9a6b19;

    font-size: .68rem;
    font-weight: 900;
}

.billing-payment-result strong[b-zq2e6k3gnk] {
    display: block;

    color: var(--bill-text);

    font-size: .64rem;
    font-weight: 830;
}

.billing-payment-result p[b-zq2e6k3gnk] {
    margin: 4px 0 0;

    color: var(--bill-muted);

    font-size: .53rem;
    line-height: 1.65;
}

.billing-payment-result small[b-zq2e6k3gnk] {
    display: block;

    margin-top: 7px;

    color: var(--bill-muted);

    font-size: .49rem;
}

.billing-payment-result code[b-zq2e6k3gnk] {
    margin-inline-start: 4px;

    color: var(--bill-text);

    font-size: .50rem;
}

.billing-payment-result.success[b-zq2e6k3gnk] {
    border-color: rgba(74,140,97,.17);

    background:
        linear-gradient(145deg, var(--bill-success-soft), transparent 82%),
        var(--bill-surface-strong);
}

.billing-payment-result.success .billing-payment-result-icon[b-zq2e6k3gnk] {
    background: var(--bill-success-soft);
    color: var(--bill-success);
}

.billing-payment-result.cancelled[b-zq2e6k3gnk] {
    border-color: rgba(185,120,20,.17);

    background:
        linear-gradient(145deg, var(--bill-warning-soft), transparent 82%),
        var(--bill-surface-strong);
}

.billing-payment-result.cancelled .billing-payment-result-icon[b-zq2e6k3gnk] {
    background: var(--bill-warning-soft);
    color: var(--bill-warning);
}

.billing-payment-result.failed[b-zq2e6k3gnk] {
    border-color: rgba(182,80,80,.17);

    background:
        linear-gradient(145deg, var(--bill-danger-soft), transparent 82%),
        var(--bill-surface-strong);
}

.billing-payment-result.failed .billing-payment-result-icon[b-zq2e6k3gnk] {
    background: var(--bill-danger-soft);
    color: var(--bill-danger);
}


/* =========================================================
   SUMMARY — SAME LANGUAGE AS TRANSLATION CARDS
   ========================================================= */

.billing-summary-grid[b-zq2e6k3gnk] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.billing-summary-card[b-zq2e6k3gnk] {
    position: relative;

    min-width: 0;
    min-height: 94px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 12px 80px 11px 15px;

    overflow: hidden;

    border: 1px solid var(--bill-line);
    border-radius: 16px;

    background:
        linear-gradient(
            90deg,
            #f6e6b7 0%,
            #fbf2d8 48%,
            #ffffff 100%
        );

    box-shadow:
        0 2px 8px rgba(16,24,40,.05),
        inset 0 1px 0 rgba(255,255,255,.50);

    transition: .16s ease;
}

.billing-summary-card:hover[b-zq2e6k3gnk] {
    transform: translateY(-1px);

    border-color: var(--bill-line-strong);

    box-shadow:
        0 4px 12px rgba(16,24,40,.07),
        inset 0 1px 0 rgba(255,255,255,.52);
}

.billing-summary-card[b-zq2e6k3gnk]::after {
    content: "";

    position: absolute;

    top: 13px;
    bottom: 13px;
    right: 64px;

    width: 1px;

    background: var(--bill-line);
}

.billing-summary-icon[b-zq2e6k3gnk] {
    position: absolute;

    top: 50%;
    right: 15px;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    transform: translateY(-50%);

    color: #7f7357;
}

.billing-summary-icon svg[b-zq2e6k3gnk] {
    width: 21px;
    height: 21px;
}

.billing-summary-label[b-zq2e6k3gnk] {
    display: block;

    margin: 0 0 4px;

    color: var(--bill-text-2);

    font-size: .58rem;
    font-weight: 780;
    line-height: 1.35;

    text-align: right;
}

.billing-summary-card strong[b-zq2e6k3gnk] {
    display: block;

    margin: 0;

    color: #eea000;

    font-size: 1.28rem;
    font-weight: 900;
    line-height: 1.05;

    font-variant-numeric: tabular-nums;

    text-align: right;
}

.billing-summary-card small[b-zq2e6k3gnk] {
    display: block;

    margin-top: 5px;

    color: var(--bill-muted);

    font-size: .50rem;
    line-height: 1.45;

    text-align: right;
}

.billing-page[dir="ltr"] .billing-summary-card[b-zq2e6k3gnk] {
    padding-left: 80px;
    padding-right: 15px;
}

.billing-page[dir="ltr"] .billing-summary-card[b-zq2e6k3gnk]::after {
    right: auto;
    left: 64px;
}

.billing-page[dir="ltr"] .billing-summary-icon[b-zq2e6k3gnk] {
    right: auto;
    left: 15px;
}

.billing-page[dir="ltr"] .billing-summary-label[b-zq2e6k3gnk],
.billing-page[dir="ltr"] .billing-summary-card strong[b-zq2e6k3gnk],
.billing-page[dir="ltr"] .billing-summary-card small[b-zq2e6k3gnk] {
    text-align: left;
}


/* =========================================================
   LOADING / ERROR
   ========================================================= */

.billing-state-card[b-zq2e6k3gnk] {
    min-height: 150px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    padding: 26px;

    border: 1px solid var(--bill-line);
    border-radius: 22px;

    background: var(--bill-surface);

    box-shadow: var(--bill-shadow-sm);
}

.billing-state-card strong[b-zq2e6k3gnk] {
    display: block;

    color: var(--bill-text);

    font-size: .75rem;
    font-weight: 820;
}

.billing-state-card p[b-zq2e6k3gnk] {
    max-width: 620px;

    margin: 5px 0 0;

    color: var(--bill-muted);

    font-size: .60rem;
    line-height: 1.7;
}

.billing-spinner[b-zq2e6k3gnk] {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;

    border: 3px solid var(--bill-accent-soft);
    border-top-color: var(--bill-accent-strong);
    border-radius: 50%;

    animation: billing-spin-b-zq2e6k3gnk .75s linear infinite;
}

.billing-error-card[b-zq2e6k3gnk] {
    min-height: 0;
    justify-content: flex-start;
}

.billing-error-icon[b-zq2e6k3gnk] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: var(--bill-danger-soft);
    color: var(--bill-danger);

    font-weight: 900;
}

.billing-secondary-button[b-zq2e6k3gnk] {
    min-height: 36px;

    margin-top: 11px;
    padding: 0 13px;

    border: 1px solid var(--bill-line-strong);
    border-radius: 11px;

    background: var(--bill-surface-raised);

    color: var(--bill-text-2);

    font-family: inherit;
    font-size: .59rem;
    font-weight: 800;

    cursor: pointer;

    transition: .16s ease;
}

.billing-secondary-button:hover[b-zq2e6k3gnk] {
    transform: translateY(-1px);

    border-color: var(--bill-accent-strong);

    color: #9c6b16;
}


/* =========================================================
   PACKAGE / CREDIT SOURCES
   ========================================================= */

.billing-package-card[b-zq2e6k3gnk] {
    --border-color: var(--bill-line);

    overflow: hidden;

    border: 1px solid var(--bill-line);
    border-radius: 24px;

    background: var(--bill-surface);

    box-shadow: var(--bill-shadow-sm);
}

.billing-package-heading[b-zq2e6k3gnk] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;

    padding: 20px 22px 17px;

    border-bottom: 1px solid var(--bill-line);
}

.billing-package-heading h2[b-zq2e6k3gnk] {
    margin: 0;

    color: var(--bill-text);

    font-size: 1.05rem;
    font-weight: 840;
}

.billing-package-heading p[b-zq2e6k3gnk] {
    max-width: 900px;

    margin: 5px 0 0;

    color: var(--bill-muted);

    font-size: .58rem;
    line-height: 1.7;
}

.billing-package-status[b-zq2e6k3gnk] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;

    padding: 7px 10px;

    border: 1px solid rgba(74,140,97,.12);
    border-radius: 999px;

    background: var(--bill-success-soft);

    color: var(--bill-success);

    font-size: .55rem;
    font-weight: 800;
}

.billing-package-status i[b-zq2e6k3gnk] {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: currentColor;
}

.billing-package-card > .billing-payment-result[b-zq2e6k3gnk] {
    margin: 14px 22px 0 !important;
    box-shadow: none;
}

.billing-package-overview[b-zq2e6k3gnk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 18px 22px;

    border-bottom: 1px solid var(--bill-line);

    background:
        linear-gradient(145deg, var(--bill-accent-tint), transparent 76%);
}

.billing-package-name[b-zq2e6k3gnk] {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 13px;
}

.billing-package-symbol[b-zq2e6k3gnk] {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(226,175,46,.18);
    border-radius: 14px;

    background: var(--bill-accent-soft);
    color: #8b681f;
}

.billing-package-symbol svg[b-zq2e6k3gnk] {
    width: 21px;
    height: 21px;
}

.billing-package-name > div[b-zq2e6k3gnk] {
    min-width: 0;
}

.billing-package-name strong[b-zq2e6k3gnk] {
    display: block;

    color: var(--bill-text);

    font-size: .78rem;
    font-weight: 850;
}

.billing-package-name span[b-zq2e6k3gnk] {
    display: block;

    margin-top: 5px;

    color: var(--bill-muted);

    font-size: .53rem;
    line-height: 1.55;
}

.billing-balance-detail[b-zq2e6k3gnk] {
    flex: 0 0 auto;
    text-align: end;
}

.billing-balance-detail > span[b-zq2e6k3gnk] {
    display: block;

    color: var(--bill-muted);

    font-size: .51rem;
    font-weight: 700;
}

.billing-balance-detail strong[b-zq2e6k3gnk] {
    display: inline-block;

    margin-top: 3px;

    color: #e9a70f;

    font-size: 1.22rem;
    font-weight: 880;
}

.billing-balance-detail small[b-zq2e6k3gnk] {
    margin-inline-start: 5px;

    color: var(--bill-muted);

    font-size: .49rem;
}


/* =========================================================
   PACKAGE METRICS
   ========================================================= */

.billing-package-card > div > .billing-usage-metrics[b-zq2e6k3gnk],
.billing-usage-metrics[b-zq2e6k3gnk] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;

    padding: 12px 22px 0;

    border-top: 0;
}

.billing-usage-metrics > div[b-zq2e6k3gnk] {
    min-width: 0;

    padding: 10px 11px;

    border: 1px solid var(--bill-line);
    border-radius: 11px;

    background: var(--bill-surface-soft);
}

.billing-usage-metrics span[b-zq2e6k3gnk] {
    display: block;

    color: var(--bill-muted);

    font-size: .48rem;
}

.billing-usage-metrics strong[b-zq2e6k3gnk] {
    display: block;

    margin-top: 4px;

    color: var(--bill-text);

    font-size: .72rem;
    font-weight: 820;
}


/* =========================================================
   CAPABILITIES / CHIPS / LIMIT
   ========================================================= */

.billing-capability-section[b-zq2e6k3gnk] {
    padding: 17px 22px 20px;
}

.billing-capability-section + .billing-capability-section[b-zq2e6k3gnk] {
    border-top: 1px solid var(--bill-line);
}

.billing-capability-heading[b-zq2e6k3gnk] {
    margin-bottom: 12px;
}

.billing-capability-heading strong[b-zq2e6k3gnk] {
    display: block;

    color: var(--bill-text);

    font-size: .66rem;
    font-weight: 820;
}

.billing-capability-heading span[b-zq2e6k3gnk] {
    display: block;

    max-width: 920px;

    margin-top: 4px;

    color: var(--bill-muted);

    font-size: .51rem;
    line-height: 1.65;
}

.billing-format-chips[b-zq2e6k3gnk] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    margin: 0;
}

.billing-format-chip[b-zq2e6k3gnk] {
    padding: 5px 9px;

    border: 1px solid transparent;
    border-radius: 8px;

    font-size: .51rem;
    font-weight: 800;
    letter-spacing: .015em;
}

.billing-format-chip.enabled[b-zq2e6k3gnk] {
    border-color: rgba(74,140,97,.11);

    background: var(--bill-success-soft);

    color: var(--bill-success);
}

.billing-format-chip.locked[b-zq2e6k3gnk] {
    border-color: var(--bill-line);

    background: transparent;

    color: var(--bill-muted);

    text-decoration: line-through;
}

.billing-size-limit[b-zq2e6k3gnk] {
    width: max-content;
    max-width: 100%;

    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 10px !important;
    padding: 9px 11px;

    border: 1px solid var(--bill-line);
    border-radius: 11px;

    background: var(--bill-surface-soft);
}

.billing-size-limit-glyph[b-zq2e6k3gnk] {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: var(--bill-accent-soft);
    color: #9a6b19;
}

.billing-size-limit-glyph svg[b-zq2e6k3gnk] {
    width: 16px;
    height: 16px;
}

.billing-size-limit small[b-zq2e6k3gnk] {
    display: block;

    margin-bottom: 2px;

    color: var(--bill-muted);

    font-size: .49rem;
}

.billing-size-limit strong[b-zq2e6k3gnk] {
    color: var(--bill-text);

    font-size: .66rem;
    font-weight: 820;
}


/* Legacy package feature components kept compatible */
.package-mini-feature[b-zq2e6k3gnk] {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 5px 0;
}

.package-mini-feature span[b-zq2e6k3gnk] {
    width: 18px;
    height: 18px;

    display: grid;
    place-items: center;

    border-radius: 6px;

    background: rgba(120,126,137,.08);
    color: var(--bill-muted);

    font-size: .52rem;
    font-weight: 900;
}

.package-mini-feature.enabled span[b-zq2e6k3gnk] {
    background: var(--bill-success-soft);
    color: var(--bill-success);
}

.package-mini-feature.locked[b-zq2e6k3gnk] {
    opacity: .5;
}

.package-mini-feature strong[b-zq2e6k3gnk] {
    color: var(--bill-text-2);

    font-size: .54rem;
    font-weight: 700;
}


/* =========================================================
   NO PACKAGE
   ========================================================= */

.billing-no-package[b-zq2e6k3gnk] {
    min-height: 150px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    padding: 26px;
}

.billing-no-package-icon[b-zq2e6k3gnk] {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: var(--bill-warning-soft);
    color: var(--bill-warning);
}

.billing-no-package-icon svg[b-zq2e6k3gnk] {
    width: 20px;
    height: 20px;
}

.billing-no-package strong[b-zq2e6k3gnk] {
    display: block;

    color: var(--bill-text);

    font-size: .72rem;
    font-weight: 820;
}

.billing-no-package p[b-zq2e6k3gnk] {
    max-width: 580px;

    margin: 5px 0 0;

    color: var(--bill-muted);

    font-size: .56rem;
    line-height: 1.65;
}


/* =========================================================
   INSIGHTS
   ========================================================= */

.billing-insights-grid[b-zq2e6k3gnk] {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 12px;
}

.billing-panel[b-zq2e6k3gnk] {
    min-width: 0;

    padding: 18px 20px;

    border: 1px solid var(--bill-line);
    border-radius: 20px;

    background:
        linear-gradient(145deg, var(--bill-accent-tint), transparent 78%),
        var(--bill-surface);

    box-shadow: var(--bill-shadow-sm);
}

.billing-panel-heading[b-zq2e6k3gnk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    margin-bottom: 16px;
}

.billing-panel-heading h2[b-zq2e6k3gnk] {
    margin: 0;

    color: var(--bill-text);

    font-size: .88rem;
    font-weight: 830;
}

.billing-panel-icon[b-zq2e6k3gnk] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    display: grid;
    place-items: center;

    border: 1px solid var(--bill-line);
    border-radius: 12px;

    background: var(--bill-surface-raised);
}

.billing-panel-icon svg[b-zq2e6k3gnk] {
    width: 18px;
    height: 18px;
}

.billing-panel-icon.usage[b-zq2e6k3gnk] {
    color: var(--bill-purple);
}

.billing-panel-icon.reserved[b-zq2e6k3gnk] {
    color: var(--bill-warning);
}

.billing-monthly-value[b-zq2e6k3gnk] {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.billing-monthly-value strong[b-zq2e6k3gnk] {
    color: #e9a70f;

    font-size: 1.78rem;
    font-weight: 880;
    letter-spacing: -.025em;
}

.billing-monthly-value span[b-zq2e6k3gnk] {
    color: var(--bill-muted);

    font-size: .52rem;
    font-weight: 700;
}

.billing-panel-description[b-zq2e6k3gnk] {
    max-width: 620px;

    margin: 8px 0 15px;

    color: var(--bill-muted);

    font-size: .54rem;
    line-height: 1.7;
}

.billing-panel .billing-usage-metrics[b-zq2e6k3gnk] {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    padding: 12px 0 0;

    border-top: 1px solid var(--bill-line);
}

.billing-reserved-total[b-zq2e6k3gnk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.billing-reserved-total > div[b-zq2e6k3gnk] {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.billing-reserved-total strong[b-zq2e6k3gnk] {
    color: #e9a70f;

    font-size: 1.52rem;
    font-weight: 870;
}

.billing-reserved-total > div > span[b-zq2e6k3gnk] {
    color: var(--bill-muted);

    font-size: .49rem;
}

.billing-active-jobs[b-zq2e6k3gnk] {
    padding: 6px 9px;

    border: 1px solid rgba(185,120,20,.12);
    border-radius: 999px;

    background: var(--bill-warning-soft);

    color: var(--bill-warning);

    font-size: .49rem;
    font-weight: 800;
}

.billing-reserved-list[b-zq2e6k3gnk] {
    display: flex;
    flex-direction: column;
    gap: 7px;

    margin-top: 13px;
}

.billing-reserved-item[b-zq2e6k3gnk] {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;

    padding: 9px 10px;

    border: 1px solid var(--bill-line);
    border-radius: 11px;

    background: var(--bill-surface-soft);
}

.billing-reserved-file-icon[b-zq2e6k3gnk] {
    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: var(--bill-warning-soft);
    color: var(--bill-warning);
}

.billing-reserved-file-icon svg[b-zq2e6k3gnk] {
    width: 15px;
    height: 15px;
}

.billing-reserved-copy[b-zq2e6k3gnk] {
    min-width: 0;
}

.billing-reserved-copy strong[b-zq2e6k3gnk] {
    display: block;

    overflow: hidden;

    color: var(--bill-text);

    font-size: .56rem;
    font-weight: 790;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.billing-reserved-copy span[b-zq2e6k3gnk] {
    display: block;

    margin-top: 3px;

    color: var(--bill-muted);

    font-size: .47rem;
}

.billing-reserved-amount[b-zq2e6k3gnk] {
    text-align: end;
}

.billing-reserved-amount strong[b-zq2e6k3gnk] {
    display: block;

    color: var(--bill-warning);

    font-size: .64rem;
    font-weight: 850;
}

.billing-reserved-amount small[b-zq2e6k3gnk] {
    color: var(--bill-muted);

    font-size: .44rem;
}

.billing-reserved-empty[b-zq2e6k3gnk] {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 13px;
    padding: 11px 12px;

    border: 1px solid rgba(74,140,97,.12);
    border-radius: 12px;

    background: var(--bill-success-soft);
}

.billing-reserved-empty > span[b-zq2e6k3gnk] {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background: rgba(74,140,97,.10);
    color: var(--bill-success);
}

.billing-reserved-empty svg[b-zq2e6k3gnk] {
    width: 15px;
    height: 15px;
}

.billing-reserved-empty strong[b-zq2e6k3gnk] {
    display: block;

    color: var(--bill-text);

    font-size: .56rem;
}

.billing-reserved-empty small[b-zq2e6k3gnk] {
    display: block;

    margin-top: 3px;

    color: var(--bill-muted);

    font-size: .47rem;
    line-height: 1.5;
}


/* =========================================================
   ACTIVITY / PURCHASE TABLES
   ========================================================= */

.billing-activity-card[b-zq2e6k3gnk],
.billing-purchases-card[b-zq2e6k3gnk] {
    overflow: hidden;

    border: 1px solid var(--bill-line);
    border-radius: 22px;

    background: var(--bill-surface);

    box-shadow: var(--bill-shadow-sm);
}

.billing-activity-heading[b-zq2e6k3gnk],
.billing-purchases-heading[b-zq2e6k3gnk] {
    padding: 19px 22px 16px;

    border-bottom: 1px solid var(--bill-line);
}

.billing-activity-heading h2[b-zq2e6k3gnk],
.billing-purchases-heading h2[b-zq2e6k3gnk] {
    margin: 0;

    color: var(--bill-text);

    font-size: .92rem;
    font-weight: 830;
}

.billing-activity-heading p[b-zq2e6k3gnk],
.billing-purchases-heading p[b-zq2e6k3gnk] {
    margin: 5px 0 0;

    color: var(--bill-muted);

    font-size: .54rem;
    line-height: 1.6;
}

.billing-activity-table-wrap[b-zq2e6k3gnk],
.billing-purchases-table-wrap[b-zq2e6k3gnk] {
    overflow-x: auto;
}

.billing-activity-table[b-zq2e6k3gnk],
.billing-purchases-table[b-zq2e6k3gnk] {
    width: 100%;

    border-collapse: collapse;
}

.billing-purchases-table[b-zq2e6k3gnk] {
    min-width: 850px;
}

.billing-activity-table th[b-zq2e6k3gnk],
.billing-purchases-table th[b-zq2e6k3gnk] {
    padding: 10px 16px;

    text-align: start;

    border-bottom: 1px solid var(--bill-line);

    background: var(--bill-surface-soft);

    color: var(--bill-muted);

    font-size: .49rem;
    font-weight: 800;

    white-space: nowrap;
}

.billing-activity-table td[b-zq2e6k3gnk],
.billing-purchases-table td[b-zq2e6k3gnk] {
    padding: 11px 16px;

    border-bottom: 1px solid var(--bill-line);

    vertical-align: middle;
}

.billing-activity-table tbody tr:last-child td[b-zq2e6k3gnk],
.billing-purchases-table tbody tr:last-child td[b-zq2e6k3gnk] {
    border-bottom: 0;
}

.billing-activity-table tbody tr[b-zq2e6k3gnk],
.billing-purchases-table tbody tr[b-zq2e6k3gnk] {
    transition: background .15s ease;
}

.billing-activity-table tbody tr:hover[b-zq2e6k3gnk],
.billing-purchases-table tbody tr:hover[b-zq2e6k3gnk] {
    background: var(--bill-accent-tint);
}

.billing-activity-type[b-zq2e6k3gnk] {
    min-width: 190px;

    display: flex;
    align-items: center;
    gap: 9px;
}

.billing-activity-icon[b-zq2e6k3gnk] {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: var(--bill-surface-soft);
    color: var(--bill-muted);

    font-size: .64rem;
    font-weight: 900;
}

.billing-activity-icon.positive[b-zq2e6k3gnk] {
    background: var(--bill-success-soft);
    color: var(--bill-success);
}

.billing-activity-icon.negative[b-zq2e6k3gnk] {
    background: var(--bill-danger-soft);
    color: var(--bill-danger);
}

.billing-activity-icon.reserved[b-zq2e6k3gnk] {
    background: var(--bill-warning-soft);
    color: var(--bill-warning);
}

.billing-activity-icon.adjustment[b-zq2e6k3gnk] {
    background: var(--bill-purple-soft);
    color: var(--bill-purple);
}

.billing-activity-type strong[b-zq2e6k3gnk],
.billing-activity-related strong[b-zq2e6k3gnk] {
    display: block;

    max-width: 280px;

    overflow: hidden;

    color: var(--bill-text);

    font-size: .55rem;
    font-weight: 790;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.billing-activity-type small[b-zq2e6k3gnk] {
    display: block;

    max-width: 300px;

    margin-top: 3px;

    overflow: hidden;

    color: var(--bill-muted);

    font-size: .45rem;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.billing-activity-related span[b-zq2e6k3gnk],
.billing-activity-date[b-zq2e6k3gnk] {
    color: var(--bill-muted);

    font-size: .50rem;

    white-space: nowrap;
}

.billing-activity-amount-column[b-zq2e6k3gnk] {
    text-align: end !important;
}

.billing-activity-amount[b-zq2e6k3gnk] {
    display: inline-flex;

    padding: 5px 8px;

    border-radius: 8px;

    font-size: .55rem;
    font-weight: 850;

    direction: ltr;
}

.billing-activity-amount.positive[b-zq2e6k3gnk] {
    background: var(--bill-success-soft);
    color: var(--bill-success);
}

.billing-activity-amount.negative[b-zq2e6k3gnk] {
    background: var(--bill-danger-soft);
    color: var(--bill-danger);
}

.billing-activity-amount.neutral[b-zq2e6k3gnk] {
    background: var(--bill-surface-soft);
    color: var(--bill-muted);
}

.billing-activity-empty[b-zq2e6k3gnk],
.billing-purchases-empty[b-zq2e6k3gnk] {
    min-height: 130px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    padding: 22px;
}

.billing-activity-empty-icon[b-zq2e6k3gnk],
.billing-purchases-empty > span[b-zq2e6k3gnk] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: var(--bill-accent-soft);
    color: #9a6b19;
}

.billing-activity-empty-icon svg[b-zq2e6k3gnk],
.billing-purchases-empty svg[b-zq2e6k3gnk] {
    width: 18px;
    height: 18px;
}

.billing-activity-empty strong[b-zq2e6k3gnk],
.billing-purchases-empty strong[b-zq2e6k3gnk] {
    display: block;

    color: var(--bill-text);

    font-size: .61rem;
}

.billing-activity-empty p[b-zq2e6k3gnk],
.billing-purchases-empty p[b-zq2e6k3gnk] {
    margin: 4px 0 0;

    color: var(--bill-muted);

    font-size: .49rem;
}


/* =========================================================
   PURCHASE HISTORY
   ========================================================= */

.billing-purchase-package[b-zq2e6k3gnk] {
    min-width: 190px;

    display: flex;
    align-items: center;
    gap: 9px;
}

.billing-purchase-package-icon[b-zq2e6k3gnk] {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: var(--bill-accent-soft);
    color: #9a6b19;
}

.billing-purchase-package-icon svg[b-zq2e6k3gnk] {
    width: 15px;
    height: 15px;
}

.billing-purchase-package strong[b-zq2e6k3gnk],
.billing-purchase-credits strong[b-zq2e6k3gnk] {
    display: block;

    color: var(--bill-text);

    font-size: .55rem;
    font-weight: 800;
}

.billing-purchase-package small[b-zq2e6k3gnk],
.billing-purchase-credits small[b-zq2e6k3gnk] {
    display: block;

    margin-top: 2px;

    color: var(--bill-muted);

    font-size: .44rem;
}

.billing-purchase-credits small[b-zq2e6k3gnk] {
    color: var(--bill-success);
}

.billing-purchase-price[b-zq2e6k3gnk] {
    color: var(--bill-text);

    font-size: .55rem;
}

.billing-purchase-price small[b-zq2e6k3gnk] {
    color: var(--bill-muted);

    font-size: .41rem;
}

.billing-payment-status[b-zq2e6k3gnk] {
    display: inline-flex;

    padding: 5px 8px;

    border-radius: 999px;

    font-size: .46rem;
    font-weight: 820;
}

.billing-payment-status.paid[b-zq2e6k3gnk] {
    background: var(--bill-success-soft);
    color: var(--bill-success);
}

.billing-payment-status.pending[b-zq2e6k3gnk] {
    background: var(--bill-warning-soft);
    color: var(--bill-warning);
}

.billing-payment-status.failed[b-zq2e6k3gnk],
.billing-payment-status.cancelled[b-zq2e6k3gnk] {
    background: var(--bill-danger-soft);
    color: var(--bill-danger);
}

.billing-payment-status.refunded[b-zq2e6k3gnk] {
    background: var(--bill-purple-soft);
    color: var(--bill-purple);
}

.billing-purchase-date[b-zq2e6k3gnk] {
    color: var(--bill-muted);

    font-size: .48rem;

    white-space: nowrap;
}

.billing-purchase-reference[b-zq2e6k3gnk] {
    padding: 5px 7px;

    border-radius: 7px;

    background: var(--bill-surface-soft);

    color: var(--bill-text-2);

    font-size: .45rem;
}

.billing-recovery-form[b-zq2e6k3gnk] {
    margin-top: 7px;
}

.billing-recovery-button[b-zq2e6k3gnk] {
    min-height: 30px;

    padding: 5px 9px;

    border: 1px solid rgba(226,175,46,.18);
    border-radius: 8px;

    background: var(--bill-accent-soft);

    color: #9a6b19;

    font: inherit;
    font-size: .48rem;
    font-weight: 760;

    cursor: pointer;

    transition: .16s ease;
}

.billing-recovery-button:hover[b-zq2e6k3gnk] {
    transform: translateY(-1px);

    border-color: rgba(226,175,46,.30);

    background: rgba(226,175,46,.15);
}


/* =========================================================
   BUY CREDITS CTA
   ========================================================= */

.billing-buy-cta[b-zq2e6k3gnk] {
    position: relative;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 23px 26px;

    overflow: hidden;

    border: 1px solid rgba(226,175,46,.20);
    border-radius: 22px;

    background:
        radial-gradient(115% 130% at 90% -30%, var(--bill-accent-soft), transparent 60%),
        var(--bill-surface-strong);

    box-shadow: var(--bill-shadow-sm);
}

.billing-buy-cta[b-zq2e6k3gnk]::after {
    content: "";

    position: absolute;

    width: 145px;
    height: 145px;

    inset-block-end: -98px;
    inset-inline-end: -38px;

    border: 24px solid var(--bill-accent-soft);
    border-radius: 50%;

    pointer-events: none;
}

.billing-buy-cta > *[b-zq2e6k3gnk] {
    position: relative;
    z-index: 1;
}

.billing-buy-cta h2[b-zq2e6k3gnk] {
    margin: 0 0 5px;

    color: var(--bill-text);

    font-size: 1rem;
    font-weight: 830;
}

.billing-buy-cta p[b-zq2e6k3gnk] {
    max-width: 65ch;

    margin: 0;

    color: var(--bill-text-2);

    font-size: .62rem;
    line-height: 1.75;
}

.billing-buy-cta-action[b-zq2e6k3gnk] {
    min-height: 43px;

    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;

    padding: 0 17px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            var(--bill-accent),
            var(--bill-accent-strong)
        );

    color: #34270f;

    font-size: .61rem;
    font-weight: 830;

    text-decoration: none;

    box-shadow: 0 10px 24px rgba(226,175,46,.20);

    transition: .17s ease;
}

.billing-buy-cta-action:hover[b-zq2e6k3gnk] {
    transform: translateY(-2px);

    box-shadow: 0 14px 30px rgba(226,175,46,.27);
}

.billing-buy-cta-glyph[b-zq2e6k3gnk] {
    width: 23px;
    height: 23px;

    display: grid;
    place-items: center;

    border-radius: 7px;

    background: rgba(74,54,8,.10);
}

.billing-buy-cta-glyph svg[b-zq2e6k3gnk] {
    width: 14px;
    height: 14px;
}


/* =========================================================
   OLD BUY CLASSES KEPT SAFE IF REUSED
   ========================================================= */

.billing-packages-card[b-zq2e6k3gnk],
.billing-selected-package-card[b-zq2e6k3gnk],
.billing-compare-card[b-zq2e6k3gnk] {
    border: 1px solid var(--bill-line);
    border-radius: 22px;

    background: var(--bill-surface);

    box-shadow: var(--bill-shadow-sm);
}

.billing-feature-grid[b-zq2e6k3gnk] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.billing-feature[b-zq2e6k3gnk] {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 66px;

    padding: 11px 12px;

    border: 1px solid var(--bill-line);
    border-radius: 13px;

    background: var(--bill-surface-soft);
}

.billing-feature.enabled[b-zq2e6k3gnk] {
    border-color: rgba(74,140,97,.12);
    background: var(--bill-success-soft);
}

.billing-feature.locked[b-zq2e6k3gnk] {
    opacity: .58;
}

.billing-input-grid[b-zq2e6k3gnk] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
}

.billing-input-feature[b-zq2e6k3gnk] {
    min-height: 84px;

    display: grid;
    grid-template-columns: 34px minmax(0,1fr) 24px;
    align-items: center;
    gap: 9px;

    padding: 12px;

    border: 1px solid var(--bill-line);
    border-radius: 14px;

    background: var(--bill-surface-soft);
}


/* =========================================================
   DARK MODE — WARM / EXPLICIT
   ========================================================= */

html[data-theme="dark"] .billing-page[b-zq2e6k3gnk] {
    --bill-text: #f3eee5;
    --bill-text-2: #d2c8b7;
    --bill-muted: #9d9487;

    --bill-surface: #211b15;
    --bill-surface-raised: #292219;
    --bill-surface-strong: #2d251c;
    --bill-surface-soft: #19140f;

    --bill-line: rgba(255,236,198,.09);
    --bill-line-strong: rgba(255,236,198,.15);

    --bill-success: #94c981;
    --bill-success-soft: rgba(111,161,91,.14);
    --bill-warning: #e4b44a;
    --bill-warning-soft: rgba(196,145,52,.13);
    --bill-purple: #b09bd7;
    --bill-purple-soft: rgba(141,120,184,.14);
    --bill-danger: #e28a83;
    --bill-danger-soft: rgba(200,92,84,.12);

    --bill-shadow-sm: 0 12px 28px rgba(0,0,0,.13);
    --bill-shadow-md: 0 22px 50px rgba(0,0,0,.20);

    color: var(--bill-text);
}

html[data-theme="dark"] .billing-hero[b-zq2e6k3gnk] {
    border-color: var(--bill-line-strong);

    background:
        radial-gradient(115% 145% at 92% -18%, rgba(226,175,46,.11), transparent 48%),
        radial-gradient(85% 115% at 4% 118%, rgba(255,236,198,.035), transparent 56%),
        linear-gradient(225deg, #2c241b, #211b15);
}

html[data-theme="dark"] .billing-eyebrow[b-zq2e6k3gnk] {
    border-color: rgba(226,175,46,.18);

    background: #2a231b;

    color: #e5b84e;
}

html[data-theme="dark"] .billing-summary-card[b-zq2e6k3gnk] {
    border-color: rgba(255,236,198,.12);

    background:
        linear-gradient(
            90deg,
            rgba(226,175,46,.16) 0%,
            rgba(226,175,46,.085) 48%,
            rgba(255,255,255,.025) 100%
        );

    box-shadow:
        0 8px 22px rgba(0,0,0,.14),
        inset 0 1px 0 rgba(255,255,255,.02);
}

html[data-theme="dark"] .billing-summary-card[b-zq2e6k3gnk]::after {
    background: rgba(255,236,198,.11);
}

html[data-theme="dark"] .billing-summary-icon[b-zq2e6k3gnk] {
    color: #c8b68f;
}

html[data-theme="dark"] .billing-summary-card strong[b-zq2e6k3gnk] {
    color: #f0b637;
}

html[data-theme="dark"] .billing-package-card[b-zq2e6k3gnk],
html[data-theme="dark"] .billing-panel[b-zq2e6k3gnk],
html[data-theme="dark"] .billing-activity-card[b-zq2e6k3gnk],
html[data-theme="dark"] .billing-purchases-card[b-zq2e6k3gnk],
html[data-theme="dark"] .billing-state-card[b-zq2e6k3gnk] {
    border-color: var(--bill-line-strong);

    background:
        linear-gradient(
            180deg,
            #272018 0%,
            #211b15 100%
        );
}

html[data-theme="dark"] .billing-package-overview[b-zq2e6k3gnk] {
    background:
        linear-gradient(
            90deg,
            rgba(226,175,46,.07),
            rgba(226,175,46,.015) 76%
        );
}

html[data-theme="dark"] .billing-usage-metrics > div[b-zq2e6k3gnk],
html[data-theme="dark"] .billing-reserved-item[b-zq2e6k3gnk],
html[data-theme="dark"] .billing-size-limit[b-zq2e6k3gnk],
html[data-theme="dark"] .billing-purchase-reference[b-zq2e6k3gnk] {
    border-color: rgba(255,236,198,.08);

    background: #19140f;
}

html[data-theme="dark"] .billing-payment-result[b-zq2e6k3gnk] {
    border-color: rgba(255,236,198,.10);

    background:
        linear-gradient(145deg, rgba(226,175,46,.055), transparent 82%),
        #211b15;
}

html[data-theme="dark"] .billing-payment-result.success[b-zq2e6k3gnk] {
    border-color: rgba(111,161,91,.16);

    background:
        linear-gradient(145deg, rgba(111,161,91,.11), transparent 82%),
        #211b15;
}

html[data-theme="dark"] .billing-payment-result.cancelled[b-zq2e6k3gnk] {
    border-color: rgba(196,145,52,.18);

    background:
        linear-gradient(145deg, rgba(196,145,52,.10), transparent 82%),
        #211b15;
}

html[data-theme="dark"] .billing-payment-result.failed[b-zq2e6k3gnk] {
    border-color: rgba(200,92,84,.17);

    background:
        linear-gradient(145deg, rgba(200,92,84,.10), transparent 82%),
        #211b15;
}

html[data-theme="dark"] .billing-activity-table th[b-zq2e6k3gnk],
html[data-theme="dark"] .billing-purchases-table th[b-zq2e6k3gnk] {
    border-bottom-color: var(--bill-line);

    background: #18130f;

    color: #b9ae9e;
}

html[data-theme="dark"] .billing-activity-table td[b-zq2e6k3gnk],
html[data-theme="dark"] .billing-purchases-table td[b-zq2e6k3gnk] {
    border-bottom-color: rgba(255,236,198,.06);
}

html[data-theme="dark"] .billing-activity-table tbody tr:hover[b-zq2e6k3gnk],
html[data-theme="dark"] .billing-purchases-table tbody tr:hover[b-zq2e6k3gnk] {
    background: rgba(226,175,46,.045);
}

html[data-theme="dark"] .billing-buy-cta[b-zq2e6k3gnk] {
    border-color: rgba(226,175,46,.16);

    background:
        radial-gradient(115% 130% at 90% -30%, rgba(226,175,46,.11), transparent 60%),
        #272018;
}

html[data-theme="dark"] .billing-secondary-button[b-zq2e6k3gnk],
html[data-theme="dark"] .billing-recovery-button[b-zq2e6k3gnk] {
    border-color: rgba(255,236,198,.12);

    background: #17120e;

    color: #dfd4c3;
}

html[data-theme="dark"] .billing-format-chip.enabled[b-zq2e6k3gnk] {
    border-color: rgba(111,161,91,.12);
}

html[data-theme="dark"] .billing-package-card > div[style*="border-bottom"][b-zq2e6k3gnk] {
    border-bottom-color: var(--bill-line) !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1080px) {
    .billing-summary-grid[b-zq2e6k3gnk] {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .billing-usage-metrics[b-zq2e6k3gnk] {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .billing-insights-grid[b-zq2e6k3gnk] {
        grid-template-columns: 1fr;
    }

    .billing-input-grid[b-zq2e6k3gnk] {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 760px) {
    .billing-page[b-zq2e6k3gnk] {
        gap: 14px;
    }

    .billing-hero[b-zq2e6k3gnk] {
        min-height: 0;

        padding: 23px 20px;

        border-radius: 22px;
    }

    .billing-summary-grid[b-zq2e6k3gnk] {
        grid-template-columns: 1fr;
    }

    .billing-package-heading[b-zq2e6k3gnk],
    .billing-package-overview[b-zq2e6k3gnk] {
        align-items: flex-start;
        flex-direction: column;
    }

    .billing-package-heading[b-zq2e6k3gnk],
    .billing-package-overview[b-zq2e6k3gnk],
    .billing-capability-section[b-zq2e6k3gnk] {
        padding-inline: 18px;
    }

    .billing-package-card > .billing-payment-result[b-zq2e6k3gnk] {
        margin-inline: 18px !important;
    }

    .billing-balance-detail[b-zq2e6k3gnk] {
        text-align: start;
    }

    .billing-page[dir="rtl"] .billing-balance-detail[b-zq2e6k3gnk] {
        text-align: right;
    }

    .billing-usage-metrics[b-zq2e6k3gnk] {
        grid-template-columns: 1fr;
        padding-inline: 18px;
    }

    .billing-panel .billing-usage-metrics[b-zq2e6k3gnk] {
        grid-template-columns: repeat(2, minmax(0,1fr));
        padding-inline: 0;
    }

    .billing-buy-cta[b-zq2e6k3gnk] {
        align-items: stretch;
        flex-direction: column;
    }

    .billing-buy-cta-action[b-zq2e6k3gnk] {
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 520px) {
    .billing-panel .billing-usage-metrics[b-zq2e6k3gnk] {
        grid-template-columns: 1fr;
    }

    .billing-input-grid[b-zq2e6k3gnk],
    .billing-feature-grid[b-zq2e6k3gnk] {
        grid-template-columns: 1fr;
    }

    .billing-payment-result[b-zq2e6k3gnk] {
        padding: 12px;
    }
}


/* =========================================================
   MOTION
   ========================================================= */

@keyframes billing-card-in-b-zq2e6k3gnk {
    from {
        opacity: 0;
        transform: translateY(9px) scale(.995);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes billing-spin-b-zq2e6k3gnk {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .billing-hero[b-zq2e6k3gnk],
    .billing-summary-card[b-zq2e6k3gnk],
    .billing-package-card[b-zq2e6k3gnk],
    .billing-panel[b-zq2e6k3gnk],
    .billing-activity-card[b-zq2e6k3gnk],
    .billing-purchases-card[b-zq2e6k3gnk],
    .billing-buy-cta[b-zq2e6k3gnk] {
        animation: none !important;
        transition: none !important;
    }
}


/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 760px) {

    .billing-summary-grid[b-zq2e6k3gnk] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .billing-summary-grid > :last-child:nth-child(odd)[b-zq2e6k3gnk] {
            grid-column: 1 / -1;
        }

    .billing-summary-card[b-zq2e6k3gnk] {
        min-height: 82px;
        padding: 11px 56px 10px 12px;
    }

        .billing-summary-card[b-zq2e6k3gnk]::after {
            right: 48px;
        }

    .billing-summary-icon[b-zq2e6k3gnk] {
        right: 9px;
        width: 34px;
        height: 34px;
    }

    .billing-page[dir="ltr"] .billing-summary-card[b-zq2e6k3gnk] {
        padding-left: 56px;
        padding-right: 12px;
    }

        .billing-page[dir="ltr"] .billing-summary-card[b-zq2e6k3gnk]::after {
            left: 48px;
        }

    .billing-page[dir="ltr"] .billing-summary-icon[b-zq2e6k3gnk] {
        left: 9px;
    }
}


/* =========================================================
   PHONE: TABLES AS CARDS
   =========================================================
   Both ledgers were tables wider than the phone inside a
   horizontal scroller; in a right-to-left page the scroller
   starts at the right, so the description and the amount -
   the parts on the left - were simply off screen. On a phone
   each row becomes a small card: what happened and how much
   on the first line, what it relates to and when on the next.
   ========================================================= */

@media (max-width: 760px) {

    .billing-activity-table-wrap[b-zq2e6k3gnk],
    .billing-purchases-table-wrap[b-zq2e6k3gnk] {
        overflow: visible;
    }

    .billing-activity-table[b-zq2e6k3gnk],
    .billing-purchases-table[b-zq2e6k3gnk],
    .billing-activity-table tbody[b-zq2e6k3gnk],
    .billing-purchases-table tbody[b-zq2e6k3gnk] {
        display: block;
        min-width: 0;
        width: 100%;
    }

        .billing-activity-table thead[b-zq2e6k3gnk],
        .billing-purchases-table thead[b-zq2e6k3gnk] {
            display: none;
        }

        .billing-activity-table tbody tr[b-zq2e6k3gnk],
        .billing-purchases-table tbody tr[b-zq2e6k3gnk] {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: center;
            gap: 6px 12px;
            padding: 12px 14px;
            border-bottom: 1px solid var(--bill-line);
        }

        .billing-activity-table tbody tr:last-child[b-zq2e6k3gnk],
        .billing-purchases-table tbody tr:last-child[b-zq2e6k3gnk] {
            border-bottom: 0;
        }

        .billing-activity-table td[b-zq2e6k3gnk],
        .billing-purchases-table td[b-zq2e6k3gnk] {
            min-width: 0;
            padding: 0;
            border: 0;
        }

    /* activity: type | amount, then related | date */
    .billing-activity-table td:nth-child(1)[b-zq2e6k3gnk] {
        grid-column: 1;
        grid-row: 1;
    }

    .billing-activity-table td:nth-child(4)[b-zq2e6k3gnk] {
        grid-column: 2;
        grid-row: 1;
    }

    .billing-activity-table td:nth-child(2)[b-zq2e6k3gnk] {
        grid-column: 1;
        grid-row: 2;
        padding-inline-start: 39px;
    }

    .billing-activity-table td:nth-child(3)[b-zq2e6k3gnk] {
        grid-column: 2;
        grid-row: 2;
        text-align: end;
    }

    .billing-activity-type[b-zq2e6k3gnk] {
        min-width: 0;
    }

        .billing-activity-type > div[b-zq2e6k3gnk] {
            min-width: 0;
        }

    .billing-activity-type strong[b-zq2e6k3gnk],
    .billing-activity-related strong[b-zq2e6k3gnk] {
        max-width: 100%;
        font-size: .66rem;
    }

    .billing-activity-type small[b-zq2e6k3gnk] {
        max-width: 100%;
        font-size: .56rem;
    }

    .billing-activity-related span[b-zq2e6k3gnk],
    .billing-activity-date[b-zq2e6k3gnk] {
        font-size: .58rem;
    }

    /* purchases: package full, then credits | amount, status | date, reference */
    .billing-purchases-table td:nth-child(1)[b-zq2e6k3gnk],
    .billing-purchases-table td:nth-child(6)[b-zq2e6k3gnk] {
        grid-column: 1 / -1;
    }

    .billing-purchases-table td:nth-child(3)[b-zq2e6k3gnk],
    .billing-purchases-table td:nth-child(5)[b-zq2e6k3gnk] {
        text-align: end;
    }
}
/* _content/AITranslationPlatform.Web/Components/Billing/BuyCredits.razor.rz.scp.css */
/* =========================================================
   BUY CREDITS

   Built on the token layer in app.css, so it follows the
   warm palette in both themes without a second set of rules.

   The shop has one job: make three packages comparable at a
   glance and make the difference between them legible before
   the reader has to read anything. Everything below serves
   that - the price is the largest thing on a card, the
   capability rows are the same order everywhere, and the
   comparison table repeats nothing the cards already said in
   a different arrangement.
   ========================================================= */

.buy-page[b-9ljrcga8tj] {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-bottom: 40px;
}


/* ---- the kicker, as everywhere else in the panel ---- */

.buy-eyebrow[b-9ljrcga8tj] {
    --badge-size: .6rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 5px 11px 5px 9px;
    border: 1px solid rgba(226, 175, 46, .34);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--accent-text);
    font-size: var(--badge-size);
    font-weight: 800;
    letter-spacing: .075em;
    white-space: nowrap;
}

.buy-page[dir="rtl"] .buy-eyebrow[b-9ljrcga8tj] {
    padding: 5px 9px 5px 11px;
    letter-spacing: 0;
}

.buy-eyebrow-dot[b-9ljrcga8tj] {
    width: 6px;
    height: 6px;
    flex: none;
    border-radius: 50%;
    background: var(--ui-accent-strong);
    animation: ui-pulse 2.4s var(--ui-ease) infinite;
}


/* =========================================================
   HERO
   ========================================================= */

.buy-hero[b-9ljrcga8tj] {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    overflow: clip;
    padding: 26px 30px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xl);
    background:
        radial-gradient(120% 150% at 88% -30%, var(--ui-bloom-warm) 0%, transparent 62%),
        var(--ui-surface-strong);
    box-shadow: var(--ui-shadow-md);
    animation: ui-card-in .6s var(--ui-ease-out) backwards;
}

.buy-hero[b-9ljrcga8tj]::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    inset-block-start: -122px;
    inset-inline-end: -70px;
    border: 46px solid var(--ui-accent-soft);
    border-radius: 50%;
    animation: ui-hero-ring 1.1s var(--ui-ease-out) .08s backwards;
    pointer-events: none;
}

.buy-hero-copy[b-9ljrcga8tj] {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.buy-hero h1[b-9ljrcga8tj] {
    margin: 0 0 10px;
    color: var(--text);
    font-size: clamp(1.5rem, 2vw, 2.05rem);
    font-weight: 800;
    line-height: 1.25;
    animation: ui-reveal-up .6s var(--ui-ease-out) .18s backwards;
}

.buy-hero p[b-9ljrcga8tj] {
    margin: 0;
    max-width: 62ch;
    color: var(--ui-muted);
    font-size: .88rem;
    line-height: 1.9;
    animation: ui-rise .55s var(--ui-ease-out) .28s backwards;
}

.buy-hero-back[b-9ljrcga8tj] {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: none;
    padding: 10px 18px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-strong);
    color: var(--ui-ink-2);
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: var(--ui-t);
}

    .buy-hero-back:hover[b-9ljrcga8tj] {
        transform: translateY(-2px);
        border-color: var(--ui-clay);
        background: var(--ui-surface-hover);
    }

    .buy-hero-back svg[b-9ljrcga8tj] {
        width: 15px;
        height: 15px;
    }

/* the chevron points the way the reader travels */
.buy-page[dir="ltr"] .buy-hero-back svg[b-9ljrcga8tj] {
    transform: scaleX(1);
}

.buy-page[dir="rtl"] .buy-hero-back svg[b-9ljrcga8tj] {
    transform: scaleX(-1);
}


/* =========================================================
   THE CARDS

   The packages section of the public pages (ServicePage,
   "pub-pack"), card for card: the same bands in the same
   order, the same sizes, the rotating gold border on the
   recommended one and the light that follows the pointer
   (data-pub-glow, public-pages.js). That section is dark;
   here the card is drawn in the panel's light theme, and the
   panel's dark theme gets the section's own dark colours.
   ========================================================= */

.buy-packs[b-9ljrcga8tj] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: stretch;
    gap: 20px;
    /* the recommended card stands 10px higher */
    padding-top: 12px;
}

.buy-pack[b-9ljrcga8tj] {
    --mx: 50%;
    --my: 0%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
    padding: 26px 22px 22px;
    overflow: hidden;
    border: 1px solid rgba(155, 125, 48, .22);
    border-radius: 26px;
    background:
        radial-gradient(260px circle at var(--mx) var(--my), rgba(244, 205, 88, .16), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(252, 249, 243, .97));
    box-shadow: 0 18px 40px rgba(87, 64, 22, .08);
    color: #655e53;
    isolation: isolate;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), border-color .4s ease, box-shadow .4s ease;
    /* translate and scale, not transform: the recommended card's own
       lift stays put while it arrives */
    animation: buy-pack-in-b-9ljrcga8tj .6s cubic-bezier(.2, .8, .2, 1) var(--card-delay, 0ms) backwards;
}

    .buy-pack:hover[b-9ljrcga8tj] {
        transform: translateY(-6px);
        border-color: rgba(230, 173, 37, .45);
        box-shadow: 0 26px 54px rgba(87, 64, 22, .14);
    }

    .buy-pack.is-featured[b-9ljrcga8tj] {
        border-color: transparent;
        background:
            radial-gradient(90% 70% at 100% 0%, rgba(240, 191, 75, .2), transparent 60%),
            radial-gradient(260px circle at var(--mx) var(--my), rgba(244, 205, 88, .18), transparent 55%),
            linear-gradient(180deg, #ffffff, #fdf8ec);
        box-shadow: 0 30px 70px rgba(87, 64, 22, .16);
        transform: translateY(-10px);
    }

        .buy-pack.is-featured:hover[b-9ljrcga8tj] {
            transform: translateY(-16px);
        }

    /* the one in the checkout below */
    .buy-pack.is-selected[b-9ljrcga8tj] {
        border-color: #e6ad25;
        box-shadow: 0 0 0 3px rgba(242, 197, 79, .26), 0 26px 54px rgba(87, 64, 22, .14);
    }

        .buy-pack.is-selected.is-featured[b-9ljrcga8tj] {
            border-color: transparent;
        }

.buy-pack__border[b-9ljrcga8tj] {
    position: absolute;
    inset: 0;
    z-index: -1;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(from var(--buy-pack-angle), rgba(230, 173, 37, .35) 0 55%, rgba(230, 173, 37, 1) 78%, rgba(230, 173, 37, .35) 96%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: buy-pack-rotate-b-9ljrcga8tj 6s linear infinite;
    pointer-events: none;
}

.buy-pack__ribbon[b-9ljrcga8tj] {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    padding: 5px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f4cd58, #e6ad25);
    color: #2b210d;
    font-size: .72rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(214, 159, 34, .35);
}

.buy-pack__head h2[b-9ljrcga8tj] {
    margin: 0 0 6px;
    padding-inline-end: 90px;
    color: #221d18;
    font-size: 1.2rem;
    font-weight: 700;
}

.buy-pack:not(.is-featured) .buy-pack__head h2[b-9ljrcga8tj] {
    padding-inline-end: 0;
}

.buy-pack__head p[b-9ljrcga8tj] {
    margin: 0;
    font-size: .86rem;
    line-height: 1.85;
}

.buy-pack__credits[b-9ljrcga8tj] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
}

    .buy-pack__credits strong[b-9ljrcga8tj] {
        background: linear-gradient(115deg, #b98800 0%, #ab7e00 22%, #cb9500 45%, #bf8d00 68%, #a77b00 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        font-size: 2.3rem;
        font-weight: 800;
        line-height: 1.1;
    }

    .buy-pack__credits span[b-9ljrcga8tj] {
        color: #655e53;
        font-weight: 700;
    }

    .buy-pack__credits em[b-9ljrcga8tj] {
        padding: 3px 9px;
        border-radius: 999px;
        background: rgba(46, 160, 92, .12);
        color: #23804a;
        font-size: .78rem;
        font-style: normal;
        font-weight: 700;
    }

/* The price: the number large on a warm panel, the price of one credit a pill under it. */
.buy-pack__price[b-9ljrcga8tj] {
    position: relative;
    display: grid;
    gap: 9px;
    padding: 16px 18px;
    overflow: hidden;
    border: 1px solid rgba(155, 125, 48, .2);
    border-radius: 18px;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(242, 197, 79, .26), transparent 55%),
        linear-gradient(160deg, #fffdf7, #f8efd9);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 10px 24px -18px rgba(80, 58, 20, .5);
}

    .buy-pack__price > strong[b-9ljrcga8tj] {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 4px 8px;
        color: #221d18;
        font-size: 1.95rem;
        font-weight: 900;
        letter-spacing: -.01em;
        line-height: 1.1;
    }

        .buy-pack__price > strong small[b-9ljrcga8tj] {
            color: #8f7a52;
            font-size: .82rem;
            font-weight: 700;
            letter-spacing: 0;
        }

    .buy-pack__price > span[b-9ljrcga8tj] {
        justify-self: start;
        padding: 4px 11px;
        border: 1px solid rgba(155, 125, 48, .2);
        border-radius: 999px;
        background: rgba(255, 255, 255, .72);
        color: #7d6a48;
        font-size: .74rem;
        font-weight: 700;
    }


/* ---- the amount slider: the amounts set for the package in the
   admin panel, its own amount where the slider starts ---- */

.buy-pack__amount[b-9ljrcga8tj] {
    --thumb: 22px;
    --fill: #e6ad25;
    --track: rgba(155, 125, 48, .16);
    --side: right;
    display: grid;
    gap: 4px;
    margin-top: -6px;
}

.buy-page[dir="rtl"] .buy-pack__amount[b-9ljrcga8tj] {
    --side: left;
}

/* the labels sit over the thumb's positions, which run from half a
   thumb in from one end of the track to half a thumb in from the other */
.buy-pack__stops[b-9ljrcga8tj] {
    position: relative;
    height: 20px;
    margin-inline: calc(var(--thumb) / 2);
}

.buy-pack__stop[b-9ljrcga8tj] {
    position: absolute;
    top: 0;
    inset-inline-start: calc(var(--at) * 100%);
    translate: -50% 0;
    padding: 0 2px;
    border: 0;
    background: none;
    color: #958b7b;
    font: inherit;
    font-size: .74rem;
    font-weight: 600;
    line-height: 20px;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease;
}

.buy-page[dir="rtl"] .buy-pack__stop[b-9ljrcga8tj] {
    translate: 50% 0;
}

    .buy-pack__stop.is-passed[b-9ljrcga8tj] {
        color: #7d7262;
    }

    .buy-pack__stop.is-current[b-9ljrcga8tj] {
        color: #221d18;
        font-weight: 800;
    }

.buy-pack__range[b-9ljrcga8tj] {
    width: 100%;
    height: var(--thumb);
    margin: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

    .buy-pack__range:focus[b-9ljrcga8tj] {
        outline: none;
    }

    .buy-pack__range[b-9ljrcga8tj]::-webkit-slider-runnable-track {
        height: 6px;
        border-radius: 999px;
        background: linear-gradient(to var(--side), var(--fill) 0 calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--frac)), var(--track) 0);
    }

    .buy-pack__range[b-9ljrcga8tj]::-webkit-slider-thumb {
        box-sizing: border-box;
        width: var(--thumb);
        height: var(--thumb);
        margin-top: calc((6px - var(--thumb)) / 2);
        border: 3px solid #fff;
        border-radius: 50%;
        background: linear-gradient(135deg, #f4cd58, #e6ad25);
        box-shadow: 0 4px 12px rgba(214, 159, 34, .45), 0 0 0 1px rgba(214, 159, 34, .35);
        -webkit-appearance: none;
        appearance: none;
        transition: scale .2s ease;
    }

    .buy-pack__range:active[b-9ljrcga8tj]::-webkit-slider-thumb {
        scale: 1.1;
    }

    .buy-pack__range:focus-visible[b-9ljrcga8tj]::-webkit-slider-thumb {
        box-shadow: 0 0 0 4px rgba(242, 197, 79, .38), 0 4px 12px rgba(214, 159, 34, .45);
    }

    .buy-pack__range[b-9ljrcga8tj]::-moz-range-track {
        height: 6px;
        border-radius: 999px;
        background: var(--track);
    }

    .buy-pack__range[b-9ljrcga8tj]::-moz-range-progress {
        height: 6px;
        border-radius: 999px;
        background: var(--fill);
    }

    .buy-pack__range[b-9ljrcga8tj]::-moz-range-thumb {
        box-sizing: border-box;
        width: var(--thumb);
        height: var(--thumb);
        border: 3px solid #fff;
        border-radius: 50%;
        background: linear-gradient(135deg, #f4cd58, #e6ad25);
        box-shadow: 0 4px 12px rgba(214, 159, 34, .45), 0 0 0 1px rgba(214, 159, 34, .35);
    }

    .buy-pack__range:focus-visible[b-9ljrcga8tj]::-moz-range-thumb {
        box-shadow: 0 0 0 4px rgba(242, 197, 79, .38), 0 4px 12px rgba(214, 159, 34, .45);
    }

/* the credits, bonus, price and rate roll in from the side the
   slider moved to */
.buy-pack .is-rolling-up[b-9ljrcga8tj],
.buy-pack .is-rolling-down[b-9ljrcga8tj] {
    display: inline-block;
    animation: buy-roll-up-b-9ljrcga8tj .38s cubic-bezier(.2, .8, .2, 1);
}

.buy-pack .is-rolling-down[b-9ljrcga8tj] {
    animation-name: buy-roll-down-b-9ljrcga8tj;
}

@keyframes buy-roll-up-b-9ljrcga8tj {
    from {
        opacity: 0;
        translate: 0 .6em;
    }
}

@keyframes buy-roll-down-b-9ljrcga8tj {
    from {
        opacity: 0;
        translate: 0 -.6em;
    }
}

.buy-pack__group[b-9ljrcga8tj] {
    display: grid;
    gap: 8px;
}

.buy-pack__label[b-9ljrcga8tj] {
    color: #958b7b;
    font-size: .74rem;
    font-weight: 700;
}

.buy-pack__levels[b-9ljrcga8tj],
.buy-pack__formats[b-9ljrcga8tj] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .buy-pack__levels li[b-9ljrcga8tj] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 5px 10px;
        border-radius: 10px;
        font-size: .78rem;
        font-weight: 700;
    }

        .buy-pack__levels li i[b-9ljrcga8tj] {
            font-style: normal;
        }

        .buy-pack__levels li.is-on[b-9ljrcga8tj] {
            background: rgba(242, 197, 79, .2);
            color: #8f6600;
        }

        .buy-pack__levels li.is-off[b-9ljrcga8tj] {
            background: rgba(34, 29, 24, .04);
            color: #a59b8a;
            text-decoration: line-through;
        }

    .buy-pack__formats li[b-9ljrcga8tj] {
        padding: 4px 9px;
        border: 1px solid rgba(155, 125, 48, .22);
        border-radius: 8px;
        background: rgba(255, 255, 255, .6);
        color: #655e53;
        font-size: .74rem;
        font-weight: 700;
    }

.buy-pack__limit[b-9ljrcga8tj] {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px dashed rgba(155, 125, 48, .3);
    font-size: .82rem;
}

    .buy-pack__limit b[b-9ljrcga8tj] {
        color: #221d18;
    }

    .buy-pack__limit + .buy-pack__limit[b-9ljrcga8tj] {
        padding-top: 0;
        border-top: 0;
    }

.buy-pack__action[b-9ljrcga8tj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    margin-top: auto;
    padding: 0 22px;
    border: 1px solid rgba(155, 125, 48, .32);
    border-radius: 16px;
    background: rgba(255, 255, 255, .7);
    color: #221d18;
    font-family: inherit;
    font-size: .98rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}

    .buy-pack__action:hover[b-9ljrcga8tj] {
        transform: translateY(-2px);
        border-color: rgba(230, 173, 37, .6);
        background: #ffffff;
    }

    .buy-pack__action.is-primary[b-9ljrcga8tj],
    .buy-pack.is-selected .buy-pack__action[b-9ljrcga8tj] {
        border-color: transparent;
        background: linear-gradient(135deg, #f4cd58, #e6ad25);
        color: #2b210d;
        box-shadow: 0 14px 32px rgba(214, 159, 34, .22), inset 0 1px 0 rgba(255, 255, 255, .4);
    }

        .buy-pack__action.is-primary:hover[b-9ljrcga8tj],
        .buy-pack.is-selected .buy-pack__action:hover[b-9ljrcga8tj] {
            box-shadow: 0 20px 40px rgba(214, 159, 34, .32), inset 0 1px 0 rgba(255, 255, 255, .4);
        }

    .buy-pack__action:focus-visible[b-9ljrcga8tj] {
        outline: 3px solid rgba(230, 173, 37, .55);
        outline-offset: 3px;
    }


/* ---- the panel's dark theme: the public section's own colours ---- */

html[data-theme="dark"] .buy-pack[b-9ljrcga8tj] {
    border-color: rgba(255, 236, 190, .12);
    background:
        radial-gradient(260px circle at var(--mx) var(--my), rgba(244, 205, 88, .12), transparent 55%),
        rgba(255, 255, 255, .04);
    box-shadow: none;
    color: #c9b99c;
}

    html[data-theme="dark"] .buy-pack:hover[b-9ljrcga8tj] {
        border-color: rgba(240, 200, 92, .35);
    }

    html[data-theme="dark"] .buy-pack.is-featured[b-9ljrcga8tj] {
        border-color: transparent;
        background:
            radial-gradient(90% 70% at 100% 0%, rgba(240, 191, 75, .22), transparent 60%),
            radial-gradient(260px circle at var(--mx) var(--my), rgba(244, 205, 88, .16), transparent 55%),
            rgba(255, 255, 255, .07);
        box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
    }

    html[data-theme="dark"] .buy-pack.is-selected[b-9ljrcga8tj] {
        border-color: rgba(240, 200, 92, .7);
        box-shadow: 0 0 0 3px rgba(240, 191, 75, .18);
    }

        html[data-theme="dark"] .buy-pack.is-selected.is-featured[b-9ljrcga8tj] {
            border-color: transparent;
            box-shadow: 0 0 0 3px rgba(240, 191, 75, .18), 0 30px 70px rgba(0, 0, 0, .35);
        }

html[data-theme="dark"] .buy-pack__border[b-9ljrcga8tj] {
    background: conic-gradient(from var(--buy-pack-angle), rgba(244, 205, 88, .25) 0 55%, rgba(244, 205, 88, 1) 78%, rgba(244, 205, 88, .25) 96%);
}

html[data-theme="dark"] .buy-pack__head h2[b-9ljrcga8tj],
html[data-theme="dark"] .buy-pack__price strong[b-9ljrcga8tj],
html[data-theme="dark"] .buy-pack__limit b[b-9ljrcga8tj] {
    color: #f6ecd8;
}

html[data-theme="dark"] .buy-pack__credits strong[b-9ljrcga8tj] {
    background-image: linear-gradient(115deg, #f6cf5f, #e8b432 40%, #ffd977 60%, #e6ad25);
}

html[data-theme="dark"] .buy-pack__credits span[b-9ljrcga8tj],
html[data-theme="dark"] .buy-pack__price strong small[b-9ljrcga8tj] {
    color: #c9b99c;
}

html[data-theme="dark"] .buy-pack__credits em[b-9ljrcga8tj] {
    background: rgba(111, 196, 140, .16);
    color: #8fd6a6;
}

html[data-theme="dark"] .buy-pack__price[b-9ljrcga8tj] {
    border-color: rgba(255, 236, 190, .12);
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(240, 191, 75, .16), transparent 55%),
        linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .2));
    box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset;
}

html[data-theme="dark"] .buy-pack__price > span[b-9ljrcga8tj] {
    border-color: rgba(255, 236, 190, .14);
    background: rgba(255, 255, 255, .05);
    color: #c9b99c;
}

html[data-theme="dark"] .buy-pack__label[b-9ljrcga8tj] {
    color: #9a8b72;
}

html[data-theme="dark"] .buy-pack__amount[b-9ljrcga8tj] {
    --fill: #f0c85c;
    --track: rgba(255, 236, 190, .14);
}

html[data-theme="dark"] .buy-pack__stop[b-9ljrcga8tj] {
    color: #9a8b72;
}

    html[data-theme="dark"] .buy-pack__stop.is-passed[b-9ljrcga8tj] {
        color: #b3a284;
    }

    html[data-theme="dark"] .buy-pack__stop.is-current[b-9ljrcga8tj] {
        color: #f6ecd8;
    }

html[data-theme="dark"] .buy-pack__range[b-9ljrcga8tj]::-webkit-slider-thumb {
    border-color: #2a2118;
}

html[data-theme="dark"] .buy-pack__range[b-9ljrcga8tj]::-moz-range-thumb {
    border-color: #2a2118;
}

html[data-theme="dark"] .buy-pack__levels li.is-on[b-9ljrcga8tj] {
    background: rgba(240, 191, 75, .14);
    color: #f0c85c;
}

html[data-theme="dark"] .buy-pack__levels li.is-off[b-9ljrcga8tj] {
    background: rgba(255, 255, 255, .03);
    color: #6f6556;
}

html[data-theme="dark"] .buy-pack__formats li[b-9ljrcga8tj] {
    border-color: rgba(255, 236, 190, .12);
    background: transparent;
    color: #c9b99c;
}

html[data-theme="dark"] .buy-pack__limit[b-9ljrcga8tj] {
    border-top-color: rgba(255, 236, 190, .14);
}

html[data-theme="dark"] .buy-pack__action[b-9ljrcga8tj] {
    border-color: rgba(255, 236, 190, .2);
    background: rgba(255, 255, 255, .06);
    color: #f6ecd8;
}

    html[data-theme="dark"] .buy-pack__action:hover[b-9ljrcga8tj] {
        border-color: rgba(255, 236, 190, .2);
        background: rgba(255, 255, 255, .12);
    }

    html[data-theme="dark"] .buy-pack__action.is-primary[b-9ljrcga8tj],
    html[data-theme="dark"] .buy-pack.is-selected .buy-pack__action[b-9ljrcga8tj] {
        border-color: transparent;
        background: linear-gradient(135deg, #f4cd58, #e6ad25);
        color: #2b210d;
    }

@media (max-width: 900px) {
    .buy-pack.is-featured[b-9ljrcga8tj],
    .buy-pack.is-featured:hover[b-9ljrcga8tj] {
        transform: none;
    }

    .buy-packs[b-9ljrcga8tj] {
        padding-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .buy-pack[b-9ljrcga8tj],
    .buy-pack__border[b-9ljrcga8tj],
    .buy-pack .is-rolling-up[b-9ljrcga8tj],
    .buy-pack .is-rolling-down[b-9ljrcga8tj] {
        animation: none;
    }
}

@property --buy-pack-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@keyframes buy-pack-rotate-b-9ljrcga8tj {
    to {
        --buy-pack-angle: 360deg;
    }
}

@keyframes buy-pack-in-b-9ljrcga8tj {
    from {
        opacity: 0;
        translate: 0 18px;
        scale: .965;
    }
}


/* ---- the tick / the dash, in the comparison table ---- */

.buy-mark[b-9ljrcga8tj] {
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    flex: none;
    border-radius: 50%;
}

    .buy-mark svg[b-9ljrcga8tj] {
        width: 12px;
        height: 12px;
    }

    .buy-mark.on[b-9ljrcga8tj] {
        background: var(--ui-success-tint);
        color: var(--ui-success);
    }

    /* a dash, not a cross: what is absent is simply not included,
       and a red X reads as something having gone wrong */
    .buy-mark.off[b-9ljrcga8tj] {
        background: var(--ui-surface-sunken);
        color: var(--ui-faint);
    }



/* =========================================================
   CHECKOUT
   ========================================================= */

.buy-checkout[b-9ljrcga8tj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    border: 1px solid var(--ui-accent-strong);
    border-radius: var(--ui-r-lg);
    background:
        radial-gradient(100% 140% at 92% -20%, var(--ui-accent-soft) 0%, transparent 62%),
        var(--ui-surface-strong);
    box-shadow: var(--ui-shadow-md);
    animation: ui-card-in .45s var(--ui-ease-out);
}

.buy-checkout h2[b-9ljrcga8tj] {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 800;
}

.buy-checkout-facts[b-9ljrcga8tj] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 30px;
    margin: 0;
}

    .buy-checkout-facts dt[b-9ljrcga8tj] {
        margin-bottom: 4px;
        color: var(--ui-muted);
        font-size: .69rem;
        font-weight: 700;
    }

    .buy-checkout-facts dd[b-9ljrcga8tj] {
        margin: 0;
        color: var(--text);
        font-size: 1.02rem;
        font-weight: 800;
        font-variant-numeric: tabular-nums;
    }

        .buy-checkout-facts dd.is-bonus[b-9ljrcga8tj] {
            color: var(--ui-success);
        }

        .buy-checkout-facts dd.is-price[b-9ljrcga8tj] {
            color: var(--accent-text);
        }

.buy-checkout-actions[b-9ljrcga8tj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.buy-checkout-form[b-9ljrcga8tj] {
    margin: 0;
}

.buy-pay-action[b-9ljrcga8tj] {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 26px;
    border: 1px solid transparent;
    border-radius: var(--ui-r-pill);
    background: linear-gradient(140deg, var(--ui-accent) 0%, var(--ui-accent-strong) 100%);
    color: var(--ui-on-accent);
    font: inherit;
    font-size: .92rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: var(--ui-shadow-accent);
    transition: var(--ui-t);
}

    .buy-pay-action:hover:not(:disabled)[b-9ljrcga8tj] {
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(226, 175, 46, .36);
    }

    .buy-pay-action:disabled[b-9ljrcga8tj] {
        opacity: .55;
        transform: none;
        box-shadow: none;
        cursor: not-allowed;
    }

.buy-pay-glyph[b-9ljrcga8tj] {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex: none;
    border-radius: 8px;
    background: rgba(74, 54, 8, .13);
}

    .buy-pay-glyph svg[b-9ljrcga8tj] {
        width: 15px;
        height: 15px;
    }

.buy-cancel-action[b-9ljrcga8tj] {
    padding: 13px 20px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-pill);
    background: transparent;
    color: var(--ui-muted);
    font: inherit;
    font-size: .84rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--ui-t);
}

    .buy-cancel-action:hover[b-9ljrcga8tj] {
        color: var(--ui-ink-2);
        border-color: var(--ui-clay);
    }


/* =========================================================
   COMPARISON TABLE
   =========================================================
   The first column is sticky: on a narrow screen the table
   scrolls sideways, and a row of ticks with the label gone
   says nothing at all.
   ========================================================= */

.buy-compare[b-9ljrcga8tj] {
    padding: 26px 28px 22px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface);
    box-shadow: var(--ui-shadow-sm);
    animation: ui-card-in .55s var(--ui-ease-out) .1s backwards;
}

.buy-compare-head[b-9ljrcga8tj] {
    margin-bottom: 20px;
}

    .buy-compare-head h2[b-9ljrcga8tj] {
        margin: 0 0 7px;
        color: var(--text);
        font-size: 1.28rem;
        font-weight: 800;
    }

    .buy-compare-head p[b-9ljrcga8tj] {
        margin: 0;
        max-width: 70ch;
        color: var(--ui-muted);
        font-size: .84rem;
        line-height: 1.85;
    }

.buy-compare-scroll[b-9ljrcga8tj] {
    overflow-x: auto;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
}

.buy-compare-table[b-9ljrcga8tj] {
    width: 100%;
    border-collapse: collapse;
    font-size: .84rem;
}


/* ---- head ---- */

.buy-compare-table thead th[b-9ljrcga8tj] {
    position: relative;
    padding: 18px 16px;
    border-bottom: 1px solid var(--ui-line-strong);
    background: var(--ui-surface-strong);
    text-align: center;
    vertical-align: bottom;
}

.buy-compare-table thead th strong[b-9ljrcga8tj] {
    display: block;
    color: var(--text);
    font-size: 1rem;
    font-weight: 800;
}

.buy-compare-flag[b-9ljrcga8tj] {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 10px;
    border-radius: var(--ui-r-pill);
    background: linear-gradient(140deg, var(--ui-accent) 0%, var(--ui-accent-strong) 100%);
    color: var(--ui-on-accent);
    font-size: .55rem;
    font-weight: 800;
    letter-spacing: .07em;
}

.buy-page[dir="rtl"] .buy-compare-flag[b-9ljrcga8tj] {
    letter-spacing: 0;
}

.buy-compare-corner[b-9ljrcga8tj] {
    inset-inline-start: 0;
    z-index: 2;
    min-width: 190px;
    color: var(--ui-faint);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .06em;
}

.buy-compare-table thead th.buy-compare-corner[b-9ljrcga8tj] {
    position: sticky;
    text-align: start;
}


/* ---- the featured column, tinted end to end ---- */

.buy-compare-table thead th.is-featured[b-9ljrcga8tj],
.buy-compare-table tbody td.is-featured[b-9ljrcga8tj] {
    background: var(--ui-accent-tint);
}

.buy-compare-table thead th.is-featured[b-9ljrcga8tj] {
    border-start-start-radius: var(--ui-r-sm);
    border-start-end-radius: var(--ui-r-sm);
}


/* ---- section dividers ---- */

.buy-compare-section th[b-9ljrcga8tj] {
    padding: 10px 16px;
    border-block: 1px solid var(--ui-line);
    background: var(--ui-surface-sunken);
    color: var(--accent-text);
    text-align: start;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
}

.buy-page[dir="rtl"] .buy-compare-section th[b-9ljrcga8tj] {
    letter-spacing: 0;
}


/* ---- body ---- */

.buy-compare-table tbody th[scope="row"][b-9ljrcga8tj] {
    position: sticky;
    inset-inline-start: 0;
    z-index: 1;
    padding: 13px 16px;
    background: var(--ui-surface-strong);
    color: var(--ui-ink-2);
    text-align: start;
    font-size: .82rem;
    font-weight: 700;
}

    .buy-compare-table tbody th[scope="row"] small[b-9ljrcga8tj] {
        display: block;
        margin-top: 2px;
        color: var(--ui-faint);
        font-size: .65rem;
        font-weight: 600;
    }

.buy-compare-format[b-9ljrcga8tj] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--ui-r-xs);
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
    font-size: .68rem;
    font-weight: 800;
}

.buy-compare-table tbody td[b-9ljrcga8tj] {
    padding: 13px 16px;
    border-top: 1px solid var(--ui-line);
    color: var(--ui-ink-2);
    text-align: center;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

    .buy-compare-table tbody td small[b-9ljrcga8tj] {
        margin-inline-start: 4px;
        color: var(--ui-faint);
        font-size: .66rem;
        font-weight: 600;
    }

    .buy-compare-table tbody td .buy-mark[b-9ljrcga8tj] {
        margin: 0 auto;
    }

/* alternating bands, so the eye holds a row across a wide table */
.buy-compare-table tbody tr:nth-of-type(even):not(.buy-compare-section) td[b-9ljrcga8tj],
.buy-compare-table tbody tr:nth-of-type(even):not(.buy-compare-section) th[scope="row"][b-9ljrcga8tj] {
    background: var(--ui-surface-sunken);
}

.buy-compare-table tbody tr:nth-of-type(even):not(.buy-compare-section) td.is-featured[b-9ljrcga8tj] {
    background: var(--ui-accent-tint);
}


/* ---- the sticky column covers what scrolls under it ----
   The tokens above are translucent, and on a phone the figures of
   the columns sliding under the labels showed through them. The
   sticky cells lay the same token over a solid base: the card's own
   colour (white at 80% over the panel). The dark theme's colours are
   solid already. */

.buy-compare[b-9ljrcga8tj] {
    --buy-compare-solid: #f9f8f5;
}

.buy-compare-table thead th.buy-compare-corner[b-9ljrcga8tj],
.buy-compare-table tbody th[scope="row"][b-9ljrcga8tj] {
    background:
        linear-gradient(var(--ui-surface-strong), var(--ui-surface-strong)),
        var(--buy-compare-solid);
}

.buy-compare-table tbody tr:nth-of-type(even):not(.buy-compare-section) th[scope="row"][b-9ljrcga8tj] {
    background:
        linear-gradient(var(--ui-surface-sunken), var(--ui-surface-sunken)),
        var(--buy-compare-solid);
}

/* A section heading spans the whole table, so as a sticky cell it has
   nowhere to stick and slid off with the columns. The cell scrolls;
   its label stays at the edge. */
.buy-compare-table tbody .buy-compare-section th[b-9ljrcga8tj] {
    position: static;
}

.buy-compare-section-label[b-9ljrcga8tj] {
    position: sticky;
    inset-inline-start: 16px;
    display: inline-block;
}

.buy-compare-price[b-9ljrcga8tj] {
    color: var(--text);
    font-size: .95rem;
    font-weight: 800;
}

.buy-compare-strong[b-9ljrcga8tj] {
    display: block;
    color: var(--text);
    font-size: .98rem;
    font-weight: 800;
}

.buy-compare-bonus[b-9ljrcga8tj] {
    color: var(--ui-success);
    font-weight: 800;
}

.buy-compare-dash[b-9ljrcga8tj] {
    color: var(--ui-faint);
}


/* ---- the credit bar ---- */

.buy-compare-bar[b-9ljrcga8tj] {
    display: block;
    width: min(100%, 130px);
    height: 5px;
    margin: 7px auto 0;
    border-radius: var(--ui-r-pill);
    background: var(--ui-line);
    overflow: hidden;
}

    .buy-compare-bar i[b-9ljrcga8tj] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, var(--ui-accent) 0%, var(--ui-accent-strong) 100%);
    }


/* ---- the closing row of buttons ---- */

.buy-compare-actions td[b-9ljrcga8tj] {
    padding: 18px 16px;
}

.buy-compare-select[b-9ljrcga8tj] {
    width: 100%;
    max-width: 170px;
    padding: 10px 18px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-strong);
    color: var(--ui-ink-2);
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--ui-t);
}

    .buy-compare-select:hover[b-9ljrcga8tj] {
        transform: translateY(-2px);
        border-color: var(--ui-clay);
        background: var(--ui-surface-hover);
    }

    .buy-compare-select.is-featured[b-9ljrcga8tj] {
        border-color: transparent;
        background: linear-gradient(140deg, var(--ui-accent) 0%, var(--ui-accent-strong) 100%);
        color: var(--ui-on-accent);
        box-shadow: var(--ui-shadow-accent);
    }


/* =========================================================
   STATES
   ========================================================= */

.buy-panel[b-9ljrcga8tj] {
    padding: 30px 26px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface);
}

.buy-empty[b-9ljrcga8tj] {
    margin: 0;
    color: var(--ui-muted);
    text-align: center;
    font-size: .9rem;
}

.buy-notice[b-9ljrcga8tj] {
    padding: 16px 20px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
}

    .buy-notice.danger[b-9ljrcga8tj] {
        border-color: var(--ui-danger-tint);
        background: var(--ui-danger-tint);
        color: var(--ui-danger);
    }


/* =========================================================
   NARROW
   ========================================================= */

@media (max-width: 760px) {

    .buy-hero[b-9ljrcga8tj],
    .buy-compare[b-9ljrcga8tj] {
        padding: 22px 18px;
    }

    .buy-checkout[b-9ljrcga8tj] {
        padding: 20px 18px;
    }

    .buy-checkout-actions[b-9ljrcga8tj],
    .buy-checkout-form[b-9ljrcga8tj],
    .buy-pay-action[b-9ljrcga8tj] {
        width: 100%;
    }

    .buy-pay-action[b-9ljrcga8tj] {
        justify-content: center;
    }

    .buy-compare-corner[b-9ljrcga8tj] {
        min-width: 150px;
    }
}


/* =========================================================
   NO ANTIFORGERY TOKEN

   Shown only when the page arrived by enhanced navigation,
   which every link into it now prevents. It exists so that
   if it ever happens the user has a sentence and a way out
   rather than a payment button that does nothing.
   ========================================================= */

.buy-token-missing[b-9ljrcga8tj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px 16px;
    border: 1px solid var(--ui-warning-tint);
    border-radius: var(--ui-r-sm);
    background: var(--ui-warning-tint);
    color: var(--ui-warning);
    font-size: .82rem;
    font-weight: 700;
}

    .buy-token-missing a[b-9ljrcga8tj] {
        padding: 7px 14px;
        border-radius: var(--ui-r-pill);
        background: var(--ui-surface-strong);
        color: var(--accent-text);
        text-decoration: none;
        font-weight: 800;
    }

/* BUY CREDITS PREMIUM V2 - START */
/* =========================================================
   BUY CREDITS — PREMIUM POLISH + WARM DARK V2
   ========================================================= */

.buy-page[b-9ljrcga8tj] {
    width: min(100%, 1480px);
    margin: 0 auto;
    gap: 18px;
    padding-bottom: 34px;
}

.buy-hero[b-9ljrcga8tj] {
    min-height: 205px;
    padding: 30px 32px;
    border-radius: 28px;
}

.buy-checkout-facts dd.is-price[b-9ljrcga8tj] {
    color: var(--accent-text);
}

.buy-checkout[b-9ljrcga8tj] {
    border-radius: 22px;
}

.buy-compare[b-9ljrcga8tj] {
    border-radius: 22px;
}

.buy-compare-scroll[b-9ljrcga8tj] {
    border-radius: 14px;
}


/* Warm explicit dark mode */
html[data-theme="dark"] .buy-page[b-9ljrcga8tj] {
    --buy-dark-surface: #211b15;
    --buy-dark-raised: #292219;
    --buy-dark-strong: #2d251c;
    --buy-dark-soft: #19140f;
    --buy-dark-line: rgba(255,236,198,.09);
    --buy-dark-line-strong: rgba(255,236,198,.15);
}

html[data-theme="dark"] .buy-hero[b-9ljrcga8tj] {
    border-color: var(--buy-dark-line-strong);

    background:
        radial-gradient(120% 150% at 88% -30%, rgba(226,175,46,.12) 0%, transparent 62%),
        linear-gradient(145deg, #2c241b, #211b15);

    box-shadow:
        0 22px 50px rgba(0,0,0,.20),
        inset 0 1px 0 rgba(255,255,255,.02);
}

html[data-theme="dark"] .buy-eyebrow[b-9ljrcga8tj],
html[data-theme="dark"] .buy-hero-back[b-9ljrcga8tj] {
    border-color: rgba(255,236,198,.13);
    background: #2a231b;
}

html[data-theme="dark"] .buy-hero-back[b-9ljrcga8tj] {
    color: #d8cebf;
}

html[data-theme="dark"] .buy-mark.off[b-9ljrcga8tj] {
    border-color: var(--buy-dark-line);
    background-color: #19140f;
}

html[data-theme="dark"] .buy-compare-select[b-9ljrcga8tj],
html[data-theme="dark"] .buy-cancel-action[b-9ljrcga8tj] {
    border-color: var(--buy-dark-line-strong);
    background: #19140f;
    color: #ded4c4;
}

html[data-theme="dark"] .buy-compare-select:hover[b-9ljrcga8tj],
html[data-theme="dark"] .buy-cancel-action:hover[b-9ljrcga8tj] {
    border-color: rgba(226,175,46,.25);
    background: #211a13;
    color: #efbf4a;
}

html[data-theme="dark"] .buy-checkout[b-9ljrcga8tj] {
    border-color: rgba(226,175,46,.34);

    background:
        radial-gradient(100% 140% at 92% -20%, rgba(226,175,46,.13) 0%, transparent 62%),
        #272018;

    box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

html[data-theme="dark"] .buy-compare[b-9ljrcga8tj],
html[data-theme="dark"] .buy-panel[b-9ljrcga8tj] {
    border-color: var(--buy-dark-line-strong);
    background: #211b15;
    box-shadow: 0 16px 36px rgba(0,0,0,.15);
}

html[data-theme="dark"] .buy-compare-scroll[b-9ljrcga8tj] {
    border-color: var(--buy-dark-line);
}

html[data-theme="dark"] .buy-compare-table thead th[b-9ljrcga8tj] {
    border-bottom-color: var(--buy-dark-line-strong);
    background: #292219;
}

html[data-theme="dark"] .buy-compare-section th[b-9ljrcga8tj] {
    border-block-color: var(--buy-dark-line);
    background: #19140f;
}

html[data-theme="dark"] .buy-compare-table tbody th[scope="row"][b-9ljrcga8tj] {
    background: #252018;
}

html[data-theme="dark"] .buy-compare-table tbody td[b-9ljrcga8tj] {
    border-top-color: var(--buy-dark-line);
}

html[data-theme="dark"] .buy-compare-table tbody tr:nth-of-type(even):not(.buy-compare-section) td[b-9ljrcga8tj],
html[data-theme="dark"] .buy-compare-table tbody tr:nth-of-type(even):not(.buy-compare-section) th[scope="row"][b-9ljrcga8tj] {
    background: #19140f;
}

html[data-theme="dark"] .buy-compare-table thead th.is-featured[b-9ljrcga8tj],
html[data-theme="dark"] .buy-compare-table tbody td.is-featured[b-9ljrcga8tj],
html[data-theme="dark"] .buy-compare-table tbody tr:nth-of-type(even):not(.buy-compare-section) td.is-featured[b-9ljrcga8tj] {
    background: rgba(226,175,46,.07);
}

html[data-theme="dark"] .buy-compare-format[b-9ljrcga8tj] {
    background: #19140f;
}

html[data-theme="dark"] .buy-token-missing[b-9ljrcga8tj] {
    border-color: rgba(196,145,52,.18);
    background: rgba(196,145,52,.10);
}

html[data-theme="dark"] .buy-token-missing a[b-9ljrcga8tj] {
    background: #292219;
}

/* BUY CREDITS PREMIUM V2 - END */

/* the comparison table's ticks, a size down */

.buy-mark[b-9ljrcga8tj] {
    width: 17px !important;
    height: 17px !important;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.02);
}

.buy-mark svg[b-9ljrcga8tj] {
    width: 11px !important;
    height: 11px !important;
}


/* =========================================================
   CHECKOUT PANEL

   Opened by a package's buy button: the price, a discount
   code, value added tax and the total the gateway will ask
   for. A dialog over the page on a wide screen, a sheet from
   the bottom on a phone. Opaque in both themes - the panel's
   own surface tokens are glass, and a price read through the
   cards behind it would be hard to read.
   ========================================================= */

.buy-checkout[b-9ljrcga8tj] {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.buy-checkout__backdrop[b-9ljrcga8tj] {
    position: absolute;
    inset: 0;
    background: rgba(28, 22, 14, .42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: buy-checkout-fade-b-9ljrcga8tj .25s ease both;
}

.buy-checkout__panel[b-9ljrcga8tj] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: min(460px, 100%);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    padding: 24px;
    border: 1px solid rgba(155, 125, 48, .22);
    border-radius: 28px;
    background:
        radial-gradient(120% 70% at 100% 0%, rgba(252, 209, 102, .26), transparent 58%),
        #fbf8ef;
    box-shadow: 0 30px 80px rgba(40, 30, 12, .28);
    color: #3b352c;
    outline: none;
    animation: buy-checkout-in-b-9ljrcga8tj .42s var(--ui-ease-out) both;
}

.buy-checkout__head[b-9ljrcga8tj] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

    .buy-checkout__head .buy-eyebrow[b-9ljrcga8tj] {
        margin-bottom: 8px;
    }

    .buy-checkout__head h2[b-9ljrcga8tj] {
        margin: 0 0 4px;
        color: #221d18;
        font-size: 1.35rem;
        font-weight: 800;
    }

    .buy-checkout__head p[b-9ljrcga8tj] {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        margin: 0;
        color: #655e53;
        font-size: .9rem;
        font-weight: 700;
    }

    .buy-checkout__head em[b-9ljrcga8tj] {
        padding: 2px 9px;
        border-radius: var(--ui-r-pill);
        background: rgba(63, 106, 57, .12);
        color: #3f6a39;
        font-size: .78rem;
        font-style: normal;
    }

.buy-checkout__close[b-9ljrcga8tj] {
    display: grid;
    flex: none;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(155, 125, 48, .25);
    border-radius: 50%;
    background: rgba(255, 255, 255, .7);
    color: #46433a;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

    .buy-checkout__close:hover[b-9ljrcga8tj] {
        background: #fff;
        transform: rotate(90deg);
    }

    .buy-checkout__close svg[b-9ljrcga8tj] {
        width: 18px;
        height: 18px;
    }

.buy-checkout__error[b-9ljrcga8tj] {
    margin: 0;
    padding: 10px 14px;
    border-radius: 14px;
    background: var(--ui-danger-soft);
    color: var(--ui-danger);
    font-size: .86rem;
    font-weight: 700;
}


/* ---- the lines of the bill ---- */

.buy-checkout__lines[b-9ljrcga8tj] {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 6px 16px;
    border-radius: 18px;
    background: rgba(155, 125, 48, .08);
    transition: opacity .2s ease;
}

    .buy-checkout__lines.is-loading[b-9ljrcga8tj] {
        opacity: .55;
    }

    .buy-checkout__lines > div[b-9ljrcga8tj] {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        padding: 11px 0;
        border-top: 1px dashed rgba(155, 125, 48, .28);
        font-size: .9rem;
    }

        .buy-checkout__lines > div:first-child[b-9ljrcga8tj] {
            border-top: 0;
        }

    .buy-checkout__lines dt[b-9ljrcga8tj] {
        color: #655e53;
        font-weight: 700;
    }

        .buy-checkout__lines dt span[b-9ljrcga8tj] {
            color: #9b9587;
            font-weight: 600;
        }

    .buy-checkout__lines dd[b-9ljrcga8tj] {
        margin: 0;
        color: #221d18;
        font-weight: 800;
        white-space: nowrap;
    }

    .buy-checkout__lines .is-discount dt[b-9ljrcga8tj],
    .buy-checkout__lines .is-discount dd[b-9ljrcga8tj] {
        color: #3f6a39;
    }

    .buy-checkout__lines .is-total[b-9ljrcga8tj] {
        align-items: center;
        border-top-style: solid;
    }

        .buy-checkout__lines .is-total dt[b-9ljrcga8tj] {
            color: #221d18;
            font-size: .95rem;
        }

        .buy-checkout__lines .is-total strong[b-9ljrcga8tj] {
            background: linear-gradient(115deg, #b98800 0%, #ab7e00 22%, #cb9500 45%, #bf8d00 68%, #a77b00 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-size: 1.6rem;
            font-weight: 800;
            animation: buy-checkout-pop-b-9ljrcga8tj .35s var(--ui-ease-out) both;
        }

        .buy-checkout__lines .is-total small[b-9ljrcga8tj] {
            margin-inline-start: 4px;
            color: #655e53;
            font-size: .82rem;
            font-weight: 700;
        }

.buy-checkout__pending[b-9ljrcga8tj] {
    color: #9b9587;
}


/* ---- the discount code ---- */

.buy-checkout__code[b-9ljrcga8tj] {
    display: grid;
    gap: 8px;
}

    .buy-checkout__code > label[b-9ljrcga8tj] {
        color: #46433a;
        font-size: .86rem;
        font-weight: 700;
    }

.buy-checkout__code-row[b-9ljrcga8tj] {
    display: flex;
    gap: 8px;
}

    .buy-checkout__code-row input[b-9ljrcga8tj] {
        flex: 1;
        min-width: 0;
        height: 46px;
        padding: 0 14px;
        border: 1px solid rgba(155, 125, 48, .3);
        border-radius: 14px;
        background: #fff;
        color: #221d18;
        font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
        font-size: .95rem;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
        outline: none;
        transition: border-color .2s ease, box-shadow .2s ease;
    }

        .buy-checkout__code-row input[b-9ljrcga8tj]::placeholder {
            color: #b0a998;
            font-family: inherit;
            font-weight: 500;
            letter-spacing: 0;
            text-transform: none;
        }

        .buy-checkout__code-row input:focus[b-9ljrcga8tj] {
            border-color: rgba(230, 173, 37, .75);
            box-shadow: 0 0 0 3px rgba(230, 173, 37, .18);
        }

    .buy-checkout__code-row button[b-9ljrcga8tj] {
        flex: none;
        min-width: 86px;
        height: 46px;
        padding: 0 16px;
        border: 0;
        border-radius: 14px;
        background: #3b2f23;
        color: #f6f4ea;
        font: inherit;
        font-size: .88rem;
        font-weight: 800;
        cursor: pointer;
        transition: background-color .2s ease, opacity .2s ease;
    }

        .buy-checkout__code-row button:hover:not(:disabled)[b-9ljrcga8tj] {
            background: #50412f;
        }

        .buy-checkout__code-row button:disabled[b-9ljrcga8tj] {
            opacity: .45;
            cursor: default;
        }

.buy-checkout__code-error[b-9ljrcga8tj] {
    margin: 0;
    color: var(--ui-danger);
    font-size: .82rem;
    font-weight: 700;
}

.buy-checkout__applied[b-9ljrcga8tj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid rgba(63, 106, 57, .25);
    border-radius: 14px;
    background: rgba(63, 106, 57, .09);
    color: #3f6a39;
    font-size: .88rem;
    font-weight: 700;
    animation: buy-checkout-pop-b-9ljrcga8tj .35s var(--ui-ease-out) both;
}

    .buy-checkout__applied span[b-9ljrcga8tj] {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        min-width: 0;
    }

    .buy-checkout__applied svg[b-9ljrcga8tj] {
        flex: none;
        width: 18px;
        height: 18px;
    }

    .buy-checkout__applied b[b-9ljrcga8tj] {
        font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
        letter-spacing: .05em;
    }

    .buy-checkout__applied button[b-9ljrcga8tj] {
        flex: none;
        padding: 0;
        border: 0;
        background: none;
        color: #6d6759;
        font: inherit;
        font-size: .8rem;
        text-decoration: underline;
        cursor: pointer;
    }


/* ---- pay ---- */

.buy-checkout__pay[b-9ljrcga8tj] {
    display: grid;
}

    .buy-checkout__pay .buy-pack__action[b-9ljrcga8tj] {
        width: 100%;
        margin-top: 2px;
    }

        .buy-checkout__pay .buy-pack__action:disabled[b-9ljrcga8tj] {
            opacity: .55;
            cursor: default;
            transform: none;
        }

.buy-checkout__cancel[b-9ljrcga8tj] {
    align-self: center;
    padding: 4px 10px;
    border: 0;
    background: none;
    color: #6d6759;
    font: inherit;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
}

    .buy-checkout__cancel:hover[b-9ljrcga8tj] {
        color: #221d18;
    }

.buy-checkout__note[b-9ljrcga8tj] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    color: #9b9587;
    font-size: .76rem;
    line-height: 1.7;
}

    .buy-checkout__note svg[b-9ljrcga8tj] {
        flex: none;
        width: 15px;
        height: 15px;
        margin-top: 3px;
    }


/* ---- dark ---- */

html[data-theme="dark"] .buy-checkout__backdrop[b-9ljrcga8tj] {
    background: rgba(0, 0, 0, .55);
}

html[data-theme="dark"] .buy-checkout__panel[b-9ljrcga8tj] {
    border-color: rgba(255, 236, 190, .14);
    background:
        radial-gradient(120% 70% at 100% 0%, rgba(240, 191, 75, .16), transparent 58%),
        #211a13;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
    color: #c9b99c;
}

html[data-theme="dark"] .buy-checkout__head h2[b-9ljrcga8tj],
html[data-theme="dark"] .buy-checkout__lines dd[b-9ljrcga8tj],
html[data-theme="dark"] .buy-checkout__lines .is-total dt[b-9ljrcga8tj] {
    color: #f6ecd8;
}

html[data-theme="dark"] .buy-checkout__head p[b-9ljrcga8tj],
html[data-theme="dark"] .buy-checkout__lines dt[b-9ljrcga8tj],
html[data-theme="dark"] .buy-checkout__lines .is-total small[b-9ljrcga8tj],
html[data-theme="dark"] .buy-checkout__code > label[b-9ljrcga8tj] {
    color: #c9b99c;
}

html[data-theme="dark"] .buy-checkout__head em[b-9ljrcga8tj] {
    background: rgba(111, 196, 140, .16);
    color: #8fd6a6;
}

html[data-theme="dark"] .buy-checkout__close[b-9ljrcga8tj] {
    border-color: rgba(255, 236, 190, .2);
    background: rgba(255, 255, 255, .06);
    color: #f6ecd8;
}

    html[data-theme="dark"] .buy-checkout__close:hover[b-9ljrcga8tj] {
        background: rgba(255, 255, 255, .12);
    }

html[data-theme="dark"] .buy-checkout__lines[b-9ljrcga8tj] {
    background: rgba(0, 0, 0, .25);
}

    html[data-theme="dark"] .buy-checkout__lines > div[b-9ljrcga8tj] {
        border-top-color: rgba(255, 236, 190, .14);
    }

    html[data-theme="dark"] .buy-checkout__lines dt span[b-9ljrcga8tj],
    html[data-theme="dark"] .buy-checkout__pending[b-9ljrcga8tj],
    html[data-theme="dark"] .buy-checkout__note[b-9ljrcga8tj] {
        color: #9a8b72;
    }

    html[data-theme="dark"] .buy-checkout__lines .is-discount dt[b-9ljrcga8tj],
    html[data-theme="dark"] .buy-checkout__lines .is-discount dd[b-9ljrcga8tj],
    html[data-theme="dark"] .buy-checkout__applied[b-9ljrcga8tj] {
        color: #8fd6a6;
    }

    html[data-theme="dark"] .buy-checkout__lines .is-total strong[b-9ljrcga8tj] {
        background-image: linear-gradient(115deg, #f6cf5f, #e8b432 40%, #ffd977 60%, #e6ad25);
    }

html[data-theme="dark"] .buy-checkout__code-row input[b-9ljrcga8tj] {
    border-color: rgba(255, 236, 190, .18);
    background: rgba(0, 0, 0, .3);
    color: #f6ecd8;
}

    html[data-theme="dark"] .buy-checkout__code-row input[b-9ljrcga8tj]::placeholder {
        color: #7d705c;
    }

html[data-theme="dark"] .buy-checkout__code-row button[b-9ljrcga8tj] {
    background: linear-gradient(135deg, #f4cd58, #e6ad25);
    color: #2b210d;
}

html[data-theme="dark"] .buy-checkout__applied[b-9ljrcga8tj] {
    border-color: rgba(111, 196, 140, .25);
    background: rgba(111, 196, 140, .1);
}

    html[data-theme="dark"] .buy-checkout__applied button[b-9ljrcga8tj],
    html[data-theme="dark"] .buy-checkout__cancel[b-9ljrcga8tj] {
        color: #c9b99c;
    }

    html[data-theme="dark"] .buy-checkout__cancel:hover[b-9ljrcga8tj] {
        color: #f6ecd8;
    }


/* ---- a sheet from the bottom on a phone ---- */

@media (max-width: 720px) {
    .buy-checkout[b-9ljrcga8tj] {
        align-items: flex-end;
        padding: 0;
    }

    .buy-checkout__panel[b-9ljrcga8tj] {
        width: 100%;
        max-height: calc(100dvh - 24px);
        padding: 22px 18px calc(18px + env(safe-area-inset-bottom));
        border-radius: 28px 28px 0 0;
        border-bottom: 0;
        animation-name: buy-checkout-up-b-9ljrcga8tj;
    }
}

@keyframes buy-checkout-fade-b-9ljrcga8tj {
    from { opacity: 0; }
}

@keyframes buy-checkout-in-b-9ljrcga8tj {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.96);
        filter: blur(6px);
    }
}

@keyframes buy-checkout-up-b-9ljrcga8tj {
    from { transform: translateY(100%); }
}

@keyframes buy-checkout-pop-b-9ljrcga8tj {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .buy-checkout__backdrop[b-9ljrcga8tj],
    .buy-checkout__panel[b-9ljrcga8tj],
    .buy-checkout__applied[b-9ljrcga8tj],
    .buy-checkout__lines .is-total strong[b-9ljrcga8tj] {
        animation: none;
    }
}
/* _content/AITranslationPlatform.Web/Components/Dashboard/Dashboard.razor.rz.scp.css */
/* ============================================================
   USER DASHBOARD V2
   ============================================================ */

.dashboard-page[b-fzw080b9w9] {
    width: 100%;
    display: grid;
    gap: 22px;
}

/* HERO */

/*
 * Three layers make the card rather than one flat fill: a warm bloom in
 * the leading corner, a cooler one trailing, and the surface underneath.
 * The RTL rule only moves the bloom to the other corner - the reading
 * eye should meet it first in either direction.
 */
.dashboard-hero[b-fzw080b9w9] {
    min-height: 196px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 34px 36px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xl);
    background: radial-gradient(120% 150% at 8% -20%, var(--ui-bloom-warm), transparent 48%), radial-gradient(90% 120% at 96% 120%, var(--ui-bloom-cool), transparent 55%), linear-gradient(135deg, var(--ui-surface-strong), var(--ui-surface));
    box-shadow: var(--ui-shadow-md);
}

.dashboard-page[dir="rtl"] .dashboard-hero[b-fzw080b9w9] {
    background: radial-gradient(120% 150% at 92% -20%, var(--ui-bloom-warm), transparent 48%), radial-gradient(90% 120% at 4% 120%, var(--ui-bloom-cool), transparent 55%), linear-gradient(225deg, var(--ui-surface-strong), var(--ui-surface));
}

/* a wide ring drifting out of the top corner */
.dashboard-hero[b-fzw080b9w9]::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    inset-block-start: -172px;
    inset-inline-end: -104px;
    border: 46px solid var(--ui-accent-soft);
    border-radius: 50%;
    animation: ui-hero-ring 1.1s var(--ui-ease-out) .08s backwards;
    pointer-events: none;
}

/* and a second, smaller one low on the other side */
.dashboard-hero[b-fzw080b9w9]::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    inset-block-end: -108px;
    inset-inline-start: -46px;
    border: 30px solid var(--ui-line-strong);
    border-radius: 50%;
    animation: ui-hero-ring 1.1s var(--ui-ease-out) .18s backwards;
    pointer-events: none;
}


/* ---- the copy arrives a line at a time ---- */

.dashboard-hero .dashboard-eyebrow[b-fzw080b9w9] {
    --badge-size: .66rem;
    gap: 7px;
    margin-bottom: 12px;
    padding: 6px 13px 6px 11px;
    animation: ui-rise .55s var(--ui-ease-out) .12s backwards;
}

.dashboard-page[dir="rtl"] .dashboard-hero .dashboard-eyebrow[b-fzw080b9w9] {
    padding: 6px 11px 6px 13px;
}

.dashboard-eyebrow-dot[b-fzw080b9w9] {
    width: 6px;
    height: 6px;
    flex: none;
    border-radius: 50%;
    background: var(--ui-accent-strong);
    box-shadow: 0 0 0 0 rgba(226, 175, 46, .55);
    animation: ui-pulse 2.4s var(--ui-ease) infinite;
}

.dashboard-hero .dashboard-eyebrow-dot[b-fzw080b9w9] {
    width: 7px;
    height: 7px;
}

.dashboard-hero h1[b-fzw080b9w9] {
    animation: ui-reveal-up .6s var(--ui-ease-out) .2s backwards;
}

.dashboard-hero p[b-fzw080b9w9] {
    animation: ui-rise .55s var(--ui-ease-out) .3s backwards;
}

.dashboard-hero-actions[b-fzw080b9w9] {
    animation: ui-rise .55s var(--ui-ease-out) .38s backwards;
}

.dashboard-hero-copy[b-fzw080b9w9] {
    min-width: 0;
    max-width: 720px;
    position: relative;
    z-index: 1;
}

/*
 * One badge, used by every section label on the page.
 *
 * It began as the hero's alone; the panels below carried the same words
 * as plain ochre text, so the page had two ways of saying the same
 * thing. --badge-size is the only difference between them now, and the
 * hero simply sets a larger one.
 */
.dashboard-eyebrow[b-fzw080b9w9],
.dashboard-section-kicker[b-fzw080b9w9] {
    --badge-size: .6rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 9px;
    padding: 5px 11px 5px 9px;
    border: 1px solid rgba(226, 175, 46, .34);
    border-radius: var(--ui-r-pill);
    /* a token, not white: this pill has to darken with the page, or the
       amber label on it drops to 1.6:1 after dark */
    background: var(--ui-surface-raised);
    color: var(--accent-text);
    font-size: var(--badge-size);
    font-weight: 800;
    letter-spacing: .075em;
    white-space: nowrap;
}

.dashboard-page[dir="rtl"] .dashboard-eyebrow[b-fzw080b9w9],
.dashboard-page[dir="rtl"] .dashboard-section-kicker[b-fzw080b9w9] {
    padding: 5px 9px 5px 11px;
}

.dashboard-page[dir="rtl"] .dashboard-eyebrow[b-fzw080b9w9],
.dashboard-page[dir="rtl"] .dashboard-section-kicker[b-fzw080b9w9] {
    letter-spacing: 0;
}

.dashboard-hero h1[b-fzw080b9w9] {
    margin: 0 0 11px;
    color: var(--text);
    font-size: clamp(1.75rem, 2.2vw, 2.55rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.dashboard-page[dir="rtl"] .dashboard-hero h1[b-fzw080b9w9] {
    letter-spacing: 0;
}

.dashboard-hero p[b-fzw080b9w9] {
    max-width: 650px;
    margin: 0;
    color: var(--text-secondary);
    font-size: .86rem;
    line-height: 1.9;
}

.dashboard-hero-actions[b-fzw080b9w9] {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================================================
   HERO ACTIONS
   =========================================================
   Both buttons are pills with a glyph in a disc of their own,
   and both answer the pointer on more than colour: the disc
   turns, the label shifts toward its edge, and the primary one
   takes a single sheen across it.
   ========================================================= */

.dashboard-primary-action[b-fzw080b9w9],
.dashboard-secondary-action[b-fzw080b9w9] {
    min-height: 52px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px 0 8px;
    overflow: hidden;
    border-radius: var(--ui-r-pill);
    font-size: .76rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--ui-t);
}

.dashboard-page[dir="rtl"] .dashboard-primary-action[b-fzw080b9w9],
.dashboard-page[dir="rtl"] .dashboard-secondary-action[b-fzw080b9w9] {
    padding: 0 8px 0 20px;
}

.action-glyph[b-fzw080b9w9] {
    width: 36px;
    height: 36px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: transform var(--ui-dur-2) var(--ui-ease-spring), background-color var(--ui-dur-2) var(--ui-ease);
}

    .action-glyph svg[b-fzw080b9w9] {
        width: 17px;
        height: 17px;
    }

.dashboard-primary-action:hover .action-glyph[b-fzw080b9w9],
.dashboard-secondary-action:hover .action-glyph[b-fzw080b9w9] {
    transform: rotate(90deg) scale(1.08);
}


/* ---- primary ---- */

.dashboard-primary-action[b-fzw080b9w9] {
    border: 1px solid #ad996c6b;
    border-radius: 17px;
    background: linear-gradient(140deg, #f6dc98 0%, #cfb063 100%);
    /* The label is dark. This button carries the accent, and the accent
       is amber - white on it is barely legible, where it was fine on the
       blue this was first written for. */
    color: var(--ui-on-accent);
    box-shadow: var(--ui-shadow-accent);
}

    .dashboard-primary-action .action-glyph[b-fzw080b9w9] {
        background: rgba(74, 54, 8, .16);
        color: var(--ui-on-accent);
    }

    .dashboard-primary-action:hover[b-fzw080b9w9] {
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(226, 175, 46, .42);
    }

        .dashboard-primary-action:hover .action-glyph[b-fzw080b9w9] {
            background: rgba(74, 54, 8, .24);
        }

    /* one light crossing the button, per hover */
    .dashboard-primary-action[b-fzw080b9w9]::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, .55) 50%, transparent 66%);
        opacity: 0;
        pointer-events: none;
    }

    .dashboard-primary-action:hover[b-fzw080b9w9]::before {
        animation: ui-sheen .8s var(--ui-ease-out);
    }


/* ---- secondary ---- */

.dashboard-secondary-action[b-fzw080b9w9] {
    border: 1px solid var(--ui-line-strong);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
}

    .dashboard-secondary-action .action-glyph[b-fzw080b9w9] {
        background: var(--ui-surface-sunken);
        color: var(--ui-ink-2);
    }

    .dashboard-secondary-action:hover[b-fzw080b9w9] {
        transform: translateY(-2px);
        border-color: var(--ui-accent-strong);
        background: var(--ui-surface-strong);
        box-shadow: var(
            );
    }

        .dashboard-secondary-action:hover .action-glyph[b-fzw080b9w9] {
            background: var(--ui-accent-soft);
            color: var(--ui-warning);
        }


/* Notices one after another sit close together (8px), not the page's 22px gap. */
.dashboard-notice + .dashboard-notice[b-fzw080b9w9] {
    margin-top: -14px;
}

.dashboard-notice[b-fzw080b9w9] {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--ui-r-md);
    background: var(--surface);
}

    .dashboard-notice.warning[b-fzw080b9w9] {
        border-color: var(--ui-warning-soft);
        background: var(--ui-warning-soft);
    }

    .dashboard-notice.danger[b-fzw080b9w9] {
        border-color: var(--ui-danger-soft);
        background: var(--ui-danger-soft);
        border: 1px solid rgb(128 28 28 / 42%);
    }

.dashboard-notice-icon[b-fzw080b9w9] {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    display: grid;
    place-items: center;
    border-radius: var(--ui-r-xs);
}

    /* the administrator's notice: the same box, in the accent yellow */
    .dashboard-notice.announcement[b-fzw080b9w9] {
        border: 1px solid color-mix(in srgb, var(--ui-warning) 38%, transparent);
        background: var(--ui-accent-soft);
    }

.dashboard-notice.announcement .dashboard-notice-icon[b-fzw080b9w9] {
    color: var(--ui-warning);
    background: color-mix(in srgb, var(--ui-accent-strong) 30%, transparent);
}

.dashboard-notice.invite .dashboard-notice-icon[b-fzw080b9w9] {
    color: var(--ui-warning);
    background: var(--ui-accent-soft);
}

.dashboard-notice.warning .dashboard-notice-icon[b-fzw080b9w9] {
    color: var(--ui-warning);
    background: var(--ui-warning-soft);
}

.dashboard-notice.danger .dashboard-notice-icon[b-fzw080b9w9] {
    color: var(--ui-danger);
    background: var(--ui-danger-soft);
}

.dashboard-notice-icon svg[b-fzw080b9w9] {
    width: 17px;
    height: 17px;
}

.dashboard-notice > div[b-fzw080b9w9] {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 2px;
}

.dashboard-notice strong[b-fzw080b9w9] {
    color: var(--text);
    font-size: .74rem;
}

.dashboard-notice span[b-fzw080b9w9] {
    color: var(--text-secondary);
    font-size: .66rem;
    line-height: 1.55;
}

.dashboard-notice > a[b-fzw080b9w9] {
    flex: 0 0 auto;
    color: var(--accent-text);
    font-size: .68rem;
    font-weight: 750;
    text-decoration: none;
}

/* KPI */

.dashboard-kpi-grid[b-fzw080b9w9] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

/*
 * Each card names its role in three variables and everything below
 * reads from them - the wash, the corner glow and the icon. Adding a
 * fifth metric means one variable block, not four more rules.
 */
.dashboard-kpi-card[b-fzw080b9w9] {
    --kpi-ink: var(--ui-warning);
    --kpi-soft: var(--ui-accent-soft);
    --kpi-tint: var(--ui-accent-tint);
    min-width: 0;
    min-height: 150px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 17px 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--ui-r-lg);
    background: linear-gradient(155deg, var(--kpi-tint) 0%, transparent 62%), var(--surface);
    box-shadow: var(--ui-shadow-sm);
    transition: var(--ui-t);
}

    .dashboard-kpi-card:hover[b-fzw080b9w9] {
        transform: translateY(-4px);
        box-shadow: var(--ui-shadow-lg);
    }

    /* the glow in the corner, in the card's own colour */
    .dashboard-kpi-card[b-fzw080b9w9]::after {
        content: "";
        position: absolute;
        width: 116px;
        height: 116px;
        inset-block-start: -50px;
        inset-inline-end: -34px;
        border-radius: 50%;
        background: var(--kpi-ink);
        opacity: .09;
        transform-origin: 50% 0;
        transition: transform var(--ui-dur-3) var(--ui-ease), opacity var(--ui-dur-2) var(--ui-ease);
        pointer-events: none;
    }

    .dashboard-kpi-card:hover[b-fzw080b9w9]::after {
        opacity: .15;
        transform: scale(1.3);
    }

    /*
     * A light passing over the card, once per hover. The card already
     * clips its overflow, so the sweep stays inside its corners.
     */
    .dashboard-kpi-card[b-fzw080b9w9]::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .55) 48%, transparent 64%);
        opacity: 0;
        pointer-events: none;
    }

    .dashboard-kpi-card:hover[b-fzw080b9w9]::before {
        animation: ui-sheen .85s var(--ui-ease-out);
    }

    .dashboard-kpi-card.reserved[b-fzw080b9w9] {
        --kpi-ink: var(--ui-warning);
        --kpi-soft: var(--ui-warning-soft);
        --kpi-tint: var(--ui-warning-tint);
    }

    .dashboard-kpi-card.active[b-fzw080b9w9] {
        --kpi-ink: var(--ui-success);
        --kpi-soft: var(--ui-success-soft);
        --kpi-tint: var(--ui-success-tint);
    }

    .dashboard-kpi-card.usage[b-fzw080b9w9] {
        --kpi-ink: var(--ui-info);
        --kpi-soft: var(--ui-info-soft);
        --kpi-tint: var(--ui-info-tint);
    }


    /* ---- the headline metric is the filled card, as in the reference ---- */

    .dashboard-kpi-card.available[b-fzw080b9w9] {
        border-color: transparent;
        background: linear-gradient(140deg, #f6dc98 0%, #cfb063 100%);
        box-shadow: 0 6px 8px rgba(62, 54, 30, .18);
    }

        .dashboard-kpi-card.available[b-fzw080b9w9]::after {
            background: #fff;
            opacity: .30;
        }

        .dashboard-kpi-card.available .dashboard-kpi-label[b-fzw080b9w9],
        .dashboard-kpi-card.available .dashboard-kpi-value[b-fzw080b9w9] {
            color: var(--ui-on-accent);
        }

        .dashboard-kpi-card.available .dashboard-kpi-caption[b-fzw080b9w9] {
            color: rgba(74, 54, 8, .78);
        }

        .dashboard-kpi-card.available .dashboard-kpi-icon[b-fzw080b9w9] {
            border-color: rgba(74, 54, 8, .18);
            background: rgba(255, 255, 255, .62);
            color: var(--ui-on-accent);
        }


.dashboard-kpi-top[b-fzw080b9w9] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-kpi-icon[b-fzw080b9w9] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border: 1px solid transparent;
    border-radius: var(--ui-r-sm);
    background: var(--kpi-soft);
    color: var(--kpi-ink);
    transition: var(--ui-t);
    animation: ui-pop-in .5s var(--ui-ease-spring) calc(var(--card-in) + .06s) backwards;
}

.dashboard-kpi-card:hover .dashboard-kpi-icon[b-fzw080b9w9] {
    transform: translateY(-2px) scale(1.09) rotate(-5deg);
}

.dashboard-kpi-icon svg[b-fzw080b9w9] {
    width: 19px;
    height: 19px;
}

.dashboard-kpi-label[b-fzw080b9w9] {
    color: var(--text-secondary);
    font-size: .67rem;
    font-weight: 700;
}

.dashboard-kpi-value[b-fzw080b9w9] {
    margin-top: 15px;
    color: var(--text);
    font-size: 1.62rem;
    font-weight: 820;
    line-height: 1;
    letter-spacing: -.01em;
    /* digits keep one width, so a changing number does not shuffle
       the characters beside it on every refresh */
    font-variant-numeric: tabular-nums;
    animation: ui-reveal-up .55s var(--ui-ease-out) calc(var(--card-in) + .2s) backwards;
}

.dashboard-kpi-caption[b-fzw080b9w9] {
    margin-top: 9px;
    color: var(--muted);
    font-size: .61rem;
    line-height: 1.5;
}

/* GENERIC PANELS */

.dashboard-panel[b-fzw080b9w9] {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: var(--ui-r-lg);
    background: var(--surface);
    box-shadow: var(--ui-shadow-sm);
}

.dashboard-panel-heading[b-fzw080b9w9] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

    .dashboard-panel-heading h2[b-fzw080b9w9] {
        margin: 0;
        color: var(--text);
        font-size: 1.08rem;
        font-weight: 780;
    }

    .dashboard-panel-heading p[b-fzw080b9w9] {
        margin: 5px 0 0;
        color: var(--muted);
        font-size: .66rem;
        line-height: 1.65;
    }

.dashboard-panel-link[b-fzw080b9w9] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    color: var(--text-secondary);
    font-size: .65rem;
    font-weight: 700;
    text-decoration: none;
}

    .dashboard-panel-link:hover[b-fzw080b9w9] {
        color: var(--accent-text);
    }

    .dashboard-panel-link svg[b-fzw080b9w9] {
        width: 13px;
        height: 13px;
    }

.dashboard-page[dir="rtl"] .dashboard-panel-link svg[b-fzw080b9w9],
.dashboard-page[dir="rtl"] .package-manage-link svg[b-fzw080b9w9] {
    transform: rotate(180deg);
}

/* PRIMARY GRID */

.dashboard-primary-grid[b-fzw080b9w9] {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.16fr) minmax(0, .92fr);
    align-items: stretch;
    gap: 15px;
}

/*
 * The three dashboard cards now share one row:
 * active work | package summary | credit activity.
 * This is layout-only; the existing panel visuals remain untouched.
 */
.dashboard-workspace-grid > .active-jobs-panel[b-fzw080b9w9],
.dashboard-workspace-grid > .package-panel[b-fzw080b9w9],
.dashboard-workspace-grid > .mini-panel[b-fzw080b9w9] {
    min-width: 0;
    height: 100%;
}

.dashboard-workspace-grid > .mini-panel[b-fzw080b9w9] {
    align-self: stretch;
}

/*
 * The three panels of this row arrive in sequence, the way the cards of
 * the KPI row already do. The grid itself is a child of the page and so
 * already rises as one block; without this the panels inside it appeared
 * all at once, which read as a jump rather than an arrival.
 *
 * Reading order, so in Persian the rightmost panel leads.
 */
.dashboard-workspace-grid > *[b-fzw080b9w9] {
    --card-in: .14s;
    animation: ui-card-in .6s var(--ui-ease-out) var(--card-in) backwards;
}

.dashboard-workspace-grid > :nth-child(2)[b-fzw080b9w9] {
    --card-in: .21s;
}

.dashboard-workspace-grid > :nth-child(3)[b-fzw080b9w9] {
    --card-in: .28s;
}


/* =========================================================
   ARRIVING
   =========================================================

   Every card on this page waits until it is looked at. The first
   screenful cascades in on load; everything further down arrives as it
   is scrolled to, which is the point - a card that finished its
   entrance while it was still off screen may as well not have had one.

   The targets are the cards themselves rather than the sections that
   hold them, so scrolling through a column reveals it card by card
   instead of a whole block at once.

   These states apply only to elements the script has marked. If the
   script never runs, nothing is hidden and the page keeps the load
   animation it has always had - which is why the hidden state is keyed
   off an attribute rather than being the default.
   ========================================================= */

/*
 * A fade is not an arrival. This lifts, settles slightly past its
 * resting place and comes back - the spring easing is what makes it
 * read as something placed rather than something switched on - and
 * sharpens out of a blur so it gathers rather than appears.
 */
@keyframes dashboard-arrive-b-fzw080b9w9 {
    0% {
        opacity: 0;
        transform: translateY(34px) scale(.93);
        filter: blur(9px);
    }

    55% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: none;
        filter: blur(0);
    }
}

/* rows are small and there are many: quick, and only upward */
@keyframes dashboard-row-arrive-b-fzw080b9w9 {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.dashboard-page [data-reveal="pending"][b-fzw080b9w9] {
    animation: none;
    opacity: 0;
}

/*
 * --reveal-i is set by the script as it releases a batch, so the first
 * screenful cascades and a card scrolled to on its own arrives at once.
 */
.dashboard-page [data-reveal="in"][b-fzw080b9w9] {
    animation: dashboard-arrive-b-fzw080b9w9 .68s var(--ui-ease-spring)
               calc(var(--reveal-i, 0) * .075s) both;
}

.dashboard-page .recent-row[data-reveal="in"][b-fzw080b9w9] {
    animation: dashboard-row-arrive-b-fzw080b9w9 .44s var(--ui-ease-out)
               calc(var(--reveal-i, 0) * .05s) both;
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-page [data-reveal="pending"][b-fzw080b9w9] {
        opacity: 1;
    }

    .dashboard-page [data-reveal="in"][b-fzw080b9w9],
    .dashboard-page .recent-row[data-reveal="in"][b-fzw080b9w9] {
        animation: none;
    }
}

.active-jobs-panel[b-fzw080b9w9] {
    padding: 21px;
}

.active-jobs-list[b-fzw080b9w9] {
    display: grid;
    gap: 9px;
}

.active-job-card[b-fzw080b9w9] {
    min-width: 0;
    display: grid;
    gap: 11px;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: var(--ui-r-md);
    color: var(--text);
    background: var(--ui-surface-sunken);
    text-decoration: none;
    transition: var(--ui-t);
}

    .active-job-card:hover[b-fzw080b9w9] {
        transform: translateY(-1px);
        border-color: var(--border-accent);
        box-shadow: var(--ui-shadow-md);
    }

.active-job-main[b-fzw080b9w9] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.active-job-file-icon[b-fzw080b9w9] {
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    display: grid;
    place-items: center;
    border-radius: var(--ui-r-xs);
    background: var(--accent-soft);
    color: var(--accent-text);
}

    .active-job-file-icon svg[b-fzw080b9w9] {
        width: 17px;
        height: 17px;
    }

.active-job-copy[b-fzw080b9w9] {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 3px;
}

    .active-job-copy strong[b-fzw080b9w9] {
        overflow: hidden;
        color: var(--text);
        font-size: .72rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .active-job-copy span[b-fzw080b9w9] {
        color: var(--muted);
        font-size: .60rem;
    }

.dashboard-status[b-fzw080b9w9] {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: var(--ui-r-pill);
    background: var(--accent-soft);
    color: var(--accent-text);
    font-size: .58rem;
    font-weight: 760;
    white-space: nowrap;
}

    .dashboard-status.is-completed[b-fzw080b9w9] {
        color: var(--ui-success);
        background: var(--ui-success-soft);
    }

    .dashboard-status.is-failed[b-fzw080b9w9] {
        color: var(--ui-danger);
        background: var(--ui-danger-soft);
    }

    .dashboard-status.is-reviewing[b-fzw080b9w9] {
        color: var(--ui-info);
        background: var(--ui-info-soft);
    }

    .dashboard-status.is-formatting[b-fzw080b9w9] {
        color: var(--ui-warning);
        background: var(--ui-warning-soft);
    }

    .dashboard-status.is-queued[b-fzw080b9w9],
    .dashboard-status.is-preparing[b-fzw080b9w9] {
        color: var(--text-secondary);
        background: var(--ui-surface-sunken);
    }

.active-job-progress-row[b-fzw080b9w9] {
    display: grid;
    gap: 6px;
}

.active-job-progress-meta[b-fzw080b9w9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

    .active-job-progress-meta span[b-fzw080b9w9] {
        color: var(--muted);
        font-size: .56rem;
    }

    .active-job-progress-meta strong[b-fzw080b9w9] {
        color: var(--text-secondary);
        font-size: .60rem;
    }

.active-job-progress-track[b-fzw080b9w9] {
    height: 5px;
    overflow: hidden;
    border-radius: var(--ui-r-pill);
    background: var(--ui-progress-track);
}

    .active-job-progress-track span[b-fzw080b9w9] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: var(--ui-progress-fill);
    }

    /* Voice studio work has no steps to count: a band that keeps moving. */
    .active-job-progress-track.is-indeterminate[b-fzw080b9w9] {
        position: relative;
    }

    .active-job-progress-track.is-indeterminate span[b-fzw080b9w9] {
        position: absolute;
        inset-block: 0;
        width: 35%;
        animation: active-job-indeterminate-b-fzw080b9w9 1.4s ease-in-out infinite;
    }

@keyframes active-job-indeterminate-b-fzw080b9w9 {
    from { inset-inline-start: -35%; }
    to { inset-inline-start: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .active-job-progress-track.is-indeterminate span[b-fzw080b9w9] {
        animation: none;
    }
}

.active-job-footer[b-fzw080b9w9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: .56rem;
}

    .active-job-footer strong[b-fzw080b9w9] {
        color: var(--text-secondary);
    }

/* PACKAGE */

.package-panel[b-fzw080b9w9] {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.package-panel-top[b-fzw080b9w9] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

    .package-panel-top h2[b-fzw080b9w9] {
        margin: 0;
        color: var(--text);
        font-size: 1.03rem;
    }

.package-state[b-fzw080b9w9] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: var(--ui-r-pill);
    color: var(--ui-success);
    background: var(--ui-success-soft);
    font-size: .56rem;
    font-weight: 750;
}

    .package-state i[b-fzw080b9w9] {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: currentColor;
    }

.package-identity[b-fzw080b9w9] {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 20px;
}

.package-large-icon[b-fzw080b9w9] {
    width: 47px;
    height: 47px;
    flex: 0 0 47px;
    display: grid;
    place-items: center;
    border-radius: var(--ui-r-sm);
    background: var(--accent-soft);
    color: var(--accent-text);
}

    .package-large-icon svg[b-fzw080b9w9] {
        width: 21px;
        height: 21px;
    }

.package-identity > div[b-fzw080b9w9] {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.package-identity strong[b-fzw080b9w9] {
    overflow: hidden;
    color: var(--text);
    font-size: .86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.package-identity span[b-fzw080b9w9] {
    color: var(--muted);
    font-size: .58rem;
}

.package-wallet-summary[b-fzw080b9w9] {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 3px 10px;
    margin-top: 18px;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: var(--ui-r-sm);
    background: var(--ui-accent-soft);
}

    .package-wallet-summary span[b-fzw080b9w9] {
        color: var(--muted);
        font-size: .58rem;
    }

    .package-wallet-summary strong[b-fzw080b9w9] {
        grid-column: 1;
        color: var(--text);
        font-size: 1.14rem;
    }

    .package-wallet-summary small[b-fzw080b9w9] {
        grid-column: 2;
        grid-row: 2;
        color: var(--muted);
        font-size: .53rem;
    }

.package-capability-block[b-fzw080b9w9] {
    margin-top: 15px;
}

.package-capability-label[b-fzw080b9w9] {
    display: block;
    margin-bottom: 7px;
    color: var(--text-secondary);
    font-size: .58rem;
    font-weight: 700;
}

.package-chip-list[b-fzw080b9w9] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

    .package-chip-list span[b-fzw080b9w9] {
        padding: 5px 7px;
        border-radius: var(--ui-r-pill);
        background: var(--accent-soft);
        color: var(--accent-text);
        font-size: .53rem;
        font-weight: 700;
    }

    .package-chip-list.input span[b-fzw080b9w9] {
        background: var(--ui-surface-sunken);
        color: var(--text-secondary);
    }

.package-manage-link[b-fzw080b9w9] {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 18px;
    color: var(--accent-text);
    font-size: .64rem;
    font-weight: 750;
    text-decoration: none;
}

    .package-manage-link svg[b-fzw080b9w9] {
        width: 14px;
        height: 14px;
    }

.package-empty[b-fzw080b9w9] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 12px 12px;
    text-align: center;
}

    .package-empty strong[b-fzw080b9w9] {
        margin-top: 13px;
        color: var(--text);
        font-size: .80rem;
    }

    .package-empty p[b-fzw080b9w9] {
        max-width: 260px;
        margin: 7px 0 14px;
        color: var(--muted);
        font-size: .62rem;
        line-height: 1.7;
    }

    .package-empty a[b-fzw080b9w9] {
        color: var(--accent-text);
        font-size: .63rem;
        font-weight: 750;
        text-decoration: none;
    }









/* SECONDARY GRID */

.dashboard-secondary-grid[b-fzw080b9w9] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
}

.dashboard-recent-full-grid > .recent-translations-panel[b-fzw080b9w9] {
    width: 100%;
}

.recent-translations-panel[b-fzw080b9w9] {
    padding: 21px;
}

/* =========================================================
   RECENT TRANSLATIONS
   =========================================================
   A list of rows, not a table. Every cell in the table
   carried the same weight, so the file name - the thing
   being looked for - read no louder than the credit count.

   Each row takes its colour from the status it already
   carries, through one variable, so a new status is a
   variable block rather than a set of new rules.
   ========================================================= */

.recent-list[b-fzw080b9w9] {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.recent-row[b-fzw080b9w9] {
    --row-ink: var(--ui-info);
    --row-tint: var(--ui-info-tint);
    position: relative;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    padding: 13px 15px 13px 13px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: rgb(183 172 139 / 46%);
    text-decoration: none;
    transition: var(--ui-t);
    animation: ui-rise .45s var(--ui-ease-out) calc(.12s + var(--i, 0) * .05s) backwards;
}

.dashboard-page[dir="rtl"] .recent-row[b-fzw080b9w9] {
    padding: 13px 13px 13px 15px;
}

.recent-row:hover[b-fzw080b9w9] {
    transform: translateY(-2px);
    border-color: var(--row-ink);
    background: linear-gradient(90deg, var(--row-tint), transparent 42%), var(--ui-surface-strong);
    box-shadow: var(--ui-shadow-md);
}

.recent-row.is-completed[b-fzw080b9w9] {
    --row-ink: var(--ui-success);
    --row-tint: var(--ui-success-tint);
}

.recent-row.is-failed[b-fzw080b9w9] {
    --row-ink: var(--ui-danger);
    --row-tint: var(--ui-danger-tint);
}

.recent-row.is-translating[b-fzw080b9w9],
.recent-row.is-formatting[b-fzw080b9w9] {
    --row-ink: var(--ui-warning);
    --row-tint: var(--ui-warning-tint);
}


/* the rail: the row's status, read before anything is read */

.recent-rail[b-fzw080b9w9] {
    width: 4px;
    align-self: stretch;
    border-radius: var(--ui-r-pill);
    background: var(--row-ink);
    opacity: .55;
    transition: var(--ui-t);
}

.recent-row:hover .recent-rail[b-fzw080b9w9] {
    opacity: 1;
}


.recent-file-icon[b-fzw080b9w9] {
    width: 42px;
    height: 42px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: var(--ui-r-sm);
    background: var(--ui-accent-soft);
    color: var(--ui-warning);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .04em;
    transition: var(--ui-t);
}

.recent-row:hover .recent-file-icon[b-fzw080b9w9] {
    transform: scale(1.06) rotate(-4deg);
    background: var(--ui-accent);
    color: var(--ui-on-accent);
}


.recent-main[b-fzw080b9w9] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .recent-main strong[b-fzw080b9w9] {
        overflow: hidden;
        color: var(--text);
        font-size: .78rem;
        font-weight: 750;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.recent-meta[b-fzw080b9w9] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: .6rem;
}

    /* a dot between the parts, so they need no separator characters */
    .recent-meta > i[b-fzw080b9w9] {
        width: 3px;
        height: 3px;
        flex: none;
        border-radius: 50%;
        background: currentColor;
        opacity: .55;
    }

.recent-language-pair[b-fzw080b9w9] {
    padding: 3px 8px;
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--ui-ink-2);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .03em;
    white-space: nowrap;
}


.recent-trailing[b-fzw080b9w9] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.recent-credit[b-fzw080b9w9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    color: var(--text);
    font-size: .95rem;
    font-weight: 820;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

    .recent-credit small[b-fzw080b9w9] {
        color: var(--muted);
        font-size: .52rem;
        font-weight: 600;
    }


/* the chevron only appears when the row is being considered */

.recent-go[b-fzw080b9w9] {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: var(--row-ink);
    opacity: 0;
    transform: translateX(-6px);
    transition: var(--ui-t);
}

.dashboard-page[dir="rtl"] .recent-go[b-fzw080b9w9] {
    transform: translateX(6px) scaleX(-1);
}

.recent-go svg[b-fzw080b9w9] {
    width: 16px;
    height: 16px;
}

.recent-row:hover .recent-go[b-fzw080b9w9] {
    opacity: 1;
    transform: none;
}

.dashboard-page[dir="rtl"] .recent-row:hover .recent-go[b-fzw080b9w9] {
    transform: scaleX(-1);
}


@media (max-width: 900px) {
    .recent-row[b-fzw080b9w9] {
        grid-template-columns: auto auto minmax(0, 1fr) auto;
    }

    .recent-go[b-fzw080b9w9] {
        display: none;
    }
}


/* SIDE STACK */

/*
 * stretch, not start. With the documents panel gone the ledger is the
 * only thing in this column, and packing it to the top left the column
 * half empty beside a tall list of translations.
 */
.dashboard-side-stack[b-fzw080b9w9] {
    min-width: 0;
    display: grid;
    align-content: stretch;
    gap: 15px;
}

.mini-panel[b-fzw080b9w9] {
    padding: 17px;
}

.mini-panel-heading[b-fzw080b9w9] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

    .mini-panel-heading h3[b-fzw080b9w9] {
        margin: 0;
        color: var(--text);
        font-size: .82rem;
    }

    .mini-panel-heading a[b-fzw080b9w9] {
        margin-top: 4px;
        color: var(--accent-text);
        font-size: .56rem;
        font-weight: 700;
        text-decoration: none;
    }

.credit-activity-list[b-fzw080b9w9] {
    display: grid;
    /*
     * No gap. The rows are separated by their own padding instead, so
     * the spine between two nodes is unbroken - with a gap it stopped at
     * each row's edge and the ledger read as five detached segments.
     */
    gap: 0;
}






/* =========================================================
   CREDIT ACTIVITY
   =========================================================
   A ledger rather than a list. The icons sit on one spine
   running down the panel, so five entries read as a sequence
   in time instead of five unrelated rows, and the amount
   carries the colour rather than the row.
   ========================================================= */

.credit-activity-item[b-fzw080b9w9] {
    --act-ink: var(--ui-muted);
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 8px 9px 0;
    border-radius: var(--ui-r-xs);
    transition: var(--ui-t);
    animation: ui-rise .45s var(--ui-ease-out) calc(.15s + var(--i, 0) * .06s) backwards;
}

.dashboard-page[dir="rtl"] .credit-activity-item[b-fzw080b9w9] {
    padding: 9px 0 9px 8px;
}

.credit-activity-item:hover[b-fzw080b9w9] {
    background: var(--ui-surface-hover);
}

/*
     * The spine. It joins each node to the one below, so the last entry
     * draws none - otherwise the line would run off the end of the
     * ledger into nothing. Positioned on the icon's centre line, which
     * is half of its 29px.
     */
.credit-activity-item:not(:last-child)[b-fzw080b9w9]::before {
    content: "";
    width: 2px;
    position: absolute;
    inset-inline-start: 13.5px;
    /*
         * From this node's centre to the next one's. Both sit the same
         * distance from their row's top - the padding plus half the node
         * - so one offset serves both ends and nothing depends on the
         * row's total height.
         */
    top: 25px;
    bottom: -25px;
    border-radius: var(--ui-r-pill);
    background: var(--ui-line);
}

/*
 * A node, not a tile. The ring is painted in the panel's own surface so
 * the spine appears to pass behind it rather than stopping at its edge.
 */
.credit-activity-icon[b-fzw080b9w9] {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    border: 2px solid var(--ui-surface-strong);
    border-radius: 50%;
    background: var(--ui-accent-soft);
    color: var(--accent-text);
    font-size: .64rem;
    font-weight: 800;
    transition: var(--ui-t);
}

.credit-activity-item:hover .credit-activity-icon[b-fzw080b9w9] {
    transform: scale(1.12);
}

.credit-activity-icon.positive[b-fzw080b9w9] {
    color: var(--ui-success);
    background: var(--ui-success-soft);
}

.credit-activity-icon.negative[b-fzw080b9w9] {
    color: var(--ui-danger);
    background: var(--ui-danger-soft);
}

.credit-activity-icon.reserved[b-fzw080b9w9] {
    color: var(--ui-warning);
    background: var(--ui-warning-soft);
}

.credit-activity-copy[b-fzw080b9w9] {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 2px;
}

    .credit-activity-copy strong[b-fzw080b9w9] {
        overflow: hidden;
        color: var(--text);
        font-size: .60rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .credit-activity-copy small[b-fzw080b9w9] {
        overflow: hidden;
        color: var(--muted);
        font-size: .48rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.credit-activity-amount[b-fzw080b9w9] {
    flex: 0 0 auto;
    padding: 5px 11px;
    border-radius: var(--ui-r-pill);
    font-size: .72rem;
    font-weight: 800;
    /* digits keep one width, so a column of amounts stays aligned */
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

    .credit-activity-amount.positive[b-fzw080b9w9] {
        color: var(--ui-success);
        background: var(--ui-success-soft);
    }

    .credit-activity-amount.negative[b-fzw080b9w9] {
        color: var(--ui-danger);
        background: var(--ui-danger-soft);
    }

    .credit-activity-amount.neutral[b-fzw080b9w9] {
        color: var(--ui-ink-2);
        background: var(--ui-surface-sunken);
    }

/* LOADING + EMPTY */

.dashboard-panel-loading[b-fzw080b9w9],
.dashboard-mini-loading[b-fzw080b9w9] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--muted);
    font-size: .64rem;
}

.dashboard-panel-loading[b-fzw080b9w9] {
    min-height: 220px;
}

.dashboard-mini-loading[b-fzw080b9w9] {
    min-height: 90px;
}

.package-loading[b-fzw080b9w9] {
    flex: 1;
}

.dashboard-spinner[b-fzw080b9w9] {
    width: 17px;
    height: 17px;
    border: 2px solid var(--ui-line);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: dashboard-spin-b-fzw080b9w9 .8s linear infinite;
}

@keyframes dashboard-spin-b-fzw080b9w9 {
    to {
        transform: rotate(360deg);
    }
}

.dashboard-empty-state[b-fzw080b9w9] {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-sunken);
}

    .dashboard-empty-state.compact[b-fzw080b9w9] {
        min-height: 200px;
    }

.dashboard-empty-icon[b-fzw080b9w9] {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    margin-bottom: 11px;
    border-radius: var(--ui-r-sm);
    background: var(--accent-soft);
    color: var(--accent-text);
}

    .dashboard-empty-icon svg[b-fzw080b9w9] {
        width: 20px;
        height: 20px;
    }

.dashboard-empty-state strong[b-fzw080b9w9] {
    color: var(--text);
    font-size: .74rem;
}

.dashboard-empty-state p[b-fzw080b9w9] {
    max-width: 390px;
    margin: 6px 0 0;
    color: var(--muted);
    font-size: .59rem;
    line-height: 1.7;
}

.dashboard-empty-state a[b-fzw080b9w9] {
    margin-top: 11px;
    color: var(--accent-text);
    font-size: .60rem;
    font-weight: 750;
    text-decoration: none;
}

.mini-empty[b-fzw080b9w9] {
    min-height: 75px;
    display: grid;
    place-items: center;
    padding: 12px;
    border-radius: var(--ui-r-xs);
    background: var(--ui-surface-sunken);
    color: var(--muted);
    font-size: .56rem;
    text-align: center;
}

/* RTL */

.dashboard-page[dir="rtl"][b-fzw080b9w9] {
    text-align: right;
}

/* DARK */

/*
 * No dark overrides here any more.
 *
 * These three used to paint their own blue-grey for dark mode. Every
 * rule they were overriding now reads --ui-surface, --ui-surface-strong
 * or --ui-surface-sunken, and those are already dark under the dark
 * tokens - so an override would only be a second, hand-kept copy of the
 * same intent, free to drift from it.
 */


/* =========================================================
   ENTRANCE
   =========================================================
   The page arrives a band at a time rather than all at once.
   Each direct child of the page gets its turn from its own
   position, so adding or reordering a section needs no change
   here and no index in the markup.

   The reduced-motion guard in app.css covers this: it zeroes
   every duration, which leaves the final state - visible -
   rather than leaving the page blank.
   ========================================================= */

/*
 * backwards, not both.
 *
 * With `both` the animation keeps hold of its final transform after it
 * ends, and a held transform outranks any later declaration - so the
 * hover lift on the cards below simply never applied. `backwards` gives
 * the same hidden start and then hands the element back to its own
 * rules.
 */
.dashboard-page > *[b-fzw080b9w9] {
    animation: ui-rise .5s var(--ui-ease-out) backwards;
}

.dashboard-page > :nth-child(1)[b-fzw080b9w9] {
    animation-delay: .02s;
}

.dashboard-page > :nth-child(2)[b-fzw080b9w9] {
    animation-delay: .08s;
}

.dashboard-page > :nth-child(3)[b-fzw080b9w9] {
    animation-delay: .14s;
}

.dashboard-page > :nth-child(4)[b-fzw080b9w9] {
    animation-delay: .20s;
}

.dashboard-page > :nth-child(5)[b-fzw080b9w9] {
    animation-delay: .26s;
}

.dashboard-page > :nth-child(6)[b-fzw080b9w9] {
    animation-delay: .32s;
}

.dashboard-page > :nth-child(n+7)[b-fzw080b9w9] {
    animation-delay: .38s;
}


/* cards inside a grid arrive in sequence too, left to right */

.dashboard-kpi-grid > *[b-fzw080b9w9] {
    /* one value: when this card arrives, and when everything inside it
       follows. Keeping them apart let them drift out of step. */
    --card-in: .10s;
    animation: ui-card-in .62s var(--ui-ease-out) var(--card-in) backwards;
}

.dashboard-kpi-grid > :nth-child(2)[b-fzw080b9w9] {
    --card-in: .16s;
}

.dashboard-kpi-grid > :nth-child(3)[b-fzw080b9w9] {
    --card-in: .22s;
}

.dashboard-kpi-grid > :nth-child(4)[b-fzw080b9w9] {
    --card-in: .28s;
}


/* =========================================================
   STAT CARD GLYPHS
   =========================================================
   The same treatment as the sidebar: outline first, then the
   interior strokes in order, each carrying its own --i. The
   draw is timed off --card-in so a glyph starts as its card
   settles rather than on a clock of its own, and it replays
   under the pointer.
   ========================================================= */

.dashboard-kpi-icon svg .ico-frame[b-fzw080b9w9],
.dashboard-kpi-icon svg .ico-detail[b-fzw080b9w9] {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}

.dashboard-kpi-icon .ico-frame[b-fzw080b9w9] {
    animation: ui-draw .52s var(--ui-ease-out) calc(var(--card-in) + .14s) backwards;
}

.dashboard-kpi-icon .ico-detail[b-fzw080b9w9] {
    animation: ui-draw .3s var(--ui-ease-out) calc(var(--card-in) + var(--ico-delay, .42s) + var(--i, 0) * .09s) backwards;
}

/*
 * ui-redraw, not ui-draw. These glyphs already carry ui-draw from the
 * rule above, and an animation restarts only when its name changes - so
 * naming ui-draw again here did nothing at all, and hovering a card left
 * its icon sitting still.
 */
.dashboard-kpi-card:hover .dashboard-kpi-icon .ico-frame[b-fzw080b9w9] {
    animation: ui-redraw .52s var(--ui-ease-out) both;
}

.dashboard-kpi-card:hover .dashboard-kpi-icon .ico-detail[b-fzw080b9w9] {
    animation: ui-redraw .3s var(--ui-ease-out) calc(var(--ico-delay, .34s) + var(--i, 0) * .09s) both;
}


/* =========================================================
   CHARTS
   =========================================================
   Drawn as inline SVG from data the page already has. The
   viewBox is a flat 0..100 square with preserveAspectRatio
   off, so the card can be any width and the chart simply
   stretches - no measuring, no resize listener, and nothing
   to keep in step with a layout change.
   ========================================================= */

.dashboard-chart-grid[b-fzw080b9w9] {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 18px;
}

/*
 * Panels in this file carry their own padding - .dashboard-panel sets
 * none - and this one was added without any, so its heading sat one
 * pixel from the border and read as text outside the card.
 */
.chart-panel[b-fzw080b9w9] {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 21px;
}

.chart-range[b-fzw080b9w9] {
    align-self: center;
    padding: 5px 11px;
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-sunken);
    color: var(--muted);
    font-size: .62rem;
    font-weight: 700;
    white-space: nowrap;
}

.chart-empty[b-fzw080b9w9] {
    flex: 1;
    display: grid;
    place-items: center;
    min-height: 168px;
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-sunken);
    color: var(--muted);
    font-size: .72rem;
}


/* ---- area chart ---- */

.chart-figure[b-fzw080b9w9] {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.chart-svg[b-fzw080b9w9] {
    width: 100%;
    height: 168px;
    display: block;
    overflow: visible;
}

.chart-fill-top[b-fzw080b9w9] {
    stop-color: var(--ui-accent);
    stop-opacity: .55;
}

.chart-fill-bottom[b-fzw080b9w9] {
    stop-color: var(--ui-accent);
    stop-opacity: 0;
}

.chart-area[b-fzw080b9w9] {
    fill: url(#usageFill);
    stroke: none;
    animation: ui-fade .7s var(--ui-ease-out) .35s both;
}

/*
 * vector-effect keeps the stroke 2px however far the box is
 * stretched horizontally. Without it the non-uniform scale
 * squashes the line to a hairline on a wide card.
 */
.chart-line[b-fzw080b9w9] {
    fill: none;
    stroke: var(--ui-accent-strong);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 1;
    animation: ui-draw .9s var(--ui-ease-out) .2s both;
}

/*
 * The SVG plots the oldest day at x=0, which is the left edge whatever
 * the text direction. The axis labels below it are a flex row, so in
 * Persian they run right to left and put the oldest day on the RIGHT -
 * the curve and its own dates end up mirrored against each other.
 *
 * Mirroring the drawing puts them back in agreement. The fill gradient
 * is vertical, so it is unaffected, and the bar chart needs nothing:
 * each bar carries its own label in the same flex item, so the two move
 * together whichever way the row runs.
 */
.dashboard-page[dir="rtl"] .chart-svg[b-fzw080b9w9] {
    transform: scaleX(-1);
}


.chart-axis[b-fzw080b9w9] {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: .64rem;
    font-weight: 600;
}

.chart-legend[b-fzw080b9w9] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: .68rem;
}

    .chart-legend strong[b-fzw080b9w9] {
        margin-inline-start: 5px;
        color: var(--text);
    }

.chart-legend-dot[b-fzw080b9w9] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ui-accent-strong);
}


/* ---- bar chart ---- */

.chart-bars[b-fzw080b9w9] {
    flex: 1;
    min-height: 190px;
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.chart-bar-slot[b-fzw080b9w9] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

/*
 * The bar measures against this, not against the slot. Sized against
 * the slot, a full-height bar leaves nothing for the value above it and
 * pushes it out of the card.
 */
.chart-bar-track[b-fzw080b9w9] {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
    /* the line the bars stand on */
    box-shadow: inset 0 -1px 0 var(--ui-line);
}

.chart-bar-value[b-fzw080b9w9] {
    height: 17px;
    color: var(--text-secondary);
    font-size: .72rem;
    font-weight: 700;
    animation: ui-fade .4s var(--ui-ease-out) calc(.45s + var(--i) * .06s) both;
}

/*
 * Grown from the baseline with transform-origin at the bottom, so
 * the bar rises out of the axis instead of appearing at full height.
 */
.chart-bar[b-fzw080b9w9] {
    width: 100%;
    height: var(--h);
    border-radius: var(--ui-r-xs) var(--ui-r-xs) 5px 5px;
    background: var(--ui-clay);
    transform-origin: bottom;
    animation: ui-grow .55s var(--ui-ease-out) calc(.28s + var(--i) * .06s) both;
    transition: background-color var(--ui-dur-2) var(--ui-ease);
}

.chart-bar-slot:hover .chart-bar[b-fzw080b9w9] {
    background: var(--ui-accent-strong);
}

.chart-bar-slot.is-empty .chart-bar[b-fzw080b9w9] {
    background: var(--ui-clay-faint);
}

.chart-bar-slot.is-empty:hover .chart-bar[b-fzw080b9w9] {
    background: var(--ui-clay-soft);
}

.chart-bar-label[b-fzw080b9w9] {
    color: var(--muted);
    font-size: .68rem;
    font-weight: 700;
}


@media (max-width: 1100px) {
    .dashboard-chart-grid[b-fzw080b9w9] {
        grid-template-columns: 1fr;
    }
}

/* RESPONSIVE */

@media (max-width: 1280px) {

    .dashboard-secondary-grid[b-fzw080b9w9] {
        grid-template-columns: 1fr;
    }

    .dashboard-side-stack[b-fzw080b9w9] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .dashboard-primary-grid[b-fzw080b9w9] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-workspace-grid > .mini-panel[b-fzw080b9w9] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1080px) {
    .dashboard-kpi-grid[b-fzw080b9w9] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-primary-grid[b-fzw080b9w9] {
        grid-template-columns: 1fr;
    }

    .dashboard-workspace-grid > .mini-panel[b-fzw080b9w9] {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .dashboard-page[b-fzw080b9w9] {
        gap: 16px;
    }

    .dashboard-hero[b-fzw080b9w9] {
        min-height: 0;
        align-items: stretch;
        flex-direction: column;
        padding: 22px 20px;
    }

    .dashboard-hero-actions[b-fzw080b9w9] {
        width: 100%;
    }

    .dashboard-primary-action[b-fzw080b9w9],
    .dashboard-secondary-action[b-fzw080b9w9] {
        flex: 1;
    }


    .dashboard-side-stack[b-fzw080b9w9] {
        grid-template-columns: 1fr;
    }

    .dashboard-notice[b-fzw080b9w9] {
        align-items: flex-start;
        flex-wrap: wrap;
        height:62px;
    }

        .dashboard-notice > a[b-fzw080b9w9] {
            width: 100%;
            padding-inline-start: 47px;
            margin-top:-8px;
        }
}

@media (max-width: 520px) {
    .dashboard-kpi-grid[b-fzw080b9w9],
    .dashboard-hero-actions[b-fzw080b9w9] {
        flex-direction: column;
    }

    .dashboard-primary-action[b-fzw080b9w9],
    .dashboard-secondary-action[b-fzw080b9w9] {
        width: 100%;
    }

    .active-job-main[b-fzw080b9w9] {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .dashboard-status[b-fzw080b9w9] {
        margin-inline-start: 47px;
    }
}

/* =========================================================
   MY PACKAGES
   =========================================================

   Written entirely in the semantic tokens, which is why there is
   no dark block anywhere below: --surface, --text, --muted and the
   rest are redefined once under html[data-theme="dark"], so both
   themes come out of the same rules. A colour written literally
   here would be the one thing that stops following the theme.

   One thing is allowed to shout. The balance is the number people
   open this card for, so it carries the only amber fill; every
   other block stays neutral, and the eye lands where the money is
   rather than being pulled six ways.
   ========================================================= */

.pkgx-panel[b-fzw080b9w9] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
}

.pkgx-head[b-fzw080b9w9] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

    .pkgx-head h2[b-fzw080b9w9] {
        margin: 0;
        color: var(--text);
        font-size: 1.03rem;
        font-weight: 800;
        letter-spacing: -.01em;
    }

.pkgx-count[b-fzw080b9w9] {
    flex: 0 0 auto;
    margin-top: 2px;
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--text-secondary);
    font-size: .58rem;
    font-weight: 750;
    white-space: nowrap;
}


/* ---- the two summary blocks ---- */

.pkgx-overview[b-fzw080b9w9] {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 10px;
}

.pkgx-overline[b-fzw080b9w9] {
    display: block;
    color: var(--muted);
    font-size: .56rem;
    font-weight: 750;
    letter-spacing: .04em;
}

.pkgx-balance[b-fzw080b9w9],
.pkgx-access-card[b-fzw080b9w9] {
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: var(--ui-r-md);
}

.pkgx-balance[b-fzw080b9w9] {
    /* the one amber block on the card */
    border-color: var(--border-accent);
    background: var(--credit-bg);
}

.pkgx-balance-value[b-fzw080b9w9] {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin: 6px 0 4px;
}

    .pkgx-balance-value strong[b-fzw080b9w9] {
        color: var(--text);
        font-size: 1.6rem;
        font-weight: 820;
        line-height: 1;
        letter-spacing: -.02em;
        /* figures in a column have to line up or the card reads as a
           poster rather than a statement */
        font-variant-numeric: tabular-nums;
    }

    .pkgx-balance-value small[b-fzw080b9w9] {
        color: var(--text-secondary);
        font-size: .6rem;
        font-weight: 700;
    }

.pkgx-balance-note[b-fzw080b9w9] {
    display: block;
    color: var(--text-secondary);
    font-size: .57rem;
    font-weight: 650;
}

.pkgx-access-card[b-fzw080b9w9] {
    background: var(--ui-surface-sunken);
}

.pkgx-access-name[b-fzw080b9w9] {
    display: block;
    margin: 6px 0 4px;
    color: var(--text);
    font-size: .86rem;
    font-weight: 780;
    line-height: 1.25;
}

.pkgx-access-date[b-fzw080b9w9] {
    display: block;
    color: var(--muted);
    font-size: .56rem;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}


/* ---- the list heading ---- */

.pkgx-section-title[b-fzw080b9w9] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding-block-start: 12px;
    border-top: 1px solid var(--border);
}

    .pkgx-section-title span[b-fzw080b9w9] {
        color: var(--text);
        font-size: .72rem;
        font-weight: 780;
    }

    .pkgx-section-title small[b-fzw080b9w9] {
        color: var(--muted);
        font-size: .56rem;
        font-weight: 650;
    }


/* ---- one owned package ---- */

.pkgx-package-list[b-fzw080b9w9] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pkgx-package-item[b-fzw080b9w9] {
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: var(--ui-r-md);
    background: rgb(185 175 151 / 46%);
    transition: var(--ui-t);
}

    .pkgx-package-item:hover[b-fzw080b9w9] {
        border-color: var(--border-accent);
        background: rgb(245 237 217 / 46%);
    }

.pkgx-package-top[b-fzw080b9w9] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.pkgx-package-title strong[b-fzw080b9w9] {
    display: block;
    color: var(--text);
    font-size: .82rem;
    font-weight: 780;
    line-height: 1.3;
}

.pkgx-package-title span[b-fzw080b9w9] {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: .55rem;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}

.pkgx-status[b-fzw080b9w9] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: var(--ui-r-pill);
    font-size: .54rem;
    font-weight: 750;
    white-space: nowrap;
}

    .pkgx-status i[b-fzw080b9w9] {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: currentColor;
    }

    .pkgx-status.is-funded[b-fzw080b9w9] {
        color: var(--ui-success);
        background: var(--ui-success-soft);
    }

    .pkgx-status.is-exhausted[b-fzw080b9w9] {
        color: var(--muted);
        background: var(--ui-surface-raised);
    }

    .pkgx-status.is-refunded[b-fzw080b9w9] {
        color: var(--ui-danger);
        background: var(--ui-danger-soft);
    }


/* ---- the three figures ---- */

/*
 * Painted, not left transparent.
 *
 * Every token in this theme is an alpha overlay, so an element with no
 * background of its own shows whatever happens to be behind it - and
 * behind this row, on the dark theme, something is white. That is how a
 * row of dark tiles came out pale grey and the amber one came out cream:
 * rgba(0,0,0,.32) over white is grey, and rgba(251,205,92,.18) over
 * white is cream. Nothing was wrong with the colours; they were
 * compositing onto the wrong ground.
 *
 * Painting it with the same surface its own card uses ends that. It
 * still reads as no slab at all, because the card underneath is the same
 * colour - but now it is opaque to whatever is below, and it cannot
 * disagree with the text sitting on it.
 */
.pkgx-metrics[b-fzw080b9w9] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 0;
    margin: 12px 0 10px;
    padding: 10px 4px;
    border-block: 1px solid var(--border);
    border-radius: var(--ui-r-xs);
    background: var(--ui-surface-sunken);
}

/*
 * No fill behind a figure.
 *
 * These were three tinted slabs, and on the dark theme they came out as
 * pale grey blocks with the amber one washing out the number inside it.
 * A filled tile also has to pick a surface token, and the one that suits
 * a chip is wrong at this size - it is meant for something small sitting
 * on a panel, not for a third of the width of a card.
 *
 * Figures separated by hairlines carry the same grouping with none of
 * that, and read as a statement rather than as three buttons. The one
 * that matters is marked by its own colour and weight, which needs no
 * background at all and cannot wash anything out.
 */
.pkgx-metric[b-fzw080b9w9] {
    min-width: 0;
    text-align: center;
    padding: 2px 4px;
    border-inline-start: 1px solid var(--border);
}

    /* the first figure has nothing to its inline start */
    .pkgx-metric:first-child[b-fzw080b9w9] {
        border-inline-start: 0;
    }

    .pkgx-metric span[b-fzw080b9w9] {
        display: block;
        margin-bottom: 4px;
        color: var(--muted);
        font-size: .53rem;
        font-weight: 700;
    }

    .pkgx-metric strong[b-fzw080b9w9] {
        display: block;
        color: var(--text-secondary);
        font-size: .84rem;
        font-weight: 800;
        line-height: 1;
        font-variant-numeric: tabular-nums;
    }

    /* what is left is the figure people came for */
    .pkgx-metric.primary strong[b-fzw080b9w9] {
        color: var(--accent-text);
        font-size: 1.02rem;
    }

    .pkgx-metric.primary span[b-fzw080b9w9] {
        color: var(--text-secondary);
    }


/* ---- how much of it has been spent ---- */

.pkgx-progress[b-fzw080b9w9] {
    height: 5px;
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-sunken);
    box-shadow: inset 0 0 0 1px var(--border);
    overflow: hidden;
}

    .pkgx-progress > span[b-fzw080b9w9] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: var(--ui-accent-strong);
        transition: width var(--ui-dur-3) var(--ui-ease-out);
    }


/* ---- what the package allows ---- */

.pkgx-package-meta[b-fzw080b9w9] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 11px;
}

    .pkgx-package-meta span[b-fzw080b9w9] {
        display: inline-flex;
        align-items: baseline;
        gap: 5px;
        color: var(--text-secondary);
        font-size: .57rem;
        font-weight: 650;
    }

    .pkgx-package-meta b[b-fzw080b9w9] {
        color: var(--muted);
        font-size: .53rem;
        font-weight: 750;
    }

.pkgx-package-formats[b-fzw080b9w9] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px dashed var(--border);
}

.pkgx-formats-label[b-fzw080b9w9] {
    flex: 0 0 auto;
    padding-top: 2px;
    color: var(--muted);
    font-size: .53rem;
    font-weight: 750;
}

.pkgx-format-list[b-fzw080b9w9] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    min-width: 0;
}

    .pkgx-format-list span[b-fzw080b9w9] {
        padding: 2px 6px;
        border: 1px solid var(--border);
        border-radius: var(--ui-r-xs);
        background: var(--ui-surface-raised);
        color: var(--text-secondary);
        font-size: .5rem;
        font-weight: 750;
        letter-spacing: .03em;
    }


/* ---- the tail of the card ---- */

.pkgx-more[b-fzw080b9w9] {
    display: inline-flex;
    align-self: flex-start;
    padding: 5px 10px;
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--accent-text);
    font-size: .57rem;
    font-weight: 750;
    text-decoration: none;
    transition: var(--ui-t);
}

    .pkgx-more:hover[b-fzw080b9w9] {
        background: var(--surface-hover);
    }

.pkgx-non-package[b-fzw080b9w9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px dashed var(--border);
    border-radius: var(--ui-r-sm);
    color: var(--text-secondary);
    font-size: .58rem;
    font-weight: 650;
}

    .pkgx-non-package strong[b-fzw080b9w9] {
        color: var(--text);
        font-size: .74rem;
        font-weight: 800;
        font-variant-numeric: tabular-nums;
    }

.pkgx-manage[b-fzw080b9w9] {
    /* the card is a grid cell of fixed height, so the action sits on
       the floor of it however few packages there are */
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-raised);
    color: var(--text);
    font-size: .63rem;
    font-weight: 780;
    text-decoration: none;
    transition: var(--ui-t);
}

    .pkgx-manage:hover[b-fzw080b9w9] {
        border-color: var(--border-accent);
        background: var(--credit-bg);
    }

    .pkgx-manage svg[b-fzw080b9w9] {
        flex: 0 0 auto;
        width: 15px;
        height: 15px;
        color: var(--accent-text);
        transition: var(--ui-t);
    }

    .pkgx-manage:hover svg[b-fzw080b9w9] {
        transform: translateX(2px);
    }

/* the arrow points the way the text runs */
.dashboard-page[dir="rtl"] .pkgx-manage svg[b-fzw080b9w9] {
    transform: scaleX(-1);
}

.dashboard-page[dir="rtl"] .pkgx-manage:hover svg[b-fzw080b9w9] {
    transform: scaleX(-1) translateX(2px);
}


/* ---- nothing to show ---- */

.pkgx-empty[b-fzw080b9w9] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 14px;
    border: 1px dashed var(--border);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-sunken);
}

    .pkgx-empty strong[b-fzw080b9w9] {
        color: var(--text-secondary);
        font-size: .66rem;
        font-weight: 700;
    }

    .pkgx-empty a[b-fzw080b9w9] {
        color: var(--accent-text);
        font-size: .58rem;
        font-weight: 750;
        text-decoration: none;
        transition: var(--ui-t);
    }

        .pkgx-empty a:hover[b-fzw080b9w9] {
            text-decoration: underline;
        }

.pkgx-empty-compact[b-fzw080b9w9] {
    padding: 13px 14px;
}


/* ---- narrow: the two summary blocks stop being a row ---- */

/* the card is one column of three, so it keeps its two summary blocks
   side by side until the whole page has stopped being a three-column
   page at all */
@media (max-width: 720px) {
    .pkgx-overview[b-fzw080b9w9] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pkgx-metrics[b-fzw080b9w9] {
        gap: 6px;
    }
}
/* DASHBOARD WORKSPACE REARRANGEMENT - CANONICAL V4 - 2026-09-19 */
/*
 * Layout only.
 *
 * Desktop RTL visual order:
 *   right  = Active translations + Credit activity
 *   center = Packages
 *   left   = Recent translations
 *
 * Important: the right column is a real stretched grid item, but its two
 * cards SHARE the available height instead of making Credit Activity absorb
 * every spare pixel. This keeps the three column bottoms aligned without
 * producing the huge empty ledger card seen in V3.
 */
.dashboard-workspace-grid[b-fzw080b9w9] {
    align-items: stretch;
}

.dashboard-workspace-grid > .dashboard-workspace-stack[b-fzw080b9w9],
.dashboard-workspace-grid > .package-panel[b-fzw080b9w9],
.dashboard-workspace-grid > .recent-translations-panel[b-fzw080b9w9] {
    min-width: 0;
    min-height: 0;
    align-self: stretch;
}

.dashboard-workspace-stack[b-fzw080b9w9] {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(max-content, .86fr) minmax(max-content, 1.14fr);
    gap: 22px;
}

.dashboard-workspace-stack > .active-jobs-panel[b-fzw080b9w9],
.dashboard-workspace-stack > .mini-panel[b-fzw080b9w9] {
    min-width: 0;
    min-height: 0;
    height: auto;
    align-self: stretch;
}

/* Keep LIVE WORK compact internally while the grid controls the card height. */
.dashboard-workspace-stack > .active-jobs-panel .dashboard-empty-state.compact[b-fzw080b9w9] {
    min-height: 118px;
    padding-block: 16px;
}

.dashboard-workspace-stack > .active-jobs-panel .dashboard-panel-loading[b-fzw080b9w9] {
    min-height: 118px;
}

/* Preserve the same entrance timing used by the original cards. */
.dashboard-workspace-grid > .dashboard-workspace-stack[b-fzw080b9w9] {
    animation: none;
}

.dashboard-workspace-stack > .active-jobs-panel[b-fzw080b9w9] {
    --card-in: .14s;
    animation: ui-card-in .6s var(--ui-ease-out) var(--card-in) backwards;
}

.dashboard-workspace-stack > .mini-panel[b-fzw080b9w9] {
    --card-in: .28s;
    animation: ui-card-in .6s var(--ui-ease-out) var(--card-in) backwards;
}

/* Recent translations now lives in the narrow desktop column. */
.dashboard-workspace-grid > .recent-translations-panel .recent-meta[b-fzw080b9w9] {
    flex-wrap: wrap;
    row-gap: 4px;
}

/* Two-column/tablet layout: return the right stack to natural card heights. */
@media (max-width: 1180px) {
    .dashboard-workspace-stack[b-fzw080b9w9] {
        grid-template-rows: auto auto;
        gap: 15px;
    }

    .dashboard-workspace-grid > .recent-translations-panel[b-fzw080b9w9] {
        grid-column: 1 / -1;
    }
}

/* Single-column layout: everything flows naturally again. */
@media (max-width: 1080px) {
    .dashboard-workspace-grid > .recent-translations-panel[b-fzw080b9w9] {
        grid-column: auto;
    }
}

/* DASHBOARD CREDIT USAGE CHART POLISH V1 - START */

/*
 * The visible plot gets its own quiet stage. All colours still come
 * from the dashboard semantic tokens, so light/dark behavior is unchanged.
 */
.area-figure[b-fzw080b9w9] {
    position: relative;
    padding: 10px 10px 7px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background:
        radial-gradient(
            70% 100% at 86% 0%,
            var(--ui-accent-tint),
            transparent 68%
        ),
        linear-gradient(
            180deg,
            var(--ui-surface-strong),
            var(--ui-surface-sunken)
        );
}

.area-figure[b-fzw080b9w9]::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    inset-block-start: -132px;
    inset-inline-end: -68px;
    border-radius: 50%;
    background: var(--ui-accent);
    opacity: .06;
    pointer-events: none;
}

.area-figure .chart-svg[b-fzw080b9w9],
.area-figure .chart-axis[b-fzw080b9w9] {
    position: relative;
    z-index: 1;
}

.area-figure .chart-svg[b-fzw080b9w9] {
    height: 178px;
}

/*
 * Four quiet reference lines make the trend easier to read without
 * turning the compact dashboard card into an analytical charting screen.
 */
.chart-grid line[b-fzw080b9w9] {
    stroke: var(--ui-line-strong);
    stroke-width: 1;
    stroke-dasharray: 2 4;
    opacity: .42;
    vector-effect: non-scaling-stroke;
}

/* richer depth while remaining fully token-driven */
.chart-fill-top[b-fzw080b9w9] {
    stop-color: var(--ui-accent);
    stop-opacity: .34;
}

.chart-fill-mid[b-fzw080b9w9] {
    stop-color: var(--ui-accent);
    stop-opacity: .13;
}

.chart-fill-bottom[b-fzw080b9w9] {
    stop-color: var(--ui-accent);
    stop-opacity: .015;
}

.chart-area[b-fzw080b9w9] {
    fill: url(#usageFill);
    stroke: none;
    animation: chart-area-reveal-b-fzw080b9w9 .72s var(--ui-ease-out) .08s both;
}

/*
 * A broad, low-opacity stroke sits underneath the real line. It gives
 * the trend separation from the fill without changing the theme colour.
 */
.chart-line-glow[b-fzw080b9w9] {
    fill: none;
    stroke: var(--ui-accent);
    stroke-width: 7;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .13;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
}

/*
 * Important: no normalized dash mask here.
 * The old pathLength + stroke-dasharray animation could leave portions
 * of the line visually absent on some SVG/browser combinations.
 */
.chart-line[b-fzw080b9w9] {
    fill: none;
    stroke: var(--ui-accent-strong);
    stroke-width: 2.35;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 2px 3px var(--ui-accent-soft));
    animation: chart-line-reveal-b-fzw080b9w9 .68s var(--ui-ease-out) .12s both;
}

.chart-axis[b-fzw080b9w9] {
    padding-inline: 2px;
    color: var(--muted);
}

.chart-axis > span[b-fzw080b9w9] {
    min-width: 18px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.chart-legend[b-fzw080b9w9] {
    align-self: flex-start;
    width: max-content;
    max-width: 100%;
    margin-top: 1px;
    padding: 7px 10px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
}

.chart-legend-dot[b-fzw080b9w9] {
    box-shadow: 0 0 0 4px var(--ui-accent-soft);
}

@keyframes chart-line-reveal-b-fzw080b9w9 {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes chart-area-reveal-b-fzw080b9w9 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 760px) {
    .area-figure[b-fzw080b9w9] {
        padding-inline: 7px;
    }

    .area-figure .chart-svg[b-fzw080b9w9] {
        height: 160px;
    }

    .chart-grid line[b-fzw080b9w9] {
        opacity: .30;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chart-line[b-fzw080b9w9],
    .chart-area[b-fzw080b9w9] {
        animation: none;
    }
}

/* DASHBOARD CREDIT USAGE CHART POLISH V1 - END */

/* DASHBOARD CREDIT USAGE CHART LAYOUT TUNE V1 - START */

/*
 * Fine-tune only the chart card layout:
 * - remove dependence on the lower "total" summary row
 * - let the plot occupy more of the available card height
 * - reduce the top breathing room so the drawing feels better fitted
 */

.chart-panel[b-fzw080b9w9] {
    gap: 10px;
}

.chart-panel .dashboard-panel-heading[b-fzw080b9w9] {
    margin-bottom: 8px;
}

.chart-panel .dashboard-panel-heading p[b-fzw080b9w9] {
    margin-top: 4px;
}

.chart-figure[b-fzw080b9w9] {
    flex: 1;
    min-height: 0;
    gap: 6px;
}

.area-figure[b-fzw080b9w9] {
    flex: 1;
    min-height: 0;
    padding: 4px 10px 5px;
}

.area-figure[b-fzw080b9w9]::before {
    inset-block-start: -148px;
    inset-inline-end: -74px;
}

.area-figure .chart-svg[b-fzw080b9w9] {
    height: 202px;
}

.chart-axis[b-fzw080b9w9] {
    padding-inline: 0;
    margin-top: -1px;
}

@media (max-width: 760px) {
    .chart-panel[b-fzw080b9w9] {
        gap: 8px;
    }

    .chart-panel .dashboard-panel-heading[b-fzw080b9w9] {
        margin-bottom: 6px;
    }

    .area-figure[b-fzw080b9w9] {
        padding: 3px 7px 4px;
    }

    .area-figure .chart-svg[b-fzw080b9w9] {
        height: 176px;
    }
}

/* DASHBOARD CREDIT USAGE CHART LAYOUT TUNE V1 - END */


/* =========================================================
   PHONE
   =========================================================
   The rows of recent work gave the file name what was left
   after the status pill and the credit had taken theirs; on a
   375px screen that was "pdf..." and the meta line stacked one
   word per line. On a phone the trailing pair stacks instead,
   and the meta line wraps as a line.
   ========================================================= */

@media (max-width: 720px) {

    .dashboard-hero[b-fzw080b9w9] {
        padding: 20px 18px;
        border-radius: var(--ui-r-lg);
    }

    .active-jobs-panel[b-fzw080b9w9],
    .recent-translations-panel[b-fzw080b9w9],
    .mini-panel[b-fzw080b9w9],
    .chart-panel[b-fzw080b9w9],
    .pkgx-panel[b-fzw080b9w9] {
        padding: 16px;
    }

    .recent-row[b-fzw080b9w9],
    .dashboard-page[dir="rtl"] .recent-row[b-fzw080b9w9] {
        grid-template-columns: auto auto minmax(0, 1fr) auto;
        gap: 10px;
        padding: 11px 12px;
    }

    .recent-file-icon[b-fzw080b9w9] {
        width: 38px;
        height: 38px;
    }

    .recent-main strong[b-fzw080b9w9] {
        font-size: .82rem;
    }

    .recent-meta[b-fzw080b9w9],
    .dashboard-workspace-grid > .recent-translations-panel .recent-meta[b-fzw080b9w9] {
        flex-wrap: wrap;
        gap: 4px 7px;
        font-size: .64rem;
        white-space: nowrap;
    }

    .recent-trailing[b-fzw080b9w9] {
        flex-direction: column;
        align-items: flex-end;
        gap: 7px;
    }

        .recent-trailing .dashboard-status[b-fzw080b9w9] {
            margin: 0;
        }

    .recent-credit[b-fzw080b9w9] {
        flex-direction: row;
        align-items: baseline;
        gap: 4px;
        font-size: .85rem;
    }
}


/* =========================================================
   WEEKLY TRANSLATIONS
   The week at a glance: the total and how it compares with
   the week before, the busiest day and the daily average,
   then seven bars against a dashed average line. Today is
   the dark bar; the busiest day is the full-gold one.
   ========================================================= */

.wk-panel[b-fzw080b9w9] {
    --wk-plot: 168px;
    --wk-head: 24px;
    --wk-today: var(--ui-dark);
    --wk-today-ink: #fff;
    position: relative;
    overflow: hidden;
}

/* a soft gold light behind the chart, as on the other dashboard cards */
.wk-panel[b-fzw080b9w9]::before {
    content: "";
    position: absolute;
    inset-block-end: -120px;
    inset-inline-start: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--ui-accent) 22%, transparent), transparent 70%);
    pointer-events: none;
}

html[data-theme="dark"] .wk-panel[b-fzw080b9w9] {
    --wk-today: var(--ui-ink);
    --wk-today-ink: var(--ui-dark);
}

.wk-summary[b-fzw080b9w9] {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: -2px;
}

.wk-total[b-fzw080b9w9] {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.wk-total strong[b-fzw080b9w9] {
    font-size: 2.3rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ui-ink);
    animation: ui-fade .5s var(--ui-ease-out) .1s both;
}

.wk-total span[b-fzw080b9w9] {
    color: var(--ui-muted);
    font-size: .72rem;
    font-weight: 600;
}

.wk-trend[b-fzw080b9w9] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: var(--ui-r-pill);
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
}

.wk-trend i[b-fzw080b9w9] {
    font-style: normal;
    font-size: .6rem;
}

.wk-trend small[b-fzw080b9w9] {
    font-size: .64rem;
    font-weight: 600;
    opacity: .8;
}

.wk-trend.is-up[b-fzw080b9w9] {
    background: color-mix(in srgb, var(--ui-success) 13%, transparent);
    color: var(--ui-success);
}

.wk-trend.is-down[b-fzw080b9w9] {
    background: color-mix(in srgb, var(--ui-danger) 12%, transparent);
    color: var(--ui-danger);
}

.wk-facts[b-fzw080b9w9] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--ui-muted);
    font-size: .7rem;
    font-weight: 600;
}

.wk-facts b[b-fzw080b9w9] {
    margin-inline-start: 4px;
    color: var(--ui-ink);
    font-weight: 800;
}

.wk-sep[b-fzw080b9w9] {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ui-clay-soft);
}

/* ---- the chart ---- */

.wk-chart[b-fzw080b9w9] {
    position: relative;
    margin-top: 6px;
}

/* gridlines and the average line, drawn over the same height the bars use */
.wk-stage[b-fzw080b9w9] {
    position: absolute;
    inset-inline: 0;
    top: var(--wk-head);
    height: calc(var(--wk-plot) - var(--wk-head));
    pointer-events: none;
}

.wk-grid[b-fzw080b9w9] {
    position: absolute;
    inset-inline: 0;
    bottom: calc(var(--g) * 100%);
    border-top: 1px dashed color-mix(in srgb, var(--ui-line) 70%, transparent);
}

.wk-stage[b-fzw080b9w9]::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    border-top: 1px solid var(--ui-line);
}

.wk-avg[b-fzw080b9w9] {
    position: absolute;
    inset-inline: 0;
    bottom: calc(var(--a) * 100%);
    border-top: 1.5px dashed var(--ui-accent-strong);
    z-index: 2;
    animation: ui-fade .5s var(--ui-ease-out) .9s both;
}

.wk-avg span[b-fzw080b9w9] {
    position: absolute;
    inset-inline-start: 0;
    top: -9px;
    padding: 1px 8px;
    border-radius: var(--ui-r-pill);
    background: var(--ui-accent);
    color: #3b2f23;
    font-size: .6rem;
    font-weight: 800;
    box-shadow: var(--ui-shadow-sm);
}

.wk-cols[b-fzw080b9w9] {
    position: relative;
    display: flex;
    gap: 8px;
    /* room for the average tag, so it never sits on a bar */
    padding-inline-start: 50px;
}

.wk-col[b-fzw080b9w9] {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    outline: none;
    cursor: default;
}

.wk-plot[b-fzw080b9w9] {
    position: relative;
    width: 100%;
    height: var(--wk-plot);
}

/* height from the busiest day; a zero day keeps a small stub so the week still reads as seven days */
.wk-bar[b-fzw080b9w9] {
    position: absolute;
    inset-inline: 14%;
    bottom: 0;
    height: max(6px, calc((var(--wk-plot) - var(--wk-head)) * var(--r)));
    border-radius: 9px 9px 4px 4px;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--ui-accent) 78%, transparent),
        color-mix(in srgb, var(--ui-accent-strong) 55%, transparent));
    transform-origin: bottom;
    animation: ui-grow .7s var(--ui-ease-spring) calc(.25s + var(--i) * .07s) both;
    transition: box-shadow var(--ui-dur-2) var(--ui-ease), filter var(--ui-dur-2) var(--ui-ease);
}

.wk-col.is-peak .wk-bar[b-fzw080b9w9] {
    background: linear-gradient(180deg, var(--ui-accent), var(--ui-accent-strong));
    box-shadow: var(--ui-shadow-accent);
}

.wk-col.is-today .wk-bar[b-fzw080b9w9] {
    background: var(--wk-today);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--wk-today) 30%, transparent);
}

.wk-col.is-zero .wk-bar[b-fzw080b9w9] {
    background: var(--ui-clay-faint);
    box-shadow: none;
}

.wk-val[b-fzw080b9w9] {
    position: absolute;
    inset-inline: 0;
    bottom: calc(max(6px, calc((var(--wk-plot) - var(--wk-head)) * var(--r))) + 5px);
    text-align: center;
    color: var(--ui-ink-2);
    font-size: .74rem;
    font-weight: 800;
    animation: ui-fade .4s var(--ui-ease-out) calc(.6s + var(--i) * .07s) both;
}

.wk-col.is-today .wk-val[b-fzw080b9w9] {
    color: var(--ui-ink);
}

.wk-col:hover .wk-bar[b-fzw080b9w9],
.wk-col:focus-visible .wk-bar[b-fzw080b9w9] {
    filter: brightness(1.07) saturate(1.12);
}

.wk-col:focus-visible .wk-plot[b-fzw080b9w9] {
    border-radius: var(--ui-r-xs);
    box-shadow: 0 0 0 2px var(--ui-accent-strong);
}

.wk-day[b-fzw080b9w9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    line-height: 1.2;
}

.wk-day b[b-fzw080b9w9] {
    color: var(--ui-ink-2);
    font-size: .7rem;
    font-weight: 800;
}

.wk-day small[b-fzw080b9w9] {
    color: var(--ui-muted);
    font-size: .6rem;
    font-weight: 600;
}

.wk-col.is-today .wk-day b[b-fzw080b9w9] {
    padding: 1px 8px;
    border-radius: var(--ui-r-pill);
    background: var(--wk-today);
    color: var(--wk-today-ink);
}

/* the day in full, just above its bar, while the pointer or focus is on it */
.wk-tip[b-fzw080b9w9] {
    position: absolute;
    left: 50%;
    bottom: calc(100% - var(--wk-plot) + max(6px, calc((var(--wk-plot) - var(--wk-head)) * var(--r))) + 26px);
    z-index: 3;
    display: grid;
    gap: 2px;
    min-width: 108px;
    padding: 8px 11px;
    border-radius: var(--ui-r-sm);
    background: var(--ui-dark);
    color: #f6f2e8;
    text-align: center;
    font-size: .66rem;
    white-space: nowrap;
    box-shadow: var(--ui-shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 4px);
    transition: opacity var(--ui-dur-1) var(--ui-ease), transform var(--ui-dur-1) var(--ui-ease), visibility var(--ui-dur-1);
    pointer-events: none;
}

html[data-theme="dark"] .wk-tip[b-fzw080b9w9] {
    background: #f6f2e8;
    color: #1c1b17;
}

.wk-tip b[b-fzw080b9w9] {
    font-weight: 800;
}

.wk-tip span[b-fzw080b9w9] {
    opacity: .8;
}

.wk-col:hover .wk-tip[b-fzw080b9w9],
.wk-col:focus-visible .wk-tip[b-fzw080b9w9] {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

@media (max-width: 720px) {
    .wk-panel[b-fzw080b9w9] {
        --wk-plot: 150px;
    }

    .wk-total strong[b-fzw080b9w9] {
        font-size: 1.9rem;
    }

    .wk-cols[b-fzw080b9w9] {
        gap: 5px;
        padding-inline-start: 44px;
    }

    .wk-bar[b-fzw080b9w9] {
        inset-inline: 10%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wk-bar[b-fzw080b9w9],
    .wk-val[b-fzw080b9w9],
    .wk-avg[b-fzw080b9w9],
    .wk-total strong[b-fzw080b9w9] {
        animation: none;
    }
}

/* =========================================================
   NOTICES ON A PHONE
   =========================================================
   On a phone the notices stack in one column and each carries
   its link on a row of its own, so they had three different
   heights and sat 8px apart (-14px over the page's 22px gap) -
   a block of boxes stuck together. Every notice now keeps the
   same minimum height, its text sits in the middle of the box
   whether the link is on its own row or not, and there is a
   little air between them. Desktop keeps the tight stack its
   grid of cards reads better with.
   ========================================================= */

@media (max-width: 720px) {

    .dashboard-notice[b-fzw080b9w9] {
        height: 72px;
        align-items: stretch;
        padding: 10px 14px;
    }

        /* The text fills the box and centres itself in it: the icon row
           is one line, the description and the link are others. */
        .dashboard-notice > div[b-fzw080b9w9] {
            align-content: center;
        }

        .dashboard-notice > .dashboard-notice-icon[b-fzw080b9w9] {
            margin-block: auto;
        }

    .dashboard-notice + .dashboard-notice[b-fzw080b9w9] {
        margin-top: -6px;
    }
}
/* _content/AITranslationPlatform.Web/Components/Documents/Documents.razor.rz.scp.css */
/* =========================================================
   DOCUMENTS — PREMIUM WORKSPACE V1
   Unified with Dashboard / Translation workflow
   ========================================================= */

.documents-page[b-fhb4gjxqc9] {
    --doc-accent: var(--ui-accent, #f4bd3f);
    --doc-accent-strong: var(--ui-accent-strong, #e1a72b);
    --doc-accent-soft: var(--ui-accent-soft, rgba(226, 175, 46, .12));
    --doc-accent-tint: var(--ui-accent-tint, rgba(226, 175, 46, .07));

    --doc-text: var(--text, #26231f);
    --doc-text-2: var(--text-secondary, #625d54);
    --doc-muted: var(--muted, #918a7f);

    --doc-surface: var(--surface, #ffffff);
    --doc-surface-raised: var(--ui-surface-raised, #ffffff);
    --doc-surface-strong: var(--ui-surface-strong, #fffdf9);
    --doc-surface-soft: var(--ui-surface-sunken, #faf8f3);

    --doc-line: var(--ui-line, rgba(48, 43, 34, .10));
    --doc-line-strong: var(--ui-line-strong, rgba(48, 43, 34, .16));

    --doc-success: var(--ui-success, #4a8c61);
    --doc-success-soft: var(--ui-success-tint, rgba(74, 140, 97, .10));
    --doc-warning: var(--ui-warning, #b97814);
    --doc-warning-soft: var(--ui-warning-tint, rgba(185, 120, 20, .10));
    --doc-danger: var(--ui-danger, #b65050);
    --doc-danger-soft: var(--ui-danger-tint, rgba(182, 80, 80, .10));

    --doc-shadow-sm: var(--ui-shadow-sm, 0 8px 22px rgba(32, 28, 22, .055));
    --doc-shadow-md: var(--ui-shadow-md, 0 18px 46px rgba(32, 28, 22, .085));

    width: min(100%, 1480px);
    margin: 0 auto;
    padding: 0 0 28px;

    display: flex;
    flex-direction: column;
    gap: 18px;

    color: var(--doc-text);
}


/* =========================================================
   HERO
   ========================================================= */

.documents-hero[b-fhb4gjxqc9] {
    position: relative;

    min-height: 208px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;

    padding: 30px 32px;

    overflow: hidden;

    border: 1px solid var(--doc-line);
    border-radius: 28px;

    background:
        radial-gradient(115% 145% at 8% -18%, var(--doc-accent-soft), transparent 48%),
        radial-gradient(85% 115% at 96% 118%, rgba(130, 121, 103, .07), transparent 56%),
        linear-gradient(135deg, var(--doc-surface-strong), var(--doc-surface));

    box-shadow: var(--doc-shadow-md);

    animation: documents-card-in-b-fhb4gjxqc9 .62s cubic-bezier(.2,.8,.2,1) .03s backwards;
}

.documents-page[dir="rtl"] .documents-hero[b-fhb4gjxqc9] {
    background:
        radial-gradient(115% 145% at 92% -18%, var(--doc-accent-soft), transparent 48%),
        radial-gradient(85% 115% at 4% 118%, rgba(130, 121, 103, .07), transparent 56%),
        linear-gradient(225deg, var(--doc-surface-strong), var(--doc-surface));
}

.documents-hero[b-fhb4gjxqc9]::before,
.documents-hero[b-fhb4gjxqc9]::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.documents-hero[b-fhb4gjxqc9]::before {
    width: 285px;
    height: 285px;

    inset-block-start: -184px;
    inset-inline-end: -94px;

    border: 42px solid var(--doc-accent-soft);

    opacity: .78;
}

.documents-hero[b-fhb4gjxqc9]::after {
    width: 154px;
    height: 154px;

    inset-block-end: -101px;
    inset-inline-start: -44px;

    border: 26px solid var(--doc-line-strong);

    opacity: .62;
}

.documents-hero-copy[b-fhb4gjxqc9] {
    position: relative;
    z-index: 2;

    max-width: 820px;
}

.documents-eyebrow[b-fhb4gjxqc9] {
    width: max-content;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin: 0 0 9px;
    padding: 6px 11px;

    border: 1px solid rgba(226, 175, 46, .28);
    border-radius: 999px;

    background: var(--doc-surface-raised);

    color: var(--doc-warning);

    font-size: .61rem;
    font-weight: 850;
    letter-spacing: .055em;
}

.documents-eyebrow[b-fhb4gjxqc9]::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--doc-accent-strong);

    box-shadow: 0 0 0 4px var(--doc-accent-soft);
}

.documents-page[dir="rtl"] .documents-eyebrow[b-fhb4gjxqc9] {
    letter-spacing: 0;
}

.documents-hero h1[b-fhb4gjxqc9] {
    margin: 0;

    color: var(--doc-text);

    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.documents-page[dir="rtl"] .documents-hero h1[b-fhb4gjxqc9] {
    letter-spacing: 0;
}

.documents-hero p[b-fhb4gjxqc9] {
    max-width: 760px;

    margin: 11px 0 0;

    color: var(--doc-text-2);

    font-size: .82rem;
    line-height: 1.9;
}

.documents-primary-action[b-fhb4gjxqc9] {
    position: relative;
    z-index: 3;

    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    flex: 0 0 auto;

    padding: 0 18px;

    border: 1px solid transparent;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--doc-accent),
            var(--doc-accent-strong)
        );

    color: #34270f !important;

    font-family: inherit;
    font-size: .68rem;
    font-weight: 850;
    text-decoration: none;

    box-shadow:
        0 12px 26px rgba(226, 175, 46, .22),
        inset 0 1px 0 rgba(255,255,255,.35);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

.documents-primary-action:hover[b-fhb4gjxqc9] {
    transform: translateY(-2px);

    filter: saturate(1.03);

    box-shadow:
        0 17px 34px rgba(226, 175, 46, .28),
        inset 0 1px 0 rgba(255,255,255,.38);
}

.documents-primary-action svg[b-fhb4gjxqc9] {
    width: 18px;
    height: 18px;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.documents-summary-grid[b-fhb4gjxqc9] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.documents-summary-card[b-fhb4gjxqc9] {
    position: relative;

    min-width: 0;
    min-height: 108px;

    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 13px;

    padding: 15px 16px;

    overflow: hidden;

    border: 1px solid var(--doc-line);
    border-radius: 18px;

    background:
        linear-gradient(145deg, var(--doc-accent-tint), transparent 72%),
        var(--doc-surface);

    box-shadow: var(--doc-shadow-sm);

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.documents-summary-card[b-fhb4gjxqc9]::after {
    content: "";

    position: absolute;

    width: 78px;
    height: 78px;

    inset-block-start: -38px;
    inset-inline-end: -25px;

    border-radius: 50%;

    background: currentColor;

    opacity: .035;

    pointer-events: none;
}

.documents-summary-card:hover[b-fhb4gjxqc9] {
    transform: translateY(-2px);

    border-color: var(--doc-line-strong);

    box-shadow: var(--doc-shadow-md);
}

.documents-summary-icon[b-fhb4gjxqc9] {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border: 1px solid var(--doc-line);
    border-radius: 14px;

    background: var(--doc-surface-raised);

    color: var(--doc-warning);

    box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}

.documents-summary-card.active .documents-summary-icon[b-fhb4gjxqc9] {
    color: var(--doc-warning);
    background: var(--doc-warning-soft);
}

.documents-summary-card.completed .documents-summary-icon[b-fhb4gjxqc9] {
    color: var(--doc-success);
    background: var(--doc-success-soft);
}

.documents-summary-card.storage .documents-summary-icon[b-fhb4gjxqc9] {
    color: #7b6b4f;
    background: rgba(123,107,79,.10);
}

.documents-summary-icon svg[b-fhb4gjxqc9] {
    width: 21px;
    height: 21px;
}

.documents-summary-card > div:last-child[b-fhb4gjxqc9] {
    min-width: 0;
}

.documents-summary-label[b-fhb4gjxqc9] {
    display: block;

    margin-bottom: 3px;

    color: var(--doc-text-2);

    font-size: .60rem;
    font-weight: 760;
}

.documents-summary-card strong[b-fhb4gjxqc9] {
    display: block;

    color: var(--doc-text);

    font-size: 1.42rem;
    font-weight: 880;
    line-height: 1.12;

    font-variant-numeric: tabular-nums;
}

.documents-summary-card .documents-summary-size[b-fhb4gjxqc9] {
    font-size: 1.05rem;
}

.documents-summary-card small[b-fhb4gjxqc9] {
    display: block;

    margin-top: 5px;

    color: var(--doc-muted);

    font-size: .54rem;
    line-height: 1.45;
}


/* =========================================================
   STATE CARDS
   ========================================================= */

.documents-state-card[b-fhb4gjxqc9] {
    min-height: 140px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;

    padding: 24px 26px;

    border: 1px solid var(--doc-line);
    border-radius: 22px;

    background: var(--doc-surface);

    box-shadow: var(--doc-shadow-sm);
}

.documents-state-card > div[b-fhb4gjxqc9] {
    min-width: 0;
}

.documents-state-card strong[b-fhb4gjxqc9] {
    display: block;

    color: var(--doc-text);

    font-size: .78rem;
    font-weight: 820;
}

.documents-state-card p[b-fhb4gjxqc9] {
    max-width: 640px;

    margin: 5px 0 0;

    color: var(--doc-muted);

    font-size: .61rem;
    line-height: 1.75;
}

.documents-spinner[b-fhb4gjxqc9] {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;

    border: 3px solid var(--doc-accent-soft);
    border-top-color: var(--doc-accent-strong);
    border-radius: 50%;

    animation: documents-spin-b-fhb4gjxqc9 .75s linear infinite;
}

@keyframes documents-spin-b-fhb4gjxqc9 {
    to {
        transform: rotate(360deg);
    }
}

.documents-error-card[b-fhb4gjxqc9] {
    align-items: flex-start;
    min-height: 0;
}

.documents-error-icon[b-fhb4gjxqc9] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: var(--doc-danger-soft);

    color: var(--doc-danger);

    font-size: 1rem;
    font-weight: 900;
}

.documents-secondary-button[b-fhb4gjxqc9] {
    min-height: 36px;

    margin-top: 11px;
    padding: 0 13px;

    border: 1px solid var(--doc-line-strong);
    border-radius: 11px;

    background: var(--doc-surface-raised);

    color: var(--doc-text-2);

    font-family: inherit;
    font-size: .60rem;
    font-weight: 800;

    cursor: pointer;

    transition: .17s ease;
}

.documents-secondary-button:hover:not(:disabled)[b-fhb4gjxqc9] {
    transform: translateY(-1px);

    border-color: var(--doc-accent-strong);

    color: var(--doc-warning);

    box-shadow: var(--doc-shadow-sm);
}


/* =========================================================
   LIBRARY
   ========================================================= */

.documents-library-card[b-fhb4gjxqc9] {
    overflow: hidden;

    border: 1px solid var(--doc-line);
    border-radius: 24px;

    background: var(--doc-surface);

    box-shadow: var(--doc-shadow-sm);

    animation: documents-card-in-b-fhb4gjxqc9 .58s cubic-bezier(.2,.8,.2,1) .12s backwards;
}

.documents-library-heading[b-fhb4gjxqc9] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;

    padding: 20px 22px 17px;

    border-bottom: 1px solid var(--doc-line);
}

.documents-section-kicker[b-fhb4gjxqc9] {
    display: block;

    margin-bottom: 6px;

    color: var(--doc-warning);

    font-size: .56rem;
    font-weight: 850;
    letter-spacing: .07em;
}

.documents-page[dir="rtl"] .documents-section-kicker[b-fhb4gjxqc9] {
    letter-spacing: 0;
}

.documents-library-heading h2[b-fhb4gjxqc9] {
    margin: 0;

    color: var(--doc-text);

    font-size: 1.05rem;
    font-weight: 840;
}

.documents-library-heading p[b-fhb4gjxqc9] {
    margin: 5px 0 0;

    color: var(--doc-muted);

    font-size: .63rem;
    line-height: 1.65;
}

.documents-library-heading-actions[b-fhb4gjxqc9] {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    flex: 0 0 auto;
}

.documents-result-count[b-fhb4gjxqc9] {
    flex: 0 0 auto;

    padding: 7px 10px;

    border: 1px solid var(--doc-line);
    border-radius: 999px;

    background: var(--doc-surface-soft);

    color: var(--doc-text-2);

    font-size: .58rem;
    font-weight: 760;
}

.documents-refresh-button[b-fhb4gjxqc9] {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid var(--doc-line);
    border-radius: 10px;

    background: var(--doc-surface-raised);

    color: var(--doc-text-2);

    cursor: pointer;

    transition: .17s ease;
}

.documents-refresh-button:hover:not(:disabled)[b-fhb4gjxqc9] {
    transform: translateY(-1px);

    border-color: var(--doc-accent-strong);

    background: var(--doc-accent-soft);

    color: var(--doc-warning);
}

.documents-refresh-button:disabled[b-fhb4gjxqc9] {
    opacity: .5;
    cursor: default;
}

.documents-refresh-button svg[b-fhb4gjxqc9] {
    width: 16px;
    height: 16px;
}


/* =========================================================
   TOOLBAR
   ========================================================= */

.documents-toolbar[b-fhb4gjxqc9] {
    display: grid;
    grid-template-columns:
        minmax(280px, 1.2fr)
        minmax(145px, .34fr)
        minmax(135px, .32fr)
        minmax(145px, .34fr);
    gap: 9px;

    padding: 12px 14px;

    border-bottom: 1px solid var(--doc-line);

    background:
        linear-gradient(180deg, var(--doc-surface-soft), transparent);
}

.documents-search[b-fhb4gjxqc9],
.documents-filter[b-fhb4gjxqc9] {
    min-width: 0;

    display: flex;
    align-items: center;

    border: 1px solid var(--doc-line);
    border-radius: 12px;

    background: var(--doc-surface-raised);

    transition:
        border-color .16s ease,
        box-shadow .16s ease,
        background .16s ease;
}

.documents-search:focus-within[b-fhb4gjxqc9],
.documents-filter:focus-within[b-fhb4gjxqc9] {
    border-color: var(--doc-accent-strong);

    box-shadow: 0 0 0 3px var(--doc-accent-soft);
}

.documents-search[b-fhb4gjxqc9] {
    min-height: 42px;

    gap: 8px;

    padding: 0 11px;
}

.documents-search svg[b-fhb4gjxqc9] {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;

    color: var(--doc-muted);
}

.documents-search input[b-fhb4gjxqc9] {
    width: 100%;
    min-width: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--doc-text);

    font-family: inherit;
    font-size: .68rem;
}

.documents-search input[b-fhb4gjxqc9]::placeholder {
    color: var(--doc-muted);
}

.documents-filter[b-fhb4gjxqc9] {
    position: relative;

    min-height: 42px;
}

.documents-filter > span[b-fhb4gjxqc9] {
    position: absolute;

    inset-inline-start: 10px;
    top: 5px;

    pointer-events: none;

    color: var(--doc-muted);

    font-size: .45rem;
    font-weight: 700;
}

.documents-filter select[b-fhb4gjxqc9] {
    width: 100%;
    height: 100%;

    padding: 15px 38px 2px 10px;
    padding-inline-start: 10px;
    padding-inline-end: 38px;

    border: 0;
    outline: 0;

    appearance: none;

    background: transparent;

    color: var(--doc-text);

    font-family: inherit;
    font-size: .62rem;
    font-weight: 720;
}

.documents-filter-arrow[b-fhb4gjxqc9] {
    position: absolute;

    inset-inline-end: 12px;
    top: 50%;

    width: 14px;
    height: 14px;

    color: var(--doc-text-2);

    transform: translateY(-45%);

    pointer-events: none;
}


/* =========================================================
   BULK SELECTION
   ========================================================= */

.documents-bulk-actions[b-fhb4gjxqc9] {
    min-height: 56px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;

    padding: 8px 14px;

    border-bottom: 1px solid var(--doc-line);

    background: var(--doc-surface-soft);

    transition:
        background .18s ease,
        border-color .18s ease;
}

.documents-bulk-actions.has-selection[b-fhb4gjxqc9] {
    border-bottom-color: rgba(226, 175, 46, .20);

    background:
        linear-gradient(90deg, var(--doc-accent-tint), transparent 70%);
}

.documents-bulk-selection-group[b-fhb4gjxqc9],
.documents-bulk-command-group[b-fhb4gjxqc9] {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 10px;
}

.documents-bulk-command-group[b-fhb4gjxqc9] {
    flex: 0 0 auto;
}

.documents-select-all[b-fhb4gjxqc9] {
    min-width: 0;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 5px 7px;
    margin: -5px -7px;

    border-radius: 10px;

    color: var(--doc-text-2);

    cursor: pointer;

    transition: .16s ease;
}

.documents-select-all:hover[b-fhb4gjxqc9] {
    background: var(--doc-accent-soft);
    color: var(--doc-warning);
}

.documents-select-all input[b-fhb4gjxqc9],
.documents-row-select input[b-fhb4gjxqc9] {
    position: absolute;

    width: 1px;
    height: 1px;

    margin: -1px;
    padding: 0;

    overflow: hidden;

    clip: rect(0 0 0 0);

    white-space: nowrap;

    border: 0;
}

.documents-checkmark[b-fhb4gjxqc9] {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;

    display: grid;
    place-items: center;

    border: 1px solid var(--doc-line-strong);
    border-radius: 6px;

    background: var(--doc-surface-raised);

    color: transparent;

    box-shadow: 0 2px 6px rgba(25,31,42,.035);

    transition: .16s ease;
}

.documents-checkmark svg[b-fhb4gjxqc9] {
    width: 12px;
    height: 12px;
}

.documents-select-all input:checked + .documents-checkmark[b-fhb4gjxqc9],
.documents-row-select input:checked + .documents-checkmark[b-fhb4gjxqc9] {
    border-color: var(--doc-accent-strong);

    background:
        linear-gradient(
            135deg,
            var(--doc-accent),
            var(--doc-accent-strong)
        );

    color: #34270f;

    box-shadow: 0 4px 10px rgba(226,175,46,.18);
}

.documents-select-all-copy[b-fhb4gjxqc9] {
    min-width: 0;
}

.documents-select-all-copy strong[b-fhb4gjxqc9] {
    display: block;

    color: var(--doc-text);

    font-size: .60rem;
    font-weight: 800;
    line-height: 1.2;
}

.documents-select-all-copy small[b-fhb4gjxqc9] {
    display: block;

    margin-top: 3px;

    color: var(--doc-muted);

    font-size: .47rem;
    font-weight: 650;
    line-height: 1.2;
}

.documents-selection-divider[b-fhb4gjxqc9] {
    width: 1px;
    height: 24px;
    flex: 0 0 1px;

    background: var(--doc-line-strong);
}

.documents-selection-count[b-fhb4gjxqc9] {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 5px 9px;

    border: 1px solid rgba(226,175,46,.18);
    border-radius: 10px;

    background: var(--doc-accent-tint);

    color: var(--doc-warning);
}

.documents-selection-count-icon[b-fhb4gjxqc9] {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background: var(--doc-accent-soft);

    color: var(--doc-warning);
}

.documents-selection-count-icon svg[b-fhb4gjxqc9] {
    width: 14px;
    height: 14px;
}

.documents-selection-count strong[b-fhb4gjxqc9] {
    display: inline;

    color: var(--doc-warning);

    font-size: .64rem;
    font-weight: 850;
}

.documents-selection-count small[b-fhb4gjxqc9] {
    margin-inline-start: 4px;

    color: var(--doc-text-2);

    font-size: .52rem;
    font-weight: 700;
}

.documents-clear-selection[b-fhb4gjxqc9],
.documents-bulk-delete[b-fhb4gjxqc9] {
    min-height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 0 11px;

    border-radius: 10px;

    font-family: inherit;
    font-size: .56rem;
    font-weight: 800;

    cursor: pointer;

    transition: .16s ease;
}

.documents-clear-selection[b-fhb4gjxqc9] {
    border: 1px solid var(--doc-line-strong);

    background: var(--doc-surface-raised);

    color: var(--doc-text-2);
}

.documents-clear-selection:hover[b-fhb4gjxqc9] {
    transform: translateY(-1px);

    border-color: var(--doc-accent-strong);

    color: var(--doc-warning);
}

.documents-bulk-delete[b-fhb4gjxqc9] {
    border: 1px solid rgba(182,80,80,.20);

    background: var(--doc-danger-soft);

    color: var(--doc-danger);
}

.documents-bulk-delete:hover[b-fhb4gjxqc9] {
    transform: translateY(-1px);

    border-color: rgba(182,80,80,.30);

    box-shadow: 0 7px 15px rgba(182,80,80,.08);
}

.documents-bulk-delete svg[b-fhb4gjxqc9] {
    width: 15px;
    height: 15px;
}


/* =========================================================
   TABLE / WORKSPACE
   ========================================================= */

.documents-table[b-fhb4gjxqc9] {
    width: 100%;

    display: grid;
    gap: 8px;

    padding: 0 10px 11px;
}

.documents-table-head[b-fhb4gjxqc9],
.documents-row[b-fhb4gjxqc9] {
    display: grid;
    grid-template-columns:
        minmax(250px, 1.7fr)
        minmax(100px, .70fr)
        minmax(100px, .70fr)
        minmax(145px, .92fr)
        minmax(90px, .55fr)
        minmax(110px, .66fr)
        122px;
    align-items: center;
    gap: 11px;
}

.documents-table-head[b-fhb4gjxqc9] {
    min-height: 40px;

    margin: 0 -10px 0;
    padding: 0 18px;

    border-bottom: 1px solid var(--doc-line);

    background: var(--doc-surface-soft);

    color: var(--doc-muted);

    font-size: .53rem;
    font-weight: 800;
    letter-spacing: .035em;
}

.documents-page[dir="rtl"] .documents-table-head[b-fhb4gjxqc9] {
    letter-spacing: 0;
}

.documents-table-head-action[b-fhb4gjxqc9] {
    text-align: center;
}

.documents-row[b-fhb4gjxqc9] {
    position: relative;

    min-height: 78px;

    padding: 11px 12px;

    border: 1px solid transparent;
    border-radius: 15px;

    background: transparent;

    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}

.documents-row:hover[b-fhb4gjxqc9] {
    transform: translateY(-1px);

    border-color: var(--doc-line);

    background:
        linear-gradient(90deg, var(--doc-accent-tint), transparent 72%),
        var(--doc-surface-strong);

    box-shadow: var(--doc-shadow-sm);
}

.documents-row.is-selected[b-fhb4gjxqc9] {
    border-color: rgba(226,175,46,.24);

    background:
        linear-gradient(90deg, var(--doc-accent-soft), transparent 72%),
        var(--doc-surface-strong);

    box-shadow:
        inset 3px 0 0 var(--doc-accent-strong),
        var(--doc-shadow-sm);
}

.documents-page[dir="rtl"] .documents-row.is-selected[b-fhb4gjxqc9] {
    box-shadow:
        inset -3px 0 0 var(--doc-accent-strong),
        var(--doc-shadow-sm);
}


/* =========================================================
   FILE
   ========================================================= */

.documents-file-cell[b-fhb4gjxqc9] {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 11px;
}

.documents-row-select[b-fhb4gjxqc9] {
    width: 28px;
    height: 32px;
    flex: 0 0 28px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    cursor: pointer;

    transition: .16s ease;
}

.documents-row-select:hover[b-fhb4gjxqc9] {
    background: var(--doc-accent-soft);
}

.documents-row-select .documents-checkmark[b-fhb4gjxqc9] {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
}

.documents-row-select input:disabled + .documents-checkmark[b-fhb4gjxqc9] {
    opacity: .34;
    background: var(--doc-surface-soft);
    box-shadow: none;
}

.documents-row-select:has(input:disabled)[b-fhb4gjxqc9] {
    cursor: not-allowed;
}

.documents-file-icon[b-fhb4gjxqc9] {
    position: relative;

    width: 43px;
    height: 47px;
    flex: 0 0 43px;

    display: grid;
    place-items: center;

    border: 1px solid var(--doc-line);
    border-radius: 12px;

    background: var(--doc-surface-soft);

    color: #7f7357;
}

.documents-file-icon svg[b-fhb4gjxqc9] {
    width: 20px;
    height: 20px;

    transform: translateY(-5px);
}

.documents-file-icon small[b-fhb4gjxqc9] {
    position: absolute;

    inset-inline: 5px;
    bottom: 4px;

    overflow: hidden;

    color: currentColor;

    font-size: .42rem;
    font-weight: 900;
    line-height: 1;

    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-pdf[b-fhb4gjxqc9] {
    background: rgba(182,80,80,.08);
    color: #b65050;
}

.file-word[b-fhb4gjxqc9] {
    background: rgba(69,101,160,.08);
    color: #526d9d;
}

.file-powerpoint[b-fhb4gjxqc9] {
    background: rgba(177,102,54,.08);
    color: #a66b43;
}

.file-text[b-fhb4gjxqc9] {
    background: rgba(102,96,84,.08);
    color: #716b61;
}

.file-subtitle[b-fhb4gjxqc9] {
    background: rgba(110,88,146,.08);
    color: #776590;
}

.documents-file-copy[b-fhb4gjxqc9] {
    min-width: 0;
}

.documents-file-copy strong[b-fhb4gjxqc9] {
    display: block;

    overflow: hidden;

    color: var(--doc-text);

    font-size: .68rem;
    font-weight: 820;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.documents-file-copy span[b-fhb4gjxqc9] {
    display: block;

    margin-top: 4px;

    overflow: hidden;

    color: var(--doc-muted);

    font-size: .53rem;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   LANGUAGE / DETAILS
   ========================================================= */

.documents-language-cell[b-fhb4gjxqc9] {
    width: max-content;

    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: var(--doc-text-2);

    font-size: .57rem;
    font-weight: 800;
}

.documents-language-cell span[b-fhb4gjxqc9] {
    min-width: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 5px 7px;

    border: 1px solid var(--doc-line);
    border-radius: 8px;

    background: var(--doc-surface-soft);
}

.documents-language-cell .documents-language-target[b-fhb4gjxqc9] {
    border-color: rgba(226,175,46,.18);

    background: var(--doc-accent-soft);

    color: var(--doc-warning);
}

.documents-language-cell svg[b-fhb4gjxqc9] {
    width: 13px;
    height: 13px;

    color: var(--doc-muted);
}

.documents-detail-cell[b-fhb4gjxqc9] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;

    color: var(--doc-text-2);

    font-size: .57rem;
    font-weight: 650;
}

.documents-ocr-badge[b-fhb4gjxqc9] {
    padding: 3px 6px;

    border-radius: 6px;

    background: rgba(110,88,146,.08);

    color: #776590;

    font-size: .45rem;
    font-weight: 850;
}


/* =========================================================
   STATUS
   ========================================================= */

.documents-status-cell[b-fhb4gjxqc9] {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 6px;
}

.documents-status[b-fhb4gjxqc9] {
    width: max-content;
    max-width: 100%;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 8px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-size: .52rem;
    font-weight: 800;

    white-space: nowrap;
}

.documents-status i[b-fhb4gjxqc9] {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;

    border-radius: 50%;

    background: currentColor;
}

.documents-status.active[b-fhb4gjxqc9] {
    border-color: rgba(185,120,20,.12);
    background: var(--doc-warning-soft);
    color: var(--doc-warning);
}

.documents-status.completed[b-fhb4gjxqc9] {
    border-color: rgba(74,140,97,.12);
    background: var(--doc-success-soft);
    color: var(--doc-success);
}

.documents-status.failed[b-fhb4gjxqc9] {
    border-color: rgba(182,80,80,.12);
    background: var(--doc-danger-soft);
    color: var(--doc-danger);
}

.documents-status.cancelled[b-fhb4gjxqc9] {
    border-color: var(--doc-line);
    background: var(--doc-surface-soft);
    color: var(--doc-muted);
}

.documents-status.ready[b-fhb4gjxqc9] {
    border-color: rgba(226,175,46,.16);
    background: var(--doc-accent-soft);
    color: var(--doc-warning);
}

.documents-progress[b-fhb4gjxqc9] {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 6px;
}

.documents-progress > span[b-fhb4gjxqc9] {
    width: 76px;
    height: 5px;

    overflow: hidden;

    border-radius: 999px;

    background: var(--doc-line);
}

.documents-progress > span i[b-fhb4gjxqc9] {
    display: block;

    height: 100%;

    border-radius: inherit;

    background: var(--ui-progress-fill);
}

.documents-progress small[b-fhb4gjxqc9] {
    color: var(--doc-muted);

    font-size: .47rem;
}


/* =========================================================
   CREDITS / DATE
   ========================================================= */

.documents-credits-cell[b-fhb4gjxqc9],
.documents-date-cell[b-fhb4gjxqc9] {
    min-width: 0;
}

.documents-credits-cell strong[b-fhb4gjxqc9],
.documents-date-cell strong[b-fhb4gjxqc9] {
    display: block;

    color: var(--doc-text);

    font-size: .60rem;
    font-weight: 820;
}

.documents-credits-cell small[b-fhb4gjxqc9],
.documents-date-cell small[b-fhb4gjxqc9] {
    display: block;

    margin-top: 3px;

    color: var(--doc-muted);

    font-size: .49rem;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.documents-actions-cell[b-fhb4gjxqc9] {
    min-width: 0;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    padding-inline: 3px;
}

.documents-row-action[b-fhb4gjxqc9] {
    width: 33px;
    height: 33px;
    flex: 0 0 33px;

    display: grid;
    place-items: center;

    padding: 0;
    margin: 0;

    border: 1px solid var(--doc-line);
    border-radius: 10px;

    background: var(--doc-surface-raised);

    color: var(--doc-text-2);

    font-family: inherit;
    font-size: 0;
    line-height: 1;
    text-decoration: none;

    cursor: pointer;

    transition: .16s ease;
}

.documents-row-action svg[b-fhb4gjxqc9] {
    width: 15px;
    height: 15px;
}

.documents-row-action:hover[b-fhb4gjxqc9] {
    transform: translateY(-1px);

    border-color: var(--doc-accent-strong);

    background: var(--doc-accent-soft);

    color: var(--doc-warning);
}

.documents-row-download:hover[b-fhb4gjxqc9] {
    border-color: rgba(74,140,97,.22);

    background: var(--doc-success-soft);

    color: var(--doc-success);
}

.documents-row-delete:hover:not(:disabled)[b-fhb4gjxqc9] {
    border-color: rgba(182,80,80,.22);

    background: var(--doc-danger-soft);

    color: var(--doc-danger);
}

.documents-row-delete:disabled[b-fhb4gjxqc9] {
    opacity: .34;
    cursor: not-allowed;
}


/* =========================================================
   EMPTY
   ========================================================= */

.documents-empty[b-fhb4gjxqc9] {
    min-height: 265px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;

    padding: 30px;

    text-align: center;
}

.documents-empty-icon[b-fhb4gjxqc9] {
    width: 60px;
    height: 60px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(226,175,46,.18);
    border-radius: 18px;

    background: var(--doc-accent-soft);

    color: var(--doc-warning);

    box-shadow: var(--doc-shadow-sm);
}

.documents-empty-icon svg[b-fhb4gjxqc9] {
    width: 26px;
    height: 26px;
}

.documents-empty h3[b-fhb4gjxqc9] {
    margin: 0;

    color: var(--doc-text);

    font-size: .95rem;
    font-weight: 830;
}

.documents-empty p[b-fhb4gjxqc9] {
    max-width: 520px;

    margin: -4px 0 2px;

    color: var(--doc-muted);

    font-size: .63rem;
    line-height: 1.7;
}

.documents-empty-filtered[b-fhb4gjxqc9] {
    min-height: 220px;
}


/* =========================================================
   DELETE DIALOG
   ========================================================= */

.documents-modal-backdrop[b-fhb4gjxqc9] {
    position: fixed;
    inset: 0;
    z-index: 2000;

    display: grid;
    place-items: center;

    padding: 24px;

    background: rgba(20,18,14,.38);

    backdrop-filter: blur(8px);
}

.documents-delete-dialog[b-fhb4gjxqc9] {
    width: min(100%, 520px);

    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 17px;

    padding: 23px;

    border: 1px solid var(--doc-line-strong);
    border-radius: 22px;

    background: var(--doc-surface-raised);

    color: var(--doc-text);

    box-shadow: 0 28px 80px rgba(20,18,14,.24);

    animation: documents-dialog-in-b-fhb4gjxqc9 .30s cubic-bezier(.2,.8,.2,1) both;
}

.documents-delete-dialog-icon[b-fhb4gjxqc9] {
    width: 47px;
    height: 47px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: var(--doc-danger-soft);

    color: var(--doc-danger);
}

.documents-delete-dialog-icon svg[b-fhb4gjxqc9] {
    width: 21px;
    height: 21px;
}

.documents-delete-dialog-copy[b-fhb4gjxqc9] {
    min-width: 0;
}

.documents-delete-dialog-kicker[b-fhb4gjxqc9] {
    display: block;

    margin-bottom: 5px;

    color: var(--doc-danger);

    font-size: .55rem;
    font-weight: 850;
    letter-spacing: .06em;
}

.documents-delete-dialog h3[b-fhb4gjxqc9] {
    margin: 0;

    color: var(--doc-text);

    font-size: 1.02rem;
    font-weight: 850;
}

.documents-delete-dialog p[b-fhb4gjxqc9] {
    margin: 8px 0 0;

    color: var(--doc-text-2);

    font-size: .64rem;
    line-height: 1.8;
}

.documents-delete-file[b-fhb4gjxqc9],
.documents-bulk-delete-summary[b-fhb4gjxqc9] {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 11px;

    margin-top: 16px;
    padding: 11px 12px;

    border: 1px solid var(--doc-line);
    border-radius: 14px;

    background: var(--doc-surface-soft);
}

.documents-bulk-delete-summary[b-fhb4gjxqc9] {
    border-color: rgba(182,80,80,.12);

    background:
        linear-gradient(135deg, var(--doc-danger-soft), var(--doc-surface-soft));
}

.documents-bulk-delete-summary-icon[b-fhb4gjxqc9] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: var(--doc-danger-soft);

    color: var(--doc-danger);
}

.documents-bulk-delete-summary-icon svg[b-fhb4gjxqc9] {
    width: 18px;
    height: 18px;
}

.documents-delete-file .documents-file-icon[b-fhb4gjxqc9] {
    width: 40px;
    height: 44px;
}

.documents-delete-file > div[b-fhb4gjxqc9],
.documents-bulk-delete-summary > div[b-fhb4gjxqc9] {
    min-width: 0;
}

.documents-delete-file strong[b-fhb4gjxqc9],
.documents-bulk-delete-summary strong[b-fhb4gjxqc9] {
    display: block;

    overflow: hidden;

    color: var(--doc-text);

    font-size: .66rem;
    font-weight: 820;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.documents-delete-file > div > span[b-fhb4gjxqc9],
.documents-bulk-delete-summary span:not(.documents-bulk-delete-summary-icon)[b-fhb4gjxqc9] {
    display: block;

    margin-top: 4px;

    color: var(--doc-muted);

    font-size: .52rem;
    line-height: 1.55;
}

.documents-delete-error[b-fhb4gjxqc9] {
    margin-top: 12px;
    padding: 10px 11px;

    border: 1px solid rgba(182,80,80,.16);
    border-radius: 10px;

    background: var(--doc-danger-soft);

    color: var(--doc-danger);

    font-size: .58rem;
    font-weight: 700;
    line-height: 1.7;
}

.documents-delete-dialog-actions[b-fhb4gjxqc9] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;

    margin-top: 18px;
}

.documents-delete-cancel[b-fhb4gjxqc9],
.documents-delete-confirm[b-fhb4gjxqc9] {
    min-height: 39px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 0 14px;

    border-radius: 11px;

    font-family: inherit;
    font-size: .61rem;
    font-weight: 800;

    cursor: pointer;
}

.documents-delete-cancel[b-fhb4gjxqc9] {
    border: 1px solid var(--doc-line-strong);

    background: var(--doc-surface-raised);

    color: var(--doc-text-2);
}

.documents-delete-confirm[b-fhb4gjxqc9] {
    border: 1px solid rgba(182,80,80,.28);

    background:
        linear-gradient(180deg, #c86565, #b84d4d);

    color: #fff;

    box-shadow: 0 9px 20px rgba(182,80,80,.18);
}

.documents-delete-confirm svg[b-fhb4gjxqc9] {
    width: 16px;
    height: 16px;
}

.documents-delete-cancel:disabled[b-fhb4gjxqc9],
.documents-delete-confirm:disabled[b-fhb4gjxqc9] {
    opacity: .58;
    cursor: wait;
}

.documents-delete-spinner[b-fhb4gjxqc9] {
    width: 14px;
    height: 14px;

    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;

    animation: documents-spin-b-fhb4gjxqc9 .7s linear infinite;
}


/* =========================================================
   DARK MODE
   ========================================================= */

html[data-theme="dark"] .documents-page[b-fhb4gjxqc9] {
    --doc-text: var(--text, #f1eee8);
    --doc-text-2: var(--text-secondary, #c6bfb3);
    --doc-muted: var(--muted, #918a7f);

    --doc-surface: var(--surface, rgba(255,255,255,.025));
    --doc-surface-raised: var(--ui-surface-raised, rgba(255,255,255,.04));
    --doc-surface-strong: var(--ui-surface-strong, rgba(255,255,255,.035));
    --doc-surface-soft: var(--ui-surface-sunken, rgba(255,255,255,.022));

    --doc-line: var(--ui-line, rgba(255,255,255,.07));
    --doc-line-strong: var(--ui-line-strong, rgba(255,255,255,.11));

    --doc-shadow-sm: 0 12px 28px rgba(0,0,0,.13);
    --doc-shadow-md: 0 22px 50px rgba(0,0,0,.20);
}

html[data-theme="dark"] .documents-hero[b-fhb4gjxqc9],
html[data-theme="dark"] .documents-summary-card[b-fhb4gjxqc9],
html[data-theme="dark"] .documents-library-card[b-fhb4gjxqc9],
html[data-theme="dark"] .documents-state-card[b-fhb4gjxqc9] {
    background-color: transparent;
}

html[data-theme="dark"] .documents-filter select option[b-fhb4gjxqc9] {
    background: #26231f;
    color: #f1eee8;
}

html[data-theme="dark"] .documents-modal-backdrop[b-fhb4gjxqc9] {
    background: rgba(6,5,4,.62);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {
    .documents-summary-grid[b-fhb4gjxqc9] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .documents-toolbar[b-fhb4gjxqc9] {
        grid-template-columns:
            minmax(240px, 1fr)
            repeat(3, minmax(125px, .38fr));
    }

    .documents-table-head[b-fhb4gjxqc9],
    .documents-row[b-fhb4gjxqc9] {
        grid-template-columns:
            minmax(220px, 1.55fr)
            minmax(95px, .7fr)
            minmax(130px, .85fr)
            minmax(86px, .55fr)
            minmax(105px, .68fr)
            122px;
    }

    .documents-table-head > :nth-child(3)[b-fhb4gjxqc9],
    .documents-row > :nth-child(3)[b-fhb4gjxqc9] {
        display: none;
    }
}

@media (max-width: 900px) {
    .documents-hero[b-fhb4gjxqc9] {
        min-height: 0;

        align-items: flex-start;
    }

    .documents-toolbar[b-fhb4gjxqc9] {
        grid-template-columns: 1fr 1fr;
    }

    .documents-search[b-fhb4gjxqc9] {
        grid-column: 1 / -1;
    }

    .documents-table-head[b-fhb4gjxqc9] {
        display: none;
    }

    .documents-table[b-fhb4gjxqc9] {
        gap: 9px;
        padding: 12px;
    }

    .documents-row[b-fhb4gjxqc9] {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 13px;

        min-height: 0;

        padding: 14px;

        border-color: var(--doc-line);

        background: var(--doc-surface-strong);
    }

    .documents-file-cell[b-fhb4gjxqc9] {
        grid-column: 1 / -1;
    }

    .documents-actions-cell[b-fhb4gjxqc9] {
        justify-content: flex-end;
    }
}

@media (max-width: 760px) {
    .documents-bulk-actions[b-fhb4gjxqc9] {
        align-items: stretch;
        flex-direction: column;
        gap: 9px;

        padding: 10px 12px;
    }

    .documents-bulk-selection-group[b-fhb4gjxqc9] {
        width: 100%;
        flex-wrap: wrap;
    }

    .documents-bulk-command-group[b-fhb4gjxqc9] {
        width: 100%;
    }

    .documents-clear-selection[b-fhb4gjxqc9],
    .documents-bulk-delete[b-fhb4gjxqc9] {
        flex: 1 1 0;
    }
}

@media (max-width: 650px) {
    .documents-page[b-fhb4gjxqc9] {
        gap: 14px;
    }

    .documents-hero[b-fhb4gjxqc9] {
        flex-direction: column;

        padding: 22px 19px;

        border-radius: 21px;
    }

    .documents-hero p[b-fhb4gjxqc9] {
        font-size: .76rem;
    }

    .documents-primary-action[b-fhb4gjxqc9] {
        width: 100%;
    }

    .documents-summary-grid[b-fhb4gjxqc9] {
        grid-template-columns: 1fr;
    }

    .documents-summary-card[b-fhb4gjxqc9] {
        min-height: 94px;
    }

    .documents-library-heading[b-fhb4gjxqc9] {
        align-items: flex-start;
        flex-direction: column;
    }

    .documents-library-heading-actions[b-fhb4gjxqc9] {
        width: 100%;
        justify-content: space-between;
    }

    .documents-toolbar[b-fhb4gjxqc9] {
        grid-template-columns: 1fr;
    }

    .documents-search[b-fhb4gjxqc9],
    .documents-sort[b-fhb4gjxqc9] {
        grid-column: auto;
    }

    .documents-row[b-fhb4gjxqc9] {
        grid-template-columns: 1fr 1fr;
    }

    .documents-file-cell[b-fhb4gjxqc9],
    .documents-status-cell[b-fhb4gjxqc9],
    .documents-actions-cell[b-fhb4gjxqc9] {
        grid-column: 1 / -1;
    }

    .documents-actions-cell[b-fhb4gjxqc9] {
        justify-content: flex-start;

        padding-top: 3px;
    }

    .documents-progress > span[b-fhb4gjxqc9] {
        width: 110px;
    }

    .documents-modal-backdrop[b-fhb4gjxqc9] {
        padding: 14px;
    }

    .documents-delete-dialog[b-fhb4gjxqc9] {
        grid-template-columns: 1fr;
        gap: 13px;

        padding: 19px;
    }

    .documents-delete-dialog-actions[b-fhb4gjxqc9] {
        flex-direction: column-reverse;
    }

    .documents-delete-cancel[b-fhb4gjxqc9],
    .documents-delete-confirm[b-fhb4gjxqc9] {
        width: 100%;
    }
}

@media (max-width: 460px) {
    .documents-selection-divider[b-fhb4gjxqc9] {
        display: none;
    }

    .documents-selection-count[b-fhb4gjxqc9] {
        width: 100%;
    }

    .documents-bulk-command-group[b-fhb4gjxqc9] {
        flex-direction: column-reverse;
    }

    .documents-clear-selection[b-fhb4gjxqc9],
    .documents-bulk-delete[b-fhb4gjxqc9] {
        width: 100%;
    }
}


/* =========================================================
   MOTION
   ========================================================= */

@keyframes documents-card-in-b-fhb4gjxqc9 {
    from {
        opacity: 0;
        transform: translateY(9px) scale(.995);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes documents-dialog-in-b-fhb4gjxqc9 {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.985);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .documents-hero[b-fhb4gjxqc9],
    .documents-library-card[b-fhb4gjxqc9],
    .documents-primary-action[b-fhb4gjxqc9],
    .documents-summary-card[b-fhb4gjxqc9],
    .documents-row[b-fhb4gjxqc9],
    .documents-row-action[b-fhb4gjxqc9],
    .documents-delete-dialog[b-fhb4gjxqc9] {
        animation: none !important;
        transition: none !important;
    }

    .documents-spinner[b-fhb4gjxqc9] {
        animation-duration: 1.6s;
    }
}


/* =========================================================
   RETENTION NOTICE
   Shown only while automatic deletion is on.
   ========================================================= */

.documents-retention-notice[b-fhb4gjxqc9] {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 16px;

    border: 1px solid var(--doc-line);
    border-radius: 16px;

    background: var(--doc-warning-soft);
}

.documents-retention-icon[b-fhb4gjxqc9] {
    display: grid;
    place-items: center;
    flex: none;

    width: 30px;
    height: 30px;

    color: var(--doc-warning);
}

.documents-retention-icon svg[b-fhb4gjxqc9] {
    width: 20px;
    height: 20px;
}

.documents-retention-notice p[b-fhb4gjxqc9] {
    margin: 0;

    color: var(--doc-text-2);

    font-size: .64rem;
    line-height: 1.8;
}


/* =========================================================
   PHONE
   =========================================================
   Each document was a column of seven stacked rows - a phone
   showed about one and a half per screen. The cells keep the
   same content but sit in three lines: the file, its language
   pair and status, then credits, date and the actions.
   The four counters go two to a row and the three filters
   share one, so the list starts on the first screen.
   ========================================================= */

@media (max-width: 650px) {

    .documents-summary-grid[b-fhb4gjxqc9] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .documents-summary-card[b-fhb4gjxqc9] {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 13px;
    }

    .documents-toolbar[b-fhb4gjxqc9] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .documents-search[b-fhb4gjxqc9] {
        grid-column: 1 / -1;
    }

    .documents-sort[b-fhb4gjxqc9] {
        grid-column: auto;
    }

    .documents-filter select[b-fhb4gjxqc9] {
        padding-inline-start: 9px;
        padding-inline-end: 26px;
        font-size: .68rem;
        text-overflow: ellipsis;
    }

    .documents-filter-arrow[b-fhb4gjxqc9] {
        inset-inline-end: 8px;
        width: 12px;
        height: 12px;
    }

    .documents-table[b-fhb4gjxqc9] {
        padding: 10px;
    }

    .documents-row[b-fhb4gjxqc9] {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas:
            "file file file"
            "lang lang status"
            "credits date actions";
        align-items: center;
        gap: 10px 12px;
        padding: 13px;
    }

    .documents-file-cell[b-fhb4gjxqc9] {
        grid-area: file;
    }

    .documents-language-cell[b-fhb4gjxqc9] {
        grid-area: lang;
        justify-self: start;
    }

    .documents-status-cell[b-fhb4gjxqc9] {
        grid-area: status;
        grid-column: auto;
        justify-self: end;
        align-items: flex-end;
    }

    .documents-credits-cell[b-fhb4gjxqc9] {
        grid-area: credits;
    }

    .documents-date-cell[b-fhb4gjxqc9] {
        grid-area: date;
    }

    .documents-actions-cell[b-fhb4gjxqc9] {
        grid-area: actions;
        grid-column: auto;
        justify-content: flex-end;
        padding-top: 0;
    }

    .documents-detail-cell[b-fhb4gjxqc9] {
        display: none;
    }

    .documents-row-action[b-fhb4gjxqc9] {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
}
/* _content/AITranslationPlatform.Web/Components/Feedback/FeedbackForm.razor.rz.scp.css */
/* =========================================================
   THE FEEDBACK FORM (shared by /f/{code} and /feedback)
   Built on the --ui-* tokens, so the dark theme needs no rules of its own.
   ========================================================= */

.fb-form[b-y78csjk8id] {
    display: grid;
    gap: 14px;
}

.fb-step[b-y78csjk8id] {
    margin: 0;
    padding: 20px 20px 18px;
    border: 1px solid var(--ui-line, rgba(28, 27, 23, .13));
    border-radius: 20px;
    background: var(--ui-surface-strong, #fff);
    box-shadow: 0 10px 30px -22px rgba(59, 47, 35, .5);
    min-width: 0;
}

.fb-step legend[b-y78csjk8id] {
    float: inline-start;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
    color: var(--ui-ink, #1c1b17);
}

.fb-step legend + *[b-y78csjk8id] {
    clear: both;
}

.fb-step-number[b-y78csjk8id] {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ui-dark, #3b2f23);
    color: var(--ui-on-dark, #f6f4ea);
    font-size: .85rem;
    font-weight: 700;
}

.fb-number-high[b-y78csjk8id] {
    background: var(--ui-accent, #fcd166);
    color: var(--ui-on-accent, #4a3608);
}


/* ---------- the 0-10 scale ---------- */

.fb-scale[b-y78csjk8id] {
    display: grid;
    grid-template-columns: repeat(11, minmax(0, 1fr));
    gap: 6px;
}

.fb-score[b-y78csjk8id] {
    position: relative;
    cursor: pointer;
}

.fb-score input[b-y78csjk8id] {
    position: absolute;
    inset: 0;
    opacity: 0;
    margin: 0;
    cursor: pointer;
}

.fb-score span[b-y78csjk8id] {
    display: grid;
    place-items: center;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--ui-line-strong, rgba(28, 27, 23, .22));
    background: var(--ui-surface, rgba(255, 255, 255, .8));
    color: var(--ui-ink, #1c1b17);
    font-weight: 700;
    font-size: 1rem;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.fb-score:hover span[b-y78csjk8id] {
    transform: translateY(-2px);
    border-color: var(--ui-clay, #b3a189);
}

.fb-score input:focus-visible + span[b-y78csjk8id] {
    outline: 2px solid var(--ui-accent-strong, #f6c243);
    outline-offset: 2px;
}

.fb-score--low input:checked + span[b-y78csjk8id] {
    background: var(--ui-danger, #9d4231);
    border-color: var(--ui-danger, #9d4231);
    color: #fff;
}

.fb-score--mid input:checked + span[b-y78csjk8id] {
    background: var(--ui-accent-strong, #f6c243);
    border-color: var(--ui-accent-strong, #f6c243);
    color: var(--ui-on-accent, #4a3608);
}

.fb-score--high input:checked + span[b-y78csjk8id] {
    background: var(--ui-success, #3f6a39);
    border-color: var(--ui-success, #3f6a39);
    color: #fff;
}

.fb-scale-ends[b-y78csjk8id] {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: .8rem;
    color: var(--ui-muted, #6d6759);
}


/* ---------- what shows after the score ---------- */

.fb-when-low[b-y78csjk8id],
.fb-when-high[b-y78csjk8id] {
    display: none;
    animation: fb-arrive-b-y78csjk8id .32s ease both;
}

.fb-form:has(input[data-band="low"]:checked) .fb-when-low[b-y78csjk8id],
.fb-form:has(input[data-band="mid"]:checked) .fb-when-low[b-y78csjk8id],
.fb-form:has(input[data-band="mid"]:checked) .fb-when-high[b-y78csjk8id],
.fb-form:has(input[data-band="high"]:checked) .fb-when-high[b-y78csjk8id] {
    display: block;
}

@keyframes fb-arrive-b-y78csjk8id {
    from {
        opacity: 0;
        translate: 0 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fb-when-low[b-y78csjk8id],
    .fb-when-high[b-y78csjk8id] {
        animation: none;
    }
}


/* ---------- chips ---------- */

.fb-chips[b-y78csjk8id] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fb-chip[b-y78csjk8id] {
    position: relative;
    cursor: pointer;
}

.fb-chip input[b-y78csjk8id] {
    position: absolute;
    inset: 0;
    opacity: 0;
    margin: 0;
    cursor: pointer;
}

.fb-chip span[b-y78csjk8id] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--ui-line-strong, rgba(28, 27, 23, .22));
    background: var(--ui-surface, rgba(255, 255, 255, .8));
    color: var(--ui-ink, #1c1b17);
    font-size: .9rem;
    transition: background-color .18s ease, border-color .18s ease;
}

.fb-chip span[b-y78csjk8id]::before {
    content: "+";
    font-weight: 700;
    color: var(--ui-faint, #9b9587);
}

.fb-chip input:checked + span[b-y78csjk8id] {
    background: var(--ui-accent-soft, #fdefc6);
    border-color: var(--ui-accent-strong, #f6c243);
    font-weight: 600;
}

.fb-chip input:checked + span[b-y78csjk8id]::before {
    content: "✓";
    color: var(--ui-on-accent, #4a3608);
}

.fb-chip--problem input:checked + span[b-y78csjk8id] {
    background: var(--ui-danger-soft, #f7e0d9);
    border-color: var(--ui-danger, #9d4231);
}

.fb-chip--problem input:checked + span[b-y78csjk8id]::before {
    color: var(--ui-danger, #9d4231);
}

.fb-chip--liked input:checked + span[b-y78csjk8id] {
    background: var(--ui-success-soft, #e3edda);
    border-color: var(--ui-success, #3f6a39);
}

.fb-chip--liked input:checked + span[b-y78csjk8id]::before {
    color: var(--ui-success, #3f6a39);
}

.fb-chip input:focus-visible + span[b-y78csjk8id] {
    outline: 2px solid var(--ui-accent-strong, #f6c243);
    outline-offset: 2px;
}


/* ---------- words and screenshot ---------- */

.fb-step textarea[b-y78csjk8id] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 120px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--ui-line-strong, rgba(28, 27, 23, .22));
    background: var(--ui-surface, rgba(255, 255, 255, .8));
    color: var(--ui-ink, #1c1b17);
    font: inherit;
    line-height: 1.9;
    resize: vertical;
}

.fb-step textarea:focus[b-y78csjk8id] {
    outline: none;
    border-color: var(--ui-accent-strong, #f6c243);
    box-shadow: 0 0 0 4px var(--ui-accent-tint, rgba(252, 209, 102, .3));
}

.fb-attach[b-y78csjk8id] {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.fb-file[b-y78csjk8id] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px dashed var(--ui-clay, #b3a189);
    background: var(--ui-surface-raised, rgba(255, 255, 255, .62));
    cursor: pointer;
    min-width: 0;
}

.fb-file[b-y78csjk8id] {
    flex-wrap: wrap;
}

.fb-file input[b-y78csjk8id] {
    order: 3;
    flex: 1 1 100%;
    max-width: 100%;
    font: inherit;
    font-size: .82rem;
    color: var(--ui-muted, #6d6759);
}

.fb-file input[b-y78csjk8id]::file-selector-button {
    margin-inline-end: 10px;
    padding: 6px 14px;
    border: 1px solid var(--ui-line-strong, rgba(28, 27, 23, .22));
    border-radius: 10px;
    background: var(--ui-surface-strong, #fff);
    color: var(--ui-ink, #1c1b17);
    font: inherit;
    cursor: pointer;
}

.fb-file:has(input:focus-visible)[b-y78csjk8id] {
    outline: 2px solid var(--ui-accent-strong, #f6c243);
    outline-offset: 2px;
}

.fb-file-icon[b-y78csjk8id] {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--ui-accent-soft, #fdefc6);
    color: var(--ui-on-accent, #4a3608);
}

.fb-file-icon svg[b-y78csjk8id] {
    width: 22px;
    height: 22px;
}

.fb-file strong[b-y78csjk8id],
.fb-file small[b-y78csjk8id] {
    display: block;
}

.fb-file strong[b-y78csjk8id] {
    font-size: .92rem;
    color: var(--ui-ink, #1c1b17);
}

.fb-file small[b-y78csjk8id] {
    font-size: .8rem;
    color: var(--ui-muted, #6d6759);
}

.fb-remove[b-y78csjk8id] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: var(--ui-muted, #6d6759);
}


/* ---------- contact me ---------- */

.fb-contact[b-y78csjk8id] {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--ui-line, rgba(28, 27, 23, .13));
    background: var(--ui-surface-strong, #fff);
    cursor: pointer;
}

.fb-contact input[b-y78csjk8id] {
    position: absolute;
    opacity: 0;
}

.fb-contact i[b-y78csjk8id] {
    flex: 0 0 auto;
    position: relative;
    width: 44px;
    height: 26px;
    margin-top: 2px;
    border-radius: 999px;
    background: var(--ui-clay-soft, #cec1ac);
    transition: background-color .2s ease;
}

.fb-contact i[b-y78csjk8id]::after {
    content: "";
    position: absolute;
    top: 3px;
    inset-inline-start: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    transition: inset-inline-start .2s ease;
}

.fb-contact input:checked + i[b-y78csjk8id] {
    background: var(--ui-dark, #3b2f23);
}

.fb-contact input:checked + i[b-y78csjk8id]::after {
    inset-inline-start: 21px;
}

.fb-contact input:focus-visible + i[b-y78csjk8id] {
    outline: 2px solid var(--ui-accent-strong, #f6c243);
    outline-offset: 2px;
}

.fb-contact strong[b-y78csjk8id],
.fb-contact small[b-y78csjk8id] {
    display: block;
}

.fb-contact strong[b-y78csjk8id] {
    color: var(--ui-ink, #1c1b17);
}

.fb-contact small[b-y78csjk8id] {
    margin-top: 2px;
    color: var(--ui-muted, #6d6759);
    font-size: .82rem;
    line-height: 1.8;
}


/* ---------- send ---------- */

.fb-submit[b-y78csjk8id] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
}

.fb-gift[b-y78csjk8id] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--ui-accent-soft, #fdefc6);
    color: var(--ui-on-accent, #4a3608);
    font-size: .88rem;
    font-weight: 600;
}

.fb-gift svg[b-y78csjk8id] {
    width: 20px;
    height: 20px;
}

.fb-submit button[b-y78csjk8id] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    margin-inline-start: auto;
    padding: 0 28px;
    border: 0;
    border-radius: 16px;
    background: var(--ui-dark, #3b2f23);
    color: var(--ui-on-dark, #f6f4ea);
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .18s ease, transform .18s ease;
}

.fb-submit button:hover[b-y78csjk8id] {
    background: var(--ui-dark-hover, #50412f);
    transform: translateY(-1px);
}

.fb-submit button svg[b-y78csjk8id] {
    width: 20px;
    height: 20px;
}


/* ---------- phones ---------- */

@media (max-width: 560px) {
    .fb-step[b-y78csjk8id] {
        padding: 16px 14px 14px;
        border-radius: 18px;
    }

    .fb-scale[b-y78csjk8id] {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .fb-score span[b-y78csjk8id] {
        height: 44px;
    }

    .fb-submit button[b-y78csjk8id] {
        width: 100%;
        justify-content: center;
    }
}
/* _content/AITranslationPlatform.Web/Components/Feedback/FeedbackLinkPage.razor.rz.scp.css */
/* The page of a personal SMS link: phone first, the warm ground of the panel. */

.fb-page[b-5jh9uzsobi] {
    position: relative;
    min-height: 100vh;
    padding: 22px 16px 60px;
    background: var(--ui-ground, linear-gradient(180deg, #f7f2e8, #efe6d6));
    color: var(--ui-ink, #1c1b17);
    overflow-x: clip;
}

.fb-page[dir="rtl"][b-5jh9uzsobi] {
    font-family: "IRANSansX", Tahoma, Arial, sans-serif;
}

.fb-page-glow[b-5jh9uzsobi] {
    position: absolute;
    inset-block-start: -180px;
    inset-inline-end: -140px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--ui-bloom-warm, rgba(252, 209, 102, .62)), transparent 66%);
    pointer-events: none;
}

.fb-page-head[b-5jh9uzsobi],
.fb-page-main[b-5jh9uzsobi] {
    position: relative;
    width: min(720px, 100%);
    margin-inline: auto;
}

.fb-brand[b-5jh9uzsobi] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ui-ink, #1c1b17);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
}

.fb-brand img[b-5jh9uzsobi] {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.fb-page-main[b-5jh9uzsobi] {
    display: grid;
    gap: 16px;
    margin-top: 26px;
}

.fb-intro[b-5jh9uzsobi] {
    padding: 4px 4px 6px;
}

.fb-eyebrow[b-5jh9uzsobi] {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--ui-accent-soft, #fdefc6);
    color: var(--ui-on-accent, #4a3608);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.fb-intro h1[b-5jh9uzsobi] {
    margin: 14px 0 8px;
    font-size: clamp(1.45rem, 4.6vw, 2rem);
    line-height: 1.5;
}

.fb-intro p[b-5jh9uzsobi] {
    margin: 0;
    color: var(--ui-muted, #6d6759);
    line-height: 2;
}

.fb-who[b-5jh9uzsobi] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px !important;
    font-size: .86rem;
}

.fb-who svg[b-5jh9uzsobi] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}

.fb-card[b-5jh9uzsobi] {
    padding: 22px;
    border: 1px solid var(--ui-line, rgba(28, 27, 23, .13));
    border-radius: 22px;
    background: var(--ui-surface-strong, #fff);
    box-shadow: 0 16px 40px -28px rgba(59, 47, 35, .55);
}

.fb-state[b-5jh9uzsobi] {
    text-align: center;
    padding: 34px 22px;
}

.fb-state h1[b-5jh9uzsobi],
.fb-state h2[b-5jh9uzsobi] {
    margin: 10px 0 6px;
    font-size: 1.25rem;
}

.fb-state p[b-5jh9uzsobi] {
    margin: 0 auto 16px;
    max-width: 460px;
    color: var(--ui-muted, #6d6759);
    line-height: 1.9;
}

.fb-state-icon[b-5jh9uzsobi] {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ui-accent-soft, #fdefc6);
    color: var(--ui-on-accent, #4a3608);
    font-size: 1.5rem;
    font-weight: 800;
}

.fb-link[b-5jh9uzsobi] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 14px;
    background: var(--ui-dark, #3b2f23);
    color: var(--ui-on-dark, #f6f4ea);
    text-decoration: none;
    font-weight: 700;
}

.fb-thanks[b-5jh9uzsobi] {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border-color: var(--ui-success, #3f6a39);
    background: linear-gradient(135deg, var(--ui-success-soft, #e3edda), var(--ui-surface-strong, #fff) 70%);
    animation: fb-thanks-b-5jh9uzsobi .45s ease both;
}

.fb-thanks-icon[b-5jh9uzsobi] {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ui-success, #3f6a39);
    color: #fff;
}

.fb-thanks-icon svg[b-5jh9uzsobi] {
    width: 26px;
    height: 26px;
}

.fb-thanks h2[b-5jh9uzsobi] {
    margin: 2px 0 6px;
    font-size: 1.15rem;
}

.fb-thanks p[b-5jh9uzsobi] {
    margin: 0 0 6px;
    line-height: 1.9;
}

.fb-thanks-gift[b-5jh9uzsobi] {
    font-weight: 700;
    color: var(--ui-success, #3f6a39);
}

.fb-thanks small[b-5jh9uzsobi] {
    color: var(--ui-muted, #6d6759);
}

@keyframes fb-thanks-b-5jh9uzsobi {
    from {
        opacity: 0;
        scale: .97;
    }
}

.fb-error[b-5jh9uzsobi] {
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid var(--ui-danger, #9d4231);
    background: var(--ui-danger-soft, #f7e0d9);
    color: var(--ui-danger, #9d4231);
    font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
    .fb-thanks[b-5jh9uzsobi] {
        animation: none;
    }
}
/* _content/AITranslationPlatform.Web/Components/Feedback/PanelFeedback.razor.rz.scp.css */
.pfb-page[b-mgaqkkndw4] {
    display: grid;
    gap: 16px;
    width: min(860px, 100%);
    margin-inline: auto;
    padding-bottom: 40px;
}

.pfb-hero[b-mgaqkkndw4] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 32px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xl, 28px);
    background:
        radial-gradient(120% 150% at 8% -20%, var(--ui-bloom-warm), transparent 48%),
        linear-gradient(135deg, var(--ui-surface-strong), var(--ui-surface));
}

.pfb-page[dir="rtl"] .pfb-hero[b-mgaqkkndw4] {
    background:
        radial-gradient(120% 150% at 92% -20%, var(--ui-bloom-warm), transparent 48%),
        linear-gradient(225deg, var(--ui-surface-strong), var(--ui-surface));
}

.pfb-eyebrow[b-mgaqkkndw4] {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
    font-size: .78rem;
    font-weight: 700;
}

.pfb-hero h1[b-mgaqkkndw4] {
    margin: 12px 0 8px;
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    line-height: 1.5;
}

.pfb-hero p[b-mgaqkkndw4] {
    margin: 0;
    max-width: 560px;
    color: var(--ui-muted);
    line-height: 1.95;
}

.pfb-hero-icon[b-mgaqkkndw4] {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 26px;
    background: var(--ui-dark);
    color: var(--ui-accent);
    box-shadow: 0 18px 34px -18px rgba(59, 47, 35, .7);
}

.pfb-hero-icon svg[b-mgaqkkndw4] {
    width: 42px;
    height: 42px;
}

.pfb-thanks[b-mgaqkkndw4] {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 20px;
    border-radius: 18px;
    border: 1px solid var(--ui-success);
    background: var(--ui-success-soft);
    color: var(--ui-ink);
}

.pfb-thanks > span[b-mgaqkkndw4] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ui-success);
    color: #fff;
    font-weight: 800;
}

.pfb-thanks p[b-mgaqkkndw4] {
    margin: 4px 0 0;
}

.pfb-thanks a[b-mgaqkkndw4] {
    color: var(--ui-ink);
    font-weight: 700;
}

.pfb-error[b-mgaqkkndw4] {
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid var(--ui-danger);
    background: var(--ui-danger-soft);
    color: var(--ui-danger);
    font-weight: 600;
}

.pfb-loading[b-mgaqkkndw4] {
    padding: 30px;
    text-align: center;
    color: var(--ui-muted);
}

@media (max-width: 720px) {
    .pfb-hero[b-mgaqkkndw4] {
        padding: 22px 18px;
    }

    .pfb-hero-icon[b-mgaqkkndw4] {
        display: none;
    }
}
/* _content/AITranslationPlatform.Web/Components/Glossaries/Glossaries.razor.rz.scp.css */
/* =========================================================
   GLOSSARIES — PREMIUM WORKSPACE V1
   Unified with Dashboard / Documents / Translation workflow
   ========================================================= */

.glossary-page[b-l8e8f2c5b7] {
    --g-accent: var(--ui-accent, #f2bd43);
    --g-accent-strong: var(--ui-accent-strong, #dfa62c);
    --g-accent-soft: var(--ui-accent-soft, rgba(226, 175, 46, .12));
    --g-accent-tint: var(--ui-accent-tint, rgba(226, 175, 46, .065));

    --g-text: var(--text, #28241e);
    --g-text-2: var(--text-secondary, #625d54);
    --g-muted: var(--muted, #918a7f);

    --g-surface: var(--surface, #ffffff);
    --g-surface-raised: var(--ui-surface-raised, #ffffff);
    --g-surface-strong: var(--ui-surface-strong, #fffdf9);
    --g-surface-soft: var(--ui-surface-sunken, #faf8f3);

    --g-line: var(--ui-line, rgba(48, 43, 34, .10));
    --g-line-strong: var(--ui-line-strong, rgba(48, 43, 34, .16));

    --g-success: var(--ui-success, #4a8c61);
    --g-success-soft: var(--ui-success-tint, rgba(74, 140, 97, .10));
    --g-danger: var(--ui-danger, #b65050);
    --g-danger-soft: var(--ui-danger-tint, rgba(182, 80, 80, .10));

    --g-shadow-sm: var(--ui-shadow-sm, 0 8px 22px rgba(32, 28, 22, .055));
    --g-shadow-md: var(--ui-shadow-md, 0 18px 46px rgba(32, 28, 22, .085));

    width: min(100%, 1480px);
    margin: 0 auto;
    padding: 0 0 28px;

    display: flex;
    flex-direction: column;
    gap: 18px;

    color: var(--g-text);
}


/* =========================================================
   HERO
   ========================================================= */

.glossary-hero[b-l8e8f2c5b7] {
    position: relative;

    min-height: 210px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;

    padding: 30px 32px;

    overflow: hidden;

    border: 1px solid var(--g-line);
    border-radius: 28px;

    background:
        radial-gradient(115% 145% at 8% -18%, var(--g-accent-soft), transparent 48%),
        radial-gradient(85% 115% at 96% 118%, rgba(130, 121, 103, .07), transparent 56%),
        linear-gradient(135deg, var(--g-surface-strong), var(--g-surface));

    box-shadow: var(--g-shadow-md);

    animation: glossary-card-in-b-l8e8f2c5b7 .62s cubic-bezier(.2,.8,.2,1) .03s backwards;
}

.glossary-page[dir="rtl"] .glossary-hero[b-l8e8f2c5b7] {
    background:
        radial-gradient(115% 145% at 92% -18%, var(--g-accent-soft), transparent 48%),
        radial-gradient(85% 115% at 4% 118%, rgba(130, 121, 103, .07), transparent 56%),
        linear-gradient(225deg, var(--g-surface-strong), var(--g-surface));
}

.glossary-hero[b-l8e8f2c5b7]::before,
.glossary-hero[b-l8e8f2c5b7]::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.glossary-hero[b-l8e8f2c5b7]::before {
    width: 285px;
    height: 285px;

    inset-block-start: -184px;
    inset-inline-end: -94px;

    border: 42px solid var(--g-accent-soft);
    opacity: .78;
}

.glossary-hero[b-l8e8f2c5b7]::after {
    width: 154px;
    height: 154px;

    inset-block-end: -101px;
    inset-inline-start: -44px;

    border: 26px solid var(--g-line-strong);
    opacity: .62;
}

.glossary-hero > div[b-l8e8f2c5b7] {
    position: relative;
    z-index: 2;

    max-width: 820px;
}

.glossary-hero > div > span[b-l8e8f2c5b7] {
    width: max-content;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin: 0 0 9px;
    padding: 6px 11px;

    border: 1px solid rgba(226, 175, 46, .28);
    border-radius: 999px;

    background: var(--g-surface-raised);

    color: #a86e11;

    font-size: .60rem;
    font-weight: 850;
    letter-spacing: .055em;
}

.glossary-hero > div > span[b-l8e8f2c5b7]::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--g-accent-strong);

    box-shadow: 0 0 0 4px var(--g-accent-soft);
}

.glossary-page[dir="rtl"] .glossary-hero > div > span[b-l8e8f2c5b7] {
    letter-spacing: 0;
}

.glossary-hero h1[b-l8e8f2c5b7] {
    margin: 0;

    color: var(--g-text);

    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.glossary-page[dir="rtl"] .glossary-hero h1[b-l8e8f2c5b7] {
    letter-spacing: 0;
}

.glossary-hero p[b-l8e8f2c5b7] {
    max-width: 760px;

    margin: 11px 0 0;

    color: var(--g-text-2);

    font-size: .82rem;
    line-height: 1.9;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.glossary-primary[b-l8e8f2c5b7] {
    position: relative;
    z-index: 3;

    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    flex: 0 0 auto;

    padding: 0 17px;

    border: 1px solid transparent;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--g-accent),
            var(--g-accent-strong)
        );

    color: #34270f;

    font-family: inherit;
    font-size: .66rem;
    font-weight: 850;

    cursor: pointer;

    box-shadow:
        0 12px 26px rgba(226, 175, 46, .22),
        inset 0 1px 0 rgba(255,255,255,.35);

    transition: .18s ease;
}

.glossary-primary:hover:not(:disabled)[b-l8e8f2c5b7] {
    transform: translateY(-2px);

    box-shadow:
        0 17px 34px rgba(226,175,46,.28),
        inset 0 1px 0 rgba(255,255,255,.38);
}

.glossary-primary b[b-l8e8f2c5b7] {
    font-size: 1rem;
    line-height: 1;
}


/* =========================================================
   STATES
   ========================================================= */

.glossary-state[b-l8e8f2c5b7] {
    min-height: 140px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;

    padding: 24px 26px;

    border: 1px solid var(--g-line);
    border-radius: 22px;

    background: var(--g-surface);

    box-shadow: var(--g-shadow-sm);
}

.glossary-state > i[b-l8e8f2c5b7] {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;

    border: 3px solid var(--g-accent-soft);
    border-top-color: var(--g-accent-strong);
    border-radius: 50%;

    animation: glossary-spin-b-l8e8f2c5b7 .75s linear infinite;
}

.glossary-state > div[b-l8e8f2c5b7] {
    min-width: 0;
}

.glossary-state strong[b-l8e8f2c5b7] {
    display: block;

    color: var(--g-text);

    font-size: .78rem;
    font-weight: 820;
}

.glossary-state p[b-l8e8f2c5b7] {
    max-width: 640px;

    margin: 5px 0 0;

    color: var(--g-muted);

    font-size: .61rem;
    line-height: 1.75;
}

.glossary-state.error[b-l8e8f2c5b7] {
    border-color: rgba(182,80,80,.16);
    background: var(--g-danger-soft);
}

.glossary-state.error button[b-l8e8f2c5b7] {
    min-height: 36px;

    margin-top: 11px;
    padding: 0 13px;

    border: 1px solid var(--g-line-strong);
    border-radius: 11px;

    background: var(--g-surface-raised);

    color: var(--g-text-2);

    font-family: inherit;
    font-size: .60rem;
    font-weight: 800;

    cursor: pointer;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.glossary-summary[b-l8e8f2c5b7] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.glossary-summary article[b-l8e8f2c5b7] {
    position: relative;

    min-width: 0;
    min-height: 108px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 15px 17px 15px 72px;
    padding-inline-start: 72px;
    padding-inline-end: 17px;

    overflow: hidden;

    border: 1px solid var(--g-line);
    border-radius: 18px;

    background:
        linear-gradient(145deg, var(--g-accent-tint), transparent 72%),
        var(--g-surface);

    box-shadow: var(--g-shadow-sm);

    transition: .18s ease;
}

.glossary-summary article:hover[b-l8e8f2c5b7] {
    transform: translateY(-2px);

    border-color: var(--g-line-strong);

    box-shadow: var(--g-shadow-md);
}

.glossary-summary article[b-l8e8f2c5b7]::before {
    position: absolute;

    inset-inline-start: 15px;
    top: 50%;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    transform: translateY(-50%);

    border: 1px solid var(--g-line);
    border-radius: 13px;

    background: var(--g-surface-raised);

    color: #7f7357;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
}

.glossary-summary article:nth-child(1)[b-l8e8f2c5b7]::before { content: "G"; }
.glossary-summary article:nth-child(2)[b-l8e8f2c5b7]::before { content: "✓"; color: var(--g-success); }
.glossary-summary article:nth-child(3)[b-l8e8f2c5b7]::before { content: "T"; }
.glossary-summary article:nth-child(4)[b-l8e8f2c5b7]::before { content: "↔"; }

.glossary-summary article[b-l8e8f2c5b7]::after {
    content: "";

    position: absolute;

    inset-block: 18px;
    inset-inline-start: 61px;

    width: 1px;

    background: var(--g-line);
}

.glossary-summary small[b-l8e8f2c5b7] {
    display: block;

    margin-bottom: 3px;

    color: var(--g-text-2);

    font-size: .59rem;
    font-weight: 760;
}

.glossary-summary strong[b-l8e8f2c5b7] {
    display: block;

    color: var(--g-text);

    font-size: 1.42rem;
    font-weight: 880;
    line-height: 1.12;

    font-variant-numeric: tabular-nums;
}


/* =========================================================
   LIBRARY
   ========================================================= */

.glossary-library[b-l8e8f2c5b7] {
    overflow: hidden;

    border: 1px solid var(--g-line);
    border-radius: 24px;

    background: var(--g-surface);

    box-shadow: var(--g-shadow-sm);

    animation: glossary-card-in-b-l8e8f2c5b7 .58s cubic-bezier(.2,.8,.2,1) .12s backwards;
}

.glossary-title[b-l8e8f2c5b7] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;

    padding: 20px 22px 17px;

    border-bottom: 1px solid var(--g-line);
}

.glossary-title > div > span[b-l8e8f2c5b7] {
    display: block;

    margin-bottom: 6px;

    color: #a86e11;

    font-size: .55rem;
    font-weight: 850;
    letter-spacing: .07em;
}

.glossary-page[dir="rtl"] .glossary-title > div > span[b-l8e8f2c5b7] {
    letter-spacing: 0;
}

.glossary-title h2[b-l8e8f2c5b7] {
    margin: 0;

    color: var(--g-text);

    font-size: 1.05rem;
    font-weight: 840;
}

.glossary-title > b[b-l8e8f2c5b7] {
    padding: 7px 10px;

    border: 1px solid var(--g-line);
    border-radius: 999px;

    background: var(--g-surface-soft);

    color: var(--g-text-2);

    font-size: .57rem;
    font-weight: 760;
}


/* =========================================================
   TOOLBAR
   ========================================================= */

.glossary-toolbar[b-l8e8f2c5b7] {
    display: grid;
    grid-template-columns:
        minmax(260px, 1.25fr)
        repeat(4, minmax(130px, .46fr));
    gap: 9px;

    padding: 12px 14px;

    border-bottom: 1px solid var(--g-line);

    background:
        linear-gradient(180deg, var(--g-surface-soft), transparent);
}

.glossary-toolbar input[b-l8e8f2c5b7],
.glossary-toolbar select[b-l8e8f2c5b7] {
    width: 100%;
    min-height: 42px;

    box-sizing: border-box;

    border: 1px solid var(--g-line);
    border-radius: 12px;
    outline: 0;

    background: var(--g-surface-raised);

    color: var(--g-text);

    font-family: inherit;
    font-size: .63rem;
    font-weight: 680;

    transition: .16s ease;
}

.glossary-toolbar input[b-l8e8f2c5b7] {
    padding: 0 12px;
}

.glossary-toolbar select[b-l8e8f2c5b7] {
    padding: 0 10px;
}

.glossary-toolbar input[b-l8e8f2c5b7]::placeholder {
    color: var(--g-muted);
}

.glossary-toolbar input:focus[b-l8e8f2c5b7],
.glossary-toolbar select:focus[b-l8e8f2c5b7] {
    border-color: var(--g-accent-strong);

    box-shadow: 0 0 0 3px var(--g-accent-soft);
}


/* =========================================================
   EMPTY
   ========================================================= */

.glossary-empty[b-l8e8f2c5b7] {
    min-height: 240px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 30px;

    text-align: center;
}

.glossary-empty[b-l8e8f2c5b7]::before {
    content: "G";

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(226,175,46,.18);
    border-radius: 18px;

    background: var(--g-accent-soft);

    color: #8b7a58;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.35rem;
    font-weight: 900;

    box-shadow: var(--g-shadow-sm);
}

.glossary-empty h3[b-l8e8f2c5b7] {
    margin: 0;

    color: var(--g-text);

    font-size: .95rem;
    font-weight: 830;
}

.glossary-empty p[b-l8e8f2c5b7] {
    max-width: 520px;

    margin: -3px 0 2px;

    color: var(--g-muted);

    font-size: .62rem;
    line-height: 1.7;
}


/* =========================================================
   GLOSSARY CARDS
   ========================================================= */

.glossary-grid[b-l8e8f2c5b7] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;

    padding: 14px;
}

.glossary-card[b-l8e8f2c5b7] {
    position: relative;

    min-width: 0;
    min-height: 218px;

    display: flex;
    flex-direction: column;

    padding: 15px;

    overflow: hidden;

    border: 1px solid var(--g-line);
    border-radius: 18px;

    background:
        linear-gradient(145deg, var(--g-accent-tint), transparent 72%),
        var(--g-surface-strong);

    box-shadow: 0 4px 14px rgba(32,28,22,.025);

    transition: .18s ease;
}

.glossary-card[b-l8e8f2c5b7]::after {
    content: "G";

    position: absolute;

    inset-block-end: -12px;
    inset-inline-end: 9px;

    color: #7f7357;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 4.6rem;
    font-weight: 900;
    line-height: 1;

    opacity: .035;

    pointer-events: none;
}

.glossary-card:hover[b-l8e8f2c5b7] {
    transform: translateY(-3px);

    border-color: rgba(226,175,46,.28);

    box-shadow: var(--g-shadow-md);
}

.glossary-card-top[b-l8e8f2c5b7] {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.glossary-card-top > span[b-l8e8f2c5b7] {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 5px 8px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-size: .51rem;
    font-weight: 820;
}

.glossary-card-top > span[b-l8e8f2c5b7]::before {
    content: "";

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: currentColor;
}

.glossary-card-top > span.active[b-l8e8f2c5b7] {
    border-color: rgba(74,140,97,.12);

    background: var(--g-success-soft);

    color: var(--g-success);
}

.glossary-card-top > span.inactive[b-l8e8f2c5b7] {
    border-color: var(--g-line);

    background: var(--g-surface-soft);

    color: var(--g-muted);
}

.glossary-card-top > small[b-l8e8f2c5b7] {
    color: var(--g-muted);

    font-size: .51rem;
    font-weight: 720;
}

.glossary-card h3[b-l8e8f2c5b7] {
    position: relative;
    z-index: 1;

    margin: 15px 0 6px;

    color: var(--g-text);

    font-size: .82rem;
    font-weight: 850;
    line-height: 1.45;
}

.glossary-card > p[b-l8e8f2c5b7] {
    position: relative;
    z-index: 1;

    min-height: 42px;

    margin: 0;

    color: var(--g-text-2);

    font-size: .56rem;
    line-height: 1.7;
}

.glossary-pair[b-l8e8f2c5b7] {
    position: relative;
    z-index: 1;

    width: max-content;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 13px;
    padding: 7px 10px;

    border: 1px solid rgba(226,175,46,.16);
    border-radius: 10px;

    background: var(--g-accent-soft);

    color: #8b641d;

    font-size: .57rem;
    font-weight: 850;
    letter-spacing: .02em;
}

.glossary-pair b[b-l8e8f2c5b7] {
    color: var(--g-accent-strong);
}

.glossary-card > footer[b-l8e8f2c5b7] {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-top: auto;
    padding-top: 13px;

    border-top: 1px solid var(--g-line);
}

.glossary-card > footer > small[b-l8e8f2c5b7] {
    color: var(--g-muted);

    font-size: .49rem;
}

.glossary-card > footer > div[b-l8e8f2c5b7] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.glossary-card > footer button[b-l8e8f2c5b7] {
    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid var(--g-line);
    border-radius: 9px;

    background: var(--g-surface-raised);

    color: var(--g-text-2);

    font-family: inherit;
    font-size: .82rem;
    line-height: 1;

    cursor: pointer;

    transition: .16s ease;
}

.glossary-card > footer button:hover[b-l8e8f2c5b7] {
    transform: translateY(-1px);

    border-color: var(--g-accent-strong);

    background: var(--g-accent-soft);

    color: #9c6b16;
}

.glossary-card > footer button.danger:hover[b-l8e8f2c5b7] {
    border-color: rgba(182,80,80,.22);

    background: var(--g-danger-soft);

    color: var(--g-danger);
}


/* =========================================================
   MODAL
   ========================================================= */

.glossary-modal[b-l8e8f2c5b7] {
    position: fixed;
    inset: 0;
    z-index: 2100;

    display: grid;
    place-items: center;

    padding: 22px;

    background: rgba(20,18,14,.38);

    backdrop-filter: blur(8px);
}

.glossary-modal section[b-l8e8f2c5b7] {
    width: min(100%, 560px);

    padding: 23px;

    border: 1px solid var(--g-line-strong);
    border-radius: 22px;

    background: var(--g-surface-raised);

    color: var(--g-text);

    box-shadow: 0 28px 80px rgba(20,18,14,.24);

    animation: glossary-dialog-in-b-l8e8f2c5b7 .30s cubic-bezier(.2,.8,.2,1) both;
}

.glossary-modal h3[b-l8e8f2c5b7] {
    margin: 0 0 14px;

    color: var(--g-text);

    font-size: 1rem;
    font-weight: 850;
}

.glossary-modal > section > p[b-l8e8f2c5b7] {
    margin: 0;

    color: var(--g-text-2);

    font-size: .64rem;
    line-height: 1.8;
}

.glossary-modal label[b-l8e8f2c5b7] {
    display: grid;
    gap: 6px;

    margin-top: 12px;

    color: var(--g-text-2);

    font-size: .62rem;
    font-weight: 760;
}

.glossary-modal input:not([type="checkbox"])[b-l8e8f2c5b7],
.glossary-modal textarea[b-l8e8f2c5b7],
.glossary-modal select[b-l8e8f2c5b7] {
    width: 100%;
    min-height: 43px;

    box-sizing: border-box;

    margin: 0;
    padding: 10px 11px;

    border: 1px solid var(--g-line-strong);
    border-radius: 11px;
    outline: 0;

    background: var(--g-surface-soft);

    color: var(--g-text);

    font: inherit;
    font-size: .66rem;

    transition: .16s ease;
}

.glossary-modal textarea[b-l8e8f2c5b7] {
    min-height: 88px;
    resize: vertical;
}

.glossary-modal input:not([type="checkbox"]):focus[b-l8e8f2c5b7],
.glossary-modal textarea:focus[b-l8e8f2c5b7],
.glossary-modal select:focus[b-l8e8f2c5b7] {
    border-color: var(--g-accent-strong);

    background: var(--g-surface-raised);

    box-shadow: 0 0 0 3px var(--g-accent-soft);
}

.form-grid[b-l8e8f2c5b7] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.glossary-modal .toggle[b-l8e8f2c5b7] {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 9px;

    padding: 10px 11px;

    border: 1px solid var(--g-line);
    border-radius: 11px;

    background: var(--g-surface-soft);

    cursor: pointer;
}

.glossary-modal .toggle input[b-l8e8f2c5b7] {
    width: 17px;
    height: 17px;

    margin: 0;

    accent-color: var(--g-accent-strong);
}

.form-error[b-l8e8f2c5b7] {
    margin: 11px 0 0;

    padding: 9px 10px;

    border: 1px solid rgba(182,80,80,.14);
    border-radius: 10px;

    background: var(--g-danger-soft);

    color: var(--g-danger);

    font-size: .58rem;
    line-height: 1.65;
}

.glossary-modal-actions[b-l8e8f2c5b7] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;

    margin-top: 18px;
}

.glossary-modal-cancel[b-l8e8f2c5b7],
.glossary-modal-submit[b-l8e8f2c5b7] {
    min-height: 39px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 14px;

    border-radius: 11px;

    font-family: inherit;
    font-size: .61rem;
    font-weight: 800;

    cursor: pointer;
}

.glossary-modal-cancel[b-l8e8f2c5b7] {
    border: 1px solid var(--g-line-strong);

    background: var(--g-surface-raised);

    color: var(--g-text-2);
}

.glossary-modal-submit[b-l8e8f2c5b7] {
    border: 1px solid transparent;

    background:
        linear-gradient(
            135deg,
            var(--g-accent),
            var(--g-accent-strong)
        );

    color: #34270f;

    box-shadow: 0 9px 20px rgba(226,175,46,.18);
}

.glossary-modal-submit:disabled[b-l8e8f2c5b7] {
    opacity: .58;
    cursor: wait;
}


/* =========================================================
   DARK
   ========================================================= */

/* =========================================================
   GLOSSARIES PAGE — DARK THEME FIX
   ========================================================= */

html[data-theme="dark"] .glossary-page[b-l8e8f2c5b7] {
    --g-text: #f3eee5;
    --g-text-2: #d3cbbb;
    --g-muted: #a69e90;
    --g-line: rgba(255, 236, 198, .08);
    --g-line-strong: rgba(255, 236, 198, .14);
    --g-surface: #1f1a15;
    --g-surface-2: #262019;
    --g-surface-3: #2d261f;
    --g-accent: #f0c14b;
    --g-accent-strong: #e0aa2d;
    --g-accent-soft: rgba(240, 193, 75, .12);
    color: var(--g-text);
    background: transparent;
}

/* ---------- top summary cards ---------- */

html[data-theme="dark"] .glossary-summary article[b-l8e8f2c5b7] {
    border-color: var(--g-line-strong) !important;
    background: linear-gradient( 90deg, rgba(224, 170, 45, .16) 0%, rgba(224, 170, 45, .08) 40%, rgba(255, 255, 255, .03) 100% ) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255,255,255,.03) !important;
}

    html[data-theme="dark"] .glossary-summary article[b-l8e8f2c5b7]::after {
        background: var(--g-line-strong) !important;
    }

    html[data-theme="dark"] .glossary-summary article small[b-l8e8f2c5b7] {
        color: var(--g-text-2) !important;
    }

    html[data-theme="dark"] .glossary-summary article strong[b-l8e8f2c5b7] {
        color: #f3bc35 !important;
    }

    html[data-theme="dark"] .glossary-summary article[b-l8e8f2c5b7]::before {
        color: #c7b490 !important;
    }

/* ---------- main workspace container ---------- */

html[data-theme="dark"] .glossary-library[b-l8e8f2c5b7],
html[data-theme="dark"] .glossary-workspace[b-l8e8f2c5b7],
html[data-theme="dark"] .glossary-panel[b-l8e8f2c5b7] {
    border: 1px solid var(--g-line-strong) !important;
    border-radius: 26px !important;
    background: linear-gradient( 180deg, rgba(36, 30, 23, .96) 0%, rgba(30, 25, 20, .98) 100% ) !important;
    box-shadow: 0 20px 55px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.025) !important;
}

/* ---------- hero / headings ---------- */

html[data-theme="dark"] .glossary-hero[b-l8e8f2c5b7],
html[data-theme="dark"] .glossary-library-header[b-l8e8f2c5b7],
html[data-theme="dark"] .glossary-workspace-header[b-l8e8f2c5b7] {
    background: transparent !important;
    color: var(--g-text) !important;
}

    html[data-theme="dark"] .glossary-hero h1[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-library h2[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-workspace h2[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-library-header h2[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-workspace-header h2[b-l8e8f2c5b7] {
        color: var(--g-text) !important;
    }

    html[data-theme="dark"] .glossary-hero p[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-library p[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-workspace p[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-library-header p[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-workspace-header p[b-l8e8f2c5b7] {
        color: var(--g-text-2) !important;
    }

/* ---------- toolbar / filters ---------- */

html[data-theme="dark"] .glossary-toolbar[b-l8e8f2c5b7],
html[data-theme="dark"] .glossary-filters[b-l8e8f2c5b7] {
    border-top-color: var(--g-line) !important;
    background: transparent !important;
}

    html[data-theme="dark"] .glossary-toolbar input[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-toolbar select[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-filters input[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-filters select[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-search[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-filter[b-l8e8f2c5b7] {
        border: 1px solid var(--g-line-strong) !important;
        background: #191510 !important;
        color: var(--g-text) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
    }

        html[data-theme="dark"] .glossary-toolbar input[b-l8e8f2c5b7]::placeholder,
        html[data-theme="dark"] .glossary-filters input[b-l8e8f2c5b7]::placeholder,
        html[data-theme="dark"] .glossary-search[b-l8e8f2c5b7]::placeholder {
            color: #938979 !important;
        }

        html[data-theme="dark"] .glossary-toolbar input:focus[b-l8e8f2c5b7],
        html[data-theme="dark"] .glossary-toolbar select:focus[b-l8e8f2c5b7],
        html[data-theme="dark"] .glossary-filters input:focus[b-l8e8f2c5b7],
        html[data-theme="dark"] .glossary-filters select:focus[b-l8e8f2c5b7],
        html[data-theme="dark"] .glossary-search:focus[b-l8e8f2c5b7],
        html[data-theme="dark"] .glossary-filter:focus[b-l8e8f2c5b7] {
            border-color: rgba(240, 193, 75, .48) !important;
            background: #1d1813 !important;
            box-shadow: 0 0 0 3px rgba(240, 193, 75, .10) !important;
        }

/* ---------- glossary cards ---------- */

html[data-theme="dark"] .glossary-card[b-l8e8f2c5b7],
html[data-theme="dark"] .glossary-item[b-l8e8f2c5b7],
html[data-theme="dark"] .glossary-entry[b-l8e8f2c5b7] {
    border: 1px solid var(--g-line-strong) !important;
    border-radius: 22px !important;
    background: linear-gradient( 180deg, rgba(35, 29, 23, .92) 0%, rgba(28, 24, 19, .96) 100% ) !important;
    color: var(--g-text) !important;
    box-shadow: 0 10px 26px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.02) !important;
}

    html[data-theme="dark"] .glossary-card:hover[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-item:hover[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-entry:hover[b-l8e8f2c5b7] {
        border-color: rgba(240, 193, 75, .18) !important;
        box-shadow: 0 14px 34px rgba(0,0,0,.18), 0 0 0 1px rgba(240,193,75,.04) inset !important;
    }

    html[data-theme="dark"] .glossary-card h3[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-item h3[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-entry h3[b-l8e8f2c5b7] {
        color: var(--g-text) !important;
    }

    html[data-theme="dark"] .glossary-card p[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-item p[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-entry p[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-card small[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-item small[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-entry small[b-l8e8f2c5b7] {
        color: var(--g-text-2) !important;
    }

    /* language chip */
    html[data-theme="dark"] .glossary-card .lang-chip[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-item .lang-chip[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-entry .lang-chip[b-l8e8f2c5b7] {
        border: 1px solid rgba(240,193,75,.16) !important;
        background: rgba(240,193,75,.10) !important;
        color: #e8b742 !important;
    }

    /* active badge */
    html[data-theme="dark"] .glossary-card .status-badge[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-item .status-badge[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-entry .status-badge[b-l8e8f2c5b7] {
        background: rgba(129, 180, 98, .14) !important;
        color: #9fd07f !important;
        border: 1px solid rgba(129, 180, 98, .16) !important;
    }

    /* ---------- action buttons inside cards ---------- */

    html[data-theme="dark"] .glossary-card .icon-btn[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-item .icon-btn[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-entry .icon-btn[b-l8e8f2c5b7],
    html[data-theme="dark"] .glossary-actions button[b-l8e8f2c5b7] {
        border: 1px solid var(--g-line-strong) !important;
        background: #17130f !important;
        color: #e7dcc6 !important;
    }

        html[data-theme="dark"] .glossary-card .icon-btn:hover[b-l8e8f2c5b7],
        html[data-theme="dark"] .glossary-item .icon-btn:hover[b-l8e8f2c5b7],
        html[data-theme="dark"] .glossary-entry .icon-btn:hover[b-l8e8f2c5b7],
        html[data-theme="dark"] .glossary-actions button:hover[b-l8e8f2c5b7] {
            border-color: rgba(240, 193, 75, .24) !important;
            background: #1d1813 !important;
            color: #f0c14b !important;
        }

/* ---------- chips / count pills ---------- */

html[data-theme="dark"] .glossary-chip[b-l8e8f2c5b7],
html[data-theme="dark"] .glossary-count[b-l8e8f2c5b7],
html[data-theme="dark"] .glossary-pill[b-l8e8f2c5b7] {
    border: 1px solid var(--g-line-strong) !important;
    background: rgba(255,255,255,.03) !important;
    color: var(--g-text) !important;
}

/* ---------- empty / loading / state ---------- */

html[data-theme="dark"] .glossary-empty[b-l8e8f2c5b7],
html[data-theme="dark"] .glossary-state[b-l8e8f2c5b7] {
    border: 1px dashed var(--g-line-strong) !important;
    background: rgba(255,255,255,.02) !important;
    color: var(--g-text-2) !important;
}

/* ---------- primary button ---------- */

html[data-theme="dark"] .glossary-primary[b-l8e8f2c5b7],
html[data-theme="dark"] .term-primary[b-l8e8f2c5b7],
html[data-theme="dark"] .glossary-create-btn[b-l8e8f2c5b7] {
    background: linear-gradient(135deg, #f0c14b, #dfa62c) !important;
    color: #34270f !important;
    border-color: transparent !important;
    box-shadow: 0 10px 24px rgba(226,175,46,.18) !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {
    .glossary-summary[b-l8e8f2c5b7] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .glossary-toolbar[b-l8e8f2c5b7] {
        grid-template-columns: minmax(230px, 1fr) repeat(2, minmax(130px, .48fr));
    }

    .glossary-toolbar select:last-child[b-l8e8f2c5b7] {
        grid-column: auto;
    }

    .glossary-grid[b-l8e8f2c5b7] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .glossary-hero[b-l8e8f2c5b7] {
        min-height: 0;

        flex-direction: column;
        align-items: stretch;

        padding: 23px 20px;

        border-radius: 22px;
    }

    .glossary-primary[b-l8e8f2c5b7] {
        width: 100%;
    }

    .glossary-toolbar[b-l8e8f2c5b7] {
        grid-template-columns: 1fr 1fr;
    }

    .glossary-toolbar input[b-l8e8f2c5b7] {
        grid-column: 1 / -1;
    }

    .glossary-grid[b-l8e8f2c5b7] {
        grid-template-columns: 1fr;
    }

    .form-grid[b-l8e8f2c5b7] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .glossary-page[b-l8e8f2c5b7] {
        gap: 14px;
    }

    .glossary-summary[b-l8e8f2c5b7] {
        grid-template-columns: 1fr;
    }

    .glossary-toolbar[b-l8e8f2c5b7] {
        grid-template-columns: 1fr;
    }

    .glossary-toolbar input[b-l8e8f2c5b7] {
        grid-column: auto;
    }

    .glossary-title[b-l8e8f2c5b7] {
        align-items: flex-start;
        flex-direction: column;
    }

    .glossary-modal[b-l8e8f2c5b7] {
        padding: 14px;
    }

    .glossary-modal section[b-l8e8f2c5b7] {
        padding: 19px;
    }

    .glossary-modal-actions[b-l8e8f2c5b7] {
        flex-direction: column-reverse;
    }

    .glossary-modal-cancel[b-l8e8f2c5b7],
    .glossary-modal-submit[b-l8e8f2c5b7] {
        width: 100%;
    }
}


/* =========================================================
   MOTION
   ========================================================= */

@keyframes glossary-spin-b-l8e8f2c5b7 {
    to { transform: rotate(360deg); }
}

@keyframes glossary-card-in-b-l8e8f2c5b7 {
    from {
        opacity: 0;
        transform: translateY(9px) scale(.995);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes glossary-dialog-in-b-l8e8f2c5b7 {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.985);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .glossary-hero[b-l8e8f2c5b7],
    .glossary-library[b-l8e8f2c5b7],
    .glossary-summary article[b-l8e8f2c5b7],
    .glossary-card[b-l8e8f2c5b7],
    .glossary-primary[b-l8e8f2c5b7],
    .glossary-modal section[b-l8e8f2c5b7] {
        animation: none !important;
        transition: none !important;
    }

    .glossary-state > i[b-l8e8f2c5b7] {
        animation-duration: 1.6s;
    }
}


/* GLOSSARY SUMMARY EXACT TRANSLATION CARD V2 - START */

/*
 * Match Stage-2 translation reference cards:
 * - thin neutral border
 * - warm cream -> white gradient
 * - plain brown icon on the physical RIGHT
 * - vertical divider beside icon
 * - title above
 * - amber main value
 * - compact helper text below
 */

.glossary-summary[b-l8e8f2c5b7] {
    gap: 8px;
}

.glossary-summary article[b-l8e8f2c5b7] {
    position: relative;

    min-width: 0;
    min-height: 86px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 11px 78px 10px 14px !important;

    overflow: hidden;

    border: 1px solid var(--g-line) !important;
    border-radius: 16px !important;

    background:
        linear-gradient(
            90deg,
            #f6e6b7 0%,
            #fbf2d8 48%,
            #ffffff 100%
        ) !important;

    box-shadow:
        0 2px 8px rgba(16,24,40,.05),
        inset 0 1px 0 rgba(255,255,255,.50) !important;

    transition:
        transform .16s ease,
        border-color .16s ease,
        box-shadow .16s ease;
}

.glossary-summary article:hover[b-l8e8f2c5b7] {
    transform: translateY(-1px);

    border-color: var(--g-line-strong) !important;

    box-shadow:
        0 4px 12px rgba(16,24,40,.07),
        inset 0 1px 0 rgba(255,255,255,.52) !important;
}

/* plain icon on physical RIGHT */
.glossary-summary article[b-l8e8f2c5b7]::before {
    position: absolute !important;

    top: 50% !important;
    right: 15px !important;
    left: auto !important;

    width: 42px !important;
    height: 42px !important;

    display: grid !important;
    place-items: center !important;

    transform: translateY(-50%) !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    color: #7f7357 !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 1.12rem !important;
    font-weight: 900 !important;

    box-shadow: none !important;

    opacity: 1 !important;

    z-index: 2;
}

/* divider immediately to the LEFT of icon */
.glossary-summary article[b-l8e8f2c5b7]::after {
    content: "" !important;

    position: absolute !important;

    top: 13px !important;
    bottom: 13px !important;

    right: 62px !important;
    left: auto !important;

    width: 1px !important;
    height: auto !important;

    border-radius: 0 !important;

    background: var(--g-line) !important;

    opacity: 1 !important;

    pointer-events: none;
}

/* icon glyphs */
.glossary-summary article:nth-child(1)[b-l8e8f2c5b7]::before {
    content: "G";
}

.glossary-summary article:nth-child(2)[b-l8e8f2c5b7]::before {
    content: "✓";
    color: #7f7357 !important;
}

.glossary-summary article:nth-child(3)[b-l8e8f2c5b7]::before {
    content: "T";
}

.glossary-summary article:nth-child(4)[b-l8e8f2c5b7]::before {
    content: "↔";
}

/* title */
.glossary-summary article small[b-l8e8f2c5b7] {
    display: block;

    margin: 0 0 4px !important;

    color: var(--g-text-2) !important;

    font-size: .58rem !important;
    font-weight: 780 !important;
    line-height: 1.35 !important;

    text-align: right;
}

/* main value */
.glossary-summary article strong[b-l8e8f2c5b7] {
    display: block;

    margin: 0 !important;

    color: #eea000 !important;

    font-size: 1.25rem !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;

    font-variant-numeric: tabular-nums;

    text-align: right;
}

/* Persian / RTL: keep icon physically right, text aligned right */
.glossary-page[dir="rtl"] .glossary-summary article[b-l8e8f2c5b7] {
    padding-right: 78px !important;
    padding-left: 14px !important;
}

.glossary-page[dir="rtl"] .glossary-summary article[b-l8e8f2c5b7]::before {
    right: 15px !important;
    left: auto !important;
}

.glossary-page[dir="rtl"] .glossary-summary article[b-l8e8f2c5b7]::after {
    right: 62px !important;
    left: auto !important;
}

/* LTR: mirror the same card structure */
.glossary-page[dir="ltr"] .glossary-summary article[b-l8e8f2c5b7] {
    padding-left: 78px !important;
    padding-right: 14px !important;
}

.glossary-page[dir="ltr"] .glossary-summary article[b-l8e8f2c5b7]::before {
    left: 15px !important;
    right: auto !important;
}

.glossary-page[dir="ltr"] .glossary-summary article[b-l8e8f2c5b7]::after {
    left: 62px !important;
    right: auto !important;
}

.glossary-page[dir="ltr"] .glossary-summary article small[b-l8e8f2c5b7],
.glossary-page[dir="ltr"] .glossary-summary article strong[b-l8e8f2c5b7] {
    text-align: left;
}

/* Dark mode preserves the same hierarchy without a bright white panel */
html[data-theme="dark"] .glossary-summary article[b-l8e8f2c5b7] {
    background:
        linear-gradient(
            90deg,
            rgba(226,175,46,.13) 0%,
            rgba(226,175,46,.065) 48%,
            rgba(255,255,255,.025) 100%
        ) !important;

    border-color: var(--g-line) !important;
}

html[data-theme="dark"] .glossary-summary article[b-l8e8f2c5b7]::before {
    color: #b5a98e !important;
}

html[data-theme="dark"] .glossary-summary article strong[b-l8e8f2c5b7] {
    color: #f1b43a !important;
}

@media (max-width: 760px) {
    .glossary-summary article[b-l8e8f2c5b7] {
        min-height: 80px;
        padding-top: 10px !important;
        padding-bottom: 9px !important;
    }

    .glossary-page[dir="rtl"] .glossary-summary article[b-l8e8f2c5b7] {
        padding-right: 72px !important;
    }

    .glossary-page[dir="ltr"] .glossary-summary article[b-l8e8f2c5b7] {
        padding-left: 72px !important;
    }

    .glossary-summary article[b-l8e8f2c5b7]::before {
        width: 36px !important;
        height: 36px !important;

        font-size: 1rem !important;
    }

    .glossary-page[dir="rtl"] .glossary-summary article[b-l8e8f2c5b7]::after {
        right: 57px !important;
    }

    .glossary-page[dir="ltr"] .glossary-summary article[b-l8e8f2c5b7]::after {
        left: 57px !important;
    }

    .glossary-summary article strong[b-l8e8f2c5b7] {
        font-size: 1.15rem !important;
    }
}

/* GLOSSARY SUMMARY EXACT TRANSLATION CARD V2 - END */


/* GLOSSARY EDIT MODAL MATCH TERM V3 - START */

/*
 * Make Create/Edit Glossary modal visually match the Add/Edit Term modal.
 * Important: .glossary-modal is rendered outside .glossary-page, so the
 * design tokens are re-declared here intentionally.
 */

.glossary-modal[b-l8e8f2c5b7] {
    --g-accent: var(--ui-accent, #f2bd43);
    --g-accent-strong: var(--ui-accent-strong, #dfa62c);
    --g-accent-soft: var(--ui-accent-soft, rgba(226, 175, 46, .12));

    --g-text: var(--text, #28241e);
    --g-text-2: var(--text-secondary, #625d54);
    --g-muted: var(--muted, #918a7f);

    --g-surface-raised: var(--ui-surface-raised, #ffffff);
    --g-surface-soft: var(--ui-surface-sunken, #faf8f3);

    --g-line: var(--ui-line, rgba(48, 43, 34, .10));
    --g-line-strong: var(--ui-line-strong, rgba(48, 43, 34, .16));

    --g-danger: var(--ui-danger, #b65050);
    --g-danger-soft: var(--ui-danger-tint, rgba(182, 80, 80, .10));

    position: fixed !important;
    inset: 0 !important;
    z-index: 2100 !important;

    display: grid !important;
    place-items: center !important;

    padding: 24px !important;

    background: rgba(20, 18, 14, .38) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.glossary-modal > section[b-l8e8f2c5b7] {
    width: min(100%, 560px) !important;
    max-height: min(88vh, 760px) !important;
    overflow: auto !important;

    box-sizing: border-box !important;

    padding: 24px !important;

    border: 1px solid var(--g-line-strong) !important;
    border-radius: 24px !important;

    background: var(--g-surface-raised) !important;
    color: var(--g-text) !important;

    box-shadow: 0 28px 80px rgba(20, 18, 14, .24) !important;
}

.glossary-modal h3[b-l8e8f2c5b7] {
    margin: 0 0 16px !important;

    color: var(--g-text) !important;

    font-size: 1rem !important;
    font-weight: 850 !important;
    line-height: 1.4 !important;
}

/* delete confirmation copy */
.glossary-modal > section > p:not(.form-error)[b-l8e8f2c5b7] {
    margin: 0 0 8px !important;

    color: var(--g-text-2) !important;

    font-size: .66rem !important;
    line-height: 1.9 !important;
}

/* normal form fields */
.glossary-modal label:not(.toggle)[b-l8e8f2c5b7] {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;

    width: 100% !important;

    margin-top: 14px !important;

    color: var(--g-text) !important;

    font-size: .64rem !important;
    font-weight: 780 !important;
    line-height: 1.7 !important;
}

.glossary-modal input:not([type="checkbox"])[b-l8e8f2c5b7],
.glossary-modal textarea[b-l8e8f2c5b7],
.glossary-modal select[b-l8e8f2c5b7] {
    display: block !important;

    width: 100% !important;
    min-height: 46px !important;

    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 11px 13px !important;

    border: 1px solid var(--g-line-strong) !important;
    border-radius: 12px !important;
    outline: none !important;

    background: var(--g-surface-soft) !important;
    color: var(--g-text) !important;

    font: inherit !important;
    font-size: .68rem !important;
    line-height: 1.7 !important;

    box-shadow: none !important;

    transition:
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease !important;
}

.glossary-modal textarea[b-l8e8f2c5b7] {
    min-height: 96px !important;

    padding-top: 12px !important;
    padding-bottom: 12px !important;

    resize: vertical !important;
}

.glossary-modal input:not([type="checkbox"]):focus[b-l8e8f2c5b7],
.glossary-modal textarea:focus[b-l8e8f2c5b7],
.glossary-modal select:focus[b-l8e8f2c5b7] {
    border-color: var(--g-accent-strong) !important;

    background: var(--g-surface-raised) !important;

    box-shadow: 0 0 0 3px var(--g-accent-soft) !important;
}

/* source/target languages */
.glossary-modal .form-grid[b-l8e8f2c5b7] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;

    margin-top: 0 !important;
}

.glossary-modal .form-grid > label[b-l8e8f2c5b7] {
    min-width: 0 !important;
}

/* active glossary checkbox row = term modal checkbox rows */
.glossary-modal .toggle[b-l8e8f2c5b7] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;

    width: 100% !important;
    min-height: 46px !important;

    box-sizing: border-box !important;

    margin-top: 12px !important;
    padding: 10px 12px !important;

    border: 1px solid var(--g-line) !important;
    border-radius: 12px !important;

    background: var(--g-surface-soft) !important;

    color: var(--g-text) !important;

    font-size: .64rem !important;
    font-weight: 740 !important;

    cursor: pointer !important;

    transition:
        border-color .16s ease,
        background .16s ease !important;
}

.glossary-modal .toggle:hover[b-l8e8f2c5b7] {
    border-color: var(--g-accent-strong) !important;
    background: var(--g-surface-raised) !important;
}

.glossary-modal .toggle input[type="checkbox"][b-l8e8f2c5b7] {
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;

    margin: 0 !important;

    accent-color: var(--g-accent-strong) !important;
}

/* error */
.glossary-modal .form-error[b-l8e8f2c5b7] {
    margin: 13px 0 0 !important;

    padding: 10px 12px !important;

    border: 1px solid rgba(182, 80, 80, .16) !important;
    border-radius: 11px !important;

    background: var(--g-danger-soft) !important;
    color: var(--g-danger) !important;

    font-size: .60rem !important;
    line-height: 1.75 !important;
}

/* footer exactly like term modal */
.glossary-modal .glossary-modal-actions[b-l8e8f2c5b7] {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    flex-wrap: wrap !important;

    margin-top: 18px !important;
    padding-top: 2px !important;
}

/* cancel */
.glossary-modal .glossary-modal-cancel[b-l8e8f2c5b7] {
    min-height: 40px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 16px !important;

    border: 1px solid var(--g-line-strong) !important;
    border-radius: 11px !important;

    background: var(--g-surface-raised) !important;
    color: var(--g-text-2) !important;

    font-family: inherit !important;
    font-size: .62rem !important;
    font-weight: 800 !important;

    box-shadow: none !important;

    cursor: pointer !important;

    transition:
        transform .16s ease,
        border-color .16s ease,
        color .16s ease !important;
}

.glossary-modal .glossary-modal-cancel:hover:not(:disabled)[b-l8e8f2c5b7] {
    transform: translateY(-1px) !important;

    border-color: var(--g-accent-strong) !important;

    color: #9c6b16 !important;
}

/* save */
.glossary-modal .glossary-modal-submit[b-l8e8f2c5b7] {
    min-height: 40px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 16px !important;

    border: 1px solid transparent !important;
    border-radius: 11px !important;

    background:
        linear-gradient(
            135deg,
            var(--g-accent),
            var(--g-accent-strong)
        ) !important;

    color: #34270f !important;

    font-family: inherit !important;
    font-size: .62rem !important;
    font-weight: 820 !important;

    box-shadow: 0 10px 22px rgba(226, 175, 46, .20) !important;

    cursor: pointer !important;

    transition:
        transform .16s ease,
        box-shadow .16s ease !important;
}

.glossary-modal .glossary-modal-submit:hover:not(:disabled)[b-l8e8f2c5b7] {
    transform: translateY(-1px) !important;

    box-shadow: 0 14px 28px rgba(226, 175, 46, .26) !important;
}

.glossary-modal .glossary-modal-submit:disabled[b-l8e8f2c5b7],
.glossary-modal .glossary-modal-cancel:disabled[b-l8e8f2c5b7] {
    opacity: .58 !important;
    cursor: wait !important;
}

/* compact scrollbar */
.glossary-modal > section[b-l8e8f2c5b7]::-webkit-scrollbar {
    width: 10px;
}

.glossary-modal > section[b-l8e8f2c5b7]::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;

    background: rgba(127,115,87,.24);
    background-clip: padding-box;
}

.glossary-modal > section[b-l8e8f2c5b7]::-webkit-scrollbar-track {
    background: transparent;
}

/* dark mode */
html[data-theme="dark"] .glossary-modal[b-l8e8f2c5b7] {
    --g-text: var(--text, #f1eee8);
    --g-text-2: var(--text-secondary, #c6bfb3);

    --g-surface-raised: var(--ui-surface-raised, #24211d);
    --g-surface-soft: var(--ui-surface-sunken, rgba(255,255,255,.022));

    --g-line: var(--ui-line, rgba(255,255,255,.07));
    --g-line-strong: var(--ui-line-strong, rgba(255,255,255,.11));

    background: rgba(6, 5, 4, .62) !important;
}

html[data-theme="dark"] .glossary-modal > section[b-l8e8f2c5b7] {
    box-shadow: 0 28px 80px rgba(0,0,0,.42) !important;
}

html[data-theme="dark"] .glossary-modal select option[b-l8e8f2c5b7] {
    background: #26231f;
    color: #f1eee8;
}

/* responsive */
@media (max-width: 640px) {
    .glossary-modal[b-l8e8f2c5b7] {
        padding: 14px !important;
    }

    .glossary-modal > section[b-l8e8f2c5b7] {
        width: 100% !important;
        max-height: 90vh !important;

        padding: 18px !important;

        border-radius: 20px !important;
    }

    .glossary-modal .form-grid[b-l8e8f2c5b7] {
        grid-template-columns: 1fr !important;
    }

    .glossary-modal .glossary-modal-actions[b-l8e8f2c5b7] {
        flex-direction: column-reverse !important;
        align-items: stretch !important;
    }

    .glossary-modal .glossary-modal-cancel[b-l8e8f2c5b7],
    .glossary-modal .glossary-modal-submit[b-l8e8f2c5b7] {
        width: 100% !important;
    }
}

/* GLOSSARY EDIT MODAL MATCH TERM V3 - END */


/* =========================================================
   PHONE
   =========================================================
   Four counters one per row pushed the library a whole screen
   down. Two to a row, with the glyph tucked closer, and the
   four filters in two pairs under the search.
   ========================================================= */

@media (max-width: 540px) {

    .glossary-summary[b-l8e8f2c5b7] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .glossary-summary article[b-l8e8f2c5b7] {
        min-height: 82px;
        padding: 12px;
        padding-inline-start: 56px;
        padding-inline-end: 12px;
    }

        .glossary-summary article[b-l8e8f2c5b7]::before {
            inset-inline-start: 11px;
            width: 34px;
            height: 34px;
        }

    .glossary-toolbar[b-l8e8f2c5b7] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .glossary-toolbar input[b-l8e8f2c5b7] {
            grid-column: 1 / -1;
        }

    .glossary-card[b-l8e8f2c5b7] {
        min-height: 0;
        gap: 10px;
    }

        .glossary-card p[b-l8e8f2c5b7] {
            min-height: 0;
        }
}
/* _content/AITranslationPlatform.Web/Components/Glossaries/GlossaryDetails.razor.rz.scp.css */
/* =========================================================
   GLOSSARY DETAILS / TERMS — PREMIUM WORKSPACE V1
   ========================================================= */

.term-page[b-odh6li5zji] {
    --t-accent: var(--ui-accent, #f2bd43);
    --t-accent-strong: var(--ui-accent-strong, #dfa62c);
    --t-accent-soft: var(--ui-accent-soft, rgba(226, 175, 46, .12));
    --t-accent-tint: var(--ui-accent-tint, rgba(226, 175, 46, .065));

    --t-text: var(--text, #28241e);
    --t-text-2: var(--text-secondary, #625d54);
    --t-muted: var(--muted, #918a7f);

    --t-surface: var(--surface, #ffffff);
    --t-surface-raised: var(--ui-surface-raised, #ffffff);
    --t-surface-strong: var(--ui-surface-strong, #fffdf9);
    --t-surface-soft: var(--ui-surface-sunken, #faf8f3);

    --t-line: var(--ui-line, rgba(48, 43, 34, .10));
    --t-line-strong: var(--ui-line-strong, rgba(48, 43, 34, .16));

    --t-success: var(--ui-success, #4a8c61);
    --t-success-soft: var(--ui-success-tint, rgba(74, 140, 97, .10));
    --t-danger: var(--ui-danger, #b65050);
    --t-danger-soft: var(--ui-danger-tint, rgba(182, 80, 80, .10));

    --t-shadow-sm: var(--ui-shadow-sm, 0 8px 22px rgba(32, 28, 22, .055));
    --t-shadow-md: var(--ui-shadow-md, 0 18px 46px rgba(32, 28, 22, .085));

    width: min(100%, 1480px);
    margin: 0 auto;
    padding: 0 0 28px;

    display: grid;
    gap: 18px;

    color: var(--t-text);
}


/* =========================================================
   STATE
   ========================================================= */

.term-state[b-odh6li5zji] {
    min-height: 140px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 24px;

    border: 1px solid var(--t-line);
    border-radius: 22px;

    background: var(--t-surface);

    color: var(--t-text-2);

    box-shadow: var(--t-shadow-sm);

    font-size: .65rem;
}

.term-state strong[b-odh6li5zji] {
    color: var(--t-text);
}

.term-state button[b-odh6li5zji] {
    min-height: 36px;

    padding: 0 13px;

    border: 1px solid var(--t-line-strong);
    border-radius: 10px;

    background: var(--t-surface-raised);

    color: var(--t-text-2);

    font-family: inherit;
    font-size: .58rem;
    font-weight: 800;

    cursor: pointer;
}


/* =========================================================
   HERO
   ========================================================= */

.term-hero[b-odh6li5zji] {
    position: relative;

    min-height: 220px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;

    padding: 29px 31px;

    overflow: hidden;

    border: 1px solid var(--t-line);
    border-radius: 28px;

    background:
        radial-gradient(115% 145% at 8% -18%, var(--t-accent-soft), transparent 48%),
        radial-gradient(85% 115% at 96% 118%, rgba(130, 121, 103, .07), transparent 56%),
        linear-gradient(135deg, var(--t-surface-strong), var(--t-surface));

    box-shadow: var(--t-shadow-md);

    animation: term-card-in-b-odh6li5zji .62s cubic-bezier(.2,.8,.2,1) .03s backwards;
}

.term-page[dir="rtl"] .term-hero[b-odh6li5zji] {
    background:
        radial-gradient(115% 145% at 92% -18%, var(--t-accent-soft), transparent 48%),
        radial-gradient(85% 115% at 4% 118%, rgba(130, 121, 103, .07), transparent 56%),
        linear-gradient(225deg, var(--t-surface-strong), var(--t-surface));
}

.term-hero[b-odh6li5zji]::before,
.term-hero[b-odh6li5zji]::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.term-hero[b-odh6li5zji]::before {
    width: 280px;
    height: 280px;

    inset-block-start: -180px;
    inset-inline-end: -92px;

    border: 42px solid var(--t-accent-soft);

    opacity: .78;
}

.term-hero[b-odh6li5zji]::after {
    width: 150px;
    height: 150px;

    inset-block-end: -98px;
    inset-inline-start: -42px;

    border: 26px solid var(--t-line-strong);

    opacity: .62;
}

.term-back[b-odh6li5zji] {
    position: relative;
    z-index: 3;

    grid-column: 1 / -1;

    width: max-content;
    min-height: 33px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: -1px;
    padding: 0 10px;

    border: 1px solid var(--t-line);
    border-radius: 999px;

    background: var(--t-surface-raised);

    color: var(--t-text-2);

    font-family: inherit;
    font-size: .58rem;
    font-weight: 760;

    cursor: pointer;

    transition: .17s ease;
}

.term-back:hover[b-odh6li5zji] {
    transform: translateY(-1px);

    border-color: var(--t-accent-strong);

    color: #9c6b16;

    box-shadow: var(--t-shadow-sm);
}

.term-hero > div[b-odh6li5zji] {
    position: relative;
    z-index: 2;

    min-width: 0;
    max-width: 860px;
}

.term-hero > div > span[b-odh6li5zji] {
    width: max-content;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 5px 9px;

    border: 1px solid rgba(74,140,97,.12);
    border-radius: 999px;

    background: var(--t-success-soft);

    color: var(--t-success);

    font-size: .54rem;
    font-weight: 850;
    letter-spacing: .055em;
}

.term-page[dir="rtl"] .term-hero > div > span[b-odh6li5zji] {
    letter-spacing: 0;
}

.term-hero h1[b-odh6li5zji] {
    margin: 10px 0 6px;

    color: var(--t-text);

    font-size: clamp(1.55rem, 2.5vw, 2.25rem);
    font-weight: 850;
    line-height: 1.2;
}

.term-hero p[b-odh6li5zji] {
    margin: 0;

    color: var(--t-text-2);

    font-size: .72rem;
    line-height: 1.8;
}

.term-hero > div > div[b-odh6li5zji] {
    width: max-content;

    margin-top: 13px;
    padding: 7px 10px;

    border: 1px solid rgba(226,175,46,.16);
    border-radius: 10px;

    background: var(--t-accent-soft);

    color: #8b641d;

    font-size: .57rem;
    font-weight: 850;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.term-primary[b-odh6li5zji],
.term-danger[b-odh6li5zji],
.term-select[b-odh6li5zji] {
    min-height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 0 13px;

    border-radius: 11px;

    font-family: inherit;
    font-size: .60rem;
    font-weight: 800;

    cursor: pointer;

    transition: .17s ease;
}

.term-primary[b-odh6li5zji] {
    position: relative;
    z-index: 3;

    border: 1px solid transparent;

    background:
        linear-gradient(
            135deg,
            var(--t-accent),
            var(--t-accent-strong)
        );

    color: #34270f;

    box-shadow: 0 10px 22px rgba(226,175,46,.20);
}

.term-primary:hover:not(:disabled)[b-odh6li5zji] {
    transform: translateY(-1px);

    box-shadow: 0 14px 28px rgba(226,175,46,.26);
}

.term-danger[b-odh6li5zji] {
    border: 1px solid rgba(182,80,80,.18);

    background: var(--t-danger-soft);

    color: var(--t-danger);
}

.term-danger:hover:not(:disabled)[b-odh6li5zji] {
    transform: translateY(-1px);

    border-color: rgba(182,80,80,.28);
}

.term-select[b-odh6li5zji] {
    border: 1px solid var(--t-line);

    background: var(--t-surface-raised);

    color: var(--t-text-2);
}

.term-select:hover[b-odh6li5zji] {
    transform: translateY(-1px);

    border-color: var(--t-accent-strong);

    color: #9c6b16;
}


/* =========================================================
   LIBRARY / TOOLBAR
   ========================================================= */

.term-library[b-odh6li5zji] {
    padding: 0;

    overflow: hidden;

    border: 1px solid var(--t-line);
    border-radius: 24px;

    background: var(--t-surface);

    box-shadow: var(--t-shadow-sm);

    animation: term-card-in-b-odh6li5zji .58s cubic-bezier(.2,.8,.2,1) .10s backwards;
}

.term-toolbar[b-odh6li5zji] {
    min-height: 66px;

    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;

    margin: 0;
    padding: 12px 14px;

    border-bottom: 1px solid var(--t-line);

    background:
        linear-gradient(180deg, var(--t-surface-soft), transparent);
}

.term-toolbar input[b-odh6li5zji] {
    min-width: 240px;
    min-height: 40px;

    flex: 1;

    box-sizing: border-box;

    padding: 0 12px;

    border: 1px solid var(--t-line);
    border-radius: 11px;
    outline: 0;

    background: var(--t-surface-raised);

    color: var(--t-text);

    font-family: inherit;
    font-size: .64rem;

    transition: .16s ease;
}

.term-toolbar input:focus[b-odh6li5zji] {
    border-color: var(--t-accent-strong);

    box-shadow: 0 0 0 3px var(--t-accent-soft);
}

.term-toolbar input[b-odh6li5zji]::placeholder {
    color: var(--t-muted);
}

.term-toolbar > span[b-odh6li5zji] {
    padding: 6px 9px;

    border: 1px solid rgba(226,175,46,.18);
    border-radius: 999px;

    background: var(--t-accent-soft);

    color: #9c6b16;

    font-size: .54rem;
    font-weight: 780;
}


/* =========================================================
   EMPTY
   ========================================================= */

.term-empty[b-odh6li5zji] {
    min-height: 240px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 30px;

    text-align: center;
}

.term-empty[b-odh6li5zji]::before {
    content: "T";

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(226,175,46,.18);
    border-radius: 18px;

    background: var(--t-accent-soft);

    color: #8b7a58;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.35rem;
    font-weight: 900;

    box-shadow: var(--t-shadow-sm);
}

.term-empty h3[b-odh6li5zji] {
    margin: 0;

    color: var(--t-text);

    font-size: .90rem;
    font-weight: 830;
}


/* =========================================================
   TERM TABLE / CARDS
   ========================================================= */

.term-table[b-odh6li5zji] {
    display: grid;
    gap: 8px;

    padding: 12px;
}

.term-row[b-odh6li5zji] {
    position: relative;

    display: grid;
    grid-template-columns:
        24px
        minmax(160px, 1fr)
        minmax(160px, 1fr)
        minmax(120px, .7fr)
        auto;
    align-items: center;
    gap: 13px;

    min-height: 82px;

    padding: 12px 13px;

    overflow: hidden;

    border: 1px solid var(--t-line);
    border-radius: 15px;

    background:
        linear-gradient(145deg, var(--t-accent-tint), transparent 78%),
        var(--t-surface-strong);

    transition: .17s ease;
}

.term-row[b-odh6li5zji]::after {
    content: "";

    position: absolute;

    width: 76px;
    height: 76px;

    inset-block-start: -44px;
    inset-inline-end: -24px;

    border-radius: 50%;

    background: var(--t-accent);

    opacity: .025;

    pointer-events: none;
}

.term-row:hover[b-odh6li5zji] {
    transform: translateY(-1px);

    border-color: var(--t-line-strong);

    box-shadow: var(--t-shadow-sm);
}

.term-row.selected[b-odh6li5zji] {
    border-color: rgba(226,175,46,.28);

    background:
        linear-gradient(90deg, var(--t-accent-soft), transparent 72%),
        var(--t-surface-strong);

    box-shadow: inset 3px 0 0 var(--t-accent-strong);
}

.term-page[dir="rtl"] .term-row.selected[b-odh6li5zji] {
    box-shadow: inset -3px 0 0 var(--t-accent-strong);
}

.term-row > label[b-odh6li5zji] {
    display: grid;
    place-items: center;
}

.term-row input[type="checkbox"][b-odh6li5zji] {
    width: 17px;
    height: 17px;

    accent-color: var(--t-accent-strong);
}

.term-row small[b-odh6li5zji] {
    display: block;

    color: var(--t-muted);

    font-size: .48rem;
    font-weight: 760;
}

.term-row strong[b-odh6li5zji] {
    display: block;

    margin-top: 4px;

    color: var(--t-text);

    font-size: .68rem;
    font-weight: 820;
    line-height: 1.45;
}

.term-row em[b-odh6li5zji] {
    display: block;

    margin-top: 5px;

    color: var(--t-muted);

    font-size: .53rem;
    font-style: normal;
    line-height: 1.55;
}

.term-flags[b-odh6li5zji] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.term-flags span[b-odh6li5zji] {
    padding: 5px 7px;

    border: 1px solid rgba(226,175,46,.14);
    border-radius: 8px;

    background: var(--t-accent-soft);

    color: #936718;

    font-size: .48rem;
    font-weight: 760;
}

.term-actions[b-odh6li5zji] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.term-actions button[b-odh6li5zji] {
    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid var(--t-line);
    border-radius: 9px;

    background: var(--t-surface-raised);

    color: var(--t-text-2);

    font-family: inherit;
    font-size: .82rem;
    line-height: 1;

    cursor: pointer;

    transition: .16s ease;
}

.term-actions button:hover[b-odh6li5zji] {
    transform: translateY(-1px);

    border-color: var(--t-accent-strong);

    background: var(--t-accent-soft);

    color: #9c6b16;
}

.term-actions .term-danger[b-odh6li5zji] {
    min-height: 31px;
    padding: 0;

    border-color: var(--t-line);

    background: var(--t-surface-raised);

    color: var(--t-text-2);
}

.term-actions .term-danger:hover[b-odh6li5zji] {
    border-color: rgba(182,80,80,.22);

    background: var(--t-danger-soft);

    color: var(--t-danger);
}


/* =========================================================
   MODAL
   ========================================================= */

/* =========================================================
   TERM MODAL — FULL FIX
   ========================================================= */

.term-modal[b-odh6li5zji] {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(20, 18, 14, .38);
    backdrop-filter: blur(10px);
}

    .term-modal section[b-odh6li5zji] {
        width: min(100%, 560px);
        max-height: min(88vh, 760px);
        overflow: auto;
        box-sizing: border-box;
        padding: 24px;
        border: 1px solid var(--t-line-strong);
        border-radius: 24px;
        background: var(--t-surface-raised);
        color: var(--t-text);
        box-shadow: 0 28px 80px rgba(20, 18, 14, .24);
        animation: term-dialog-in-b-odh6li5zji .30s cubic-bezier(.2,.8,.2,1) both;
    }

    .term-modal h3[b-odh6li5zji] {
        margin: 0 0 16px;
        color: var(--t-text);
        font-size: 1rem;
        font-weight: 850;
        line-height: 1.4;
    }

    .term-modal section > p[b-odh6li5zji] {
        margin: 0 0 8px;
        color: var(--t-text-2);
        font-size: .66rem;
        line-height: 1.9;
    }

    /* ---------- normal field labels ---------- */

    .term-modal label:not(.term-check)[b-odh6li5zji] {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        width: 100% !important;
        margin-top: 14px !important;
        color: var(--t-text-2);
        font-size: .64rem;
        font-weight: 760;
        line-height: 1.7;
    }

        .term-modal label:not(.term-check) > span[b-odh6li5zji] {
            display: block;
            color: var(--t-text);
            font-size: .64rem;
            font-weight: 780;
        }

    /* ---------- text inputs ---------- */

    .term-modal input:not([type="checkbox"])[b-odh6li5zji],
    .term-modal textarea[b-odh6li5zji] {
        display: block !important;
        width: 100% !important;
        min-height: 46px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 11px 13px !important;
        border: 1px solid var(--t-line-strong) !important;
        border-radius: 12px !important;
        outline: none !important;
        background: var(--t-surface-soft) !important;
        color: var(--t-text) !important;
        font: inherit !important;
        font-size: .68rem !important;
        line-height: 1.7 !important;
        transition: .16s ease;
    }

    .term-modal textarea[b-odh6li5zji] {
        min-height: 96px !important;
        resize: vertical !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

        .term-modal input:not([type="checkbox"]):focus[b-odh6li5zji],
        .term-modal textarea:focus[b-odh6li5zji] {
            border-color: var(--t-accent-strong) !important;
            background: var(--t-surface-raised) !important;
            box-shadow: 0 0 0 3px var(--t-accent-soft) !important;
        }

    /* ---------- checkbox rows ---------- */

    .term-modal .term-check[b-odh6li5zji] {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
        min-height: 46px !important;
        box-sizing: border-box !important;
        margin-top: 12px !important;
        padding: 10px 12px !important;
        border: 1px solid var(--t-line) !important;
        border-radius: 12px !important;
        background: var(--t-surface-soft) !important;
        color: var(--t-text) !important;
        font-size: .64rem !important;
        font-weight: 740 !important;
        cursor: pointer;
    }

        .term-modal .term-check input[b-odh6li5zji] {
            width: 18px !important;
            height: 18px !important;
            flex: 0 0 18px !important;
            margin: 0 !important;
            accent-color: var(--t-accent-strong);
        }

        .term-modal .term-check:hover[b-odh6li5zji] {
            border-color: var(--t-accent-strong) !important;
            background: var(--t-surface-raised) !important;
        }

/* ---------- error ---------- */

.term-error[b-odh6li5zji] {
    margin: 13px 0 0 !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(182,80,80,.16) !important;
    border-radius: 11px !important;
    background: var(--t-danger-soft) !important;
    color: var(--t-danger) !important;
    font-size: .60rem !important;
    line-height: 1.75 !important;
}

/* ---------- footer ---------- */

.term-modal footer[b-odh6li5zji] {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    flex-wrap: wrap !important;
    margin-top: 18px !important;
    padding-top: 2px !important;
}

    .term-modal footer > button:first-child[b-odh6li5zji] {
        min-height: 40px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 16px !important;
        border: 1px solid var(--t-line-strong) !important;
        border-radius: 11px !important;
        background: var(--t-surface-raised) !important;
        color: var(--t-text-2) !important;
        font-family: inherit !important;
        font-size: .62rem !important;
        font-weight: 800 !important;
        cursor: pointer !important;
        transition: .16s ease;
    }

        .term-modal footer > button:first-child:hover[b-odh6li5zji] {
            border-color: var(--t-accent-strong) !important;
            color: #9c6b16 !important;
        }

.term-modal .term-primary[b-odh6li5zji] {
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px !important;
    border: 1px solid transparent !important;
    border-radius: 11px !important;
    background: linear-gradient( 135deg, var(--t-accent), var(--t-accent-strong) ) !important;
    color: #34270f !important;
    font-family: inherit !important;
    font-size: .62rem !important;
    font-weight: 820 !important;
    box-shadow: 0 10px 22px rgba(226,175,46,.20) !important;
    cursor: pointer !important;
}

    .term-modal .term-primary:hover:not(:disabled)[b-odh6li5zji] {
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(226,175,46,.26) !important;
    }

    .term-modal .term-primary:disabled[b-odh6li5zji] {
        opacity: .58 !important;
        cursor: wait !important;
    }

/* ---------- scrollbar ---------- */

.term-modal section[b-odh6li5zji]::-webkit-scrollbar {
    width: 10px;
}

.term-modal section[b-odh6li5zji]::-webkit-scrollbar-thumb {
    background: rgba(127,115,87,.24);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.term-modal section[b-odh6li5zji]::-webkit-scrollbar-track {
    background: transparent;
}

/* ---------- dark mode ---------- */

html[data-theme="dark"] .term-modal[b-odh6li5zji] {
    background: rgba(6, 5, 4, .62);
}

    html[data-theme="dark"] .term-modal section[b-odh6li5zji] {
        box-shadow: 0 28px 80px rgba(0,0,0,.42);
    }

/* ---------- responsive ---------- */

@media (max-width: 640px) {
    .term-modal[b-odh6li5zji] {
        padding: 14px;
    }

        .term-modal section[b-odh6li5zji] {
            width: 100%;
            max-height: 90vh;
            padding: 18px;
            border-radius: 20px;
        }

        .term-modal footer[b-odh6li5zji] {
            flex-direction: column-reverse !important;
            align-items: stretch !important;
        }

            .term-modal footer > button:first-child[b-odh6li5zji],
            .term-modal .term-primary[b-odh6li5zji] {
                width: 100%;
            }
}



/* =========================================================
   DARK
   ========================================================= */

html[data-theme="dark"] .term-page[b-odh6li5zji] {
    --t-text: var(--text, #f1eee8);
    --t-text-2: var(--text-secondary, #c6bfb3);
    --t-muted: var(--muted, #918a7f);

    --t-surface: var(--surface, rgba(255,255,255,.025));
    --t-surface-raised: var(--ui-surface-raised, #24211d);
    --t-surface-strong: var(--ui-surface-strong, rgba(255,255,255,.035));
    --t-surface-soft: var(--ui-surface-sunken, rgba(255,255,255,.022));

    --t-line: var(--ui-line, rgba(255,255,255,.07));
    --t-line-strong: var(--ui-line-strong, rgba(255,255,255,.11));

    --t-shadow-sm: 0 12px 28px rgba(0,0,0,.13);
    --t-shadow-md: 0 22px 50px rgba(0,0,0,.20);
}

html[data-theme="dark"] .term-modal[b-odh6li5zji] {
    background: rgba(6,5,4,.62);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
    .term-hero[b-odh6li5zji] {
        min-height: 0;

        grid-template-columns: 1fr;

        padding: 24px 21px;
    }

    .term-primary[b-odh6li5zji] {
        width: 100%;
    }

    .term-row[b-odh6li5zji] {
        grid-template-columns: 24px minmax(0, 1fr) auto;
    }

    .term-row > div:nth-of-type(2)[b-odh6li5zji],
    .term-flags[b-odh6li5zji] {
        grid-column: 2 / -1;
    }

    .term-actions[b-odh6li5zji] {
        grid-column: 3;
        grid-row: 1;
    }
}

@media (max-width: 650px) {
    .term-page[b-odh6li5zji] {
        gap: 14px;
    }

    .term-toolbar[b-odh6li5zji] {
        align-items: stretch;
        flex-direction: column;
    }

    .term-toolbar input[b-odh6li5zji],
    .term-toolbar .term-select[b-odh6li5zji],
    .term-toolbar .term-danger[b-odh6li5zji] {
        width: 100%;
        min-width: 0;
    }

    .term-row[b-odh6li5zji] {
        grid-template-columns: 22px minmax(0, 1fr);
    }

    .term-row > div[b-odh6li5zji],
    .term-flags[b-odh6li5zji],
    .term-actions[b-odh6li5zji] {
        grid-column: 2;
    }

    .term-actions[b-odh6li5zji] {
        grid-row: auto;
        justify-content: flex-end;
    }

    .term-modal[b-odh6li5zji] {
        padding: 14px;
    }

    .term-modal section[b-odh6li5zji] {
        padding: 19px;
    }

    .term-modal footer[b-odh6li5zji] {
        flex-direction: column-reverse;
    }

    .term-modal footer > button[b-odh6li5zji] {
        width: 100%;
    }
}


/* =========================================================
   MOTION
   ========================================================= */

@keyframes term-card-in-b-odh6li5zji {
    from {
        opacity: 0;
        transform: translateY(9px) scale(.995);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes term-dialog-in-b-odh6li5zji {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.985);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .term-hero[b-odh6li5zji],
    .term-library[b-odh6li5zji],
    .term-row[b-odh6li5zji],
    .term-primary[b-odh6li5zji],
    .term-modal section[b-odh6li5zji] {
        animation: none !important;
        transition: none !important;
    }
}
/* _content/AITranslationPlatform.Web/Components/Instagram/InstagramAnalysis.razor.rz.scp.css */
/* The Instagram page analysis: the approved prototype, on the panel's own tokens. */

.iga[b-ugrq5zqzme] {
    --reel: #d9822b;
    --carousel: #6f8f6a;
    --photo: #8a7d9e;
    --story: #c0587e;
    /* the layout gives every panel page the same width (min(100%, 1480px)) */
    width: 100%;
    padding: 0 0 60px;
    color: var(--ui-ink);
    line-height: 1.75;
    font-size: 15px;
}

:root[data-theme="dark"] .iga[b-ugrq5zqzme],
:root[data-theme="dark"] .iga-drawer[b-ugrq5zqzme] {
    --reel: #f0a457;
    --carousel: #9fc29a;
    --photo: #b7a9cc;
    --story: #e58bae;
}

.iga-drawer[b-ugrq5zqzme] { --reel: #d9822b; --carousel: #6f8f6a; --photo: #8a7d9e; --story: #c0587e; }

.iga a[b-ugrq5zqzme] { color: inherit; }
.iga button[b-ugrq5zqzme], .iga-drawer button[b-ugrq5zqzme] { font: inherit; color: inherit; cursor: pointer; }

/* ---------- shared ---------- */
.card[b-ugrq5zqzme] {
    background: var(--ui-surface);
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    padding: 22px;
    box-shadow: var(--ui-shadow-sm);
    backdrop-filter: blur(8px);
    min-width: 0;
}

.btn[b-ugrq5zqzme] {
    border: 1px solid var(--ui-line-strong);
    background: var(--ui-surface-raised);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background .2s var(--ui-ease), transform .2s var(--ui-ease);
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover:not(:disabled)[b-ugrq5zqzme] { background: var(--ui-surface-strong); transform: translateY(-1px); }
.btn:disabled[b-ugrq5zqzme] { opacity: .55; cursor: default; }
.btn.primary[b-ugrq5zqzme] { background: var(--ui-accent); border-color: var(--ui-accent-strong); color: var(--ui-on-accent); font-weight: 700; }
.btn svg[b-ugrq5zqzme] { width: 16px; height: 16px; }

.section-head[b-ugrq5zqzme] { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 34px 4px 12px; flex-wrap: wrap; }
.section-head h2[b-ugrq5zqzme] { margin: 0; font-size: 21px; display: flex; align-items: center; gap: 10px; }
.section-head h2 .num[b-ugrq5zqzme] { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--ui-dark); color: var(--ui-accent); display: grid; place-items: center; font-size: 14px; }
.section-head p[b-ugrq5zqzme] { margin: 0; color: var(--ui-muted); font-size: 13px; }

h3[b-ugrq5zqzme] { margin: 0 0 10px; font-size: 16px; }
h3.spaced[b-ugrq5zqzme] { margin-top: 18px; }
.muted[b-ugrq5zqzme] { color: var(--ui-muted); }
.small[b-ugrq5zqzme] { font-size: 13px; }
.flat[b-ugrq5zqzme] { margin: 0 0 8px; }
.note[b-ugrq5zqzme] { margin: 12px 0 0; color: var(--ui-ink-2); }

.grid[b-ugrq5zqzme] { display: grid; gap: 16px; }
.g2[b-ugrq5zqzme] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3[b-ugrq5zqzme] { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 980px) { .g3[b-ugrq5zqzme] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2[b-ugrq5zqzme], .g3[b-ugrq5zqzme] { grid-template-columns: minmax(0, 1fr); } }

.pill[b-ugrq5zqzme] { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill.good[b-ugrq5zqzme] { background: var(--ui-success-soft); color: var(--ui-success); }
.pill.ok[b-ugrq5zqzme] { background: var(--ui-warning-soft); color: var(--ui-warning); }
.pill.bad[b-ugrq5zqzme] { background: var(--ui-danger-soft); color: var(--ui-danger); }
.pill.info[b-ugrq5zqzme] { background: var(--ui-info-soft); color: var(--ui-info); }
.pill.neutral[b-ugrq5zqzme] { background: var(--ui-surface-sunken); color: var(--ui-ink-2); }

.tabs[b-ugrq5zqzme] { display: inline-flex; background: var(--ui-surface-sunken); border-radius: 999px; padding: 4px; gap: 2px; flex: 0 0 auto; max-width: 100%; overflow-x: auto; }
.tabs button[b-ugrq5zqzme] { border: 0; background: transparent; padding: 6px 14px; border-radius: 999px; font-size: 13px; white-space: nowrap; }
.tabs button.on[b-ugrq5zqzme] { background: var(--ui-surface-strong); box-shadow: var(--ui-shadow-sm); font-weight: 700; }

.iga-alert[b-ugrq5zqzme] { padding: 12px 14px; border-radius: var(--ui-r-sm); font-size: 14px; margin: 10px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.iga-alert.is-error[b-ugrq5zqzme] { background: var(--ui-danger-soft); color: var(--ui-danger); }
.iga-alert.is-warning[b-ugrq5zqzme] { background: var(--ui-warning-soft); color: var(--ui-warning); }
.iga-loading[b-ugrq5zqzme] { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ui-muted); }

.verdict[b-ugrq5zqzme] { margin-top: 12px; font-size: 14px; padding: 10px 12px; border-radius: var(--ui-r-sm); background: var(--ui-accent-soft); color: var(--ui-on-accent); }
:root[data-theme="dark"] .verdict[b-ugrq5zqzme] { color: var(--ui-ink); }

/* Sections arrive as they scroll into view, where the browser can tie an animation to the scroll; elsewhere they are simply there. */
@keyframes iga-up-b-ugrq5zqzme { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@supports (animation-timeline: view()) {
    .reveal[b-ugrq5zqzme] { animation: iga-up-b-ugrq5zqzme linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
}

@media (prefers-reduced-motion: reduce) { .reveal[b-ugrq5zqzme] { animation: none; } }

@keyframes iga-grow-b-ugrq5zqzme { from { width: 0; } }

/* ---------- home ---------- */
/* the hero of every panel page (dashboard, voice studio): rings, a framed label, two buttons */
.iga-hero[b-ugrq5zqzme] {
    min-height: 196px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 34px 36px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xl);
    background:
        radial-gradient(120% 150% at 8% -20%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(90% 120% at 96% 120%, var(--ui-bloom-cool), transparent 55%),
        linear-gradient(135deg, var(--ui-surface-strong), var(--ui-surface));
    box-shadow: var(--ui-shadow-md);
    line-height: normal;
}

.iga[dir="rtl"] .iga-hero[b-ugrq5zqzme] {
    background:
        radial-gradient(120% 150% at 92% -20%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(90% 120% at 4% 120%, var(--ui-bloom-cool), transparent 55%),
        linear-gradient(225deg, var(--ui-surface-strong), var(--ui-surface));
}

.iga-hero[b-ugrq5zqzme]::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    inset-block-start: -172px;
    inset-inline-end: -104px;
    border: 46px solid var(--ui-accent-soft);
    border-radius: 50%;
    animation: ui-hero-ring 1.1s var(--ui-ease-out) .08s backwards;
    pointer-events: none;
}

.iga-hero[b-ugrq5zqzme]::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    inset-block-end: -108px;
    inset-inline-start: -46px;
    border: 30px solid var(--ui-line-strong);
    border-radius: 50%;
    animation: ui-hero-ring 1.1s var(--ui-ease-out) .18s backwards;
    pointer-events: none;
}

.iga-hero-copy[b-ugrq5zqzme] {
    position: relative;
    z-index: 1;
    min-width: 0;
    max-width: 720px;
}

.iga-eyebrow[b-ugrq5zqzme] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    padding: 6px 13px 6px 11px;
    border: 1px solid rgba(226, 175, 46, .34);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--accent-text);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .075em;
    white-space: nowrap;
    animation: ui-rise .55s var(--ui-ease-out) .12s backwards;
}

.iga[dir="rtl"] .iga-eyebrow[b-ugrq5zqzme] {
    padding: 6px 11px 6px 13px;
    letter-spacing: 0;
}

.iga-eyebrow i[b-ugrq5zqzme] {
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: var(--ui-accent-strong);
    box-shadow: 0 0 0 0 rgba(226, 175, 46, .55);
    animation: ui-pulse 2.4s var(--ui-ease) infinite;
}

.iga-hero h1[b-ugrq5zqzme] {
    margin: 0 0 11px;
    color: var(--text);
    font-size: clamp(1.75rem, 2.2vw, 2.55rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
    animation: ui-reveal-up .6s var(--ui-ease-out) .2s backwards;
}

.iga[dir="rtl"] .iga-hero h1[b-ugrq5zqzme] {
    letter-spacing: 0;
}

.iga-hero p[b-ugrq5zqzme] {
    max-width: 650px;
    margin: 0;
    color: var(--text-secondary);
    font-size: .86rem;
    line-height: 1.9;
    animation: ui-rise .55s var(--ui-ease-out) .3s backwards;
}

.iga-hero-actions[b-ugrq5zqzme] {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: ui-rise .55s var(--ui-ease-out) .38s backwards;
}

.iga .iga-hero-action[b-ugrq5zqzme] {
    min-height: 52px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px 0 8px;
    overflow: hidden;
    border-radius: var(--ui-r-pill);
    font: inherit;
    font-size: .76rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--ui-t);
}

.iga[dir="rtl"] .iga-hero-action[b-ugrq5zqzme] {
    padding: 0 8px 0 20px;
}

.iga-action-glyph[b-ugrq5zqzme] {
    width: 36px;
    height: 36px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: transform var(--ui-dur-2) var(--ui-ease-spring), background-color var(--ui-dur-2) var(--ui-ease);
}

.iga-action-glyph svg[b-ugrq5zqzme] {
    width: 17px;
    height: 17px;
}

.iga-hero-action:hover .iga-action-glyph[b-ugrq5zqzme] {
    transform: rotate(90deg) scale(1.08);
}

.iga .iga-hero-action.is-primary[b-ugrq5zqzme] {
    border: 1px solid #ad996c6b;
    border-radius: 17px;
    background: linear-gradient(140deg, #f6dc98 0%, #cfb063 100%);
    color: var(--ui-on-accent);
    box-shadow: var(--ui-shadow-accent);
}

.iga-hero-action.is-primary .iga-action-glyph[b-ugrq5zqzme] {
    background: rgba(74, 54, 8, .16);
    color: var(--ui-on-accent);
}

.iga-hero-action.is-primary:hover[b-ugrq5zqzme] {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(226, 175, 46, .42);
}

.iga-hero-action.is-primary:hover .iga-action-glyph[b-ugrq5zqzme] {
    background: rgba(74, 54, 8, .24);
}

.iga-hero-action.is-primary[b-ugrq5zqzme]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, .55) 50%, transparent 66%);
    opacity: 0;
    pointer-events: none;
}

.iga-hero-action.is-primary:hover[b-ugrq5zqzme]::before {
    animation: ui-sheen .8s var(--ui-ease-out);
}

.iga .iga-hero-action.is-secondary[b-ugrq5zqzme] {
    border: 1px solid var(--ui-line-strong);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
}

.iga-hero-action.is-secondary .iga-action-glyph[b-ugrq5zqzme] {
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
}

.iga-hero-action.is-secondary:hover[b-ugrq5zqzme] {
    transform: translateY(-2px);
    border-color: var(--ui-accent-strong);
    background: var(--ui-surface-strong);
}

.iga-hero-action.is-secondary:hover .iga-action-glyph[b-ugrq5zqzme] {
    background: var(--ui-accent-soft);
    color: var(--ui-warning);
}

#iga-start[b-ugrq5zqzme],
#iga-history[b-ugrq5zqzme] {
    scroll-margin-top: calc(var(--app-header-height, 72px) + 16px);
}

@media (prefers-reduced-motion: reduce) {
    .iga-eyebrow i[b-ugrq5zqzme] { animation: none; }
}

@media (max-width: 760px) {
    .iga-hero[b-ugrq5zqzme] {
        min-height: 0;
        align-items: stretch;
        flex-direction: column;
        padding: 22px 20px;
    }

    .iga-hero-actions[b-ugrq5zqzme] { width: 100%; }
    .iga-hero-action[b-ugrq5zqzme] { flex: 1; }
}

@media (max-width: 720px) {
    .iga-hero[b-ugrq5zqzme] {
        padding: 20px 18px;
        border-radius: var(--ui-r-lg);
    }
}

@media (max-width: 520px) {
    .iga-hero-actions[b-ugrq5zqzme] { flex-direction: column; }
    .iga-hero-action[b-ugrq5zqzme] { width: 100%; }
}

.iga-start-grid[b-ugrq5zqzme] { margin-top: 20px; }
.iga-start h2[b-ugrq5zqzme], .iga-what h2[b-ugrq5zqzme] { margin: 0 0 14px; font-size: 18px; }
.iga-field[b-ugrq5zqzme] { display: grid; gap: 7px; font-size: 13px; font-weight: 700; }
.iga-handle[b-ugrq5zqzme] { display: flex; align-items: center; border: 1px solid var(--ui-line-strong); border-radius: var(--ui-r-sm); background: var(--ui-surface-strong); overflow: hidden; direction: ltr; }
.iga-handle b[b-ugrq5zqzme] { padding: 0 6px 0 14px; color: var(--ui-muted); font-size: 17px; }
.iga-handle input[b-ugrq5zqzme] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 12px 12px 0; font: inherit; font-size: 16px; color: inherit; outline: 0; }
.iga-handle:focus-within[b-ugrq5zqzme] { border-color: var(--ui-accent-strong); box-shadow: 0 0 0 3px var(--ui-accent-soft); }
.iga-handle.is-small[b-ugrq5zqzme] { margin-top: 8px; }
.iga-handle.is-small input[b-ugrq5zqzme] { font-size: 14px; padding: 9px 12px 9px 0; }
.iga-rivals[b-ugrq5zqzme] { margin-top: 14px; font-size: 13px; }
.iga-rivals summary[b-ugrq5zqzme] { cursor: pointer; font-weight: 700; color: var(--ui-ink-2); }
.iga-rivals p[b-ugrq5zqzme] { margin: 6px 0 0; }
.iga-cost[b-ugrq5zqzme] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0 6px; padding: 12px; border-radius: var(--ui-r-sm); background: var(--ui-surface-sunken); }
.iga-cost div[b-ugrq5zqzme] { display: grid; gap: 2px; }
.iga-cost span[b-ugrq5zqzme] { font-size: 12px; color: var(--ui-muted); }
.iga-cost b[b-ugrq5zqzme] { font-size: 15px; }
.iga-go[b-ugrq5zqzme] { width: 100%; margin-top: 10px; padding: 12px 18px; font-size: 15px; }
.iga-note[b-ugrq5zqzme] { margin: 8px 0 0; text-align: center; }
.iga-what ul[b-ugrq5zqzme] { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.iga-what li[b-ugrq5zqzme] { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.iga-what li i[b-ugrq5zqzme] { font-style: normal; width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--ui-surface-sunken); }

.iga-history[b-ugrq5zqzme] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 980px) { .iga-history[b-ugrq5zqzme] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .iga-history[b-ugrq5zqzme] { grid-template-columns: minmax(0, 1fr); } }
.iga-history-item[b-ugrq5zqzme] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; text-decoration: none; transition: transform .2s var(--ui-ease); }
.iga-history-item:hover[b-ugrq5zqzme] { transform: translateY(-2px); }
.iga-history-score[b-ugrq5zqzme] { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--ui-accent-soft); color: var(--ui-on-accent); border: 3px solid var(--ui-accent-strong); }
.iga-history-score.is-empty[b-ugrq5zqzme] { background: var(--ui-surface-sunken); border-color: var(--ui-line-strong); color: var(--ui-muted); }
.iga-history-name[b-ugrq5zqzme] { display: grid; min-width: 0; }
.iga-history-name bdi[b-ugrq5zqzme] { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iga-history-name small[b-ugrq5zqzme] { color: var(--ui-muted); font-size: 12px; }

/* ---------- progress ---------- */
.iga-progress[b-ugrq5zqzme] { max-width: 640px; margin: 20px auto 0; }
.iga-progress-head[b-ugrq5zqzme] { display: flex; gap: 16px; align-items: center; }
.iga-progress-head h2[b-ugrq5zqzme] { margin: 0; font-size: 19px; }
.iga-progress-head p[b-ugrq5zqzme] { margin: 2px 0 0; }
.iga-spinner[b-ugrq5zqzme] { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 4px solid var(--ui-surface-sunken); border-top-color: var(--ui-accent-strong); animation: iga-turn-b-ugrq5zqzme 1s linear infinite; }
@keyframes iga-turn-b-ugrq5zqzme { to { transform: rotate(360deg); } }
.iga-steps[b-ugrq5zqzme] { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.iga-steps li[b-ugrq5zqzme] { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ui-faint); }
.iga-steps li i[b-ugrq5zqzme] { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--ui-line-strong); display: grid; place-items: center; font-style: normal; font-size: 12px; }
.iga-steps li.done[b-ugrq5zqzme] { color: var(--ui-ink-2); }
.iga-steps li.done i[b-ugrq5zqzme] { background: var(--ui-success-soft); border-color: var(--ui-success); color: var(--ui-success); }
.iga-steps li.done i[b-ugrq5zqzme]::before { content: "✓"; }
.iga-steps li.now[b-ugrq5zqzme] { color: var(--ui-ink); font-weight: 700; }
.iga-steps li.now i[b-ugrq5zqzme] { border-color: var(--ui-accent-strong); border-top-color: transparent; animation: iga-turn-b-ugrq5zqzme .9s linear infinite; }

.iga-failed[b-ugrq5zqzme] { max-width: 640px; margin: 20px auto 0; }
.iga-failed h2[b-ugrq5zqzme] { margin: 0 0 8px; font-size: 19px; }
.iga-failed-actions[b-ugrq5zqzme] { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* ---------- report: top bar ---------- */
.topbar[b-ugrq5zqzme] { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.crumbs[b-ugrq5zqzme] { font-size: 13px; color: var(--ui-muted); }
.crumbs a[b-ugrq5zqzme] { text-decoration: none; }
.crumbs b[b-ugrq5zqzme] { color: var(--ui-ink); }
.actions[b-ugrq5zqzme] { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- hero ---------- */
.hero[b-ugrq5zqzme] { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .hero[b-ugrq5zqzme] { grid-template-columns: minmax(0, 1fr); } }
.profile[b-ugrq5zqzme] { display: flex; gap: 18px; align-items: flex-start; }
.profile-text[b-ugrq5zqzme] { min-width: 0; }
.avatar[b-ugrq5zqzme] { flex: 0 0 auto; width: 92px; height: 92px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, #f9ce34, #ee2a7b, #6228d7, #f9ce34); }
.avatar span[b-ugrq5zqzme], .avatar img[b-ugrq5zqzme] { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #3b2f23; border: 3px solid var(--ui-bg-2, #f2eeda); font-size: 30px; color: #fcd166; font-weight: 700; object-fit: cover; box-sizing: border-box; }
.profile h1[b-ugrq5zqzme] { margin: 0; font-size: 24px; line-height: 1.4; overflow-wrap: anywhere; }
.handle[b-ugrq5zqzme] { color: var(--ui-muted); font-size: 14px; }
.verified[b-ugrq5zqzme] { color: #3897f0; margin-inline-start: 4px; }
.bio[b-ugrq5zqzme] { margin: 10px 0 0; font-size: 14px; color: var(--ui-ink-2); white-space: pre-line; overflow-wrap: anywhere; }
.stats[b-ugrq5zqzme] { display: flex; gap: 22px; margin-top: 14px; flex-wrap: wrap; }
.stats div[b-ugrq5zqzme] { display: flex; flex-direction: column; }
.stats b[b-ugrq5zqzme] { font-size: 19px; }
.stats span[b-ugrq5zqzme] { font-size: 12px; color: var(--ui-muted); }
.coverage[b-ugrq5zqzme] { margin-top: 16px; padding: 12px 14px; border-radius: var(--ui-r-sm); background: var(--ui-surface-sunken); font-size: 13px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

@media (max-width: 520px) {
    .profile[b-ugrq5zqzme] { flex-direction: column; align-items: center; text-align: center; }
    .profile .stats[b-ugrq5zqzme] { justify-content: center; gap: 18px; }
    .avatar[b-ugrq5zqzme] { width: 78px; height: 78px; }
    .actions .btn[b-ugrq5zqzme] { flex: 1 1 auto; }
}

.score-card[b-ugrq5zqzme] { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.score-card .verdict[b-ugrq5zqzme] { flex: 1 1 100%; }
.ring[b-ugrq5zqzme] { position: relative; width: 168px; height: 168px; flex: 0 0 auto; margin: 0 auto; }
.ring svg[b-ugrq5zqzme] { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .arc[b-ugrq5zqzme] { stroke-dashoffset: var(--off); animation: iga-ring-b-ugrq5zqzme 1.4s var(--ui-ease) both; }
@keyframes iga-ring-b-ugrq5zqzme { from { stroke-dashoffset: 326.7; } }
.ring .val[b-ugrq5zqzme] { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .val b[b-ugrq5zqzme] { font-size: 44px; line-height: 1; }
.ring .val small[b-ugrq5zqzme] { display: block; font-size: 12px; color: var(--ui-muted); margin-top: 4px; }
.subscores[b-ugrq5zqzme] { flex: 1 1 220px; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.sub[b-ugrq5zqzme] { display: grid; grid-template-columns: 82px minmax(0, 1fr) 34px; align-items: center; gap: 8px; font-size: 13px; }
.bar[b-ugrq5zqzme] { height: 8px; border-radius: 99px; background: var(--ui-surface-sunken); overflow: hidden; }
.bar i[b-ugrq5zqzme] { display: block; height: 100%; border-radius: 99px; background: var(--ui-accent-strong); width: var(--w); animation: iga-grow-b-ugrq5zqzme 1.1s var(--ui-ease) both; }

/* ---------- findings ---------- */
.finding[b-ugrq5zqzme] { position: relative; overflow: hidden; }
.finding .icon[b-ugrq5zqzme] { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; margin-bottom: 10px; }
.finding.good .icon[b-ugrq5zqzme] { background: var(--ui-success-soft); }
.finding.bad .icon[b-ugrq5zqzme] { background: var(--ui-danger-soft); }
.finding.idea .icon[b-ugrq5zqzme] { background: var(--ui-accent-soft); }
.finding h3[b-ugrq5zqzme] { font-size: 16px; line-height: 1.6; }
.finding p[b-ugrq5zqzme] { margin: 0; font-size: 14px; color: var(--ui-ink-2); }
.finding .metric[b-ugrq5zqzme] { margin-top: 12px; font-size: 28px; font-weight: 700; }
.finding .metric small[b-ugrq5zqzme] { font-size: 13px; font-weight: 400; color: var(--ui-muted); }

/* ---------- KPI ---------- */
.kpi[b-ugrq5zqzme] { display: flex; flex-direction: column; gap: 6px; }
.kpi .top[b-ugrq5zqzme] { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kpi .label[b-ugrq5zqzme] { font-size: 13px; color: var(--ui-muted); }
.kpi .value[b-ugrq5zqzme] { font-size: 27px; font-weight: 700; line-height: 1.3; }
.kpi .bench[b-ugrq5zqzme] { font-size: 12px; color: var(--ui-muted); }
.kpi svg.spark[b-ugrq5zqzme] { width: 100%; height: 38px; }
.kpi .tip[b-ugrq5zqzme] { font-size: 12.5px; color: var(--ui-ink-2); border-top: 1px dashed var(--ui-line-strong); padding-top: 8px; margin-top: 2px; }

/* ---------- formats ---------- */
.formats[b-ugrq5zqzme] { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.fmt[b-ugrq5zqzme] { border-radius: var(--ui-r-md); padding: 16px; border: 1px solid var(--ui-line); background: var(--ui-surface-raised); min-width: 0; }
.fmt.best[b-ugrq5zqzme] { outline: 2px solid var(--ui-accent-strong); background: var(--ui-accent-soft); }
.fmt .name[b-ugrq5zqzme] { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-weight: 700; flex-wrap: wrap; }
.fmt .dot[b-ugrq5zqzme] { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-inline-end: 6px; }
.fmt dl[b-ugrq5zqzme] { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; margin: 12px 0 0; font-size: 12.5px; }
.fmt dt[b-ugrq5zqzme] { color: var(--ui-muted); white-space: nowrap; }
.fmt dd[b-ugrq5zqzme] { margin: 0; font-weight: 700; }
.hbars[b-ugrq5zqzme] { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.hbar[b-ugrq5zqzme] { display: grid; grid-template-columns: 96px minmax(0, 1fr) 76px; gap: 10px; align-items: center; font-size: 13px; }
.hbar .track[b-ugrq5zqzme] { height: 22px; border-radius: 8px; background: var(--ui-surface-sunken); overflow: hidden; }
.hbar .track i[b-ugrq5zqzme] { display: block; height: 100%; border-radius: 8px; width: var(--w); animation: iga-grow-b-ugrq5zqzme 1.1s var(--ui-ease) both; }

/* ---------- trend ---------- */
.trend-head[b-ugrq5zqzme] { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.chart-wrap[b-ugrq5zqzme] { position: relative; width: 100%; overflow: hidden; }
.chart-wrap svg[b-ugrq5zqzme] { width: 100%; height: auto; display: block; }
.chart-wrap rect.b[b-ugrq5zqzme] { transition: opacity .15s; }
.chart-wrap rect.b:hover[b-ugrq5zqzme] { opacity: 1; filter: brightness(1.12); }
.legend[b-ugrq5zqzme] { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--ui-muted); margin-top: 8px; }
.legend span[b-ugrq5zqzme] { display: inline-flex; align-items: center; gap: 6px; }
.legend i[b-ugrq5zqzme] { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ---------- posts ---------- */
.posts[b-ugrq5zqzme] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .posts[b-ugrq5zqzme] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .posts[b-ugrq5zqzme] { grid-template-columns: minmax(0, 1fr); } }
.post[b-ugrq5zqzme] { border-radius: var(--ui-r-md); overflow: hidden; border: 1px solid var(--ui-line); background: var(--ui-surface-strong); display: flex; flex-direction: column; min-width: 0; animation: iga-up-b-ugrq5zqzme .45s var(--ui-ease) both; }
.iga .thumb[b-ugrq5zqzme] { aspect-ratio: 4 / 5; position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; }
.thumb img[b-ugrq5zqzme] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb .type[b-ugrq5zqzme] { position: absolute; top: 10px; inset-inline-start: 10px; font-size: 11.5px; padding: 3px 9px; border-radius: 99px; background: rgba(0, 0, 0, .5); color: #fff; }
.thumb .rank[b-ugrq5zqzme] { position: absolute; top: 10px; inset-inline-end: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--ui-accent); color: var(--ui-on-accent); }
.thumb .rank.low[b-ugrq5zqzme] { background: var(--ui-danger-soft); color: var(--ui-danger); }
.thumb .cover-text[b-ugrq5zqzme] { position: absolute; bottom: 12px; inset-inline: 12px; font-size: 13px; font-weight: 700; line-height: 1.5; text-align: center; background: rgba(0, 0, 0, .5); border-radius: 10px; padding: 6px 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post .body[b-ugrq5zqzme] { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post .nums[b-ugrq5zqzme] { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--ui-muted); }
.post .nums b[b-ugrq5zqzme] { color: var(--ui-ink); }
.post .why[b-ugrq5zqzme] { font-size: 13px; background: var(--ui-surface-sunken); border-radius: 10px; padding: 8px 10px; color: var(--ui-ink-2); }
.post .why b[b-ugrq5zqzme] { color: var(--ui-ink); }

@media (max-width: 560px) {
    .post[b-ugrq5zqzme] { display: grid; grid-template-columns: 108px minmax(0, 1fr); }
    .thumb[b-ugrq5zqzme] { aspect-ratio: auto; min-height: 100%; }
    .thumb .cover-text[b-ugrq5zqzme] { display: none; }
    .thumb .type[b-ugrq5zqzme] { top: auto; bottom: 8px; inset-inline-start: 8px; font-size: 10.5px; padding: 2px 7px; }
    .thumb .rank[b-ugrq5zqzme] { top: 8px; inset-inline-end: 8px; width: 26px; height: 26px; font-size: 12px; }
    .post .body[b-ugrq5zqzme] { padding: 10px 12px; }
}

/* ---------- timing ---------- */
.heat[b-ugrq5zqzme] { display: grid; grid-template-columns: 70px repeat(6, minmax(0, 1fr)); gap: 5px; font-size: 12px; }
.heat .h[b-ugrq5zqzme] { color: var(--ui-muted); text-align: center; align-self: end; }
.heat .d[b-ugrq5zqzme] { color: var(--ui-muted); display: flex; align-items: center; }
.heat .c[b-ugrq5zqzme] { height: 34px; border-radius: 8px; position: relative; background: var(--ui-surface-sunken); }
.heat .c.empty[b-ugrq5zqzme] { background: repeating-linear-gradient(-45deg, var(--ui-surface-sunken) 0 5px, transparent 5px 10px); }
.heat .c.top[b-ugrq5zqzme] { outline: 2px solid var(--ui-dark); }
.heat .c.top[b-ugrq5zqzme]::after { content: "★"; position: absolute; top: -9px; inset-inline-end: -6px; font-size: 13px; color: var(--ui-accent-strong); text-shadow: 0 0 2px var(--ui-dark); }
@media (max-width: 420px) { .heat[b-ugrq5zqzme] { grid-template-columns: 52px repeat(6, minmax(0, 1fr)); gap: 3px; font-size: 10.5px; } }
.weeks[b-ugrq5zqzme] { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 4px; margin-top: 8px; }
.weeks div[b-ugrq5zqzme] { height: 58px; border-radius: 7px; background: var(--ui-surface-sunken); display: flex; flex-direction: column-reverse; align-items: center; padding: 4px 0; gap: 3px; }
.weeks div.is-empty[b-ugrq5zqzme] { outline: 2px dashed var(--ui-danger); outline-offset: -2px; }
.weeks div i[b-ugrq5zqzme] { width: 8px; height: 8px; border-radius: 50%; }
@media (max-width: 640px) { .weeks[b-ugrq5zqzme] { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.week-stats[b-ugrq5zqzme] { margin-top: 14px; gap: 10px; }
.week-stats b[b-ugrq5zqzme] { font-size: 22px; }

/* ---------- captions ---------- */
.tags[b-ugrq5zqzme] { display: flex; gap: 6px; flex-wrap: wrap; }
.tag[b-ugrq5zqzme] { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--ui-line-strong); background: var(--ui-surface-raised); }
.tag.up[b-ugrq5zqzme] { border-color: var(--ui-success); color: var(--ui-success); background: var(--ui-success-soft); }
.tag.down[b-ugrq5zqzme] { border-color: var(--ui-danger); color: var(--ui-danger); background: var(--ui-danger-soft); }
.tag.new[b-ugrq5zqzme] { border-style: dashed; }
.meter[b-ugrq5zqzme] { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.meter .scale[b-ugrq5zqzme] { position: relative; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--ui-danger-soft), var(--ui-success-soft) 35%, var(--ui-success-soft) 55%, var(--ui-danger-soft)); }
.iga[dir="rtl"] .meter .scale[b-ugrq5zqzme] { background: linear-gradient(-90deg, var(--ui-danger-soft), var(--ui-success-soft) 35%, var(--ui-success-soft) 55%, var(--ui-danger-soft)); }
.meter .scale b[b-ugrq5zqzme] { position: absolute; top: -5px; width: 4px; height: 20px; border-radius: 3px; background: var(--ui-dark); margin-inline-start: -2px; }
.meter .ticks[b-ugrq5zqzme] { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ui-muted); }
.hook[b-ugrq5zqzme] { display: flex; gap: 10px; align-items: baseline; }
.hook b[b-ugrq5zqzme] { font-size: 30px; }
.quote[b-ugrq5zqzme] { font-size: 13px; border-inline-start: 3px solid var(--ui-accent-strong); padding: 4px 10px; margin: 6px 0; background: var(--ui-surface-raised); border-radius: 6px; display: block; }

/* ---------- visual ---------- */
.palette[b-ugrq5zqzme] { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 12px; }
.palette span[b-ugrq5zqzme] { width: 46px; height: 46px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.grid9[b-ugrq5zqzme] { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; border-radius: 12px; overflow: hidden; }
.grid9 div[b-ugrq5zqzme] { aspect-ratio: 1; position: relative; overflow: hidden; }
.grid9 div img[b-ugrq5zqzme] { width: 100%; height: 100%; object-fit: cover; display: block; }
.grid9 div.off[b-ugrq5zqzme] { outline: 3px solid var(--ui-danger); outline-offset: -3px; }
.grid9 div.off img[b-ugrq5zqzme] { opacity: .9; }

/* ---------- bio ---------- */
.checks[b-ugrq5zqzme] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checks li[b-ugrq5zqzme] { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.checks .ic[b-ugrq5zqzme] { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-top: 3px; }
.checks .yes .ic[b-ugrq5zqzme] { background: var(--ui-success-soft); color: var(--ui-success); }
.checks .no .ic[b-ugrq5zqzme] { background: var(--ui-danger-soft); color: var(--ui-danger); }
.checks .part .ic[b-ugrq5zqzme] { background: var(--ui-warning-soft); color: var(--ui-warning); }
.checks small[b-ugrq5zqzme] { display: block; color: var(--ui-muted); font-size: 12.5px; }
.bio-option[b-ugrq5zqzme] { border: 1px dashed var(--ui-line-strong); border-radius: var(--ui-r-sm); padding: 12px 14px; margin-top: 10px; background: var(--ui-surface-raised); position: relative; }
.bio-option pre[b-ugrq5zqzme] { margin: 0; font-family: inherit; white-space: pre-wrap; font-size: 14px; padding-inline-end: 56px; }
.bio-option .copy[b-ugrq5zqzme] { position: absolute; top: 10px; inset-inline-end: 10px; }
.hl[b-ugrq5zqzme] { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hl div[b-ugrq5zqzme] { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; width: 64px; text-align: center; }
.hl div span[b-ugrq5zqzme] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.hl i[b-ugrq5zqzme] { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 22px; background: var(--ui-surface-strong); border: 2px solid var(--ui-line-strong); }
.hl .new i[b-ugrq5zqzme] { border: 2px dashed var(--ui-accent-strong); background: var(--ui-accent-soft); }

/* ---------- comments ---------- */
.donut-wrap[b-ugrq5zqzme] { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.donut[b-ugrq5zqzme] { width: 140px; height: 140px; }
.themes[b-ugrq5zqzme] { display: flex; flex-direction: column; gap: 10px; }
.themes.moods[b-ugrq5zqzme] { flex: 1; min-width: 180px; }
.theme[b-ugrq5zqzme] { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; }
.theme .t[b-ugrq5zqzme] { font-size: 14px; font-weight: 700; }
.theme .t i[b-ugrq5zqzme] { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.theme .n[b-ugrq5zqzme] { font-size: 13px; color: var(--ui-muted); }
.theme .ex[b-ugrq5zqzme] { grid-column: 1 / -1; font-size: 12.5px; color: var(--ui-muted); }

/* ---------- competitors ---------- */
.table-wrap[b-ugrq5zqzme] { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.cmp[b-ugrq5zqzme] { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; min-width: 560px; }
.cmp th[b-ugrq5zqzme], .cmp td[b-ugrq5zqzme] { padding: 11px 12px; text-align: center; border-bottom: 1px solid var(--ui-line); }
.cmp th:first-child[b-ugrq5zqzme], .cmp td:first-child[b-ugrq5zqzme] { text-align: start; }
.cmp thead th[b-ugrq5zqzme] { font-size: 12.5px; color: var(--ui-muted); font-weight: 400; }
.cmp thead th b[b-ugrq5zqzme] { display: block; color: var(--ui-ink); font-size: 14px; }
.cmp .me[b-ugrq5zqzme] { background: var(--ui-accent-soft); }
.cmp thead th small.why[b-ugrq5zqzme] { display: block; margin-top: 4px; font-size: 11.5px; color: var(--ui-muted); font-weight: 400; max-width: 180px; margin-inline: auto; line-height: 1.5; }
.cmp td.win[b-ugrq5zqzme] { font-weight: 700; color: var(--ui-success); }
.cmp td.lose[b-ugrq5zqzme] { color: var(--ui-danger); }
.versus[b-ugrq5zqzme] { margin-top: 16px; }

/* ---------- action plan ---------- */
.plan[b-ugrq5zqzme] { display: flex; flex-direction: column; gap: 10px; }
.task[b-ugrq5zqzme] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px; border-radius: var(--ui-r-md); border: 1px solid var(--ui-line); background: var(--ui-surface-raised); transition: opacity .2s var(--ui-ease); cursor: pointer; }
.task input[b-ugrq5zqzme] { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--ui-dark); }
.task.done[b-ugrq5zqzme] { opacity: .55; }
.task.done .t[b-ugrq5zqzme] { text-decoration: line-through; }
.task .t[b-ugrq5zqzme] { font-weight: 700; font-size: 15px; }
.task p[b-ugrq5zqzme] { margin: 2px 0 0; font-size: 13.5px; color: var(--ui-ink-2); }
.task .meta[b-ugrq5zqzme] { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
@media (max-width: 560px) { .task[b-ugrq5zqzme] { grid-template-columns: auto minmax(0, 1fr); } .task .meta[b-ugrq5zqzme] { grid-column: 2; flex-direction: row; align-items: center; } }
.progress[b-ugrq5zqzme] { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ui-muted); }
.progress .bar[b-ugrq5zqzme] { width: 160px; }

/* ---------- calendar ---------- */
.cal[b-ugrq5zqzme] { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 980px) { .cal[b-ugrq5zqzme] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cal[b-ugrq5zqzme] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.day[b-ugrq5zqzme] { border-radius: var(--ui-r-sm); border: 1px solid var(--ui-line); background: var(--ui-surface-raised); padding: 10px; min-height: 150px; display: flex; flex-direction: column; gap: 6px; transition: all .2s var(--ui-ease); text-align: start; animation: iga-up-b-ugrq5zqzme .4s var(--ui-ease) both; }
button.day:hover[b-ugrq5zqzme] { transform: translateY(-2px); background: var(--ui-surface-strong); box-shadow: var(--ui-shadow-sm); }
.day.rest[b-ugrq5zqzme] { opacity: .65; }
.day .dt[b-ugrq5zqzme] { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; color: var(--ui-muted); }
.fmtb[b-ugrq5zqzme] { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; align-self: flex-start; color: #fff; }
.day .topic[b-ugrq5zqzme] { font-size: 13.5px; font-weight: 700; line-height: 1.55; }
.day.rest .topic[b-ugrq5zqzme] { font-weight: 400; }
.day .offering[b-ugrq5zqzme] { font-size: 11.5px; color: var(--ui-muted); border-top: 1px dashed var(--ui-line-strong); padding-top: 4px; }
.mix[b-ugrq5zqzme] { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 4px 0 12px; }
.small-sample[b-ugrq5zqzme] { display: flex; gap: 10px; align-items: flex-start; margin: 0 4px 14px; padding: 12px 14px; border-radius: var(--ui-r-sm); background: var(--ui-info-soft); color: var(--ui-ink-2); font-size: 13.5px; }
.small-sample i[b-ugrq5zqzme] { font-style: normal; }
.day .time[b-ugrq5zqzme] { font-size: 12px; color: var(--ui-muted); margin-top: auto; }

/* ---------- drawer ---------- */
.iga-drawer-bg[b-ugrq5zqzme] { position: fixed; inset: 0; background: rgba(20, 15, 8, .45); z-index: 2000; animation: iga-fade-b-ugrq5zqzme .25s both; }
@keyframes iga-fade-b-ugrq5zqzme { from { opacity: 0; } }
.iga-drawer[b-ugrq5zqzme] { position: fixed; top: 0; bottom: 0; right: 0; width: min(460px, 100%); background: var(--ui-bg-2, #f2eeda); color: var(--ui-ink); z-index: 2001; overflow: auto; padding: 22px; box-shadow: var(--ui-shadow-lg); animation: iga-slide-b-ugrq5zqzme .35s var(--ui-ease) both; line-height: 1.75; font-size: 15px; }
.iga-drawer[dir="ltr"][b-ugrq5zqzme] { right: auto; left: 0; }
@keyframes iga-slide-b-ugrq5zqzme { from { transform: translateX(100%); } }
.iga-drawer[dir="ltr"][b-ugrq5zqzme] { animation-name: iga-slide-left-b-ugrq5zqzme; }
@keyframes iga-slide-left-b-ugrq5zqzme { from { transform: translateX(-100%); } }
.iga-drawer h3[b-ugrq5zqzme] { font-size: 19px; margin: 6px 0 8px; }
.iga-drawer-date[b-ugrq5zqzme] { margin-top: 14px; }
.iga-drawer .field[b-ugrq5zqzme] { margin-top: 14px; }
.iga-drawer .field label[b-ugrq5zqzme] { font-size: 12.5px; color: var(--ui-muted); display: block; margin-bottom: 4px; }
.iga-drawer .field div[b-ugrq5zqzme] { background: var(--ui-surface-strong); border: 1px solid var(--ui-line); border-radius: 12px; padding: 10px 12px; font-size: 14px; white-space: pre-line; }
.iga-drawer-actions[b-ugrq5zqzme] { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }

.footer-note[b-ugrq5zqzme] { margin-top: 30px; text-align: center; font-size: 12.5px; color: var(--ui-muted); }

/* ---------- print ---------- */
@media print {
    .actions[b-ugrq5zqzme], .tabs[b-ugrq5zqzme], .iga-drawer[b-ugrq5zqzme], .iga-drawer-bg[b-ugrq5zqzme] { display: none !important; }
    .card[b-ugrq5zqzme] { box-shadow: none; backdrop-filter: none; break-inside: avoid; }
    .reveal[b-ugrq5zqzme] { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- the PDF button: busy while the server prints ---------- */
.pdf-button .pdf-idle[b-ugrq5zqzme], .pdf-button .pdf-busy[b-ugrq5zqzme] { display: inline-flex; align-items: center; gap: 6px; }
.pdf-button .pdf-busy[b-ugrq5zqzme] { display: none; }
.pdf-button[data-file-download-busy="1"][b-ugrq5zqzme] { pointer-events: none; opacity: .85; }
.pdf-button[data-file-download-busy="1"] .pdf-idle[b-ugrq5zqzme] { display: none; }
.pdf-button[data-file-download-busy="1"] .pdf-busy[b-ugrq5zqzme] { display: inline-flex; }
.pdf-button .spin[b-ugrq5zqzme] { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-inline-end-color: transparent; animation: iga-spin-b-ugrq5zqzme .8s linear infinite; }
@keyframes iga-spin-b-ugrq5zqzme { to { transform: rotate(360deg); } }
/* _content/AITranslationPlatform.Web/Components/Landing/LandingHero.razor.rz.scp.css */
/* =========================================================
   THE FIRST SCREEN OF THE HOME PAGE

   Dark and warm in both themes: the window is the bright thing
   here. The window is drawn in em on a canvas 112em wide, and
   the canvas sets its font size from its own width, so the whole
   scene scales as one picture between a tablet and a wide screen.

   Every scene is written in its finished state and animates in
   from a keyframe: with motion switched off, for a crawler or
   without the script, what shows is the finished scene.
   ========================================================= */

.hh[b-qrw6ccwkdk] {
    --hh-ink: #fff8ea;
    --hh-soft: rgba(255, 243, 220, .72);
    --hh-faint: rgba(255, 243, 220, .5);
    --hh-line: rgba(255, 232, 190, .14);
    --hh-gold: #fcd166;
    --hh-gold-deep: #e8aa2e;
    --hh-glass: rgba(255, 240, 212, .055);
    --hh-hold: 8.5s;
    --hh-title: clamp(2.3rem, min(4.7vw, 7.5vh), 4.4rem);
    --hh-radius: clamp(28px, 4vw, 56px);

    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(26px, 4.4vh, 54px) clamp(16px, 3vw, 40px) 0;
    border-radius: 0 0 var(--hh-radius) var(--hh-radius);
    background:
        radial-gradient(120% 86% at 50% -12%, #3b2c1a 0%, #1f160d 48%, #130e08 100%),
        #130e08;
    color: var(--hh-ink);
    text-align: center;
}

/* --------------------- the sky ------------------------- */

.hh-sky[b-qrw6ccwkdk] {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.hh-sky__glow[b-qrw6ccwkdk] {
    position: absolute;
    inset-block-start: -22%;
    inset-inline: -8%;
    height: 118%;
    opacity: 0;
    filter: blur(6px);
    transition: opacity 1.5s ease;
    animation: hh-drift-b-qrw6ccwkdk 22s ease-in-out infinite alternate;
}

    .hh-sky__glow.is-on[b-qrw6ccwkdk] {
        opacity: 1;
    }

.hh-sky__glow--0[b-qrw6ccwkdk] {
    background:
        radial-gradient(38% 42% at 74% 26%, rgba(252, 209, 102, .3), transparent 72%),
        radial-gradient(34% 40% at 22% 40%, rgba(232, 170, 46, .2), transparent 72%);
}

.hh-sky__glow--1[b-qrw6ccwkdk] {
    background:
        radial-gradient(38% 42% at 72% 28%, rgba(255, 138, 96, .28), transparent 72%),
        radial-gradient(34% 40% at 24% 42%, rgba(252, 209, 102, .16), transparent 72%);
}

.hh-sky__glow--2[b-qrw6ccwkdk] {
    background:
        radial-gradient(38% 42% at 70% 28%, rgba(174, 138, 255, .26), transparent 72%),
        radial-gradient(34% 40% at 26% 42%, rgba(255, 150, 120, .16), transparent 72%);
}

.hh-sky__glow--3[b-qrw6ccwkdk] {
    background:
        radial-gradient(38% 42% at 72% 28%, rgba(255, 122, 172, .24), transparent 72%),
        radial-gradient(34% 40% at 24% 42%, rgba(255, 170, 120, .15), transparent 72%);
}

.hh-sky__glow--4[b-qrw6ccwkdk] {
    background:
        radial-gradient(38% 42% at 72% 28%, rgba(96, 205, 190, .22), transparent 72%),
        radial-gradient(34% 40% at 24% 42%, rgba(252, 209, 102, .15), transparent 72%);
}

.hh-sky__glow--5[b-qrw6ccwkdk] {
    background:
        radial-gradient(38% 42% at 72% 28%, rgba(150, 214, 104, .22), transparent 72%),
        radial-gradient(34% 40% at 24% 42%, rgba(252, 209, 102, .15), transparent 72%);
}

.hh-sky__glow--6[b-qrw6ccwkdk] {
    background:
        radial-gradient(38% 42% at 72% 28%, rgba(120, 178, 255, .22), transparent 72%),
        radial-gradient(34% 40% at 24% 42%, rgba(252, 209, 102, .15), transparent 72%);
}

.hh-sky__dust[b-qrw6ccwkdk] {
    position: absolute;
    inset: -40px;
    background-image: radial-gradient(rgba(255, 232, 186, .55) 1px, transparent 1.6px);
    background-size: 44px 44px;
    opacity: .2;
    -webkit-mask-image: radial-gradient(58% 54% at 50% 26%, #000 0%, transparent 100%);
    mask-image: radial-gradient(58% 54% at 50% 26%, #000 0%, transparent 100%);
}

/* a horizon of light behind the window */
.hh-sky__arc[b-qrw6ccwkdk] {
    position: absolute;
    inset-inline: 50%;
    inset-block-end: -46%;
    width: 150%;
    aspect-ratio: 1;
    border: 1px solid rgba(252, 209, 102, .3);
    border-radius: 50%;
    translate: -50% 0;
    box-shadow:
        0 -30px 120px rgba(252, 209, 102, .16),
        inset 0 40px 120px rgba(252, 209, 102, .07);
}

@keyframes hh-drift-b-qrw6ccwkdk {
    from {
        transform: translate3d(-2.5%, -1%, 0) scale(1);
    }

    to {
        transform: translate3d(2.5%, 2.5%, 0) scale(1.07);
    }
}

/* --------------------- the sentence -------------------- */

.hh-copy[b-qrw6ccwkdk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(980px, 100%);
}

.hh-badge[b-qrw6ccwkdk] {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .42rem .95rem;
    border: 1px solid rgba(252, 209, 102, .3);
    border-radius: 999px;
    background: rgba(252, 209, 102, .09);
    color: #ffe6ab;
    font-size: .8rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

    .hh-badge i[b-qrw6ccwkdk] {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--hh-gold);
        box-shadow: 0 0 0 0 rgba(252, 209, 102, .55);
        animation: hh-ping-b-qrw6ccwkdk 2.6s ease-out infinite;
    }

@keyframes hh-ping-b-qrw6ccwkdk {
    to {
        box-shadow: 0 0 0 9px rgba(252, 209, 102, 0);
    }
}

.hh-title[b-qrw6ccwkdk] {
    margin: clamp(10px, 1.7vh, 18px) 0 0;
    color: var(--hh-ink);
    font-size: var(--hh-title);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.012em;
}

.hh-title__lead[b-qrw6ccwkdk] {
    display: block;
}

    .hh-title__lead b[b-qrw6ccwkdk] {
        font-weight: 900;
    }

.hh-rotor[b-qrw6ccwkdk] {
    position: relative;
    display: grid;
    justify-items: center;
}

.hh-rotor__line[b-qrw6ccwkdk] {
    grid-area: 1 / 1;
    padding-block: .05em .12em;
    background: linear-gradient(100deg, #ffe9b0 0%, #fcd166 34%, #f0ae35 66%, #ffe2a0 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
    opacity: 0;
    translate: 0 .42em;
    filter: blur(9px);
    transition:
        opacity .55s ease,
        translate .75s cubic-bezier(.2, .9, .25, 1),
        filter .55s ease;
}

    .hh-rotor__line.is-on[b-qrw6ccwkdk] {
        opacity: 1;
        translate: 0 0;
        filter: none;
        animation: hh-shine-b-qrw6ccwkdk 4.5s ease-in-out infinite alternate;
    }

    .hh-rotor__line.is-leaving[b-qrw6ccwkdk] {
        translate: 0 -.42em;
    }

@keyframes hh-shine-b-qrw6ccwkdk {
    to {
        background-position: 100% 0;
    }
}

.hh-lede[b-qrw6ccwkdk] {
    width: min(760px, 100%);
    margin: clamp(6px, 1.2vh, 12px) 0 0;
    color: var(--hh-soft);
    font-size: clamp(.96rem, 1.2vw, 1.08rem);
    font-weight: 500;
    line-height: 1.85;
}

.hh-actions[b-qrw6ccwkdk] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .7rem;
    margin-top: clamp(12px, 2vh, 20px);
}

.hh-start[b-qrw6ccwkdk],
.hh-more[b-qrw6ccwkdk] {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 52px;
    padding: 0 1.55rem;
    border-radius: 17px;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        translate .32s cubic-bezier(.2, .9, .25, 1),
        box-shadow .32s ease,
        background .32s ease,
        border-color .32s ease;
}

.hh-start[b-qrw6ccwkdk] {
    background: linear-gradient(135deg, #ffe08c, #f6c243 55%, #e8aa2e);
    color: #3a2a08;
    box-shadow:
        0 16px 38px -12px rgba(246, 194, 67, .62),
        inset 0 1px 0 rgba(255, 255, 255, .55);
}

    .hh-start svg[b-qrw6ccwkdk] {
        width: 19px;
        height: 19px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.3;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: translate .32s cubic-bezier(.2, .9, .25, 1);
    }

    .hh-start:hover[b-qrw6ccwkdk] {
        translate: 0 -2px;
        box-shadow:
            0 22px 46px -12px rgba(246, 194, 67, .78),
            inset 0 1px 0 rgba(255, 255, 255, .6);
    }

[dir="rtl"] .hh-start svg[b-qrw6ccwkdk] {
    scale: -1 1;
}

.hh-start:hover svg[b-qrw6ccwkdk] {
    translate: 4px 0;
}

[dir="rtl"] .hh-start:hover svg[b-qrw6ccwkdk] {
    translate: -4px 0;
}

.hh-more[b-qrw6ccwkdk] {
    border: 1px solid var(--hh-line);
    background: var(--hh-glass);
    color: var(--hh-ink);
    backdrop-filter: blur(10px);
}

    .hh-more:hover[b-qrw6ccwkdk] {
        translate: 0 -2px;
        border-color: rgba(252, 209, 102, .4);
        background: rgba(255, 240, 212, .1);
    }

/* --------------------- the tabs ------------------------ */

.hh-show[b-qrw6ccwkdk] {
    width: min(1180px, 100%);
    margin-top: clamp(16px, 2.6vh, 26px);
}

/* Seven tabs share the row equally, none narrower than its name; where the names no
   longer fit (a narrow screen, longer English names) the row scrolls and the
   script keeps the active tab in view. */
.hh-tabs[b-qrw6ccwkdk] {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 6px;
    border: 1px solid var(--hh-line);
    border-radius: 22px;
    background: rgba(24, 17, 10, .5);
    backdrop-filter: blur(16px);
}

.hh-tabs[b-qrw6ccwkdk]::-webkit-scrollbar {
    display: none;
}

.hh-tab[b-qrw6ccwkdk] {
    --tone: #fcd166;

    position: relative;
    display: flex;
    /* equal shares of the row, never narrower than the name (the tab clips its
       bar, so its automatic minimum would be zero; the note adds no width) */
    flex: 1 0 0;
    min-width: max-content;
    align-items: center;
    gap: .5rem;
    padding: .55rem .55rem .62rem;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: var(--hh-soft);
    font: inherit;
    text-align: start;
    cursor: pointer;
    transition: background .35s ease, color .35s ease;
}

.hh-tab--voice[b-qrw6ccwkdk] {
    --tone: #ff9d78;
}

.hh-tab--podcast[b-qrw6ccwkdk] {
    --tone: #bda1ff;
}

.hh-tab--dubbing[b-qrw6ccwkdk] {
    --tone: #ff8fbb;
}

.hh-tab--article[b-qrw6ccwkdk] {
    --tone: #6fd9c9;
}

.hh-tab--defense[b-qrw6ccwkdk] {
    --tone: #a8de7a;
}

.hh-tab--tools[b-qrw6ccwkdk] {
    --tone: #8fc2ff;
}

    .hh-tab:hover[b-qrw6ccwkdk] {
        background: rgba(255, 240, 212, .06);
    }

    .hh-tab.is-on[b-qrw6ccwkdk] {
        background: rgba(255, 240, 212, .1);
        color: var(--hh-ink);
    }

    .hh-tab:focus-visible[b-qrw6ccwkdk] {
        outline: 2px solid var(--hh-gold);
        outline-offset: 1px;
    }

.hh-tab__icon[b-qrw6ccwkdk] {
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(255, 240, 212, .08);
    color: var(--tone);
    transition: background .35s ease, color .35s ease, scale .45s cubic-bezier(.2, .9, .25, 1);
}

    .hh-tab__icon svg[b-qrw6ccwkdk] {
        width: 19px;
        height: 19px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.hh-tab.is-on .hh-tab__icon[b-qrw6ccwkdk] {
    background: var(--tone);
    color: #2a1d0b;
    scale: 1.05;
}

.hh-tab__text[b-qrw6ccwkdk] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

    .hh-tab__text strong[b-qrw6ccwkdk] {
        font-size: .88rem;
        font-weight: 800;
        white-space: nowrap;
    }

    /* the note never widens its tab: it takes the name's width and trails off */
    .hh-tab__text small[b-qrw6ccwkdk] {
        contain: inline-size;
        overflow: hidden;
        color: var(--hh-faint);
        font-size: .7rem;
        font-weight: 500;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.hh-tab__bar[b-qrw6ccwkdk] {
    position: absolute;
    inset-block-end: 3px;
    inset-inline: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--tone);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
}

[dir="rtl"] .hh-tab__bar[b-qrw6ccwkdk] {
    transform-origin: right center;
}

.hh-tab.is-on .hh-tab__bar[b-qrw6ccwkdk] {
    opacity: 1;
    animation: hh-fill-b-qrw6ccwkdk var(--hh-hold) linear forwards;
}

/* the visitor is looking: the scene stays until they stop */
.hh:has(.hh-stage:hover) .hh-tab.is-on .hh-tab__bar[b-qrw6ccwkdk] {
    animation-play-state: paused;
}

@keyframes hh-fill-b-qrw6ccwkdk {
    to {
        transform: scaleX(1);
    }
}

/* --------------------- the window ---------------------- */

.hh-stage[b-qrw6ccwkdk] {
    --flat: 0;
    --px: 0;
    --py: 0;

    position: relative;
    z-index: 1;
    margin: 14px 0 clamp(-190px, -14vw, -70px);
    perspective: 2200px;
    perspective-origin: 50% 0;
}

.hh-window[b-qrw6ccwkdk] {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 232, 190, .22);
    border-radius: 24px;
    background: linear-gradient(170deg, #2e2317 0%, #1b140c 100%);
    box-shadow:
        0 60px 120px -40px rgba(0, 0, 0, .8),
        0 24px 50px -24px rgba(0, 0, 0, .6),
        inset 0 1px 0 rgba(255, 244, 222, .12);
    container-type: inline-size;
    transform:
        rotateX(calc((1 - var(--flat)) * 11deg + var(--py) * -1.4deg))
        rotateY(calc(var(--px) * 1.8deg))
        scale(calc(.965 + var(--flat) * .035));
    transform-origin: 50% 0;
    transition: transform .7s cubic-bezier(.2, .8, .25, 1);
    will-change: transform;
}

.hh-chrome[b-qrw6ccwkdk] {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 42px;
    border-bottom: 1px solid rgba(255, 232, 190, .1);
    background: rgba(255, 240, 212, .035);
}

.hh-chrome__dots[b-qrw6ccwkdk] {
    position: absolute;
    inset-inline-start: 16px;
    display: flex;
    gap: 7px;
}

    .hh-chrome__dots i[b-qrw6ccwkdk] {
        width: 11px;
        height: 11px;
        border-radius: 50%;
        background: rgba(255, 240, 212, .2);
    }

        .hh-chrome__dots i:first-child[b-qrw6ccwkdk] {
            background: var(--hh-gold);
        }

.hh-chrome__address[b-qrw6ccwkdk] {
    display: inline-flex;
    align-items: center;
    gap: .32rem;
    min-width: 280px;
    max-width: 52%;
    justify-content: center;
    padding: .28rem .9rem;
    border-radius: 9px;
    background: rgba(0, 0, 0, .28);
    color: var(--hh-faint);
    font-size: .74rem;
    font-weight: 600;
}

    .hh-chrome__address svg[b-qrw6ccwkdk] {
        width: 13px;
        height: 13px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
    }

    .hh-chrome__address b[b-qrw6ccwkdk] {
        margin-inline-start: -.32rem;
        color: var(--hh-ink);
        font-weight: 600;
    }

.hh-canvas[b-qrw6ccwkdk] {
    position: relative;
    aspect-ratio: 112 / 54;
    font-size: 10px;
    font-size: calc(100cqw / 112);
    color: var(--hh-ink);
    text-align: start;
}

.hh-scene[b-qrw6ccwkdk] {
    position: absolute;
    inset: 0;
    display: grid;
    gap: 1.8em;
    padding: 2.4em;
    opacity: 0;
    visibility: hidden;
    transition: opacity .55s ease, visibility 0s linear .55s;
}

    .hh-scene.is-on[b-qrw6ccwkdk] {
        opacity: 1;
        visibility: visible;
        transition: opacity .55s ease .1s;
    }

@keyframes hh-rise-b-qrw6ccwkdk {
    from {
        opacity: 0;
        translate: 0 1.4em;
        filter: blur(.5em);
    }
}

/* --------------------- 1. translation ------------------ */

.hh-scene--translate[b-qrw6ccwkdk] {
    grid-template-columns: minmax(0, 1fr) 26em;
    align-items: center;
}

.t-slide__frame[b-qrw6ccwkdk] {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 1.2em;
    box-shadow:
        0 2.4em 5em -1.6em rgba(0, 0, 0, .75),
        0 0 0 1px rgba(255, 232, 190, .18);
}

.t-slide__page[b-qrw6ccwkdk],
.t-slide__from img[b-qrw6ccwkdk] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t-slide__from[b-qrw6ccwkdk] {
    position: absolute;
    inset: 0;
    clip-path: inset(0 100% 0 0);
}

.is-on .t-slide__from[b-qrw6ccwkdk] {
    animation: t-wipe-b-qrw6ccwkdk var(--hh-hold) cubic-bezier(.7, 0, .3, 1) both;
}

.t-slide__scan[b-qrw6ccwkdk] {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.is-on .t-slide__scan[b-qrw6ccwkdk] {
    animation: t-scan-b-qrw6ccwkdk var(--hh-hold) cubic-bezier(.7, 0, .3, 1) both;
}

    .t-slide__scan i[b-qrw6ccwkdk] {
        position: absolute;
        inset-block: 0;
        right: 0;
        width: 12em;
        border-right: .22em solid var(--hh-gold);
        background: linear-gradient(90deg, transparent, rgba(252, 209, 102, .3));
        translate: 100% 0;
        scale: -1 1;
        box-shadow: 0 0 2em rgba(252, 209, 102, .6);
    }

@keyframes t-wipe-b-qrw6ccwkdk {
    0%, 16% {
        clip-path: inset(0 0 0 0);
    }

    62%, 100% {
        clip-path: inset(0 100% 0 0);
    }
}

@keyframes t-scan-b-qrw6ccwkdk {
    0%, 15% {
        opacity: 0;
        translate: 0 0;
    }

    17% {
        opacity: 1;
        translate: 0 0;
    }

    60% {
        opacity: 1;
        translate: -100% 0;
    }

    63%, 100% {
        opacity: 0;
        translate: -100% 0;
    }
}

.t-side[b-qrw6ccwkdk] {
    display: flex;
    flex-direction: column;
    gap: 1.4em;
}

.t-pair[b-qrw6ccwkdk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1em 1.3em;
    border: 1px solid var(--hh-line);
    border-radius: 1.3em;
    background: var(--hh-glass);
    font-size: 1.32em;
    font-weight: 800;
}

    .t-pair svg[b-qrw6ccwkdk] {
        width: 1.3em;
        height: 1.3em;
        fill: none;
        stroke: var(--hh-gold);
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.t-steps[b-qrw6ccwkdk] {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .t-steps li[b-qrw6ccwkdk] {
        display: flex;
        align-items: center;
        gap: .8em;
        color: var(--hh-ink);
        font-size: 1.36em;
        font-weight: 600;
    }

    .t-steps i[b-qrw6ccwkdk] {
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        width: 1.75em;
        height: 1.75em;
        border-radius: 50%;
        background: rgba(120, 214, 150, .17);
        color: #8fe3a9;
    }

    .t-steps svg[b-qrw6ccwkdk] {
        width: 1.1em;
        height: 1.1em;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.is-on .t-steps li[b-qrw6ccwkdk] {
    animation: hh-rise-b-qrw6ccwkdk .55s cubic-bezier(.2, .9, .25, 1) calc(var(--i) * .7s + 1.1s) both;
}

.t-done[b-qrw6ccwkdk] {
    display: flex;
    align-items: center;
    gap: .65em;
    padding: .9em 1em;
    border-radius: 1em;
    background: linear-gradient(135deg, #ffe08c, #f6c243 60%, #e8aa2e);
    color: #3a2a08;
    font-size: 1.28em;
    font-weight: 800;
    box-shadow: 0 1.2em 2.6em -1em rgba(246, 194, 67, .6);
}

    .t-done svg[b-qrw6ccwkdk] {
        flex: 0 0 auto;
        width: 1.3em;
        height: 1.3em;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.3;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.is-on .t-done[b-qrw6ccwkdk] {
    animation: hh-rise-b-qrw6ccwkdk .6s cubic-bezier(.2, .9, .25, 1) 4.3s both;
}

/* --------------------- 2. voice ------------------------ */

.hh-scene--voice[b-qrw6ccwkdk] {
    grid-template-columns: minmax(0, 1fr) 31em;
    grid-template-rows: minmax(0, 1fr) auto;
}

.v-editor[b-qrw6ccwkdk] {
    display: flex;
    flex-direction: column;
    gap: 1.6em;
    min-height: 0;
    padding: 2em 2.2em;
    border-radius: 1.5em;
    background: #fbf6ec;
    color: #2b2318;
    box-shadow: 0 2em 4em -1.8em rgba(0, 0, 0, .7);
}

.v-editor__bar[b-qrw6ccwkdk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1em;
    border-bottom: 1px solid rgba(60, 44, 24, .12);
    font-size: 1.24em;
}

    .v-editor__bar strong[b-qrw6ccwkdk] {
        font-weight: 800;
    }

    .v-editor__bar span[b-qrw6ccwkdk] {
        color: #8b7f6d;
        font-weight: 600;
    }

.v-text[b-qrw6ccwkdk] {
    flex: 1;
    margin: 0;
    font-size: 2.5em;
    font-weight: 700;
    line-height: 2;
}

.v-tones[b-qrw6ccwkdk] {
    display: flex;
    align-items: center;
    gap: .55em;
    font-size: 1.2em;
}

    .v-tones span[b-qrw6ccwkdk] {
        color: #8b7f6d;
        font-weight: 600;
    }

    .v-tones b[b-qrw6ccwkdk] {
        padding: .24em .75em;
        border: 1px solid rgba(60, 44, 24, .14);
        border-radius: .7em;
        color: #5e5343;
        font-weight: 700;
    }

        .v-tones b.is-picked[b-qrw6ccwkdk] {
            border-color: #ef7f4f;
            background: #ffe8dc;
            color: #a34a22;
        }

.v-word[b-qrw6ccwkdk] {
    border-radius: .3em;
    color: #2b2318;
}

.is-on .v-word[b-qrw6ccwkdk] {
    animation: v-say-b-qrw6ccwkdk .5s ease calc(var(--i) * .36s + .7s) both;
}

@keyframes v-say-b-qrw6ccwkdk {
    from {
        color: #c7bcaa;
    }

    40% {
        background: rgba(252, 209, 102, .55);
    }
}

.v-tag[b-qrw6ccwkdk] {
    display: inline-block;
    padding: 0 .4em;
    border-radius: .4em;
    background: #fdefc6;
    color: #8a6516;
    font-size: .68em;
    font-weight: 800;
    vertical-align: .14em;
}

.is-on .v-tag--late[b-qrw6ccwkdk] {
    animation: hh-rise-b-qrw6ccwkdk .4s ease 4.6s both;
}

.v-side[b-qrw6ccwkdk] {
    display: flex;
    flex-direction: column;
    gap: .9em;
    min-height: 0;
}

.v-side__title[b-qrw6ccwkdk] {
    color: var(--hh-faint);
    font-size: 1.2em;
    font-weight: 700;
}

.v-voice[b-qrw6ccwkdk] {
    display: flex;
    align-items: center;
    gap: .9em;
    padding: .85em 1em;
    border: 1px solid var(--hh-line);
    border-radius: 1.2em;
    background: var(--hh-glass);
}

    .v-voice.is-picked[b-qrw6ccwkdk] {
        border-color: rgba(255, 157, 120, .6);
        background: rgba(255, 157, 120, .12);
    }

    .v-voice > span[b-qrw6ccwkdk] {
        display: flex;
        flex-direction: column;
        min-width: 0;
        margin-inline-end: auto;
    }

    .v-voice strong[b-qrw6ccwkdk] {
        font-size: 1.32em;
        font-weight: 800;
    }

    .v-voice small[b-qrw6ccwkdk] {
        color: var(--hh-faint);
        font-size: 1.06em;
        font-weight: 500;
    }

.v-voice__face[b-qrw6ccwkdk] {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 3.4em;
    height: 3.4em;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffb48f, #ff8a60);
    color: #3b1c0d;
    font-size: 1.1em;
    font-style: normal;
    font-weight: 900;
}

.v-voice__face--1[b-qrw6ccwkdk] {
    background: linear-gradient(145deg, #e8d5b0, #b3a189);
}

.v-voice__face--2[b-qrw6ccwkdk] {
    background: linear-gradient(145deg, #ffe08c, #e8aa2e);
}

.v-eq[b-qrw6ccwkdk] {
    display: flex;
    align-items: end;
    gap: .22em;
    height: 1.7em;
}

    .v-eq i[b-qrw6ccwkdk] {
        width: .3em;
        height: 100%;
        border-radius: .2em;
        background: #ff9d78;
        transform-origin: bottom;
    }

.is-on .v-eq i[b-qrw6ccwkdk] {
    animation: v-eq-b-qrw6ccwkdk 1s ease-in-out infinite alternate;
}

    .is-on .v-eq i:nth-child(2)[b-qrw6ccwkdk] {
        animation-delay: -.35s;
    }

    .is-on .v-eq i:nth-child(3)[b-qrw6ccwkdk] {
        animation-delay: -.7s;
    }

@keyframes v-eq-b-qrw6ccwkdk {
    from {
        transform: scaleY(.3);
    }
}

.v-kinds[b-qrw6ccwkdk] {
    display: flex;
    flex-wrap: wrap;
    gap: .5em;
    margin-top: auto;
}

    .v-kinds span[b-qrw6ccwkdk] {
        padding: .32em .7em;
        border-radius: .7em;
        background: rgba(255, 240, 212, .08);
        color: var(--hh-soft);
        font-size: 1.08em;
        font-weight: 600;
    }

.v-player[b-qrw6ccwkdk] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 1.6em;
    padding: 1.2em 1.6em;
    border: 1px solid var(--hh-line);
    border-radius: 1.5em;
    background: var(--hh-glass);
}

.v-play[b-qrw6ccwkdk] {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 4.8em;
    height: 4.8em;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffb48f, #ff8a60);
    color: #3b1c0d;
    box-shadow: 0 0 0 .5em rgba(255, 157, 120, .16);
}

    .v-play svg[b-qrw6ccwkdk] {
        width: 2.2em;
        height: 2.2em;
        fill: currentColor;
    }

.v-wave[b-qrw6ccwkdk] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: .36em;
    height: 6.2em;
}

    .v-wave i[b-qrw6ccwkdk] {
        flex: 1;
        min-width: 0;
        height: var(--h);
        border-radius: .3em;
        background: #ff9d78;
    }

.is-on .v-wave i[b-qrw6ccwkdk] {
    animation: v-bar-b-qrw6ccwkdk .45s ease calc(var(--i) * .085s + .7s) both;
}

@keyframes v-bar-b-qrw6ccwkdk {
    from {
        background: rgba(255, 240, 212, .2);
        transform: scaleY(.55);
    }
}

.v-time[b-qrw6ccwkdk] {
    color: var(--hh-soft);
    font-size: 1.3em;
    font-weight: 700;
}

/* --------------------- 3. podcast ---------------------- */

.hh-scene--podcast[b-qrw6ccwkdk] {
    grid-template-columns: 26em minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
}

.p-cover[b-qrw6ccwkdk] {
    display: flex;
    flex-direction: column;
    gap: .6em;
}

.p-cover__art[b-qrw6ccwkdk] {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    aspect-ratio: 1.2;
    overflow: hidden;
    border-radius: 1.6em;
    background: linear-gradient(150deg, #6e4fe0 0%, #a97bf5 52%, #ffc58f 100%);
    color: #fff;
}

    .p-cover__art svg[b-qrw6ccwkdk] {
        position: relative;
        width: 6.4em;
        height: 6.4em;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.5;
        stroke-linecap: round;
    }

    .p-cover__art i[b-qrw6ccwkdk] {
        position: absolute;
        width: 10em;
        height: 10em;
        border: .14em solid rgba(255, 255, 255, .5);
        border-radius: 50%;
        opacity: 0;
    }

.is-on .p-cover__art i[b-qrw6ccwkdk] {
    animation: p-ring-b-qrw6ccwkdk 3.4s ease-out infinite;
}

    .is-on .p-cover__art i:nth-child(2)[b-qrw6ccwkdk] {
        animation-delay: 1.1s;
    }

    .is-on .p-cover__art i:nth-child(3)[b-qrw6ccwkdk] {
        animation-delay: 2.2s;
    }

@keyframes p-ring-b-qrw6ccwkdk {
    from {
        opacity: .8;
        scale: .7;
    }

    to {
        opacity: 0;
        scale: 2.4;
    }
}

.p-cover strong[b-qrw6ccwkdk] {
    margin-top: .4em;
    font-size: 1.42em;
    font-weight: 800;
    line-height: 1.5;
}

.p-cover > span[b-qrw6ccwkdk] {
    color: var(--hh-faint);
    font-size: 1.14em;
    font-weight: 600;
}

.p-talk[b-qrw6ccwkdk] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1em;
    min-width: 0;
}

.p-talk__title[b-qrw6ccwkdk] {
    color: var(--hh-faint);
    font-size: 1.2em;
    font-weight: 700;
}

.p-line[b-qrw6ccwkdk] {
    display: flex;
    align-items: flex-end;
    gap: .9em;
    max-width: 84%;
}

.p-line--b[b-qrw6ccwkdk] {
    flex-direction: row-reverse;
    align-self: flex-end;
}

    .p-line i[b-qrw6ccwkdk] {
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        width: 3.2em;
        height: 3.2em;
        border-radius: 50%;
        background: linear-gradient(145deg, #cdb8ff, #9a75f0);
        color: #24133f;
        font-size: 1.1em;
        font-style: normal;
        font-weight: 900;
    }

.p-line--b i[b-qrw6ccwkdk] {
    background: linear-gradient(145deg, #ffe08c, #e8aa2e);
    color: #3a2a08;
}

.p-line p[b-qrw6ccwkdk] {
    margin: 0;
    padding: .8em 1.15em;
    border-radius: 1.2em;
    background: rgba(189, 161, 255, .16);
    font-size: 1.6em;
    font-weight: 600;
    line-height: 1.7;
}

.p-line--b p[b-qrw6ccwkdk] {
    background: rgba(252, 209, 102, .14);
}

.is-on .p-line[b-qrw6ccwkdk] {
    animation: hh-rise-b-qrw6ccwkdk .6s cubic-bezier(.2, .9, .25, 1) calc(var(--i) * 1.5s + .5s) both;
}

.p-mix[b-qrw6ccwkdk] {
    position: relative;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: .5em;
    overflow: hidden;
    padding: 1em 1.2em;
    border: 1px solid var(--hh-line);
    border-radius: 1.3em;
    background: var(--hh-glass);
}

.p-lane[b-qrw6ccwkdk] {
    position: relative;
    height: 1.5em;
    border-radius: .4em;
    background: rgba(255, 240, 212, .05);
}

    .p-lane i[b-qrw6ccwkdk] {
        position: absolute;
        inset-block: 0;
        left: calc(var(--s) * 1%);
        width: calc(var(--w) * 1%);
        border-radius: .4em;
        background: #bda1ff;
    }

.p-lane--b i[b-qrw6ccwkdk] {
    background: #ffd98a;
}

.p-lane--music i[b-qrw6ccwkdk] {
    background: repeating-linear-gradient(90deg, #e8aa2e 0 .22em, rgba(232, 170, 46, .35) .22em .44em);
}

.p-head[b-qrw6ccwkdk] {
    position: absolute;
    inset-block: .4em;
    left: 1.2em;
    width: .16em;
    border-radius: .2em;
    background: #fff;
    box-shadow: 0 0 1em rgba(255, 255, 255, .9);
}

.is-on .p-head[b-qrw6ccwkdk] {
    animation: p-head-b-qrw6ccwkdk var(--hh-hold) linear both;
}

@keyframes p-head-b-qrw6ccwkdk {
    from {
        left: 1.2em;
    }

    to {
        left: calc(100% - 1.2em);
    }
}

.p-feed[b-qrw6ccwkdk] {
    position: absolute;
    inset-block-start: 2.4em;
    inset-inline-end: 2.4em;
    display: flex;
    align-items: center;
    gap: .55em;
    padding: .5em .9em;
    border-radius: 1em;
    background: rgba(255, 157, 90, .16);
    color: #ffc7a1;
    font-size: 1.14em;
    font-weight: 700;
}

    .p-feed svg[b-qrw6ccwkdk] {
        width: 1.3em;
        height: 1.3em;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
    }

.is-on .p-feed[b-qrw6ccwkdk] {
    animation: hh-rise-b-qrw6ccwkdk .6s ease 5s both;
}

/* --------------------- 4. article ---------------------- */

.hh-scene--article[b-qrw6ccwkdk] {
    grid-template-columns: minmax(0, 1fr) 33em;
}

.a-paper[b-qrw6ccwkdk] {
    display: flex;
    flex-direction: column;
    gap: 1em;
    min-height: 0;
    overflow: hidden;
    padding: 2.2em 2.6em;
    border-radius: 1em;
    background: #fffdf8;
    color: #2b2318;
    box-shadow: 0 2em 4em -1.8em rgba(0, 0, 0, .7);
}

.a-paper__type[b-qrw6ccwkdk] {
    padding-bottom: .5em;
    border-bottom: .14em solid #2f8f7f;
    color: #2f8f7f;
    font-size: 1em;
    font-weight: 800;
    letter-spacing: .08em;
}

.a-paper__title[b-qrw6ccwkdk] {
    font-size: 2em;
    font-weight: 900;
    line-height: 1.4;
}

.a-paper__box[b-qrw6ccwkdk] {
    display: flex;
    flex-direction: column;
    gap: .62em;
    padding: 1em 1.2em;
    border-radius: .6em;
    background: #eef6f4;
}

.a-paper b[b-qrw6ccwkdk] {
    font-size: 1.1em;
    font-weight: 800;
}

.a-paper__box i[b-qrw6ccwkdk],
.a-paper__columns i[b-qrw6ccwkdk] {
    display: block;
    width: var(--w, 100%);
    height: .5em;
    border-radius: .3em;
    background: #cfc7b8;
    transform-origin: left center;
}

[dir="rtl"] .a-paper__box i[b-qrw6ccwkdk],
[dir="rtl"] .a-paper__columns i[b-qrw6ccwkdk] {
    transform-origin: right center;
}

.is-on .a-paper__box i[b-qrw6ccwkdk],
.is-on .a-paper__columns i[b-qrw6ccwkdk] {
    animation: a-write-b-qrw6ccwkdk .5s ease calc(var(--i) * .3s + .5s) both;
}

@keyframes a-write-b-qrw6ccwkdk {
    from {
        transform: scaleX(0);
    }
}

.a-paper__columns[b-qrw6ccwkdk] {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8em;
    min-height: 0;
}

    .a-paper__columns > div[b-qrw6ccwkdk] {
        display: flex;
        flex-direction: column;
        gap: .6em;
        min-height: 0;
    }

    .a-paper__columns small[b-qrw6ccwkdk] {
        color: #8b7f6d;
        font-size: .9em;
        font-weight: 700;
    }

.a-chart[b-qrw6ccwkdk] {
    display: flex;
    align-items: flex-end;
    gap: .6em;
    flex: 1;
    min-height: 5em;
    max-height: 13em;
    margin-top: .3em;
    padding: .5em .7em 0;
    border-radius: .5em;
    background: #f6f1e6;
}

    .a-chart u[b-qrw6ccwkdk] {
        flex: 1;
        height: calc(var(--v) * 1%);
        border-radius: .25em .25em 0 0;
        background: #2f8f7f;
        text-decoration: none;
        transform-origin: bottom;
    }

.is-on .a-chart u[b-qrw6ccwkdk] {
    animation: a-grow-b-qrw6ccwkdk .7s cubic-bezier(.2, .9, .25, 1) 2.2s both;
}

@keyframes a-grow-b-qrw6ccwkdk {
    from {
        transform: scaleY(0);
    }
}

.a-table[b-qrw6ccwkdk] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    margin-top: .3em;
    border: 1px solid #d9d0bf;
    border-radius: .35em;
    background: #d9d0bf;
}

    .a-table u[b-qrw6ccwkdk] {
        height: 1.35em;
        background: #fff;
        text-decoration: none;
    }

        .a-table u:nth-child(-n+3)[b-qrw6ccwkdk] {
            background: #2f8f7f;
        }

.a-side[b-qrw6ccwkdk] {
    display: flex;
    flex-direction: column;
    gap: .85em;
    min-height: 0;
}

.a-parts[b-qrw6ccwkdk] {
    display: flex;
    gap: .4em;
}

    .a-parts span[b-qrw6ccwkdk] {
        flex: 1;
        padding: .34em 0;
        border-radius: .6em;
        background: rgba(111, 217, 201, .16);
        color: #8fe8d8;
        font-size: 1.04em;
        font-weight: 700;
        text-align: center;
    }

.is-on .a-parts span[b-qrw6ccwkdk] {
    animation: hh-rise-b-qrw6ccwkdk .45s ease calc(var(--i) * .55s + .6s) both;
}

.a-side__title[b-qrw6ccwkdk] {
    margin-top: .3em;
    color: var(--hh-faint);
    font-size: 1.16em;
    font-weight: 700;
}

.a-source[b-qrw6ccwkdk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    padding: .85em 1em;
    border: 1px solid var(--hh-line);
    border-radius: 1em;
    background: var(--hh-glass);
}

.is-on .a-source[b-qrw6ccwkdk] {
    animation: hh-rise-b-qrw6ccwkdk .5s ease calc(var(--i) * .75s + 1s) both;
}

.a-source span[b-qrw6ccwkdk] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .4em;
}

.a-source u[b-qrw6ccwkdk] {
    display: block;
    height: .46em;
    border-radius: .3em;
    background: rgba(255, 240, 212, .3);
    text-decoration: none;
}

    .a-source u + u[b-qrw6ccwkdk] {
        width: 62%;
        background: rgba(255, 240, 212, .16);
    }

.a-source em[b-qrw6ccwkdk] {
    display: inline-flex;
    align-items: center;
    gap: .3em;
    padding: .24em .6em;
    border-radius: .7em;
    background: rgba(111, 217, 201, .16);
    color: #8fe8d8;
    font-size: 1.06em;
    font-style: normal;
    font-weight: 800;
}

    .a-source em svg[b-qrw6ccwkdk] {
        width: 1.05em;
        height: 1.05em;
        fill: none;
        stroke: currentColor;
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.a-styles[b-qrw6ccwkdk] {
    display: flex;
    flex-wrap: wrap;
    gap: .5em;
}

    .a-styles span[b-qrw6ccwkdk] {
        padding: .3em .7em;
        border-radius: .7em;
        background: rgba(255, 240, 212, .08);
        color: var(--hh-soft);
        font-size: 1.08em;
        font-weight: 700;
    }

.a-word[b-qrw6ccwkdk] {
    display: flex;
    align-items: center;
    gap: .9em;
    margin-top: auto;
    padding: .9em 1em;
    border-radius: 1.1em;
    background: linear-gradient(135deg, #2f8f7f, #1f6e73);
}

    .a-word i[b-qrw6ccwkdk] {
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        width: 3em;
        height: 3em;
        border-radius: .8em;
        background: #fff;
        color: #2b579a;
        font-size: 1.1em;
        font-style: normal;
        font-weight: 900;
    }

    .a-word span[b-qrw6ccwkdk] {
        display: flex;
        flex-direction: column;
    }

    .a-word strong[b-qrw6ccwkdk] {
        font-size: 1.28em;
        font-weight: 800;
    }

    .a-word small[b-qrw6ccwkdk] {
        color: rgba(255, 255, 255, .78);
        font-size: 1.04em;
        font-weight: 500;
    }

.is-on .a-word[b-qrw6ccwkdk] {
    animation: hh-rise-b-qrw6ccwkdk .6s cubic-bezier(.2, .9, .25, 1) 4.6s both;
}


/* --------------------- 4. dubbing ---------------------- */

.hh-scene--dubbing[b-qrw6ccwkdk] {
    grid-template-columns: minmax(0, 1fr) 30em;
    grid-template-rows: minmax(0, 1fr) auto;
}

.d-video[b-qrw6ccwkdk] {
    position: relative;
    min-height: 0;
    overflow: hidden;
    border-radius: 1.4em;
    background: linear-gradient(160deg, #2c3d55 0%, #1d2638 55%, #141a28 100%);
    box-shadow: 0 2em 4em -1.8em rgba(0, 0, 0, .75);
}

.d-video__picture[b-qrw6ccwkdk] {
    position: absolute;
    inset: 0;
}

/* a board behind two people talking */
.d-video__board[b-qrw6ccwkdk] {
    position: absolute;
    inset-block-start: 12%;
    inset-inline-start: 8%;
    display: flex;
    flex-direction: column;
    gap: 1em;
    width: 36%;
    padding: 1.6em;
    border-radius: 1em;
    background: rgba(255, 255, 255, .08);
}

    .d-video__board u[b-qrw6ccwkdk] {
        height: .7em;
        border-radius: .4em;
        background: rgba(255, 255, 255, .22);
    }

        .d-video__board u:nth-child(2)[b-qrw6ccwkdk] {
            width: 78%;
        }

        .d-video__board u:nth-child(3)[b-qrw6ccwkdk] {
            width: 56%;
        }

.d-video__host[b-qrw6ccwkdk],
.d-video__guest[b-qrw6ccwkdk] {
    position: absolute;
    inset-block-end: 0;
    width: 13em;
    height: 18em;
}

    .d-video__host[b-qrw6ccwkdk] {
        inset-inline-end: 22%;
    }

    .d-video__guest[b-qrw6ccwkdk] {
        inset-inline-end: 4%;
        width: 11.5em;
        height: 15.5em;
    }

    .d-video__host[b-qrw6ccwkdk]::before,
    .d-video__guest[b-qrw6ccwkdk]::before {
        content: "";
        position: absolute;
        inset-block-start: 0;
        inset-inline-start: 50%;
        width: 42%;
        aspect-ratio: 1;
        border-radius: 50%;
        background: linear-gradient(160deg, #f2c7a3, #c98d68);
        translate: -50% 0;
    }

    [dir="rtl"] .d-video__host[b-qrw6ccwkdk]::before,
    [dir="rtl"] .d-video__guest[b-qrw6ccwkdk]::before {
        translate: 50% 0;
    }

    .d-video__host[b-qrw6ccwkdk]::after,
    .d-video__guest[b-qrw6ccwkdk]::after {
        content: "";
        position: absolute;
        inset-block-end: 0;
        inset-inline: 0;
        height: 58%;
        border-radius: 46% 46% 0 0;
        background: linear-gradient(170deg, #ff8fbb, #b9507e);
    }

    .d-video__guest[b-qrw6ccwkdk]::after {
        background: linear-gradient(170deg, #ffd98a, #c9922e);
    }

.d-video__badge[b-qrw6ccwkdk] {
    position: absolute;
    inset-block-start: 1.4em;
    inset-inline-end: 1.4em;
    display: flex;
    align-items: center;
    gap: .5em;
    padding: .45em .9em;
    border-radius: 999px;
    background: rgba(0, 0, 0, .45);
    color: #ffd2e3;
    font-size: 1.12em;
    font-weight: 800;
}

    .d-video__badge i[b-qrw6ccwkdk] {
        width: .7em;
        height: .7em;
        border-radius: 50%;
        background: #ff5e9c;
        box-shadow: 0 0 .9em #ff5e9c;
    }

.is-on .d-video__badge i[b-qrw6ccwkdk] {
    animation: d-blink-b-qrw6ccwkdk 1.4s ease-in-out infinite;
}

@keyframes d-blink-b-qrw6ccwkdk {
    50% {
        opacity: .35;
    }
}

/* the subtitle: the English line, then the Persian dub in its place */
.d-sub[b-qrw6ccwkdk] {
    position: absolute;
    inset-block-end: 1.8em;
    inset-inline: 10%;
    display: grid;
    justify-items: center;
}

    .d-sub span[b-qrw6ccwkdk] {
        grid-area: 1 / 1;
        padding: .4em .9em;
        border-radius: .6em;
        background: rgba(0, 0, 0, .66);
        font-size: 1.62em;
        font-weight: 700;
        line-height: 1.5;
        text-align: center;
    }

    .d-sub__from[b-qrw6ccwkdk] {
        opacity: 0;
        color: rgba(255, 255, 255, .9);
    }

    .d-sub__to[b-qrw6ccwkdk] {
        color: #fff;
    }

.is-on .d-sub__from[b-qrw6ccwkdk] {
    animation: d-from-b-qrw6ccwkdk var(--hh-hold) ease both;
}

.is-on .d-sub__to[b-qrw6ccwkdk] {
    animation: d-to-b-qrw6ccwkdk var(--hh-hold) ease both;
}

@keyframes d-from-b-qrw6ccwkdk {
    0%, 6% {
        opacity: 0;
        translate: 0 .4em;
    }

    10%, 30% {
        opacity: 1;
        translate: 0 0;
    }

    36%, 100% {
        opacity: 0;
        translate: 0 -.4em;
    }
}

@keyframes d-to-b-qrw6ccwkdk {
    0%, 34% {
        opacity: 0;
        translate: 0 .4em;
    }

    40%, 100% {
        opacity: 1;
        translate: 0 0;
    }
}

.d-side[b-qrw6ccwkdk] {
    display: flex;
    flex-direction: column;
    gap: .9em;
    min-height: 0;
}

.d-side__title[b-qrw6ccwkdk] {
    margin-top: .2em;
    color: var(--hh-faint);
    font-size: 1.16em;
    font-weight: 700;
}

.d-speaker[b-qrw6ccwkdk] {
    display: flex;
    align-items: center;
    gap: .8em;
    padding: .8em 1em;
    border: 1px solid var(--hh-line);
    border-radius: 1.1em;
    background: var(--hh-glass);
}

    .d-speaker b[b-qrw6ccwkdk] {
        color: var(--hh-soft);
        font-size: 1.14em;
        font-weight: 700;
        white-space: nowrap;
    }

    .d-speaker > svg[b-qrw6ccwkdk] {
        flex: 0 0 auto;
        width: 1.3em;
        height: 1.3em;
        fill: none;
        stroke: #ff8fbb;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

[dir="rtl"] .d-speaker > svg[b-qrw6ccwkdk] {
    rotate: 180deg;
}

    .d-speaker span[b-qrw6ccwkdk] {
        display: flex;
        flex: 1;
        align-items: center;
        gap: .6em;
        min-width: 0;
    }

    .d-speaker span i[b-qrw6ccwkdk] {
        display: grid;
        place-items: center;
        width: 2.4em;
        height: 2.4em;
        border-radius: 50%;
        background: linear-gradient(145deg, #ffc1d8, #e8649a);
        color: #3d0f22;
        font-size: 1em;
        font-style: normal;
        font-weight: 900;
    }

    .d-speaker--1 span i[b-qrw6ccwkdk] {
        background: linear-gradient(145deg, #ffe08c, #e8aa2e);
        color: #3a2a08;
    }

    .d-speaker strong[b-qrw6ccwkdk] {
        font-size: 1.3em;
        font-weight: 800;
    }

    .d-speaker .v-eq i[b-qrw6ccwkdk] {
        background: #ff8fbb;
    }

    .d-speaker--1 .v-eq i[b-qrw6ccwkdk] {
        background: #ffd98a;
    }

.is-on .d-speaker[b-qrw6ccwkdk] {
    animation: hh-rise-b-qrw6ccwkdk .55s cubic-bezier(.2, .9, .25, 1) calc(var(--i) * .6s + 3.4s) both;
}

.d-steps[b-qrw6ccwkdk] {
    gap: .8em;
}

    .d-steps li[b-qrw6ccwkdk] {
        font-size: 1.2em;
    }

.d-options[b-qrw6ccwkdk] {
    display: flex;
    flex-wrap: wrap;
    gap: .5em;
}

    .d-options span[b-qrw6ccwkdk] {
        padding: .32em .7em;
        border-radius: .7em;
        background: rgba(255, 240, 212, .08);
        color: var(--hh-soft);
        font-size: 1.04em;
        font-weight: 600;
    }

.d-done[b-qrw6ccwkdk] {
    display: flex;
    align-items: center;
    gap: .65em;
    margin-top: auto;
    padding: .9em 1em;
    border-radius: 1em;
    background: linear-gradient(135deg, #ffb1cf, #f07aa8 60%, #d35a8a);
    color: #3d0f22;
    font-size: 1.2em;
    font-weight: 800;
    box-shadow: 0 1.2em 2.6em -1em rgba(240, 122, 168, .55);
}

    .d-done span[b-qrw6ccwkdk] {
        flex: 1;
    }

    .d-done b[b-qrw6ccwkdk] {
        font-size: .86em;
        font-weight: 800;
        opacity: .75;
    }

    .d-done svg[b-qrw6ccwkdk] {
        flex: 0 0 auto;
        width: 1.3em;
        height: 1.3em;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.3;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.is-on .d-done[b-qrw6ccwkdk] {
    animation: hh-rise-b-qrw6ccwkdk .6s cubic-bezier(.2, .9, .25, 1) 5.2s both;
}

.d-lane--original i[b-qrw6ccwkdk] {
    background: rgba(255, 240, 212, .22);
}

.d-lane--a i[b-qrw6ccwkdk] {
    background: #ff8fbb;
}

.d-lane--b i[b-qrw6ccwkdk] {
    background: #ffd98a;
}

/* --------------------- 6. defense ---------------------- */

.hh-scene--defense[b-qrw6ccwkdk] {
    grid-template-columns: minmax(0, 1fr) 30em;
    grid-template-rows: minmax(0, 1fr) auto;
}

.f-slide[b-qrw6ccwkdk] {
    display: flex;
    flex-direction: column;
    gap: 1em;
    min-height: 0;
    overflow: hidden;
    padding: 2em 2.4em 1.4em;
    border-radius: 1.2em;
    background:
        radial-gradient(70% 90% at 100% 0%, rgba(168, 222, 122, .16), transparent 70%),
        linear-gradient(150deg, #1d3557 0%, #142640 100%);
    box-shadow: 0 2em 4em -1.8em rgba(0, 0, 0, .75);
}

.f-slide__chapter[b-qrw6ccwkdk] {
    align-self: flex-start;
    padding: .3em .8em;
    border-radius: 999px;
    background: rgba(168, 222, 122, .18);
    color: #c6ef9f;
    font-size: 1.04em;
    font-weight: 800;
}

.f-slide__title[b-qrw6ccwkdk] {
    font-size: 2.1em;
    font-weight: 900;
    line-height: 1.4;
}

.f-slide__body[b-qrw6ccwkdk] {
    display: grid;
    flex: 1;
    grid-template-columns: 22em minmax(0, 1fr);
    gap: 2em;
    align-items: end;
    min-height: 0;
}

.f-chart[b-qrw6ccwkdk] {
    display: flex;
    align-items: flex-end;
    gap: 1.4em;
    height: 100%;
    max-height: 15em;
    padding: 0 1em;
    border-bottom: .14em solid rgba(255, 255, 255, .3);
}

    .f-chart u[b-qrw6ccwkdk] {
        flex: 1;
        height: calc(var(--v) * 1%);
        border-radius: .5em .5em 0 0;
        background: linear-gradient(180deg, #c6ef9f, #6fb04a);
        transform-origin: bottom;
    }

        .f-chart u:nth-child(-n+2)[b-qrw6ccwkdk] {
            background: linear-gradient(180deg, rgba(198, 239, 159, .55), rgba(111, 176, 74, .55));
        }

.is-on .f-chart u[b-qrw6ccwkdk] {
    animation: f-grow-b-qrw6ccwkdk .8s cubic-bezier(.2, .9, .25, 1) calc(var(--i) * .25s + .6s) both;
}

@keyframes f-grow-b-qrw6ccwkdk {
    from {
        transform: scaleY(0);
    }
}

.f-points[b-qrw6ccwkdk] {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .f-points li[b-qrw6ccwkdk] {
        position: relative;
        padding-inline-start: 1.4em;
        color: rgba(255, 255, 255, .9);
        font-size: 1.36em;
        font-weight: 600;
        line-height: 1.5;
    }

        .f-points li[b-qrw6ccwkdk]::before {
            content: "";
            position: absolute;
            inset-block-start: .55em;
            inset-inline-start: 0;
            width: .55em;
            height: .55em;
            border-radius: 50%;
            background: #a8de7a;
        }

.is-on .f-points li[b-qrw6ccwkdk] {
    animation: hh-rise-b-qrw6ccwkdk .55s cubic-bezier(.2, .9, .25, 1) calc(var(--i) * .6s + 1.6s) both;
}

.f-slide__foot[b-qrw6ccwkdk] {
    display: flex;
    align-items: center;
    gap: 1em;
    color: rgba(255, 255, 255, .6);
    font-size: 1em;
    font-weight: 700;
}

    .f-slide__foot i[b-qrw6ccwkdk] {
        flex: 1;
        height: .3em;
        border-radius: .2em;
        background: rgba(255, 255, 255, .14);
    }

        .f-slide__foot u[b-qrw6ccwkdk] {
            display: block;
            width: 50%;
            height: 100%;
            border-radius: inherit;
            background: #a8de7a;
        }

.f-side[b-qrw6ccwkdk] {
    display: flex;
    flex-direction: column;
    gap: 1em;
    min-height: 0;
}

.f-notes[b-qrw6ccwkdk],
.f-qa[b-qrw6ccwkdk] {
    display: flex;
    flex-direction: column;
    gap: .7em;
    padding: 1em 1.2em;
    border: 1px solid var(--hh-line);
    border-radius: 1.2em;
    background: var(--hh-glass);
}

.f-notes__head[b-qrw6ccwkdk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .f-notes__head strong[b-qrw6ccwkdk] {
        font-size: 1.24em;
        font-weight: 800;
    }

    .f-notes__head span[b-qrw6ccwkdk] {
        padding: .2em .6em;
        border-radius: .6em;
        background: rgba(168, 222, 122, .16);
        color: #c6ef9f;
        font-size: 1.04em;
        font-weight: 800;
    }

.f-notes > i[b-qrw6ccwkdk],
.f-qa__a i[b-qrw6ccwkdk] {
    width: var(--w, 100%);
    height: .6em;
    border-radius: .4em;
    background: rgba(255, 240, 212, .16);
}

.is-on .f-notes > i[b-qrw6ccwkdk] {
    animation: f-type-b-qrw6ccwkdk .5s ease calc(var(--i) * .35s + 2.2s) both;
}

@keyframes f-type-b-qrw6ccwkdk {
    from {
        width: 0;
    }
}

.f-qa__title[b-qrw6ccwkdk] {
    color: var(--hh-faint);
    font-size: 1.1em;
    font-weight: 700;
}

.f-qa__q[b-qrw6ccwkdk] {
    align-self: flex-start;
    margin: 0;
    padding: .55em .9em;
    border-radius: 1em;
    background: rgba(168, 222, 122, .18);
    font-size: 1.32em;
    font-weight: 700;
    line-height: 1.5;
}

.f-qa__a[b-qrw6ccwkdk] {
    display: flex;
    flex-direction: column;
    gap: .5em;
    padding: .7em .9em;
    border-radius: 1em;
    background: rgba(255, 240, 212, .06);
}

.is-on .f-qa[b-qrw6ccwkdk] {
    animation: hh-rise-b-qrw6ccwkdk .6s cubic-bezier(.2, .9, .25, 1) 3.6s both;
}

.f-files[b-qrw6ccwkdk] {
    display: flex;
    gap: .6em;
    margin-top: auto;
}

.f-file[b-qrw6ccwkdk] {
    flex: 1;
    padding: .7em 0;
    border-radius: .9em;
    color: #fff;
    font-size: 1.16em;
    font-weight: 900;
    letter-spacing: .04em;
    text-align: center;
}

.f-file--pptx[b-qrw6ccwkdk] {
    background: linear-gradient(135deg, #e8784a, #c4532a);
}

.f-file--docx[b-qrw6ccwkdk] {
    background: linear-gradient(135deg, #4a86e8, #2a5fc4);
}

.f-file--mp3[b-qrw6ccwkdk] {
    background: linear-gradient(135deg, #a8de7a, #5f9d3b);
    color: #1b2e0d;
}

.is-on .f-file[b-qrw6ccwkdk] {
    animation: hh-rise-b-qrw6ccwkdk .5s cubic-bezier(.2, .9, .25, 1) 5s both;
}

/* every slide of the deck, the one on screen lit */
.f-strip[b-qrw6ccwkdk] {
    grid-column: 1 / -1;
    display: flex;
    gap: .9em;
    padding: .8em 1em;
    border: 1px solid var(--hh-line);
    border-radius: 1.3em;
    background: var(--hh-glass);
}

    .f-strip i[b-qrw6ccwkdk] {
        display: flex;
        flex: 1;
        flex-direction: column;
        gap: .35em;
        aspect-ratio: 16 / 9;
        padding: .6em;
        border-radius: .5em;
        background: #1d3557;
        opacity: .55;
    }

        .f-strip i u[b-qrw6ccwkdk] {
            height: .35em;
            border-radius: .2em;
            background: rgba(255, 255, 255, .35);
        }

            .f-strip i u + u[b-qrw6ccwkdk] {
                width: 60%;
            }

        .f-strip i.is-now[b-qrw6ccwkdk] {
            opacity: 1;
            outline: .16em solid #a8de7a;
            outline-offset: .12em;
        }

.is-on .f-strip i[b-qrw6ccwkdk] {
    animation: hh-rise-b-qrw6ccwkdk .45s ease calc(var(--i) * .12s + .2s) both;
}

/* --------------------- 7. tools ------------------------ */

.hh-scene--tools[b-qrw6ccwkdk] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 1.4em;
}

.u-tile[b-qrw6ccwkdk] {
    display: flex;
    flex-direction: column;
    gap: 1em;
    min-height: 0;
    padding: 1.4em 1.5em;
    border: 1px solid var(--hh-line);
    border-radius: 1.5em;
    background: var(--hh-glass);
}

.is-on .u-tile[b-qrw6ccwkdk] {
    animation: hh-rise-b-qrw6ccwkdk .6s cubic-bezier(.2, .9, .25, 1) calc(var(--i) * .12s + .1s) both;
}

.u-tile strong[b-qrw6ccwkdk] {
    font-size: 1.42em;
    font-weight: 800;
}

.u-tile > div[b-qrw6ccwkdk] {
    flex: 1;
    min-height: 0;
    border-radius: 1em;
}

.u-size[b-qrw6ccwkdk] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5em;
    position: relative;
    background: rgba(0, 0, 0, .22);
}

.u-size__from[b-qrw6ccwkdk],
.u-size__to[b-qrw6ccwkdk] {
    grid-area: 1 / 1;
    font-size: 2.3em;
    font-weight: 900;
}

.u-size__from[b-qrw6ccwkdk] {
    position: absolute;
    translate: 0 -.42em;
    color: var(--hh-faint);
    opacity: 0;
}

.u-size__to[b-qrw6ccwkdk] {
    translate: 0 -.1em;
    color: #8fc2ff;
}

.is-on .u-size__from[b-qrw6ccwkdk] {
    animation: u-out-b-qrw6ccwkdk 5.6s ease 1s both;
}

.is-on .u-size__to[b-qrw6ccwkdk] {
    animation: u-in-b-qrw6ccwkdk 5.6s ease 1s both;
}

@keyframes u-out-b-qrw6ccwkdk {
    0%, 22% {
        opacity: 1;
    }

    34%, 100% {
        opacity: 0;
    }
}

@keyframes u-in-b-qrw6ccwkdk {
    0%, 26% {
        opacity: 0;
    }

    40%, 100% {
        opacity: 1;
    }
}

.u-size i[b-qrw6ccwkdk] {
    width: 62%;
    height: .7em;
    overflow: hidden;
    border-radius: .4em;
    background: rgba(255, 240, 212, .12);
}

.u-size u[b-qrw6ccwkdk] {
    display: block;
    width: 32%;
    height: 100%;
    border-radius: .4em;
    background: #8fc2ff;
}

.is-on .u-size u[b-qrw6ccwkdk] {
    animation: u-shrink-b-qrw6ccwkdk 1.3s cubic-bezier(.6, 0, .2, 1) 2s both;
}

@keyframes u-shrink-b-qrw6ccwkdk {
    from {
        width: 100%;
    }
}

.u-swap[b-qrw6ccwkdk] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    background: rgba(0, 0, 0, .22);
}

    .u-swap svg[b-qrw6ccwkdk] {
        width: 2em;
        height: 2em;
        fill: none;
        stroke: var(--hh-gold);
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.u-doc[b-qrw6ccwkdk] {
    display: grid;
    place-items: center;
    width: 5.2em;
    height: 6.4em;
    border-radius: .8em;
    background: #fff;
    font-size: 1.1em;
    font-weight: 900;
    box-shadow: 0 1em 2em -1em rgba(0, 0, 0, .7);
}

.u-doc--pdf[b-qrw6ccwkdk] {
    color: #d3382e;
}

.u-doc--word[b-qrw6ccwkdk] {
    background: #2b579a;
    color: #fff;
}

.is-on .u-doc--word[b-qrw6ccwkdk] {
    animation: u-pop-b-qrw6ccwkdk .6s cubic-bezier(.2, 1.4, .4, 1) 1.4s both;
}

@keyframes u-pop-b-qrw6ccwkdk {
    from {
        opacity: 0;
        scale: .5;
    }
}

.u-sharp[b-qrw6ccwkdk] {
    position: relative;
    overflow: hidden;
}

    .u-sharp img[b-qrw6ccwkdk] {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.u-sharp__soft[b-qrw6ccwkdk] {
    clip-path: inset(0 100% 0 0);
    image-rendering: pixelated;
}

.is-on .u-sharp__soft[b-qrw6ccwkdk] {
    animation: u-wipe-b-qrw6ccwkdk 3.4s cubic-bezier(.7, 0, .3, 1) 1.2s both;
}

@keyframes u-wipe-b-qrw6ccwkdk {
    from {
        clip-path: inset(0 0 0 0);
    }

    to {
        clip-path: inset(0 100% 0 0);
    }
}

.u-cut[b-qrw6ccwkdk] {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        repeating-conic-gradient(rgba(255, 255, 255, .13) 0 25%, rgba(255, 255, 255, .03) 0 50%) 0 0 / 1.6em 1.6em;
}

.u-cut__scene[b-qrw6ccwkdk] {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #6fa1c9, #dcb98a);
    opacity: 0;
}

.is-on .u-cut__scene[b-qrw6ccwkdk] {
    animation: u-gone-b-qrw6ccwkdk 1.2s ease 1.6s both;
}

@keyframes u-gone-b-qrw6ccwkdk {
    from {
        opacity: 1;
    }
}

.u-cut__bottle[b-qrw6ccwkdk] {
    position: relative;
    width: 4.6em;
    height: 8.6em;
    border-radius: 1.2em 1.2em .9em .9em;
    background: linear-gradient(135deg, #f6c243, #c98b1c);
    box-shadow: 0 .6em 1.4em rgba(0, 0, 0, .35);
}

    .u-cut__bottle[b-qrw6ccwkdk]::before {
        content: "";
        position: absolute;
        inset-block-end: 100%;
        inset-inline: 1.4em;
        height: 1.5em;
        border-radius: .4em .4em 0 0;
        background: #5a4227;
    }

    .u-cut__bottle u[b-qrw6ccwkdk] {
        position: absolute;
        inset: 3em .8em 2em;
        border-radius: .4em;
        background: #fff8ea;
    }

.u-read[b-qrw6ccwkdk] {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .75em;
    overflow: hidden;
    padding: 1em 1.3em;
    background: #fbf6ec;
}

    .u-read i[b-qrw6ccwkdk] {
        display: block;
        height: .55em;
        border-radius: .3em;
        background: #2b2318;
        transform-origin: right center;
    }

        .u-read i:nth-child(2)[b-qrw6ccwkdk] {
            width: 86%;
        }

        .u-read i:nth-child(3)[b-qrw6ccwkdk] {
            width: 94%;
        }

        .u-read i:nth-child(4)[b-qrw6ccwkdk] {
            width: 58%;
        }

[dir="ltr"] .u-read i[b-qrw6ccwkdk] {
    transform-origin: left center;
}

.is-on .u-read i[b-qrw6ccwkdk] {
    animation: a-write-b-qrw6ccwkdk .5s ease 1.5s both;
}

    .is-on .u-read i:nth-child(2)[b-qrw6ccwkdk] {
        animation-delay: 2s;
    }

    .is-on .u-read i:nth-child(3)[b-qrw6ccwkdk] {
        animation-delay: 2.5s;
    }

    .is-on .u-read i:nth-child(4)[b-qrw6ccwkdk] {
        animation-delay: 3s;
    }

.u-read b[b-qrw6ccwkdk] {
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 18%;
    background: linear-gradient(180deg, transparent, rgba(143, 194, 255, .55));
    border-bottom: .14em solid #5f9ee8;
    opacity: 0;
}

.is-on .u-read b[b-qrw6ccwkdk] {
    animation: u-scan-b-qrw6ccwkdk 2.6s ease-in-out 1.2s both;
}

@keyframes u-scan-b-qrw6ccwkdk {
    0% {
        top: -18%;
        opacity: 1;
    }

    92% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.u-clean[b-qrw6ccwkdk] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .34em;
    padding: .8em;
    background: rgba(0, 0, 0, .22);
}

    .u-clean i[b-qrw6ccwkdk] {
        flex: 1;
        height: var(--h);
        border-radius: .3em;
        background: #8fe3a9;
    }

.is-on .u-clean i[b-qrw6ccwkdk] {
    animation: u-noise-b-qrw6ccwkdk 1.6s ease 1.4s both;
}

@keyframes u-noise-b-qrw6ccwkdk {
    from {
        height: var(--n);
        background: rgba(255, 240, 212, .3);
    }
}

/* --------------------- smaller screens ----------------- */

/* seven tabs: the note under each name needs a wide screen */
@media (max-width: 1260px) {
    .hh-tab__text small[b-qrw6ccwkdk] {
        display: none;
    }
}

@media (max-width: 1080px) {
    .hh-tab[b-qrw6ccwkdk] {
        gap: .4rem;
        padding-inline: .45rem;
    }

    .hh-tab__icon[b-qrw6ccwkdk] {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        border-radius: 10px;
    }

        .hh-tab__icon svg[b-qrw6ccwkdk] {
            width: 17px;
            height: 17px;
        }

    .hh-tab__text strong[b-qrw6ccwkdk] {
        font-size: .8rem;
    }
}


/* The phone gets one column: the same scenes, stacked and larger. */
@media (max-width: 720px) {
    .hh[b-qrw6ccwkdk] {
        --hh-title: clamp(1.45rem, 7.4vw, 2.5rem);
        padding-top: 30px;
    }

    .hh-lede[b-qrw6ccwkdk] {
        font-size: .94rem;
        line-height: 1.9;
    }

    .hh-rotor__line[b-qrw6ccwkdk] {
        white-space: normal;
    }

    .hh-tabs[b-qrw6ccwkdk] {
        display: flex;
        margin-inline: -16px;
        padding: 6px 16px;
        overflow-x: auto;
        border-inline: 0;
        border-radius: 0;
        scrollbar-width: none;
    }

        .hh-tabs[b-qrw6ccwkdk]::-webkit-scrollbar {
            display: none;
        }

    .hh-tab[b-qrw6ccwkdk] {
        flex: 0 0 auto;
        padding: .42rem .7rem .5rem;
    }

    .hh-tab__icon[b-qrw6ccwkdk] {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        border-radius: 10px;
    }

        .hh-tab__icon svg[b-qrw6ccwkdk] {
            width: 18px;
            height: 18px;
        }

    .hh-tab__text strong[b-qrw6ccwkdk] {
        font-size: .84rem;
    }

    .hh-stage[b-qrw6ccwkdk] {
        margin-bottom: -56px;
        perspective: none;
    }

    .hh-window[b-qrw6ccwkdk] {
        border-radius: 18px;
        transform: none;
        transition: none;
    }

    .hh-chrome[b-qrw6ccwkdk] {
        height: 34px;
    }

    .hh-chrome__address[b-qrw6ccwkdk] {
        min-width: 0;
        max-width: 70%;
        font-size: .68rem;
    }

    .hh-canvas[b-qrw6ccwkdk] {
        aspect-ratio: 34 / 40;
        font-size: calc(100cqw / 34);
    }

    .hh-scene[b-qrw6ccwkdk] {
        gap: 1em;
        padding: 1.1em;
    }

    .hh-scene--translate[b-qrw6ccwkdk] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-content: center;
    }

    .t-side[b-qrw6ccwkdk] {
        gap: .8em;
    }

    .t-pair[b-qrw6ccwkdk] {
        display: none;
    }

    .t-steps[b-qrw6ccwkdk] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .55em .8em;
    }

        .t-steps li[b-qrw6ccwkdk] {
            font-size: .94em;
        }

    .t-done[b-qrw6ccwkdk] {
        font-size: 1.02em;
    }

    .hh-scene--voice[b-qrw6ccwkdk] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) auto auto;
    }

    .v-editor[b-qrw6ccwkdk] {
        gap: .7em;
        padding: 1em 1.1em;
    }

    .v-editor__bar[b-qrw6ccwkdk] {
        padding-bottom: .5em;
        font-size: .96em;
    }

    .v-text[b-qrw6ccwkdk] {
        font-size: 1.32em;
        line-height: 1.9;
    }

    .v-tones[b-qrw6ccwkdk] {
        display: none;
    }

    .v-side[b-qrw6ccwkdk] {
        flex-direction: row;
        flex-wrap: wrap;
        gap: .4em;
    }

    .v-side__title[b-qrw6ccwkdk],
    .v-voice:not(.is-picked)[b-qrw6ccwkdk] {
        display: none;
    }

    .v-voice[b-qrw6ccwkdk] {
        flex: 1 0 100%;
        padding: .5em .7em;
    }

    .v-kinds span[b-qrw6ccwkdk] {
        font-size: .86em;
    }

    .v-player[b-qrw6ccwkdk] {
        gap: .8em;
        padding: .6em .8em;
        border-radius: 1em;
    }

    .v-play[b-qrw6ccwkdk] {
        width: 3em;
        height: 3em;
    }

    .v-wave[b-qrw6ccwkdk] {
        gap: .14em;
        height: 3.2em;
    }

    .v-time[b-qrw6ccwkdk] {
        font-size: .96em;
    }

    .hh-scene--podcast[b-qrw6ccwkdk] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr) auto;
    }

    .p-cover[b-qrw6ccwkdk] {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0 .8em;
    }

    .p-cover__art[b-qrw6ccwkdk] {
        flex: 0 0 5.4em;
        height: 5.4em;
        border-radius: 1em;
    }

        .p-cover__art svg[b-qrw6ccwkdk] {
            width: 3em;
            height: 3em;
        }

    .p-cover strong[b-qrw6ccwkdk] {
        flex: 1 1 0;
        margin: 0;
        font-size: 1.04em;
    }

    .p-cover > span[b-qrw6ccwkdk] {
        display: none;
    }

    .p-line[b-qrw6ccwkdk] {
        max-width: 96%;
    }

        .p-line i[b-qrw6ccwkdk] {
            width: 2.3em;
            height: 2.3em;
            font-size: .94em;
        }

        .p-line p[b-qrw6ccwkdk] {
            padding: .5em .8em;
            font-size: 1.02em;
        }

    .p-talk__title[b-qrw6ccwkdk] {
        display: none;
    }

    .p-mix[b-qrw6ccwkdk] {
        padding: .6em .7em;
    }

    .p-lane[b-qrw6ccwkdk] {
        height: .8em;
    }

    .p-feed[b-qrw6ccwkdk] {
        display: none;
    }

    .hh-scene--dubbing[b-qrw6ccwkdk],
    .hh-scene--defense[b-qrw6ccwkdk] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        align-content: start;
    }

    .d-video[b-qrw6ccwkdk] {
        aspect-ratio: 16 / 10;
    }

    .d-video__host[b-qrw6ccwkdk] {
        width: 8em;
        height: 11em;
    }

    .d-video__guest[b-qrw6ccwkdk] {
        width: 7em;
        height: 9.5em;
    }

    .d-video__board[b-qrw6ccwkdk] {
        gap: .6em;
        padding: 1em;
    }

    .d-video__badge[b-qrw6ccwkdk] {
        inset-block-start: .8em;
        inset-inline-end: .8em;
        font-size: .9em;
    }

    .d-sub[b-qrw6ccwkdk] {
        inset-block-end: .9em;
        inset-inline: 5%;
    }

        .d-sub span[b-qrw6ccwkdk] {
            font-size: 1.02em;
        }

    .d-side[b-qrw6ccwkdk] {
        gap: .55em;
    }

    .d-side .t-pair[b-qrw6ccwkdk],
    .d-side__title[b-qrw6ccwkdk],
    .d-steps[b-qrw6ccwkdk],
    .d-options[b-qrw6ccwkdk] {
        display: none;
    }

    .d-speaker[b-qrw6ccwkdk] {
        padding: .45em .7em;
    }

        .d-speaker b[b-qrw6ccwkdk] {
            font-size: .94em;
        }

        .d-speaker strong[b-qrw6ccwkdk] {
            font-size: 1em;
        }

        .d-speaker span i[b-qrw6ccwkdk] {
            width: 1.9em;
            height: 1.9em;
            font-size: .86em;
        }

    .d-done[b-qrw6ccwkdk] {
        font-size: .96em;
    }

    .d-mix[b-qrw6ccwkdk] {
        gap: .35em;
        padding: .6em .7em;
    }

        .d-mix .p-lane[b-qrw6ccwkdk] {
            height: .8em;
        }

    .f-slide[b-qrw6ccwkdk] {
        gap: .55em;
        padding: 1em 1.1em .8em;
    }

    .f-slide__chapter[b-qrw6ccwkdk] {
        font-size: .84em;
    }

    .f-slide__title[b-qrw6ccwkdk] {
        font-size: 1.3em;
    }

    .f-slide__body[b-qrw6ccwkdk] {
        grid-template-columns: 9em minmax(0, 1fr);
        gap: 1em;
    }

    .f-chart[b-qrw6ccwkdk] {
        gap: .6em;
        max-height: 7em;
        padding: 0 .4em;
    }

    .f-points[b-qrw6ccwkdk] {
        gap: .45em;
    }

        .f-points li[b-qrw6ccwkdk] {
            font-size: .9em;
        }

    .f-side[b-qrw6ccwkdk] {
        gap: .55em;
    }

    .f-notes[b-qrw6ccwkdk] {
        gap: .45em;
        padding: .6em .8em;
    }

    .f-notes__head strong[b-qrw6ccwkdk] {
        font-size: .96em;
    }

    .f-notes__head span[b-qrw6ccwkdk] {
        font-size: .84em;
    }

    .f-notes > i:nth-of-type(n+3)[b-qrw6ccwkdk] {
        display: none;
    }

    .f-qa[b-qrw6ccwkdk] {
        gap: .45em;
        padding: .6em .8em;
    }

    .f-qa__title[b-qrw6ccwkdk] {
        font-size: .9em;
    }

    .f-qa__q[b-qrw6ccwkdk] {
        font-size: 1em;
    }

    .f-file[b-qrw6ccwkdk] {
        padding: .45em 0;
        font-size: .9em;
    }

    .f-strip[b-qrw6ccwkdk] {
        gap: .4em;
        padding: .5em .6em;
    }

        .f-strip i[b-qrw6ccwkdk] {
            padding: .3em;
        }

            .f-strip i u[b-qrw6ccwkdk] {
                height: .2em;
            }

    .hh-scene--article[b-qrw6ccwkdk] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) auto;
    }

    .a-paper[b-qrw6ccwkdk] {
        gap: .5em;
        padding: 1em 1.2em;
    }

    .a-paper__type[b-qrw6ccwkdk] {
        font-size: .76em;
    }

    .a-paper__title[b-qrw6ccwkdk] {
        font-size: 1.2em;
    }

    .a-paper b[b-qrw6ccwkdk] {
        font-size: .9em;
    }

    .a-chart[b-qrw6ccwkdk] {
        min-height: 3em;
    }

    .a-table u[b-qrw6ccwkdk] {
        height: .8em;
    }

    .a-side[b-qrw6ccwkdk] {
        flex-direction: row;
        flex-wrap: wrap;
        gap: .5em;
    }

    .a-side__title[b-qrw6ccwkdk],
    .a-styles[b-qrw6ccwkdk],
    .a-parts[b-qrw6ccwkdk] {
        display: none;
    }

    .a-source[b-qrw6ccwkdk] {
        flex: 1 0 100%;
        padding: .4em .7em;
    }

        .a-source:nth-of-type(n+3)[b-qrw6ccwkdk] {
            display: none;
        }

        .a-source em[b-qrw6ccwkdk] {
            font-size: .84em;
        }

    .a-word[b-qrw6ccwkdk] {
        flex: 1 0 100%;
        padding: .5em .7em;
    }

        .a-word strong[b-qrw6ccwkdk] {
            font-size: 1em;
        }

        .a-word small[b-qrw6ccwkdk] {
            font-size: .84em;
        }

    .hh-scene--tools[b-qrw6ccwkdk] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, minmax(0, 1fr));
        gap: .7em;
    }

    .u-tile[b-qrw6ccwkdk] {
        gap: .5em;
        padding: .7em .8em;
        border-radius: 1em;
    }

        .u-tile strong[b-qrw6ccwkdk] {
            font-size: 1em;
        }

    .u-size__from[b-qrw6ccwkdk],
    .u-size__to[b-qrw6ccwkdk] {
        font-size: 1.5em;
    }

    .u-doc[b-qrw6ccwkdk] {
        width: 2.7em;
        height: 3.4em;
        font-size: .8em;
    }

    .u-swap svg[b-qrw6ccwkdk] {
        width: 1.3em;
        height: 1.3em;
    }

    .u-cut__bottle[b-qrw6ccwkdk] {
        width: 2.6em;
        height: 3.6em;
        border-radius: .7em;
    }

        .u-cut__bottle[b-qrw6ccwkdk]::before {
            inset-inline: .7em;
            height: .6em;
        }

        .u-cut__bottle u[b-qrw6ccwkdk] {
            inset: 1em .5em .8em;
        }

    .u-read[b-qrw6ccwkdk] {
        gap: .45em;
        padding: .6em .7em;
    }

        .u-read i[b-qrw6ccwkdk] {
            height: .32em;
        }

    .u-clean[b-qrw6ccwkdk] {
        gap: .16em;
        padding: .4em;
    }
}

/* scrolled past: everything holds until it is back in view */
.hh.is-away *[b-qrw6ccwkdk],
.hh.is-away *[b-qrw6ccwkdk]::before,
.hh.is-away *[b-qrw6ccwkdk]::after {
    animation-play-state: paused !important;
}

/* --------------------- motion off ---------------------- */

@media (prefers-reduced-motion: reduce) {
    .hh *[b-qrw6ccwkdk],
    .hh *[b-qrw6ccwkdk]::before,
    .hh *[b-qrw6ccwkdk]::after {
        animation: none !important;
        transition: none !important;
    }

    .hh-window[b-qrw6ccwkdk] {
        transform: none;
    }

    .hh-tab.is-on .hh-tab__bar[b-qrw6ccwkdk] {
        transform: scaleX(1);
    }

    .t-slide__from[b-qrw6ccwkdk] {
        clip-path: inset(0 100% 0 0);
    }
}

/* The free start under the hero buttons, centred like them. */
.hh-free[b-qrw6ccwkdk] {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.hh-free[b-qrw6ccwkdk]  .free-start {
    flex-basis: auto;
    justify-content: center;
    margin: 0;
    text-align: center;
}
/* _content/AITranslationPlatform.Web/Components/Landing/LandingProof.razor.rz.scp.css */
/* =========================================================
   WHY IT IS WORTH TRYING: THE COMPARISON, THE REASONS, THE WAY IN
   ========================================================= */

/* registered so the opening sweep can animate it */
@property --pos {
    syntax: "<percentage>";
    inherits: true;
    initial-value: 50%;
}

.lp-proof[b-nd93279xjt],
.lp-why[b-nd93279xjt] {
    /* the page stays cream in both themes, so these sections do too */
    --ui-ink: #1c1b17;
    --ui-muted: #6d6759;
    --ui-line: rgba(28, 27, 23, .13);
    --ui-surface-strong: #fff;
    --ui-accent-tint: rgba(252, 209, 102, .3);
    --ui-accent-strong: #f6c243;
    --ui-warning: #8a6516;
    --ui-bloom-warm: rgba(252, 209, 102, .62);
}

.lp-kicker[b-nd93279xjt] {
    display: inline-block;
    padding: .34rem .9rem;
    border: 1px solid color-mix(in srgb, var(--ui-accent-strong) 45%, transparent);
    border-radius: 999px;
    background: var(--ui-accent-tint);
    color: var(--ui-warning);
    font-size: .8rem;
    font-weight: 800;
}

/* --------------------- the comparison ------------------ */

.lp-proof[b-nd93279xjt] {
    scroll-margin-top: 110px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
    align-items: center;
    gap: clamp(28px, 5vw, 76px);
    width: min(1180px, calc(100% - 32px));
    margin: clamp(64px, 8vw, 110px) auto 0;
}

.lp-proof__copy h2[b-nd93279xjt] {
    margin: .85rem 0 .6rem;
    color: var(--ui-ink);
    font-size: clamp(1.75rem, 3.4vw, 2.75rem);
    font-weight: 900;
    line-height: 1.3;
}

.lp-proof__copy > p[b-nd93279xjt] {
    margin: 0;
    color: var(--ui-muted);
    font-size: clamp(.96rem, 1.2vw, 1.08rem);
    line-height: 1.95;
}

.lp-points[b-nd93279xjt] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 22px;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

    .lp-points li[b-nd93279xjt] {
        display: flex;
        gap: .7rem;
    }

    .lp-points i[b-nd93279xjt] {
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        width: 28px;
        height: 28px;
        margin-top: 2px;
        border-radius: 50%;
        background: var(--ui-accent-tint);
        color: var(--ui-warning);
    }

    .lp-points svg[b-nd93279xjt] {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: currentColor;
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .lp-points span[b-nd93279xjt] {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .lp-points strong[b-nd93279xjt] {
        color: var(--ui-ink);
        font-size: .97rem;
        font-weight: 800;
    }

    .lp-points small[b-nd93279xjt] {
        color: var(--ui-muted);
        font-size: .85rem;
        line-height: 1.8;
    }

.lp-link[b-nd93279xjt] {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1.5rem;
    color: var(--ui-ink);
    font-size: .93rem;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: var(--ui-accent-strong);
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

    .lp-link svg[b-nd93279xjt] {
        flex: 0 0 auto;
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.3;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

[dir="rtl"] .lp-link svg[b-nd93279xjt] {
    scale: -1 1;
}

.lp-proof__page[b-nd93279xjt] {
    position: relative;
}

    .lp-proof__page[b-nd93279xjt]::before {
        content: "";
        position: absolute;
        inset: 8% -6% -4%;
        z-index: -1;
        border-radius: 40px;
        background: radial-gradient(60% 60% at 50% 50%, var(--ui-bloom-warm), transparent 76%);
    }

.lp-compare[b-nd93279xjt] {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border: 1px solid var(--ui-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 34px 70px -34px rgba(45, 36, 25, .55);
    touch-action: pan-y;
}

/* once it has come into view, the line shows what it does; the first touch ends that */
.lp-proof__page:not([data-pub-reveal="pending"]) .lp-compare:not(.is-touched)[b-nd93279xjt] {
    animation: lp-sweep-b-nd93279xjt 4.6s cubic-bezier(.65, 0, .35, 1) .5s both;
}

@keyframes lp-sweep-b-nd93279xjt {
    0% {
        --pos: 50%;
    }

    30% {
        --pos: 12%;
    }

    68% {
        --pos: 86%;
    }

    100% {
        --pos: 50%;
    }
}

.lp-compare__page[b-nd93279xjt] {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-compare__page--source[b-nd93279xjt] {
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.lp-compare__tag[b-nd93279xjt] {
    position: absolute;
    inset-block-start: 12px;
    z-index: 2;
    padding: .2rem .65rem;
    border-radius: 9px;
    background: rgba(28, 22, 16, .78);
    color: #fff8ea;
    font-size: .76rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.lp-compare__tag--from[b-nd93279xjt] {
    left: 12px;
}

.lp-compare__tag--to[b-nd93279xjt] {
    right: 12px;
}

.lp-compare__line[b-nd93279xjt] {
    position: absolute;
    inset-block: 0;
    left: var(--pos);
    z-index: 2;
    width: 2px;
    margin-left: -1px;
    background: #f6c243;
    box-shadow: 0 0 14px rgba(246, 194, 67, .8);
    pointer-events: none;
}

    .lp-compare__line i[b-nd93279xjt] {
        position: absolute;
        top: 50%;
        left: 50%;
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: linear-gradient(145deg, #ffe08c, #e8aa2e);
        color: #3a2a08;
        box-shadow: 0 10px 22px -8px rgba(60, 40, 8, .7);
        translate: -50% -50%;
    }

    .lp-compare__line svg[b-nd93279xjt] {
        width: 24px;
        height: 24px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.3;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.lp-compare__range[b-nd93279xjt] {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
}

/* --------------------- the reasons --------------------- */

.lp-why[b-nd93279xjt] {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 76px);
    width: min(1180px, calc(100% - 32px));
    margin: clamp(64px, 8vw, 110px) auto 0;
}

.lp-why__orbit[b-nd93279xjt] {
    position: relative;
    display: grid;
    place-items: center;
    width: min(420px, 100%);
    aspect-ratio: 1;
    margin-inline: auto;
}

.lp-why__track[b-nd93279xjt] {
    position: absolute;
    border: 1px dashed color-mix(in srgb, var(--ui-accent-strong) 55%, transparent);
    border-radius: 50%;
}

.lp-why__track--outer[b-nd93279xjt] {
    inset: 8%;
}

.lp-why__track--inner[b-nd93279xjt] {
    inset: 28%;
    border-style: solid;
    border-color: var(--ui-line);
}

.lp-why__spin[b-nd93279xjt] {
    position: absolute;
    inset: 8%;
    animation: lp-spin-b-nd93279xjt 44s linear infinite;
}

.lp-why__node[b-nd93279xjt] {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: rotate(var(--at)) translateY(calc(min(420px, 100vw) * -.42)) rotate(calc(var(--at) * -1));
}

    .lp-why__node em[b-nd93279xjt] {
        position: absolute;
        top: -28px;
        left: -28px;
        display: grid;
        place-items: center;
        width: 56px;
        height: 56px;
        border: 1px solid var(--ui-line);
        border-radius: 18px;
        background: var(--ui-surface-strong);
        color: var(--tone, #c98b1c);
        box-shadow: 0 16px 30px -18px rgba(45, 36, 25, .55);
        animation: lp-spin-b-nd93279xjt 44s linear infinite reverse;
    }

    .lp-why__node svg[b-nd93279xjt] {
        width: 27px;
        height: 27px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.lp-why__node--voice[b-nd93279xjt] {
    --tone: #ef7f4f;
}

.lp-why__node--podcast[b-nd93279xjt] {
    --tone: #8b63ec;
}

.lp-why__node--article[b-nd93279xjt] {
    --tone: #2f9d8c;
}

.lp-why__node--tools[b-nd93279xjt] {
    --tone: #3f86dc;
}

.lp-why__core[b-nd93279xjt] {
    position: relative;
    display: grid;
    place-items: center;
    width: 30%;
    aspect-ratio: 1;
    border: 1px solid color-mix(in srgb, var(--ui-accent-strong) 40%, transparent);
    border-radius: 50%;
    background: var(--ui-surface-strong);
    box-shadow:
        0 0 0 12px var(--ui-accent-tint),
        0 24px 50px -22px rgba(201, 139, 28, .7);
}

    .lp-why__core img[b-nd93279xjt] {
        width: 62%;
        height: auto;
    }

@keyframes lp-spin-b-nd93279xjt {
    to {
        rotate: 360deg;
    }
}

.lp-why__copy h2[b-nd93279xjt] {
    margin: .85rem 0 0;
    color: var(--ui-ink);
    font-size: clamp(1.75rem, 3.4vw, 2.75rem);
    font-weight: 900;
    line-height: 1.3;
}

.lp-reasons[b-nd93279xjt] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 1.5rem;
}

.lp-reason[b-nd93279xjt] {
    padding: 1.05rem 1.15rem;
    border: 1px solid var(--ui-line);
    border-radius: 20px;
    background: var(--ui-surface-strong);
    transition: translate .35s cubic-bezier(.2, .9, .25, 1), border-color .35s ease;
}

    .lp-reason:hover[b-nd93279xjt] {
        translate: 0 -3px;
        border-color: color-mix(in srgb, var(--ui-accent-strong) 55%, transparent);
    }

    .lp-reason h3[b-nd93279xjt] {
        margin: 0 0 .3rem;
        color: var(--ui-ink);
        font-size: 1.04rem;
        font-weight: 850;
    }

    .lp-reason p[b-nd93279xjt] {
        margin: 0;
        color: var(--ui-muted);
        font-size: .88rem;
        line-height: 1.85;
    }

/* --------------------- the way in ---------------------- */

.lp-final[b-nd93279xjt] {
    width: min(1180px, calc(100% - 32px));
    margin: clamp(64px, 8vw, 110px) auto clamp(48px, 6vw, 80px);
}

.lp-final__card[b-nd93279xjt] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding: clamp(44px, 6vw, 76px) clamp(20px, 5vw, 60px);
    border-radius: clamp(26px, 3vw, 40px);
    background: linear-gradient(120deg, #ffdf8e 0%, #f6c243 46%, #e8aa2e 100%);
    color: #2e2006;
    text-align: center;
    box-shadow: 0 40px 80px -40px rgba(201, 139, 28, .8);
}

.lp-final__glow[b-nd93279xjt] {
    position: absolute;
    inset: -60% -20%;
    background: conic-gradient(from 0deg at 50% 50%, transparent 0 22%, rgba(255, 255, 255, .34) 30%, transparent 40% 72%, rgba(255, 255, 255, .24) 82%, transparent 92%);
    animation: lp-spin-b-nd93279xjt 26s linear infinite;
    pointer-events: none;
}

.lp-final__card h2[b-nd93279xjt] {
    position: relative;
    margin: 0;
    font-size: clamp(1.7rem, 3.6vw, 2.9rem);
    font-weight: 900;
    line-height: 1.3;
}

.lp-final__card p[b-nd93279xjt] {
    position: relative;
    max-width: 620px;
    margin: .7rem 0 0;
    font-size: clamp(.98rem, 1.3vw, 1.12rem);
    font-weight: 550;
    line-height: 1.9;
}

.lp-final__actions[b-nd93279xjt] {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .7rem;
    margin-top: 1.5rem;
}

.lp-final__start[b-nd93279xjt],
.lp-final__more[b-nd93279xjt] {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 52px;
    padding: 0 1.55rem;
    border-radius: 17px;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    transition: translate .32s cubic-bezier(.2, .9, .25, 1), box-shadow .32s ease, background .32s ease;
}

.lp-final__start[b-nd93279xjt] {
    background: #2a1e10;
    color: #fff4d6;
    box-shadow: 0 18px 36px -16px rgba(42, 30, 16, .85);
}

    .lp-final__start svg[b-nd93279xjt] {
        width: 19px;
        height: 19px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.3;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

[dir="rtl"] .lp-final__start svg[b-nd93279xjt] {
    scale: -1 1;
}

.lp-final__start:hover[b-nd93279xjt],
.lp-final__more:hover[b-nd93279xjt] {
    translate: 0 -2px;
}

.lp-final__more[b-nd93279xjt] {
    border: 1px solid rgba(46, 32, 6, .28);
    color: #2e2006;
}

    .lp-final__more:hover[b-nd93279xjt] {
        background: rgba(255, 255, 255, .24);
    }

/* --------------------- smaller screens ----------------- */

@media (max-width: 900px) {
    .lp-proof[b-nd93279xjt],
    .lp-why[b-nd93279xjt] {
        grid-template-columns: minmax(0, 1fr);
    }

    .lp-proof__page[b-nd93279xjt] {
        width: min(460px, 100%);
        margin-inline: auto;
    }

    .lp-why__orbit[b-nd93279xjt] {
        width: min(340px, 86%);
    }

    .lp-why__node[b-nd93279xjt] {
        transform: rotate(var(--at)) translateY(calc(min(340px, 86vw) * -.42)) rotate(calc(var(--at) * -1));
    }

        .lp-why__node em[b-nd93279xjt] {
            top: -24px;
            left: -24px;
            width: 48px;
            height: 48px;
            border-radius: 15px;
        }

    .lp-why__copy[b-nd93279xjt] {
        text-align: center;
    }

    .lp-reason[b-nd93279xjt] {
        text-align: start;
    }
}

@media (max-width: 560px) {
    .lp-points[b-nd93279xjt],
    .lp-reasons[b-nd93279xjt] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-compare[b-nd93279xjt],
    .lp-why__spin[b-nd93279xjt],
    .lp-why__node em[b-nd93279xjt],
    .lp-final__glow[b-nd93279xjt] {
        animation: none !important;
    }
}
/* _content/AITranslationPlatform.Web/Components/Landing/LandingServices.razor.rz.scp.css */
/* =========================================================
   WHAT THE SITE DOES: THE RIBBONS AND THE FIVE CARDS
   ========================================================= */

.lx[b-4yhtx7ism3] {
    /* the page stays cream in both themes, so these sections do too */
    --ui-ink: #1c1b17;
    --ui-muted: #6d6759;
    --ui-line: rgba(28, 27, 23, .13);
    --ui-surface-strong: #fff;
    --ui-accent-tint: rgba(252, 209, 102, .3);
    --ui-accent-strong: #f6c243;
    --ui-warning: #8a6516;
    --ui-bloom-warm: rgba(252, 209, 102, .62);

    position: relative;
    padding: clamp(120px, 15vw, 230px) 0 clamp(36px, 5vw, 64px);
    overflow: hidden;
}

/* --------------------- the ribbons --------------------- */

.lx-ribbons[b-4yhtx7ism3] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lx-ribbon[b-4yhtx7ism3] {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.lx-ribbon__track[b-4yhtx7ism3] {
    display: flex;
    gap: 10px;
    width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
    animation: lx-slide-b-4yhtx7ism3 70s linear infinite;
}

.lx-ribbon--back .lx-ribbon__track[b-4yhtx7ism3] {
    animation-direction: reverse;
    animation-duration: 82s;
}

[dir="rtl"] .lx-ribbon__track[b-4yhtx7ism3] {
    animation-name: lx-slide-rtl-b-4yhtx7ism3;
}

.lx-ribbons:hover .lx-ribbon__track[b-4yhtx7ism3] {
    animation-play-state: paused;
}

.lx-ribbon__track li[b-4yhtx7ism3] {
    flex: 0 0 auto;
    padding: .5rem 1.05rem;
    border: 1px solid var(--ui-line);
    border-radius: 13px;
    background: var(--ui-surface-strong);
    color: var(--ui-ink);
    font-size: .9rem;
    font-weight: 650;
    white-space: nowrap;
}

/* half the track: the second copy has come exactly to where the first began */
@keyframes lx-slide-b-4yhtx7ism3 {
    to {
        transform: translateX(calc(-50% - 5px));
    }
}

@keyframes lx-slide-rtl-b-4yhtx7ism3 {
    to {
        transform: translateX(calc(50% + 5px));
    }
}

/* --------------------- the head ------------------------ */

.lx-head[b-4yhtx7ism3] {
    scroll-margin-top: 110px;
    width: min(760px, calc(100% - 32px));
    margin: clamp(48px, 6vw, 76px) auto clamp(30px, 3.6vw, 46px);
    text-align: center;
}

.lx-kicker[b-4yhtx7ism3] {
    display: inline-block;
    padding: .34rem .9rem;
    border: 1px solid color-mix(in srgb, var(--ui-accent-strong) 45%, transparent);
    border-radius: 999px;
    background: var(--ui-accent-tint);
    color: var(--ui-warning);
    font-size: .8rem;
    font-weight: 800;
}

.lx-head h2[b-4yhtx7ism3] {
    margin: .85rem 0 .6rem;
    color: var(--ui-ink);
    font-size: clamp(1.75rem, 3.4vw, 2.75rem);
    font-weight: 900;
    line-height: 1.3;
}

.lx-head p[b-4yhtx7ism3] {
    margin: 0;
    color: var(--ui-muted);
    font-size: clamp(.96rem, 1.2vw, 1.08rem);
    line-height: 1.95;
}

/* --------------------- the cards ----------------------- */

.lx-grid[b-4yhtx7ism3] {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
    width: min(1240px, calc(100% - 32px));
    margin-inline: auto;
}

.lx-card[b-4yhtx7ism3] {
    --tone: #e8aa2e;
    --tone-soft: color-mix(in srgb, var(--tone) 15%, transparent);

    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: 26px;
    background: var(--ui-surface-strong);
    box-shadow: 0 14px 36px -24px rgba(45, 36, 25, .32);
    transition:
        translate .4s cubic-bezier(.2, .9, .25, 1),
        box-shadow .4s ease,
        border-color .4s ease;
}

    /* the light that follows the pointer (public-pages.js sets --mx and --my) */
    .lx-card[b-4yhtx7ism3]::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--tone) 16%, transparent), transparent 72%);
        opacity: 0;
        pointer-events: none;
        transition: opacity .4s ease;
    }

    .lx-card:hover[b-4yhtx7ism3] {
        translate: 0 -4px;
        border-color: color-mix(in srgb, var(--tone) 46%, transparent);
        box-shadow: 0 30px 56px -30px color-mix(in srgb, var(--tone) 50%, rgba(45, 36, 25, .5));
    }

        .lx-card:hover[b-4yhtx7ism3]::before {
            opacity: 1;
        }

.lx-card--translate[b-4yhtx7ism3] {
    grid-column: span 7;
    flex-direction: row;
}

.lx-card--voice[b-4yhtx7ism3] {
    grid-column: span 5;
    --tone: #ef7f4f;
}

    .lx-card--voice .lx-card__art[b-4yhtx7ism3] {
        flex: 1 1 158px;
        height: auto;
    }

    .lx-card--voice .lx-card__body[b-4yhtx7ism3] {
        flex: 0 0 auto;
    }

.lx-card--podcast[b-4yhtx7ism3] {
    grid-column: span 4;
    --tone: #8b63ec;
}

.lx-card--article[b-4yhtx7ism3] {
    grid-column: span 4;
    --tone: #2f9d8c;
}

.lx-card--tools[b-4yhtx7ism3] {
    grid-column: span 4;
    --tone: #3f86dc;
}

.lx-card--instagram[b-4yhtx7ism3] {
    grid-column: span 12;
    flex-direction: row;
    --tone: #d6457c;
}

    .lx-card--instagram .lx-card__art[b-4yhtx7ism3] {
        flex: 0 0 46%;
        height: auto;
        min-height: 250px;
    }

    .lx-card--instagram .lx-card__body[b-4yhtx7ism3] {
        justify-content: center;
        padding-block: 1.6rem;
    }

/* the Instagram card: a real post, slide and story the studio made, fanned out */
.lx-feed[b-4yhtx7ism3] {
    display: grid;
    place-items: center;
}

.lx-feed__shot[b-4yhtx7ism3] {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 128px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 18px 34px -12px rgba(45, 36, 25, .45);
    transition: translate .5s cubic-bezier(.2, .9, .25, 1), rotate .5s cubic-bezier(.2, .9, .25, 1);
}

.lx-feed__shot--slide[b-4yhtx7ism3] {
    translate: -128% -50%;
    rotate: -8deg;
}

.lx-feed__shot--post[b-4yhtx7ism3] {
    z-index: 1;
    width: 150px;
    translate: -50% -50%;
}

.lx-feed__shot--story[b-4yhtx7ism3] {
    width: 112px;
    translate: 32% -50%;
    rotate: 7deg;
}

.lx-card--instagram:hover .lx-feed__shot--slide[b-4yhtx7ism3] {
    translate: -140% -52%;
    rotate: -11deg;
}

.lx-card--instagram:hover .lx-feed__shot--story[b-4yhtx7ism3] {
    translate: 44% -52%;
    rotate: 10deg;
}

.lx-feed__heart[b-4yhtx7ism3] {
    position: absolute;
    z-index: 2;
    top: 18%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    translate: 70% 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 22px -8px rgba(214, 69, 124, .6);
    animation: lx-feed-like-b-4yhtx7ism3 3.6s ease-in-out infinite;
}

    .lx-feed__heart svg[b-4yhtx7ism3] {
        width: 21px;
        height: 21px;
        fill: #e9405b;
        stroke: none;
    }

@keyframes lx-feed-like-b-4yhtx7ism3 {
    0%, 60%, 100% { scale: 1; }
    68% { scale: 1.25; }
    76% { scale: .95; }
}

.lx-card__art[b-4yhtx7ism3] {
    position: relative;
    flex: 0 0 auto;
    height: 158px;
    overflow: hidden;
    background:
        radial-gradient(70% 90% at 50% 100%, var(--tone-soft), transparent 74%),
        color-mix(in srgb, var(--tone) 6%, transparent);
}

.lx-card__body[b-4yhtx7ism3] {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
    min-width: 0;
    padding: 1.2rem 1.35rem 1.25rem;
}

.lx-card__tag[b-4yhtx7ism3] {
    color: var(--tone);
    font-size: .8rem;
    font-weight: 800;
}

.lx-card h3[b-4yhtx7ism3] {
    margin: 0;
    color: var(--ui-ink);
    font-size: clamp(1.14rem, 1.7vw, 1.36rem);
    font-weight: 900;
    line-height: 1.45;
}

.lx-card p[b-4yhtx7ism3] {
    margin: 0;
    color: var(--ui-muted);
    font-size: .93rem;
    line-height: 1.9;
}

.lx-card p.lx-card__languages[b-4yhtx7ism3] {
    font-size: .84rem;
}

.lx-card__more[b-4yhtx7ism3] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: auto;
    padding-top: .55rem;
    color: var(--ui-ink);
    font-size: .92rem;
    font-weight: 800;
    text-decoration: none;
}

    .lx-card__more svg[b-4yhtx7ism3] {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: var(--tone);
        stroke-width: 2.4;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: translate .3s cubic-bezier(.2, .9, .25, 1);
    }

    .lx-card__more:hover svg[b-4yhtx7ism3] {
        translate: 4px 0;
    }

[dir="rtl"] .lx-card__more svg[b-4yhtx7ism3] {
    scale: -1 1;
}

[dir="rtl"] .lx-card__more:hover svg[b-4yhtx7ism3] {
    translate: -4px 0;
}

/* the whole card opens its page; the links in it stay above that */
.lx-card__more[b-4yhtx7ism3]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 26px;
}

.lx-card--translate .lx-card__more[b-4yhtx7ism3]::after {
    display: none;
}

.lx-topics[b-4yhtx7ism3] {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: .2rem;
}

    .lx-topics a[b-4yhtx7ism3] {
        padding: .24rem .65rem;
        border: 1px solid var(--ui-line);
        border-radius: 10px;
        color: var(--ui-ink);
        font-size: .78rem;
        font-weight: 650;
        text-decoration: none;
        transition: background .25s ease, border-color .25s ease;
    }

        .lx-topics a:hover[b-4yhtx7ism3] {
            border-color: color-mix(in srgb, var(--tone) 55%, transparent);
            background: var(--tone-soft);
        }

/* translation: a page and its mirror image */

.lx-mirror[b-4yhtx7ism3] {
    flex: 0 0 44%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 16px;
}

.lx-doc[b-4yhtx7ism3] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 42%;
    aspect-ratio: 3 / 4.1;
    padding: 10px;
    border-radius: 10px;
    background: #fffdf8;
    box-shadow: 0 16px 30px -18px rgba(60, 44, 24, .55);
}

.lx-doc__head[b-4yhtx7ism3] {
    height: 7px;
    width: 62%;
    border-radius: 4px;
    background: #2b2318;
}

.lx-doc__row[b-4yhtx7ism3] {
    display: flex;
    gap: 6px;
}

    .lx-doc__row i[b-4yhtx7ism3] {
        flex: 0 0 38%;
        aspect-ratio: 1.2;
        border-radius: 5px;
        background: linear-gradient(145deg, #f6c243, #e8aa2e);
    }

    .lx-doc__row u[b-4yhtx7ism3] {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-block: 1px;
    }

.lx-doc b[b-4yhtx7ism3] {
    display: block;
    height: 3px;
    border-radius: 2px;
    background: #cfc7b8;
}

.lx-doc__table[b-4yhtx7ism3] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

    .lx-doc__table i[b-4yhtx7ism3] {
        height: 9px;
        border-radius: 2px;
        background: #f2ead9;
    }

        .lx-doc__table i:nth-child(-n+3)[b-4yhtx7ism3] {
            background: #caa66a;
        }

.lx-doc__lines[b-4yhtx7ism3] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
}

/* the same page, every part on the other side: the whole product in one picture */
.lx-doc--flipped[b-4yhtx7ism3] {
    transform: scaleX(-1);
}

.lx-card:hover .lx-doc--flipped[b-4yhtx7ism3] {
    animation: lx-turn-b-4yhtx7ism3 .9s cubic-bezier(.3, .9, .3, 1);
}

@keyframes lx-turn-b-4yhtx7ism3 {
    from {
        transform: scaleX(1);
    }

    50% {
        transform: scaleX(0);
    }
}

.lx-mirror__swap[b-4yhtx7ism3] {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffe08c, #e8aa2e);
    color: #3a2a08;
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--tone) 18%, transparent);
    animation: lx-breathe-b-4yhtx7ism3 3.4s ease-in-out infinite;
}

    .lx-mirror__swap svg[b-4yhtx7ism3] {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

@keyframes lx-breathe-b-4yhtx7ism3 {
    50% {
        box-shadow: 0 0 0 12px color-mix(in srgb, var(--tone) 6%, transparent);
    }
}

/* voice */

.lx-bars[b-4yhtx7ism3] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 28px 24px;
}

    .lx-bars i[b-4yhtx7ism3] {
        flex: 1;
        max-width: 8px;
        height: var(--h);
        border-radius: 4px;
        background: linear-gradient(180deg, #ffb48f, #ef7f4f);
        animation: lx-sing-b-4yhtx7ism3 1.8s ease-in-out calc(var(--i) * -.13s) infinite alternate;
    }

@keyframes lx-sing-b-4yhtx7ism3 {
    to {
        transform: scaleY(.42);
    }
}

/* podcast */

.lx-mic[b-4yhtx7ism3] {
    display: grid;
    place-items: center;
}

    .lx-mic span[b-4yhtx7ism3] {
        position: relative;
        display: grid;
        place-items: center;
        width: 76px;
        height: 76px;
        border-radius: 50%;
        background: linear-gradient(150deg, #7a59e6, #b58df7);
        color: #fff;
        box-shadow: 0 16px 30px -14px rgba(122, 89, 230, .75);
    }

    .lx-mic svg[b-4yhtx7ism3] {
        width: 38px;
        height: 38px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.6;
        stroke-linecap: round;
    }

    .lx-mic i[b-4yhtx7ism3] {
        position: absolute;
        width: 76px;
        height: 76px;
        border: 2px solid rgba(139, 99, 236, .55);
        border-radius: 50%;
        animation: lx-ring-b-4yhtx7ism3 3.6s ease-out infinite;
    }

        .lx-mic i:nth-child(2)[b-4yhtx7ism3] {
            animation-delay: 1.2s;
        }

        .lx-mic i:nth-child(3)[b-4yhtx7ism3] {
            animation-delay: 2.4s;
        }

@keyframes lx-ring-b-4yhtx7ism3 {
    from {
        opacity: .9;
        scale: 1;
    }

    to {
        opacity: 0;
        scale: 2.7;
    }
}

/* article */

.lx-sheet[b-4yhtx7ism3] {
    display: grid;
    place-items: end center;
}

    .lx-sheet > div[b-4yhtx7ism3] {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 7px;
        width: 62%;
        height: 132px;
        padding: 14px 16px;
        border-radius: 12px 12px 0 0;
        background: #fffdf8;
        box-shadow: 0 -10px 30px -16px rgba(47, 157, 140, .55);
        transition: translate .45s cubic-bezier(.2, .9, .25, 1);
    }

    .lx-sheet b[b-4yhtx7ism3] {
        display: block;
        height: 7px;
        border-radius: 4px;
        background: #2b2318;
    }

        .lx-sheet b + b[b-4yhtx7ism3] {
            width: 64%;
            height: 4px;
            background: #cfc7b8;
        }

    .lx-sheet u[b-4yhtx7ism3] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px 12px;
        margin-top: 4px;
    }

    .lx-sheet i[b-4yhtx7ism3] {
        height: 4px;
        border-radius: 2px;
        background: #e2dacc;
        transform-origin: left center;
        animation: lx-line-b-4yhtx7ism3 4.2s ease-in-out infinite;
    }

        .lx-sheet i:nth-child(2)[b-4yhtx7ism3] {
            animation-delay: .4s;
        }

        .lx-sheet i:nth-child(3)[b-4yhtx7ism3] {
            animation-delay: .8s;
        }

        .lx-sheet i:nth-child(4)[b-4yhtx7ism3] {
            animation-delay: 1.2s;
        }

    .lx-sheet em[b-4yhtx7ism3] {
        position: absolute;
        inset-block-start: 12px;
        inset-inline-end: -14px;
        display: grid;
        place-items: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #2f9d8c;
        color: #fff;
        box-shadow: 0 10px 20px -8px rgba(47, 157, 140, .8);
    }

    .lx-sheet svg[b-4yhtx7ism3] {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.lx-card:hover .lx-sheet > div[b-4yhtx7ism3] {
    translate: 0 -6px;
}

[dir="rtl"] .lx-sheet i[b-4yhtx7ism3] {
    transform-origin: right center;
}

@keyframes lx-line-b-4yhtx7ism3 {
    0%, 100% {
        transform: scaleX(1);
    }

    50% {
        transform: scaleX(.5);
    }
}

/* tools */

.lx-keys[b-4yhtx7ism3] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    align-content: center;
    padding: 24px;
}

    .lx-keys i[b-4yhtx7ism3] {
        aspect-ratio: 1;
        border-radius: 11px;
        background: color-mix(in srgb, var(--tone) 18%, transparent);
        animation: lx-key-b-4yhtx7ism3 6s ease-in-out calc(var(--i) * .5s) infinite;
    }

@keyframes lx-key-b-4yhtx7ism3 {
    0%, 12%, 100% {
        background: color-mix(in srgb, var(--tone) 18%, transparent);
        scale: 1;
    }

    6% {
        background: var(--tone);
        scale: 1.06;
    }
}

/* --------------------- smaller screens ----------------- */

@media (max-width: 1000px) {
    .lx-card--translate[b-4yhtx7ism3],
    .lx-card--voice[b-4yhtx7ism3] {
        grid-column: span 12;
    }

    .lx-card--podcast[b-4yhtx7ism3],
    .lx-card--article[b-4yhtx7ism3] {
        grid-column: span 6;
    }

    .lx-card--tools[b-4yhtx7ism3] {
        grid-column: span 12;
    }
}

@media (max-width: 720px) {
    .lx-card--instagram[b-4yhtx7ism3] {
        flex-direction: column;
    }

        .lx-card--instagram .lx-card__art[b-4yhtx7ism3] {
            flex: 0 0 auto;
            min-height: 0;
            height: 220px;
        }

    .lx-feed__shot[b-4yhtx7ism3] {
        width: 104px;
    }

    .lx-feed__shot--post[b-4yhtx7ism3] {
        width: 122px;
    }

    .lx-feed__shot--story[b-4yhtx7ism3] {
        width: 92px;
    }
}

@media (max-width: 720px) {
    .lx[b-4yhtx7ism3] {
        padding-top: 100px;
    }

    .lx-ribbon__track li[b-4yhtx7ism3] {
        padding: .42rem .85rem;
        font-size: .82rem;
    }

    .lx-grid[b-4yhtx7ism3] {
        gap: 12px;
    }

    .lx-card[b-4yhtx7ism3] {
        border-radius: 22px;
    }

    .lx-card--translate[b-4yhtx7ism3] {
        flex-direction: column;
    }

    .lx-card--podcast[b-4yhtx7ism3],
    .lx-card--article[b-4yhtx7ism3] {
        grid-column: span 12;
    }

    .lx-mirror[b-4yhtx7ism3] {
        flex: 0 0 auto;
        height: 170px;
        padding: 14px;
    }

    .lx-doc[b-4yhtx7ism3] {
        width: auto;
        height: 100%;
    }

    .lx-card__art[b-4yhtx7ism3],
    .lx-card--voice .lx-card__art[b-4yhtx7ism3] {
        flex: 0 0 auto;
        height: 132px;
    }

    .lx-mirror.lx-card__art[b-4yhtx7ism3] {
        height: 170px;
    }

    .lx-keys[b-4yhtx7ism3] {
        grid-template-columns: repeat(6, 38px);
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lx *[b-4yhtx7ism3],
    .lx *[b-4yhtx7ism3]::before,
    .lx *[b-4yhtx7ism3]::after {
        animation: none !important;
    }
}


/* the Instagram analysis card: three parts of the sample report fanned out, the PDF badge beside them */
.lx-card--analysis[b-4yhtx7ism3] {
    --tone: #c0386d;
}

.lx-report[b-4yhtx7ism3] {
    display: grid;
    place-items: center;
}

.lx-report__shot[b-4yhtx7ism3] {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 62%;
    height: auto;
    border: 1px solid rgba(77, 63, 24, .12);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 34px -12px rgba(45, 36, 25, .45);
    transition: translate .5s cubic-bezier(.2, .9, .25, 1), rotate .5s cubic-bezier(.2, .9, .25, 1);
}

.lx-report__shot--back[b-4yhtx7ism3] {
    width: 46%;
    max-height: 82%;
    object-fit: cover;
    object-position: 50% 0%;
    translate: -102% -50%;
    rotate: -6deg;
}

.lx-report__shot--front[b-4yhtx7ism3] {
    z-index: 1;
    translate: -50% -58%;
}

.lx-report__shot--side[b-4yhtx7ism3] {
    z-index: 2;
    width: 50%;
    translate: -6% 22%;
    rotate: 3deg;
}

.lx-card--analysis:hover .lx-report__shot--back[b-4yhtx7ism3] {
    translate: -112% -52%;
    rotate: -9deg;
}

.lx-card--analysis:hover .lx-report__shot--side[b-4yhtx7ism3] {
    translate: 2% 26%;
    rotate: 5deg;
}

.lx-report__pdf[b-4yhtx7ism3] {
    position: absolute;
    z-index: 3;
    top: 12%;
    right: 10%;
    padding: 6px 12px;
    border-radius: 10px;
    background: linear-gradient(140deg, #e8526f, #b9325a);
    box-shadow: 0 10px 20px rgba(185, 50, 90, .35);
    color: #fff;
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .04em;
}
/* _content/AITranslationPlatform.Web/Components/Layout/LandingLayout.razor.rz.scp.css */
.landing-layout[b-5o6zbgjft9] {
    width: 100%;
    min-height: 100vh;
    background: var(--ui-page, #f7f3ec);
    color: var(--text, #28231d);
}
/* _content/AITranslationPlatform.Web/Components/Layout/MainLayout.razor.rz.scp.css */
/* =========================================================
   APP BACKGROUND
   ========================================================= */

.app-surface[b-364ay9lxgb] {
    /* =====================================================
       MODERN LIGHT COLOR SYSTEM
       ===================================================== */
    /* =====================================================
       WARM LIGHT SYSTEM

       These names are kept so the 600 lines below need no
       edit; only what they point at changed. Every value is a
       token from app.css - see the note there before altering
       one.

       The sidebar used to be a dark navy slab. In this design
       it is part of the same warm ground as the page, and the
       ACTIVE ITEM carries the contrast instead. Reintroducing a
       dark panel here breaks that.
       ===================================================== */

    --accent: var(--ui-accent);
    /*
     * The accent as INK, which is not the same colour as the accent as
     * a fill. The old accent was a mid blue that worked for both; amber
     * does not. Every `color: var(--accent-text)` in the panel became text
     * at 1.4:1 - present in the DOM and invisible on screen.
     */
    --accent-text: var(--ui-warning);
    --accent-hover: var(--ui-accent-strong);
    --accent-soft: var(--ui-accent-soft);
    --page-bg-start: var(--ui-bg-1);
    --page-bg-end: var(--ui-bg-2);
    --frame-bg: rgb(139 132 108 / 56%);
    --frame-border: rgb(255 255 255);
    --sidebar-bg-start: var(--ui-surface);
    --sidebar-bg-end: var(--ui-surface);
    --sidebar-text: var(--ui-ink-2);
    --sidebar-text-active: var(--ui-ink);
    --sidebar-icon-bg: rgba(255, 255, 255, .92);
    --sidebar-hover-bg: rgba(255, 255, 255, .96);
    --sidebar-active-bg: var(--ui-accent-soft);
    --panel-bg: rgb(225 221 204);
    --surface: rgb(255 255 255 / 72%);
    --surface-solid: var(--ui-surface-strong);
    --surface-hover: var(--ui-surface-hover);
    --text: var(--ui-ink);
    --text-secondary: var(--ui-ink-2);
    --muted: var(--ui-muted);
    --border: var(--ui-line);
    --border-accent: rgba(226, 175, 46, .34);
    --credit-bg: var(--ui-accent-soft);
    --danger: var(--ui-danger);
    --danger-border: rgba(180, 80, 63, .20);
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 28px;
    overflow: hidden;
    background: var(--ui-ground);
    color: var(--text);
}


/* =========================================================
   MAIN APP FRAME
   ========================================================= */

.app-frame[b-364ay9lxgb] {
    width: min(100%, 1640px);
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 164px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--frame-border);
    border-radius: 42px;
    background: var(--frame-bg);
    box-shadow: var(--ui-shadow-lg), inset 0 1px 0 var(--ui-line-bright);
    overflow: hidden;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.app-sidebar[b-364ay9lxgb] {
    min-height: calc(100vh - 88px);
    display: flex;
    flex-direction: column;
    padding: 20px 13px 18px;
    border: 1px solid var(--ui-line);
    border-radius: 32px;
    background: linear-gradient( 180deg, var(--sidebar-bg-start), var(--sidebar-bg-end));
    box-shadow: var(--ui-shadow-sm), inset 0 1px 0 var(--ui-line-bright);
    overflow: hidden;
}


.sidebar-logo[b-364ay9lxgb] {
    height: 72px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


.sidebar-logo-link[b-364ay9lxgb] {
    display: block;
    text-decoration: none;
}


.logo-mark[b-364ay9lxgb] {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ui-dark);
    color: var(--ui-accent);
    box-shadow: var(--ui-shadow-md);
}


    .logo-mark svg[b-364ay9lxgb] {
        width: 26px;
        height: 26px;
    }


.mobile-sidebar-close[b-364ay9lxgb] {
    display: none;
}


/* =========================================================
   SIDEBAR NAVIGATION
   ========================================================= */

.sidebar-navigation[b-364ay9lxgb] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;

    /*
     * Six items clear a 900px window; an administrator has a seventh
     * and does not, so this list can scroll. The default bar is a
     * grey slab down the side of a warm panel, which looks like a
     * defect - thin and near-invisible is the right weight for
     * something that only appears sometimes.
     */
    scrollbar-width: thin;
    scrollbar-color: var(--ui-line-strong) transparent;
}


    .sidebar-navigation[b-364ay9lxgb]::-webkit-scrollbar {
        width: 4px;
    }

    .sidebar-navigation[b-364ay9lxgb]::-webkit-scrollbar-track {
        background: transparent;
    }

    .sidebar-navigation[b-364ay9lxgb]::-webkit-scrollbar-thumb {
        border-radius: 4px;
        background: var(--ui-line-strong);
    }


/* =========================================================
   NAVIGATION TRACK
   =========================================================
   Scrolling and bouncing are separate jobs, and putting both
   on one element makes them fight: the block eases on a spring,
   a spring runs past its target by design, and anything that
   sticks out below the last item is scrollable content. Going
   from the first section to the last therefore flashed a
   scrollbar for the length of the animation.

   overflow: clip does not create a scroll container, and
   overflow-clip-margin lets the block paint beyond the track.
   The scroller is the nav above; the track only holds the items
   and the block that moves over them.

   The negative bottom margin is not a nudge. A clip margin is
   added to the scrollable area of the ancestor, so declaring one
   moved 17px of permanent scrollbar in where there had been a
   momentary one - measured 598px of items reported as 670. The
   margin gives back exactly what the clip margin took, so the
   block paints 72px past the track and none of it is scrollable.
   The two values have to stay equal, which is why they are one
   variable.
   ========================================================= */

.sidebar-nav-track[b-364ay9lxgb] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--nav-gap);
    padding-top: var(--nav-top);
    overflow: clip;
    overflow-clip-margin: var(--nav-clip);
    margin-bottom: calc(-1 * var(--nav-clip));
    --nav-clip: 72px;

    /* the indicator is placed by arithmetic on these three, so they
       are named once and never written as literals below */
    --nav-item: 90px;
    --nav-gap: 8px;
    --nav-top: 18px;
}


/* =========================================================
   SLIDING ACTIVE BLOCK
   =========================================================
   One element that travels, rather than a background switched
   on and off per item. A background cannot animate between two
   different elements - it can only appear - so moving from one
   section to another used to be an instant jump.

   Its position comes from --nav-active, set in the markup from
   the current route. That means the items must all be exactly
   --nav-item tall: min-height would let a wrapped label push a
   row taller and the block would drift further out of line with
   every item below it.
   ========================================================= */

.nav-indicator[b-364ay9lxgb] {
    height: 84px;
    position: absolute;
    inset-inline: 0;
    top: 64px;
    z-index: 0;
    border-radius: var(--ui-r-lg);
    background: var(--ui-accent-soft);
    box-shadow: inset 0 0 0 1px rgba(226, 175, 46, .38);
    transform: translateY(calc(var(--nav-active, 0) * (var(--nav-item) + var(--nav-gap))));
    transition: transform var(--ui-dur-3) var(--ui-ease-spring);
    pointer-events: none;
}


    /* no item owns this page, so the block has nowhere to be */
    .sidebar-nav-track[style*="--nav-active: -1"] .nav-indicator[b-364ay9lxgb] {
        opacity: 0;
    }


/*
 * Glyph above label. A row layout was tried and left the column
 * looking half-empty; the stack fills it and is what this panel
 * was designed around.
 */
[b-364ay9lxgb] .sidebar-link {
    height: var(--nav-item);
    position: relative;
    z-index: 1;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 4px;
    border-radius: var(--ui-r-lg);
    color: var(--sidebar-text);
    text-decoration: none !important;
    font-size: .78rem;
    font-weight: 700;
    transition: var(--ui-t);
}


    /*
     * The hover ground is a layer of its own, not the row's background.
     * A row is only as tall as its disc and label, so a ground on the
     * row touched the label, and the lifted disc stood out of the top
     * of it. This one reaches past the row by --nav-over, and further
     * up by the disc's lift; both come from the space round the row
     * (ITEMS SPREAD), so it never reaches the next item.
     */
    [b-364ay9lxgb] .sidebar-link::before {
        content: "";
        position: absolute;
        inset-inline: 0;
        top: calc(-1 * (var(--nav-over, 0px) + var(--nav-lift, 3px)));
        bottom: calc(-1 * var(--nav-over, 0px));
        z-index: -1;
        border-radius: inherit;
        background: var(--sidebar-hover-bg);
        opacity: 0;
        transition: opacity var(--ui-dur-2) var(--ui-ease);
        pointer-events: none;
    }

    [b-364ay9lxgb] .sidebar-link:hover {
        color: var(--sidebar-text-active);
    }

        [b-364ay9lxgb] .sidebar-link:hover::before {
            opacity: 1;
        }

        /*
         * Hover lifts the disc and rings it in amber. Moving the whole
         * row instead makes five items jitter as the pointer crosses
         * them; moving only the disc reads as the icon responding.
         */
        [b-364ay9lxgb] .sidebar-link:hover .sidebar-link-icon {
            border-color: var(--ui-accent);
            /* a token, not white: after dark this disc has to stay
               darker than the glyph sitting on it */
            background: var(--ui-surface-strong);
            color: var(--ui-ink);
            transform: translateY(calc(-1 * var(--nav-lift, 3px))) scale(1.06);
            box-shadow: 0 8px 18px rgba(226, 175, 46, .30);
        }


    /*
     * Colour only. The amber is the travelling block behind it, so
     * painting a background here as well would leave a second one
     * flashing on at the destination while the first slid over.
     */
    [b-364ay9lxgb] .sidebar-link.active {
        color: var(--sidebar-text-active);
        background: transparent;
    }

        [b-364ay9lxgb] .sidebar-link.active::before {
            opacity: 0;
        }


/*
 * The glyph used to be painted rgba(240,244,252,.88) for a dark
 * slab. On a light sidebar that is white on white, so it now
 * takes its colour from the ink scale and sits on a bright disc.
 */
.sidebar-link-icon[b-364ay9lxgb] {
    width: 44px;
    height: 44px;
    position: relative;
    display: grid;
    place-items: center;
    flex: none;
    border: 1px solid var(--ui-line);
    border-radius: 50%;
    background: var(--sidebar-icon-bg);
    color: var(--ui-ink-2);
    transition: var(--ui-t);
}


[b-364ay9lxgb] .sidebar-link.active
.sidebar-link-icon {
    border-color: transparent;
    background: var(--ui-dark);
    color: var(--ui-accent);
    box-shadow: var(--ui-shadow-sm);
    transform: scale(1.07);
    /* backwards: `both` would hold this transform and block the
       hover lift on the same disc */
    animation: ui-pop var(--ui-dur-3) var(--ui-ease-spring) backwards;
}


    /*
     * A ring thrown off the disc as it lands. It replaces the bar
     * that used to grow on the panel edge - with the amber block
     * now sliding to the item, a second marker beside it was one
     * signal too many for the same event.
     */
    [b-364ay9lxgb] .sidebar-link.active .sidebar-link-icon::after {
        content: "";
        position: absolute;
        inset: -5px;
        border: 2px solid var(--ui-accent-strong);
        border-radius: 50%;
        animation: ui-ripple .72s var(--ui-ease-out) both;
        pointer-events: none;
    }


/* =========================================================
   SIDEBAR GLYPH DRAW-IN
   =========================================================
   Every glyph here is stroked, never filled, and each element
   carries pathLength="1" in the markup. That normalisation is
   what lets a single rule draw any of them: without it the dash
   length would have to match each path's real length and every
   icon would need its own number.

   The glyphs are cut into an outline and its interior strokes so
   they can arrive in order - the sheet is drawn, then its fold,
   then each of its lines - rather than the whole icon appearing
   at once. Each interior stroke carries its own --i, so one rule
   spaces all eighteen of them.

   --ico-delay is when the interior starts. It defaults to just
   before the outline finishes, and drops to 0s on the two icons
   that have no outline, where waiting for one would be waiting
   for nothing.
   ========================================================= */

.sidebar-link-icon svg .ico-frame[b-364ay9lxgb],
.sidebar-link-icon svg .ico-detail[b-364ay9lxgb] {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}


/*
 * Hover replays it as well as activation. The icon is the only
 * thing in the row that reacts, so letting it redraw under the
 * pointer is what makes the column feel alive rather than merely
 * highlighted.
 */
[b-364ay9lxgb] .sidebar-link.active .sidebar-link-icon .ico-frame,
[b-364ay9lxgb] .sidebar-link:hover .sidebar-link-icon .ico-frame {
    animation: ui-draw .52s var(--ui-ease-out) both;
}


[b-364ay9lxgb] .sidebar-link.active .sidebar-link-icon .ico-detail,
[b-364ay9lxgb] .sidebar-link:hover .sidebar-link-icon .ico-detail {
    animation: ui-draw .3s var(--ui-ease-out) both;
    animation-delay: calc(var(--ico-delay, .34s) + var(--i, 0) * .09s);
}


.sidebar-link-icon svg[b-364ay9lxgb] {
    width: 22px;
    height: 22px;
}


/* =========================================================
   SIDEBAR FOOTER
   ========================================================= */

.sidebar-footer[b-364ay9lxgb] {
    padding-top: 16px;
    border-top: 1px solid var(--ui-line);
}


.sidebar-user-button[b-364ay9lxgb] {
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: var(--ui-r-lg);
    color: var(--sidebar-text);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--ui-t);
}


    .sidebar-user-button:hover[b-364ay9lxgb] {
        background: var(--sidebar-hover-bg);
        color: var(--ui-ink);
    }

        .sidebar-user-button:hover .sidebar-user-avatar[b-364ay9lxgb] {
            transform: scale(1.06);
            box-shadow: 0 8px 18px rgba(34, 35, 30, .26);
        }


/*
 * Same white-on-white trap the nav glyphs had: this was painted
 * rgba(240,244,252,.88) for a dark sidebar. Here the disc is the
 * dark element and the glyph sits on it, matching the avatar in
 * the reference.
 */
.sidebar-user-avatar[b-364ay9lxgb] {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: none;
    border-radius: 50%;
    background: var(--ui-dark);
    color: var(--ui-on-dark);
    transition: var(--ui-t);
}


    .sidebar-user-avatar svg[b-364ay9lxgb] {
        width: 22px;
    }


/* =========================
   SIDEBAR LINK - ENGLISH
   ========================= */

.app-surface[dir="ltr"][b-364ay9lxgb]  .sidebar-link {
    font-size: .8rem;
    font-weight: 700;
}


/* =========================
   SIDEBAR LINK - PERSIAN
   ========================= */

.app-surface[dir="rtl"][b-364ay9lxgb]  .sidebar-link {
    font-size: .9rem;
    font-weight: 900;
}


/* =========================
   PROFILE LABEL - ENGLISH
   ========================= */

.app-surface[dir="ltr"] .sidebar-user-label[b-364ay9lxgb] {
    font-size: .8rem;
    font-weight: 700;
}


/* =========================
   PROFILE LABEL - PERSIAN
   ========================= */

.app-surface[dir="rtl"] .sidebar-user-label[b-364ay9lxgb] {
    font-size: .9rem;
    font-weight: 900;
}


/* =========================================================
   MAIN PANEL
   ========================================================= */

/*
 * The panel scrolls, not the content inside it, so the content passes under
 * the glass top bar (GLASS BARS, at the end). A summary card that sticks
 * while the page scrolls sticks below the bar: --app-header-height is the
 * bar's height where such cards are sticky (wider than 1000px).
 */
.app-main-panel[b-364ay9lxgb] {
    --app-header-height: 89px;
    height: 100%;
    min-height: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-radius: 32px;
    background: var(--panel-bg);
    overflow-x: hidden;
    overflow-y: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.app-header[b-364ay9lxgb] {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 28px;
    border-bottom: 1px solid var(--border);
}


.header-left[b-364ay9lxgb] {
    display: flex;
    align-items: center;
    gap: 13px;
}


.header-brand[b-364ay9lxgb] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}


    .header-brand strong[b-364ay9lxgb] {
        color: var(--text);
        font-size: 1.2rem;
        font-weight: 700;
    }


    .header-brand span[b-364ay9lxgb] {
        color: var(--muted);
        font-size: .8rem;
    }


.mobile-menu-button[b-364ay9lxgb] {
    display: none;
}


.header-actions[b-364ay9lxgb] {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* =========================================================
   CREDIT
   ========================================================= */

.header-credit[b-364ay9lxgb] {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 13px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(41, 54, 82, .045);
}


.header-credit-icon[b-364ay9lxgb] {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--credit-bg);
    color: var(--accent-text);
}


    .header-credit-icon svg[b-364ay9lxgb] {
        width: 16px;
    }


.header-credit-copy[b-364ay9lxgb] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}


    .header-credit-copy small[b-364ay9lxgb] {
        color: var(--muted);
        font-size: .56rem;
    }


    .header-credit-copy strong[b-364ay9lxgb] {
        color: var(--text);
        font-size: .66rem;
        font-weight: 700;
    }


/* =========================================================
   BUY CREDITS
   =========================================================
   The one filled control in the header, and deliberately so:
   everything else up there is a switch or a readout, while
   this one is the action a user reaches for the moment the
   balance beside it tells them to.

   Sized to the credit pill it stands next to rather than to
   the square icon buttons, so the two read as one group.
   ========================================================= */

.header-buy-credit[b-364ay9lxgb] {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    border: 1px solid #ad996c6b;
    border-radius: 17px;
    background: linear-gradient(140deg, #f6dc98 0%, #cfb063 100%);
    color: var(--ui-on-accent);
    font-size: .68rem;
    font-weight: 800;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: var(--ui-shadow-accent);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .header-buy-credit:hover[b-364ay9lxgb] {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(226, 175, 46, .34);
    }

    .header-buy-credit:active[b-364ay9lxgb] {
        transform: translateY(0);
    }


.header-buy-credit-glyph[b-364ay9lxgb] {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: none;
    border-radius: 8px;
    /* a wash of the ink, so the plus reads as part of the button
       rather than a second colour pasted onto it */
    background: rgba(74, 54, 8, .13);
}

    .header-buy-credit-glyph svg[b-364ay9lxgb] {
        width: 14px;
        height: 14px;
    }


/* Narrow: the label goes, the plus stays. A credit balance and
   a way to top it up both have to survive on a phone. */

@media (max-width: 720px) {

    .header-buy-credit[b-364ay9lxgb] {
        padding: 0 13px;
        gap: 0;
    }

        .header-buy-credit span:last-child[b-364ay9lxgb] {
            display: none;
        }
}


/* =========================================================
   HEADER ACTION BUTTONS
   ========================================================= */

.header-action-button[b-364ay9lxgb] {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: .68rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
}


    .header-action-button:hover[b-364ay9lxgb] {
        transform: translateY(-2px);
        color: var(--accent-text);
        border-color: var(--border-accent);
        background: var(--surface-hover);
    }


    .header-action-button svg[b-364ay9lxgb] {
        width: 18px;
        height: 18px;
    }


.header-logout-form[b-364ay9lxgb] {
    display: flex;
    margin: 0;
}


.logout-action:hover[b-364ay9lxgb] {
    color: var(--danger);
    border-color: var(--danger-border);
    background: rgba(224, 93, 105, .065);
}


.theme-dark-icon[b-364ay9lxgb] {
    display: none;
}


/* =========================================================
   CONTENT
   ========================================================= */

.app-content[b-364ay9lxgb] {
    flex: 1 0 auto;
    min-width: 0;
    padding: 32px;
    /* clip, not hidden: hidden would make it a scroll box of its own and stop sticky cards sticking */
    overflow-x: clip;
}


/* =========================================================
   MOBILE
   ========================================================= */

.mobile-backdrop[b-364ay9lxgb] {
    display: none;
}


@media (max-width: 1000px) {

    .app-surface[b-364ay9lxgb] {
        height: 100vh;
        padding: 12px;
        overflow: hidden;
    }


    .app-frame[b-364ay9lxgb] {
        height: 100%;
        grid-template-columns: minmax(0, 1fr);
        padding: 8px;
        border-radius: 28px;
    }


    .app-main-panel[b-364ay9lxgb] {
        border-radius: 22px;
    }


    .app-sidebar[b-364ay9lxgb] {
        height: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        padding: 20px 13px 18px;
        box-sizing: border-box;
        border-radius: 32px;
        background: linear-gradient( 180deg, var(--sidebar-bg-start), var(--sidebar-bg-end));
        box-shadow: inset 0 1px 0 var(--ui-line-bright), var(--ui-shadow-lg);
        overflow: hidden;
    }


        .app-sidebar.mobile-open[b-364ay9lxgb] {
            transform: translateX(0);
        }


    .mobile-sidebar-close[b-364ay9lxgb] {
        width: 31px;
        height: 31px;
        position: absolute;
        right: 0;
        top: 0;
        display: grid;
        place-items: center;
        border: 0;
        border-radius: 10px;
        background: var(--ui-surface-strong);
        color: var(--ui-ink);
    }


        .mobile-sidebar-close svg[b-364ay9lxgb] {
            width: 16px;
        }


    .mobile-menu-button[b-364ay9lxgb] {
        width: 43px;
        height: 43px;
        display: grid;
        place-items: center;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: var(--surface);
        color: var(--text-secondary);
    }


        .mobile-menu-button svg[b-364ay9lxgb] {
            width: 19px;
        }


    .mobile-backdrop[b-364ay9lxgb] {
        position: fixed;
        inset: 0;
        z-index: 90;
        display: block;
        border: 0;
        background: rgba(19, 28, 48, .32);
        backdrop-filter: blur(3px);
    }
}


@media (max-width: 600px) {

    .app-header[b-364ay9lxgb] {
        min-height: 74px;
        padding: 13px 14px;
    }


    .header-brand span[b-364ay9lxgb] {
        display: none;
    }


    .header-credit-copy[b-364ay9lxgb] {
        display: none;
    }


    .header-credit[b-364ay9lxgb] {
        width: 45px;
        padding: 0;
        justify-content: center;
    }


    .header-credit-icon[b-364ay9lxgb] {
        background: transparent;
    }


    .app-content[b-364ay9lxgb] {
        padding: 18px 14px 30px;
    }
}




.header-logout-form[b-364ay9lxgb] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.header-logout-button[b-364ay9lxgb] {
    appearance: none;
    -webkit-appearance: none;
}

    .header-logout-button svg[b-364ay9lxgb] {
        width: 20px;
        height: 20px;
        display: block;
    }

/* =========================================================
   SUPPORT TICKET BADGE
   ========================================================= */

.sidebar-link-badge[b-364ay9lxgb] {
    min-width: 22px;
    height: 22px;
    position: absolute;
    inset-inline-end: 7px;
    top: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border: 2px solid var(--sidebar-bg-start);
    border-radius: 999px;
    background: var(--ui-danger);
    color: #fff;
    font-size: .58rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 5px 12px rgba(156, 59, 48, .25);
}

/* ============================================================
   USER SIDEBAR COMPACT FIT V1
   Goal:
   - keep every navigation icon + label visible after adding Tickets
   - remove ordinary desktop sidebar scrolling
   - preserve the existing visual language / hover / icon animation
   ============================================================ */

@media (min-width: 901px) {
    .app-sidebar[b-364ay9lxgb] {
        padding: 13px 11px 12px;
    }

    .sidebar-logo[b-364ay9lxgb] {
        height: 52px;
        flex: 0 0 52px;
    }

    .logo-mark[b-364ay9lxgb] {
        width: 45px;
        height: 45px;
    }

    .logo-mark svg[b-364ay9lxgb] {
        width: 23px;
        height: 23px;
    }

    .sidebar-navigation[b-364ay9lxgb] {
        min-height: 0;
        gap: 3px;
        padding-top: 7px;
        overflow-y: hidden;
        overflow-x: hidden;
    }

    [b-364ay9lxgb] .sidebar-link {
        min-height: 56px;
        flex: 0 0 auto;
        gap: 4px;
        padding: 4px 3px;
        border-radius: 17px;
        line-height: 1.12;
    }

    [b-364ay9lxgb] .sidebar-link > span:last-child {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        text-align: center;
        line-height: 1.12;
        white-space: nowrap;
        text-overflow: clip;
    }

    .sidebar-link-icon[b-364ay9lxgb] {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
    }

    .sidebar-link-icon svg[b-364ay9lxgb] {
        width: 17px;
        height: 17px;
    }

    .app-surface[dir="ltr"][b-364ay9lxgb]  .sidebar-link {
        font-size: .69rem;
        font-weight: 720;
        letter-spacing: -.01em;
    }

    .app-surface[dir="rtl"][b-364ay9lxgb]  .sidebar-link {
        font-size: .76rem;
        font-weight: 850;
    }

    .sidebar-footer[b-364ay9lxgb] {
        flex: 0 0 auto;
        padding-top: 8px;
        margin-top: 6px;
    }

    .sidebar-user-button[b-364ay9lxgb] {
        min-height: 54px;
        gap: 4px;
        border-radius: 17px;
        font-size: .7rem;
    }

    .sidebar-user-avatar[b-364ay9lxgb] {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
    }

    .sidebar-user-avatar svg[b-364ay9lxgb] {
        width: 17px;
        height: 17px;
    }

    .app-surface[dir="ltr"] .sidebar-user-label[b-364ay9lxgb] {
        font-size: .69rem;
        font-weight: 720;
    }

    .app-surface[dir="rtl"] .sidebar-user-label[b-364ay9lxgb] {
        font-size: .76rem;
        font-weight: 850;
    }
}


/* Medium-height laptops: tighten vertically before any scroll is needed. */
@media (min-width: 901px) and (max-height: 760px) {
    .app-sidebar[b-364ay9lxgb] {
        padding-block: 10px;
    }

    .sidebar-logo[b-364ay9lxgb] {
        height: 46px;
        flex-basis: 46px;
    }

    .logo-mark[b-364ay9lxgb] {
        width: 40px;
        height: 40px;
    }

    .logo-mark svg[b-364ay9lxgb] {
        width: 21px;
        height: 21px;
    }

    .sidebar-navigation[b-364ay9lxgb] {
        gap: 2px;
        padding-top: 5px;
    }

    [b-364ay9lxgb] .sidebar-link {
        min-height: 51px;
        gap: 3px;
        padding-block: 3px;
        border-radius: 15px;
    }

    .sidebar-link-icon[b-364ay9lxgb] {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }

    .sidebar-link-icon svg[b-364ay9lxgb] {
        width: 16px;
        height: 16px;
    }

    .app-surface[dir="ltr"][b-364ay9lxgb]  .sidebar-link,
    .app-surface[dir="ltr"] .sidebar-user-label[b-364ay9lxgb] {
        font-size: .65rem;
    }

    .app-surface[dir="rtl"][b-364ay9lxgb]  .sidebar-link,
    .app-surface[dir="rtl"] .sidebar-user-label[b-364ay9lxgb] {
        font-size: .71rem;
    }

    .sidebar-footer[b-364ay9lxgb] {
        padding-top: 6px;
        margin-top: 4px;
    }

    .sidebar-user-button[b-364ay9lxgb] {
        min-height: 48px;
        gap: 3px;
    }

    .sidebar-user-avatar[b-364ay9lxgb] {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }

    .sidebar-user-avatar svg[b-364ay9lxgb] {
        width: 16px;
        height: 16px;
    }
}


/* Short desktop windows: keep the entire menu visible without a scrollbar. */
@media (min-width: 901px) and (max-height: 650px) {
    .app-sidebar[b-364ay9lxgb] {
        padding: 7px 10px 8px;
    }

    .sidebar-logo[b-364ay9lxgb] {
        height: 40px;
        flex-basis: 40px;
    }

    .logo-mark[b-364ay9lxgb] {
        width: 35px;
        height: 35px;
    }

    .logo-mark svg[b-364ay9lxgb] {
        width: 19px;
        height: 19px;
    }

    .sidebar-navigation[b-364ay9lxgb] {
        gap: 1px;
        padding-top: 3px;
    }

    [b-364ay9lxgb] .sidebar-link {
        min-height: 45px;
        gap: 2px;
        padding-block: 2px;
        border-radius: 13px;
    }

    .sidebar-link-icon[b-364ay9lxgb] {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }

    .sidebar-link-icon svg[b-364ay9lxgb] {
        width: 14px;
        height: 14px;
    }

    .app-surface[dir="ltr"][b-364ay9lxgb]  .sidebar-link,
    .app-surface[dir="ltr"] .sidebar-user-label[b-364ay9lxgb] {
        font-size: .60rem;
    }

    .app-surface[dir="rtl"][b-364ay9lxgb]  .sidebar-link,
    .app-surface[dir="rtl"] .sidebar-user-label[b-364ay9lxgb] {
        font-size: .66rem;
    }

    .sidebar-footer[b-364ay9lxgb] {
        padding-top: 4px;
        margin-top: 3px;
    }

    .sidebar-user-button[b-364ay9lxgb] {
        min-height: 43px;
        gap: 2px;
    }

    .sidebar-user-avatar[b-364ay9lxgb] {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }

    .sidebar-user-avatar svg[b-364ay9lxgb] {
        width: 14px;
        height: 14px;
    }
}


/* Mobile drawer keeps its normal touch-friendly sizing and scrolling. */
@media (max-width: 900px) {
    .sidebar-navigation[b-364ay9lxgb] {
        overflow-y: auto;
    }
}

/* ============================================================
   USER SIDEBAR COMPACT FIT V2
   Runtime correction after screenshot review:
   - keep icon discs visually substantial
   - reduce the REAL row height via --nav-item
   - tighten distance between rows via --nav-gap
   - preserve the sliding active indicator geometry
   ============================================================ */

@media (min-width: 901px) {
    /*
     * The canonical sidebar sizes every row with:
     *   height: var(--nav-item)
     * so changing only min-height (V1) could not make the menu shorter.
     * These variables are the authoritative geometry for BOTH the rows
     * and the sliding active block.
     */
    .sidebar-nav-track[b-364ay9lxgb] {
        --nav-item: 74px;
        --nav-gap: 8px;
        --nav-top: 70px;
        --nav-clip: 54px;
    }

    .app-sidebar[b-364ay9lxgb] {
        padding: 11px 11px 10px;
    }

    .sidebar-logo[b-364ay9lxgb] {
        height: 50px;
        flex: 0 0 50px;
    }

    .logo-mark[b-364ay9lxgb] {
        width: 45px;
        height: 45px;
    }

    .logo-mark svg[b-364ay9lxgb] {
        width: 23px;
        height: 23px;
    }

    .sidebar-navigation[b-364ay9lxgb] {
        min-height: 0;
        overflow-y: hidden;
        overflow-x: hidden;
    }

    [b-364ay9lxgb] .sidebar-link {
        height: var(--nav-item);
        min-height: var(--nav-item);
        flex: 0 0 var(--nav-item);

        padding: 13px 13px;
        border-radius: 16px;
        line-height: 1.08;
    }

    .sidebar-link-icon[b-364ay9lxgb] {
        width: 46px;
        height: 46px;
        flex: 0 0 46px;

    }

    .sidebar-link-icon svg[b-364ay9lxgb] {
        width: 20px;
        height: 20px;
    }

    [b-364ay9lxgb] .sidebar-link > span:last-child {
        max-width: 100%;
        line-height: 1.08;
        white-space: nowrap;
        margin-top:5px;
    }

    .app-surface[dir="ltr"][b-364ay9lxgb]  .sidebar-link {
        font-size: .70rem;
        font-weight: 720;
    }

    .app-surface[dir="rtl"][b-364ay9lxgb]  .sidebar-link {
        font-size: .86rem;
        font-weight: 850;
    }

    .sidebar-footer[b-364ay9lxgb] {
        flex: 0 0 auto;
        margin-top: 4px;
        padding-top: 7px;
    }

    .sidebar-user-button[b-364ay9lxgb] {
        min-height: 52px;
        gap: 3px;
        border-radius: 16px;
    }

    .sidebar-user-avatar[b-364ay9lxgb] {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
    }

    .sidebar-user-avatar svg[b-364ay9lxgb] {
        width: 18px;
        height: 18px;
    }

    .app-surface[dir="ltr"] .sidebar-user-label[b-364ay9lxgb] {
        font-size: .69rem;
        font-weight: 720;
    }

    .app-surface[dir="rtl"] .sidebar-user-label[b-364ay9lxgb] {
        font-size: .75rem;
        font-weight: 850;
    }
}


/* Normal laptop heights: slightly denser, without shrinking icons to V1 size. */
@media (min-width: 901px) and (max-height: 760px) {
    .sidebar-nav-track[b-364ay9lxgb] {
        --nav-item: 59px;
        --nav-gap: 2px;
        --nav-top: 4px;
        --nav-clip: 50px;
    }

    .app-sidebar[b-364ay9lxgb] {
        padding-block: 8px;
    }

    .sidebar-logo[b-364ay9lxgb] {
        height: 45px;
        flex-basis: 45px;
    }

    .logo-mark[b-364ay9lxgb] {
        width: 41px;
        height: 41px;
    }

    .logo-mark svg[b-364ay9lxgb] {
        width: 21px;
        height: 21px;
    }

    [b-364ay9lxgb] .sidebar-link {
        gap: 2px;
        padding-block: 2px;
        border-radius: 15px;
    }

    .sidebar-link-icon[b-364ay9lxgb] {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .sidebar-link-icon svg[b-364ay9lxgb] {
        width: 19px;
        height: 19px;
    }

    .app-surface[dir="ltr"][b-364ay9lxgb]  .sidebar-link,
    .app-surface[dir="ltr"] .sidebar-user-label[b-364ay9lxgb] {
        font-size: .66rem;
    }

    .app-surface[dir="rtl"][b-364ay9lxgb]  .sidebar-link,
    .app-surface[dir="rtl"] .sidebar-user-label[b-364ay9lxgb] {
        font-size: .72rem;
    }

    .sidebar-footer[b-364ay9lxgb] {
        margin-top: 3px;
        padding-top: 5px;
    }

    .sidebar-user-button[b-364ay9lxgb] {
        min-height: 47px;
    }

    .sidebar-user-avatar[b-364ay9lxgb] {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .sidebar-user-avatar svg[b-364ay9lxgb] {
        width: 17px;
        height: 17px;
    }
}


/* Very short desktop windows: geometry compresses before scrolling is needed. */
@media (min-width: 901px) and (max-height: 650px) {
    .sidebar-nav-track[b-364ay9lxgb] {
        --nav-item: 53px;
        --nav-gap: 1px;
        --nav-top: 2px;
        --nav-clip: 46px;
    }

    .app-sidebar[b-364ay9lxgb] {
        padding: 6px 9px 7px;
    }

    .sidebar-logo[b-364ay9lxgb] {
        height: 39px;
        flex-basis: 39px;
    }

    .logo-mark[b-364ay9lxgb] {
        width: 36px;
        height: 36px;
    }

    .logo-mark svg[b-364ay9lxgb] {
        width: 19px;
        height: 19px;
    }

    [b-364ay9lxgb] .sidebar-link {
        gap: 1px;
        padding-block: 1px;
        border-radius: 13px;
    }

    .sidebar-link-icon[b-364ay9lxgb] {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
    }

    .sidebar-link-icon svg[b-364ay9lxgb] {
        width: 18px;
        height: 18px;
    }

    .app-surface[dir="ltr"][b-364ay9lxgb]  .sidebar-link,
    .app-surface[dir="ltr"] .sidebar-user-label[b-364ay9lxgb] {
        font-size: .62rem;
    }

    .app-surface[dir="rtl"][b-364ay9lxgb]  .sidebar-link,
    .app-surface[dir="rtl"] .sidebar-user-label[b-364ay9lxgb] {
        font-size: .68rem;
    }

    .sidebar-footer[b-364ay9lxgb] {
        margin-top: 2px;
        padding-top: 4px;
    }

    .sidebar-user-button[b-364ay9lxgb] {
        min-height: 42px;
    }

    .sidebar-user-avatar[b-364ay9lxgb] {
        width: 31px;
        height: 31px;
        flex-basis: 31px;
    }

    .sidebar-user-avatar svg[b-364ay9lxgb] {
        width: 16px;
        height: 16px;
    }
}


/* Mobile remains touch-friendly and independently scrollable. */
@media (max-width: 900px) {
    .sidebar-navigation[b-364ay9lxgb] {
        overflow-y: auto;
    }
}

/* GOFTITO SIDEBAR BRAND */
.logo-mark.logo-mark-goftito[b-364ay9lxgb] {
    width: 130px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;

}

.sidebar-brand-logo[b-364ay9lxgb] {
    width: 130px;
    height: 90px;
    display: block;
    object-fit: contain;
    object-position: center;
    transform: none;
    border-radius: 0;
    margin-top:60px;
}

/* =========================================================
   RESPONSIVE SHELL
   =========================================================
   Three shapes of the same panel:

   - above 1000px: the sidebar with labels, as designed;
   - 721-1000px (tablet, small laptop): the sidebar becomes a
     rail of icons, so the page keeps nearly all the width;
   - up to 720px (phone): no sidebar at all. A tab bar along
     the bottom edge carries the four destinations a user
     reaches for, and a sheet carries the rest - the way a
     native app does it.

   Before this, under 1000px the sidebar stayed in the grid as
   a full-width row and the page was pushed below it: on a
   phone the first screen was nothing but navigation.

   Everything here reads the --ui-* tokens, so the dark theme
   follows without rules of its own except where a surface has
   to be opaque (the bar and the sheet sit over moving content).
   ========================================================= */

.mobile-tabbar[b-364ay9lxgb],
.mobile-sheet[b-364ay9lxgb],
.mobile-sheet-backdrop[b-364ay9lxgb],
.header-mobile-logo[b-364ay9lxgb] {
    display: none;
}


/* ---------- tablet: icon rail ---------- */

@media (min-width: 721px) and (max-width: 1000px) {

    .app-surface[b-364ay9lxgb] {
        padding: 12px;
    }

    .app-frame[b-364ay9lxgb] {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 10px;
        padding: 8px;
        border-radius: 30px;
    }

    .app-sidebar[b-364ay9lxgb] {
        height: 100%;
        min-height: 0;
        padding: 10px 8px;
        border-radius: 24px;
        box-shadow: var(--ui-shadow-sm), inset 0 1px 0 var(--ui-line-bright);
    }

    .sidebar-logo[b-364ay9lxgb] {
        height: 56px;
        flex: 0 0 56px;
    }

    .logo-mark.logo-mark-goftito[b-364ay9lxgb],
    .sidebar-brand-logo[b-364ay9lxgb] {
        width: 54px;
        height: 50px;
        margin-top: 0;
    }

    .mobile-sidebar-close[b-364ay9lxgb],
    .mobile-menu-button[b-364ay9lxgb],
    .mobile-backdrop[b-364ay9lxgb] {
        display: none !important;
    }

    .sidebar-navigation[b-364ay9lxgb] {
        overflow-y: auto;
        scrollbar-width: none;
    }

        .sidebar-navigation[b-364ay9lxgb]::-webkit-scrollbar {
            display: none;
        }

    .sidebar-nav-track[b-364ay9lxgb] {
        --nav-item: 58px;
        --nav-gap: 6px;
        --nav-top: 8px;
        --nav-clip: 40px;
    }

    .nav-indicator[b-364ay9lxgb] {
        height: var(--nav-item);
        top: var(--nav-top);
        border-radius: 18px;
    }

    [b-364ay9lxgb] .sidebar-link {
        height: var(--nav-item);
        min-height: var(--nav-item);
        flex: 0 0 var(--nav-item);
        padding: 0;
        gap: 0;
        border-radius: 18px;
    }

        /* the label stays for screen readers; the rail shows the glyph */
        [b-364ay9lxgb] .sidebar-link > span:not(.sidebar-link-icon):not(.sidebar-link-badge),
        .sidebar-user-label[b-364ay9lxgb] {
            position: absolute !important;
            width: 1px;
            height: 1px;
            margin: -1px;
            padding: 0;
            overflow: hidden;
            clip: rect(0 0 0 0);
            white-space: nowrap;
            border: 0;
        }

    .sidebar-link-icon[b-364ay9lxgb] {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }

        .sidebar-link-icon svg[b-364ay9lxgb] {
            width: 20px;
            height: 20px;
        }

    .sidebar-link-badge[b-364ay9lxgb] {
        inset-inline-end: 2px;
        top: 2px;
    }

    .sidebar-footer[b-364ay9lxgb] {
        padding-top: 8px;
    }

    .sidebar-user-button[b-364ay9lxgb] {
        min-height: 54px;
    }

    .sidebar-user-avatar[b-364ay9lxgb] {
        width: 40px;
        height: 40px;
    }

    .app-main-panel[b-364ay9lxgb] {
        border-radius: 24px;
    }

    .app-header[b-364ay9lxgb] {
        min-height: 72px;
        padding: 12px 20px;
    }

    .app-content[b-364ay9lxgb] {
        padding: 22px 20px 28px;
    }
}


/* ---------- phone: app shell ---------- */

@media (max-width: 720px) {

    .app-surface[b-364ay9lxgb] {
        padding: 0;
    }

    .app-frame[b-364ay9lxgb] {
        display: block;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .app-sidebar[b-364ay9lxgb],
    .mobile-backdrop[b-364ay9lxgb],
    .mobile-menu-button[b-364ay9lxgb] {
        display: none !important;
    }

    .app-main-panel[b-364ay9lxgb] {
        height: 100%;
        border-radius: 0;
        background: transparent;
    }


    /* ---- header ---- */

    .app-header[b-364ay9lxgb] {
        min-height: 0;
        gap: 10px;
        padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
        border-bottom: 1px solid var(--ui-line);
        background: var(--ui-surface-strong);
        -webkit-backdrop-filter: saturate(1.4) blur(18px);
        backdrop-filter: saturate(1.4) blur(18px);
    }

    .header-left[b-364ay9lxgb] {
        min-width: 0;
        gap: 10px;
    }

    .header-mobile-logo[b-364ay9lxgb] {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        flex: none;
    }

        .header-mobile-logo img[b-364ay9lxgb] {
            width: 44px;
            height: 40px;
            object-fit: contain;
        }

    .header-brand[b-364ay9lxgb] {
        min-width: 0;
    }

        .header-brand strong[b-364ay9lxgb] {
            overflow: hidden;
            font-size: .98rem;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .header-brand span[b-364ay9lxgb] {
            display: none;
        }

    .header-actions[b-364ay9lxgb] {
        flex: none;
        gap: 8px;
    }

    /* language, theme and log-out live in the sheet on a phone */
    .header-actions > .header-action-button[b-364ay9lxgb],
    .header-actions > .header-profile[b-364ay9lxgb] {
        display: none;
    }

    .header-credit[b-364ay9lxgb] {
        width: auto;
        height: 42px;
        gap: 7px;
        padding: 0 12px 0 6px;
        border-radius: 15px;
        background: var(--ui-surface-strong);
        box-shadow: var(--ui-shadow-sm);
    }

    .app-surface[dir="rtl"] .header-credit[b-364ay9lxgb] {
        padding: 0 6px 0 12px;
    }

    .header-credit-icon[b-364ay9lxgb] {
        width: 30px;
        height: 30px;
        border-radius: 11px;
        background: var(--credit-bg);
    }

    .header-credit-copy[b-364ay9lxgb] {
        display: flex;
    }

        .header-credit-copy small[b-364ay9lxgb] {
            display: none;
        }

        .header-credit-copy strong[b-364ay9lxgb] {
            font-size: .8rem;
            font-weight: 800;
            white-space: nowrap;
        }

    .header-buy-credit[b-364ay9lxgb] {
        width: 42px;
        height: 42px;
        justify-content: center;
        padding: 0;
        border-radius: 15px;
    }

    .header-buy-credit-glyph[b-364ay9lxgb] {
        background: transparent;
    }


    /* ---- content: room for the tab bar ---- */

    /* The tab bar is 68px tall, 10px off the bottom edge, and its centre
       button stands 20px above that: 98px of glass over the page. 104px
       left the last row of a page six pixels clear of it, which still
       read as hidden under the bar, so the gap is wider now. */
    .app-content[b-364ay9lxgb] {
        padding: 16px 14px calc(132px + env(safe-area-inset-bottom));
    }

    /* No -webkit-overflow-scrolling: on iOS Safari it makes the panel
       a stacking context, and every dialog a page opens (the checkout
       sheet, the voice studio, documents) was then drawn under the tab
       bar, which covered its buttons. iOS 13 and later scroll with
       momentum without it. */
    .app-main-panel[b-364ay9lxgb] {
        overscroll-behavior: contain;
        scrollbar-width: none;
    }

        .app-main-panel[b-364ay9lxgb]::-webkit-scrollbar {
            display: none;
        }


    /* ---- tab bar ---- */

    .mobile-tabbar[b-364ay9lxgb] {
        position: fixed;
        inset-inline: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        z-index: 90;
        height: 68px;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: center;
        padding: 0 4px;
        border: 1px solid var(--ui-line);
        border-radius: 26px;
        background: rgba(253, 251, 246, .86);
        -webkit-backdrop-filter: saturate(1.6) blur(22px);
        backdrop-filter: saturate(1.6) blur(22px);
        box-shadow: 0 14px 40px rgba(62, 54, 30, .18), inset 0 1px 0 var(--ui-line-bright);
    }

    .mobile-tab[b-364ay9lxgb] {
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--ui-muted);
        font-family: inherit;
        font-size: .66rem;
        font-weight: 700;
        line-height: 1.1;
        text-decoration: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: color var(--ui-dur-2) var(--ui-ease);
    }

    .app-surface[dir="rtl"] .mobile-tab[b-364ay9lxgb] {
        font-size: .7rem;
        font-weight: 800;
    }

    .mobile-tab-icon[b-364ay9lxgb] {
        position: relative;
        width: 52px;
        height: 30px;
        display: grid;
        place-items: center;
        border-radius: 16px;
        transition: background var(--ui-dur-2) var(--ui-ease), transform var(--ui-dur-3) var(--ui-ease-spring);
    }

        .mobile-tab-icon svg[b-364ay9lxgb] {
            width: 22px;
            height: 22px;
        }

    .mobile-tab:active .mobile-tab-icon[b-364ay9lxgb] {
        transform: scale(.9);
    }

    .mobile-tab.is-active[b-364ay9lxgb] {
        color: var(--ui-ink);
    }

        .mobile-tab.is-active .mobile-tab-icon[b-364ay9lxgb] {
            background: var(--ui-accent-soft);
            box-shadow: inset 0 0 0 1px rgba(226, 175, 46, .35);
            animation: mobile-tab-in-b-364ay9lxgb var(--ui-dur-3) var(--ui-ease-spring) both;
        }

    .mobile-tab-label[b-364ay9lxgb] {
        max-width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .mobile-tab-dot[b-364ay9lxgb] {
        position: absolute;
        top: 2px;
        inset-inline-end: 10px;
        width: 9px;
        height: 9px;
        border: 2px solid var(--ui-surface-strong);
        border-radius: 50%;
        background: var(--ui-danger);
    }


    /* the centre tab: the one action the product exists for */

    .mobile-tab-primary[b-364ay9lxgb] {
        justify-content: flex-end;
        padding-bottom: 9px;
        color: var(--ui-ink);
    }

    .mobile-tab-fab[b-364ay9lxgb] {
        position: absolute;
        top: -20px;
        left: 50%;
        width: 54px;
        height: 54px;
        display: grid;
        place-items: center;
        border: 4px solid rgba(253, 251, 246, .96);
        border-radius: 20px;
        background: linear-gradient(140deg, var(--ui-accent) 0%, var(--ui-accent-strong) 100%);
        color: var(--ui-on-accent);
        box-shadow: var(--ui-shadow-accent);
        transform: translateX(-50%);
        transition: transform var(--ui-dur-3) var(--ui-ease-spring), box-shadow var(--ui-dur-2) var(--ui-ease);
    }

        .mobile-tab-fab svg[b-364ay9lxgb] {
            width: 24px;
            height: 24px;
        }

    .mobile-tab-primary:active .mobile-tab-fab[b-364ay9lxgb] {
        transform: translateX(-50%) scale(.92);
    }

    .mobile-tab-primary.is-active .mobile-tab-fab[b-364ay9lxgb] {
        background: var(--ui-dark);
        color: var(--ui-accent);
    }


    /* ---- "more" sheet ----
       Always in the page and opened by "is-open", so it slides out
       the way it came in; wwwroot/js/mobile-sheet.js drags it down
       to close. The page behind is only dimmed a little, not
       blurred: the sheet is glass (GLASS BARS, at the end). */

    .mobile-sheet-backdrop[b-364ay9lxgb] {
        position: fixed;
        inset: 0;
        z-index: 84;
        display: block;
        padding: 0;
        border: 0;
        background: rgba(20, 16, 10, .14);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .32s ease, visibility 0s linear .32s;
    }

        .mobile-sheet-backdrop.is-open[b-364ay9lxgb] {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transition: opacity .32s ease, visibility 0s;
        }

    .mobile-sheet[b-364ay9lxgb] {
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        z-index: 85;
        max-height: 82dvh;
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 10px 16px calc(98px + env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-user-select: none;
        user-select: none;
        border: 1px solid var(--ui-line);
        border-bottom: 0;
        border-radius: 28px 28px 0 0;
        background: #fbf9f3;
        box-shadow: 0 -18px 50px rgba(62, 54, 30, .18);
        visibility: hidden;
        transform: translateY(calc(100% + 24px));
        transition: transform .44s cubic-bezier(.32, .72, 0, 1), visibility 0s linear .44s;
    }

        .mobile-sheet.is-open[b-364ay9lxgb] {
            visibility: visible;
            transform: none;
            transition: transform .44s cubic-bezier(.32, .72, 0, 1), visibility 0s;
        }

    .mobile-sheet-grip[b-364ay9lxgb] {
        width: 42px;
        height: 5px;
        flex: none;
        margin: 0 auto 2px;
        border-radius: 99px;
        background: var(--ui-line-strong);
    }

    .mobile-sheet-profile[b-364ay9lxgb] {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        border: 1px solid var(--ui-line);
        border-radius: 20px;
        background: var(--ui-surface-strong);
        color: var(--ui-ink);
        text-decoration: none;
    }

    .mobile-sheet-avatar[b-364ay9lxgb] {
        width: 46px;
        height: 46px;
        flex: none;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: var(--ui-dark);
        color: var(--ui-on-dark);
    }

        .mobile-sheet-avatar svg[b-364ay9lxgb] {
            width: 22px;
            height: 22px;
        }

    /* the name and the credit side by side, both on the card's middle */
    .mobile-sheet-profile-copy[b-364ay9lxgb] {
        min-width: 0;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

        .mobile-sheet-profile-copy strong[b-364ay9lxgb] {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: .95rem;
            font-weight: 800;
            line-height: 1.4;
        }

        .mobile-sheet-profile-copy small[b-364ay9lxgb] {
            flex: none;
            color: var(--ui-muted);
            font-size: .76rem;
            font-weight: 700;
            line-height: 1.4;
            white-space: nowrap;
        }

    .mobile-sheet-chevron[b-364ay9lxgb] {
        color: var(--ui-faint);
    }

        .mobile-sheet-chevron svg[b-364ay9lxgb] {
            width: 20px;
            height: 20px;
        }

    .app-surface[dir="ltr"] .mobile-sheet-chevron svg[b-364ay9lxgb] {
        transform: scaleX(-1);
    }

    .mobile-sheet-grid[b-364ay9lxgb] {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
    }

    .mobile-sheet-tile[b-364ay9lxgb] {
        min-height: 92px;
        line-height: 1.35;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 4px;
        border: 1px solid var(--ui-line);
        border-radius: 20px;
        background: var(--ui-surface-strong);
        color: var(--ui-ink-2);
        font-size: .7rem;
        font-weight: 800;
        text-align: center;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
        transition: transform var(--ui-dur-2) var(--ui-ease), background var(--ui-dur-2) var(--ui-ease);
    }

        .mobile-sheet-tile:active[b-364ay9lxgb] {
            transform: scale(.96);
        }

        .mobile-sheet-tile.is-active[b-364ay9lxgb] {
            border-color: rgba(226, 175, 46, .45);
            background: var(--ui-accent-soft);
            color: var(--ui-ink);
        }

    .mobile-sheet-tile-icon[b-364ay9lxgb] {
        position: relative;
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        border: 1px solid var(--ui-line);
        border-radius: 50%;
        background: var(--ui-surface-strong);
        color: var(--ui-ink-2);
    }

        .mobile-sheet-tile-icon svg[b-364ay9lxgb] {
            width: 21px;
            height: 21px;
        }

    .mobile-sheet-tile.is-active .mobile-sheet-tile-icon[b-364ay9lxgb] {
        border-color: transparent;
        background: var(--ui-dark);
        color: var(--ui-accent);
    }

    .mobile-sheet-tile-accent .mobile-sheet-tile-icon[b-364ay9lxgb] {
        border-color: transparent;
        background: linear-gradient(140deg, var(--ui-accent), var(--ui-accent-strong));
        color: var(--ui-on-accent);
        box-shadow: var(--ui-shadow-accent);
    }

    .mobile-sheet-badge[b-364ay9lxgb] {
        position: absolute;
        top: -6px;
        inset-inline-end: -8px;
        min-width: 20px;
        height: 20px;
        display: grid;
        place-items: center;
        padding: 0 5px;
        border: 2px solid #fbf9f3;
        border-radius: 99px;
        background: var(--ui-danger);
        color: #fff;
        font-size: .6rem;
        font-weight: 900;
    }

    .mobile-sheet-settings[b-364ay9lxgb] {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .mobile-sheet-logout-form[b-364ay9lxgb] {
        display: contents;
    }

    .mobile-sheet-setting[b-364ay9lxgb] {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 0 8px;
        border: 1px solid var(--ui-line);
        border-radius: 16px;
        background: transparent;
        color: var(--ui-ink-2);
        font-family: inherit;
        font-size: .76rem;
        font-weight: 800;
        text-decoration: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-sheet-setting-icon[b-364ay9lxgb] {
        display: grid;
        place-items: center;
        min-width: 22px;
        font-size: .7rem;
        font-weight: 900;
    }

        .mobile-sheet-setting-icon svg[b-364ay9lxgb] {
            width: 19px;
            height: 19px;
        }

    .mobile-sheet-logout[b-364ay9lxgb] {
        color: var(--ui-danger);
        border-color: var(--ui-danger-tint);
    }
}


/* opaque surfaces after dark: the bar and the sheet sit over content */

html[data-theme="dark"] .mobile-tabbar[b-364ay9lxgb] {
    background: rgba(24, 19, 12, .88);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .55), inset 0 1px 0 var(--ui-line-bright);
}

html[data-theme="dark"] .mobile-tab-fab[b-364ay9lxgb] {
    border-color: rgba(24, 19, 12, .96);
}

html[data-theme="dark"] .mobile-tab-primary.is-active .mobile-tab-fab[b-364ay9lxgb] {
    background: var(--ui-accent-soft);
}

html[data-theme="dark"] .mobile-sheet[b-364ay9lxgb] {
    background: #15110b;
    box-shadow: 0 -18px 50px rgba(0, 0, 0, .6);
}

html[data-theme="dark"] .mobile-sheet-badge[b-364ay9lxgb] {
    border-color: #15110b;
}


@keyframes mobile-tab-in-b-364ay9lxgb {
    from {
        transform: scale(.7);
        opacity: .4;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


@media (prefers-reduced-motion: reduce) {

    .mobile-tab.is-active .mobile-tab-icon[b-364ay9lxgb] {
        animation: none;
    }

    .mobile-sheet[b-364ay9lxgb],
    .mobile-sheet-backdrop[b-364ay9lxgb] {
        transition: none !important;
    }
}

/* =========================================================
   GLASS BARS - START
   The top bar and the phone tab bar are glass, with the home
   page header's settings (GLASS HEADER, end of Home.razor.css):
   a thin cream through which what scrolls under them shows,
   blurred. wwwroot/js/public-pages.js marks a bar "is-scrolled"
   once the panel has scrolled, and "is-over-dark" (or, after
   dark, "is-over-light") when what is under it would swallow its
   text; there it frosts over.
   The bar rounds its own top corners with the panel's: the
   panel clips what it holds to its rounded corners, but not the
   blur behind a stuck bar, which showed square past them.
   ========================================================= */

.app-header[b-364ay9lxgb] {
    position: sticky;
    top: 0;
    z-index: 30;
    flex: none;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    border-bottom-color: rgba(177, 137, 65, .12);
    background: rgba(255, 253, 248, .4);
    -webkit-backdrop-filter: blur(10px) saturate(1.8);
    backdrop-filter: blur(10px) saturate(1.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
    transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

    .app-header.is-scrolled[b-364ay9lxgb] {
        border-bottom-color: rgba(177, 137, 65, .2);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 14px 34px -22px rgba(45, 36, 25, .5);
    }

    .app-header.is-over-dark[b-364ay9lxgb] {
        background: rgba(255, 253, 248, .8);
    }

.mobile-tabbar[b-364ay9lxgb] {
    background: rgba(255, 253, 248, .4);
    -webkit-backdrop-filter: blur(10px) saturate(1.8);
    backdrop-filter: blur(10px) saturate(1.8);
    transition: background-color .3s ease;
}

    .mobile-tabbar.is-over-dark[b-364ay9lxgb] {
        background: rgba(255, 253, 248, .8);
    }

/* after dark: the same glass in the tab bar's brown */

html[data-theme="dark"] .app-header[b-364ay9lxgb] {
    border-bottom-color: var(--border);
    background: rgba(24, 19, 12, .4);
    box-shadow: inset 0 1px 0 var(--ui-line-bright);
}

    html[data-theme="dark"] .app-header.is-scrolled[b-364ay9lxgb] {
        box-shadow: inset 0 1px 0 var(--ui-line-bright), 0 14px 34px -22px rgba(0, 0, 0, .7);
    }

    html[data-theme="dark"] .app-header.is-over-light[b-364ay9lxgb] {
        background: rgba(24, 19, 12, .8);
    }

html[data-theme="dark"] .mobile-tabbar[b-364ay9lxgb] {
    background: rgba(24, 19, 12, .4);
}

    html[data-theme="dark"] .mobile-tabbar.is-over-light[b-364ay9lxgb] {
        background: rgba(24, 19, 12, .8);
    }

/* On a phone the bars float over the page and let more of it show
   through, with the same blur. The "more" sheet is the same glass,
   a little thicker: it carries a page of controls. */

@media (max-width: 720px) {

    .app-header[b-364ay9lxgb],
    .mobile-tabbar[b-364ay9lxgb] {
        background: rgba(255, 253, 248, .2);
    }

    html[data-theme="dark"] .app-header[b-364ay9lxgb],
    html[data-theme="dark"] .mobile-tabbar[b-364ay9lxgb] {
        background: rgba(24, 19, 12, .24);
    }

    .mobile-sheet[b-364ay9lxgb] {
        border-color: rgba(177, 137, 65, .18);
        background: rgba(255, 253, 248, .28);
        -webkit-backdrop-filter: blur(10px) saturate(1.8);
        backdrop-filter: blur(10px) saturate(1.8);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 -18px 50px rgba(62, 54, 30, .16);
    }

    /* Its cards and icons are glass too: their near-solid white covered
       most of it. Through the token, so the active and accent tiles keep
       their own colours; dark's token is already see-through. */
    html:not([data-theme="dark"]) .mobile-sheet[b-364ay9lxgb] {
        --ui-surface-strong: rgba(255, 255, 255, .45);
    }

    html[data-theme="dark"] .mobile-sheet[b-364ay9lxgb] {
        border-color: var(--ui-line);
        background: rgba(24, 19, 12, .3);
        box-shadow: inset 0 1px 0 var(--ui-line-bright), 0 -18px 50px rgba(0, 0, 0, .5);
    }
}

/* GLASS BARS - END */


/* =========================================================
   EVERY ITEM FITS
   =========================================================
   The navigation is a size container, so a row can be measured
   against the height that is really there (--nav-fit, in the block
   "THE ITEMS SPREAD DOWN THE WHOLE COLUMN" below). A row takes what
   it fits, up to one ceiling for every window; the disc, the glyph,
   the space under the disc and the label all follow the row, never
   the other way round, and the travelling block is placed from the
   same --nav-item.

   --nav-count comes from the markup (the administrator's extra
   item is decided there, not guessed here).

   The column is a grid, not a flex column. Inside the flex column
   Chrome resolved 100cqh against the navigation's height before
   the column had stretched it - zero - and every row fell to the
   floor; a grid row of minmax(0, 1fr) is sized before its item is
   laid out.
   ========================================================= */

@media (min-width: 721px) {

    .app-sidebar[b-364ay9lxgb] {
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
    }

    /* no padding above and no margin under: --nav-room starts and ends
       where the spaces do. The clip, not hidden, so the travelling
       block can still reach past the first row */
    .sidebar-navigation[b-364ay9lxgb] {
        container-type: size;
        padding-top: 0;
        overflow: clip;
        overflow-clip-margin: 8px;
    }

    .sidebar-footer[b-364ay9lxgb] {
        margin-top: 0;
        padding-top: 2px;
    }

    /* the room is the button's, so its hover ground has it too */
    .sidebar-user-button[b-364ay9lxgb] {
        padding-block: 5px;
    }
}


@media (min-width: 1001px) {

    /* --nav-text is the height a row could take, and the label follows
       it. The row itself is nine tenths of that and the disc three
       fifths: seven items left only 6px between a label and the next
       disc, and a row that shrank the label with it would have bought
       nothing. What the disc gives up goes to the spaces */
    .sidebar-nav-track[b-364ay9lxgb] {
        --nav-text: clamp(34px, var(--nav-fit), 84px);
        --nav-item: max(34px, calc(var(--nav-text) * .9));
        --nav-disc: clamp(20px, calc(var(--nav-text) * .6), 50px);
    }

    /* the shape of the hover ground, from the row it sits on: the
       selected disc is drawn larger than its row and ringed, and an
       even margin left it 3px under the top with the label 7px over
       the bottom */
    .nav-indicator[b-364ay9lxgb] {
        height: calc(var(--nav-item) + 2 * var(--nav-over) + var(--nav-lift));
    }

    /* a row of 76px holds a 50px disc, 9px and a 15px label; one of
       47px holds 31px, 1px and 11px. In between every size is on one
       line, so no window height steps from one size to the next. The
       sides give the longest label ("Admin Control Center") the whole
       row, or it would run out of its own span to one side */
    [b-364ay9lxgb] .sidebar-link {
        gap: clamp(1px, calc((var(--nav-text) - 52px) / 2), 7px);
        padding: 0 2px;
    }

    .sidebar-link-icon[b-364ay9lxgb] {
        width: var(--nav-disc);
        height: var(--nav-disc);
        flex: 0 0 auto;
    }

        .sidebar-link-icon svg[b-364ay9lxgb] {
            width: clamp(13px, calc(var(--nav-disc) * .44), 22px);
            height: clamp(13px, calc(var(--nav-disc) * .44), 22px);
        }

    [b-364ay9lxgb] .sidebar-link > span:last-child {
        margin-top: clamp(0px, calc(var(--nav-text) - 80px), 2px);
    }

    /* a shorter window takes a smaller label too, so a small disc does
       not sit under a label sized for the tallest window */
    .app-surface[dir="rtl"][b-364ay9lxgb]  .sidebar-link {
        font-size: clamp(.68rem, calc(var(--nav-text) * .19), .95rem);
    }

    .app-surface[dir="ltr"][b-364ay9lxgb]  .sidebar-link {
        font-size: clamp(.6rem, calc(var(--nav-text) * .175), .76rem);
    }
}


/* the profile under the rows keeps their proportions; below 761px its
   height is worth more to the rows than to itself */
@media (min-width: 1001px) and (min-height: 761px) {

    .sidebar-user-avatar[b-364ay9lxgb] {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }

        .sidebar-user-avatar svg[b-364ay9lxgb] {
            width: 21px;
            height: 21px;
        }

    .app-surface[dir="rtl"] .sidebar-user-label[b-364ay9lxgb] {
        font-size: .84rem;
    }

    .app-surface[dir="ltr"] .sidebar-user-label[b-364ay9lxgb] {
        font-size: .74rem;
    }
}


/*
 * Below 761px the bands above start the rows 4px under the logo row,
 * but the logo keeps its 90px picture pushed 60px down: it covered the
 * first item (measured: picture to 151px, first row from 108px). Here
 * the picture sits inside its own row, so nothing is drawn over it.
 */
@media (min-width: 1001px) and (max-height: 760px) {

    .sidebar-logo[b-364ay9lxgb] {
        height: 74px;
    }

    .logo-mark.logo-mark-goftito[b-364ay9lxgb],
    .sidebar-brand-logo[b-364ay9lxgb] {
        width: 110px;
        height: 70px;
        margin-top: 0;
    }
}


@media (min-width: 1001px) and (max-height: 650px) {

    .sidebar-logo[b-364ay9lxgb] {
        height: 62px;
    }

    .logo-mark.logo-mark-goftito[b-364ay9lxgb],
    .sidebar-brand-logo[b-364ay9lxgb] {
        width: 96px;
        height: 58px;
    }
}


@media (min-width: 721px) and (max-width: 1000px) {

    .sidebar-nav-track[b-364ay9lxgb] {
        --nav-item: clamp(32px, var(--nav-fit), 62px);
    }

    .sidebar-link-icon[b-364ay9lxgb] {
        width: clamp(26px, calc(var(--nav-item) - 12px), 50px);
        height: clamp(26px, calc(var(--nav-item) - 12px), 50px);
        flex: 0 0 auto;
    }

        .sidebar-link-icon svg[b-364ay9lxgb] {
            width: clamp(14px, calc(var(--nav-item) * .38), 23px);
            height: clamp(14px, calc(var(--nav-item) * .38), 23px);
        }
}


/* =========================================================
   MOBILE CREATE MENU
   The centre "+" of the phone tab bar opens the product's two
   makers, a translation and the voice studio, as two cards
   that rise out of it one after the other; the "+" turns into
   a close button meanwhile. The voice studio left the "more"
   sheet for this, so the sheet's tiles share the row.
   Like the sheet, the menu is always in the page and opened by
   "is-open"; "visibility" waits for the slide on the way out.
   ========================================================= */

.mobile-create[b-364ay9lxgb],
.mobile-create-backdrop[b-364ay9lxgb] {
    display: none;
}

@media (max-width: 720px) {

    .mobile-sheet-grid[b-364ay9lxgb] {
        display: flex;
    }

        .mobile-sheet-grid > .mobile-sheet-tile[b-364ay9lxgb] {
            flex: 1 1 0;
            min-width: 0;
        }


    /* ---- the "+" ---- */

    .mobile-tab-fab svg[b-364ay9lxgb] {
        transition: transform .42s var(--ui-ease-spring);
    }

    .mobile-tab-primary.is-open .mobile-tab-fab[b-364ay9lxgb] {
        background: var(--ui-dark);
        color: var(--ui-accent);
        box-shadow: 0 12px 28px rgba(45, 36, 25, .32);
    }

        .mobile-tab-primary.is-open .mobile-tab-fab svg[b-364ay9lxgb] {
            transform: rotate(135deg);
        }

    html[data-theme="dark"] .mobile-tab-primary.is-open .mobile-tab-fab[b-364ay9lxgb] {
        background: #f6f2e8;
        color: #1c1710;
    }


    /* ---- the page behind: dimmed and softened, so the two cards are all there is ---- */

    .mobile-create-backdrop[b-364ay9lxgb] {
        position: fixed;
        inset: 0;
        z-index: 86;
        display: block;
        padding: 0;
        border: 0;
        background:
            radial-gradient(120% 70% at 50% 100%, rgba(240, 191, 75, .22), transparent 60%),
            rgba(28, 22, 14, .3);
        -webkit-backdrop-filter: blur(6px) saturate(1.2);
        backdrop-filter: blur(6px) saturate(1.2);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        -webkit-tap-highlight-color: transparent;
        transition: opacity .3s ease, visibility 0s linear .3s;
    }

        .mobile-create-backdrop.is-open[b-364ay9lxgb] {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transition: opacity .3s ease, visibility 0s;
        }


    /* ---- the menu ---- */

    .mobile-create[b-364ay9lxgb] {
        position: fixed;
        inset-inline: 14px;
        bottom: calc(104px + env(safe-area-inset-bottom));
        z-index: 87;
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-width: 420px;
        margin-inline: auto;
        visibility: hidden;
        pointer-events: none;
        transition: visibility 0s linear .4s;
    }

        .mobile-create.is-open[b-364ay9lxgb] {
            visibility: visible;
            pointer-events: auto;
            transition: visibility 0s;
        }

    .mobile-create-title[b-364ay9lxgb] {
        margin: 0 4px 2px;
        color: #fffdf8;
        font-size: .82rem;
        font-weight: 800;
        text-align: center;
        text-shadow: 0 1px 12px rgba(28, 22, 14, .45);
        opacity: 0;
        transform: translateY(10px);
        transition: opacity .25s ease, transform .3s ease;
    }

    .mobile-create.is-open .mobile-create-title[b-364ay9lxgb] {
        opacity: 1;
        transform: none;
        transition: opacity .35s ease .14s, transform .5s var(--ui-ease-spring) .14s;
    }


    /* ---- the cards ----
       They grow out of the "+": from its side of the screen,
       small and a little blurred, the lower one first. All alike
       (2026-11-16): the voice studio was a dark card. */

    .mobile-create-option[b-364ay9lxgb] {
        position: relative;
        display: flex;
        align-items: center;
        gap: 14px;
        min-height: 84px;
        padding: 14px 16px;
        overflow: hidden;
        isolation: isolate;
        border: 1px solid rgba(177, 137, 65, .22);
        border-radius: 24px;
        background: rgba(255, 253, 248, .9);
        -webkit-backdrop-filter: blur(14px) saturate(1.6);
        backdrop-filter: blur(14px) saturate(1.6);
        box-shadow: 0 22px 48px -18px rgba(45, 36, 25, .45), inset 0 1px 0 rgba(255, 255, 255, .8);
        color: var(--ui-ink);
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
        opacity: 0;
        filter: blur(6px);
        transform: translateY(46px) scale(.82);
        transform-origin: 50% 140%;
        transition: opacity .2s ease, filter .2s ease, transform .26s ease;
    }

    .mobile-create.is-open .mobile-create-option[b-364ay9lxgb] {
        opacity: 1;
        filter: none;
        transform: none;
        transition: opacity .3s ease, filter .4s ease, transform .56s cubic-bezier(.22, 1.3, .36, 1);
    }

        /* the lower card first, each one above a beat later */
        .mobile-create.is-open .mobile-create-option:nth-last-child(2)[b-364ay9lxgb] {
            transition-delay: .03s;
        }

        .mobile-create.is-open .mobile-create-option:nth-last-child(3)[b-364ay9lxgb] {
            transition-delay: .06s;
        }

        .mobile-create.is-open .mobile-create-option:nth-last-child(4)[b-364ay9lxgb] {
            transition-delay: .09s;
        }

        .mobile-create.is-open .mobile-create-option:nth-last-child(5)[b-364ay9lxgb] {
            transition-delay: .12s;
        }

    /* a soft light in the corner, the way the package cards have one */
    .mobile-create-option[b-364ay9lxgb]::before {
        content: "";
        position: absolute;
        inset-block-start: -60%;
        inset-inline-end: -18%;
        z-index: -1;
        width: 62%;
        aspect-ratio: 1;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(244, 205, 88, .32), transparent 68%);
    }

    .mobile-create.is-open .mobile-create-option:active[b-364ay9lxgb] {
        transform: scale(.97);
        transition-duration: .12s;
    }

    .mobile-create-option.is-current[b-364ay9lxgb] {
        border-color: rgba(226, 175, 46, .6);
    }


    /* ---- inside a card ---- */

    .mobile-create-icon[b-364ay9lxgb] {
        position: relative;
        width: 54px;
        height: 54px;
        flex: none;
        display: grid;
        place-items: center;
        border-radius: 18px;
        background: linear-gradient(140deg, var(--ui-accent) 0%, var(--ui-accent-strong) 100%);
        color: #2b210d;
        box-shadow: 0 12px 24px -10px rgba(214, 159, 34, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
    }

        .mobile-create-icon svg[b-364ay9lxgb] {
            width: 26px;
            height: 26px;
        }

    .mobile-create-copy[b-364ay9lxgb] {
        min-width: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

        .mobile-create-copy strong[b-364ay9lxgb] {
            font-size: 1rem;
            font-weight: 900;
            line-height: 1.35;
        }

        .mobile-create-copy small[b-364ay9lxgb] {
            color: var(--ui-muted);
            font-size: .74rem;
            font-weight: 600;
            line-height: 1.55;
        }

    .mobile-create-go[b-364ay9lxgb] {
        width: 34px;
        height: 34px;
        flex: none;
        display: grid;
        place-items: center;
        border: 1px solid rgba(177, 137, 65, .25);
        border-radius: 50%;
        background: rgba(255, 255, 255, .6);
        color: var(--ui-ink-2);
    }

        .mobile-create-go svg[b-364ay9lxgb] {
            width: 18px;
            height: 18px;
        }

    .app-surface[dir="ltr"] .mobile-create-go svg[b-364ay9lxgb] {
        transform: scaleX(-1);
    }


    /* five cards and the title above the tab bar: a short phone takes them smaller */
    @media (max-height: 700px) {

        .mobile-create[b-364ay9lxgb] {
            gap: 8px;
        }

        .mobile-create-option[b-364ay9lxgb] {
            min-height: 70px;
            padding-block: 10px;
        }

        .mobile-create-icon[b-364ay9lxgb] {
            width: 46px;
            height: 46px;
            border-radius: 15px;
        }

            .mobile-create-icon svg[b-364ay9lxgb] {
                width: 23px;
                height: 23px;
            }

        .mobile-create-copy small[b-364ay9lxgb] {
            line-height: 1.45;
        }
    }


    /* ---- after dark: every card in the panel's brown glass ---- */

    html[data-theme="dark"] .mobile-create-option.is-translate[b-364ay9lxgb] {
        border-color: rgba(244, 205, 88, .2);
        background: rgba(45, 36, 26, .92);
        box-shadow: 0 22px 48px -18px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 236, 190, .1);
        color: #f6f2e8;
    }

        html[data-theme="dark"] .mobile-create-option.is-translate .mobile-create-copy small[b-364ay9lxgb] {
            color: rgba(246, 242, 232, .62);
        }

        html[data-theme="dark"] .mobile-create-option.is-translate .mobile-create-go[b-364ay9lxgb] {
            border-color: rgba(244, 205, 88, .28);
            background: rgba(244, 205, 88, .08);
            color: #f4cd58;
        }

    html[data-theme="dark"] .mobile-create-backdrop[b-364ay9lxgb] {
        background:
            radial-gradient(120% 70% at 50% 100%, rgba(240, 191, 75, .14), transparent 60%),
            rgba(0, 0, 0, .45);
    }
}

@media (prefers-reduced-motion: reduce) {

    .mobile-create-option[b-364ay9lxgb],
    .mobile-create-title[b-364ay9lxgb],
    .mobile-create-backdrop[b-364ay9lxgb],
    .mobile-tab-fab svg[b-364ay9lxgb] {
        transition: none !important;
    }
}


/* =========================================================
   THE ITEMS SPREAD DOWN THE WHOLE COLUMN
   =========================================================
   With a row per product the rows stopped filling the column, and
   the height they could not take stayed round the stack: bunched in
   the middle, with a third of the column empty above and below it.

   The height is now shared out evenly. From the logo's ink to the
   profile's line (--nav-room) there are n items and n + 1 spaces,
   one above the first item, one below the last and one between each
   two, and all of them are --nav-space. A row takes what is left
   once every space has its least (--nav-space-least), up to its
   ceiling; whatever the ceiling leaves goes to the spaces. On a
   desktop that height is --nav-text, which sizes the label, and the
   row keeps nine tenths of it, so the spaces are never the least.

   The space under the logo is the one exception: it has at least
   --nav-logo-least, or the amber block of a selected first item came
   within 5px of the logo's ink. The other spaces share what is left,
   and a window with room for that gives every space the same again.
   A short window halves it, so the rows keep their own least.

   --nav-top is where the logo's ink ends, measured from the top of
   the navigation: 48px under it where the picture hangs out of its
   row, and 3px above it where the picture sits inside.

   --nav-slack is the row's empty edge round what is drawn in it, so
   the spaces are measured between the drawn parts. The rail's rows
   are 12px taller than their discs, and without this two discs stood
   11px further apart than the first stood from the logo.

   Nothing here may read --nav-gap in --nav-fit: --nav-gap is worked
   out from --nav-item, which comes from --nav-fit.

   --nav-over is how far the amber block and the hover ground reach
   past a row, and --nav-lift how far a disc rises under the pointer.
   Both come out of the space, and two rows share it: the selected
   block reaches down by --nav-over and the next row's hover ground up
   by --nav-over and the lift, so the two together take the space less
   2px and never lie on each other (2026-11-12; each took nearly the
   whole space and in a short window the two overlapped). The block and the ground are one shape, the lift
   above the row and not below it.

   Measured 2026-11-04 from the logo's ink to the first disc, between
   a label and the next disc, and from the last label to the line:
   the three stay within 2px of each other at every height.
   ========================================================= */

@media (min-width: 721px) {

    .sidebar-nav-track[b-364ay9lxgb] {
        --nav-top: -3px;
        --nav-slack: 0px;
        --nav-space-least: 8px;
        --nav-room: calc(100cqh - var(--nav-top));
        --nav-fit: calc((var(--nav-room) - (var(--nav-count, 8) + 1) * var(--nav-space-least)) / var(--nav-count, 8) + 2 * var(--nav-slack));
        --nav-free: calc(var(--nav-room) - var(--nav-count, 8) * (var(--nav-item) - 2 * var(--nav-slack)));
        --nav-even: calc(var(--nav-free) / (var(--nav-count, 8) + 1));
        --nav-logo-least: min(26px, calc(2 * var(--nav-even)));
        --nav-space: max(0px, min(var(--nav-even), calc((var(--nav-free) - var(--nav-logo-least)) / var(--nav-count, 8))));
        --nav-first: max(0px, calc(var(--nav-free) - var(--nav-count, 8) * var(--nav-space)));
        --nav-gap: calc(var(--nav-space) - 2 * var(--nav-slack));
        --nav-start: calc(var(--nav-top) + var(--nav-first) - var(--nav-slack));
        --nav-lift: clamp(0px, calc((var(--nav-space) - 4px) / 3), 3px);
        --nav-over: clamp(0px, calc((var(--nav-space) - var(--nav-lift) - 2px) / 2), 7px);
        padding-top: var(--nav-start);
    }

    .nav-indicator[b-364ay9lxgb] {
        top: var(--nav-start);
    }
}

/* the least space keeps the rows, whose block is the row itself, apart
   and the first one clear of the top of the navigation */
@media (min-width: 721px) and (max-width: 1000px) {

    .sidebar-nav-track[b-364ay9lxgb] {
        --nav-slack: 6px;
        --nav-space-least: 14px;
        --nav-over: 0px;
    }

    /* the disc has the rail's row to itself, so the ground rises with it;
       its corners are the selected block's */
    [b-364ay9lxgb] .sidebar-link::before {
        bottom: var(--nav-lift);
        border-radius: 18px;
    }
}

@media (min-width: 1001px) {

    .sidebar-nav-track[b-364ay9lxgb] {
        --nav-top: 48px;
    }

    .nav-indicator[b-364ay9lxgb] {
        top: calc(var(--nav-start) - var(--nav-over) - var(--nav-lift));
    }

    /* the hover ground has the selected block's corners, not the row's
       smaller ones (the rail's rows already match its block) */
    [b-364ay9lxgb] .sidebar-link::before {
        border-radius: var(--ui-r-lg);
    }
}

@media (min-width: 1001px) and (max-height: 760px) {

    .sidebar-nav-track[b-364ay9lxgb] {
        --nav-top: -3px;
    }
}


/* =========================================================
   TRANSLATION TABS
   =========================================================
   The sidebar holds one item per product (2026-11-03): the
   translation item stands for its four pages - new, documents,
   glossary, memory - and this bar sits above each of them.
   It speaks the sidebar's language: the amber block and the
   dark disc mark the page you are on. Its width is the pages'
   own (min(100%, 1480px)), so it lines up with their cards.
   ========================================================= */

.section-tabs[b-364ay9lxgb] {
    width: min(100%, 1480px);
    margin: 0 auto 18px;
    display: flex;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-strong);
    box-shadow: var(--ui-shadow-sm);
    overflow-x: auto;
    scrollbar-width: none;
}

    .section-tabs[b-364ay9lxgb]::-webkit-scrollbar {
        display: none;
    }


.section-tab[b-364ay9lxgb] {
    flex: 1 1 0;
    min-width: max-content;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 16px;
    border-radius: var(--ui-r-md);
    color: var(--sidebar-text);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color var(--ui-dur-2) var(--ui-ease), background var(--ui-dur-2) var(--ui-ease), box-shadow var(--ui-dur-2) var(--ui-ease);
}

    .section-tab:hover[b-364ay9lxgb] {
        color: var(--sidebar-text-active);
        background: var(--sidebar-hover-bg);
    }

    .section-tab.is-active[b-364ay9lxgb] {
        color: var(--sidebar-text-active);
        background: var(--ui-accent-soft);
        box-shadow: inset 0 0 0 1px rgba(226, 175, 46, .38);
    }


.section-tab-icon[b-364ay9lxgb] {
    width: 32px;
    height: 32px;
    flex: none;
    display: grid;
    place-items: center;
    border: 1px solid var(--ui-line);
    border-radius: 50%;
    background: var(--sidebar-icon-bg);
    color: var(--ui-ink-2);
    transition: color var(--ui-dur-2) var(--ui-ease), background var(--ui-dur-2) var(--ui-ease), border-color var(--ui-dur-2) var(--ui-ease);
}

    .section-tab-icon svg[b-364ay9lxgb] {
        width: 17px;
        height: 17px;
    }

    .section-tab:hover .section-tab-icon[b-364ay9lxgb] {
        border-color: var(--ui-accent);
        color: var(--ui-ink);
    }

    .section-tab.is-active .section-tab-icon[b-364ay9lxgb] {
        border-color: transparent;
        background: var(--ui-dark);
        color: var(--ui-accent);
        box-shadow: var(--ui-shadow-sm);
    }


/* a tablet keeps the four side by side; a phone puts each glyph over
   its label, like the tab bar along the bottom, so all four fit 320px
   (side by side they needed 430px and the bar scrolled) */
@media (max-width: 1000px) {

    .section-tabs[b-364ay9lxgb] {
        margin-bottom: 14px;
    }

    .section-tab[b-364ay9lxgb] {
        gap: 8px;
        padding: 5px 12px;
        font-size: .84rem;
    }
}

@media (max-width: 720px) {

    .section-tabs[b-364ay9lxgb] {
        gap: 4px;
        padding: 4px;
        border-radius: var(--ui-r-md);
    }

    .section-tab[b-364ay9lxgb] {
        flex: 1 1 0;
        min-width: 0;
        flex-direction: column;
        gap: 4px;
        padding: 6px 2px 5px;
        border-radius: var(--ui-r-sm);
        font-size: .72rem;
    }

    .section-tab-icon[b-364ay9lxgb] {
        width: 28px;
        height: 28px;
    }

        .section-tab-icon svg[b-364ay9lxgb] {
            width: 14px;
            height: 14px;
        }
}


/* =========================================================
   ACCOUNT MENU
   =========================================================
   The profile left the sidebar (2026-11-16): the round button at the
   header's end opens a small card with the profile and the way out.
   Blazor opens it ("is-open"); wwwroot/js/header-menu.js closes it on
   a click outside or Escape. It hangs from the button's end edge, so
   it opens inward in both directions of reading.
   ========================================================= */

.header-profile[b-364ay9lxgb] {
    position: relative;
    display: flex;
}

    .header-profile.is-open .header-profile-button[b-364ay9lxgb] {
        color: var(--accent-text);
        border-color: var(--border-accent);
        background: var(--surface-hover);
    }

.header-profile-menu[b-364ay9lxgb] {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    z-index: 40;
    width: 248px;
    display: grid;
    gap: 4px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 20px;
    /* solid: the tokens are see-through in the dark theme, and the page
       under the menu showed through it */
    background: #fffdf8;
    box-shadow: 0 22px 48px -20px rgba(45, 36, 25, .42), 0 2px 8px rgba(45, 36, 25, .08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(.97);
    transform-origin: top right;
    transition: opacity .18s ease, transform .2s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .2s;
}

html[data-theme="dark"] .header-profile-menu[b-364ay9lxgb] {
    border-color: rgba(255, 226, 178, .14);
    background: #261e16;
    box-shadow: 0 24px 54px -18px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 226, 178, .08);
}

.app-surface[dir="ltr"] .header-profile-menu[b-364ay9lxgb] {
    transform-origin: top left;
}

.header-profile.is-open .header-profile-menu[b-364ay9lxgb] {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .18s ease, transform .2s cubic-bezier(.2, .8, .2, 1), visibility 0s;
}

.header-profile-item[b-364ay9lxgb] {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 10px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: .9rem;
    font-weight: 600;
    text-align: start;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

    .header-profile-item:hover[b-364ay9lxgb],
    .header-profile-item:focus-visible[b-364ay9lxgb] {
        background: var(--surface-hover);
        outline: none;
    }

.header-profile-head[b-364ay9lxgb] {
    padding-block: 10px;
    border-bottom: 1px solid var(--border);
    border-radius: 14px 14px 8px 8px;
}

.header-profile-avatar[b-364ay9lxgb] {
    width: 40px;
    height: 40px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ui-accent, #fcd166);
    color: var(--ui-ink, #1c1b17);
}

    .header-profile-avatar svg[b-364ay9lxgb] {
        width: 20px;
        height: 20px;
    }

.header-profile-copy[b-364ay9lxgb] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

    .header-profile-copy strong[b-364ay9lxgb] {
        font-size: .92rem;
        font-weight: 700;
    }

    .header-profile-copy small[b-364ay9lxgb] {
        color: var(--muted);
        font-size: .76rem;
        font-weight: 500;
        text-align: start;
    }

.header-profile-menu .header-logout-form[b-364ay9lxgb] {
    display: block;
}

.header-profile-menu .header-logout-button[b-364ay9lxgb] {
    color: var(--text-secondary);
}

    .header-profile-menu .header-logout-button svg[b-364ay9lxgb] {
        width: 19px;
        height: 19px;
        margin-inline: 10px 11px;
        flex: none;
    }

    .header-profile-menu .header-logout-button:hover[b-364ay9lxgb] {
        color: var(--danger);
    }

@media (prefers-reduced-motion: reduce) {

    .header-profile-menu[b-364ay9lxgb] {
        transition: none;
        transform: none;
    }
}
/* _content/AITranslationPlatform.Web/Components/Public/FooterChannels.razor.rz.scp.css */
/*
 * Both footers are dark in either theme, so these colours are fixed rather
 * than taken from the --ui-* tokens.
 */
.fc[b-07hoslpvdx] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
}

.fc-icons[b-07hoslpvdx] {
    display: flex;
    gap: 6px;
}

.fc-icon[b-07hoslpvdx] {
    --brand: #f0c85c;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 11px;
    background: rgba(255, 255, 255, .03);
    color: #c9b99c;
    text-decoration: none;
    transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s ease;
}

.fc-icon--instagram[b-07hoslpvdx] {
    --brand: linear-gradient(40deg, #fdc468 4%, #fa7e1e 28%, #d62976 56%, #962fbf 80%, #4f5bd5 100%);
}

.fc-icon--aparat[b-07hoslpvdx] {
    --brand: linear-gradient(145deg, #ff3f7f, #d60e4f);
}

.fc-icon--youtube[b-07hoslpvdx] {
    --brand: linear-gradient(145deg, #ff3b3b, #d00018);
}

    .fc-icon svg[b-07hoslpvdx] {
        width: 17px;
        height: 17px;
    }

.fc-mail[b-07hoslpvdx] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #c4baad;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: .84rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color .22s ease;
}

    .fc-mail svg[b-07hoslpvdx] {
        flex: none;
        width: 17px;
        height: 17px;
        color: #d9b662;
    }

@media (hover: hover) {
    .fc-icon:hover[b-07hoslpvdx] {
        border-color: transparent;
        background: var(--brand);
        color: #fff;
        transform: translateY(-2px);
    }

    .fc-mail:hover[b-07hoslpvdx] {
        color: #f4cd58;
    }
}

.fc-icon:focus-visible[b-07hoslpvdx],
.fc-mail:focus-visible[b-07hoslpvdx] {
    outline: 2px solid #f4cd58;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .fc-icon[b-07hoslpvdx] {
        transition: none;
    }

    .fc-icon:hover[b-07hoslpvdx] {
        transform: none;
    }
}
/* _content/AITranslationPlatform.Web/Components/Public/FooterTranslations.razor.rz.scp.css */
.ftr[b-wvf1aytdqr] {
    position: relative;
}

.ftr summary[b-wvf1aytdqr] {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.ftr summary[b-wvf1aytdqr]::-webkit-details-marker { display: none; }

.ftr summary em[b-wvf1aytdqr] {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(240, 196, 92, .16);
    color: #f0c45c;
    font-size: .7rem;
    font-style: normal;
    font-weight: 800;
}

.ftr summary i[b-wvf1aytdqr] {
    margin-inline-start: auto;
    color: #8c7f6d;
    font-style: normal;
    transition: transform .2s ease, color .2s ease;
}

/* In Persian the list opens to the left; the arrow points there. */
[dir="ltr"] .ftr summary i[b-wvf1aytdqr] { transform: scaleX(-1); }

.ftr[open] summary[b-wvf1aytdqr],
.ftr summary:hover[b-wvf1aytdqr] { color: #f0c45c; }

.ftr[open] summary i[b-wvf1aytdqr] { color: #f0c45c; }

/* the list, beside the item */

.ftr__panel[b-wvf1aytdqr] {
    position: absolute;
    z-index: 30;
    top: -10px;
    inset-inline-start: calc(100% + 10px);
    display: grid;
    gap: 2px;
    width: 250px;
    padding: 12px;
    border: 1px solid rgba(240, 196, 92, .22);
    border-radius: 16px;
    background: linear-gradient(160deg, #2f261d, #211a14);
    box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .7);
    animation: ftr-in-b-wvf1aytdqr .18s ease both;
}

.ftr__panel[b-wvf1aytdqr]::before {
    /* The gap to the item belongs to the panel, so the pointer can cross it. */
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-end: 100%;
    width: 14px;
}

.ftr__title[b-wvf1aytdqr] {
    padding: 2px 8px 8px;
    color: #a99f91;
    font-size: .7rem;
    font-weight: 700;
}

.ftr__panel a[b-wvf1aytdqr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 9px;
    color: #d8cab0;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}

.ftr__panel a i[b-wvf1aytdqr] {
    color: #7d7163;
    font-style: normal;
    font-size: .7rem;
}

.ftr__panel a:hover[b-wvf1aytdqr] {
    background: rgba(255, 255, 255, .05);
    color: #f0c45c;
}

@keyframes ftr-in-b-wvf1aytdqr {
    from { opacity: 0; translate: 0 6px; }
}

/* the item itself looks like its neighbours */

.ftr--home summary[b-wvf1aytdqr] {
    min-height: 32px;
    white-space: nowrap;
    padding: 0 10px;
    border-radius: 10px;
    color: #c4baad;
    font-size: .78rem;
    font-weight: 700;
    transition: color .2s ease, background .2s ease;
}

.ftr--home summary:hover[b-wvf1aytdqr],
.ftr--home[open] summary[b-wvf1aytdqr] { background: rgba(255, 255, 255, .025); }

.ftr--pages summary[b-wvf1aytdqr] {
    color: #d8cab0;
    font-size: .9rem;
    transition: color .25s ease;
}

.ftr--pages summary i[b-wvf1aytdqr] { margin-inline-start: 4px; }

/* On a phone the columns stack: the list opens in place. */
@media (max-width: 1050px) {
    .ftr__panel[b-wvf1aytdqr] {
        position: static;
        width: auto;
        margin-top: 6px;
        animation: none;
    }

    .ftr__panel[b-wvf1aytdqr]::before { display: none; }

    .ftr summary i[b-wvf1aytdqr] { transform: rotate(-90deg); }

    .ftr[open] summary i[b-wvf1aytdqr] { transform: rotate(90deg); }
}
/* _content/AITranslationPlatform.Web/Components/Public/FreeStart.razor.rz.scp.css */
.free-start[b-82jcfd1m5s] {
    display: flex;
    flex-basis: 100%;
    margin: 10px 0 0;
}

/* A badge, not a sentence: it has to be seen at a glance. */
.free-start__badge[b-82jcfd1m5s] {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px 8px 18px;
    border: 1px solid rgba(201, 150, 42, .55);
    border-radius: 999px;
    background: linear-gradient(135deg, #fff3cf, #ffe7a3);
    box-shadow: 0 10px 24px -14px rgba(201, 150, 42, .9);
    color: #2a2119;
    font-size: .98rem;
    font-weight: 800;
    line-height: 1.5;
    white-space: nowrap;
}

.free-start svg[b-82jcfd1m5s] {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 50%;
    background: #2a2119;
    fill: none;
    stroke: #fcd166;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.free-start--dark .free-start__badge[b-82jcfd1m5s] {
    border-color: rgba(252, 209, 102, .55);
    background: rgba(252, 209, 102, .14);
    box-shadow: 0 0 0 4px rgba(252, 209, 102, .06), 0 14px 30px -16px rgba(252, 209, 102, .7);
    color: #ffd970;
}

.free-start--dark svg[b-82jcfd1m5s] {
    background: #fcd166;
    stroke: #1c1b17;
}

html[data-theme="dark"] .free-start:not(.free-start--dark) .free-start__badge[b-82jcfd1m5s] {
    border-color: rgba(252, 209, 102, .45);
    background: rgba(252, 209, 102, .12);
    color: #ffd970;
}

html[data-theme="dark"] .free-start:not(.free-start--dark) svg[b-82jcfd1m5s] {
    background: #fcd166;
    stroke: #1c1b17;
}

@media (max-width: 720px) {
    .free-start__badge[b-82jcfd1m5s] {
        font-size: .9rem;
        padding: 7px 14px 7px 16px;
    }
}
/* _content/AITranslationPlatform.Web/Components/Public/GiftForm.razor.rz.scp.css */
.gift[b-683ex2covg] {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    margin: 8px 0 44px;
    padding: 28px;
    border: 1px solid rgba(201, 150, 42, .35);
    border-radius: 26px;
    background:
        radial-gradient(circle at 88% 0%, rgba(252, 209, 102, .28), transparent 48%),
        linear-gradient(160deg, #fffaf0, #f8efdc);
    box-shadow: 0 24px 60px -34px rgba(59, 47, 35, .45);
    scroll-margin-top: 130px;
}

/* the PDF on its stand */

.gift__cover[b-683ex2covg] {
    position: relative;
    height: 230px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 70% 18%, rgba(252, 209, 102, .4), transparent 50%),
        linear-gradient(155deg, #2a2119, #3b2f23 60%, #241c15);
    overflow: hidden;
}

.gift__sheet[b-683ex2covg] {
    position: absolute;
    inset: 34px 38px 30px 46px;
    display: grid;
    align-content: start;
    gap: 9px;
    padding: 18px 16px;
    border-radius: 10px;
    background: #fffdf8;
    box-shadow: 0 18px 30px rgba(0, 0, 0, .35);
    transform: rotate(-4deg);
}

.gift__sheet--back[b-683ex2covg] {
    inset: 28px 48px 38px 34px;
    background: #f1e2bf;
    transform: rotate(6deg);
    opacity: .85;
}

.gift__sheet b[b-683ex2covg] {
    justify-self: start;
    padding: 2px 9px;
    border-radius: 6px;
    background: #c9462e;
    color: #fff;
    font-size: 12px;
    letter-spacing: .06em;
}

.gift__sheet i[b-683ex2covg] {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: #eadfc7;
}

.gift__sheet i:nth-of-type(2)[b-683ex2covg] { width: 80%; }
.gift__sheet i:nth-of-type(3)[b-683ex2covg] { width: 62%; }

.gift__sheet em[b-683ex2covg] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c9962a;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

.gift__sheet em[b-683ex2covg]::after {
    content: "";
    flex: 1;
    height: 5px;
    border-radius: 3px;
    background: #eadfc7;
}

/* the words and the form */

.gift__tag[b-683ex2covg] {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    background: #fcd166;
    color: #1c1b17;
    font-size: 12px;
    font-weight: 700;
}

.gift h2[b-683ex2covg] {
    margin: 12px 0 8px;
    color: #221d18;
    font-size: 1.45rem;
    line-height: 1.6;
}

.gift p[b-683ex2covg] {
    margin: 0 0 12px;
    color: #655e53;
    line-height: 1.95;
}

.gift ul[b-683ex2covg] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.gift li[b-683ex2covg] {
    padding: 5px 12px;
    border: 1px solid rgba(201, 150, 42, .35);
    border-radius: 999px;
    background: rgba(255, 253, 248, .8);
    color: #4f483e;
    font-size: .85rem;
}

.gift__form[b-683ex2covg] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

.gift__field[b-683ex2covg] {
    flex: 1 1 260px;
    display: grid;
    gap: 6px;
    color: #4f483e;
    font-size: .85rem;
    font-weight: 700;
}

.gift__field input[b-683ex2covg] {
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #e3d4b2;
    border-radius: 14px;
    background: #fff;
    color: #221d18;
    font: inherit;
    font-weight: 400;
    text-align: left;
    outline: none;
}

.gift__field input:focus[b-683ex2covg] {
    border-color: #c9962a;
    box-shadow: 0 0 0 4px rgba(252, 209, 102, .35);
}

.gift__form button[b-683ex2covg] {
    flex: 0 0 auto;
    height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 14px;
    background: #3b2f23;
    color: #fcd166;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.gift__form button:hover[b-683ex2covg] { background: #2a2119; }

.gift__trap[b-683ex2covg] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.gift__note[b-683ex2covg] {
    display: block;
    margin-top: 10px;
    color: #8c8274;
    font-size: .8rem;
    line-height: 1.8;
}

.gift__done[b-683ex2covg],
.gift__problem[b-683ex2covg] {
    padding: 14px 16px;
    border-radius: 14px;
    line-height: 1.9;
    font-size: .92rem;
}

.gift__done[b-683ex2covg] {
    background: #e9f6ec;
    color: #24613a;
}

.gift__done strong[b-683ex2covg] { display: block; }

.gift__problem[b-683ex2covg] {
    margin-bottom: 12px;
    background: #fbefe9;
    color: #9b3b26;
}

/* dark theme */

html[data-theme="dark"] .gift[b-683ex2covg] {
    border-color: rgba(252, 209, 102, .22);
    background:
        radial-gradient(circle at 88% 0%, rgba(252, 209, 102, .14), transparent 48%),
        linear-gradient(160deg, #2b231b, #221b14);
}

html[data-theme="dark"] .gift h2[b-683ex2covg] { color: #fff6e4; }
html[data-theme="dark"] .gift p[b-683ex2covg],
html[data-theme="dark"] .gift__field[b-683ex2covg] { color: #cbbfa9; }
html[data-theme="dark"] .gift li[b-683ex2covg] { background: rgba(255, 250, 240, .05); color: #e2d6bf; }
html[data-theme="dark"] .gift__field input[b-683ex2covg] { background: #17120d; border-color: rgba(252, 209, 102, .3); color: #fff6e4; }
html[data-theme="dark"] .gift__form button[b-683ex2covg] { background: #fcd166; color: #1c1b17; }

@media (max-width: 720px) {
    .gift[b-683ex2covg] {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px;
        border-radius: 22px;
    }

    .gift__cover[b-683ex2covg] { height: 170px; }

    .gift__sheet[b-683ex2covg] { inset: 22px 30% 18px 32%; padding: 12px; gap: 6px; }

    .gift__sheet--back[b-683ex2covg] { inset: 18px 34% 24px 28%; }

    .gift__form button[b-683ex2covg] { flex-basis: 100%; }
}
/* _content/AITranslationPlatform.Web/Components/Public/PackageProducts.razor.rz.scp.css */
/* What a package opens beside translation, as small tiles. Light by default,
   the panel's dark theme under html[data-theme="dark"], and .pp--dark on the
   public packages, which are dark in both themes. */

.pp[b-xjpk679n5n] {
    display: grid;
    gap: 9px;
    padding-top: 12px;
    border-top: 1px dashed rgba(155, 125, 48, .3);
}

.pp__head[b-xjpk679n5n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

    .pp__head span[b-xjpk679n5n] {
        color: #958b7b;
        font-size: .74rem;
        font-weight: 700;
    }

    .pp__head b[b-xjpk679n5n] {
        padding: 2px 9px;
        border-radius: 999px;
        background: rgba(242, 197, 79, .2);
        color: #8f6600;
        font-size: .7rem;
        font-weight: 800;
    }

.pp__grid[b-xjpk679n5n] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pp__tile[b-xjpk679n5n] {
    --pp-hue: #e0a11b;
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 9px 10px;
    overflow: hidden;
    border: 1px solid rgba(155, 125, 48, .18);
    border-radius: 14px;
    background: linear-gradient(160deg, #ffffff, #fbf5e7);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 6px 14px -10px rgba(80, 58, 20, .35);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    /* The tile's own colour, a soft light from its starting corner. */
    .pp__tile[b-xjpk679n5n]::after {
        content: "";
        position: absolute;
        inset-block-start: -40%;
        inset-inline-start: -30%;
        width: 90%;
        height: 140%;
        background: radial-gradient(closest-side, color-mix(in srgb, var(--pp-hue) 22%, transparent), transparent);
        pointer-events: none;
    }

.pp__tile--voice[b-xjpk679n5n] { --pp-hue: #e0a11b; }
.pp__tile--podcast[b-xjpk679n5n] { --pp-hue: #e0668f; }
.pp__tile--dubbing[b-xjpk679n5n] { --pp-hue: #b56fd6; }
.pp__tile--article[b-xjpk679n5n] { --pp-hue: #2f9e94; }
.pp__tile--defense[b-xjpk679n5n] { --pp-hue: #5aa64a; }
.pp__tile--standard[b-xjpk679n5n] { --pp-hue: #3f8fd6; }
.pp__tile--professional[b-xjpk679n5n] { --pp-hue: #e0a11b; }
.pp__tile--expert[b-xjpk679n5n] { --pp-hue: #b56fd6; }

.pp--plain[b-xjpk679n5n] {
    padding-top: 0;
    border-top: 0;
}

/* The quality levels: three tiles in one row, the icon above the name. */
.pp--stacked .pp__grid[b-xjpk679n5n] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pp--stacked .pp__tile[b-xjpk679n5n] {
    flex-direction: column;
    justify-content: flex-start;
    gap: 7px;
    padding: 11px 6px 10px;
    text-align: center;
}

    .pp--stacked .pp__tile:last-child:nth-child(odd)[b-xjpk679n5n] {
        grid-column: auto;
    }

    .pp--stacked .pp__tile[b-xjpk679n5n]::after {
        inset-inline-start: 5%;
        width: 90%;
        height: 110%;
    }

.pp--stacked .pp__text[b-xjpk679n5n] {
    justify-items: center;
}

.pp__icon[b-xjpk679n5n] {
    position: relative;
    z-index: 1;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--pp-hue) 26%, #fff), color-mix(in srgb, var(--pp-hue) 12%, #fff));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--pp-hue) 26%, transparent) inset;
    color: color-mix(in srgb, var(--pp-hue) 82%, #000);
}

    .pp__icon svg[b-xjpk679n5n] {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pp__text[b-xjpk679n5n] {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1px;
    min-width: 0;
}

    .pp__text strong[b-xjpk679n5n] {
        overflow-wrap: anywhere;
        color: #2b241b;
        font-size: .76rem;
        font-weight: 800;
        line-height: 1.35;
    }

    .pp__text small[b-xjpk679n5n] {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        color: #3c8f57;
        font-size: .66rem;
        font-weight: 700;
    }

        .pp__text small i[b-xjpk679n5n] {
            font-style: normal;
        }

.pp__tile.is-on:hover[b-xjpk679n5n] {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--pp-hue) 45%, transparent);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 12px 22px -12px color-mix(in srgb, var(--pp-hue) 70%, transparent);
}

.pp__tile.is-off[b-xjpk679n5n] {
    border-style: dashed;
    border-color: rgba(155, 125, 48, .26);
    background: transparent;
    box-shadow: none;
}

    .pp__tile.is-off[b-xjpk679n5n]::after {
        display: none;
    }

    .pp__tile.is-off .pp__icon[b-xjpk679n5n] {
        background: rgba(34, 29, 24, .05);
        box-shadow: none;
        color: #b4aa99;
    }

    .pp__tile.is-off .pp__text strong[b-xjpk679n5n] {
        color: #a59b8a;
    }

    .pp__tile.is-off .pp__text small[b-xjpk679n5n] {
        color: #b4aa99;
    }

/* An odd tile at the end takes the whole row. */
.pp__tile:last-child:nth-child(odd)[b-xjpk679n5n] {
    grid-column: 1 / -1;
}

@media (max-width: 420px) {
    .pp__tile[b-xjpk679n5n] {
        gap: 7px;
        padding: 8px;
    }

    .pp__icon[b-xjpk679n5n] {
        width: 28px;
        height: 28px;
        border-radius: 9px;
    }

        .pp__icon svg[b-xjpk679n5n] {
            width: 15px;
            height: 15px;
        }
}

@media (prefers-reduced-motion: reduce) {
    .pp__tile[b-xjpk679n5n] {
        transition: none;
    }

        .pp__tile.is-on:hover[b-xjpk679n5n] {
            transform: none;
        }
}

/* ---- dark: the panel in its dark theme, and the public packages ---- */

html[data-theme="dark"] .pp[b-xjpk679n5n],
.pp--dark[b-xjpk679n5n] {
    border-top-color: rgba(255, 236, 190, .14);
}

    html[data-theme="dark"] .pp__head span[b-xjpk679n5n],
    .pp--dark .pp__head span[b-xjpk679n5n] {
        color: #9a8b72;
    }

    html[data-theme="dark"] .pp__head b[b-xjpk679n5n],
    .pp--dark .pp__head b[b-xjpk679n5n] {
        background: rgba(240, 191, 75, .14);
        color: #f0c85c;
    }

html[data-theme="dark"] .pp__tile[b-xjpk679n5n],
.pp--dark .pp__tile[b-xjpk679n5n] {
    border-color: rgba(255, 236, 190, .12);
    background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset;
}

html[data-theme="dark"] .pp__icon[b-xjpk679n5n],
.pp--dark .pp__icon[b-xjpk679n5n] {
    background: linear-gradient(145deg, color-mix(in srgb, var(--pp-hue) 30%, transparent), color-mix(in srgb, var(--pp-hue) 12%, transparent));
    color: color-mix(in srgb, var(--pp-hue) 70%, #fff);
}

html[data-theme="dark"] .pp__text strong[b-xjpk679n5n],
.pp--dark .pp__text strong[b-xjpk679n5n] {
    color: #f6ecd8;
}

html[data-theme="dark"] .pp__text small[b-xjpk679n5n],
.pp--dark .pp__text small[b-xjpk679n5n] {
    color: #8fd6a6;
}

html[data-theme="dark"] .pp__tile.is-on:hover[b-xjpk679n5n],
.pp--dark .pp__tile.is-on:hover[b-xjpk679n5n] {
    box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--pp-hue) 80%, transparent);
}

html[data-theme="dark"] .pp__tile.is-off[b-xjpk679n5n],
.pp--dark .pp__tile.is-off[b-xjpk679n5n] {
    border-color: rgba(255, 236, 190, .14);
    background: transparent;
}

    html[data-theme="dark"] .pp__tile.is-off .pp__icon[b-xjpk679n5n],
    .pp--dark .pp__tile.is-off .pp__icon[b-xjpk679n5n] {
        background: rgba(255, 255, 255, .04);
        color: #6f6556;
    }

    html[data-theme="dark"] .pp__tile.is-off .pp__text strong[b-xjpk679n5n],
    html[data-theme="dark"] .pp__tile.is-off .pp__text small[b-xjpk679n5n],
    .pp--dark .pp__tile.is-off .pp__text strong[b-xjpk679n5n],
    .pp--dark .pp__tile.is-off .pp__text small[b-xjpk679n5n] {
        color: #6f6556;
    }
/* _content/AITranslationPlatform.Web/Components/Public/PublicFooter.razor.rz.scp.css */
.pub-footer[b-6aqizvhmp2] {
    margin-top: 40px;
    padding: 64px 0 28px;
    background:
        radial-gradient(65% 120% at 85% 0%, rgba(223, 169, 54, .11) 0%, transparent 64%),
        radial-gradient(55% 100% at 5% 100%, rgba(183, 121, 29, .07) 0%, transparent 68%),
        linear-gradient(145deg, #211b15 0%, #19140f 100%);
    color: #c9b99c;
}

.pub-footer__inner[b-6aqizvhmp2] {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 36px;
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.pub-brand[b-6aqizvhmp2] {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #f6ecd8;
    text-decoration: none;
}

.pub-brand__mark[b-6aqizvhmp2] {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(235, 184, 70, .26);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(240, 191, 75, .16), rgba(240, 191, 75, .04));
}

    .pub-brand__mark img[b-6aqizvhmp2] {
        width: 72%;
        height: 72%;
        object-fit: contain;
    }

.pub-brand__copy[b-6aqizvhmp2] {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

    .pub-brand__copy strong[b-6aqizvhmp2] {
        font-weight: 700;
    }

    .pub-brand__copy small[b-6aqizvhmp2] {
        color: #a99f91;
        font-size: .7rem;
        font-weight: 600;
    }

.pub-footer__brand p[b-6aqizvhmp2] {
    max-width: 380px;
    margin: 18px 0 0;
    line-height: 2;
    font-size: .9rem;
}

.pub-footer__col[b-6aqizvhmp2] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .pub-footer__col h2[b-6aqizvhmp2] {
        margin: 0 0 6px;
        color: #f0c85c;
        font-size: .86rem;
        font-weight: 700;
    }

    .pub-footer__col a[b-6aqizvhmp2] {
        color: #d8cab0;
        font-size: .9rem;
        text-decoration: none;
        transition: color .25s ease;
    }

        .pub-footer__col a:hover[b-6aqizvhmp2] {
            color: #f4cd58;
        }

/*
 * The studio's credit sits in the middle: the copyright and an empty column
 * get equal widths on either side, so it is centred on the bar.
 */
.pub-footer__bottom[b-6aqizvhmp2] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    width: min(1180px, calc(100% - 32px));
    margin: 40px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(235, 184, 70, .14);
    color: #8f8270;
    font-size: .8rem;
}

.pub-footer__credit[b-6aqizvhmp2] {
    white-space: nowrap;
}

    .pub-footer__credit a[b-6aqizvhmp2] {
        color: #d8cab0;
        text-decoration: none;
        transition: color .25s ease;
    }

        .pub-footer__credit a:hover[b-6aqizvhmp2],
        .pub-footer__credit a:focus-visible[b-6aqizvhmp2] {
            color: #f4cd58;
        }

/* under the description, as on the home page */
.landing-footer-v2__seal[b-6aqizvhmp2] {
    display: flex;
    gap: 8px;
}




@media (max-width: 860px) {
    .pub-footer__inner[b-6aqizvhmp2] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pub-footer__brand[b-6aqizvhmp2] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .pub-footer__inner[b-6aqizvhmp2] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* on a phone the credit takes its own line under the copyright */
@media (max-width: 640px) {
    .pub-footer__bottom[b-6aqizvhmp2] {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .pub-footer__credit[b-6aqizvhmp2] {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}
/* _content/AITranslationPlatform.Web/Components/Public/PublicHeader.razor.rz.scp.css */
/* =========================================================
   The public pages' header. Every size and colour here is the
   home page header's, measured from it, so the two read as one;
   like the home page's, the header stays light in the dark theme.
   ========================================================= */

/*
 * Stays at the top while the page scrolls, on every width. It is glass:
 * whatever scrolls under it shows through, lightly blurred; once something
 * is under it (js/public-pages.js, "is-scrolled") it lifts off the page.
 * Over a dark section ("is-over-dark", same script) the glass frosts
 * over, or the menu would be grey on dark brown.
 */
.pub-header[b-fj4mfzm9cu] {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(177, 137, 65, .12);
    background: rgba(255, 253, 248, .4);
    -webkit-backdrop-filter: blur(10px) saturate(1.8);
    backdrop-filter: blur(10px) saturate(1.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
    color: #28231d;
    transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

    .pub-header.is-scrolled[b-fj4mfzm9cu] {
        border-bottom-color: rgba(177, 137, 65, .2);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 14px 34px -22px rgba(45, 36, 25, .5);
    }

    .pub-header.is-over-dark[b-fj4mfzm9cu] {
        background: rgba(255, 253, 248, .8);
    }

.pub-header__inner[b-fj4mfzm9cu] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    width: min(1440px, calc(100% - 48px));
    min-height: 82px;
    margin-inline: auto;
    padding: 10px 0;
}

/* ---------- brand ---------- */

.pub-brand[b-fj4mfzm9cu] {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    color: #292621;
    text-decoration: none;
}

.pub-brand__mark[b-fj4mfzm9cu] {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border: 1px solid rgba(189, 139, 43, .22);
    border-radius: 14px;
    background: linear-gradient(145deg, #fffdf8, #f5e8ca);
    box-shadow: 0 12px 26px rgba(252, 209, 102, .22);
    transition: transform .3s ease;
}

    .pub-brand__mark img[b-fj4mfzm9cu] {
        display: block;
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

.pub-brand:hover .pub-brand__mark[b-fj4mfzm9cu] {
    transform: rotate(-6deg);
}

.pub-brand__copy[b-fj4mfzm9cu] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .pub-brand__copy strong[b-fj4mfzm9cu] {
        color: #292621;
        font-size: 18px;
        font-weight: 900;
    }

    .pub-brand__copy small[b-fj4mfzm9cu] {
        color: #958b7b;
        font-size: 9px;
        font-weight: 700;
        white-space: nowrap;
    }

/* ---------- navigation ---------- */

.pub-nav[b-fj4mfzm9cu] {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
}

    .pub-nav > a[b-fj4mfzm9cu],
    .pub-nav__trigger[b-fj4mfzm9cu] {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        min-height: 38px;
        padding: 0 12px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: #655d51;
        font: inherit;
        font-size: 16px;
        font-weight: 750;
        white-space: nowrap;
        text-decoration: none;
        cursor: pointer;
        transition: color .2s ease, background-color .2s ease;
    }

        .pub-nav > a:hover[b-fj4mfzm9cu],
        .pub-nav__group:hover .pub-nav__trigger[b-fj4mfzm9cu],
        .pub-nav__group:focus-within .pub-nav__trigger[b-fj4mfzm9cu] {
            color: #9a690b;
            background: rgba(216, 166, 52, .09);
        }

        .pub-nav > a.is-current[b-fj4mfzm9cu],
        .pub-nav__trigger.is-current[b-fj4mfzm9cu] {
            color: #9a690b;
            background: rgba(216, 166, 52, .14);
        }

.pub-nav__group[b-fj4mfzm9cu] {
    position: relative;
}

.pub-nav__trigger svg[b-fj4mfzm9cu] {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s ease;
}

.pub-nav__group:hover .pub-nav__trigger svg[b-fj4mfzm9cu],
.pub-nav__group:focus-within .pub-nav__trigger svg[b-fj4mfzm9cu] {
    transform: rotate(180deg);
}

/* one column: document translation (its list opens beside it), then voice, content and tools.
   The menu sits 100px towards the side away from that list, so the two together stay on
   screen from 901px up, in both languages; it still covers the whole trigger. */
.pub-header:lang(fa) .pub-nav__group[b-fj4mfzm9cu] { --svc-shift: 100px; }
.pub-header:lang(en) .pub-nav__group[b-fj4mfzm9cu] { --svc-shift: -100px; }

.pub-nav__menu[b-fj4mfzm9cu] {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 40;
    display: grid;
    gap: 4px;
    width: 300px;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid rgba(155, 125, 48, .22);
    border-radius: 18px;
    background: #fffdf8;
    box-shadow: 0 24px 50px rgba(59, 48, 23, .18);
    opacity: 0;
    visibility: hidden;
    translate: calc(-50% + var(--svc-shift, 0px)) 6px;
    transition: opacity .25s ease, translate .25s ease, visibility .25s;
}

    .pub-nav__menu[b-fj4mfzm9cu]::before {
        content: "";
        position: absolute;
        inset: -12px 0 auto;
        height: 12px;
    }

.pub-nav__group:hover .pub-nav__menu[b-fj4mfzm9cu],
.pub-nav__group:focus-within .pub-nav__menu[b-fj4mfzm9cu] {
    opacity: 1;
    visibility: visible;
    translate: calc(-50% + var(--svc-shift, 0px)) 0;
}

/* closed right after a choice, until the pointer leaves (public-pages.js) */
.pub-nav__group.is-closed .pub-nav__menu[b-fj4mfzm9cu] {
    opacity: 0;
    visibility: hidden;
    translate: calc(-50% + var(--svc-shift, 0px)) 6px;
}

.pub-nav__group.is-closed .pub-nav__translate-menu[b-fj4mfzm9cu] {
    opacity: 0;
    visibility: hidden;
}

.pub-nav__group.is-closed .pub-nav__trigger svg[b-fj4mfzm9cu] {
    transform: none;
}

.pub-nav__menu a[b-fj4mfzm9cu] {
    display: grid;
    gap: 2px;
    padding: 11px 14px;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color .2s ease;
}

    .pub-nav__menu a:hover[b-fj4mfzm9cu] {
        background: rgba(242, 197, 79, .12);
    }

    .pub-nav__menu a strong[b-fj4mfzm9cu] {
        color: #221d18;
        font-size: 13px;
        font-weight: 750;
    }

    .pub-nav__menu a small[b-fj4mfzm9cu] {
        color: #958b7b;
        font-size: 11.5px;
        font-weight: 600;
    }

    .pub-nav__menu a.is-current strong[b-fj4mfzm9cu] {
        color: #9a690b;
    }

.pub-nav__column[b-fj4mfzm9cu] {
    display: grid;
    align-content: start;
    gap: 4px;
}

/* document translation: one item whose list opens beside the menu, at its top */
.pub-nav__translate[b-fj4mfzm9cu] {
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(155, 125, 48, .14);
}

.pub-nav__translate-trigger[b-fj4mfzm9cu] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 14px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    font: inherit;
    text-align: start;
    cursor: pointer;
    transition: background-color .2s ease;
}

    .pub-nav__translate-trigger > span[b-fj4mfzm9cu] {
        display: grid;
        flex: 1;
        gap: 2px;
    }

    .pub-nav__translate-trigger strong[b-fj4mfzm9cu] {
        color: #221d18;
        font-size: 13px;
        font-weight: 750;
    }

    .pub-nav__translate-trigger.is-current strong[b-fj4mfzm9cu] {
        color: #9a690b;
    }

    .pub-nav__translate-trigger small[b-fj4mfzm9cu] {
        color: #958b7b;
        font-size: 11.5px;
        font-weight: 600;
    }

    .pub-nav__translate-trigger em[b-fj4mfzm9cu] {
        min-width: 22px;
        padding: 2px 7px;
        border-radius: 999px;
        background: rgba(216, 166, 52, .16);
        color: #9a690b;
        font-size: 11px;
        font-style: normal;
        font-weight: 800;
        text-align: center;
    }

    .pub-nav__translate-trigger svg[b-fj4mfzm9cu] {
        flex: none;
        width: 15px;
        height: 15px;
        fill: none;
        stroke: #9a690b;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: translate .25s ease;
    }

.pub-header:lang(en) .pub-nav__translate-trigger svg[b-fj4mfzm9cu] {
    rotate: 180deg;
}

.pub-nav__translate:hover .pub-nav__translate-trigger[b-fj4mfzm9cu],
.pub-nav__translate:focus-within .pub-nav__translate-trigger[b-fj4mfzm9cu] {
    background: rgba(242, 197, 79, .16);
}

.pub-header:lang(fa) .pub-nav__translate:hover .pub-nav__translate-trigger svg[b-fj4mfzm9cu],
.pub-header:lang(fa) .pub-nav__translate:focus-within .pub-nav__translate-trigger svg[b-fj4mfzm9cu] {
    translate: -3px 0;
}

.pub-header:lang(en) .pub-nav__translate:hover .pub-nav__translate-trigger svg[b-fj4mfzm9cu],
.pub-header:lang(en) .pub-nav__translate:focus-within .pub-nav__translate-trigger svg[b-fj4mfzm9cu] {
    translate: 3px 0;
}

.pub-nav__translate-menu[b-fj4mfzm9cu] {
    position: absolute;
    top: -1px;
    inset-inline-start: calc(100% + 8px);
    display: grid;
    gap: 2px;
    width: 300px;
    padding: 8px;
    border: 1px solid rgba(155, 125, 48, .22);
    border-radius: 18px;
    background: #fffdf8;
    box-shadow: 0 24px 50px rgba(59, 48, 23, .18);
    opacity: 0;
    visibility: hidden;
    translate: 0 4px;
    transition: opacity .22s ease, translate .22s ease, visibility .22s;
}

    /* a bridge over the gap, so the pointer can cross to the list */
    .pub-nav__translate-menu[b-fj4mfzm9cu]::before {
        content: "";
        position: absolute;
        inset-block: 0;
        inset-inline-end: 100%;
        width: 10px;
    }

.pub-nav__translate:hover .pub-nav__translate-menu[b-fj4mfzm9cu],
.pub-nav__translate:focus-within .pub-nav__translate-menu[b-fj4mfzm9cu] {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
}

.pub-nav__heading[b-fj4mfzm9cu] {
    padding: 6px 14px 2px;
    color: #9a690b;
    font-size: 11px;
    font-weight: 800;
}

/* ---------- actions ---------- */

.pub-header__actions[b-fj4mfzm9cu] {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.pub-lang[b-fj4mfzm9cu],
.pub-signin[b-fj4mfzm9cu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid rgba(188, 157, 99, .24);
    border-radius: 12px;
    background: rgba(255, 255, 255, .82);
    color: #625a4d;
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.pub-cta[b-fj4mfzm9cu] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 13px;
    background: linear-gradient(180deg, #f2c951, #e5ad27);
    color: #553a04;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(214, 161, 32, .18);
    transition: transform .25s ease;
}

    .pub-cta:hover[b-fj4mfzm9cu] {
        transform: translateY(-2px);
    }

/* ---------- phone menu ---------- */

.pub-menu[b-fj4mfzm9cu],
.pub-mobilebar[b-fj4mfzm9cu] {
    display: none;
}

.pub-menu > summary[b-fj4mfzm9cu] {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(188, 157, 99, .24);
    border-radius: 12px;
    background: rgba(255, 255, 255, .82);
    color: #4f473b;
    list-style: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

    .pub-menu > summary[b-fj4mfzm9cu]::-webkit-details-marker {
        display: none;
    }

    .pub-menu > summary svg[b-fj4mfzm9cu] {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
    }

.pub-menu .pub-menu__close[b-fj4mfzm9cu],
.pub-menu[open] .pub-menu__open[b-fj4mfzm9cu] {
    display: none;
}

.pub-menu[open] .pub-menu__close[b-fj4mfzm9cu] {
    display: block;
}

.pub-menu[open] > summary[b-fj4mfzm9cu] {
    border-color: transparent;
    background: #3b2f23;
    color: #fcd166;
}

.pub-menu__panel[b-fj4mfzm9cu] {
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 8px);
    z-index: 10;
    display: grid;
    gap: 12px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 10px;
    border: 1px solid rgba(177, 137, 65, .18);
    border-radius: 22px;
    background: #fffdf8;
    box-shadow: 0 24px 60px rgba(45, 36, 25, .18);
    animation: pub-menu-in-b-fj4mfzm9cu .32s cubic-bezier(.16, 1, .3, 1) both;
}

.pub-menu__links[b-fj4mfzm9cu] {
    display: grid;
    gap: 2px;
}

    .pub-menu__links a[b-fj4mfzm9cu],
    .pub-menu__actions a[b-fj4mfzm9cu] {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 0 14px;
        border-radius: 14px;
        color: #3d362c;
        font-size: .92rem;
        font-weight: 800;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }

        .pub-menu__links a:active[b-fj4mfzm9cu] {
            background: rgba(216, 166, 52, .12);
        }

.pub-menu__group[b-fj4mfzm9cu] {
    display: block;
    margin-top: 8px;
    padding: 10px 14px 4px;
    border-top: 1px solid rgba(155, 125, 48, .18);
    color: #b78507;
    font-size: 12px;
    font-weight: 800;
}

.pub-menu__actions[b-fj4mfzm9cu] {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(177, 137, 65, .14);
}

    .pub-menu__actions a[b-fj4mfzm9cu] {
        justify-content: center;
        border: 1px solid rgba(188, 157, 99, .24);
        font-size: .82rem;
    }

    .pub-menu__actions .pub-menu__signin[b-fj4mfzm9cu] {
        border-color: transparent;
        background: #3b2f23;
        color: #fcd166;
    }

html[data-theme="dark"] .pub-menu__panel[b-fj4mfzm9cu] {
    border-color: rgba(255, 226, 178, .14);
    background: #17120c;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
}

    html[data-theme="dark"] .pub-menu__links a[b-fj4mfzm9cu],
    html[data-theme="dark"] .pub-menu__actions a[b-fj4mfzm9cu] {
        color: #f6f2e8;
    }

html[data-theme="dark"] .pub-menu__actions .pub-menu__signin[b-fj4mfzm9cu] {
    color: #fcd166;
}

/* document translation: one item that opens in place, as in the desktop menu */
.pub-menu__fold summary[b-fj4mfzm9cu] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    color: #3d362c;
    font-size: .92rem;
    font-weight: 800;
    list-style: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

    .pub-menu__fold summary[b-fj4mfzm9cu]::-webkit-details-marker {
        display: none;
    }

    .pub-menu__fold summary span[b-fj4mfzm9cu] {
        flex: 1 1 auto;
    }

    .pub-menu__fold summary em[b-fj4mfzm9cu] {
        min-width: 22px;
        padding: 2px 8px;
        border-radius: 999px;
        background: rgba(216, 166, 52, .16);
        color: #9a690b;
        font-size: 11px;
        font-style: normal;
        font-weight: 800;
        text-align: center;
    }

    .pub-menu__fold summary svg[b-fj4mfzm9cu] {
        flex: none;
        width: 16px;
        height: 16px;
        fill: none;
        stroke: #9a690b;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: rotate .25s ease;
    }

.pub-menu__fold[open] summary[b-fj4mfzm9cu] {
    background: rgba(216, 166, 52, .1);
}

    .pub-menu__fold[open] summary svg[b-fj4mfzm9cu] {
        rotate: 180deg;
    }

.pub-menu__fold-links[b-fj4mfzm9cu] {
    display: grid;
    gap: 2px;
    margin: 4px 0 4px;
    margin-inline-start: 14px;
    padding-inline-start: 8px;
    border-inline-start: 2px solid rgba(216, 166, 52, .35);
}

    .pub-menu__fold-links a[b-fj4mfzm9cu] {
        min-height: 42px !important;
        font-size: .86rem !important;
        font-weight: 700 !important;
    }

        .pub-menu__fold-links a.is-current[b-fj4mfzm9cu] {
            color: #9a690b !important;
            background: rgba(216, 166, 52, .1);
        }

html[data-theme="dark"] .pub-menu__fold summary[b-fj4mfzm9cu] {
    color: #f6f2e8;
}

html[data-theme="dark"] .pub-menu__fold summary em[b-fj4mfzm9cu],
html[data-theme="dark"] .pub-menu__fold summary svg[b-fj4mfzm9cu] {
    color: #f0c85c;
    stroke: #f0c85c;
}

/* ---------- the bar under the thumb ---------- */

.pub-mobilebar a[b-fj4mfzm9cu] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 15px;
    font-size: .9rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.pub-mobilebar__secondary[b-fj4mfzm9cu] {
    border: 1px solid rgba(188, 157, 99, .28);
    background: #fff;
    color: #4f473b;
}

.pub-mobilebar__primary[b-fj4mfzm9cu] {
    background: linear-gradient(180deg, #f2c951, #e5ad27);
    color: #553a04;
    box-shadow: 0 10px 22px rgba(214, 161, 32, .25);
}

    .pub-mobilebar__primary svg[b-fj4mfzm9cu] {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

[dir="rtl"] .pub-mobilebar__primary svg[b-fj4mfzm9cu] {
    transform: scaleX(-1);
}

html[data-theme="dark"] .pub-mobilebar[b-fj4mfzm9cu] {
    border-color: rgba(255, 226, 178, .14);
    background: rgba(24, 19, 12, .9);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
}

html[data-theme="dark"] .pub-mobilebar__secondary[b-fj4mfzm9cu] {
    border-color: rgba(255, 226, 178, .18);
    background: rgba(255, 226, 178, .06);
    color: #f6f2e8;
}

@keyframes pub-menu-in-b-fj4mfzm9cu {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pub-bar-in-b-fj4mfzm9cu {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* the same breakpoints as the home page header */

/*
   A narrow desktop: the menu has to fit between the brand and the
   buttons, or its links run into each other. Narrower, it first drops
   the brand's subtitle, then tightens the links; English, which is
   wider, then drops «Home» (the logo is the home link) and at last
   «Sign in» (the start button leads there). The widths are where each
   step stops being enough, measured. The home page header does the same
   (Home.razor.css, "NARROW DESKTOP").
*/

@media (min-width: 901px) and (max-width: 1145px) {
    .pub-header:lang(fa) .pub-brand__copy small[b-fj4mfzm9cu] {
        display: none;
    }
}

@media (min-width: 901px) and (max-width: 1045px) {
    .pub-header:lang(fa) .pub-nav > a[b-fj4mfzm9cu],
    .pub-header:lang(fa) .pub-nav__trigger[b-fj4mfzm9cu] {
        padding: 0 8px;
        font-size: 15px;
    }
}

@media (min-width: 901px) and (max-width: 965px) {
    .pub-header:lang(fa) .pub-nav[b-fj4mfzm9cu] {
        gap: 0;
    }

        .pub-header:lang(fa) .pub-nav > a[b-fj4mfzm9cu],
        .pub-header:lang(fa) .pub-nav__trigger[b-fj4mfzm9cu] {
            padding: 0 6px;
            font-size: 14px;
        }
}

@media (min-width: 901px) and (max-width: 1240px) {
    .pub-header:lang(en) .pub-brand__copy small[b-fj4mfzm9cu] {
        display: none;
    }
}

@media (min-width: 901px) and (max-width: 1165px) {
    .pub-header:lang(en) .pub-nav > a[b-fj4mfzm9cu],
    .pub-header:lang(en) .pub-nav__trigger[b-fj4mfzm9cu] {
        padding: 0 8px;
        font-size: 15px;
    }
}

@media (min-width: 901px) and (max-width: 1085px) {
    .pub-header:lang(en) .pub-nav[b-fj4mfzm9cu] {
        gap: 0;
    }

        .pub-header:lang(en) .pub-nav > a[b-fj4mfzm9cu],
        .pub-header:lang(en) .pub-nav__trigger[b-fj4mfzm9cu] {
            padding: 0 6px;
            font-size: 14px;
        }

        .pub-header:lang(en) .pub-nav > a:first-child[b-fj4mfzm9cu] {
            display: none;
        }
}

@media (min-width: 901px) and (max-width: 950px) {
    .pub-header:lang(en) .pub-signin[b-fj4mfzm9cu] {
        display: none;
    }
}

@media (max-width: 900px) {
    /* as on the home page: it scrolls away on a desktop, stays on a phone */
    .pub-header[b-fj4mfzm9cu] {
        position: sticky;
        top: 0;
    }

    .pub-header__inner[b-fj4mfzm9cu] {
        width: calc(100% - 28px);
        min-height: 64px;
        padding: 8px 0;
        gap: 10px;
    }

    .pub-nav[b-fj4mfzm9cu],
    .pub-signin[b-fj4mfzm9cu],
    .pub-brand__copy small[b-fj4mfzm9cu] {
        display: none;
    }

    .pub-header__actions[b-fj4mfzm9cu] {
        margin-inline-start: auto;
    }

    .pub-brand__mark[b-fj4mfzm9cu] {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 13px;
    }

    .pub-lang[b-fj4mfzm9cu] {
        min-width: 44px;
    }

    .pub-menu[b-fj4mfzm9cu] {
        display: block;
        flex: none;
    }
}

@media (max-width: 720px) {
    .pub-cta[b-fj4mfzm9cu] {
        display: none;
    }

    .pub-mobilebar[b-fj4mfzm9cu] {
        position: fixed;
        inset-inline: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        z-index: 6000;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 8px;
        padding: 8px;
        border: 1px solid rgba(177, 137, 65, .2);
        border-radius: 22px;
        background: rgba(255, 253, 248, .9);
        -webkit-backdrop-filter: saturate(1.5) blur(20px);
        backdrop-filter: saturate(1.5) blur(20px);
        box-shadow: 0 16px 40px rgba(45, 36, 25, .18);
        animation: pub-bar-in-b-fj4mfzm9cu .5s .2s cubic-bezier(.16, 1, .3, 1) both;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pub-menu__panel[b-fj4mfzm9cu],
    .pub-mobilebar[b-fj4mfzm9cu] {
        animation: none;
    }
}
/* _content/AITranslationPlatform.Web/Components/Public/ServicePage.razor.rz.scp.css */
/* =========================================================
   Public service pages. The look follows the home page:
   warm paper, gold, rounded cards, the same type.
   Every colour is a token here, redefined for the dark theme.
   ========================================================= */

.pub-page[b-5c82jfh2nm] {
    --pub-bg: #f7f3ec;
    --pub-ink: #221d18;
    --pub-text: #655e53;
    --pub-muted: #958b7b;
    --pub-line: rgba(155, 125, 48, .22);
    --pub-line-strong: rgba(77, 63, 24, .32);
    --pub-card: linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(252, 249, 243, .97));
    --pub-card-solid: #fffdf8;
    --pub-gold-1: #f4cd58;
    --pub-gold-2: #e6ad25;
    --pub-gold-ink: #b78507;
    --pub-gold-soft: rgba(242, 197, 79, .14);
    --pub-gold-text: linear-gradient(115deg, #b98800 0%, #ab7e00 22%, #cb9500 45%, #bf8d00 68%, #a77b00 100%);
    --pub-shadow: 0 18px 40px rgba(87, 64, 22, .08);
    --pub-shadow-lift: 0 26px 54px rgba(87, 64, 22, .14);
    --pub-dark: linear-gradient(145deg, #211b15 0%, #19140f 100%);
    --pub-dark-ink: #f6ecd8;
    --pub-dark-text: #c9b99c;

    min-height: 100vh;
    overflow-x: clip;
    background:
        radial-gradient(950px 600px at 7% 0%, rgba(252, 209, 102, .3), transparent 62%),
        radial-gradient(850px 560px at 98% 18%, rgba(252, 209, 102, .07), transparent 63%),
        var(--pub-bg);
    color: var(--pub-ink);
    font-family: IRANSansX, Tahoma, Arial, sans-serif;
}

    .pub-page[lang="en"][b-5c82jfh2nm] {
        font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    }

html[data-theme="dark"] .pub-page[b-5c82jfh2nm] {
    --pub-bg: #15110d;
    --pub-ink: #f4ead7;
    --pub-text: #c8b99f;
    --pub-muted: #9a8b72;
    --pub-line: rgba(226, 179, 63, .16);
    --pub-line-strong: rgba(226, 179, 63, .3);
    --pub-card: linear-gradient(180deg, rgba(38, 31, 24, .96), rgba(30, 24, 18, .96));
    --pub-card-solid: #241d16;
    --pub-gold-ink: #f0c85c;
    --pub-gold-soft: rgba(242, 197, 79, .12);
    --pub-gold-text: linear-gradient(115deg, #f6cf5f 0%, #e8b432 30%, #ffd977 52%, #e6ad25 76%, #f2c34a 100%);
    --pub-shadow: 0 18px 40px rgba(0, 0, 0, .3);
    --pub-shadow-lift: 0 26px 54px rgba(0, 0, 0, .42);
    --pub-dark: linear-gradient(145deg, #2b2219 0%, #1f1912 100%);

    background:
        radial-gradient(950px 600px at 7% 0%, rgba(214, 160, 40, .14), transparent 62%),
        var(--pub-bg);
}

.pub-container[b-5c82jfh2nm] {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

/* ---------- shared pieces ---------- */

.pub-kicker[b-5c82jfh2nm] {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 14px;
    border: 1px solid rgba(226, 179, 63, .34);
    border-radius: 999px;
    background: var(--pub-gold-soft);
    color: var(--pub-gold-ink);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 0;
}

    .pub-page[lang="en"] .pub-kicker[b-5c82jfh2nm] {
        letter-spacing: .06em;
    }

.pub-button[b-5c82jfh2nm] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 16px;
    font-weight: 700;
    font-size: .98rem;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.pub-button--primary[b-5c82jfh2nm] {
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    color: #2b210d;
    box-shadow: 0 14px 32px rgba(214, 159, 34, .22), inset 0 1px 0 rgba(255, 255, 255, .4);
}

    .pub-button--primary:hover[b-5c82jfh2nm] {
        transform: translateY(-2px);
        box-shadow: 0 20px 40px rgba(214, 159, 34, .32), inset 0 1px 0 rgba(255, 255, 255, .4);
    }

.pub-button--ghost[b-5c82jfh2nm] {
    border: 1px solid var(--pub-line-strong);
    background: rgba(255, 255, 255, .62);
    color: var(--pub-ink);
}

    .pub-button--ghost:hover[b-5c82jfh2nm] {
        transform: translateY(-2px);
        background: rgba(255, 255, 255, .9);
    }

    .pub-button--ghost i[b-5c82jfh2nm] {
        font-style: normal;
        font-size: .72rem;
        color: var(--pub-gold-ink);
    }

html[data-theme="dark"] .pub-button--ghost[b-5c82jfh2nm] {
    background: rgba(255, 255, 255, .05);
}

    html[data-theme="dark"] .pub-button--ghost:hover[b-5c82jfh2nm] {
        background: rgba(255, 255, 255, .1);
    }

.pub-button:focus-visible[b-5c82jfh2nm],
.pub-samples__labels label:focus-visible[b-5c82jfh2nm] {
    outline: 3px solid rgba(230, 173, 37, .55);
    outline-offset: 3px;
}

/* ---------- hero ---------- */

.pub-hero[b-5c82jfh2nm] {
    position: relative;
    padding: 44px 0 72px;
}

.pub-hero__glow[b-5c82jfh2nm] {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.pub-hero__glow--one[b-5c82jfh2nm] {
    inset-block-start: -60px;
    inset-inline-end: 8%;
    width: 380px;
    height: 380px;
    background: rgba(252, 209, 102, .32);
    animation: pub-drift-a-b-5c82jfh2nm 14s ease-in-out infinite alternate;
}

.pub-hero__glow--two[b-5c82jfh2nm] {
    inset-block-end: -40px;
    inset-inline-start: 4%;
    width: 300px;
    height: 300px;
    background: rgba(230, 173, 37, .16);
    animation: pub-drift-b-b-5c82jfh2nm 16s ease-in-out infinite alternate;
}

.pub-hero__layout[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 48px;
    padding: 46px 48px;
    border: 1px solid rgba(77, 63, 24, .14);
    border-radius: 34px;
    background:
        radial-gradient(circle at 100% 0%, rgba(252, 209, 102, .18), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(250, 245, 234, .72));
    box-shadow: 0 30px 70px rgba(59, 48, 23, .08), inset 0 1px 0 rgba(255, 255, 255, .8);
}

html[data-theme="dark"] .pub-hero__layout[b-5c82jfh2nm] {
    background:
        radial-gradient(circle at 100% 0%, rgba(214, 160, 40, .12), transparent 42%),
        linear-gradient(180deg, rgba(40, 32, 24, .82), rgba(28, 22, 17, .82));
    border-color: var(--pub-line);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}

.pub-crumbs[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--pub-muted);
    font-size: .82rem;
    animation: pub-rise-b-5c82jfh2nm .7s cubic-bezier(.2, .8, .2, 1) both;
}

    .pub-crumbs a[b-5c82jfh2nm] {
        color: inherit;
        text-decoration: none;
    }

        .pub-crumbs a:hover[b-5c82jfh2nm] {
            color: var(--pub-gold-ink);
        }

.pub-hero__copy .pub-kicker[b-5c82jfh2nm] {
    animation: pub-rise-b-5c82jfh2nm .7s .05s cubic-bezier(.2, .8, .2, 1) both;
}

.pub-hero__title[b-5c82jfh2nm] {
    margin: 18px 0 18px;
    font-size: clamp(2.1rem, 4.2vw, 3.45rem);
    font-weight: 700;
    line-height: 1.22;
    color: var(--pub-ink);
    animation: pub-rise-b-5c82jfh2nm .8s .12s cubic-bezier(.2, .8, .2, 1) both;
}

    .pub-hero__title span[b-5c82jfh2nm] {
        display: block;
    }

    .pub-hero__title strong[b-5c82jfh2nm] {
        display: block;
        font-weight: 700;
        background:
            linear-gradient(105deg, transparent 0%, transparent 38%, rgba(255, 250, 210, .95) 50%, transparent 62%, transparent 100%),
            var(--pub-gold-text);
        background-size: 250% 100%, 100% 100%;
        background-repeat: no-repeat;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: pub-shine-b-5c82jfh2nm 6.5s ease-in-out 1.2s infinite;
    }

.pub-hero__lead[b-5c82jfh2nm] {
    max-width: 560px;
    margin: 0 0 30px;
    color: var(--pub-text);
    font-size: 1.04rem;
    line-height: 2;
    animation: pub-rise-b-5c82jfh2nm .8s .2s cubic-bezier(.2, .8, .2, 1) both;
}

.pub-page[lang="en"] .pub-hero__lead[b-5c82jfh2nm] {
    line-height: 1.75;
}

.pub-hero__actions[b-5c82jfh2nm] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: pub-rise-b-5c82jfh2nm .8s .28s cubic-bezier(.2, .8, .2, 1) both;
}

/* the page that becomes its translation */

.pub-hero__stage[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 460px;
    animation: pub-rise-b-5c82jfh2nm 1s .18s cubic-bezier(.2, .8, .2, 1) both;
}

.pub-stage__ring[b-5c82jfh2nm] {
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed rgba(201, 150, 26, .35);
}

.pub-stage__ring--one[b-5c82jfh2nm] {
    width: 430px;
    height: 430px;
    animation: pub-spin-b-5c82jfh2nm 60s linear infinite;
}

.pub-stage__ring--two[b-5c82jfh2nm] {
    width: 330px;
    height: 330px;
    border-style: solid;
    border-color: rgba(201, 150, 26, .18);
    animation: pub-spin-b-5c82jfh2nm 40s linear infinite reverse;
}

.pub-morph[b-5c82jfh2nm] {
    position: relative;
    width: min(330px, 100%);
    overflow: hidden;
    border: 1px solid rgba(77, 63, 24, .18);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 34px 70px rgba(59, 48, 23, .22), 0 2px 0 rgba(255, 255, 255, .7) inset;
    transform: rotate(-2.5deg);
    animation: pub-hover-b-5c82jfh2nm 7s ease-in-out infinite;
}

/* a landscape page (a poster, a slide) is as wide as the stage, not a portrait page's width */
.pub-morph--wide[b-5c82jfh2nm] {
    width: min(520px, 100%);
}

.pub-morph__page[b-5c82jfh2nm] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pub-morph__page--after[b-5c82jfh2nm] {
    position: absolute;
    inset: 0;
    clip-path: inset(0 100% 0 0);
    animation: pub-reveal-b-5c82jfh2nm 8s cubic-bezier(.6, 0, .3, 1) .6s infinite;
}

.pub-morph__scan[b-5c82jfh2nm] {
    position: absolute;
    inset-block: -4%;
    left: 0;
    width: 3px;
    background: linear-gradient(180deg, transparent, #f4cd58 18%, #fff3c4 50%, #f4cd58 82%, transparent);
    box-shadow: 0 0 22px 6px rgba(244, 205, 88, .55);
    opacity: 0;
    animation: pub-scan-b-5c82jfh2nm 8s cubic-bezier(.6, 0, .3, 1) .6s infinite;
}

.pub-chip[b-5c82jfh2nm] {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(226, 179, 63, .36);
    border-radius: 14px;
    background: var(--pub-card-solid);
    color: var(--pub-ink);
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 16px 34px rgba(59, 48, 23, .14);
    z-index: 2;
}

    .pub-chip svg[b-5c82jfh2nm] {
        width: 18px;
        height: 18px;
        padding: 3px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
        fill: none;
        stroke: #2b210d;
        stroke-width: 2.6;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pub-chip--1[b-5c82jfh2nm] {
    inset-block-start: 16%;
    inset-inline-start: -2%;
    animation: pub-float-b-5c82jfh2nm 5.5s ease-in-out infinite;
}

.pub-chip--2[b-5c82jfh2nm] {
    inset-block-end: 20%;
    inset-inline-end: -4%;
    animation: pub-float-b-5c82jfh2nm 6.5s ease-in-out .8s infinite;
}

.pub-chip--3[b-5c82jfh2nm] {
    inset-block-end: 4%;
    inset-inline-start: 6%;
    animation: pub-float-b-5c82jfh2nm 6s ease-in-out 1.6s infinite;
}

/* ---------- sections ---------- */

.pub-page[b-5c82jfh2nm] {
    interpolate-size: allow-keywords;
}

.pub-section[b-5c82jfh2nm] {
    padding: 80px 0;
}

.pub-section__head[b-5c82jfh2nm] {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

    .pub-section__head h2[b-5c82jfh2nm] {
        margin: 16px 0 12px;
        font-size: clamp(1.65rem, 3vw, 2.35rem);
        font-weight: 700;
        line-height: 1.35;
        color: var(--pub-ink);
    }

    .pub-section__head p[b-5c82jfh2nm] {
        margin: 0;
        color: var(--pub-text);
        line-height: 1.9;
    }

.pub-section__head--dark h2[b-5c82jfh2nm] {
    color: var(--pub-dark-ink);
}

.pub-section__head--dark p[b-5c82jfh2nm] {
    color: var(--pub-dark-text);
}

.pub-kicker--dark[b-5c82jfh2nm] {
    border-color: rgba(240, 200, 92, .34);
    background: rgba(240, 200, 92, .1);
    color: #f0c85c;
}

.pub-button--glass[b-5c82jfh2nm] {
    border: 1px solid rgba(255, 236, 190, .2);
    background: rgba(255, 255, 255, .06);
    color: var(--pub-dark-ink);
    backdrop-filter: blur(8px);
}

    .pub-button--glass:hover[b-5c82jfh2nm] {
        transform: translateY(-2px);
        background: rgba(255, 255, 255, .12);
    }

/* ================= ribbon: what it is made for ================= */

.pub-ribbon[b-5c82jfh2nm] {
    padding: 0 0 12px;
    margin-top: -36px;
    position: relative;
    z-index: 2;
}

.pub-ribbon__inner[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 12px 12px 20px;
    border: 1px solid var(--pub-line);
    border-radius: 22px;
    background: var(--pub-card-solid);
    box-shadow: var(--pub-shadow);
}

.pub-page[dir="rtl"] .pub-ribbon__inner[b-5c82jfh2nm] {
    padding: 12px 20px 12px 12px;
}

.pub-ribbon__label[b-5c82jfh2nm] {
    flex: 0 0 auto;
    padding-inline-end: 18px;
    border-inline-end: 1px solid var(--pub-line);
    font-weight: 700;
    font-size: .95rem;
    white-space: nowrap;
    background: var(--pub-gold-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pub-ribbon__viewport[b-5c82jfh2nm] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.pub-ribbon__track[b-5c82jfh2nm] {
    display: flex;
    width: max-content;
    animation: pub-marquee-b-5c82jfh2nm 36s linear infinite;
}

.pub-page[dir="rtl"] .pub-ribbon__track[b-5c82jfh2nm] {
    animation-name: pub-marquee-rtl-b-5c82jfh2nm;
}

.pub-ribbon:hover .pub-ribbon__track[b-5c82jfh2nm] {
    animation-play-state: paused;
}

.pub-ribbon ul[b-5c82jfh2nm] {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    padding-inline-end: 10px;
    list-style: none;
}

.pub-ribbon li[b-5c82jfh2nm] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid var(--pub-line);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(250, 243, 228, .7));
    color: var(--pub-ink);
    font-size: .86rem;
    font-weight: 700;
    white-space: nowrap;
}

html[data-theme="dark"] .pub-ribbon li[b-5c82jfh2nm] {
    background: rgba(255, 255, 255, .04);
}

    .pub-ribbon li svg[b-5c82jfh2nm] {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: var(--pub-gold-2);
        stroke-width: 1.8;
        stroke-linejoin: round;
        stroke-linecap: round;
    }

/* ================= showcase: real samples ================= */

.pub-showcase[b-5c82jfh2nm] {
    position: relative;
    width: min(1400px, calc(100% - 24px));
    margin: 56px auto 0;
    padding: 88px 0 96px;
    overflow: hidden;
    border-radius: 44px;
    background:
        radial-gradient(70% 55% at 50% 0%, rgba(240, 191, 75, .16), transparent 70%),
        linear-gradient(180deg, #211a14 0%, #15110d 100%);
    box-shadow: 0 40px 90px rgba(33, 27, 21, .28);
    isolation: isolate;
}

    .pub-showcase[b-5c82jfh2nm]::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background-image: radial-gradient(rgba(255, 225, 150, .1) 1px, transparent 1.2px);
        background-size: 26px 26px;
        -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 80%);
        mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 80%);
    }

.pub-showcase__glow[b-5c82jfh2nm] {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.pub-showcase__glow--one[b-5c82jfh2nm] {
    top: 22%;
    inset-inline-start: -8%;
    width: 420px;
    height: 420px;
    background: rgba(230, 173, 37, .18);
    animation: pub-drift-a-b-5c82jfh2nm 18s ease-in-out infinite alternate;
}

.pub-showcase__glow--two[b-5c82jfh2nm] {
    bottom: -12%;
    inset-inline-end: -6%;
    width: 480px;
    height: 480px;
    background: rgba(183, 121, 29, .16);
    animation: pub-drift-b-b-5c82jfh2nm 20s ease-in-out infinite alternate;
}

.pub-showcase__body[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
}

.pub-showcase__radio[b-5c82jfh2nm] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* the rail of samples */

.pub-showcase__rail[b-5c82jfh2nm] {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pub-thumb[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 14px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 236, 190, .1);
    border-radius: 18px;
    background: rgba(255, 255, 255, .035);
    color: var(--pub-dark-text);
    cursor: pointer;
    transition: border-color .3s ease, background-color .3s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}

    .pub-thumb:hover[b-5c82jfh2nm] {
        transform: translateX(0) translateY(-2px);
        border-color: rgba(240, 200, 92, .3);
        background: rgba(255, 255, 255, .06);
    }

.pub-thumb__img[b-5c82jfh2nm] {
    display: block;
    height: 72px;
    overflow: hidden;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .35);
}

    .pub-thumb__img img[b-5c82jfh2nm] {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
        transition: transform .5s cubic-bezier(.2, .8, .2, 1);
    }

.pub-thumb__copy[b-5c82jfh2nm] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

    .pub-thumb__copy small[b-5c82jfh2nm] {
        color: #9a8b72;
        font-size: .74rem;
        font-weight: 700;
    }

    .pub-thumb__copy strong[b-5c82jfh2nm] {
        color: var(--pub-dark-ink);
        font-size: .95rem;
        font-weight: 700;
    }

.pub-thumb__format[b-5c82jfh2nm] {
    display: inline-block;
    margin-inline-start: 6px;
    padding: 1px 7px;
    border-radius: 6px;
    background: rgba(226, 92, 70, .2);
    color: #f29a86;
    font-size: .68rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .02em;
    vertical-align: 1px;
}

.pub-thumb__format--docx[b-5c82jfh2nm] {
    background: rgba(77, 140, 230, .2);
    color: #8fb8f2;
}

.pub-thumb__format--pptx[b-5c82jfh2nm] {
    background: rgba(230, 120, 60, .2);
    color: #f2ad86;
}

/* a slide is wider than tall: its thumbnail shows the whole of it */
.pub-thumb__img--wide img[b-5c82jfh2nm] {
    object-fit: contain;
    object-position: center;
}

.pub-thumb__arrow[b-5c82jfh2nm] {
    display: grid;
    place-items: center;
    opacity: 0;
    transform: translateX(6px);
    transition: opacity .3s ease, transform .3s ease;
}

.pub-page[dir="ltr"] .pub-thumb__arrow[b-5c82jfh2nm] {
    transform: translateX(-6px) scaleX(-1);
}

    .pub-thumb__arrow svg[b-5c82jfh2nm] {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: #f0c85c;
        stroke-width: 2.4;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pub-showcase__radio:nth-of-type(1):checked ~ .pub-showcase__rail .pub-thumb:nth-child(1)[b-5c82jfh2nm],
.pub-showcase__radio:nth-of-type(2):checked ~ .pub-showcase__rail .pub-thumb:nth-child(2)[b-5c82jfh2nm],
.pub-showcase__radio:nth-of-type(3):checked ~ .pub-showcase__rail .pub-thumb:nth-child(3)[b-5c82jfh2nm],
.pub-showcase__radio:nth-of-type(4):checked ~ .pub-showcase__rail .pub-thumb:nth-child(4)[b-5c82jfh2nm],
.pub-showcase__radio:nth-of-type(5):checked ~ .pub-showcase__rail .pub-thumb:nth-child(5)[b-5c82jfh2nm] {
    border-color: rgba(240, 200, 92, .6);
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(240, 191, 75, .22), transparent 60%),
        rgba(255, 255, 255, .06);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(240, 200, 92, .12);
}

    .pub-showcase__radio:nth-of-type(1):checked ~ .pub-showcase__rail .pub-thumb:nth-child(1) .pub-thumb__arrow[b-5c82jfh2nm],
    .pub-showcase__radio:nth-of-type(2):checked ~ .pub-showcase__rail .pub-thumb:nth-child(2) .pub-thumb__arrow[b-5c82jfh2nm],
    .pub-showcase__radio:nth-of-type(3):checked ~ .pub-showcase__rail .pub-thumb:nth-child(3) .pub-thumb__arrow[b-5c82jfh2nm],
    .pub-showcase__radio:nth-of-type(4):checked ~ .pub-showcase__rail .pub-thumb:nth-child(4) .pub-thumb__arrow[b-5c82jfh2nm],
    .pub-showcase__radio:nth-of-type(5):checked ~ .pub-showcase__rail .pub-thumb:nth-child(5) .pub-thumb__arrow[b-5c82jfh2nm] {
        opacity: 1;
        transform: none;
    }

.pub-page[dir="ltr"] .pub-showcase__radio:checked ~ .pub-showcase__rail .pub-thumb .pub-thumb__arrow[b-5c82jfh2nm] {
    transform: scaleX(-1);
}

    .pub-showcase__radio:nth-of-type(1):checked ~ .pub-showcase__rail .pub-thumb:nth-child(1) img[b-5c82jfh2nm],
    .pub-showcase__radio:nth-of-type(2):checked ~ .pub-showcase__rail .pub-thumb:nth-child(2) img[b-5c82jfh2nm],
    .pub-showcase__radio:nth-of-type(3):checked ~ .pub-showcase__rail .pub-thumb:nth-child(3) img[b-5c82jfh2nm],
    .pub-showcase__radio:nth-of-type(4):checked ~ .pub-showcase__rail .pub-thumb:nth-child(4) img[b-5c82jfh2nm],
    .pub-showcase__radio:nth-of-type(5):checked ~ .pub-showcase__rail .pub-thumb:nth-child(5) img[b-5c82jfh2nm] {
        transform: scale(1.12);
    }

.pub-showcase__radio:nth-of-type(1):focus-visible ~ .pub-showcase__rail .pub-thumb:nth-child(1)[b-5c82jfh2nm],
.pub-showcase__radio:nth-of-type(2):focus-visible ~ .pub-showcase__rail .pub-thumb:nth-child(2)[b-5c82jfh2nm],
.pub-showcase__radio:nth-of-type(3):focus-visible ~ .pub-showcase__rail .pub-thumb:nth-child(3)[b-5c82jfh2nm],
.pub-showcase__radio:nth-of-type(4):focus-visible ~ .pub-showcase__rail .pub-thumb:nth-child(4)[b-5c82jfh2nm],
.pub-showcase__radio:nth-of-type(5):focus-visible ~ .pub-showcase__rail .pub-thumb:nth-child(5)[b-5c82jfh2nm] {
    outline: 3px solid rgba(230, 173, 37, .6);
    outline-offset: 3px;
}

/* one sample: the viewer and its notes */

.pub-sample[b-5c82jfh2nm] {
    display: none;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 30px;
    margin: 0;
}

.pub-showcase__radio:nth-of-type(1):checked ~ .pub-showcase__panels .pub-sample:nth-child(1)[b-5c82jfh2nm],
.pub-showcase__radio:nth-of-type(2):checked ~ .pub-showcase__panels .pub-sample:nth-child(2)[b-5c82jfh2nm],
.pub-showcase__radio:nth-of-type(3):checked ~ .pub-showcase__panels .pub-sample:nth-child(3)[b-5c82jfh2nm],
.pub-showcase__radio:nth-of-type(4):checked ~ .pub-showcase__panels .pub-sample:nth-child(4)[b-5c82jfh2nm],
.pub-showcase__radio:nth-of-type(5):checked ~ .pub-showcase__panels .pub-sample:nth-child(5)[b-5c82jfh2nm] {
    display: grid;
    animation: pub-swap-b-5c82jfh2nm .6s cubic-bezier(.2, .8, .2, 1) both;
}

/* a slide beside the notes would be a strip; it takes the whole width
   and the notes go under it, two to a row */
.pub-sample--wide[b-5c82jfh2nm] {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
}

    .pub-sample--wide .pub-viewer[b-5c82jfh2nm] {
        width: 100%;
    }

    .pub-sample--wide .pub-notes[b-5c82jfh2nm] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pub-sample--wide .pub-switch[b-5c82jfh2nm] {
        max-width: 360px;
    }

.pub-viewer[b-5c82jfh2nm] {
    justify-self: center;
    width: min(540px, 100%);
    padding: 10px;
    border: 1px solid rgba(255, 236, 190, .12);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(58, 47, 36, .9), rgba(36, 29, 22, .9));
    box-shadow:
        0 50px 90px rgba(0, 0, 0, .5),
        0 0 0 1px rgba(0, 0, 0, .3),
        inset 0 1px 0 rgba(255, 255, 255, .08);
}

.pub-viewer__chrome[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 38px;
    padding: 0 6px 8px;
    color: #c9b99c;
    font-size: .78rem;
    font-weight: 700;
}

.pub-viewer__dots[b-5c82jfh2nm] {
    display: inline-flex;
    gap: 6px;
}

    .pub-viewer__dots i[b-5c82jfh2nm] {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #5a4a38;
    }

        .pub-viewer__dots i:first-child[b-5c82jfh2nm] {
            background: #e0795f;
        }

        .pub-viewer__dots i:nth-child(2)[b-5c82jfh2nm] {
            background: #f0c85c;
        }

        .pub-viewer__dots i:nth-child(3)[b-5c82jfh2nm] {
            background: #7fc48a;
        }

.pub-viewer__file[b-5c82jfh2nm] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-inline: auto;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .28);
    direction: ltr;
}

    .pub-viewer__file svg[b-5c82jfh2nm] {
        width: 14px;
        height: 14px;
        fill: none;
        stroke: #f0c85c;
        stroke-width: 1.8;
        stroke-linejoin: round;
    }

.pub-viewer__live[b-5c82jfh2nm] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #f0c85c;
}

    .pub-viewer__live i[b-5c82jfh2nm] {
        position: relative;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #7fc48a;
    }

        .pub-viewer__live i[b-5c82jfh2nm]::after {
            content: "";
            position: absolute;
            inset: -4px;
            border-radius: 50%;
            border: 1.5px solid #7fc48a;
            animation: pub-ping-b-5c82jfh2nm 2s ease-out infinite;
        }

/* the before / after slider */

.pub-compare[b-5c82jfh2nm] {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
    user-select: none;
    animation: pub-sweep-b-5c82jfh2nm 3.4s cubic-bezier(.65, 0, .35, 1) .7s 1;
}

    .pub-compare.is-touched[b-5c82jfh2nm] {
        animation: none;
    }

.pub-compare__img[b-5c82jfh2nm] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pub-compare__img--after[b-5c82jfh2nm],
.pub-compare__pins[b-5c82jfh2nm] {
    position: absolute;
    inset: 0;
    clip-path: inset(0 0 0 var(--pos));
}

.pub-compare__pins[b-5c82jfh2nm] {
    pointer-events: none;
}

.pub-pin[b-5c82jfh2nm] {
    position: absolute;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    color: #2b210d;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(120, 82, 6, .45);
    transform: translate(-50%, -50%);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), background .3s ease;
    animation: pub-pin-in-b-5c82jfh2nm .6s cubic-bezier(.3, 1.6, .5, 1) both;
    animation-delay: calc(1.2s + var(--d, 0) * .18s);
}

    .pub-pin[b-5c82jfh2nm]::after {
        content: "";
        position: absolute;
        inset: -6px;
        border: 2px solid rgba(240, 191, 75, .8);
        border-radius: 50%;
        animation: pub-ping-b-5c82jfh2nm 2.4s ease-out infinite;
        animation-delay: calc(var(--d, 0) * .5s);
    }

.pub-sample:has(.pub-notes li:nth-child(1):hover) .pub-pin:nth-child(1)[b-5c82jfh2nm],
.pub-sample:has(.pub-notes li:nth-child(2):hover) .pub-pin:nth-child(2)[b-5c82jfh2nm],
.pub-sample:has(.pub-notes li:nth-child(3):hover) .pub-pin:nth-child(3)[b-5c82jfh2nm],
.pub-sample:has(.pub-notes li:nth-child(4):hover) .pub-pin:nth-child(4)[b-5c82jfh2nm],
.pub-sample:has(.pub-notes li:nth-child(5):hover) .pub-pin:nth-child(5)[b-5c82jfh2nm] {
    transform: translate(-50%, -50%) scale(1.4);
    background: #fff;
}

.pub-compare__handle[b-5c82jfh2nm] {
    position: absolute;
    inset-block: 0;
    left: var(--pos);
    width: 2px;
    background: linear-gradient(180deg, var(--pub-gold-1), var(--pub-gold-2));
    box-shadow: 0 0 18px rgba(244, 205, 88, .7);
    transform: translateX(-1px);
    pointer-events: none;
}

    .pub-compare__handle span[b-5c82jfh2nm] {
        position: absolute;
        top: 50%;
        left: 50%;
        display: grid;
        place-items: center;
        width: 46px;
        height: 46px;
        border: 3px solid #fff;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
        box-shadow: 0 10px 26px rgba(120, 82, 6, .45);
        transform: translate(-50%, -50%);
    }

    .pub-compare__handle svg[b-5c82jfh2nm] {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: #2b210d;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pub-compare__tag[b-5c82jfh2nm] {
    position: absolute;
    inset-block-start: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(28, 23, 17, .8);
    color: #fff7e5;
    font-size: .74rem;
    font-weight: 700;
    pointer-events: none;
    backdrop-filter: blur(6px);
}

.pub-compare__tag--before[b-5c82jfh2nm] {
    left: 12px;
}

.pub-compare__tag--after[b-5c82jfh2nm] {
    right: 12px;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    color: #2b210d;
}

.pub-compare__range[b-5c82jfh2nm] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    appearance: none;
}

.pub-compare:has(.pub-compare__range:focus-visible)[b-5c82jfh2nm] {
    outline: 3px solid rgba(230, 173, 37, .6);
    outline-offset: 4px;
}

/* the notes beside the viewer */

.pub-sample__aside[b-5c82jfh2nm] {
    position: relative;
    padding: 28px 26px;
    border: 1px solid rgba(255, 236, 190, .12);
    border-radius: 26px;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(240, 191, 75, .12), transparent 60%),
        rgba(255, 255, 255, .04);
    color: var(--pub-dark-text);
    backdrop-filter: blur(10px);
}

.pub-sample__index[b-5c82jfh2nm] {
    color: #f0c85c;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
}

    .pub-sample__index i[b-5c82jfh2nm] {
        font-style: normal;
        opacity: .45;
        margin-inline: 2px;
    }

.pub-sample__aside h3[b-5c82jfh2nm] {
    margin: 10px 0 10px;
    color: var(--pub-dark-ink);
    font-size: 1.45rem;
    font-weight: 700;
}

.pub-sample__aside p[b-5c82jfh2nm] {
    margin: 0 0 20px;
    font-size: .93rem;
    line-height: 1.95;
}

.pub-notes[b-5c82jfh2nm] {
    display: grid;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

    .pub-notes li[b-5c82jfh2nm] {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        border: 1px solid rgba(255, 236, 190, .08);
        border-radius: 14px;
        background: rgba(0, 0, 0, .18);
        color: var(--pub-dark-ink);
        font-size: .88rem;
        font-weight: 600;
        cursor: default;
        transition: border-color .25s ease, background-color .25s ease, transform .25s ease;
        animation: pub-note-in-b-5c82jfh2nm .5s cubic-bezier(.2, .8, .2, 1) both;
        animation-delay: calc(.25s + var(--d, 0) * .09s);
    }

        .pub-notes li:hover[b-5c82jfh2nm] {
            border-color: rgba(240, 200, 92, .45);
            background: rgba(240, 191, 75, .1);
            transform: translateX(-3px);
        }

.pub-page[dir="ltr"] .pub-notes li:hover[b-5c82jfh2nm] {
    transform: translateX(3px);
}

.pub-notes b[b-5c82jfh2nm] {
    flex: 0 0 24px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    color: #2b210d;
    font-size: .75rem;
}

.pub-switch[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(255, 236, 190, .12);
    border-radius: 14px;
    background: rgba(0, 0, 0, .25);
}

    .pub-switch button[b-5c82jfh2nm] {
        min-height: 36px;
        padding: 0 8px;
        border: 0;
        border-radius: 10px;
        background: transparent;
        color: var(--pub-dark-text);
        font: inherit;
        font-size: .84rem;
        font-weight: 700;
        cursor: pointer;
        transition: background-color .25s ease, color .25s ease;
    }

        .pub-switch button:hover[b-5c82jfh2nm] {
            color: var(--pub-dark-ink);
        }

        .pub-switch button.is-active[b-5c82jfh2nm] {
            background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
            color: #2b210d;
            box-shadow: 0 6px 16px rgba(214, 159, 34, .3);
        }

        .pub-switch button:focus-visible[b-5c82jfh2nm] {
            outline: 2px solid #f0c85c;
            outline-offset: 2px;
        }

/* ================= bento: what it does ================= */

.pub-bento[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 18px;
}

.pub-bento__card[b-5c82jfh2nm] {
    --mx: 50%;
    --my: 0%;
    position: relative;
    display: flex;
    flex-direction: column;
    grid-column: span 2;
    overflow: hidden;
    border: 1px solid var(--pub-line);
    border-radius: 28px;
    background: var(--pub-card);
    box-shadow: var(--pub-shadow);
    isolation: isolate;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
}

    .pub-bento__card[b-5c82jfh2nm]::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: radial-gradient(380px circle at var(--mx) var(--my), rgba(244, 205, 88, .16), transparent 45%);
        opacity: 0;
        transition: opacity .35s ease;
    }

    .pub-bento__card[b-5c82jfh2nm]::after {
        content: "";
        position: absolute;
        inset: 0;
        padding: 1.5px;
        border-radius: inherit;
        background: radial-gradient(240px circle at var(--mx) var(--my), rgba(240, 191, 75, .95), transparent 60%);
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity .35s ease;
        pointer-events: none;
    }

    .pub-bento__card:hover[b-5c82jfh2nm] {
        transform: translateY(-5px);
        box-shadow: var(--pub-shadow-lift);
    }

        .pub-bento__card:hover[b-5c82jfh2nm]::before,
        .pub-bento__card:hover[b-5c82jfh2nm]::after {
            opacity: 1;
        }

    /* the first card is the big one */
    .pub-bento__card:nth-child(1)[b-5c82jfh2nm] {
        grid-column: span 3;
        grid-row: span 2;
        border-color: rgba(226, 179, 63, .2);
        background:
            radial-gradient(90% 70% at 100% 0%, rgba(240, 191, 75, .2), transparent 60%),
            var(--pub-dark);
    }

        .pub-bento__card:nth-child(1) h3[b-5c82jfh2nm] {
            color: var(--pub-dark-ink);
            font-size: 1.4rem;
        }

        .pub-bento__card:nth-child(1) p[b-5c82jfh2nm] {
            color: var(--pub-dark-text);
        }

        .pub-bento__card:nth-child(1) .pub-art[b-5c82jfh2nm] {
            flex: 1 1 auto;
            min-height: 300px;
            background:
                radial-gradient(60% 60% at 50% 50%, rgba(240, 191, 75, .14), transparent 70%),
                rgba(255, 255, 255, .03);
            border-color: rgba(255, 236, 190, .08);
        }

    /* the next two lie on their side */
    .pub-bento__card:nth-child(2)[b-5c82jfh2nm],
    .pub-bento__card:nth-child(3)[b-5c82jfh2nm] {
        grid-column: span 3;
        flex-direction: row;
        align-items: stretch;
    }

        .pub-bento__card:nth-child(2) .pub-art[b-5c82jfh2nm],
        .pub-bento__card:nth-child(3) .pub-art[b-5c82jfh2nm] {
            flex: 0 0 42%;
            margin: 10px;
            margin-inline-end: 0;
        }

        .pub-bento__card:nth-child(2) .pub-bento__copy[b-5c82jfh2nm],
        .pub-bento__card:nth-child(3) .pub-bento__copy[b-5c82jfh2nm] {
            align-self: center;
        }

.pub-bento__copy[b-5c82jfh2nm] {
    padding: 22px 26px 26px;
}

.pub-bento__icon[b-5c82jfh2nm] {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    box-shadow: 0 10px 22px rgba(214, 159, 34, .25);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}

    .pub-bento__icon[b-5c82jfh2nm]  svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: #2b210d;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pub-bento__card:hover .pub-bento__icon[b-5c82jfh2nm] {
    transform: rotate(-8deg) scale(1.08);
}

.pub-bento__copy h3[b-5c82jfh2nm] {
    margin: 0 0 8px;
    color: var(--pub-ink);
    font-size: 1.12rem;
    font-weight: 700;
}

.pub-bento__copy p[b-5c82jfh2nm] {
    margin: 0;
    color: var(--pub-text);
    font-size: .93rem;
    line-height: 1.95;
}

/* ---------- the little moving pictures ---------- */

.pub-art[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 168px;
    margin: 10px 10px 0;
    overflow: hidden;
    border: 1px solid var(--pub-line);
    border-radius: 20px;
    background:
        linear-gradient(rgba(155, 125, 48, .07) 1px, transparent 1px) 0 0 / 18px 18px,
        linear-gradient(90deg, rgba(155, 125, 48, .07) 1px, transparent 1px) 0 0 / 18px 18px,
        linear-gradient(180deg, rgba(255, 249, 235, .8), rgba(250, 242, 224, .6));
}

html[data-theme="dark"] .pub-art[b-5c82jfh2nm] {
    background:
        linear-gradient(rgba(240, 200, 92, .06) 1px, transparent 1px) 0 0 / 18px 18px,
        linear-gradient(90deg, rgba(240, 200, 92, .06) 1px, transparent 1px) 0 0 / 18px 18px,
        rgba(255, 255, 255, .03);
}

.art-icon[b-5c82jfh2nm]  svg {
    width: 56px;
    height: 56px;
    fill: none;
    stroke: var(--pub-gold-2);
    stroke-width: 1.4;
}

/* layout: a translation layer lands on the original page */

.pub-art--layout[b-5c82jfh2nm] {
    perspective: 900px;
}

.art-sheet[b-5c82jfh2nm] {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
    width: 196px;
    height: 262px;
    padding: 14px;
    border-radius: 12px;
    translate: -50% -50%;
}

.art-sheet--base[b-5c82jfh2nm] {
    background: #fbf7ee;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}

.art-band[b-5c82jfh2nm] {
    align-self: stretch;
    height: 18px;
    border-radius: 5px;
    background: linear-gradient(90deg, #2c4a5a, #3d6d7e);
}

.art-block[b-5c82jfh2nm] {
    border-radius: 6px;
}

.art-block--photo[b-5c82jfh2nm] {
    width: 58%;
    height: 62px;
    background: linear-gradient(135deg, #7fb7c4, #3d6d7e);
}

.art-block--chart[b-5c82jfh2nm] {
    align-self: stretch;
    height: 46px;
    margin-top: auto;
    background:
        linear-gradient(0deg, #e6ad25 0 40%, transparent 40%) 10% 100% / 12% 100% no-repeat,
        linear-gradient(0deg, #e6ad25 0 70%, transparent 70%) 32% 100% / 12% 100% no-repeat,
        linear-gradient(0deg, #e6ad25 0 55%, transparent 55%) 54% 100% / 12% 100% no-repeat,
        linear-gradient(0deg, #e6ad25 0 85%, transparent 85%) 76% 100% / 12% 100% no-repeat,
        #f3ead6;
}

.art-line[b-5c82jfh2nm] {
    width: 100%;
    height: 7px;
    border-radius: 4px;
    background: #cfc5b3;
}

.art-line--s[b-5c82jfh2nm] {
    width: 72%;
}

.art-line--m[b-5c82jfh2nm] {
    width: 86%;
}

.art-sheet--base .art-line[b-5c82jfh2nm] {
    animation: pub-art-fade-b-5c82jfh2nm 6s ease-in-out infinite;
}

.art-sheet--layer[b-5c82jfh2nm] {
    padding-top: calc(14px + 18px + 7px + 62px + 7px);
    border: 1.5px dashed rgba(240, 191, 75, .8);
    background: rgba(240, 191, 75, .06);
    animation: pub-art-land-b-5c82jfh2nm 6s cubic-bezier(.3, .8, .2, 1) infinite;
}

    .art-sheet--layer .art-line[b-5c82jfh2nm] {
        background: linear-gradient(90deg, #e6ad25, #ffd977);
        box-shadow: 0 0 10px rgba(244, 205, 88, .5);
    }

.art-tag[b-5c82jfh2nm] {
    position: absolute;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .35);
}

.art-tag--one[b-5c82jfh2nm] {
    bottom: 12%;
    inset-inline-start: 7%;
    background: #fbf7ee;
    color: #3a2f22;
    animation: pub-float-b-5c82jfh2nm 5s ease-in-out infinite;
}

.art-tag--two[b-5c82jfh2nm] {
    top: 11%;
    inset-inline-end: 7%;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    color: #2b210d;
    animation: pub-float-b-5c82jfh2nm 6s ease-in-out .8s infinite;
}

/* mirror: the picture and the text change sides */

.art-mirror[b-5c82jfh2nm] {
    position: relative;
    width: 80%;
    max-width: 230px;
}

.art-mirror__page[b-5c82jfh2nm] {
    position: relative;
    display: block;
    height: 124px;
    border-radius: 12px;
    background: #fffdf8;
    box-shadow: 0 18px 36px rgba(87, 64, 22, .16);
}

.art-mirror__pic[b-5c82jfh2nm],
.art-mirror__text[b-5c82jfh2nm] {
    position: absolute;
    top: 14px;
    bottom: 14px;
    width: 38%;
    animation: pub-art-swap-b-5c82jfh2nm 5s cubic-bezier(.7, 0, .3, 1) infinite;
}

.art-mirror__pic[b-5c82jfh2nm] {
    left: 8%;
    border-radius: 8px;
    background: linear-gradient(135deg, #f4cd58, #d89a1c);
}

.art-mirror__text[b-5c82jfh2nm] {
    left: 54%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    animation-name: pub-art-swap-back-b-5c82jfh2nm;
}

    .art-mirror__text b[b-5c82jfh2nm] {
        display: block;
        height: 7px;
        border-radius: 4px;
        background: #cfc5b3;
    }

        .art-mirror__text b:nth-child(2)[b-5c82jfh2nm] {
            width: 70%;
        }

        .art-mirror__text b:nth-child(4)[b-5c82jfh2nm] {
            width: 82%;
        }

.art-mirror__axis[b-5c82jfh2nm] {
    position: absolute;
    inset-block: -14px;
    left: 50%;
    border-left: 1.5px dashed rgba(201, 150, 26, .7);
}

    .art-mirror__axis[b-5c82jfh2nm]::after {
        content: "⇄";
        position: absolute;
        bottom: -12px;
        left: 50%;
        display: grid;
        place-items: center;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
        color: #2b210d;
        font-size: .85rem;
        font-style: normal;
        font-weight: 700;
        transform: translateX(-50%);
        box-shadow: 0 6px 14px rgba(214, 159, 34, .35);
    }

/* scan: a beam reads the page */

.art-scan[b-5c82jfh2nm] {
    position: relative;
    width: 70%;
    max-width: 200px;
    height: 130px;
    padding: 16px;
    border-radius: 12px;
    background: #f5efe2;
    box-shadow: 0 18px 36px rgba(87, 64, 22, .16);
}

.art-scan__layer[b-5c82jfh2nm] {
    position: absolute;
    inset: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .art-scan__layer i[b-5c82jfh2nm] {
        display: block;
        height: 7px;
        border-radius: 4px;
    }

        .art-scan__layer i:nth-child(2n)[b-5c82jfh2nm] {
            width: 78%;
        }

.art-scan__layer--faint i[b-5c82jfh2nm] {
    background: repeating-linear-gradient(90deg, #cdbfa3 0 6px, transparent 6px 10px);
    opacity: .7;
}

.art-scan__layer--read[b-5c82jfh2nm] {
    clip-path: inset(0 0 100% 0);
    animation: pub-art-read-b-5c82jfh2nm 3.6s ease-in-out infinite;
}

    .art-scan__layer--read i[b-5c82jfh2nm] {
        background: #3a2f22;
    }

.art-scan__beam[b-5c82jfh2nm] {
    position: absolute;
    left: -6%;
    right: -6%;
    top: 18px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, #f4cd58 20%, #fff3c4 50%, #f4cd58 80%, transparent);
    box-shadow: 0 0 18px 5px rgba(244, 205, 88, .55);
    animation: pub-art-beam-b-5c82jfh2nm 3.6s ease-in-out infinite;
}

/* formula: table marks pop into their cells; the formula stays */

.pub-art--formula[b-5c82jfh2nm] {
    grid-auto-flow: column;
    gap: 18px;
}

.art-grid[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: repeat(4, 26px);
    gap: 5px;
    padding: 8px;
    border-radius: 10px;
    background: #fffdf8;
    box-shadow: 0 14px 30px rgba(87, 64, 22, .14);
}

    .art-grid i[b-5c82jfh2nm] {
        display: grid;
        place-items: center;
        height: 22px;
        border-radius: 5px;
        background: #f3ead6;
        color: #b78507;
        font-size: .72rem;
        font-style: normal;
        font-weight: 700;
        animation: pub-art-pop-b-5c82jfh2nm 4s ease-out infinite;
        animation-delay: calc(var(--c) * .1s);
    }

        .art-grid i:nth-child(4n + 2)[b-5c82jfh2nm] {
            color: #c4573d;
        }

.art-formula[b-5c82jfh2nm] {
    padding: 10px 14px;
    border: 1px solid rgba(226, 179, 63, .45);
    border-radius: 12px;
    background: var(--pub-card-solid);
    color: var(--pub-ink);
    font-family: "Cambria Math", "Times New Roman", serif;
    font-size: 1.05rem;
    font-style: italic;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(87, 64, 22, .12);
    animation: pub-float-b-5c82jfh2nm 5s ease-in-out infinite;
}

/* figure: the labels of a chart change language */

.art-flow[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 22px;
    direction: ltr;
}

.art-flow__node[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    width: 70px;
    height: 36px;
    border: 1.5px solid rgba(226, 179, 63, .7);
    border-radius: 10px;
    background: var(--pub-card-solid);
    box-shadow: 0 10px 22px rgba(87, 64, 22, .12);
}

    .art-flow__node:not(:last-child)[b-5c82jfh2nm]::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 100%;
        width: 22px;
        height: 2px;
        background: linear-gradient(90deg, rgba(226, 179, 63, .7), #e6ad25);
    }

    .art-flow__node b[b-5c82jfh2nm] {
        grid-area: 1 / 1;
        place-self: center;
        font-size: .74rem;
        font-weight: 700;
        color: var(--pub-ink);
        animation: pub-art-lang-b-5c82jfh2nm 5s ease-in-out infinite;
        animation-delay: calc(var(--n) * .35s);
    }

    .art-flow__node .art-flow__fa[b-5c82jfh2nm] {
        font-family: IRANSansX, Tahoma, sans-serif;
        color: var(--pub-gold-ink);
        animation-name: pub-art-lang-in-b-5c82jfh2nm;
    }

/* check: a ring fills while each figure is ticked */

.art-check[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 22px;
}

.art-check__ring[b-5c82jfh2nm] {
    width: 70px;
    height: 70px;
    transform: rotate(-90deg);
}

    .art-check__ring circle[b-5c82jfh2nm] {
        fill: none;
        stroke: rgba(226, 179, 63, .2);
        stroke-width: 6;
    }

    .art-check__ring .art-check__arc[b-5c82jfh2nm] {
        stroke: #e6ad25;
        stroke-linecap: round;
        stroke-dasharray: 164;
        stroke-dashoffset: 164;
        animation: pub-art-ring-b-5c82jfh2nm 4s ease-in-out infinite;
    }

.art-check__rows[b-5c82jfh2nm] {
    display: grid;
    gap: 7px;
}

    .art-check__rows span[b-5c82jfh2nm] {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .art-check__rows code[b-5c82jfh2nm] {
        min-width: 86px;
        padding: 5px 9px;
        border-radius: 8px;
        background: var(--pub-card-solid);
        color: var(--pub-ink);
        font-size: .74rem;
        box-shadow: 0 6px 14px rgba(87, 64, 22, .1);
    }

    .art-check__rows i[b-5c82jfh2nm] {
        display: grid;
        place-items: center;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #6fb57c;
        color: #fff;
        font-size: .7rem;
        font-style: normal;
        animation: pub-art-pop-b-5c82jfh2nm 4s ease-out infinite;
        animation-delay: calc(.6s + var(--r) * .5s);
    }

/* header: the header, a footnote and the footer light up in turn */

.art-doc[b-5c82jfh2nm] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 64%;
    max-width: 176px;
    padding: 10px;
    border-radius: 12px;
    background: #fffdf8;
    box-shadow: 0 18px 36px rgba(87, 64, 22, .16);
}

.art-doc__zone[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 7px;
    border: 1.5px dashed transparent;
    border-radius: 7px;
    animation: pub-art-focus-b-5c82jfh2nm 4.5s ease-in-out infinite;
    animation-delay: calc(var(--z) * 1.5s);
}

    .art-doc__zone b[b-5c82jfh2nm] {
        display: block;
        flex: 1;
        height: 6px;
        border-radius: 3px;
        background: #cfc5b3;
    }

.art-doc__zone--head[b-5c82jfh2nm] {
    background: #f3ead6;
}

    .art-doc__zone--head b[b-5c82jfh2nm] {
        flex: 0 0 46%;
        background: #3d6d7e;
    }

.art-doc__zone--note sup[b-5c82jfh2nm] {
    color: #b78507;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1;
}

.art-doc__zone--note b[b-5c82jfh2nm] {
    flex: 0 0 60%;
    height: 5px;
}

.art-doc__zone--foot[b-5c82jfh2nm] {
    border-top-color: rgba(155, 125, 48, .25);
}

    .art-doc__zone--foot b[b-5c82jfh2nm] {
        flex: 0 0 30%;
        margin-inline: auto;
        height: 5px;
    }

.art-doc__lines[b-5c82jfh2nm] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px 7px;
}

    .art-doc__lines b[b-5c82jfh2nm] {
        display: block;
        height: 6px;
        border-radius: 3px;
        background: #e3dac8;
    }

        .art-doc__lines b:nth-child(2n)[b-5c82jfh2nm] {
            width: 80%;
        }

/* runs: bold, italic and links keep their look in the new language */

.art-runs[b-5c82jfh2nm] {
    display: grid;
    gap: 12px;
    width: 82%;
    max-width: 240px;
}

.art-runs__line[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .art-runs__line > i[b-5c82jfh2nm] {
        display: block;
        flex: 1;
        height: 7px;
        border-radius: 4px;
        background: #d6ccb9;
    }

        .art-runs__line > i:last-child[b-5c82jfh2nm] {
            flex: .6;
        }

.art-runs__chip[b-5c82jfh2nm] {
    display: grid;
    min-width: 70px;
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--pub-card-solid);
    box-shadow: 0 6px 14px rgba(87, 64, 22, .12);
}

    .art-runs__chip b[b-5c82jfh2nm] {
        grid-area: 1 / 1;
        place-self: center;
        color: var(--pub-ink);
        font-size: .78rem;
        font-weight: 400;
        animation: pub-art-lang-b-5c82jfh2nm 5s ease-in-out infinite;
        animation-delay: calc(var(--n) * .35s);
    }

    .art-runs__chip .art-runs__fa[b-5c82jfh2nm] {
        font-family: IRANSansX, Tahoma, sans-serif;
        animation-name: pub-art-lang-in-b-5c82jfh2nm;
    }

.art-runs__chip--bold b[b-5c82jfh2nm] {
    font-weight: 800;
}

.art-runs__chip--italic b[b-5c82jfh2nm] {
    font-style: italic;
}

.art-runs__chip--link b[b-5c82jfh2nm] {
    color: #2f6fb0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* memory: a sentence travels from an old document into the new one */

.art-memory[b-5c82jfh2nm] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 34px;
}

.art-memory__page[b-5c82jfh2nm] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 76px;
    padding: 12px 10px;
    border-radius: 10px;
    background: #fffdf8;
    box-shadow: 0 14px 30px rgba(87, 64, 22, .15);
}

    .art-memory__page:first-child[b-5c82jfh2nm] {
        opacity: .75;
        transform: rotate(-4deg);
    }

    .art-memory__page b[b-5c82jfh2nm] {
        display: block;
        height: 6px;
        border-radius: 3px;
        background: #d6ccb9;
    }

        .art-memory__page b:nth-child(2n)[b-5c82jfh2nm] {
            width: 78%;
        }

.art-memory__hit[b-5c82jfh2nm] {
    background: linear-gradient(90deg, #e6ad25, #ffd977) !important;
}

.art-memory__slot[b-5c82jfh2nm] {
    animation: pub-art-fill-b-5c82jfh2nm 4s ease-in-out infinite;
}

.art-memory__fly[b-5c82jfh2nm] {
    position: absolute;
    top: 26px;
    left: 10px;
    width: 52px;
    height: 7px;
    border-radius: 4px;
    background: linear-gradient(90deg, #e6ad25, #ffd977);
    box-shadow: 0 0 12px rgba(244, 205, 88, .7);
    animation: pub-art-fly-b-5c82jfh2nm 4s cubic-bezier(.6, 0, .3, 1) infinite;
}

.art-memory__badge[b-5c82jfh2nm] {
    position: absolute;
    top: -26px;
    left: 50%;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    color: #2b210d;
    font-family: IRANSansX, "Segoe UI", sans-serif;
    font-size: .7rem;
    font-weight: 700;
    white-space: nowrap;
    translate: -50% 0;
    box-shadow: 0 8px 18px rgba(214, 159, 34, .3);
    animation: pub-float-b-5c82jfh2nm 4s ease-in-out infinite;
}

@keyframes pub-art-focus-b-5c82jfh2nm {
    0%, 4% {
        border-color: transparent;
        box-shadow: none;
    }

    10%, 28% {
        border-color: rgba(230, 173, 37, .9);
        box-shadow: 0 0 0 3px rgba(244, 205, 88, .22);
    }

    36%, 100% {
        border-color: transparent;
        box-shadow: none;
    }
}

@keyframes pub-art-fly-b-5c82jfh2nm {
    0%, 10% {
        opacity: 0;
        transform: translate(0, 0);
    }

    16% {
        opacity: 1;
    }

    52% {
        opacity: 1;
        transform: translate(112px, 0);
    }

    58%, 100% {
        opacity: 0;
        transform: translate(112px, 0);
    }
}

@keyframes pub-art-fill-b-5c82jfh2nm {
    0%, 50% {
        background: #d6ccb9;
    }

    56%, 90% {
        background: #f0c85c;
        box-shadow: 0 0 10px rgba(244, 205, 88, .6);
    }

    100% {
        background: #d6ccb9;
    }
}

/* ================= gallery: posters side by side ================= */

.pub-gallery[b-5c82jfh2nm] {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    max-width: 1060px;
    margin-inline: auto;
    padding-top: 20px;
}

.pub-poster[b-5c82jfh2nm] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
}

    .pub-poster:nth-child(3n + 2)[b-5c82jfh2nm] {
        translate: 0 -28px;
    }

.pub-poster__frame[b-5c82jfh2nm] {
    position: relative;
    padding: 9px;
    border: 1px solid rgba(255, 236, 190, .12);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(58, 47, 36, .92), rgba(36, 29, 22, .92));
    box-shadow:
        0 44px 80px rgba(0, 0, 0, .5),
        inset 0 1px 0 rgba(255, 255, 255, .08);
    transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease;
}

    .pub-poster__frame[b-5c82jfh2nm]::after {
        content: "";
        position: absolute;
        inset: auto 12% -26px;
        z-index: -1;
        height: 60px;
        border-radius: 50%;
        background: rgba(240, 191, 75, .28);
        filter: blur(30px);
        opacity: .5;
        transition: opacity .5s ease;
    }

.pub-poster:hover .pub-poster__frame[b-5c82jfh2nm] {
    transform: translateY(-8px) rotate(-.6deg);
    box-shadow:
        0 56px 96px rgba(0, 0, 0, .55),
        0 0 0 1px rgba(240, 200, 92, .35),
        inset 0 1px 0 rgba(255, 255, 255, .08);
}

    .pub-poster:hover .pub-poster__frame[b-5c82jfh2nm]::after {
        opacity: 1;
    }

.pub-compare--poster[b-5c82jfh2nm] {
    border-radius: 18px;
    animation-delay: calc(.8s + var(--i, 0) * .7s);
}

.pub-poster__caption[b-5c82jfh2nm] {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 0 10px;
    text-align: center;
}

    .pub-poster__caption strong[b-5c82jfh2nm] {
        color: var(--pub-dark-ink);
        font-size: 1.12rem;
        font-weight: 700;
    }

    .pub-poster__caption p[b-5c82jfh2nm] {
        margin: 0;
        color: var(--pub-dark-text);
        font-size: .9rem;
        line-height: 1.9;
    }

.pub-poster__route[b-5c82jfh2nm] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border: 1px solid rgba(240, 200, 92, .3);
    border-radius: 999px;
    background: rgba(240, 191, 75, .08);
    color: #f0c85c;
    font-size: .74rem;
    letter-spacing: .08em;
}

    .pub-poster__route i[b-5c82jfh2nm] {
        position: relative;
        width: 34px;
        height: 2px;
        overflow: hidden;
        border-radius: 2px;
        background: rgba(240, 200, 92, .25);
    }

        .pub-poster__route i[b-5c82jfh2nm]::after {
            content: "";
            position: absolute;
            inset: 0;
            width: 50%;
            background: linear-gradient(90deg, transparent, #f4cd58);
            animation: pub-route-b-5c82jfh2nm 1.6s linear infinite;
        }

@keyframes pub-route-b-5c82jfh2nm {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(200%);
    }
}

@supports (animation-timeline: view()) {
    .pub-poster[b-5c82jfh2nm] {
        animation: pub-tilt-in-b-5c82jfh2nm linear both;
        animation-timeline: view();
        animation-range: entry 0% cover 30%;
    }
}

@media (max-width: 900px) {
    .pub-gallery[b-5c82jfh2nm] {
        grid-auto-columns: min(78%, 340px);
        gap: 18px;
        overflow-x: auto;
        padding: 10px 4px 20px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .pub-poster[b-5c82jfh2nm] {
        scroll-snap-align: center;
    }

        .pub-poster:nth-child(3n + 2)[b-5c82jfh2nm] {
            translate: none;
        }
}

/* repaint: the words on a poster are wiped away and written again */

.art-poster[b-5c82jfh2nm] {
    position: relative;
    width: 216px;
    height: 286px;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(165deg, #2c3240, #14171e);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}

.art-poster__photo[b-5c82jfh2nm] {
    position: absolute;
    inset: 0 0 52%;
    background:
        linear-gradient(115deg, transparent 55%, rgba(155, 95, 210, .7) 55% 62%, transparent 62%),
        linear-gradient(115deg, transparent 66%, rgba(60, 160, 220, .6) 66% 71%, transparent 71%),
        linear-gradient(180deg, #d9dde3, #9aa2ad);
}

.art-poster__title[b-5c82jfh2nm] {
    position: absolute;
    top: 52%;
    left: 12px;
    right: 12px;
    display: grid;
    height: 34px;
    place-items: center;
}

    .art-poster__title b[b-5c82jfh2nm] {
        grid-area: 1 / 1;
        color: #3fa2e8;
        font-size: 1.25rem;
        font-weight: 800;
        white-space: nowrap;
    }

.art-poster__en[b-5c82jfh2nm] {
    font-family: "Segoe UI", Arial, sans-serif;
    animation: pub-art-old-b-5c82jfh2nm 6s ease-in-out infinite;
}

.art-poster__fa[b-5c82jfh2nm] {
    font-family: IRANSansX, Tahoma, sans-serif;
    animation: pub-art-new-b-5c82jfh2nm 6s ease-in-out infinite;
}

.art-poster__brush[b-5c82jfh2nm] {
    position: absolute;
    inset: 2px -4px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f4cd58, #ffe9a6, #e6ad25);
    box-shadow: 0 0 18px rgba(244, 205, 88, .6);
    transform-origin: left center;
    animation: pub-art-brush-b-5c82jfh2nm 6s cubic-bezier(.6, 0, .3, 1) infinite;
}

.art-poster__lines[b-5c82jfh2nm] {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 9px;
}

    .art-poster__lines i[b-5c82jfh2nm] {
        display: block;
        height: 6px;
        border-radius: 3px;
        background: rgba(255, 255, 255, .35);
        justify-self: end;
        width: 100%;
    }

        .art-poster__lines i:nth-child(2n)[b-5c82jfh2nm] {
            width: 74%;
        }

/* textfile: the translated text also comes as a plain text file */

.art-txt[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.art-txt__img[b-5c82jfh2nm] {
    display: grid;
    align-content: end;
    gap: 6px;
    width: 64px;
    height: 92px;
    padding: 10px 8px;
    border-radius: 9px;
    background:
        linear-gradient(180deg, #9aa2ad 0 38%, transparent 38%),
        linear-gradient(165deg, #2c3240, #14171e);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .25);
}

    .art-txt__img i[b-5c82jfh2nm] {
        display: block;
        height: 5px;
        border-radius: 3px;
        background: rgba(255, 255, 255, .5);
    }

.art-txt__arrow[b-5c82jfh2nm] {
    position: relative;
    width: 40px;
    height: 2px;
    background: repeating-linear-gradient(90deg, #e6ad25 0 6px, transparent 6px 10px);
    background-size: 20px 2px;
    animation: pub-art-dash-b-5c82jfh2nm 1s linear infinite;
}

    .art-txt__arrow[b-5c82jfh2nm]::after {
        content: "";
        position: absolute;
        right: -2px;
        top: -4px;
        border: 5px solid transparent;
        border-left: 7px solid #e6ad25;
        border-right: 0;
    }

.art-txt__file[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    align-content: start;
    gap: 7px;
    width: 76px;
    height: 96px;
    padding: 26px 10px 10px;
    border-radius: 9px;
    background: #fffdf8;
    box-shadow: 0 14px 28px rgba(87, 64, 22, .16);
}

    .art-txt__file em[b-5c82jfh2nm] {
        position: absolute;
        top: 7px;
        left: 8px;
        padding: 1px 6px;
        border-radius: 4px;
        background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
        color: #2b210d;
        font-size: .6rem;
        font-style: normal;
        font-weight: 800;
    }

    .art-txt__file b[b-5c82jfh2nm] {
        display: block;
        height: 5px;
        border-radius: 3px;
        background: #b9ad97;
        transform-origin: left center;
        animation: pub-art-type-b-5c82jfh2nm 4s ease-out infinite;
    }

        .art-txt__file b:nth-of-type(2)[b-5c82jfh2nm] {
            width: 80%;
            animation-delay: .35s;
        }

        .art-txt__file b:nth-of-type(3)[b-5c82jfh2nm] {
            animation-delay: .7s;
        }

        .art-txt__file b:nth-of-type(4)[b-5c82jfh2nm] {
            width: 60%;
            animation-delay: 1.05s;
        }

@keyframes pub-art-brush-b-5c82jfh2nm {
    0%, 18% {
        transform: scaleX(0);
        transform-origin: left center;
    }

    34% {
        transform: scaleX(1);
        transform-origin: left center;
    }

    35% {
        transform: scaleX(1);
        transform-origin: right center;
    }

    52%, 100% {
        transform: scaleX(0);
        transform-origin: right center;
    }
}

@keyframes pub-art-old-b-5c82jfh2nm {
    0%, 33% {
        opacity: 1;
    }

    34%, 92% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes pub-art-new-b-5c82jfh2nm {
    0%, 34% {
        opacity: 0;
    }

    36%, 90% {
        opacity: 1;
    }

    96%, 100% {
        opacity: 0;
    }
}

@keyframes pub-art-dash-b-5c82jfh2nm {
    to {
        background-position: 20px 0;
    }
}

@keyframes pub-art-type-b-5c82jfh2nm {
    0%, 8% {
        transform: scaleX(0);
    }

    24%, 86% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0);
    }
}

/* ================= marks: a term and its translation ================= */

.pub-mark[b-5c82jfh2nm] {
    --mark: 240, 191, 75;
    padding: 0 3px;
    border-radius: 5px;
    background:
        linear-gradient(rgba(var(--mark), .28), rgba(var(--mark), .28)) no-repeat left bottom / 100% 100%;
    box-shadow: inset 0 -2px 0 rgba(var(--mark), .9);
    color: inherit;
    transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.pub-mark--number[b-5c82jfh2nm] {
    --mark: 111, 196, 140;
}

.pub-mark--ref[b-5c82jfh2nm] {
    --mark: 96, 160, 240;
}

.pub-mark--name[b-5c82jfh2nm] {
    --mark: 186, 140, 245;
}

.pub-mark--hedge[b-5c82jfh2nm] {
    --mark: 240, 128, 160;
}

/* ================= hero: a live translation ================= */

.pub-live[b-5c82jfh2nm] {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    padding: 18px 20px 22px;
    border: 1px solid rgba(77, 63, 24, .16);
    border-radius: 22px;
    background: var(--pub-card-solid);
    box-shadow: 0 34px 70px rgba(59, 48, 23, .2), inset 0 1px 0 rgba(255, 255, 255, .7);
    transform: rotate(-1.5deg);
    animation: pub-hover-b-5c82jfh2nm 8s ease-in-out infinite;
}

.pub-live__head[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.pub-live__text[b-5c82jfh2nm] {
    margin: 0;
    color: var(--pub-ink);
    font-size: .92rem;
    line-height: 1.95;
}

.pub-live__text--source[b-5c82jfh2nm] {
    font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    color: var(--pub-text);
}

.pub-live__text--target[b-5c82jfh2nm] {
    clip-path: inset(0 0 0 100%);
    animation: pub-live-rtl-b-5c82jfh2nm 9s cubic-bezier(.6, 0, .3, 1) .8s infinite;
}

.pub-live__text--ltr[b-5c82jfh2nm] {
    clip-path: inset(0 100% 0 0);
    animation-name: pub-live-ltr-b-5c82jfh2nm;
}

.pub-live__divider[b-5c82jfh2nm] {
    position: relative;
    display: block;
    height: 2px;
    margin: 14px 0;
    overflow: hidden;
    border-radius: 2px;
    background: rgba(226, 179, 63, .2);
}

    .pub-live__divider i[b-5c82jfh2nm] {
        position: absolute;
        inset: 0;
        width: 40%;
        background: linear-gradient(90deg, transparent, #f4cd58, transparent);
        animation: pub-route-b-5c82jfh2nm 2.2s linear infinite;
    }

.pub-live .pub-poster__route[b-5c82jfh2nm] {
    color: var(--pub-gold-ink);
}

@keyframes pub-live-rtl-b-5c82jfh2nm {
    0%, 10% {
        clip-path: inset(0 0 0 100%);
    }

    45%, 88% {
        clip-path: inset(0 0 0 0);
    }

    100% {
        clip-path: inset(0 0 0 100%);
    }
}

@keyframes pub-live-ltr-b-5c82jfh2nm {
    0%, 10% {
        clip-path: inset(0 100% 0 0);
    }

    45%, 88% {
        clip-path: inset(0 0 0 0);
    }

    100% {
        clip-path: inset(0 100% 0 0);
    }
}

/* ================= notice ================= */

.pub-notice[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding: 16px 20px;
    border: 1px solid rgba(226, 92, 70, .28);
    border-radius: 18px;
    background: rgba(226, 92, 70, .07);
}

    .pub-notice p[b-5c82jfh2nm] {
        margin: 0;
        color: var(--pub-ink);
        font-size: .92rem;
        line-height: 1.9;
    }

.pub-notice__icon svg[b-5c82jfh2nm] {
    display: block;
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #d2604b;
    stroke-width: 1.9;
    stroke-linecap: round;
}

/* ================= passages ================= */

.pub-legend[b-5c82jfh2nm] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    margin: -18px 0 34px;
    padding: 0;
    list-style: none;
    color: var(--pub-dark-text);
    font-size: .84rem;
}

    .pub-legend li[b-5c82jfh2nm] {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .pub-legend i[b-5c82jfh2nm] {
        display: inline-block;
        width: 22px;
        height: 12px;
        padding: 0;
    }

.pub-passages[b-5c82jfh2nm] {
    display: grid;
    gap: 22px;
    max-width: 1040px;
    margin-inline: auto;
}

.pub-passage[b-5c82jfh2nm] {
    position: relative;
    padding: 22px 26px 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 236, 190, .12);
    border-radius: 26px;
    background:
        radial-gradient(90% 120% at 100% 0%, rgba(240, 191, 75, .1), transparent 60%),
        rgba(255, 255, 255, .04);
    backdrop-filter: blur(10px);
    transition: border-color .35s ease, transform .35s ease;
}

    .pub-passage:hover[b-5c82jfh2nm] {
        border-color: rgba(240, 200, 92, .35);
    }

.pub-passage__head[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.pub-passage__index[b-5c82jfh2nm] {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    color: #2b210d;
    font-weight: 800;
    font-size: .9rem;
}

.pub-passage__title[b-5c82jfh2nm] {
    display: grid;
    gap: 2px;
    margin-inline-end: auto;
}

    .pub-passage__title strong[b-5c82jfh2nm] {
        color: var(--pub-dark-ink);
        font-size: 1.05rem;
    }

    .pub-passage__title small[b-5c82jfh2nm] {
        color: #9a8b72;
        font-size: .8rem;
        font-weight: 600;
    }

.pub-passage__body[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
    align-items: stretch;
    gap: 14px;
}

.pub-passage__side[b-5c82jfh2nm] {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(0, 0, 0, .22);
}

.pub-passage__side--target[b-5c82jfh2nm] {
    background: rgba(240, 191, 75, .07);
    box-shadow: inset 0 0 0 1px rgba(240, 191, 75, .16);
}

.pub-passage__lang[b-5c82jfh2nm] {
    display: block;
    margin-bottom: 8px;
    color: #9a8b72;
    font-size: .74rem;
    font-weight: 700;
}

.pub-passage__side--target .pub-passage__lang[b-5c82jfh2nm] {
    color: #f0c85c;
}

.pub-passage__text[b-5c82jfh2nm] {
    margin: 0;
    color: var(--pub-dark-ink);
    font-size: .95rem;
    line-height: 2.05;
}

    .pub-passage__text[dir="ltr"][b-5c82jfh2nm] {
        font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
        line-height: 1.85;
    }

.pub-passage__arrow[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    place-items: center;
}

    .pub-passage__arrow i[b-5c82jfh2nm] {
        position: relative;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
        box-shadow: 0 0 0 6px rgba(240, 191, 75, .12), 0 10px 22px rgba(214, 159, 34, .3);
        animation: pub-pulse-b-5c82jfh2nm 2.6s ease-in-out infinite;
    }

        .pub-passage__arrow i[b-5c82jfh2nm]::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 9px;
            height: 9px;
            border-top: 2.4px solid #2b210d;
            border-right: 2.4px solid #2b210d;
            transform: translate(-65%, -50%) rotate(45deg);
        }

.pub-page[dir="rtl"] .pub-passage__arrow i[b-5c82jfh2nm]::after {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.pub-passage__credit[b-5c82jfh2nm] {
    margin-top: 14px;
    color: #8f8270;
    font-size: .76rem;
}

.pub-passage .pub-mark[b-5c82jfh2nm] {
    cursor: default;
}

/* point at a term, and its pair lights up on the other side */
.pub-passage:has(.pub-mark[data-k="0"]:hover) .pub-mark[data-k="0"][b-5c82jfh2nm],
.pub-passage:has(.pub-mark[data-k="1"]:hover) .pub-mark[data-k="1"][b-5c82jfh2nm],
.pub-passage:has(.pub-mark[data-k="2"]:hover) .pub-mark[data-k="2"][b-5c82jfh2nm],
.pub-passage:has(.pub-mark[data-k="3"]:hover) .pub-mark[data-k="3"][b-5c82jfh2nm],
.pub-passage:has(.pub-mark[data-k="4"]:hover) .pub-mark[data-k="4"][b-5c82jfh2nm],
.pub-passage:has(.pub-mark[data-k="5"]:hover) .pub-mark[data-k="5"][b-5c82jfh2nm],
.pub-passage:has(.pub-mark[data-k="6"]:hover) .pub-mark[data-k="6"][b-5c82jfh2nm],
.pub-passage:has(.pub-mark[data-k="7"]:hover) .pub-mark[data-k="7"][b-5c82jfh2nm],
.pub-passage:has(.pub-mark[data-k="8"]:hover) .pub-mark[data-k="8"][b-5c82jfh2nm],
.pub-passage:has(.pub-mark[data-k="9"]:hover) .pub-mark[data-k="9"][b-5c82jfh2nm] {
    background-color: rgba(var(--mark), .55);
    box-shadow: inset 0 -2px 0 rgba(var(--mark), 1), 0 0 0 2px rgba(var(--mark), .9), 0 0 18px rgba(var(--mark), .6);
}

/* while some term is pointed at, the rest step back */
.pub-passage:has(.pub-mark:hover) .pub-mark[b-5c82jfh2nm] {
    opacity: .45;
}

.pub-passage:has(.pub-mark[data-k="0"]:hover) .pub-mark[data-k="0"][b-5c82jfh2nm],
.pub-passage:has(.pub-mark[data-k="1"]:hover) .pub-mark[data-k="1"][b-5c82jfh2nm],
.pub-passage:has(.pub-mark[data-k="2"]:hover) .pub-mark[data-k="2"][b-5c82jfh2nm],
.pub-passage:has(.pub-mark[data-k="3"]:hover) .pub-mark[data-k="3"][b-5c82jfh2nm],
.pub-passage:has(.pub-mark[data-k="4"]:hover) .pub-mark[data-k="4"][b-5c82jfh2nm],
.pub-passage:has(.pub-mark[data-k="5"]:hover) .pub-mark[data-k="5"][b-5c82jfh2nm],
.pub-passage:has(.pub-mark[data-k="6"]:hover) .pub-mark[data-k="6"][b-5c82jfh2nm],
.pub-passage:has(.pub-mark[data-k="7"]:hover) .pub-mark[data-k="7"][b-5c82jfh2nm],
.pub-passage:has(.pub-mark[data-k="8"]:hover) .pub-mark[data-k="8"][b-5c82jfh2nm],
.pub-passage:has(.pub-mark[data-k="9"]:hover) .pub-mark[data-k="9"][b-5c82jfh2nm] {
    opacity: 1;
}

/* the marks light up one by one as the passage scrolls in */
@supports (animation-timeline: view()) {
    .pub-passage .pub-mark[b-5c82jfh2nm] {
        animation: pub-mark-in-b-5c82jfh2nm linear both;
        animation-timeline: view();
        animation-range: entry calc(20% + var(--m, 0) * 6%) cover calc(30% + var(--m, 0) * 4%);
    }
}

@keyframes pub-mark-in-b-5c82jfh2nm {
    from {
        background-size: 0% 100%;
    }

    to {
        background-size: 100% 100%;
    }
}

@keyframes pub-pulse-b-5c82jfh2nm {
    0%, 100% {
        box-shadow: 0 0 0 6px rgba(240, 191, 75, .12), 0 10px 22px rgba(214, 159, 34, .3);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(240, 191, 75, .05), 0 10px 22px rgba(214, 159, 34, .3);
    }
}

/* ================= drawings: pairs and kept ================= */

.art-pairs[b-5c82jfh2nm] {
    display: grid;
    gap: 10px;
    width: min(90%, 340px);
}

.art-pairs__row[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
}

    .art-pairs__row b[b-5c82jfh2nm] {
        padding: 7px 10px;
        overflow: hidden;
        border-radius: 10px;
        font-size: .8rem;
        font-weight: 700;
        text-align: center;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

.art-pairs__from[b-5c82jfh2nm] {
    background: var(--pub-card-solid);
    color: var(--pub-text);
    font-family: "Segoe UI", Arial, sans-serif;
    box-shadow: 0 6px 14px rgba(87, 64, 22, .1);
}

.art-pairs__to[b-5c82jfh2nm] {
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    color: #2b210d;
    box-shadow: 0 8px 18px rgba(214, 159, 34, .28);
    font-family: IRANSansX, Tahoma, sans-serif;
    animation: pub-pair-to-b-5c82jfh2nm 6s ease-out infinite;
    animation-delay: calc(var(--r) * .45s);
}

.art-pairs__row i[b-5c82jfh2nm] {
    position: relative;
    height: 2px;
    overflow: hidden;
    background: rgba(226, 179, 63, .3);
}

    .art-pairs__row i[b-5c82jfh2nm]::after {
        content: "";
        position: absolute;
        inset: 0;
        background: #e6ad25;
        transform-origin: left center;
        animation: pub-pair-line-b-5c82jfh2nm 6s ease-out infinite;
        animation-delay: calc(var(--r) * .45s);
    }

.pub-page[dir="rtl"] .art-pairs__row[b-5c82jfh2nm] {
    direction: ltr;
}

.pub-bento__card:nth-child(1) .art-pairs__from[b-5c82jfh2nm] {
    background: rgba(255, 255, 255, .08);
    color: var(--pub-dark-text);
    box-shadow: inset 0 0 0 1px rgba(255, 236, 190, .12);
}

.art-kept[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 10px 12px;
}

.art-kept__chip[b-5c82jfh2nm] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    overflow: hidden;
    border: 1px solid rgba(226, 179, 63, .4);
    border-radius: 11px;
    background: var(--pub-card-solid);
    box-shadow: 0 8px 18px rgba(87, 64, 22, .1);
}

    .art-kept__chip code[b-5c82jfh2nm] {
        color: var(--pub-ink);
        font-size: .8rem;
        font-weight: 700;
    }

    .art-kept__chip svg[b-5c82jfh2nm] {
        width: 15px;
        height: 15px;
        fill: none;
        stroke: #b78507;
        stroke-width: 2;
        stroke-linecap: round;
        animation: pub-art-pop-b-5c82jfh2nm 4.5s ease-out infinite;
        animation-delay: calc(.4s + var(--r) * .35s);
    }

    .art-kept__chip[b-5c82jfh2nm]::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(105deg, transparent 35%, rgba(244, 205, 88, .35) 50%, transparent 65%);
        background-size: 250% 100%;
        animation: pub-shine-b-5c82jfh2nm 4.5s ease-in-out infinite;
        animation-delay: calc(var(--r) * .35s);
    }

@keyframes pub-pair-to-b-5c82jfh2nm {
    0%, 12% {
        opacity: 0;
        transform: translateX(-10px) scale(.9);
    }

    24%, 86% {
        opacity: 1;
        transform: none;
    }

    100% {
        opacity: 0;
    }
}

@keyframes pub-pair-line-b-5c82jfh2nm {
    0%, 4% {
        transform: scaleX(0);
    }

    16%, 86% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0);
    }
}

@media (max-width: 760px) {
    .pub-passage[b-5c82jfh2nm] {
        padding: 18px 16px 20px;
    }

    .pub-passage__body[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pub-passage__arrow[b-5c82jfh2nm] {
        height: 34px;
    }

        .pub-passage__arrow i[b-5c82jfh2nm]::after,
        .pub-page[dir="rtl"] .pub-passage__arrow i[b-5c82jfh2nm]::after {
            transform: translate(-50%, -65%) rotate(135deg);
        }

    .pub-passage__head .pub-poster__route[b-5c82jfh2nm] {
        display: none;
    }
}

/* ================= pricing: the credit meter in the hero ================= */

.pub-meter[b-5c82jfh2nm] {
    position: relative;
    z-index: 1;
    width: min(400px, 100%);
    padding: 18px 20px 20px;
    border: 1px solid rgba(77, 63, 24, .16);
    border-radius: 22px;
    background: var(--pub-card-solid);
    box-shadow: 0 34px 70px rgba(59, 48, 23, .2), inset 0 1px 0 rgba(255, 255, 255, .7);
    transform: rotate(-1.5deg);
    animation: pub-hover-b-5c82jfh2nm 8s ease-in-out infinite;
}

.pub-meter__head[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    color: var(--pub-muted);
    font-size: .78rem;
    font-weight: 700;
}

.pub-meter__bar[b-5c82jfh2nm] {
    position: relative;
    height: 12px;
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(226, 179, 63, .14);
}

.pub-meter__reserved[b-5c82jfh2nm],
.pub-meter__used[b-5c82jfh2nm] {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    border-radius: 999px;
}

.pub-meter__reserved[b-5c82jfh2nm] {
    width: 82%;
    background: repeating-linear-gradient(45deg, rgba(230, 173, 37, .35) 0 6px, rgba(230, 173, 37, .18) 6px 12px);
    transform-origin: right center;
    animation: pub-meter-reserve-b-5c82jfh2nm 8s ease-in-out infinite;
}

.pub-page[dir="ltr"] .pub-meter__reserved[b-5c82jfh2nm] {
    transform-origin: left center;
}

.pub-meter__used[b-5c82jfh2nm] {
    width: 74.5%;
    background: linear-gradient(90deg, var(--pub-gold-1), var(--pub-gold-2));
    box-shadow: 0 0 12px rgba(244, 205, 88, .6);
    transform-origin: right center;
    animation: pub-meter-use-b-5c82jfh2nm 8s ease-in-out infinite;
}

.pub-page[dir="ltr"] .pub-meter__used[b-5c82jfh2nm] {
    transform-origin: left center;
}

.pub-meter__rows[b-5c82jfh2nm] {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .pub-meter__rows li[b-5c82jfh2nm] {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
        padding: 9px 12px;
        border-radius: 13px;
        background: rgba(226, 179, 63, .07);
        color: var(--pub-text);
        font-size: .86rem;
        font-weight: 600;
        animation: pub-meter-row-b-5c82jfh2nm 8s ease-in-out infinite;
        animation-delay: calc(var(--r) * .9s);
    }

        .pub-meter__rows li b[b-5c82jfh2nm] {
            color: var(--pub-ink);
            font-size: 1rem;
        }

.pub-meter__back[b-5c82jfh2nm] {
    background: rgba(111, 196, 140, .14) !important;
}

    .pub-meter__back b[b-5c82jfh2nm] {
        color: #3f9a5c !important;
    }

.pub-meter__icon[b-5c82jfh2nm] {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
}

    .pub-meter__icon[b-5c82jfh2nm]  svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: #2b210d;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

@keyframes pub-meter-reserve-b-5c82jfh2nm {
    0%, 12% {
        transform: scaleX(0);
    }

    26%, 90% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0);
    }
}

@keyframes pub-meter-use-b-5c82jfh2nm {
    0%, 30% {
        transform: scaleX(0);
    }

    55%, 90% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0);
    }
}

@keyframes pub-meter-row-b-5c82jfh2nm {
    0%, 4% {
        opacity: .35;
        transform: translateY(4px);
    }

    12%, 92% {
        opacity: 1;
        transform: none;
    }

    100% {
        opacity: .35;
    }
}

/* ================= pricing: the packages ================= */

.pub-packs[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: stretch;
    gap: 20px;
}

.pub-pack[b-5c82jfh2nm] {
    --mx: 50%;
    --my: 0%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 26px 22px 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 236, 190, .12);
    border-radius: 26px;
    background:
        radial-gradient(260px circle at var(--mx) var(--my), rgba(244, 205, 88, .12), transparent 55%),
        rgba(255, 255, 255, .04);
    color: var(--pub-dark-text);
    isolation: isolate;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), border-color .4s ease;
}

    .pub-pack:hover[b-5c82jfh2nm] {
        transform: translateY(-6px);
        border-color: rgba(240, 200, 92, .35);
    }

    .pub-pack.is-featured[b-5c82jfh2nm] {
        border-color: transparent;
        background:
            radial-gradient(90% 70% at 100% 0%, rgba(240, 191, 75, .22), transparent 60%),
            radial-gradient(260px circle at var(--mx) var(--my), rgba(244, 205, 88, .16), transparent 55%),
            rgba(255, 255, 255, .07);
        box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
        transform: translateY(-10px);
    }

        .pub-pack.is-featured:hover[b-5c82jfh2nm] {
            transform: translateY(-16px);
        }

.pub-pack__border[b-5c82jfh2nm] {
    position: absolute;
    inset: 0;
    z-index: -1;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(from var(--pub-angle), rgba(244, 205, 88, .25) 0 55%, rgba(244, 205, 88, 1) 78%, rgba(244, 205, 88, .25) 96%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: pub-rotate-b-5c82jfh2nm 6s linear infinite;
    pointer-events: none;
}

.pub-pack__ribbon[b-5c82jfh2nm] {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    padding: 5px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    color: #2b210d;
    font-size: .72rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(214, 159, 34, .35);
}

.pub-pack__head h3[b-5c82jfh2nm] {
    margin: 0 0 6px;
    padding-inline-end: 90px;
    color: var(--pub-dark-ink);
    font-size: 1.2rem;
    font-weight: 700;
}

.pub-pack:not(.is-featured) .pub-pack__head h3[b-5c82jfh2nm] {
    padding-inline-end: 0;
}

.pub-pack__head p[b-5c82jfh2nm] {
    margin: 0;
    font-size: .86rem;
    line-height: 1.85;
}

.pub-pack__credits[b-5c82jfh2nm] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
}

    .pub-pack__credits strong[b-5c82jfh2nm] {
        background: linear-gradient(115deg, #f6cf5f, #e8b432 40%, #ffd977 60%, #e6ad25);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        font-size: 2.3rem;
        font-weight: 800;
        line-height: 1.1;
    }

    .pub-pack__credits span[b-5c82jfh2nm] {
        color: var(--pub-dark-text);
        font-weight: 700;
    }

    .pub-pack__credits em[b-5c82jfh2nm] {
        padding: 3px 9px;
        border-radius: 999px;
        background: rgba(111, 196, 140, .16);
        color: #8fd6a6;
        font-size: .78rem;
        font-style: normal;
        font-weight: 700;
    }

/* The price: the number large, the price of one credit a pill under it. */
.pub-pack__price[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    gap: 9px;
    padding: 16px 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 236, 190, .12);
    border-radius: 18px;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(240, 191, 75, .16), transparent 55%),
        linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .2));
    box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset;
}

    .pub-pack__price > strong[b-5c82jfh2nm] {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 4px 8px;
        color: var(--pub-dark-ink);
        font-size: 1.95rem;
        font-weight: 900;
        letter-spacing: -.01em;
        line-height: 1.1;
    }

        .pub-pack__price > strong small[b-5c82jfh2nm] {
            color: var(--pub-dark-text);
            font-size: .82rem;
            font-weight: 700;
            letter-spacing: 0;
        }

    .pub-pack__price > span[b-5c82jfh2nm] {
        justify-self: start;
        padding: 4px 11px;
        border: 1px solid rgba(255, 236, 190, .14);
        border-radius: 999px;
        background: rgba(255, 255, 255, .05);
        color: #c9b99c;
        font-size: .74rem;
        font-weight: 700;
    }

.pub-pack [hidden][b-5c82jfh2nm] {
    display: none !important;
}

/* ---- the amount slider (credit-slider.js): the amounts set for the
   package in the admin panel, its own amount where the slider starts ---- */

.pub-pack__amount[b-5c82jfh2nm] {
    --thumb: 22px;
    --fill: #f0c85c;
    --track: rgba(255, 236, 190, .14);
    --side: right;
    display: grid;
    gap: 4px;
    margin-top: -6px;
}

.pub-page[dir="rtl"] .pub-pack__amount[b-5c82jfh2nm] {
    --side: left;
}

/* the labels sit over the thumb's positions, which run from half a
   thumb in from one end of the track to half a thumb in from the other */
.pub-pack__stops[b-5c82jfh2nm] {
    position: relative;
    height: 20px;
    margin-inline: calc(var(--thumb) / 2);
}

.pub-pack__stop[b-5c82jfh2nm] {
    position: absolute;
    top: 0;
    inset-inline-start: calc(var(--at) * 100%);
    translate: -50% 0;
    padding: 0 2px;
    border: 0;
    background: none;
    color: #9a8b72;
    font: inherit;
    font-size: .74rem;
    font-weight: 600;
    line-height: 20px;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease;
}

.pub-page[dir="rtl"] .pub-pack__stop[b-5c82jfh2nm] {
    translate: 50% 0;
}

    .pub-pack__stop.is-passed[b-5c82jfh2nm] {
        color: #b3a284;
    }

    .pub-pack__stop.is-current[b-5c82jfh2nm] {
        color: var(--pub-dark-ink);
        font-weight: 800;
    }

.pub-pack__range[b-5c82jfh2nm] {
    width: 100%;
    height: var(--thumb);
    margin: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

    .pub-pack__range:focus[b-5c82jfh2nm] {
        outline: none;
    }

    .pub-pack__range[b-5c82jfh2nm]::-webkit-slider-runnable-track {
        height: 6px;
        border-radius: 999px;
        background: linear-gradient(to var(--side), var(--fill) 0 calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--frac)), var(--track) 0);
    }

    .pub-pack__range[b-5c82jfh2nm]::-webkit-slider-thumb {
        box-sizing: border-box;
        width: var(--thumb);
        height: var(--thumb);
        margin-top: calc((6px - var(--thumb)) / 2);
        border: 3px solid #2a2118;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
        box-shadow: 0 4px 12px rgba(214, 159, 34, .45), 0 0 0 1px rgba(214, 159, 34, .35);
        -webkit-appearance: none;
        appearance: none;
        transition: scale .2s ease;
    }

    .pub-pack__range:active[b-5c82jfh2nm]::-webkit-slider-thumb {
        scale: 1.1;
    }

    .pub-pack__range:focus-visible[b-5c82jfh2nm]::-webkit-slider-thumb {
        box-shadow: 0 0 0 4px rgba(242, 197, 79, .38), 0 4px 12px rgba(214, 159, 34, .45);
    }

    .pub-pack__range[b-5c82jfh2nm]::-moz-range-track {
        height: 6px;
        border-radius: 999px;
        background: var(--track);
    }

    .pub-pack__range[b-5c82jfh2nm]::-moz-range-progress {
        height: 6px;
        border-radius: 999px;
        background: var(--fill);
    }

    .pub-pack__range[b-5c82jfh2nm]::-moz-range-thumb {
        box-sizing: border-box;
        width: var(--thumb);
        height: var(--thumb);
        border: 3px solid #2a2118;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
        box-shadow: 0 4px 12px rgba(214, 159, 34, .45), 0 0 0 1px rgba(214, 159, 34, .35);
    }

    .pub-pack__range:focus-visible[b-5c82jfh2nm]::-moz-range-thumb {
        box-shadow: 0 0 0 4px rgba(242, 197, 79, .38), 0 4px 12px rgba(214, 159, 34, .45);
    }

/* the credits, bonus, price and rate roll in from the side the slider
   moved to; credit-slider.js puts the class on */
.pub-pack .is-rolling-up[b-5c82jfh2nm],
.pub-pack .is-rolling-down[b-5c82jfh2nm] {
    display: inline-block;
    animation: pub-roll-up-b-5c82jfh2nm .38s cubic-bezier(.2, .8, .2, 1);
}

.pub-pack .is-rolling-down[b-5c82jfh2nm] {
    animation-name: pub-roll-down-b-5c82jfh2nm;
}

@keyframes pub-roll-up-b-5c82jfh2nm {
    from {
        opacity: 0;
        translate: 0 .6em;
    }
}

@keyframes pub-roll-down-b-5c82jfh2nm {
    from {
        opacity: 0;
        translate: 0 -.6em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pub-pack .is-rolling-up[b-5c82jfh2nm],
    .pub-pack .is-rolling-down[b-5c82jfh2nm] {
        animation: none;
    }
}

.pub-pack__group[b-5c82jfh2nm] {
    display: grid;
    gap: 8px;
}

.pub-pack__label[b-5c82jfh2nm] {
    color: #9a8b72;
    font-size: .74rem;
    font-weight: 700;
}

.pub-pack__levels[b-5c82jfh2nm],
.pub-pack__formats[b-5c82jfh2nm] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .pub-pack__levels li[b-5c82jfh2nm] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 5px 10px;
        border-radius: 10px;
        font-size: .78rem;
        font-weight: 700;
    }

        .pub-pack__levels li i[b-5c82jfh2nm] {
            font-style: normal;
        }

        .pub-pack__levels li.is-on[b-5c82jfh2nm] {
            background: rgba(240, 191, 75, .14);
            color: #f0c85c;
        }

        .pub-pack__levels li.is-off[b-5c82jfh2nm] {
            background: rgba(255, 255, 255, .03);
            color: #6f6556;
            text-decoration: line-through;
        }

    .pub-pack__formats li[b-5c82jfh2nm] {
        padding: 4px 9px;
        border: 1px solid rgba(255, 236, 190, .12);
        border-radius: 8px;
        color: var(--pub-dark-text);
        font-size: .74rem;
        font-weight: 700;
    }

.pub-pack__limit[b-5c82jfh2nm] {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 236, 190, .14);
    font-size: .82rem;
}

    .pub-pack__limit b[b-5c82jfh2nm] {
        color: var(--pub-dark-ink);
    }

    .pub-pack__limit + .pub-pack__limit[b-5c82jfh2nm] {
        padding-top: 0;
        border-top: 0;
    }

.pub-pack .pub-button[b-5c82jfh2nm] {
    margin-top: auto;
}

.pub-button--pack[b-5c82jfh2nm] {
    border: 1px solid rgba(255, 236, 190, .2);
    background: rgba(255, 255, 255, .06);
    color: var(--pub-dark-ink);
}

    .pub-button--pack:hover[b-5c82jfh2nm] {
        transform: translateY(-2px);
        background: rgba(255, 255, 255, .12);
    }

.pub-packs__state[b-5c82jfh2nm] {
    max-width: 560px;
    margin: 0 auto;
    padding: 22px;
    border: 1px solid rgba(255, 236, 190, .14);
    border-radius: 18px;
    color: var(--pub-dark-text);
    text-align: center;
}

/* ================= pricing: the quality levels ================= */

.pub-levels[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pub-level[b-5c82jfh2nm] {
    --mx: 50%;
    --my: 0%;
    position: relative;
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid var(--pub-line);
    border-radius: 26px;
    background:
        radial-gradient(300px circle at var(--mx) var(--my), rgba(244, 205, 88, .14), transparent 50%),
        var(--pub-card);
    box-shadow: var(--pub-shadow);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
}

    .pub-level:hover[b-5c82jfh2nm] {
        transform: translateY(-5px);
        box-shadow: var(--pub-shadow-lift);
    }

    .pub-level h3[b-5c82jfh2nm] {
        margin: 0;
        color: var(--pub-ink);
        font-size: 1.2rem;
        font-weight: 700;
    }

    .pub-level p[b-5c82jfh2nm] {
        margin: 0;
        color: var(--pub-text);
        line-height: 1.95;
    }

.pub-level__bars[b-5c82jfh2nm] {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 34px;
    margin-bottom: 6px;
}

    .pub-level__bars i[b-5c82jfh2nm] {
        width: 12px;
        border-radius: 4px;
        background: rgba(226, 179, 63, .18);
    }

        .pub-level__bars i:nth-child(1)[b-5c82jfh2nm] {
            height: 40%;
        }

        .pub-level__bars i:nth-child(2)[b-5c82jfh2nm] {
            height: 70%;
        }

        .pub-level__bars i:nth-child(3)[b-5c82jfh2nm] {
            height: 100%;
        }

        .pub-level__bars i.is-on[b-5c82jfh2nm] {
            background: linear-gradient(180deg, var(--pub-gold-1), var(--pub-gold-2));
            box-shadow: 0 6px 14px rgba(214, 159, 34, .3);
            animation: pub-bar-grow-b-5c82jfh2nm .8s cubic-bezier(.2, .8, .2, 1) both;
        }

.pub-level__fit[b-5c82jfh2nm] {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px dashed var(--pub-line);
    color: var(--pub-gold-ink);
    font-size: .84rem;
    font-weight: 700;
}

.pub-closing__card--solo[b-5c82jfh2nm] {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    text-align: center;
}

    .pub-closing__card--solo .pub-closing__copy p[b-5c82jfh2nm] {
        margin-inline: auto;
    }

    .pub-closing__card--solo .pub-closing__actions[b-5c82jfh2nm] {
        justify-content: center;
    }

@keyframes pub-bar-grow-b-5c82jfh2nm {
    from {
        transform: scaleY(0);
        transform-origin: bottom;
    }

    to {
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

@media (max-width: 900px) {
    .pub-levels[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pub-pack.is-featured[b-5c82jfh2nm],
    .pub-pack.is-featured:hover[b-5c82jfh2nm] {
        transform: none;
    }
}

/* ================= flow: four steps ================= */

.pub-flow__body[b-5c82jfh2nm] {
    position: relative;
}

.pub-flow__track[b-5c82jfh2nm] {
    position: absolute;
    top: 38px;
    inset-inline: 12.5%;
    height: 2px;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(226, 179, 63, .15), rgba(226, 179, 63, .5), rgba(226, 179, 63, .15));
}

.pub-flow__comet[b-5c82jfh2nm] {
    position: absolute;
    top: 0;
    inset-inline-start: -90px;
    width: 90px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f4cd58);
    box-shadow: 0 0 12px 2px rgba(244, 205, 88, .7);
    animation: pub-comet-b-5c82jfh2nm 6s linear infinite;
}

.pub-page[dir="rtl"] .pub-flow__comet[b-5c82jfh2nm] {
    background: linear-gradient(270deg, transparent, #f4cd58);
}

.pub-flow__list[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: repeat(var(--count, 4), minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pub-flow__step[b-5c82jfh2nm] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px 26px;
    text-align: center;
    isolation: isolate;
}

    .pub-flow__step[b-5c82jfh2nm]::before {
        content: "";
        position: absolute;
        inset: 38px 0 0;
        z-index: -1;
        border: 1px solid var(--pub-line);
        border-radius: 26px;
        background: var(--pub-card);
        box-shadow: var(--pub-shadow);
        transition: border-color .35s ease, transform .35s ease;
    }

    .pub-flow__step:hover[b-5c82jfh2nm]::before {
        border-color: rgba(226, 179, 63, .55);
        transform: translateY(-4px);
    }

.pub-flow__node[b-5c82jfh2nm] {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 14px;
    border: 1px solid rgba(226, 179, 63, .5);
    border-radius: 24px;
    background: var(--pub-card-solid);
    color: var(--pub-gold-ink);
    box-shadow: 0 0 0 8px var(--pub-bg), var(--pub-shadow);
    /* one step lit at a time, however many steps the list has (--count) */
    animation: pub-step-active-b-5c82jfh2nm calc(var(--count, 4) * 1.5s) ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 1.5s);
}

    .pub-flow__node[b-5c82jfh2nm]  svg {
        width: 32px;
        height: 32px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pub-flow__num[b-5c82jfh2nm] {
    margin-bottom: 8px;
    color: var(--pub-gold-ink);
    font-size: .78rem;
    font-weight: 700;
}

.pub-flow__step h3[b-5c82jfh2nm] {
    margin: 0 0 8px;
    color: var(--pub-ink);
    font-size: 1.05rem;
    font-weight: 700;
}

.pub-flow__step p[b-5c82jfh2nm] {
    margin: 0;
    color: var(--pub-text);
    font-size: .9rem;
    line-height: 1.85;
}

/* ================= faq ================= */

.pub-faq__layout[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 48px;
}

.pub-faq__side[b-5c82jfh2nm] {
    position: sticky;
    top: 100px;
}

    .pub-faq__side h2[b-5c82jfh2nm] {
        margin: 16px 0 12px;
        color: var(--pub-ink);
        font-size: clamp(1.7rem, 3vw, 2.4rem);
        font-weight: 700;
        line-height: 1.35;
    }

    .pub-faq__side > p[b-5c82jfh2nm] {
        margin: 0 0 26px;
        color: var(--pub-text);
        line-height: 1.9;
    }

.pub-faq__help[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 26px;
    overflow: hidden;
    border-radius: 26px;
    background:
        radial-gradient(80% 90% at 100% 0%, rgba(240, 191, 75, .22), transparent 60%),
        var(--pub-dark);
    color: var(--pub-dark-text);
    font-size: .92rem;
    line-height: 1.85;
    box-shadow: 0 26px 54px rgba(33, 27, 21, .22);
}

    .pub-faq__help strong[b-5c82jfh2nm] {
        color: var(--pub-dark-ink);
        font-size: 1.1rem;
    }

    .pub-faq__help a[b-5c82jfh2nm] {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        width: fit-content;
        margin-top: 6px;
        color: #f4cd58;
        font-weight: 700;
        text-decoration: none;
    }

        .pub-faq__help a span[b-5c82jfh2nm] {
            transition: transform .25s ease;
        }

        .pub-faq__help a:hover span[b-5c82jfh2nm] {
            transform: translateX(-4px);
        }

.pub-page[dir="ltr"] .pub-faq__help a:hover span[b-5c82jfh2nm] {
    transform: translateX(4px);
}

.pub-faq__help-icon[b-5c82jfh2nm] {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    box-shadow: 0 12px 26px rgba(214, 159, 34, .3);
}

    .pub-faq__help-icon svg[b-5c82jfh2nm] {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: #2b210d;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pub-faq__list[b-5c82jfh2nm] {
    display: grid;
    gap: 12px;
}

.pub-faq__item[b-5c82jfh2nm] {
    border: 1px solid var(--pub-line);
    border-radius: 22px;
    background: var(--pub-card);
    box-shadow: var(--pub-shadow);
    transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}

    .pub-faq__item:hover[b-5c82jfh2nm] {
        border-color: rgba(226, 179, 63, .4);
    }

    .pub-faq__item[open][b-5c82jfh2nm] {
        border-color: rgba(226, 179, 63, .6);
        box-shadow: var(--pub-shadow-lift);
    }

    .pub-faq__item summary[b-5c82jfh2nm] {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr) 30px;
        align-items: center;
        gap: 14px;
        padding: 20px 22px;
        color: var(--pub-ink);
        font-weight: 700;
        cursor: pointer;
        list-style: none;
    }

        .pub-faq__item summary[b-5c82jfh2nm]::-webkit-details-marker {
            display: none;
        }

        .pub-faq__item summary em[b-5c82jfh2nm] {
            color: var(--pub-muted);
            font-size: .85rem;
            font-style: normal;
            transition: color .3s ease;
        }

    .pub-faq__item[open] summary em[b-5c82jfh2nm] {
        color: var(--pub-gold-ink);
    }

    .pub-faq__item summary i[b-5c82jfh2nm] {
        position: relative;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: var(--pub-gold-soft);
        transition: transform .4s cubic-bezier(.2, .8, .2, 1), background-color .3s ease;
    }

        .pub-faq__item summary i[b-5c82jfh2nm]::before,
        .pub-faq__item summary i[b-5c82jfh2nm]::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 12px;
            height: 2px;
            border-radius: 2px;
            background: var(--pub-gold-ink);
            transform: translate(-50%, -50%);
        }

        .pub-faq__item summary i[b-5c82jfh2nm]::after {
            transform: translate(-50%, -50%) rotate(90deg);
            transition: transform .4s cubic-bezier(.2, .8, .2, 1);
        }

    .pub-faq__item[open] summary i[b-5c82jfh2nm] {
        transform: rotate(180deg);
        background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    }

        .pub-faq__item[open] summary i[b-5c82jfh2nm]::before,
        .pub-faq__item[open] summary i[b-5c82jfh2nm]::after {
            background: #2b210d;
        }

        .pub-faq__item[open] summary i[b-5c82jfh2nm]::after {
            transform: translate(-50%, -50%) rotate(0deg);
        }

    .pub-faq__item[b-5c82jfh2nm]::details-content {
        block-size: 0;
        overflow: hidden;
        transition: block-size .45s cubic-bezier(.2, .8, .2, 1), content-visibility .45s allow-discrete;
    }

    .pub-faq__item[open][b-5c82jfh2nm]::details-content {
        block-size: auto;
    }

.pub-faq__answer p[b-5c82jfh2nm] {
    margin: 0;
    padding: 0 22px 22px;
    padding-inline-start: calc(22px + 34px + 14px);
    color: var(--pub-text);
    line-height: 2;
}

/* ================= closing ================= */

.pub-closing[b-5c82jfh2nm] {
    padding-top: 30px;
}

.pub-closing__card[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
    gap: 30px;
    min-height: 380px;
    padding: 56px 60px;
    overflow: hidden;
    border-radius: 38px;
    background:
        radial-gradient(65% 120% at 85% 0%, rgba(223, 169, 54, .24) 0%, transparent 64%),
        radial-gradient(55% 100% at 5% 100%, rgba(183, 121, 29, .14) 0%, transparent 68%),
        var(--pub-dark);
    box-shadow: 0 40px 80px rgba(33, 27, 21, .28);
    isolation: isolate;
}

.pub-closing__border[b-5c82jfh2nm] {
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(from var(--pub-angle), transparent 0 62%, rgba(244, 205, 88, .95) 80%, transparent 96%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: pub-rotate-b-5c82jfh2nm 7s linear infinite;
    pointer-events: none;
}

.pub-closing__shine[b-5c82jfh2nm] {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 223, 140, .1) 50%, transparent 65%);
    background-size: 250% 100%;
    animation: pub-shine-b-5c82jfh2nm 7s ease-in-out infinite;
    pointer-events: none;
}

.pub-closing__copy h2[b-5c82jfh2nm] {
    margin: 16px 0 12px;
    color: var(--pub-dark-ink);
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    font-weight: 700;
    line-height: 1.35;
}

.pub-closing__copy p[b-5c82jfh2nm] {
    margin: 0 0 28px;
    max-width: 480px;
    color: var(--pub-dark-text);
    line-height: 1.95;
}

.pub-closing__actions[b-5c82jfh2nm] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pub-closing__fan[b-5c82jfh2nm] {
    position: relative;
    height: 290px;
}

    .pub-closing__fan img[b-5c82jfh2nm] {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 44%;
        height: auto;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
        translate: -50% -50%;
        transition: rotate .5s cubic-bezier(.2, .8, .2, 1), translate .5s cubic-bezier(.2, .8, .2, 1);
        animation: pub-float-b-5c82jfh2nm 7s ease-in-out infinite;
    }

        .pub-closing__fan img:nth-child(1)[b-5c82jfh2nm] {
            rotate: -13deg;
            translate: -102% -46%;
            animation-delay: .6s;
        }

        .pub-closing__fan img:nth-child(2)[b-5c82jfh2nm] {
            z-index: 2;
            rotate: 2deg;
            translate: -50% -54%;
        }

        .pub-closing__fan img:nth-child(3)[b-5c82jfh2nm] {
            rotate: 14deg;
            translate: 2% -46%;
            animation-delay: 1.2s;
        }

.pub-closing__card:hover .pub-closing__fan img:nth-child(1)[b-5c82jfh2nm] {
    rotate: -18deg;
    translate: -112% -44%;
}

.pub-closing__card:hover .pub-closing__fan img:nth-child(3)[b-5c82jfh2nm] {
    rotate: 19deg;
    translate: 12% -44%;
}

/* not found */

.pub-missing[b-5c82jfh2nm] {
    display: grid;
    place-items: center;
    gap: 24px;
    min-height: 50vh;
    padding: 80px 16px;
    text-align: center;
}

/* ---------- reveal on scroll ----------
   Driven by the scroll position itself where the browser can
   (no script, nothing to fail); elsewhere everything is simply shown. */

@supports (animation-timeline: view()) {
    .pub-reveal[b-5c82jfh2nm] {
        animation: pub-rise-b-5c82jfh2nm linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 60%;
    }

    .pub-viewer[b-5c82jfh2nm] {
        animation: pub-tilt-in-b-5c82jfh2nm linear both;
        animation-timeline: view();
        animation-range: entry 0% cover 30%;
    }
}

/* ---------- keyframes ---------- */

@property --pos {
    syntax: "<percentage>";
    inherits: true;
    initial-value: 50%;
}

@property --pub-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@keyframes pub-rise-b-5c82jfh2nm {
    from {
        opacity: 0;
        translate: 0 26px;
    }

    to {
        opacity: 1;
        translate: none;
    }
}

@keyframes pub-swap-b-5c82jfh2nm {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.985);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pub-tilt-in-b-5c82jfh2nm {
    from {
        opacity: .2;
        transform: perspective(1400px) rotateX(16deg) translateY(40px) scale(.94);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pub-sweep-b-5c82jfh2nm {
    0% {
        --pos: 50%;
    }

    30% {
        --pos: 6%;
    }

    66% {
        --pos: 94%;
    }

    100% {
        --pos: 50%;
    }
}

@keyframes pub-pin-in-b-5c82jfh2nm {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes pub-note-in-b-5c82jfh2nm {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pub-shine-b-5c82jfh2nm {
    0%, 30% {
        background-position: 120% 0, 0 0;
    }

    70%, 100% {
        background-position: -120% 0, 0 0;
    }
}

@keyframes pub-reveal-b-5c82jfh2nm {
    0%, 12% {
        clip-path: inset(0 100% 0 0);
    }

    44%, 78% {
        clip-path: inset(0 0 0 0);
    }

    92%, 100% {
        clip-path: inset(0 100% 0 0);
    }
}

@keyframes pub-scan-b-5c82jfh2nm {
    0%, 12% {
        left: 0;
        opacity: 0;
    }

    14% {
        opacity: 1;
    }

    42% {
        opacity: 1;
    }

    44%, 100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes pub-float-b-5c82jfh2nm {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pub-hover-b-5c82jfh2nm {
    0%, 100% {
        transform: rotate(-2.5deg) translateY(0);
    }

    50% {
        transform: rotate(-1.5deg) translateY(-10px);
    }
}

@keyframes pub-spin-b-5c82jfh2nm {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pub-rotate-b-5c82jfh2nm {
    to {
        --pub-angle: 360deg;
    }
}

@keyframes pub-drift-a-b-5c82jfh2nm {
    to {
        transform: translate(-40px, 30px) scale(1.08);
    }
}

@keyframes pub-drift-b-b-5c82jfh2nm {
    to {
        transform: translate(40px, -20px) scale(1.1);
    }
}

@keyframes pub-ping-b-5c82jfh2nm {
    0% {
        opacity: .9;
        transform: scale(.9);
    }

    70%, 100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

@keyframes pub-marquee-b-5c82jfh2nm {
    to {
        transform: translateX(-50%);
    }
}

@keyframes pub-marquee-rtl-b-5c82jfh2nm {
    to {
        transform: translateX(50%);
    }
}

@keyframes pub-comet-b-5c82jfh2nm {
    0% {
        inset-inline-start: -90px;
    }

    75%, 100% {
        inset-inline-start: 100%;
    }
}

@keyframes pub-step-active-b-5c82jfh2nm {
    0%, 22% {
        border-color: #e6ad25;
        background-color: #f2c34a;
        color: #2b210d;
        transform: translateY(-4px) scale(1.06);
        box-shadow: 0 0 0 8px var(--pub-bg), 0 16px 34px rgba(214, 159, 34, .38);
    }

    32%, 100% {
        transform: none;
    }
}

@keyframes pub-art-land-b-5c82jfh2nm {
    0% {
        opacity: 0;
        transform: translate(46px, -56px) rotateX(18deg) rotateZ(7deg);
    }

    34%, 82% {
        opacity: 1;
        transform: none;
    }

    100% {
        opacity: 0;
        transform: translate(-30px, 40px) rotateZ(-4deg);
    }
}

@keyframes pub-art-fade-b-5c82jfh2nm {
    0%, 30% {
        opacity: 1;
    }

    40%, 82% {
        opacity: .12;
    }

    95%, 100% {
        opacity: 1;
    }
}

@keyframes pub-art-swap-b-5c82jfh2nm {
    0%, 30% {
        left: 8%;
    }

    50%, 80% {
        left: 54%;
    }

    100% {
        left: 8%;
    }
}

@keyframes pub-art-swap-back-b-5c82jfh2nm {
    0%, 30% {
        left: 54%;
    }

    50%, 80% {
        left: 8%;
    }

    100% {
        left: 54%;
    }
}

@keyframes pub-art-read-b-5c82jfh2nm {
    0%, 8% {
        clip-path: inset(0 0 100% 0);
    }

    70%, 88% {
        clip-path: inset(0 0 0 0);
    }

    100% {
        clip-path: inset(0 0 100% 0);
    }
}

@keyframes pub-art-beam-b-5c82jfh2nm {
    0%, 8% {
        top: 18px;
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    70% {
        top: calc(100% - 20px);
        opacity: 1;
    }

    78%, 100% {
        top: calc(100% - 20px);
        opacity: 0;
    }
}

@keyframes pub-art-pop-b-5c82jfh2nm {
    0%, 6% {
        opacity: 0;
        transform: scale(.3);
    }

    16%, 86% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(.8);
    }
}

@keyframes pub-art-lang-b-5c82jfh2nm {
    0%, 40% {
        opacity: 1;
        transform: none;
    }

    50%, 90% {
        opacity: 0;
        transform: translateY(-8px);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes pub-art-lang-in-b-5c82jfh2nm {
    0%, 40% {
        opacity: 0;
        transform: translateY(8px);
    }

    50%, 90% {
        opacity: 1;
        transform: none;
    }

    100% {
        opacity: 0;
        transform: translateY(8px);
    }
}

@keyframes pub-art-ring-b-5c82jfh2nm {
    0%, 10% {
        stroke-dashoffset: 164;
    }

    60%, 88% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: 164;
    }
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
    .pub-showcase__body[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pub-showcase__rail[b-5c82jfh2nm] {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .pub-thumb[b-5c82jfh2nm] {
        flex: 1 0 210px;
    }
}

@media (max-width: 1020px) {
    .pub-hero__layout[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
        padding: 34px 26px;
    }

    .pub-hero__stage[b-5c82jfh2nm] {
        min-height: 400px;
    }

    .pub-bento[b-5c82jfh2nm] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pub-bento__card[b-5c82jfh2nm],
    .pub-bento__card:nth-child(1)[b-5c82jfh2nm],
    .pub-bento__card:nth-child(2)[b-5c82jfh2nm],
    .pub-bento__card:nth-child(3)[b-5c82jfh2nm] {
        grid-column: span 1;
        grid-row: auto;
    }

        .pub-bento__card:nth-child(1)[b-5c82jfh2nm],
        .pub-bento__card:nth-child(2)[b-5c82jfh2nm],
        .pub-bento__card:nth-child(3)[b-5c82jfh2nm] {
            grid-column: span 2;
        }

    .pub-flow__list[b-5c82jfh2nm] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 22px;
    }

    .pub-flow__track[b-5c82jfh2nm] {
        display: none;
    }

    .pub-faq__layout[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .pub-faq__side[b-5c82jfh2nm] {
        position: static;
    }

    .pub-closing__card[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
        padding: 48px 34px 20px;
        text-align: center;
    }

    .pub-closing__copy p[b-5c82jfh2nm] {
        margin-inline: auto;
    }

    .pub-closing__actions[b-5c82jfh2nm] {
        justify-content: center;
    }
}

@media (max-width: 860px) {
    .pub-sample[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .pub-sample--wide .pub-notes[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .pub-hero[b-5c82jfh2nm] {
        padding: 18px 0 40px;
    }

    .pub-hero__layout[b-5c82jfh2nm] {
        padding: 26px 18px;
        border-radius: 26px;
        gap: 28px;
    }

    .pub-hero__actions .pub-button[b-5c82jfh2nm] {
        flex: 1 1 100%;
    }

    .pub-hero__stage[b-5c82jfh2nm] {
        min-height: 340px;
    }

    .pub-stage__ring--one[b-5c82jfh2nm] {
        width: 320px;
        height: 320px;
    }

    .pub-stage__ring--two[b-5c82jfh2nm] {
        width: 250px;
        height: 250px;
    }

    .pub-morph[b-5c82jfh2nm] {
        width: min(240px, 70%);
    }

    .pub-morph--wide[b-5c82jfh2nm] {
        width: 100%;
    }

    .pub-chip[b-5c82jfh2nm] {
        font-size: .74rem;
        padding: 8px 11px;
    }

    .pub-chip--1[b-5c82jfh2nm] {
        inset-inline-start: 0;
    }

    .pub-chip--2[b-5c82jfh2nm] {
        inset-inline-end: 0;
    }

    .pub-ribbon[b-5c82jfh2nm] {
        margin-top: -20px;
    }

    .pub-ribbon__inner[b-5c82jfh2nm] {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .pub-ribbon__label[b-5c82jfh2nm] {
        padding: 0;
        border: 0;
        text-align: center;
    }

    .pub-section[b-5c82jfh2nm] {
        padding: 60px 0;
    }

    .pub-showcase[b-5c82jfh2nm] {
        width: calc(100% - 12px);
        padding: 56px 0 60px;
        border-radius: 28px;
    }

    .pub-thumb[b-5c82jfh2nm] {
        flex-basis: 170px;
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .pub-thumb__img[b-5c82jfh2nm] {
        height: 54px;
    }

    .pub-thumb__arrow[b-5c82jfh2nm] {
        display: none;
    }

    .pub-viewer[b-5c82jfh2nm] {
        padding: 7px;
        border-radius: 18px;
    }

    .pub-viewer__live[b-5c82jfh2nm] {
        display: none;
    }

    .pub-compare__tag[b-5c82jfh2nm] {
        inset-block-start: 8px;
        padding: 4px 9px;
        font-size: .64rem;
    }

    .pub-compare__tag--before[b-5c82jfh2nm] {
        left: 8px;
    }

    .pub-compare__tag--after[b-5c82jfh2nm] {
        right: 8px;
    }

    .pub-pin[b-5c82jfh2nm] {
        width: 22px;
        height: 22px;
        font-size: .68rem;
    }

    .pub-bento[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pub-bento__card[b-5c82jfh2nm],
    .pub-bento__card:nth-child(1)[b-5c82jfh2nm],
    .pub-bento__card:nth-child(2)[b-5c82jfh2nm],
    .pub-bento__card:nth-child(3)[b-5c82jfh2nm] {
        grid-column: span 1;
    }

        .pub-bento__card:nth-child(2)[b-5c82jfh2nm],
        .pub-bento__card:nth-child(3)[b-5c82jfh2nm] {
            flex-direction: column;
        }

            .pub-bento__card:nth-child(2) .pub-art[b-5c82jfh2nm],
            .pub-bento__card:nth-child(3) .pub-art[b-5c82jfh2nm] {
                flex-basis: auto;
                margin: 10px 10px 0;
            }

    .pub-flow__list[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pub-faq__item summary[b-5c82jfh2nm] {
        grid-template-columns: 26px minmax(0, 1fr) 28px;
        gap: 10px;
        padding: 18px;
    }

    .pub-faq__answer p[b-5c82jfh2nm] {
        padding: 0 18px 20px;
        padding-inline-start: calc(18px + 26px + 10px);
    }

    .pub-closing__card[b-5c82jfh2nm] {
        padding: 40px 20px 10px;
        border-radius: 28px;
    }

    .pub-closing__fan[b-5c82jfh2nm] {
        height: 220px;
    }
}

/* ================= against traditional translation ================= */

.pub-versus[b-5c82jfh2nm] {
    padding-top: 24px;
}

.pub-versus__table[b-5c82jfh2nm] {
    max-width: 1040px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--pub-line);
    border-radius: 28px;
    background: var(--pub-card);
    box-shadow: var(--pub-shadow);
}

.pub-versus__row[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: minmax(150px, .72fr) 1fr 1fr;
    border-top: 1px solid var(--pub-line);
}

    .pub-versus__row:first-child[b-5c82jfh2nm] {
        border-top: 0;
    }

.pub-versus__row--head[b-5c82jfh2nm] {
    font-size: .92rem;
    font-weight: 700;
}

.pub-versus__aspect[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    color: var(--pub-ink);
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.7;
}

.pub-versus__cell[b-5c82jfh2nm] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 22px;
    color: var(--pub-text);
    font-size: .94rem;
    line-height: 1.9;
}

.pub-versus__cell--new[b-5c82jfh2nm] {
    background: var(--pub-gold-soft);
    color: var(--pub-ink);
}

.pub-versus__row--head .pub-versus__cell[b-5c82jfh2nm] {
    align-items: center;
    padding-block: 16px;
    color: var(--pub-muted);
}

.pub-versus__row--head .pub-versus__cell--new[b-5c82jfh2nm] {
    gap: 8px;
    color: var(--pub-gold-ink);
}

    .pub-versus__row--head .pub-versus__cell--new img[b-5c82jfh2nm] {
        display: block;
        width: 20px;
        height: 20px;
    }

.pub-versus__mark[b-5c82jfh2nm] {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-top: 3px;
    border-radius: 50%;
    background: rgba(149, 139, 123, .14);
    font-style: normal;
}

    .pub-versus__mark[b-5c82jfh2nm]  svg {
        width: 14px;
        height: 14px;
        fill: none;
        stroke: var(--pub-muted);
        stroke-width: 2.4;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pub-versus__cell--new .pub-versus__mark[b-5c82jfh2nm] {
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
}

    .pub-versus__cell--new .pub-versus__mark[b-5c82jfh2nm]  svg {
        stroke: #2b2010;
    }

/* the one row where a translation office is the right answer */
.pub-versus__row--theirs .pub-versus__cell--old .pub-versus__mark[b-5c82jfh2nm] {
    background: rgba(62, 150, 98, .16);
}

    .pub-versus__row--theirs .pub-versus__cell--old .pub-versus__mark[b-5c82jfh2nm]  svg {
        stroke: #2f8a57;
    }

.pub-versus__row--theirs .pub-versus__cell--new .pub-versus__mark[b-5c82jfh2nm] {
    background: rgba(149, 139, 123, .14);
}

    .pub-versus__row--theirs .pub-versus__cell--new .pub-versus__mark[b-5c82jfh2nm]  svg {
        stroke: var(--pub-muted);
    }

/* a third column, a free online translator, on the smart translation page */
.pub-versus__table--three[b-5c82jfh2nm] {
    max-width: 1180px;
}

    .pub-versus__table--three .pub-versus__row[b-5c82jfh2nm] {
        grid-template-columns: minmax(120px, .56fr) 1fr 1fr 1fr;
    }

    .pub-versus__table--three .pub-versus__aspect[b-5c82jfh2nm] {
        padding-inline: 20px;
    }

    .pub-versus__table--three .pub-versus__cell[b-5c82jfh2nm] {
        padding-inline: 18px;
        font-size: .9rem;
    }

/* under a service page's table: on to the page that compares all three */
.pub-versus__more[b-5c82jfh2nm] {
    margin: 22px 0 0;
    text-align: center;
}

    .pub-versus__more a[b-5c82jfh2nm] {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--pub-gold-ink);
        font-size: .94rem;
        font-weight: 700;
        text-decoration: none;
        transition: gap .25s ease;
    }

        .pub-versus__more a:hover[b-5c82jfh2nm],
        .pub-versus__more a:focus-visible[b-5c82jfh2nm] {
            gap: 12px;
            text-decoration: underline;
            text-underline-offset: 5px;
        }

/* said only where the columns stack, so each cell still names its side */
.pub-versus__who[b-5c82jfh2nm] {
    display: none;
}

@media (max-width: 760px) {
    .pub-versus__row[b-5c82jfh2nm] {
        grid-template-columns: 1fr;
    }

    .pub-versus__row--head[b-5c82jfh2nm] {
        display: none;
    }

    .pub-versus__row:nth-child(2)[b-5c82jfh2nm] {
        border-top: 0;
    }

    .pub-versus__aspect[b-5c82jfh2nm] {
        padding: 18px 18px 6px;
    }

    .pub-versus__cell[b-5c82jfh2nm] {
        padding: 10px 18px;
    }

    .pub-versus__cell--new[b-5c82jfh2nm] {
        margin: 4px 12px 16px;
        border-radius: 16px;
        padding: 12px 14px;
    }

    .pub-versus__who[b-5c82jfh2nm] {
        display: block;
        margin-bottom: 2px;
        color: var(--pub-muted);
        font-size: .78rem;
        font-style: normal;
        font-weight: 700;
    }

    .pub-versus__cell--new .pub-versus__who[b-5c82jfh2nm] {
        color: var(--pub-gold-ink);
    }
}

/* ================= a link under an answer (the languages page) ================= */

.pub-faq__answer .pub-faq__more[b-5c82jfh2nm] {
    margin-top: -10px;
}

    .pub-faq__more a[b-5c82jfh2nm] {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--pub-gold-ink);
        font-size: .9rem;
        font-weight: 700;
        text-decoration: none;
        transition: gap .25s ease;
    }

        .pub-faq__more a:hover[b-5c82jfh2nm],
        .pub-faq__more a:focus-visible[b-5c82jfh2nm] {
            gap: 12px;
            text-decoration: underline;
            text-underline-offset: 5px;
        }

/* ================= languages page: one card per language ================= */

.pub-langs[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
}

.pub-lang[b-5c82jfh2nm] {
    --mx: 50%;
    --my: 0%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px 22px;
    overflow: hidden;
    border: 1px solid var(--pub-line);
    border-radius: 24px;
    background:
        radial-gradient(260px circle at var(--mx) var(--my), rgba(244, 205, 88, .14), transparent 50%),
        var(--pub-card);
    box-shadow: var(--pub-shadow);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
}

    .pub-lang:hover[b-5c82jfh2nm] {
        transform: translateY(-5px);
        box-shadow: var(--pub-shadow-lift);
    }

    .pub-lang h3[b-5c82jfh2nm] {
        margin: 0;
        color: var(--pub-ink);
        font-size: 1.12rem;
        font-weight: 700;
    }

    .pub-lang p[b-5c82jfh2nm] {
        margin: 2px 0 0;
        color: var(--pub-text);
        font-size: .88rem;
        line-height: 1.85;
    }

.pub-lang__head[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
}

.pub-lang__code[b-5c82jfh2nm] {
    display: inline-grid;
    place-items: center;
    min-width: 46px;
    height: 34px;
    padding: 0 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    box-shadow: 0 8px 18px rgba(214, 159, 34, .22);
    color: #2b210d;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .06em;
}

.pub-lang__dir[b-5c82jfh2nm],
.pub-lang__ways[b-5c82jfh2nm] {
    color: var(--pub-muted);
    font-size: .76rem;
    font-weight: 700;
}

/* the name in its own script keeps its own direction but sits at the card's start, like the rest */
.pub-lang__native[b-5c82jfh2nm] {
    align-self: flex-start;
    color: var(--pub-gold-ink);
    font-size: .95rem;
    font-weight: 600;
}

.pub-lang__ways[b-5c82jfh2nm] {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed var(--pub-line);
}

/* the route badge was made for the dark showcase; on a light card it takes the ink colour */
.pub-level--direction .pub-poster__route[b-5c82jfh2nm] {
    justify-self: start;
    color: var(--pub-gold-ink);
}

@media (max-width: 560px) {
    .pub-langs[b-5c82jfh2nm] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .pub-lang[b-5c82jfh2nm] {
        padding: 16px 16px 18px;
        border-radius: 20px;
    }
}

/* three columns need more room: they stack sooner */
@media (max-width: 900px) {
    .pub-versus__table--three .pub-versus__row[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pub-versus__table--three .pub-versus__row--head[b-5c82jfh2nm] {
        display: none;
    }

    .pub-versus__table--three .pub-versus__row:nth-child(2)[b-5c82jfh2nm] {
        border-top: 0;
    }

    .pub-versus__table--three .pub-versus__aspect[b-5c82jfh2nm] {
        padding: 18px 18px 6px;
    }

    .pub-versus__table--three .pub-versus__cell[b-5c82jfh2nm] {
        padding: 10px 18px;
    }

    .pub-versus__table--three .pub-versus__cell--new[b-5c82jfh2nm] {
        margin: 4px 12px 16px;
        border-radius: 16px;
        padding: 12px 14px;
    }

    .pub-versus__table--three .pub-versus__who[b-5c82jfh2nm] {
        display: block;
        margin-bottom: 2px;
        color: var(--pub-muted);
        font-size: .78rem;
        font-style: normal;
        font-weight: 700;
    }

    .pub-versus__table--three .pub-versus__cell--new .pub-versus__who[b-5c82jfh2nm] {
        color: var(--pub-gold-ink);
    }
}

/* room for the bar under the thumb (PublicHeader) */
@media (max-width: 720px) {
    .pub-page[b-5c82jfh2nm] {
        padding-bottom: calc(84px + env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    .pub-page *[b-5c82jfh2nm],
    .pub-page *[b-5c82jfh2nm]::before,
    .pub-page *[b-5c82jfh2nm]::after {
        animation: none !important;
        transition: none !important;
    }

    .pub-morph__page--after[b-5c82jfh2nm] {
        clip-path: inset(0 0 0 50%);
    }
}

/* =========================================================
   Subtitle page: the player in the hero, the subtitle file
   in the showcase, and the timing and wrapping drawings.
   ========================================================= */

/* ---------- hero: a subtitle on the video, turning into its translation ---------- */

.pub-player[b-5c82jfh2nm] {
    position: relative;
    z-index: 1;
    width: min(470px, 100%);
    padding: 10px;
    border: 1px solid rgba(240, 200, 92, .22);
    border-radius: 24px;
    background: linear-gradient(160deg, #2a2119, #161210);
    box-shadow: 0 34px 70px rgba(59, 48, 23, .28), inset 0 1px 0 rgba(255, 236, 190, .1);
    transform: rotate(-1.5deg);
    animation: pub-hover-b-5c82jfh2nm 8s ease-in-out infinite;
}

.pub-player__screen[b-5c82jfh2nm] {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background:
        radial-gradient(60% 70% at 30% 20%, rgba(240, 191, 75, .16), transparent 70%),
        radial-gradient(50% 60% at 85% 90%, rgba(183, 121, 29, .2), transparent 70%),
        #0f0c09;
}

/* the lecture slide the video is showing, behind the subtitle */
.pub-player__slide[b-5c82jfh2nm] {
    position: absolute;
    inset: 13% 17% 34%;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 16px 18px;
    border-radius: 10px;
    background: rgba(255, 248, 230, .07);
    box-shadow: inset 0 0 0 1px rgba(255, 236, 190, .08);
}

    .pub-player__slide i[b-5c82jfh2nm] {
        display: block;
        height: 6px;
        border-radius: 3px;
        background: rgba(255, 236, 190, .14);
    }

    .pub-player__slide .pub-player__slide-title[b-5c82jfh2nm] {
        width: 55%;
        height: 9px;
        margin-bottom: 4px;
        background: linear-gradient(90deg, rgba(244, 205, 88, .55), rgba(230, 173, 37, .3));
    }

    .pub-player__slide .pub-player__slide-short[b-5c82jfh2nm] {
        width: 62%;
    }

/* at the screen's far side from the first chip, so the chip never hides the timing it speaks of */
.pub-player__time[b-5c82jfh2nm] {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 9px;
    border-radius: 8px;
    background: rgba(0, 0, 0, .5);
    color: #f0c85c;
    font: 600 .68rem/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace;
}

.pub-page[dir="rtl"] .pub-player__time[b-5c82jfh2nm] {
    right: auto;
    left: 10px;
}

.pub-player__subs[b-5c82jfh2nm] {
    position: absolute;
    inset-inline: 6%;
    bottom: 8%;
    display: grid;
    justify-items: center;
}

.pub-player__cue[b-5c82jfh2nm] {
    grid-area: 1 / 1;
    align-self: end;
    max-width: 100%;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .66);
    color: #fff;
    font-size: .9rem;
    line-height: 1.7;
    text-align: center;
    white-space: pre-line;
    animation: pub-art-lang-b-5c82jfh2nm 9s ease-in-out infinite;
}

.pub-player__cue--source[b-5c82jfh2nm] {
    font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

.pub-player__cue--target[b-5c82jfh2nm] {
    font-family: IRANSansX, Tahoma, sans-serif;
    animation-name: pub-art-lang-in-b-5c82jfh2nm;
}

/* the second chip sits beside the slide, clear of the subtitle and the player's controls */
.pub-hero__stage--player .pub-chip--2[b-5c82jfh2nm] {
    inset-block-end: 60%;
}

/* on a phone the screen is too small to lay a chip on: it joins the third one under the player */
@media (max-width: 640px) {
    .pub-hero__stage--player .pub-chip--2[b-5c82jfh2nm] {
        inset-block-end: 4%;
    }

    .pub-player__cue[b-5c82jfh2nm] {
        font-size: .76rem;
    }
}

.pub-player__bar[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 8px 4px;
}

.pub-player__play[b-5c82jfh2nm] {
    flex: none;
    width: 0;
    height: 0;
    border-block: 6px solid transparent;
    border-left: 10px solid #f0c85c;
}

.pub-player__track[b-5c82jfh2nm] {
    position: relative;
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 236, 190, .14);
}

    /* the subtitle shows at 2:51 of a 20-minute video */
    .pub-player__track i[b-5c82jfh2nm] {
        position: absolute;
        inset-block: 0;
        left: 0;
        width: 14%;
        border-radius: inherit;
        background: linear-gradient(90deg, #e6ad25, #f4cd58);
    }

        .pub-player__track i[b-5c82jfh2nm]::after {
            content: "";
            position: absolute;
            top: 50%;
            right: -5px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #fff3c4;
            box-shadow: 0 0 0 4px rgba(244, 205, 88, .25);
            transform: translateY(-50%);
            animation: pub-pulse-dot-b-5c82jfh2nm 2.2s ease-in-out infinite;
        }

@keyframes pub-pulse-dot-b-5c82jfh2nm {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(244, 205, 88, .25);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(244, 205, 88, .08);
    }
}

/* ---------- showcase: the subtitle file, side by side ---------- */

.pub-cuestats[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 1040px;
    margin: -12px auto 28px;
    padding: 0;
    list-style: none;
}

    .pub-cuestats li[b-5c82jfh2nm] {
        display: grid;
        align-content: start;
        gap: 4px;
        padding: 16px 20px;
        border: 1px solid rgba(255, 236, 190, .12);
        border-radius: 20px;
        background: rgba(255, 255, 255, .04);
    }

    .pub-cuestats strong[b-5c82jfh2nm] {
        color: var(--pub-dark-ink);
        font-size: 1.7rem;
        font-weight: 800;
        line-height: 1.25;
        white-space: nowrap;
    }

        .pub-cuestats strong i[b-5c82jfh2nm] {
            margin-inline: 2px;
            color: #9a8b72;
            font-style: normal;
            font-weight: 600;
        }

    .pub-cuestats span[b-5c82jfh2nm] {
        color: var(--pub-dark-text);
        font-size: .84rem;
        line-height: 1.75;
    }

.pub-showcase--cues .pub-legend[b-5c82jfh2nm] {
    margin-top: 0;
}

.pub-srt[b-5c82jfh2nm] {
    display: grid;
    gap: 2px;
}

.pub-srt__meta[b-5c82jfh2nm] {
    display: block;
    color: #9a8b72;
    font: 600 .78rem/1.8 ui-monospace, "Cascadia Mono", Consolas, monospace;
}

.pub-srt__time[b-5c82jfh2nm] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #c9b99c;
    font-family: inherit;
}

    .pub-srt__time bdi[b-5c82jfh2nm] {
        font: 600 .78rem/1.8 ui-monospace, "Cascadia Mono", Consolas, monospace;
    }

.pub-srt__same[b-5c82jfh2nm] {
    display: inline-flex;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(111, 196, 140, .16);
    color: #8fd6a6;
    font-size: .7rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.8;
}

/* each line of the file is marked off, so a line the screen has to wrap still reads as one */
.pub-srt__line[b-5c82jfh2nm] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 6px;
    padding-inline-start: 10px;
    border-inline-start: 2px solid rgba(255, 236, 190, .14);
}

.pub-passage__side--target .pub-srt__line[b-5c82jfh2nm] {
    border-inline-start-color: rgba(240, 191, 75, .4);
}

.pub-srt__text[b-5c82jfh2nm] {
    flex: 1;
    min-width: 0;
    color: var(--pub-dark-ink);
    font-size: .95rem;
    line-height: 1.95;
}

.pub-srt[dir="ltr"] .pub-srt__text[b-5c82jfh2nm] {
    font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    line-height: 1.8;
}

.pub-srt__count[b-5c82jfh2nm] {
    flex: none;
    min-width: 32px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(111, 196, 140, .14);
    color: #8fd6a6;
    font-size: .72rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.8;
    text-align: center;
}

    .pub-srt__count.is-over[b-5c82jfh2nm] {
        background: rgba(240, 128, 96, .14);
        color: #f0a088;
    }

.pub-legend .pub-srt__count--key[b-5c82jfh2nm] {
    width: auto;
    height: auto;
    padding: 0 7px;
}

/* a marked term never breaks across the box's edge ("250 A" is one thing) */
.pub-srt .pub-mark[b-5c82jfh2nm] {
    white-space: nowrap;
}

/* a translated line is a line of the file, and is shown as one */
.pub-passage__side--target .pub-srt__text[b-5c82jfh2nm] {
    white-space: nowrap;
}

/* the two files side by side need the room of a wide screen */
@media (max-width: 1000px) {
    .pub-passage--cue .pub-passage__body[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pub-passage--cue .pub-passage__arrow[b-5c82jfh2nm] {
        height: 34px;
    }

        .pub-passage--cue .pub-passage__arrow i[b-5c82jfh2nm]::after,
        .pub-page[dir="rtl"] .pub-passage--cue .pub-passage__arrow i[b-5c82jfh2nm]::after {
            transform: translate(-50%, -65%) rotate(135deg);
        }
}

/* a phone is narrower than a 42-character line: it wraps there, inside its mark */
@media (max-width: 560px) {
    .pub-srt__text[b-5c82jfh2nm] {
        font-size: .86rem;
    }

    .pub-passage__side--target .pub-srt__text[b-5c82jfh2nm] {
        white-space: normal;
    }
}

@media (max-width: 760px) {
    .pub-cuestats[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

        .pub-cuestats li[b-5c82jfh2nm] {
            grid-template-columns: auto minmax(0, 1fr);
            align-items: center;
            gap: 14px;
            padding: 12px 16px;
        }

        .pub-cuestats strong[b-5c82jfh2nm] {
            font-size: 1.35rem;
        }
}

/* ---------- drawing: the text changes, the time beside it doesn't ---------- */

.art-cues[b-5c82jfh2nm] {
    display: grid;
    gap: 12px;
    width: 86%;
    max-width: 330px;
}

.art-cues__row[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.art-cues__time[b-5c82jfh2nm] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    border: 1px solid rgba(226, 179, 63, .4);
    border-radius: 9px;
    background: rgba(240, 191, 75, .1);
    color: var(--pub-gold-ink);
    font: 700 .72rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace;
}

.pub-bento__card:nth-child(1) .art-cues__time[b-5c82jfh2nm] {
    color: #f0c85c;
}

    .art-cues__time svg[b-5c82jfh2nm] {
        width: 12px;
        height: 12px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
    }

.art-cues__chip[b-5c82jfh2nm] {
    display: grid;
    flex: 1;
    min-width: 0;
    padding: 7px 12px;
    border-radius: 9px;
    background: var(--pub-card-solid);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
}

    .art-cues__chip b[b-5c82jfh2nm] {
        grid-area: 1 / 1;
        place-self: center;
        color: var(--pub-ink);
        font-size: .8rem;
        font-weight: 600;
        white-space: nowrap;
        animation: pub-art-lang-b-5c82jfh2nm 5s ease-in-out infinite;
        animation-delay: calc(var(--n) * .35s);
    }

    .art-cues__chip .art-cues__fa[b-5c82jfh2nm] {
        font-family: IRANSansX, Tahoma, sans-serif;
        animation-name: pub-art-lang-in-b-5c82jfh2nm;
    }

/* ---------- drawing: a line too long for the screen becomes two that fit ---------- */

.art-wrap[b-5c82jfh2nm] {
    position: relative;
    display: block;
    width: min(200px, 86%);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
    background:
        radial-gradient(70% 60% at 30% 25%, rgba(240, 191, 75, .2), transparent 70%),
        #16120e;
    box-shadow: 0 14px 30px rgba(87, 64, 22, .2);
}

.art-wrap__ruler[b-5c82jfh2nm] {
    position: absolute;
    inset: 22px 18% 8px;
    border-inline: 1.5px dashed rgba(240, 200, 92, .55);
}

    .art-wrap__ruler em[b-5c82jfh2nm] {
        position: absolute;
        top: -16px;
        left: 50%;
        padding: 1px 6px;
        border-radius: 6px;
        background: #f0c85c;
        color: #2b210d;
        font: 800 .62rem/1.4 ui-monospace, Consolas, monospace;
        font-style: normal;
        translate: -50% 0;
    }

.art-wrap__lines[b-5c82jfh2nm] {
    position: absolute;
    inset-inline: 0;
    bottom: 16px;
    display: grid;
    justify-items: center;
    gap: 6px;
}

    .art-wrap__lines b[b-5c82jfh2nm] {
        display: block;
        height: 8px;
        border-radius: 4px;
        background: rgba(255, 255, 255, .88);
        box-shadow: 0 0 0 3px rgba(0, 0, 0, .45);
    }

.art-wrap__lines--long[b-5c82jfh2nm] {
    animation: pub-art-lang-b-5c82jfh2nm 5s ease-in-out infinite;
}

    .art-wrap__lines--long b[b-5c82jfh2nm] {
        width: 94%;
        background: #f0a088;
    }

.art-wrap__lines--even[b-5c82jfh2nm] {
    animation: pub-art-lang-in-b-5c82jfh2nm 5s ease-in-out infinite;
}

    .art-wrap__lines--even b:first-child[b-5c82jfh2nm] {
        width: 60%;
    }

    .art-wrap__lines--even b:last-child[b-5c82jfh2nm] {
        width: 56%;
    }

/* without motion: the translation, not two texts on top of each other */
@media (prefers-reduced-motion: reduce) {
    .pub-player__cue--source[b-5c82jfh2nm],
    .art-cues__en[b-5c82jfh2nm],
    .art-wrap__lines--long[b-5c82jfh2nm] {
        visibility: hidden;
    }
}

/* =========================================================
   VOICE STUDIO PAGE (/ai-voice-studio)
   The hero console, the five tools' pictures, the emotion
   tags, the uses and the closing orb. Sound waves are bars
   with fixed heights (--h) that breathe in turn (--b).
   ========================================================= */

.pub-wave[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 46px;
}

    .pub-wave i[b-5c82jfh2nm] {
        flex: 1 1 0;
        min-width: 2px;
        max-width: 6px;
        height: calc(var(--h) * 100%);
        border-radius: 999px;
        background: linear-gradient(180deg, var(--pub-gold-1), var(--pub-gold-2));
        transform-origin: center;
        animation: pub-voice-bar-b-5c82jfh2nm 1.6s ease-in-out infinite;
        animation-delay: calc(var(--b) * -.09s);
    }

@keyframes pub-voice-bar-b-5c82jfh2nm {
    0%, 100% { transform: scaleY(.45); }
    50% { transform: scaleY(1); }
}

.pub-voice-tag[b-5c82jfh2nm] {
    display: inline-flex;
    align-items: center;
    padding: 1px 8px;
    border: 1px solid rgba(226, 179, 63, .45);
    border-radius: 7px;
    background: rgba(242, 197, 79, .16);
    color: var(--pub-gold-ink);
    font-family: Consolas, "Cascadia Mono", monospace;
    font-size: .78em;
    font-weight: 700;
    white-space: nowrap;
    vertical-align: .08em;
}

/* ---------- hero console ---------- */

.pub-console[b-5c82jfh2nm] {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    padding: 16px 18px 18px;
    border: 1px solid rgba(77, 63, 24, .16);
    border-radius: 24px;
    background: var(--pub-card-solid);
    box-shadow: 0 34px 70px rgba(59, 48, 23, .2), inset 0 1px 0 rgba(255, 255, 255, .7);
    transform: rotate(-1.5deg);
    animation: pub-hover-b-5c82jfh2nm 8s ease-in-out infinite;
}

.pub-console__head[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    color: var(--pub-muted);
    font-size: .78rem;
    font-weight: 700;
}

.pub-console__tabs[b-5c82jfh2nm] {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    padding: 4px;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(226, 179, 63, .1);
}

    .pub-console__tabs span[b-5c82jfh2nm] {
        flex: 1 1 0;
        padding: 6px 4px;
        border-radius: 9px;
        color: var(--pub-muted);
        font-size: .7rem;
        font-weight: 700;
        text-align: center;
        white-space: nowrap;
    }

        .pub-console__tabs span.is-on[b-5c82jfh2nm] {
            background: var(--pub-card-solid);
            color: var(--pub-ink);
            box-shadow: 0 4px 12px rgba(59, 48, 23, .1);
        }

.pub-console__text[b-5c82jfh2nm] {
    min-height: 104px;
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid var(--pub-line);
    border-radius: 14px;
    background: rgba(226, 179, 63, .05);
    color: var(--pub-ink);
    font-size: .86rem;
    line-height: 2;
}

    .pub-console__text > *[b-5c82jfh2nm] {
        animation: pub-voice-type-b-5c82jfh2nm 9s ease-in-out infinite;
        animation-delay: calc(var(--t) * .45s);
    }

@keyframes pub-voice-type-b-5c82jfh2nm {
    0%, 4% { opacity: .18; }
    12%, 88% { opacity: 1; }
    100% { opacity: .18; }
}

.pub-console__words[b-5c82jfh2nm] {
    margin-inline-end: 4px;
}

/* the tag is left-to-right inside a right-to-left line: a gap on both sides */
.pub-console__text .pub-voice-tag[b-5c82jfh2nm] {
    margin-inline: 3px;
}

.pub-console__voice[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(226, 179, 63, .08);
}

.pub-console__avatar[b-5c82jfh2nm] {
    display: grid;
    flex: none;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
}

    .pub-console__avatar[b-5c82jfh2nm]  svg,
    .art-clone__mic[b-5c82jfh2nm]  svg,
    .pub-voice-orb__core[b-5c82jfh2nm]  svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: #2b210d;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pub-console__who[b-5c82jfh2nm] {
    display: grid;
    flex: 1 1 auto;
    min-width: 0;
}

    .pub-console__who b[b-5c82jfh2nm] {
        color: var(--pub-ink);
        font-size: .82rem;
    }

    .pub-console__who small[b-5c82jfh2nm] {
        overflow: hidden;
        color: var(--pub-muted);
        font-size: .7rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.pub-console__speed[b-5c82jfh2nm] {
    padding: 3px 8px;
    border: 1px solid var(--pub-line);
    border-radius: 8px;
    color: var(--pub-text);
    font-size: .72rem;
    font-weight: 700;
}

.pub-console__player[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pub-console__play[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    flex: none;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    box-shadow: 0 10px 22px rgba(214, 159, 34, .32);
}

    .pub-console__play[b-5c82jfh2nm]::after {
        content: "";
        position: absolute;
        inset: -6px;
        border: 2px solid rgba(240, 191, 75, .5);
        border-radius: 50%;
        animation: pub-voice-ping-b-5c82jfh2nm 2.4s ease-out infinite;
    }

    .pub-console__play svg[b-5c82jfh2nm] {
        width: 18px;
        height: 18px;
        fill: #2b210d;
        translate: 1px 0;
    }

@keyframes pub-voice-ping-b-5c82jfh2nm {
    0% { opacity: .9; transform: scale(.85); }
    100% { opacity: 0; transform: scale(1.35); }
}

.pub-wave--hero[b-5c82jfh2nm] {
    flex: 1 1 auto;
    height: 40px;
}

.pub-console__time[b-5c82jfh2nm] {
    color: var(--pub-muted);
    font-size: .74rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* the chips sit above and below the console, not on it */
.pub-page--voice .pub-hero__stage[b-5c82jfh2nm],
.pub-page--tool .pub-hero__stage[b-5c82jfh2nm] {
    padding-block: 58px;
}

.pub-page--voice .pub-chip--1[b-5c82jfh2nm],
.pub-page--tool .pub-chip--1[b-5c82jfh2nm] {
    inset-block-start: 6px;
    inset-inline-start: 4%;
}

.pub-page--voice .pub-chip--2[b-5c82jfh2nm],
.pub-page--tool .pub-chip--2[b-5c82jfh2nm] {
    inset-block-end: 4px;
    inset-inline-end: 6%;
}

/* ---------- the tools ---------- */

@media (min-width: 1021px) {
    .pub-bento--voice .pub-bento__card:nth-child(4)[b-5c82jfh2nm],
    .pub-bento--voice .pub-bento__card:nth-child(5)[b-5c82jfh2nm] {
        grid-column: span 3;
    }
}

.pub-bento--voice .pub-bento__copy[b-5c82jfh2nm],
.pub-bento--tool .pub-bento__copy[b-5c82jfh2nm] {
    display: flex;
    flex-direction: column;
}

.pub-voice-points[b-5c82jfh2nm] {
    display: grid;
    gap: 7px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

    .pub-voice-points li[b-5c82jfh2nm] {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        color: var(--pub-text);
        font-size: .86rem;
        line-height: 1.7;
    }

    .pub-voice-points svg[b-5c82jfh2nm] {
        flex: none;
        width: 17px;
        height: 17px;
        margin-top: 3px;
        padding: 2.5px;
        border-radius: 50%;
        background: var(--pub-gold-soft);
        fill: none;
        stroke: var(--pub-gold-ink);
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pub-bento--voice .pub-bento__card:nth-child(1) .pub-voice-points li[b-5c82jfh2nm],
.pub-bento--tool .pub-bento__card:nth-child(1) .pub-voice-points li[b-5c82jfh2nm] {
    color: var(--pub-dark-text);
}

.pub-bento--voice .pub-bento__card:nth-child(1) .pub-voice-points svg[b-5c82jfh2nm],
.pub-bento--tool .pub-bento__card:nth-child(1) .pub-voice-points svg[b-5c82jfh2nm] {
    background: rgba(240, 200, 92, .14);
    stroke: #f0c85c;
}

.pub-voice-try[b-5c82jfh2nm] {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: 16px;
    color: var(--pub-gold-ink);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

    .pub-voice-try span[b-5c82jfh2nm] {
        transition: translate .3s ease;
    }

    .pub-voice-try:hover span[b-5c82jfh2nm] {
        translate: -4px 0;
    }

.pub-page[dir="ltr"] .pub-voice-try:hover span[b-5c82jfh2nm] {
    translate: 4px 0;
}

.pub-bento--voice .pub-bento__card:nth-child(1) .pub-voice-try[b-5c82jfh2nm] {
    color: #f0c85c;
}

/* text to speech: lines with tags become a wave */

.art-tts[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 18px;
    width: min(440px, calc(100% - 40px));
}

.art-tts__doc[b-5c82jfh2nm] {
    display: grid;
    flex: 0 0 46%;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(255, 236, 190, .14);
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
}

.art-tts__row[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.art-tts__line[b-5c82jfh2nm] {
    display: block;
    height: 7px;
    border-radius: 999px;
    background: rgba(246, 236, 216, .3);
}

.art-tts__line--s[b-5c82jfh2nm] {
    flex: 1 1 auto;
}

.art-tts__line--m[b-5c82jfh2nm] {
    width: 72%;
}

.art-tts .pub-voice-tag[b-5c82jfh2nm] {
    border-color: rgba(240, 200, 92, .5);
    background: rgba(240, 200, 92, .14);
    color: #f0c85c;
    font-size: .7rem;
    animation: pub-voice-glow-b-5c82jfh2nm 3.2s ease-in-out infinite;
}

    .art-tts .art-tts__row:last-child .pub-voice-tag[b-5c82jfh2nm] {
        animation-delay: 1.6s;
    }

@keyframes pub-voice-glow-b-5c82jfh2nm {
    0%, 100% { box-shadow: 0 0 0 rgba(240, 200, 92, 0); }
    50% { box-shadow: 0 0 16px rgba(240, 200, 92, .55); }
}

.art-tts__arrow[b-5c82jfh2nm],
.art-change__arrow[b-5c82jfh2nm] {
    display: grid;
    flex: none;
    place-items: center;
}

    .art-tts__arrow[b-5c82jfh2nm]  svg,
    .art-change__arrow[b-5c82jfh2nm]  svg {
        width: 26px;
        height: 26px;
        fill: none;
        stroke: var(--pub-gold-2);
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        animation: pub-voice-nudge-b-5c82jfh2nm 2.2s ease-in-out infinite;
    }

.pub-page[dir="rtl"] .art-tts__arrow[b-5c82jfh2nm],
.pub-page[dir="rtl"] .art-change__arrow[b-5c82jfh2nm] {
    scale: -1 1;
}

@keyframes pub-voice-nudge-b-5c82jfh2nm {
    0%, 100% { translate: 0 0; opacity: .6; }
    50% { translate: 5px 0; opacity: 1; }
}

.pub-wave--art[b-5c82jfh2nm] {
    flex: 1 1 auto;
    height: 74px;
}

/* your own voice: a microphone with rings */

.art-clone[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 168px;
}

.art-clone__ring[b-5c82jfh2nm] {
    position: absolute;
    width: 64px;
    height: 64px;
    border: 2px solid rgba(230, 173, 37, .5);
    border-radius: 50%;
    animation: pub-voice-ring-b-5c82jfh2nm 3s ease-out infinite;
}

.art-clone__ring--two[b-5c82jfh2nm] {
    animation-delay: 1s;
}

.art-clone__ring--three[b-5c82jfh2nm] {
    animation-delay: 2s;
}

@keyframes pub-voice-ring-b-5c82jfh2nm {
    0% { opacity: .9; transform: scale(1); }
    100% { opacity: 0; transform: scale(2.4); }
}

.art-clone__mic[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    box-shadow: 0 14px 30px rgba(214, 159, 34, .35);
}

    .art-clone__mic[b-5c82jfh2nm]  svg {
        width: 28px;
        height: 28px;
    }

.art-clone__badge[b-5c82jfh2nm] {
    position: absolute;
    inset-block-end: 16px;
    inset-inline-end: 16px;
    padding: 5px 11px;
    border: 1px solid rgba(226, 179, 63, .4);
    border-radius: 999px;
    background: var(--pub-card-solid);
    color: var(--pub-ink);
    font-size: .74rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(59, 48, 23, .12);
    animation: pub-float-b-5c82jfh2nm 5s ease-in-out infinite;
}

/* voice changer: one wave becomes another */

.art-change[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: calc(100% - 36px);
}

    .art-change .pub-wave[b-5c82jfh2nm] {
        flex: 1 1 0;
        height: 62px;
    }

.pub-wave--from i[b-5c82jfh2nm] {
    background: var(--pub-line-strong);
    animation-duration: 2.2s;
}

.pub-wave--to i[b-5c82jfh2nm] {
    animation-duration: 1.3s;
}

/* speech to text: a wave and the subtitle it became */

.art-stt[b-5c82jfh2nm] {
    display: grid;
    gap: 12px;
    width: calc(100% - 36px);
}

.pub-wave--stt[b-5c82jfh2nm] {
    height: 40px;
}

.art-stt__cue[b-5c82jfh2nm] {
    display: grid;
    gap: 3px;
    padding: 10px 12px;
    border: 1px solid var(--pub-line);
    border-radius: 12px;
    background: var(--pub-card-solid);
    box-shadow: 0 8px 18px rgba(59, 48, 23, .08);
}

    .art-stt__cue b[b-5c82jfh2nm] {
        color: var(--pub-muted);
        font-size: .7rem;
    }

    .art-stt__cue code[b-5c82jfh2nm] {
        color: var(--pub-gold-ink);
        font-family: Consolas, "Cascadia Mono", monospace;
        font-size: .7rem;
    }

.pub-page[dir="rtl"] .art-stt__cue b[b-5c82jfh2nm],
.pub-page[dir="rtl"] .art-stt__cue code[b-5c82jfh2nm] {
    text-align: right;
}

.art-stt__text[b-5c82jfh2nm] {
    overflow: hidden;
    color: var(--pub-ink);
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap;
    clip-path: inset(0 0 0 100%);
    animation: pub-voice-write-b-5c82jfh2nm 5s steps(24, end) infinite;
}

.pub-page[dir="ltr"] .art-stt__text[b-5c82jfh2nm] {
    clip-path: inset(0 100% 0 0);
    animation-name: pub-voice-write-ltr-b-5c82jfh2nm;
}

@keyframes pub-voice-write-b-5c82jfh2nm {
    0%, 8% { clip-path: inset(0 0 0 100%); }
    55%, 92% { clip-path: inset(0 0 0 0); }
    100% { clip-path: inset(0 0 0 100%); }
}

@keyframes pub-voice-write-ltr-b-5c82jfh2nm {
    0%, 8% { clip-path: inset(0 100% 0 0); }
    55%, 92% { clip-path: inset(0 0 0 0); }
    100% { clip-path: inset(0 100% 0 0); }
}

/* music: an equaliser and notes */

.art-music[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 168px;
}

.art-music__eq[b-5c82jfh2nm] {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 76px;
    margin-bottom: 26px;
}

    .art-music__eq i[b-5c82jfh2nm] {
        width: 12px;
        height: calc(var(--h) * 100%);
        border-radius: 6px 6px 3px 3px;
        background: linear-gradient(180deg, var(--pub-gold-1), var(--pub-gold-2));
        transform-origin: bottom;
        animation: pub-voice-eq-b-5c82jfh2nm 1.1s ease-in-out infinite alternate;
        animation-delay: calc(var(--b) * -.17s);
    }

@keyframes pub-voice-eq-b-5c82jfh2nm {
    from { transform: scaleY(.3); }
    to { transform: scaleY(1); }
}

.art-music__note[b-5c82jfh2nm] {
    position: absolute;
    inset-block-start: 26%;
    inset-inline-start: 18%;
    color: var(--pub-gold-2);
    font-size: 1.5rem;
    font-style: normal;
    animation: pub-voice-note-b-5c82jfh2nm 4s ease-in-out infinite;
}

.art-music__note--two[b-5c82jfh2nm] {
    inset-block-start: 14%;
    inset-inline-start: auto;
    inset-inline-end: 20%;
    font-size: 1.8rem;
    animation-delay: 1.3s;
}

.art-music__note--three[b-5c82jfh2nm] {
    inset-block-start: 50%;
    inset-inline-start: 10%;
    font-size: 1.2rem;
    animation-delay: 2.6s;
}

@keyframes pub-voice-note-b-5c82jfh2nm {
    0% { opacity: 0; translate: 0 12px; }
    30%, 60% { opacity: 1; }
    100% { opacity: 0; translate: 6px -22px; }
}

.art-music__chips[b-5c82jfh2nm] {
    position: absolute;
    inset-block-end: 12px;
    display: flex;
    gap: 6px;
}

    .art-music__chips b[b-5c82jfh2nm] {
        padding: 4px 10px;
        border: 1px solid rgba(226, 179, 63, .4);
        border-radius: 999px;
        background: var(--pub-card-solid);
        color: var(--pub-text);
        font-size: .7rem;
    }

/* ---------- emotion tags ---------- */

.pub-voice-tags[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 44px;
    padding: 56px 58px;
    overflow: hidden;
    border-radius: 38px;
    background:
        radial-gradient(60% 90% at 100% 0%, rgba(223, 169, 54, .22) 0%, transparent 64%),
        radial-gradient(50% 90% at 0% 100%, rgba(183, 121, 29, .14) 0%, transparent 68%),
        var(--pub-dark);
    box-shadow: 0 40px 80px rgba(33, 27, 21, .24);
}

.pub-voice-tags__copy h2[b-5c82jfh2nm] {
    margin: 16px 0 12px;
    color: var(--pub-dark-ink);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 700;
    line-height: 1.35;
}

.pub-voice-tags__copy p[b-5c82jfh2nm] {
    margin: 0 0 24px;
    color: var(--pub-dark-text);
    line-height: 1.95;
}

.pub-voice-tags__list[b-5c82jfh2nm] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .pub-voice-tags__list li[b-5c82jfh2nm] {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 6px 10px;
        border: 1px solid rgba(255, 236, 190, .14);
        border-radius: 12px;
        background: rgba(255, 255, 255, .05);
        color: var(--pub-dark-ink);
        font-size: .82rem;
        transition: border-color .25s ease, background-color .25s ease;
    }

        .pub-voice-tags__list li:hover[b-5c82jfh2nm] {
            border-color: rgba(240, 200, 92, .5);
            background: rgba(240, 200, 92, .1);
        }

    .pub-voice-tags__list code[b-5c82jfh2nm] {
        color: #f0c85c;
        font-family: Consolas, "Cascadia Mono", monospace;
        font-size: .76rem;
    }

.pub-voice-script[b-5c82jfh2nm] {
    padding: 18px 20px 20px;
    border: 1px solid rgba(255, 236, 190, .12);
    border-radius: 26px;
    background: rgba(255, 255, 255, .05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.pub-voice-script__head[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    color: var(--pub-dark-text);
    font-size: .78rem;
    font-weight: 700;
}

.pub-voice-script__text[b-5c82jfh2nm] {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    color: var(--pub-dark-ink);
    font-size: 1rem;
    line-height: 1.8;
}

.pub-voice-script__beat[b-5c82jfh2nm] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 14px;
    animation: pub-voice-say-b-5c82jfh2nm 7.5s ease-in-out infinite;
    animation-delay: calc(var(--t) * 2.5s);
}

    .pub-voice-script__beat .pub-voice-tag[b-5c82jfh2nm] {
        border-color: rgba(240, 200, 92, .5);
        background: rgba(240, 200, 92, .14);
        color: #f0c85c;
    }

/* each line lights up in turn, with its tags */
@keyframes pub-voice-say-b-5c82jfh2nm {
    0%, 40%, 100% { border-color: transparent; background: transparent; }
    6%, 30% { border-color: rgba(240, 200, 92, .28); background: rgba(240, 200, 92, .08); }
}

.pub-voice-script__out[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 236, 190, .1);
}

.pub-wave--script[b-5c82jfh2nm] {
    flex: 1 1 auto;
    height: 44px;
}

/* ---------- uses ---------- */

.pub-voice-uses[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pub-voice-use[b-5c82jfh2nm] {
    --mx: 50%;
    --my: 0%;
    position: relative;
    padding: 24px 24px 26px;
    overflow: hidden;
    border: 1px solid var(--pub-line);
    border-radius: 24px;
    background: var(--pub-card);
    box-shadow: var(--pub-shadow);
    isolation: isolate;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
}

    .pub-voice-use[b-5c82jfh2nm]::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: radial-gradient(320px circle at var(--mx) var(--my), rgba(244, 205, 88, .16), transparent 45%);
        opacity: 0;
        transition: opacity .35s ease;
    }

    .pub-voice-use:hover[b-5c82jfh2nm] {
        transform: translateY(-5px);
        box-shadow: var(--pub-shadow-lift);
    }

        .pub-voice-use:hover[b-5c82jfh2nm]::before {
            opacity: 1;
        }

        .pub-voice-use:hover .pub-bento__icon[b-5c82jfh2nm] {
            transform: rotate(-8deg) scale(1.08);
        }

    .pub-voice-use h3[b-5c82jfh2nm] {
        margin: 0 0 8px;
        color: var(--pub-ink);
        font-size: 1.06rem;
        font-weight: 700;
    }

    .pub-voice-use p[b-5c82jfh2nm] {
        margin: 0;
        color: var(--pub-text);
        font-size: .92rem;
        line-height: 1.9;
    }

/* ---------- closing orb ---------- */

.pub-voice-orb[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    place-items: center;
    height: 290px;
}

.pub-voice-orb__ring[b-5c82jfh2nm] {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 1.5px solid rgba(240, 200, 92, .4);
    border-radius: 50%;
    animation: pub-voice-ring-b-5c82jfh2nm 3.6s ease-out infinite;
}

.pub-voice-orb__ring--two[b-5c82jfh2nm] {
    animation-delay: 1.8s;
}

.pub-voice-orb__core[b-5c82jfh2nm] {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    box-shadow: 0 0 60px rgba(240, 191, 75, .45), 0 20px 40px rgba(0, 0, 0, .35);
}

    .pub-voice-orb__core[b-5c82jfh2nm]  svg {
        width: 48px;
        height: 48px;
        stroke-width: 1.7;
    }

.pub-wave--orb[b-5c82jfh2nm] {
    position: absolute;
    inset-block-end: 22px;
    width: min(260px, 90%);
    height: 40px;
    opacity: .85;
}

/* ---------- smaller screens ---------- */

@media (max-width: 1020px) {
    .pub-voice-tags[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
        padding: 44px 34px;
    }

    .pub-voice-uses[b-5c82jfh2nm] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pub-voice-orb[b-5c82jfh2nm] {
        height: 260px;
    }
}

@media (max-width: 640px) {
    .pub-console[b-5c82jfh2nm] {
        width: min(330px, 92%);
        padding: 14px;
    }

    .pub-console__tabs span[b-5c82jfh2nm] {
        font-size: .62rem;
    }

    .pub-console__text[b-5c82jfh2nm] {
        min-height: 0;
        font-size: .8rem;
    }

    .art-tts[b-5c82jfh2nm] {
        flex-direction: column;
        gap: 10px;
        padding-block: 16px;
    }

        .art-tts__doc[b-5c82jfh2nm] {
            flex-basis: auto;
            width: 100%;
            box-sizing: border-box;
        }

    .art-tts__arrow[b-5c82jfh2nm] {
        rotate: 90deg;
    }

    .pub-page[dir="rtl"] .art-tts__arrow[b-5c82jfh2nm] {
        scale: 1 1;
    }

    .pub-wave--art[b-5c82jfh2nm] {
        width: 100%;
        height: 54px;
    }

    .pub-voice-tags[b-5c82jfh2nm] {
        padding: 34px 20px;
        border-radius: 28px;
        gap: 28px;
    }

    .pub-voice-uses[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pub-voice-orb[b-5c82jfh2nm] {
        height: 250px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pub-wave i[b-5c82jfh2nm],
    .art-music__eq i[b-5c82jfh2nm],
    .art-music__note[b-5c82jfh2nm],
    .art-clone__ring[b-5c82jfh2nm],
    .pub-voice-orb__ring[b-5c82jfh2nm],
    .pub-console__play[b-5c82jfh2nm]::after,
    .pub-console__text > *[b-5c82jfh2nm],
    .art-stt__text[b-5c82jfh2nm],
    .pub-voice-script__beat[b-5c82jfh2nm],
    .art-tts .pub-voice-tag[b-5c82jfh2nm],
    .art-tts__arrow[b-5c82jfh2nm]  svg,
    .art-change__arrow[b-5c82jfh2nm]  svg {
        animation: none;
    }

    .art-stt__text[b-5c82jfh2nm] {
        clip-path: none;
    }
}

/* =========================================================
   TERMS OF USE (/terms): a formal document. The hero has
   the title and a summary card; below, a sticky list of the
   articles beside the articles themselves.
   ========================================================= */

.pub-page--terms .pub-hero[b-5c82jfh2nm] {
    padding-bottom: 28px;
}

.pub-terms-hero[b-5c82jfh2nm] {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.pub-page--terms .pub-hero__title[b-5c82jfh2nm] {
    font-size: clamp(2rem, 3.8vw, 3.1rem);
}

.pub-terms-meta[b-5c82jfh2nm] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    animation: pub-rise-b-5c82jfh2nm .8s .2s cubic-bezier(.2, .8, .2, 1) both;
}

    .pub-terms-meta > span[b-5c82jfh2nm] {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 38px;
        padding: 0 14px;
        border: 1px solid var(--pub-line);
        border-radius: 12px;
        background: var(--pub-card-solid);
        color: var(--pub-text);
        font-size: .86rem;
    }

    .pub-terms-meta b[b-5c82jfh2nm] {
        color: var(--pub-ink);
        font-weight: 700;
    }

    .pub-terms-meta[b-5c82jfh2nm]  svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: var(--pub-gold-ink);
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pub-terms-glance[b-5c82jfh2nm] {
    padding: 28px 28px 22px;
    border-radius: 24px;
    background: var(--pub-dark);
    color: var(--pub-dark-ink);
    box-shadow: var(--pub-shadow-lift);
    animation: pub-rise-b-5c82jfh2nm 1s .18s cubic-bezier(.2, .8, .2, 1) both;
}

    .pub-terms-glance h2[b-5c82jfh2nm] {
        margin: 0 0 16px;
        color: #f0c85c;
        font-size: 1rem;
        font-weight: 700;
    }

    .pub-terms-glance ul[b-5c82jfh2nm] {
        display: grid;
        gap: 14px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .pub-terms-glance li[b-5c82jfh2nm] {
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        color: var(--pub-dark-ink);
        font-size: .92rem;
        line-height: 1.8;
    }

    .pub-terms-glance > p[b-5c82jfh2nm] {
        margin: 18px 0 0;
        padding-top: 14px;
        border-top: 1px solid rgba(240, 200, 92, .16);
        color: var(--pub-dark-text);
        font-size: .78rem;
        line-height: 1.8;
    }

.pub-terms-glance__icon[b-5c82jfh2nm] {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(240, 200, 92, .3);
    border-radius: 11px;
    background: rgba(240, 200, 92, .1);
}

    .pub-terms-glance__icon[b-5c82jfh2nm]  svg {
        width: 19px;
        height: 19px;
        fill: none;
        stroke: #f0c85c;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* ---------- the articles ---------- */

.pub-terms[b-5c82jfh2nm] {
    padding: 28px 0 90px;
}

.pub-terms__layout[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    align-items: start;
    gap: 34px;
}

.pub-terms__toc[b-5c82jfh2nm] {
    position: sticky;
    top: 92px;
    max-height: calc(100vh - 116px);
    overflow-y: auto;
    padding: 22px 16px 16px;
    border: 1px solid var(--pub-line);
    border-radius: 22px;
    background: var(--pub-card);
    box-shadow: var(--pub-shadow);
    scrollbar-width: thin;
}

    .pub-terms__toc h2[b-5c82jfh2nm] {
        margin: 0 8px 12px;
        color: var(--pub-ink);
        font-size: .95rem;
        font-weight: 700;
    }

    .pub-terms__toc ol[b-5c82jfh2nm] {
        display: grid;
        gap: 2px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .pub-terms__toc a[b-5c82jfh2nm] {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        padding: 7px 8px;
        border-radius: 10px;
        color: var(--pub-text);
        font-size: .84rem;
        line-height: 1.6;
        text-decoration: none;
        transition: background-color .2s ease, color .2s ease;
    }

        .pub-terms__toc a:hover[b-5c82jfh2nm],
        .pub-terms__toc a:focus-visible[b-5c82jfh2nm] {
            background: var(--pub-gold-soft);
            color: var(--pub-ink);
        }

.pub-terms__toc-number[b-5c82jfh2nm] {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 1px solid var(--pub-line);
    border-radius: 8px;
    color: var(--pub-gold-ink);
    font-size: .76rem;
    font-weight: 700;
}

.pub-terms__body[b-5c82jfh2nm] {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.pub-terms__preamble[b-5c82jfh2nm],
.pub-terms__article[b-5c82jfh2nm] {
    padding: 28px 32px;
    border: 1px solid var(--pub-line);
    border-radius: 22px;
    background: var(--pub-card);
    box-shadow: var(--pub-shadow);
}

.pub-terms__preamble[b-5c82jfh2nm] {
    border-color: rgba(226, 179, 63, .34);
    background:
        radial-gradient(circle at 100% 0%, rgba(252, 209, 102, .16), transparent 46%),
        var(--pub-card);
}

    .pub-terms__preamble h2[b-5c82jfh2nm] {
        margin: 0 0 12px;
        color: var(--pub-ink);
        font-size: 1.15rem;
        font-weight: 700;
    }

    .pub-terms__preamble p[b-5c82jfh2nm] {
        margin: 0;
        color: var(--pub-text);
        line-height: 2.15;
        text-align: justify;
    }

.pub-terms__article[b-5c82jfh2nm] {
    position: relative;
    scroll-margin-top: 96px;
}

    .pub-terms__article.is-key[b-5c82jfh2nm] {
        border-color: rgba(226, 179, 63, .42);
        box-shadow: var(--pub-shadow), inset 4px 0 0 var(--pub-gold-2);
    }

.pub-page[dir="rtl"] .pub-terms__article.is-key[b-5c82jfh2nm] {
    box-shadow: var(--pub-shadow), inset -4px 0 0 var(--pub-gold-2);
}

    .pub-terms__article header[b-5c82jfh2nm] {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 14px;
        margin-bottom: 18px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--pub-line);
    }

    .pub-terms__article h2[b-5c82jfh2nm] {
        flex: 1 1 auto;
        margin: 0;
        color: var(--pub-ink);
        font-size: 1.18rem;
        font-weight: 700;
        line-height: 1.6;
    }

.pub-terms__number[b-5c82jfh2nm] {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    color: #2b210d;
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
}

.pub-terms__flag[b-5c82jfh2nm] {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border: 1px solid rgba(190, 72, 48, .3);
    border-radius: 999px;
    background: rgba(190, 72, 48, .08);
    color: #a8412b;
    font-size: .74rem;
    font-weight: 700;
}

html[data-theme="dark"] .pub-terms__flag[b-5c82jfh2nm] {
    border-color: rgba(240, 140, 110, .34);
    background: rgba(240, 140, 110, .1);
    color: #f0a088;
}

.pub-terms__clauses[b-5c82jfh2nm] {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .pub-terms__clauses li[b-5c82jfh2nm] {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: baseline;
        gap: 10px;
    }

    .pub-terms__clauses p[b-5c82jfh2nm] {
        margin: 0;
        color: var(--pub-text);
        line-height: 2.1;
        text-align: justify;
    }

.pub-page[lang="en"] .pub-terms__clauses p[b-5c82jfh2nm],
.pub-page[lang="en"] .pub-terms__preamble p[b-5c82jfh2nm] {
    line-height: 1.8;
    text-align: start;
}

.pub-terms__clause-number[b-5c82jfh2nm] {
    color: var(--pub-gold-ink);
    font-size: .86rem;
    font-weight: 700;
    white-space: nowrap;
}

.pub-terms__note[b-5c82jfh2nm] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
    padding: 14px 18px;
    border: 1px dashed rgba(226, 179, 63, .5);
    border-radius: 14px;
    background: var(--pub-gold-soft);
    color: var(--pub-ink);
    font-size: .92rem;
    line-height: 2;
}

    .pub-terms__note b[b-5c82jfh2nm] {
        color: var(--pub-gold-ink);
    }

.pub-terms__closing[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    padding: 26px 30px;
    border-radius: 22px;
    background: var(--pub-dark);
    color: var(--pub-dark-ink);
    box-shadow: var(--pub-shadow-lift);
}

    .pub-terms__closing h2[b-5c82jfh2nm] {
        margin: 0 0 6px;
        color: var(--pub-dark-ink);
        font-size: 1.1rem;
        font-weight: 700;
    }

    .pub-terms__closing p[b-5c82jfh2nm] {
        margin: 0;
        color: var(--pub-dark-text);
        font-size: .9rem;
        line-height: 1.9;
    }

.pub-terms__seal[b-5c82jfh2nm] {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
}

    .pub-terms__seal[b-5c82jfh2nm]  svg {
        width: 30px;
        height: 30px;
        fill: none;
        stroke: #2b210d;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pub-terms__closing-actions[b-5c82jfh2nm] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .pub-terms__closing-actions .pub-button--ghost[b-5c82jfh2nm] {
        border-color: rgba(255, 236, 190, .24);
        background: rgba(255, 255, 255, .06);
        color: var(--pub-dark-ink);
    }

@media (max-width: 1020px) {
    .pub-terms__layout[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pub-terms__toc[b-5c82jfh2nm] {
        position: static;
        max-height: none;
    }

        .pub-terms__toc ol[b-5c82jfh2nm] {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            column-gap: 8px;
        }

    .pub-terms__closing[b-5c82jfh2nm] {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .pub-terms__closing-actions[b-5c82jfh2nm] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .pub-terms[b-5c82jfh2nm] {
        padding-top: 12px;
    }

    .pub-terms-glance[b-5c82jfh2nm] {
        padding: 22px 20px 18px;
    }

    .pub-terms__toc ol[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pub-terms__preamble[b-5c82jfh2nm],
    .pub-terms__article[b-5c82jfh2nm] {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .pub-terms__clauses li[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }

    .pub-terms__clauses p[b-5c82jfh2nm],
    .pub-terms__preamble p[b-5c82jfh2nm] {
        text-align: start;
    }

    .pub-terms__closing[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
        padding: 22px 20px;
    }

    .pub-terms__closing-actions .pub-button[b-5c82jfh2nm] {
        flex: 1 1 100%;
    }
}

/* =========================================================
   GUIDES (/guides and /guides/{slug}): the hub lists the
   guides as cards; an article has a sticky contents card
   and an "at a glance" card beside its sections.
   ========================================================= */

/* ---------- the hub ---------- */

.pub-guides-fan[b-5c82jfh2nm] {
    position: relative;
    width: min(100%, 470px);
    aspect-ratio: 1 / 1;
    margin-inline: auto;
    animation: pub-rise-b-5c82jfh2nm 1s .18s cubic-bezier(.2, .8, .2, 1) both;
}

    .pub-guides-fan img[b-5c82jfh2nm] {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 52%;
        height: auto;
        border: 1px solid var(--pub-line);
        border-radius: 14px;
        background: #fff;
        box-shadow: var(--pub-shadow-lift);
        translate: -50% -50%;
        animation: pub-float-b-5c82jfh2nm 7s ease-in-out infinite;
    }

        .pub-guides-fan img:nth-child(1)[b-5c82jfh2nm] {
            rotate: -12deg;
            translate: -96% -46%;
            animation-delay: .6s;
        }

        .pub-guides-fan img:nth-child(2)[b-5c82jfh2nm] {
            z-index: 2;
            rotate: 2deg;
            translate: -50% -54%;
        }

        .pub-guides-fan img:nth-child(3)[b-5c82jfh2nm] {
            rotate: 13deg;
            translate: -4% -46%;
            animation-delay: 1.2s;
        }

.pub-guides[b-5c82jfh2nm] {
    padding-top: 40px;
}

.pub-guides__list[b-5c82jfh2nm] {
    display: grid;
    gap: 22px;
}

.pub-guide-card[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--pub-line);
    border-radius: 26px;
    background: var(--pub-card);
    box-shadow: var(--pub-shadow);
    color: inherit;
    text-decoration: none;
    transition: border-color .3s ease, box-shadow .3s ease, translate .3s ease;
}

    .pub-guide-card:hover[b-5c82jfh2nm],
    .pub-guide-card:focus-visible[b-5c82jfh2nm] {
        border-color: rgba(226, 179, 63, .5);
        box-shadow: var(--pub-shadow-lift);
        translate: 0 -3px;
    }

.pub-guide-card__cover[b-5c82jfh2nm] {
    position: relative;
    display: block;
    min-height: 260px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 30%, rgba(252, 209, 102, .28), transparent 64%),
        var(--pub-gold-soft);
}

    .pub-guide-card__cover img[b-5c82jfh2nm] {
        position: absolute;
        top: 26px;
        left: 50%;
        width: 66%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 18px 36px rgba(87, 64, 22, .22);
        translate: -50% 0;
        transition: translate .6s cubic-bezier(.2, .8, .2, 1), rotate .6s cubic-bezier(.2, .8, .2, 1);
    }

    .pub-guide-card__cover .pub-guide-card__before[b-5c82jfh2nm] {
        rotate: -7deg;
        translate: -64% 10px;
        opacity: .75;
    }

    .pub-guide-card__cover .pub-guide-card__after[b-5c82jfh2nm] {
        rotate: 4deg;
        translate: -40% 0;
    }

.pub-guide-card:hover .pub-guide-card__before[b-5c82jfh2nm] {
    rotate: -11deg;
    translate: -74% 14px;
}

.pub-guide-card:hover .pub-guide-card__after[b-5c82jfh2nm] {
    rotate: 2deg;
    translate: -36% -6px;
}

.pub-guide-card__body[b-5c82jfh2nm] {
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 32px 36px;
}

.pub-guide-card__kicker[b-5c82jfh2nm] {
    color: var(--pub-gold-ink);
    font-size: .8rem;
    font-weight: 700;
}

.pub-guide-card__title[b-5c82jfh2nm] {
    color: var(--pub-ink);
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    font-weight: 800;
    line-height: 1.55;
}

.pub-guide-card__text[b-5c82jfh2nm] {
    color: var(--pub-text);
    line-height: 2;
}

.pub-guide-card__meta[b-5c82jfh2nm] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: var(--pub-muted);
    font-size: .84rem;
}

    .pub-guide-card__meta > span[b-5c82jfh2nm] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .pub-guide-card__meta[b-5c82jfh2nm]  svg,
    .pub-article-meta[b-5c82jfh2nm]  svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: var(--pub-gold-ink);
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pub-guide-card__more[b-5c82jfh2nm] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pub-gold-ink);
    font-weight: 700;
}

    .pub-guide-card__more i[b-5c82jfh2nm] {
        font-style: normal;
        transition: translate .3s ease;
    }

.pub-guide-card:hover .pub-guide-card__more i[b-5c82jfh2nm] {
    translate: -4px 0;
}

.pub-page[dir="ltr"] .pub-guide-card:hover .pub-guide-card__more i[b-5c82jfh2nm] {
    translate: 4px 0;
}

.pub-guides-services__grid[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
}

.pub-service-link[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    gap: 6px;
    padding-block: 20px;
    padding-inline: 22px 46px;
    border: 1px solid var(--pub-line);
    border-radius: 18px;
    background: var(--pub-card);
    box-shadow: var(--pub-shadow);
    color: inherit;
    text-decoration: none;
    transition: border-color .25s ease, translate .25s ease;
}

    .pub-service-link:hover[b-5c82jfh2nm],
    .pub-service-link:focus-visible[b-5c82jfh2nm] {
        border-color: rgba(226, 179, 63, .5);
        translate: 0 -2px;
    }

    .pub-service-link strong[b-5c82jfh2nm] {
        color: var(--pub-ink);
        font-size: .98rem;
        font-weight: 700;
    }

    .pub-service-link span[b-5c82jfh2nm] {
        color: var(--pub-text);
        font-size: .86rem;
        line-height: 1.8;
    }

    .pub-service-link i[b-5c82jfh2nm] {
        position: absolute;
        top: 50%;
        inset-inline-end: 18px;
        translate: 0 -50%;
        color: var(--pub-gold-ink);
        font-style: normal;
        font-weight: 700;
    }

/* ---------- the article ---------- */

.pub-page--article .pub-hero__title[b-5c82jfh2nm],
.pub-page--guides .pub-hero__title[b-5c82jfh2nm] {
    font-size: clamp(2rem, 3.6vw, 3rem);
}

.pub-article-meta[b-5c82jfh2nm] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
    animation: pub-rise-b-5c82jfh2nm .8s .2s cubic-bezier(.2, .8, .2, 1) both;
}

    .pub-article-meta > span[b-5c82jfh2nm] {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 36px;
        padding: 0 13px;
        border: 1px solid var(--pub-line);
        border-radius: 12px;
        background: var(--pub-card-solid);
        color: var(--pub-text);
        font-size: .84rem;
    }

.pub-article[b-5c82jfh2nm] {
    padding: 34px 0 30px;
}

.pub-article__layout[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
    gap: 34px;
}

.pub-article__side[b-5c82jfh2nm] {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 16px;
    max-height: calc(100vh - 116px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.pub-article__toc[b-5c82jfh2nm] {
    padding: 20px 14px 14px;
    border: 1px solid var(--pub-line);
    border-radius: 22px;
    background: var(--pub-card);
    box-shadow: var(--pub-shadow);
}

    .pub-article__toc h2[b-5c82jfh2nm] {
        margin: 0 8px 10px;
        color: var(--pub-ink);
        font-size: .95rem;
        font-weight: 700;
    }

    .pub-article__toc ol[b-5c82jfh2nm] {
        display: grid;
        gap: 2px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .pub-article__toc a[b-5c82jfh2nm] {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        padding: 7px 8px;
        border-radius: 10px;
        color: var(--pub-text);
        font-size: .84rem;
        line-height: 1.6;
        text-decoration: none;
        transition: background-color .2s ease, color .2s ease;
    }

        .pub-article__toc a:hover[b-5c82jfh2nm],
        .pub-article__toc a:focus-visible[b-5c82jfh2nm] {
            background: var(--pub-gold-soft);
            color: var(--pub-ink);
        }

.pub-article__toc-number[b-5c82jfh2nm] {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 1px solid var(--pub-line);
    border-radius: 8px;
    color: var(--pub-gold-ink);
    font-size: .76rem;
    font-weight: 700;
}

.pub-article__glance[b-5c82jfh2nm] {
    padding: 22px 20px 18px;
    border-radius: 22px;
    background: var(--pub-dark);
    color: var(--pub-dark-ink);
    box-shadow: var(--pub-shadow-lift);
}

    .pub-article__glance h2[b-5c82jfh2nm] {
        margin: 0 0 14px;
        color: #f0c85c;
        font-size: .95rem;
        font-weight: 700;
    }

    .pub-article__glance ul[b-5c82jfh2nm] {
        display: grid;
        gap: 12px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .pub-article__glance li[b-5c82jfh2nm] {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        font-size: .86rem;
        line-height: 1.8;
    }

.pub-article__glance-icon[b-5c82jfh2nm] {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(240, 200, 92, .3);
    border-radius: 10px;
    background: rgba(240, 200, 92, .1);
}

    .pub-article__glance-icon[b-5c82jfh2nm]  svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: #f0c85c;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pub-article__body[b-5c82jfh2nm] {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.pub-article__section[b-5c82jfh2nm] {
    padding: 32px 36px;
    border: 1px solid var(--pub-line);
    border-radius: 24px;
    background: var(--pub-card);
    box-shadow: var(--pub-shadow);
    scroll-margin-top: 96px;
}

.pub-article__heading[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
}

    .pub-article__heading h2[b-5c82jfh2nm] {
        margin: 0;
        color: var(--pub-ink);
        font-size: clamp(1.2rem, 2vw, 1.5rem);
        font-weight: 800;
        line-height: 1.6;
    }

.pub-article__number[b-5c82jfh2nm] {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: linear-gradient(145deg, var(--pub-gold-1), var(--pub-gold-2));
    color: #2b2116;
    font-size: .95rem;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(230, 173, 37, .28);
}

.pub-article__text[b-5c82jfh2nm] {
    margin: 0 0 16px;
    color: var(--pub-text);
    font-size: 1.02rem;
    line-height: 2.15;
}

    .pub-article__text:last-child[b-5c82jfh2nm] {
        margin-bottom: 0;
    }

.pub-article__list[b-5c82jfh2nm],
.pub-article__check[b-5c82jfh2nm] {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

    .pub-article__list li[b-5c82jfh2nm] {
        position: relative;
        padding-inline-start: 24px;
        color: var(--pub-text);
        line-height: 2;
    }

        .pub-article__list li[b-5c82jfh2nm]::before {
            content: "";
            position: absolute;
            top: .85em;
            inset-inline-start: 4px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: linear-gradient(145deg, var(--pub-gold-1), var(--pub-gold-2));
            box-shadow: 0 0 0 4px var(--pub-gold-soft);
        }

    .pub-article__check li[b-5c82jfh2nm] {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        padding: 12px 14px;
        border: 1px solid var(--pub-line);
        border-radius: 14px;
        background: var(--pub-card-solid);
        color: var(--pub-text);
        line-height: 1.9;
    }

.pub-article__check-mark[b-5c82jfh2nm] {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: var(--pub-gold-soft);
}

    .pub-article__check-mark[b-5c82jfh2nm]  svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: var(--pub-gold-ink);
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pub-article__steps[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    gap: 16px;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

    .pub-article__steps[b-5c82jfh2nm]::before {
        content: "";
        position: absolute;
        top: 22px;
        bottom: 22px;
        inset-inline-start: 21px;
        width: 2px;
        background: linear-gradient(180deg, var(--pub-gold-2), rgba(230, 173, 37, .12));
    }

    .pub-article__steps li[b-5c82jfh2nm] {
        position: relative;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: start;
        gap: 16px;
    }

        .pub-article__steps li > div[b-5c82jfh2nm] {
            padding: 16px 18px;
            border: 1px solid var(--pub-line);
            border-radius: 16px;
            background: var(--pub-card-solid);
        }

    .pub-article__steps h3[b-5c82jfh2nm] {
        margin: 0 0 6px;
        color: var(--pub-ink);
        font-size: 1.02rem;
        font-weight: 700;
    }

    .pub-article__steps p[b-5c82jfh2nm] {
        margin: 0;
        color: var(--pub-text);
        line-height: 2;
    }

.pub-article__step-number[b-5c82jfh2nm] {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(226, 179, 63, .45);
    border-radius: 50%;
    background: var(--pub-card-solid);
    color: var(--pub-gold-ink);
    font-weight: 800;
    box-shadow: 0 0 0 6px var(--pub-card-solid);
}

.pub-article__note[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    margin: 18px 0 0;
    padding: 18px 20px;
    border: 1px solid rgba(226, 179, 63, .4);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(252, 209, 102, .2), transparent 55%),
        var(--pub-card-solid);
}

.pub-article__note--warn[b-5c82jfh2nm] {
    border-color: rgba(214, 120, 60, .38);
    background:
        radial-gradient(circle at 100% 0%, rgba(232, 138, 78, .14), transparent 55%),
        var(--pub-card-solid);
}

    .pub-article__note strong[b-5c82jfh2nm] {
        display: block;
        margin-bottom: 4px;
        color: var(--pub-ink);
        font-weight: 700;
    }

    .pub-article__note p[b-5c82jfh2nm] {
        margin: 0;
        color: var(--pub-text);
        line-height: 2;
    }

.pub-article__note-icon[b-5c82jfh2nm] {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--pub-gold-soft);
}

.pub-article__note--warn .pub-article__note-icon[b-5c82jfh2nm] {
    background: rgba(232, 138, 78, .14);
}

    .pub-article__note-icon svg[b-5c82jfh2nm] {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: var(--pub-gold-ink);
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pub-article__note--warn .pub-article__note-icon svg[b-5c82jfh2nm] {
    stroke: #c56a2c;
}

html[data-theme="dark"] .pub-article__note--warn .pub-article__note-icon svg[b-5c82jfh2nm] {
    stroke: #eda06a;
}

.pub-article__samples .pub-gallery[b-5c82jfh2nm] {
    gap: 18px;
    max-width: none;
    padding-top: 8px;
}

/* The gallery is made for a dark band; inside an article's light card its captions take the card's ink. */
.pub-article__samples .pub-poster__caption strong[b-5c82jfh2nm] {
    color: var(--pub-ink);
}

.pub-article__samples .pub-poster__caption p[b-5c82jfh2nm] {
    color: var(--pub-text);
}

.pub-article__samples .pub-poster__route[b-5c82jfh2nm] {
    border-color: rgba(226, 179, 63, .4);
    background: var(--pub-gold-soft);
    color: var(--pub-gold-ink);
}

/* subtitles are drawn for the dark band of the subtitle page; in an article they keep a band of their own */
/* pictures the app made, side by side; each grows by its width over its height, so a post's 3:4 and a story's 9:16 end on one line */
.pub-article__pictures[b-5c82jfh2nm] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--pub-line);
    border-radius: 22px;
    background:
        radial-gradient(70% 55% at 50% 0%, rgba(240, 191, 75, .12), transparent 70%),
        var(--pub-card);
}

    .pub-article__pictures figure[b-5c82jfh2nm] {
        display: grid;
        flex: 1 1 140px;
        gap: 8px;
        min-width: 0;
        margin: 0;
    }

    .pub-article__pictures img[b-5c82jfh2nm] {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 14px 30px rgba(59, 48, 23, .18);
    }

    .pub-article__pictures figcaption[b-5c82jfh2nm] {
        color: var(--pub-text);
        font-size: .8rem;
        line-height: 1.7;
    }

/* on a phone two a row, whatever their shape */
@media (max-width: 720px) {
    .pub-article__pictures[b-5c82jfh2nm] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 12px;
    }
}

.pub-article__cues[b-5c82jfh2nm] {
    display: grid;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    background:
        radial-gradient(70% 55% at 50% 0%, rgba(240, 191, 75, .14), transparent 70%),
        linear-gradient(180deg, #211a14 0%, #15110d 100%);
}

    .pub-article__cues .pub-passage[b-5c82jfh2nm] {
        padding: 18px 18px 20px;
    }

    /* the article is narrower than the band: the translation goes under the original */
    .pub-article__cues .pub-passage__body[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pub-article__cues .pub-passage__arrow[b-5c82jfh2nm] {
        height: 34px;
    }

        .pub-article__cues .pub-passage__arrow i[b-5c82jfh2nm]::after,
        .pub-page[dir="rtl"] .pub-article__cues .pub-passage__arrow i[b-5c82jfh2nm]::after {
            transform: translate(-50%, -65%) rotate(135deg);
        }

@media (max-width: 1020px) {
    .pub-article__layout[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pub-article__side[b-5c82jfh2nm] {
        position: static;
        max-height: none;
        overflow: visible;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .pub-guide-card[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .pub-article__samples .pub-gallery[b-5c82jfh2nm] {
        grid-auto-flow: row;
        grid-auto-columns: auto;
        grid-template-columns: minmax(0, 1fr);
        max-width: 420px;
        margin-inline: auto;
    }
}

@media (max-width: 640px) {
    .pub-article[b-5c82jfh2nm] {
        padding-top: 14px;
    }

    .pub-article__side[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pub-article__section[b-5c82jfh2nm] {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .pub-article__heading[b-5c82jfh2nm] {
        align-items: flex-start;
    }

    .pub-article__number[b-5c82jfh2nm] {
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }

    .pub-article__steps li[b-5c82jfh2nm] {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 12px;
    }

    .pub-article__steps[b-5c82jfh2nm]::before {
        inset-inline-start: 17px;
    }

    .pub-article__step-number[b-5c82jfh2nm] {
        width: 36px;
        height: 36px;
    }

    .pub-guide-card[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pub-guide-card__cover[b-5c82jfh2nm] {
        min-height: 210px;
    }

    .pub-guide-card__body[b-5c82jfh2nm] {
        padding: 22px 20px 24px;
    }
}

/* =========================================================
   TOOL PAGES (/ai-podcast-maker, /ai-research-paper-assistant)
   The voice studio page's sections, with each tool's own
   pictures: the podcast's script and its mix, the paper's
   manuscript and its checks. Timelines place each run with
   --s (where it starts) and --w (how long it is), in percent
   of the episode, along the reading direction.
   ========================================================= */

.pub-pod__host[b-5c82jfh2nm] {
    flex: none;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--pub-gold-soft);
    color: var(--pub-gold-ink);
    font-size: .68rem;
    font-weight: 800;
    font-style: normal;
    line-height: 1.7;
    white-space: nowrap;
}

.pub-pod__host--b[b-5c82jfh2nm] {
    background: rgba(183, 112, 45, .15);
    color: #8a4f17;
}

html[data-theme="dark"] .pub-pod__host--b[b-5c82jfh2nm] {
    background: rgba(240, 170, 100, .16);
    color: #f0b47a;
}

.pub-pod__turn--a[b-5c82jfh2nm] {
    background: linear-gradient(90deg, var(--pub-gold-1), var(--pub-gold-2));
}

.pub-pod__turn--b[b-5c82jfh2nm] {
    background: linear-gradient(90deg, #dfa462, #b36c27);
}

/* ---------- hero: the podcast's script and its mix ---------- */

.pub-pod__chapter[b-5c82jfh2nm] {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 2px 10px;
    border: 1px dashed rgba(226, 179, 63, .55);
    border-radius: 8px;
    color: var(--pub-gold-ink);
    font-size: .7rem;
    font-weight: 800;
}

.pub-pod__script[b-5c82jfh2nm] {
    display: grid;
    gap: 4px;
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
}

.pub-pod__line[b-5c82jfh2nm] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 5px 8px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--pub-ink);
    font-size: .8rem;
    line-height: 1.75;
    animation: pub-pod-say-b-5c82jfh2nm 8s ease-in-out infinite;
    animation-delay: calc(var(--t) * 2s);
}

    .pub-pod__line .pub-pod__host[b-5c82jfh2nm] {
        margin-top: 2px;
    }

.pub-pod__pause[b-5c82jfh2nm] {
    justify-self: center;
    padding: 1px 12px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: rgba(226, 179, 63, .1);
    color: var(--pub-gold-ink);
    font-size: .7rem;
    font-weight: 800;
    animation: pub-pod-say-b-5c82jfh2nm 8s ease-in-out infinite;
    animation-delay: calc(var(--t) * 2s);
}

@keyframes pub-pod-say-b-5c82jfh2nm {
    0%, 25%, 100% { border-color: transparent; background-color: transparent; }
    4%, 21% { border-color: rgba(226, 179, 63, .38); background-color: rgba(226, 179, 63, .1); }
}

.pub-pod__mix[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    gap: 5px;
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(226, 179, 63, .07);
}

    /* the playhead */
    .pub-pod__mix[b-5c82jfh2nm]::after {
        content: "";
        position: absolute;
        inset-block: 4px;
        inset-inline-start: 10px;
        width: 2px;
        border-radius: 2px;
        background: var(--pub-ink);
        animation: pub-pod-play-b-5c82jfh2nm 8s linear infinite;
    }

@keyframes pub-pod-play-b-5c82jfh2nm {
    from { inset-inline-start: 10px; }
    to { inset-inline-start: calc(100% - 12px); }
}

.pub-pod__track[b-5c82jfh2nm],
.art-pod-sound__lane[b-5c82jfh2nm],
.pub-pod-mixer__bar[b-5c82jfh2nm] {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 999px;
}

.pub-pod__track[b-5c82jfh2nm] {
    height: 9px;
    background: rgba(155, 125, 48, .1);
}

    .pub-pod__track i[b-5c82jfh2nm],
    .art-pod-sound__lane i[b-5c82jfh2nm],
    .pub-pod-mixer__bar i[b-5c82jfh2nm],
    .pub-pod-mixer__chapters span[b-5c82jfh2nm] {
        position: absolute;
        inset-block: 0;
        inset-inline-start: calc(var(--s) * 1%);
        width: calc(var(--w) * 1%);
    }

    .pub-pod__track i[b-5c82jfh2nm],
    .art-pod-sound__lane i[b-5c82jfh2nm],
    .pub-pod-mixer__bar i[b-5c82jfh2nm] {
        border-radius: 999px;
    }

.pub-pod__track--music i[b-5c82jfh2nm] {
    background: repeating-linear-gradient(90deg, rgba(155, 125, 48, .6) 0 2px, transparent 2px 4px);
}

/* ---------- hero: the paper's manuscript ---------- */

.pub-paper__text[b-5c82jfh2nm] {
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid var(--pub-line);
    border-radius: 14px;
    background: rgba(226, 179, 63, .05);
    color: var(--pub-ink);
    font-size: .82rem;
    line-height: 2;
}

.pub-paper__cite[b-5c82jfh2nm] {
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--pub-gold-soft);
    color: var(--pub-gold-ink);
    font-weight: 800;
}

/* what is missing stays highlighted, as in the Word file */
.pub-paper__gap[b-5c82jfh2nm] {
    padding: 1px 6px;
    border-radius: 6px;
    background: #fff0a0;
    color: #5c4600;
    font-weight: 700;
    box-shadow: 0 0 0 1px rgba(214, 170, 30, .45);
    animation: pub-paper-mark-b-5c82jfh2nm 2.6s ease-in-out infinite;
}

@keyframes pub-paper-mark-b-5c82jfh2nm {
    0%, 100% { box-shadow: 0 0 0 1px rgba(214, 170, 30, .45); }
    50% { box-shadow: 0 0 0 4px rgba(240, 200, 60, .28); }
}

.pub-paper__refs[b-5c82jfh2nm] {
    display: grid;
    gap: 6px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

    .pub-paper__refs li[b-5c82jfh2nm] {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 6px 10px;
        border: 1px solid transparent;
        border-radius: 12px;
        background: rgba(226, 179, 63, .06);
        color: var(--pub-text);
        font-size: .72rem;
    }

    .pub-paper__refs b[b-5c82jfh2nm] {
        display: grid;
        flex: none;
        place-items: center;
        width: 20px;
        height: 20px;
        border: 1px solid var(--pub-line);
        border-radius: 6px;
        background: var(--pub-card-solid);
        font-size: .68rem;
    }

    .pub-paper__refs em[b-5c82jfh2nm] {
        flex: none;
        padding: 1px 8px;
        border-radius: 999px;
        font-style: normal;
        font-weight: 800;
        white-space: nowrap;
    }

.pub-paper__lines[b-5c82jfh2nm] {
    display: grid;
    flex: 1 1 auto;
    gap: 4px;
}

    .pub-paper__lines i[b-5c82jfh2nm] {
        display: block;
        height: 5px;
        border-radius: 999px;
        background: rgba(155, 125, 48, .22);
    }

        .pub-paper__lines i + i[b-5c82jfh2nm] {
            width: 62%;
        }

.pub-paper__refs .is-found em[b-5c82jfh2nm],
.art-paper-refs__row.is-found em[b-5c82jfh2nm] {
    background: var(--pub-gold-soft);
    color: var(--pub-gold-ink);
}

.pub-paper__refs .is-missing[b-5c82jfh2nm] {
    border-style: dashed;
    border-color: rgba(196, 64, 52, .3);
    background: transparent;
}

.pub-paper__refs .is-missing em[b-5c82jfh2nm],
.art-paper-refs__row.is-missing em[b-5c82jfh2nm] {
    background: rgba(196, 64, 52, .12);
    color: #a8352a;
}

.pub-paper__refs .is-missing .pub-paper__lines i[b-5c82jfh2nm],
.art-paper-refs__row.is-missing .pub-paper__lines i[b-5c82jfh2nm] {
    background: rgba(196, 64, 52, .16);
}

html[data-theme="dark"] .pub-paper__refs .is-missing em[b-5c82jfh2nm],
html[data-theme="dark"] .art-paper-refs__row.is-missing em[b-5c82jfh2nm] {
    color: #ff9c8e;
}

.pub-paper__checklist[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pub-text);
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}

.pub-paper__meter[b-5c82jfh2nm] {
    flex: 1 1 auto;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(155, 125, 48, .12);
}

    .pub-paper__meter i[b-5c82jfh2nm] {
        display: block;
        width: 88%;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, var(--pub-gold-1), var(--pub-gold-2));
        transform-origin: left center;
        animation: pub-paper-fill-b-5c82jfh2nm 7s ease-in-out infinite;
    }

.pub-page[dir="rtl"] .pub-paper__meter i[b-5c82jfh2nm],
.pub-page[dir="rtl"] .art-paper-sections__bar i[b-5c82jfh2nm] {
    transform-origin: right center;
}

@keyframes pub-paper-fill-b-5c82jfh2nm {
    0% { transform: scaleX(.08); }
    55%, 100% { transform: scaleX(1); }
}

/* ---------- the podcast's cards ---------- */

/* a line of a script, drawn */
.art-pod-script__line[b-5c82jfh2nm] {
    display: block;
    flex: 1 1 auto;
    height: 7px;
    border-radius: 999px;
    background: rgba(155, 125, 48, .24);
}

    .art-pod-script__line.is-short[b-5c82jfh2nm] {
        max-width: 55%;
    }

    .art-pod-script__line.is-mid[b-5c82jfh2nm] {
        max-width: 72%;
    }

.art-pod-script[b-5c82jfh2nm] {
    display: grid;
    gap: 9px;
    width: min(380px, calc(100% - 40px));
}

.art-pod-script__chapter[b-5c82jfh2nm] {
    justify-self: start;
    padding: 3px 12px;
    border: 1px dashed rgba(240, 200, 92, .5);
    border-radius: 9px;
    color: #f0c85c;
    font-size: .74rem;
    font-weight: 800;
}

.art-pod-script__row[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 236, 190, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
    animation: pub-pod-row-b-5c82jfh2nm 8s ease-in-out infinite;
    animation-delay: calc(var(--t) * 2s);
}

    .art-pod-script__row .art-pod-script__line[b-5c82jfh2nm] {
        background: rgba(246, 236, 216, .26);
    }

    .art-pod-script__row .pub-pod__host[b-5c82jfh2nm] {
        background: rgba(240, 200, 92, .16);
        color: #f0c85c;
    }

    .art-pod-script__row .pub-pod__host--b[b-5c82jfh2nm] {
        background: rgba(240, 170, 100, .16);
        color: #f0b47a;
    }

    .art-pod-script__row .pub-voice-tag[b-5c82jfh2nm] {
        border-color: rgba(240, 200, 92, .5);
        background: rgba(240, 200, 92, .14);
        color: #f0c85c;
    }

.art-pod-script__pause[b-5c82jfh2nm] {
    justify-self: center;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(240, 200, 92, .14);
    color: #f0c85c;
    font-size: .9rem;
    font-weight: 800;
    animation: pub-pod-row-b-5c82jfh2nm 8s ease-in-out infinite;
    animation-delay: calc(var(--t) * 2s + 1s);
}

@keyframes pub-pod-row-b-5c82jfh2nm {
    0%, 25%, 100% { border-color: rgba(255, 236, 190, .1); box-shadow: none; }
    4%, 21% { border-color: rgba(240, 200, 92, .5); box-shadow: 0 0 0 3px rgba(240, 200, 92, .1); }
}

/* the four formats */
.art-pod-formats[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: calc(100% - 28px);
}

.art-pod-formats__card[b-5c82jfh2nm] {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 10px 6px;
    border: 1px solid var(--pub-line);
    border-radius: 14px;
    background: var(--pub-card-solid);
    color: var(--pub-ink);
    font-size: .74rem;
    font-weight: 800;
    text-align: center;
    animation: pub-pod-pick-b-5c82jfh2nm 8s ease-in-out infinite;
    animation-delay: calc(var(--t) * 2s);
}

@keyframes pub-pod-pick-b-5c82jfh2nm {
    0%, 25%, 100% { border-color: var(--pub-line); box-shadow: none; }
    4%, 21% { border-color: rgba(226, 179, 63, .7); box-shadow: 0 8px 18px rgba(214, 159, 34, .18); }
}

.art-pod-formats__people[b-5c82jfh2nm] {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 14px;
}

    .art-pod-formats__people i[b-5c82jfh2nm] {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    }

        .art-pod-formats__people i:nth-child(2)[b-5c82jfh2nm] {
            background: linear-gradient(135deg, #dfa462, #b36c27);
        }

        .art-pod-formats__people i.is-doc[b-5c82jfh2nm] {
            width: 10px;
            height: 13px;
            border-radius: 2px;
            background: rgba(155, 125, 48, .35);
        }

/* one to three hosts */
.art-pod-hosts[b-5c82jfh2nm] {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 14px;
    padding-top: 22px;
}

.art-pod-hosts__host[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 8px;
}

.art-pod-hosts__face[b-5c82jfh2nm] {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    box-shadow: 0 10px 20px rgba(214, 159, 34, .25);
    animation: pub-pod-talk-b-5c82jfh2nm 6s ease-in-out infinite;
    animation-delay: calc(var(--t) * 2s);
}

    .art-pod-hosts__face.is-b[b-5c82jfh2nm] {
        background: linear-gradient(135deg, #e3ab6c, #b36c27);
    }

    .art-pod-hosts__face[b-5c82jfh2nm]  svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: #2b210d;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

@keyframes pub-pod-talk-b-5c82jfh2nm {
    0%, 30%, 100% { transform: scale(1); box-shadow: 0 10px 20px rgba(214, 159, 34, .25); }
    8%, 22% { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(240, 191, 75, .18); }
}

.pub-wave--host[b-5c82jfh2nm] {
    width: 50px;
    height: 20px;
    gap: 2px;
}

.art-pod-hosts__badge[b-5c82jfh2nm] {
    position: absolute;
    inset-block-start: -26px;
    padding: 2px 9px;
    border: 1px solid rgba(226, 179, 63, .45);
    border-radius: 999px;
    background: var(--pub-card-solid);
    color: var(--pub-ink);
    font-size: .66rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 6px 14px rgba(59, 48, 23, .12);
}

/* the music softens under the voices */
.art-pod-sound[b-5c82jfh2nm] {
    display: grid;
    gap: 8px;
    width: calc(100% - 32px);
}

.art-pod-sound__lane[b-5c82jfh2nm] {
    height: 12px;
    background: rgba(155, 125, 48, .09);
}

.art-pod-sound__music[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 46px;
}

    .art-pod-sound__music i[b-5c82jfh2nm] {
        flex: 1 1 0;
        min-width: 2px;
        height: calc(var(--h) * 100%);
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(214, 159, 34, .75), rgba(155, 125, 48, .4));
        animation: pub-voice-bar-b-5c82jfh2nm 1.6s ease-in-out infinite;
        animation-delay: calc(var(--b) * -.09s);
    }

        .art-pod-sound__music i.is-under[b-5c82jfh2nm] {
            background: rgba(155, 125, 48, .28);
        }

.art-pod-sound__legend[b-5c82jfh2nm] {
    display: flex;
    justify-content: space-between;
    color: var(--pub-muted);
    font-size: .66rem;
    font-weight: 800;
}

/* one line read again, in its place */
.art-pod-reread[b-5c82jfh2nm] {
    display: grid;
    gap: 8px;
    width: calc(100% - 32px);
}

.art-pod-reread__row[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid var(--pub-line);
    border-radius: 12px;
    background: var(--pub-card-solid);
}

    .art-pod-reread__row.is-new[b-5c82jfh2nm] {
        border-color: rgba(226, 179, 63, .65);
        box-shadow: 0 8px 18px rgba(214, 159, 34, .16);
    }

.pub-wave--reread[b-5c82jfh2nm] {
    flex: 1 1 auto;
    height: 22px;
    gap: 2px;
}

.art-pod-reread__again[b-5c82jfh2nm] {
    display: grid;
    flex: none;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
}

    .art-pod-reread__again[b-5c82jfh2nm]  svg {
        width: 14px;
        height: 14px;
        fill: none;
        stroke: #2b210d;
        stroke-width: 2.4;
        stroke-linecap: round;
        stroke-linejoin: round;
        animation: pub-pod-spin-b-5c82jfh2nm 3s ease-in-out infinite;
    }

@keyframes pub-pod-spin-b-5c82jfh2nm {
    0%, 30% { transform: rotate(0); }
    60%, 100% { transform: rotate(360deg); }
}

/* the feed and its files */
.art-pod-publish[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 150px;
}

.art-pod-publish__feed[b-5c82jfh2nm] {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    box-shadow: 0 14px 30px rgba(214, 159, 34, .35);
}

    .art-pod-publish__feed[b-5c82jfh2nm]  svg {
        width: 26px;
        height: 26px;
        fill: none;
        stroke: #2b210d;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.art-pod-publish__file[b-5c82jfh2nm] {
    position: absolute;
    padding: 2px 9px;
    border: 1px solid var(--pub-line);
    border-radius: 8px;
    background: var(--pub-card-solid);
    color: var(--pub-text);
    font-size: .68rem;
    font-weight: 800;
    box-shadow: 0 6px 14px rgba(59, 48, 23, .1);
    animation: pub-float-b-5c82jfh2nm 5s ease-in-out infinite;
}

.art-pod-publish__file--1[b-5c82jfh2nm] { top: 16%; left: 12%; }
.art-pod-publish__file--2[b-5c82jfh2nm] { top: 20%; right: 12%; animation-delay: -1.2s; }
.art-pod-publish__file--3[b-5c82jfh2nm] { bottom: 16%; left: 18%; animation-delay: -2.4s; }
.art-pod-publish__file--4[b-5c82jfh2nm] { bottom: 14%; right: 16%; animation-delay: -3.6s; }

/* ---------- the paper's cards ---------- */

/* the sections, written one after another */
.art-paper-sections[b-5c82jfh2nm] {
    display: grid;
    gap: 10px;
    width: min(360px, calc(100% - 40px));
}

.art-paper-sections__row[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 236, 190, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
    color: var(--pub-dark-ink);
    font-size: .78rem;
}

    .art-paper-sections__row b[b-5c82jfh2nm] {
        font-weight: 800;
    }

    .art-paper-sections__row svg[b-5c82jfh2nm] {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: #f0c85c;
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
        animation: pub-paper-done-b-5c82jfh2nm 10s ease infinite;
        animation-delay: calc(var(--t) * 1.4s);
    }

.art-paper-sections__bar[b-5c82jfh2nm] {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(246, 236, 216, .14);
}

    .art-paper-sections__bar i[b-5c82jfh2nm] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, #f0c85c, #d69f22);
        transform: scaleX(0);
        transform-origin: left center;
        animation: pub-paper-write-b-5c82jfh2nm 10s ease-in-out infinite;
        animation-delay: calc(var(--t) * 1.4s);
    }

@keyframes pub-paper-write-b-5c82jfh2nm {
    0% { transform: scaleX(0); }
    12%, 85% { transform: scaleX(1); }
    100% { transform: scaleX(0); }
}

@keyframes pub-paper-done-b-5c82jfh2nm {
    0%, 11% { opacity: 0; transform: scale(.5); }
    15%, 85% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(.5); }
}

/* references: found, or not */
.art-paper-refs[b-5c82jfh2nm] {
    display: grid;
    gap: 8px;
    width: calc(100% - 28px);
}

.art-paper-refs__row[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid var(--pub-line);
    border-radius: 12px;
    background: var(--pub-card-solid);
    font-size: .7rem;
}

    .art-paper-refs__row code[b-5c82jfh2nm] {
        padding: 1px 6px;
        border-radius: 6px;
        background: rgba(226, 179, 63, .14);
        color: var(--pub-gold-ink);
        font-family: Consolas, "Cascadia Mono", monospace;
        font-weight: 700;
    }

    .art-paper-refs__row em[b-5c82jfh2nm] {
        display: grid;
        flex: none;
        place-items: center;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        font-style: normal;
        font-weight: 900;
        animation: pub-paper-pop-b-5c82jfh2nm 6s ease infinite;
        animation-delay: calc(var(--t) * .8s);
    }

    .art-paper-refs__row.is-missing[b-5c82jfh2nm] {
        border-style: dashed;
        border-color: rgba(196, 64, 52, .35);
        background: transparent;
    }

@keyframes pub-paper-pop-b-5c82jfh2nm {
    0%, 8% { opacity: .2; transform: scale(.6); }
    14%, 86% { opacity: 1; transform: scale(1); }
    100% { opacity: .2; transform: scale(.6); }
}

/* a gap where the material says nothing */
.art-paper-gap[b-5c82jfh2nm] {
    display: grid;
    gap: 10px;
    width: calc(100% - 36px);
}

.art-paper-gap__row[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .art-paper-gap__row .pub-paper__gap[b-5c82jfh2nm] {
        font-size: .72rem;
        white-space: nowrap;
    }

/* a reporting checklist, ticked */
.art-paper-check[b-5c82jfh2nm] {
    display: grid;
    gap: 8px;
    width: calc(100% - 36px);
}

.art-paper-check__name[b-5c82jfh2nm] {
    justify-self: start;
    padding: 2px 10px;
    border-radius: 8px;
    background: rgba(226, 179, 63, .14);
    color: var(--pub-gold-ink);
    font-size: .7rem;
    font-weight: 800;
}

.art-paper-check__item[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .art-paper-check__item svg[b-5c82jfh2nm] {
        flex: none;
        width: 18px;
        height: 18px;
        padding: 2.5px;
        border-radius: 50%;
        background: var(--pub-gold-soft);
        fill: none;
        stroke: var(--pub-gold-ink);
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
        animation: pub-paper-pop-b-5c82jfh2nm 8s ease infinite;
        animation-delay: calc(var(--t) * .9s);
    }

/* one citation, in three styles */
.art-paper-styles[b-5c82jfh2nm] {
    display: grid;
    justify-items: center;
    gap: 12px;
}

.art-paper-styles__cite[b-5c82jfh2nm] {
    display: grid;
    place-items: center;
    min-width: 150px;
    height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(226, 179, 63, .5);
    border-radius: 12px;
    background: var(--pub-card-solid);
    box-shadow: 0 10px 22px rgba(59, 48, 23, .1);
}

    .art-paper-styles__cite b[b-5c82jfh2nm] {
        grid-area: 1 / 1;
        color: var(--pub-ink);
        font-family: Georgia, "Times New Roman", serif;
        font-size: .95rem;
        font-weight: 600;
        white-space: nowrap;
        opacity: 0;
        animation: pub-paper-swap-b-5c82jfh2nm 7.5s ease-in-out infinite;
        animation-delay: calc(var(--t) * 2.5s);
    }

.art-paper-styles__names[b-5c82jfh2nm] {
    display: flex;
    gap: 6px;
}

    .art-paper-styles__names i[b-5c82jfh2nm] {
        padding: 2px 8px;
        border: 1px solid var(--pub-line);
        border-radius: 999px;
        color: var(--pub-muted);
        font-size: .66rem;
        font-style: normal;
        font-weight: 800;
        animation: pub-paper-name-b-5c82jfh2nm 7.5s ease-in-out infinite;
        animation-delay: calc(var(--t) * 2.5s);
    }

/* each style holds the chip for a third of the cycle, crossing into the next */
@keyframes pub-paper-swap-b-5c82jfh2nm {
    0%, 36%, 100% { opacity: 0; transform: translateY(6px); }
    3%, 31% { opacity: 1; transform: none; }
}

@keyframes pub-paper-name-b-5c82jfh2nm {
    0%, 36%, 100% { border-color: var(--pub-line); background-color: transparent; color: var(--pub-muted); }
    3%, 31% { border-color: rgba(226, 179, 63, .6); background-color: rgba(226, 179, 63, .12); color: var(--pub-gold-ink); }
}

/* the Word file: two columns under a boxed abstract */
.art-paper-word[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    gap: 7px;
    width: 124px;
    padding: 14px 12px;
    border: 1px solid var(--pub-line);
    border-radius: 8px;
    background: var(--pub-card-solid);
    box-shadow: 0 16px 30px rgba(59, 48, 23, .14);
    transform: rotate(-3deg);
    animation: pub-float-b-5c82jfh2nm 6s ease-in-out infinite;
}

.art-paper-word__title[b-5c82jfh2nm] {
    display: block;
    justify-self: center;
    width: 80%;
    height: 7px;
    border-radius: 999px;
    background: rgba(59, 48, 23, .5);
}

html[data-theme="dark"] .art-paper-word__title[b-5c82jfh2nm] {
    background: rgba(246, 236, 216, .55);
}

.art-paper-word__abstract[b-5c82jfh2nm] {
    display: block;
    height: 22px;
    border: 1px solid rgba(226, 179, 63, .35);
    border-radius: 4px;
    background: rgba(226, 179, 63, .16);
}

.art-paper-word__columns[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

    .art-paper-word__columns span[b-5c82jfh2nm] {
        display: grid;
        align-content: start;
        gap: 4px;
    }

    .art-paper-word__columns i[b-5c82jfh2nm] {
        display: block;
        height: 4px;
        border-radius: 999px;
        background: rgba(155, 125, 48, .3);
    }

        .art-paper-word__columns i.is-figure[b-5c82jfh2nm] {
            height: 18px;
            border-radius: 3px;
            background: linear-gradient(135deg, rgba(240, 191, 75, .55), rgba(214, 159, 34, .35));
        }

.art-paper-word__badge[b-5c82jfh2nm] {
    position: absolute;
    inset-block-end: -10px;
    inset-inline-end: -16px;
    padding: 2px 8px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--pub-gold-1), var(--pub-gold-2));
    color: #2b210d;
    font-size: .66rem;
    font-weight: 900;
}

/* ---------- the dark card ---------- */

.pub-tool-points svg[b-5c82jfh2nm] {
    flex: none;
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #f0c85c;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* the podcast's mix: chapters, voices, music and the background */
.pub-pod-mixer__chapters[b-5c82jfh2nm] {
    position: relative;
    height: 22px;
    margin-bottom: 10px;
    margin-inline-start: 88px;
}

    .pub-pod-mixer__chapters span[b-5c82jfh2nm] {
        overflow: hidden;
        padding-inline-start: 6px;
        border-inline-start: 1px dashed rgba(240, 200, 92, .45);
        color: var(--pub-dark-text);
        font-size: .68rem;
        font-weight: 800;
        line-height: 22px;
        white-space: nowrap;
    }

.pub-pod-mixer__lane[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

    .pub-pod-mixer__lane b[b-5c82jfh2nm] {
        color: var(--pub-dark-ink);
        font-size: .72rem;
        font-weight: 800;
    }

.pub-pod-mixer__bar[b-5c82jfh2nm] {
    height: 14px;
    background: rgba(255, 255, 255, .06);
}

    .pub-pod-mixer__bar[b-5c82jfh2nm]::after {
        content: "";
        position: absolute;
        inset-block: 0;
        inset-inline-start: 0;
        width: 2px;
        background: #fff6dc;
        box-shadow: 0 0 8px rgba(240, 200, 92, .8);
        animation: pub-pod-sweep-b-5c82jfh2nm 10s linear infinite;
    }

@keyframes pub-pod-sweep-b-5c82jfh2nm {
    from { inset-inline-start: 0; }
    to { inset-inline-start: calc(100% - 2px); }
}

.pub-pod-mixer__bar--music i[b-5c82jfh2nm] {
    background: linear-gradient(90deg, #f0c85c, #d69f22);
}

.pub-pod-mixer__bar--bed i[b-5c82jfh2nm] {
    background: repeating-linear-gradient(90deg, rgba(240, 200, 92, .55) 0 3px, rgba(240, 200, 92, .18) 3px 6px);
}

/* the checks a paper passes before it goes */
.pub-paper-report__list[b-5c82jfh2nm] {
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.pub-paper-report__item[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    color: var(--pub-dark-ink);
    font-size: .86rem;
    line-height: 1.7;
    animation: pub-voice-say-b-5c82jfh2nm 9s ease-in-out infinite;
    animation-delay: calc(var(--t) * 1.5s);
}

.pub-paper-report__mark[b-5c82jfh2nm] {
    display: grid;
    flex: none;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: .74rem;
    font-weight: 900;
}

.is-ok .pub-paper-report__mark[b-5c82jfh2nm] {
    background: rgba(240, 200, 92, .16);
    color: #f0c85c;
}

.is-warn .pub-paper-report__mark[b-5c82jfh2nm] {
    background: rgba(255, 170, 120, .16);
    color: #ffb48a;
}

.pub-paper__checklist--dark[b-5c82jfh2nm] {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 236, 190, .1);
    color: var(--pub-dark-text);
}

    .pub-paper__checklist--dark .pub-paper__meter[b-5c82jfh2nm] {
        background: rgba(255, 255, 255, .08);
    }

/* ---------- smaller screens ---------- */

@media (max-width: 640px) {
    .pub-pod__line[b-5c82jfh2nm] {
        font-size: .74rem;
    }

    .pub-paper__text[b-5c82jfh2nm] {
        font-size: .76rem;
    }

    .art-paper-sections__row[b-5c82jfh2nm] {
        grid-template-columns: 74px minmax(0, 1fr) 18px;
    }

    .pub-pod-mixer__chapters[b-5c82jfh2nm] {
        margin-inline-start: 72px;
    }

    .pub-pod-mixer__lane[b-5c82jfh2nm] {
        grid-template-columns: 62px minmax(0, 1fr);
    }

    .pub-paper-report__item[b-5c82jfh2nm] {
        font-size: .8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pub-pod__line[b-5c82jfh2nm],
    .pub-pod__pause[b-5c82jfh2nm],
    .pub-pod__mix[b-5c82jfh2nm]::after,
    .pub-paper__gap[b-5c82jfh2nm],
    .pub-paper__meter i[b-5c82jfh2nm],
    .art-pod-script__row[b-5c82jfh2nm],
    .art-pod-script__pause[b-5c82jfh2nm],
    .art-pod-formats__card[b-5c82jfh2nm],
    .art-pod-hosts__face[b-5c82jfh2nm],
    .art-pod-sound__music i[b-5c82jfh2nm],
    .art-pod-reread__again[b-5c82jfh2nm]  svg,
    .art-pod-publish__file[b-5c82jfh2nm],
    .art-paper-sections__row svg[b-5c82jfh2nm],
    .art-paper-sections__bar i[b-5c82jfh2nm],
    .art-paper-refs__row em[b-5c82jfh2nm],
    .art-paper-check__item svg[b-5c82jfh2nm],
    .art-paper-styles__cite b[b-5c82jfh2nm],
    .art-paper-styles__names i[b-5c82jfh2nm],
    .art-paper-word[b-5c82jfh2nm],
    .pub-pod-mixer__bar[b-5c82jfh2nm]::after,
    .pub-paper-report__item[b-5c82jfh2nm] {
        animation: none;
    }

    .pub-pod__mix[b-5c82jfh2nm]::after,
    .pub-pod-mixer__bar[b-5c82jfh2nm]::after {
        display: none;
    }

    .art-paper-sections__bar i[b-5c82jfh2nm] {
        transform: none;
    }

    .art-paper-styles__cite b:first-child[b-5c82jfh2nm] {
        opacity: 1;
    }
}


/* =========================================================
   THE TOOLBOX (/online-tools)
   The page's own pictures, and its list of every tool. The
   tags say what the tools' settings say, so a tool the
   administrator priced isn't called free here. The sweeps are
   written with the picture's own left and right (dir="ltr" on
   them): they don't change with the page's direction.
   ========================================================= */

/* ---------- hero: a file, and what can be done with it ---------- */

.pub-toolbox__icon[b-5c82jfh2nm] {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: var(--pub-gold-soft);
    color: var(--pub-gold-ink);
}

    .pub-toolbox__icon[b-5c82jfh2nm]  svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pub-toolbox__file[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1.5px dashed rgba(226, 179, 63, .55);
    border-radius: 14px;
    background: rgba(226, 179, 63, .06);
    color: var(--pub-ink);
    font-size: .8rem;
}

    .pub-toolbox__file b[b-5c82jfh2nm] {
        font-weight: 800;
    }

    .pub-toolbox__file i[b-5c82jfh2nm] {
        width: 8px;
        height: 8px;
        margin-inline-start: auto;
        border-radius: 50%;
        background: #3f9a63;
        box-shadow: 0 0 0 4px rgba(63, 154, 99, .16);
    }

.pub-toolbox__ask[b-5c82jfh2nm] {
    display: block;
    margin: 12px 2px 7px;
    color: var(--pub-muted);
    font-size: .73rem;
    font-weight: 800;
}

.pub-toolbox__list[b-5c82jfh2nm] {
    display: grid;
    gap: 6px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.pub-toolbox__pick[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px 6px 8px;
    border: 1px solid var(--pub-line);
    border-radius: 14px;
    color: var(--pub-ink);
    font-size: .8rem;
    animation: pub-toolbox-pick-b-5c82jfh2nm 8s ease-in-out infinite;
    animation-delay: calc(var(--t) * 2s);
}

    .pub-toolbox__pick b[b-5c82jfh2nm] {
        flex: 1 1 auto;
        min-width: 0;
        font-weight: 800;
    }

@keyframes pub-toolbox-pick-b-5c82jfh2nm {
    0%, 25%, 100% { border-color: var(--pub-line); background-color: transparent; }
    4%, 21% { border-color: rgba(226, 179, 63, .6); background-color: rgba(226, 179, 63, .1); }
}

.pub-toolbox__meter[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pub-muted);
    font-size: .72rem;
    font-weight: 700;
}

    .pub-toolbox__meter i[b-5c82jfh2nm] {
        flex: 1 1 auto;
        height: 7px;
        overflow: hidden;
        border-radius: 999px;
        background: rgba(226, 179, 63, .14);
    }

    .pub-toolbox__meter u[b-5c82jfh2nm] {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, var(--pub-gold-1), var(--pub-gold-2));
        transform-origin: left;
        animation: pub-toolbox-fill-b-5c82jfh2nm 5s ease-in-out infinite;
    }

.pub-page[dir="rtl"] .pub-toolbox__meter u[b-5c82jfh2nm] {
    transform-origin: right;
}

@keyframes pub-toolbox-fill-b-5c82jfh2nm {
    0% { transform: scaleX(.08); }
    70%, 100% { transform: scaleX(1); }
}

/* ---------- free, or with credit ---------- */

.pub-tools__tag[b-5c82jfh2nm] {
    flex: none;
    padding: 1px 9px;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
    font-style: normal;
    line-height: 1.8;
    white-space: nowrap;
}

    .pub-tools__tag.is-free[b-5c82jfh2nm] {
        background: rgba(47, 122, 75, .12);
        color: #2a6e43;
    }

    .pub-tools__tag.is-credit[b-5c82jfh2nm] {
        background: var(--pub-gold-soft);
        color: var(--pub-gold-ink);
    }

html[data-theme="dark"] .pub-tools__tag.is-free[b-5c82jfh2nm] {
    background: rgba(120, 210, 150, .14);
    color: #8fdcae;
}

/* ---------- the whole list ---------- */

.pub-tools[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.pub-tools__group[b-5c82jfh2nm] {
    position: relative;
    padding: 24px 16px 14px;
    border: 1px solid var(--pub-line);
    border-radius: 26px;
    background: var(--pub-card);
    box-shadow: var(--pub-shadow);
}

    .pub-tools__group h3[b-5c82jfh2nm] {
        margin: 0 10px 10px;
        color: var(--pub-ink);
        font-size: 1.12rem;
        font-weight: 800;
    }

    .pub-tools__group ul[b-5c82jfh2nm] {
        display: grid;
        gap: 2px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .pub-tools__group a[b-5c82jfh2nm] {
        display: flex;
        align-items: center;
        gap: 13px;
        padding: 10px;
        border-radius: 16px;
        color: inherit;
        text-decoration: none;
        transition: background-color .2s ease;
    }

        .pub-tools__group a:hover[b-5c82jfh2nm],
        .pub-tools__group a:focus-visible[b-5c82jfh2nm] {
            background: var(--pub-gold-soft);
        }

.pub-tools__icon[b-5c82jfh2nm] {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: var(--pub-gold-soft);
    color: var(--pub-gold-ink);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}

    .pub-tools__icon[b-5c82jfh2nm]  svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pub-tools__group a:hover .pub-tools__icon[b-5c82jfh2nm] {
    transform: translateY(-2px);
}

.pub-tools__name[b-5c82jfh2nm] {
    display: grid;
    flex: 1 1 auto;
    gap: 1px;
    min-width: 0;
}

    .pub-tools__name strong[b-5c82jfh2nm] {
        color: var(--pub-ink);
        font-size: .96rem;
        font-weight: 800;
    }

    .pub-tools__name small[b-5c82jfh2nm] {
        color: var(--pub-text);
        font-size: .8rem;
        line-height: 1.65;
    }

/* ---------- the little pictures ---------- */

.art-tools-upscale[b-5c82jfh2nm],
.art-tools-cutout[b-5c82jfh2nm] {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.art-tools-upscale[b-5c82jfh2nm] {
    background: #2b2233;
}

    .art-tools-upscale img[b-5c82jfh2nm] {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.art-tools-upscale__low[b-5c82jfh2nm] {
    image-rendering: pixelated;
}

.art-tools-upscale__high[b-5c82jfh2nm] {
    clip-path: inset(0 0 0 58%);
    animation: pub-tools-sweep-b-5c82jfh2nm 8s ease-in-out infinite;
}

.art-tools-upscale__line[b-5c82jfh2nm] {
    position: absolute;
    inset-block: 0;
    left: 58%;
    width: 2px;
    background: #fff;
    box-shadow: 0 0 14px rgba(255, 255, 255, .8);
    animation: pub-tools-sweep-line-b-5c82jfh2nm 8s ease-in-out infinite;
}

@keyframes pub-tools-sweep-b-5c82jfh2nm {
    0%, 100% { clip-path: inset(0 0 0 58%); }
    50% { clip-path: inset(0 0 0 24%); }
}

@keyframes pub-tools-sweep-line-b-5c82jfh2nm {
    0%, 100% { left: 58%; }
    50% { left: 24%; }
}

.art-tools-upscale__tag[b-5c82jfh2nm] {
    position: absolute;
    bottom: 12px;
    padding: 2px 11px;
    border-radius: 999px;
    background: rgba(20, 16, 12, .66);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
}

.art-tools-upscale__tag--low[b-5c82jfh2nm] {
    left: 12px;
}

.art-tools-upscale__tag--high[b-5c82jfh2nm] {
    right: 12px;
}

.art-tools-cutout[b-5c82jfh2nm] {
    background: repeating-conic-gradient(#e6dfd0 0 25%, #fbf8f1 0 50%) 0 0 / 22px 22px;
}

html[data-theme="dark"] .art-tools-cutout[b-5c82jfh2nm] {
    background: repeating-conic-gradient(#3b3127 0 25%, #2a221a 0 50%) 0 0 / 22px 22px;
}

.art-tools-cutout__photo[b-5c82jfh2nm] {
    position: absolute;
    inset: 0;
    background: url("/assets/tools/scene-sharp.webp") center / cover;
    animation: pub-tools-wipe-b-5c82jfh2nm 7s ease-in-out infinite;
}

.art-tools-cutout__subject[b-5c82jfh2nm] {
    position: absolute;
    top: 9%;
    left: 50%;
    height: 82%;
    transform: translateX(-50%);
    filter: drop-shadow(0 8px 12px rgba(30, 20, 8, .28));
}

    .art-tools-cutout__subject path[b-5c82jfh2nm] {
        fill: #d59a27;
    }

    .art-tools-cutout__subject .is-cap[b-5c82jfh2nm] {
        fill: #4a3526;
    }

    .art-tools-cutout__subject .is-label[b-5c82jfh2nm] {
        fill: #fff7e6;
    }

.art-tools-cutout__line[b-5c82jfh2nm] {
    position: absolute;
    inset-block: 0;
    left: 100%;
    width: 2px;
    background: #fff;
    box-shadow: 0 0 14px rgba(255, 255, 255, .8);
    animation: pub-tools-wipe-line-b-5c82jfh2nm 7s ease-in-out infinite;
}

@keyframes pub-tools-wipe-b-5c82jfh2nm {
    0%, 12% { clip-path: inset(0 0 0 0); }
    50%, 86% { clip-path: inset(0 100% 0 0); }
    100% { clip-path: inset(0 0 0 0); }
}

@keyframes pub-tools-wipe-line-b-5c82jfh2nm {
    0%, 12% { left: 100%; }
    50%, 86% { left: 0; }
    100% { left: 100%; }
}

.art-tools-convert[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 10px;
}

.art-tools-convert__arrow[b-5c82jfh2nm] {
    flex: none;
    color: var(--pub-gold-ink);
}

    .art-tools-convert__arrow[b-5c82jfh2nm]  svg {
        display: block;
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pub-page[dir="rtl"] .art-tools-convert__arrow[b-5c82jfh2nm]  svg {
    transform: scaleX(-1);
}

.art-tools-sheet[b-5c82jfh2nm] {
    display: grid;
    flex: 0 1 92px;
    gap: 5px;
    min-width: 0;
    padding: 9px;
    border: 1px solid var(--pub-line);
    border-radius: 10px;
    background: var(--pub-card-solid);
    box-shadow: 0 10px 22px rgba(87, 64, 22, .1);
}

    .art-tools-sheet b[b-5c82jfh2nm] {
        justify-self: start;
        padding: 0 6px;
        border-radius: 5px;
        color: #fff;
        font-size: .62rem;
        font-weight: 800;
        line-height: 1.7;
    }

    .art-tools-sheet > i[b-5c82jfh2nm] {
        height: 4px;
        border-radius: 2px;
        background: rgba(155, 125, 48, .28);
    }

.art-tools-sheet--pdf b[b-5c82jfh2nm] {
    background: #b9442c;
}

.art-tools-sheet--word[b-5c82jfh2nm] {
    animation: pub-tools-land-b-5c82jfh2nm 5s ease-in-out infinite;
}

    .art-tools-sheet--word b[b-5c82jfh2nm] {
        background: #2f5f9e;
    }

.art-tools-sheet__table[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
}

    .art-tools-sheet__table u[b-5c82jfh2nm] {
        height: 9px;
        border-radius: 2px;
        background: rgba(226, 179, 63, .3);
    }

@keyframes pub-tools-land-b-5c82jfh2nm {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.art-tools-compress[b-5c82jfh2nm] {
    display: grid;
    gap: 9px;
    width: 100%;
    padding: 16px 18px;
}

.art-tools-compress__row[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) 70px;
    align-items: center;
    gap: 8px;
    color: var(--pub-text);
    font-size: .7rem;
}

    .art-tools-compress__row b[b-5c82jfh2nm] {
        color: var(--pub-ink);
        font-weight: 800;
    }

    .art-tools-compress__row span[b-5c82jfh2nm] {
        height: 9px;
        overflow: hidden;
        border-radius: 999px;
        background: rgba(226, 179, 63, .13);
    }

    .art-tools-compress__row i[b-5c82jfh2nm] {
        display: block;
        width: var(--size);
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, var(--pub-gold-1), var(--pub-gold-2));
        animation: pub-tools-shrink-b-5c82jfh2nm 6s ease-in-out infinite;
        animation-delay: calc(var(--t) * .2s);
    }

    .art-tools-compress__row em[b-5c82jfh2nm] {
        font-style: normal;
        font-weight: 700;
        text-align: end;
        white-space: nowrap;
    }

@keyframes pub-tools-shrink-b-5c82jfh2nm {
    0%, 8% { width: 100%; }
    34%, 90% { width: var(--size); }
    100% { width: 100%; }
}

.art-tools-ocr[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px;
}

.art-tools-ocr__scan[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    gap: 8px;
    padding: 13px 12px;
    overflow: hidden;
    border: 1px solid var(--pub-line);
    border-radius: 10px;
    background: var(--pub-card-solid);
    transform: rotate(-2deg);
}

    .art-tools-ocr__scan i[b-5c82jfh2nm] {
        height: 6px;
        border-radius: 2px;
        background: rgba(90, 74, 40, .4);
        filter: blur(1.2px);
    }

html[data-theme="dark"] .art-tools-ocr__scan i[b-5c82jfh2nm] {
    background: rgba(226, 200, 150, .36);
}

        .art-tools-ocr__scan i:nth-child(2)[b-5c82jfh2nm] {
            width: 78%;
        }

        .art-tools-ocr__scan i:nth-child(4)[b-5c82jfh2nm] {
            width: 56%;
        }

    .art-tools-ocr__scan u[b-5c82jfh2nm] {
        position: absolute;
        inset-inline: 0;
        top: 6%;
        height: 2px;
        background: var(--pub-gold-2);
        box-shadow: 0 0 12px var(--pub-gold-1);
        animation: pub-tools-beam-b-5c82jfh2nm 3.4s ease-in-out infinite alternate;
    }

@keyframes pub-tools-beam-b-5c82jfh2nm {
    from { top: 6%; }
    to { top: 90%; }
}

.art-tools-ocr__text[b-5c82jfh2nm] {
    display: grid;
    gap: 6px;
    color: var(--pub-ink);
    font-size: .76rem;
}

    .art-tools-ocr__text b[b-5c82jfh2nm] {
        font-weight: 700;
        animation: pub-tools-read-b-5c82jfh2nm 6s ease-in-out infinite;
        animation-delay: calc(var(--t) * .6s);
    }

@keyframes pub-tools-read-b-5c82jfh2nm {
    0% { opacity: 0; transform: translateY(4px); }
    12%, 88% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}

.art-tools-clean[b-5c82jfh2nm] {
    display: grid;
    gap: 10px;
    width: 100%;
    padding: 14px 18px;
}

.art-tools-clean__lane[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    color: var(--pub-text);
    font-size: .7rem;
}

    .art-tools-clean__lane b[b-5c82jfh2nm] {
        font-weight: 800;
    }

.pub-wave--noisy[b-5c82jfh2nm],
.pub-wave--clean[b-5c82jfh2nm] {
    gap: 2px;
    height: 42px;
}

    .pub-wave--noisy i[b-5c82jfh2nm] {
        background: linear-gradient(180deg, #c9b99c, #958b7b);
    }

@media (max-width: 760px) {
    .pub-tools[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pub-tools__group[b-5c82jfh2nm] {
        padding: 20px 8px 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pub-toolbox__pick[b-5c82jfh2nm],
    .pub-toolbox__meter u[b-5c82jfh2nm],
    .art-tools-upscale__high[b-5c82jfh2nm],
    .art-tools-upscale__line[b-5c82jfh2nm],
    .art-tools-cutout__photo[b-5c82jfh2nm],
    .art-tools-cutout__line[b-5c82jfh2nm],
    .art-tools-sheet--word[b-5c82jfh2nm],
    .art-tools-compress__row i[b-5c82jfh2nm],
    .art-tools-ocr__scan u[b-5c82jfh2nm],
    .art-tools-ocr__text b[b-5c82jfh2nm] {
        animation: none;
    }

    .art-tools-cutout__photo[b-5c82jfh2nm] {
        clip-path: inset(0 45% 0 0);
    }

    .art-tools-cutout__line[b-5c82jfh2nm] {
        left: 55%;
    }
}

/* =========================================================
   THE INSTAGRAM STUDIO (/ai-instagram-post-maker)
   The pictures are a real pack the studio made for a made-up
   brand: the hero's phone swipes through its post and two
   slides, beside its story. Every row that slides is written
   with the picture's own left and right (dir="ltr" on it).
   ========================================================= */

/* ---------- hero: a phone showing the pack ---------- */

.pub-ig[b-5c82jfh2nm] {
    position: relative;
    z-index: 1;
    width: min(340px, 82%);
    margin-inline-end: 9%;
}

.pub-ig__phone[b-5c82jfh2nm] {
    position: relative;
    padding: 12px 12px 14px;
    border: 1px solid rgba(77, 63, 24, .16);
    border-radius: 34px;
    background: var(--pub-card-solid);
    box-shadow: 0 34px 70px rgba(59, 48, 23, .22), inset 0 1px 0 rgba(255, 255, 255, .7);
    transform: rotate(-1.5deg);
    animation: pub-hover-b-5c82jfh2nm 8s ease-in-out infinite;
}

.pub-ig__top[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 2px 4px 10px;
}

.pub-ig__avatar[b-5c82jfh2nm] {
    display: grid;
    flex: none;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 2px;
    border-radius: 50%;
    background: conic-gradient(from 200deg, #f5c04a, #e9584d, #b33bc9, #f5c04a);
}

    .pub-ig__avatar b[b-5c82jfh2nm] {
        display: grid;
        place-items: center;
        width: 100%;
        height: 100%;
        border: 2px solid var(--pub-card-solid);
        border-radius: 50%;
        background: #14213d;
    }

    .pub-ig__avatar[b-5c82jfh2nm]  svg,
    .art-ig-brand__logo[b-5c82jfh2nm]  svg {
        width: 58%;
        height: 58%;
        fill: none;
        stroke: #e6c26a;
        stroke-width: 1.7;
        stroke-linejoin: round;
    }

.pub-ig__who[b-5c82jfh2nm] {
    display: grid;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.35;
}

    .pub-ig__who b[b-5c82jfh2nm] {
        color: var(--pub-ink);
        font-size: .82rem;
        font-weight: 800;
    }

    .pub-ig__who small[b-5c82jfh2nm] {
        overflow: hidden;
        color: var(--pub-muted);
        font-size: .66rem;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

.pub-ig__more[b-5c82jfh2nm] {
    width: 18px;
    height: 4px;
    background: radial-gradient(circle, var(--pub-muted) 1.6px, transparent 2px) 0 0 / 6px 4px;
}

.pub-ig__frame[b-5c82jfh2nm] {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    background: #efe6d2;
}

.pub-ig__track[b-5c82jfh2nm] {
    display: flex;
    width: 300%;
    height: 100%;
    animation: pub-ig-swipe-b-5c82jfh2nm 12s cubic-bezier(.7, 0, .3, 1) infinite;
}

    .pub-ig__track img[b-5c82jfh2nm] {
        display: block;
        width: calc(100% / 3);
        height: 100%;
        object-fit: cover;
    }

@keyframes pub-ig-swipe-b-5c82jfh2nm {
    0%, 26% { transform: translateX(0); }
    33%, 59% { transform: translateX(calc(-100% / 3)); }
    66%, 92% { transform: translateX(calc(-200% / 3)); }
    100% { transform: translateX(0); }
}

.pub-ig__bar[b-5c82jfh2nm] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 4px 6px;
    color: var(--pub-ink);
}

.pub-ig__icons[b-5c82jfh2nm] {
    display: flex;
    gap: 10px;
}

    .pub-ig__icons[b-5c82jfh2nm]  svg,
    .pub-ig__save[b-5c82jfh2nm]  svg {
        display: block;
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .pub-ig__icons[b-5c82jfh2nm]  svg:first-child {
        animation: pub-ig-like-b-5c82jfh2nm 12s ease-in-out infinite;
    }

@keyframes pub-ig-like-b-5c82jfh2nm {
    0%, 38% { fill: none; stroke: currentColor; transform: none; }
    42% { fill: #e9405b; stroke: #e9405b; transform: scale(1.25); }
    46%, 96% { fill: #e9405b; stroke: #e9405b; transform: none; }
    100% { fill: none; stroke: currentColor; }
}

.pub-ig__dots[b-5c82jfh2nm] {
    position: absolute;
    inset-inline: 0;
    display: flex;
    justify-content: center;
    gap: 4px;
    pointer-events: none;
}

    .pub-ig__dots i[b-5c82jfh2nm] {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: rgba(120, 100, 60, .28);
        animation: pub-ig-dot-b-5c82jfh2nm 12s step-end infinite;
    }

        .pub-ig__dots i:nth-child(2)[b-5c82jfh2nm] {
            animation-delay: 4s;
        }

        .pub-ig__dots i:nth-child(3)[b-5c82jfh2nm] {
            animation-delay: 8s;
        }

@keyframes pub-ig-dot-b-5c82jfh2nm {
    0% { background: #3d8ff0; }
    33.3%, 100% { background: rgba(120, 100, 60, .28); }
}

.pub-ig__caption[b-5c82jfh2nm] {
    display: grid;
    gap: 6px;
    margin: 2px 4px 0;
    color: var(--pub-ink);
    font-size: .74rem;
}

    .pub-ig__caption b[b-5c82jfh2nm] {
        font-weight: 800;
    }

    .pub-ig__caption i[b-5c82jfh2nm] {
        display: block;
        height: 6px;
        border-radius: 999px;
        background: rgba(155, 125, 48, .2);
    }

        .pub-ig__caption i + i[b-5c82jfh2nm] {
            width: 68%;
        }

.pub-ig__tags[b-5c82jfh2nm] {
    color: #2f6fc4;
    font-weight: 700;
}

html[data-theme="dark"] .pub-ig__tags[b-5c82jfh2nm] {
    color: #8ab8f5;
}

/* the story leans out from behind the phone */
.pub-ig__story[b-5c82jfh2nm] {
    position: absolute;
    z-index: 2;
    inset-block-end: 4%;
    inset-inline-end: -30%;
    width: 38%;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    border: 3px solid var(--pub-card-solid);
    border-radius: 18px;
    box-shadow: 0 22px 44px rgba(59, 48, 23, .28);
    transform: rotate(4deg);
    animation: pub-ig-story-b-5c82jfh2nm 7s ease-in-out infinite;
}

    .pub-ig__story img[b-5c82jfh2nm] {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

@keyframes pub-ig-story-b-5c82jfh2nm {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
}

.pub-ig__story-bar[b-5c82jfh2nm] {
    position: absolute;
    inset-block-start: 7px;
    inset-inline: 7px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .45);
}

    .pub-ig__story-bar i[b-5c82jfh2nm] {
        display: block;
        height: 100%;
        background: #fff;
        transform-origin: left;
        animation: pub-toolbox-fill-b-5c82jfh2nm 7s linear infinite;
    }

.pub-page[dir="rtl"] .pub-ig__story-bar i[b-5c82jfh2nm] {
    transform-origin: right;
}

/* ---------- the cards ---------- */

.art-ig-pack[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: 1fr 1.1fr .8fr .8fr;
    align-items: end;
    gap: 12px;
    width: min(460px, calc(100% - 36px));
    padding-block: 26px 22px;
}

.art-ig-pack__tile[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 9px;
    animation: pub-ig-rise-b-5c82jfh2nm 6s ease-in-out infinite;
}

    .art-ig-pack__tile:nth-child(2)[b-5c82jfh2nm] {
        animation-delay: .5s;
    }

    .art-ig-pack__tile:nth-child(3)[b-5c82jfh2nm] {
        animation-delay: 1s;
    }

    .art-ig-pack__tile:nth-child(4)[b-5c82jfh2nm] {
        animation-delay: 1.5s;
    }

    .art-ig-pack__tile img[b-5c82jfh2nm] {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 14px 28px rgba(0, 0, 0, .35);
    }

    .art-ig-pack__tile b[b-5c82jfh2nm] {
        color: var(--pub-dark-ink);
        font-size: .74rem;
        font-weight: 800;
    }

@keyframes pub-ig-rise-b-5c82jfh2nm {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -6px; }
}

.art-ig-pack__tile--post img[b-5c82jfh2nm] {
    aspect-ratio: 3 / 4;
}

/* a carousel: two slides, the first peeking out behind */
.art-ig-pack__tile--carousel[b-5c82jfh2nm] {
    grid-template-areas: "slide" "name";
}

    .art-ig-pack__tile--carousel img[b-5c82jfh2nm] {
        grid-area: slide;
        aspect-ratio: 3 / 4;
    }

        .art-ig-pack__tile--carousel img:first-child[b-5c82jfh2nm] {
            transform: translateX(14%) rotate(5deg) scale(.92);
            opacity: .75;
        }

        .art-ig-pack__tile--carousel img:nth-child(2)[b-5c82jfh2nm] {
            position: relative;
        }

    .art-ig-pack__tile--carousel b[b-5c82jfh2nm] {
        grid-area: name;
    }

.art-ig-pack__tile--story img[b-5c82jfh2nm] {
    aspect-ratio: 9 / 16;
}

.art-ig-pack__tile--reel > span:first-child[b-5c82jfh2nm] {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 10px;
    background:
        radial-gradient(80% 60% at 50% 30%, rgba(240, 200, 92, .35), transparent 70%),
        linear-gradient(160deg, #2a3a63, #14213d);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .35);
}

.art-ig-pack__play[b-5c82jfh2nm]  svg {
    display: block;
    width: 30px;
    height: 30px;
    padding: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    fill: #14213d;
    stroke: none;
}

.pub-wave--ig[b-5c82jfh2nm] {
    position: absolute;
    inset-inline: 14%;
    inset-block-end: 34px;
    height: 16px;
    gap: 2px;
}

/* the words of a picture, read back */
.art-ig-read[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 16px;
}

.art-ig-read__picture[b-5c82jfh2nm] {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    max-height: 190px;
    border-radius: 10px;
    box-shadow: 0 10px 22px rgba(87, 64, 22, .16);
}

    .art-ig-read__picture img[b-5c82jfh2nm] {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .art-ig-read__picture u[b-5c82jfh2nm] {
        position: absolute;
        inset-inline: 0;
        top: 8%;
        height: 2px;
        background: var(--pub-gold-2);
        box-shadow: 0 0 12px var(--pub-gold-1);
        animation: pub-ig-beam-b-5c82jfh2nm 3.4s ease-in-out infinite alternate;
    }

@keyframes pub-ig-beam-b-5c82jfh2nm {
    from { top: 8%; }
    to { top: 40%; }
}

.art-ig-read__words[b-5c82jfh2nm] {
    display: grid;
    gap: 7px;
    color: var(--pub-ink);
    font-size: .74rem;
}

    .art-ig-read__words b[b-5c82jfh2nm] {
        display: flex;
        align-items: center;
        gap: 6px;
        font-weight: 700;
        animation: pub-tools-read-b-5c82jfh2nm 6s ease-in-out infinite;
        animation-delay: calc(var(--t) * .6s);
    }

    .art-ig-read__words svg[b-5c82jfh2nm] {
        flex: none;
        width: 16px;
        height: 16px;
        padding: 2px;
        border-radius: 50%;
        background: rgba(47, 122, 75, .14);
        fill: none;
        stroke: #2a6e43;
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* a reel: three scenes, a voice and music */
.art-ig-reel[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 14px 18px;
}

.art-ig-reel__screen[b-5c82jfh2nm] {
    position: relative;
    width: 92px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    border-radius: 12px;
    background: #14213d;
    box-shadow: 0 12px 24px rgba(20, 33, 61, .3);
}

.art-ig-reel__scene[b-5c82jfh2nm] {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 7px;
    opacity: 0;
    animation: pub-ig-scene-b-5c82jfh2nm 9s ease-in-out infinite;
}

    .art-ig-reel__scene i[b-5c82jfh2nm] {
        display: block;
        width: 58%;
        height: 7px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .85);
    }

        .art-ig-reel__scene i + i[b-5c82jfh2nm] {
            width: 40%;
            background: #e6c26a;
        }

.art-ig-reel__scene--0[b-5c82jfh2nm] {
    background: linear-gradient(160deg, #23355f, #14213d);
}

.art-ig-reel__scene--1[b-5c82jfh2nm] {
    background: radial-gradient(70% 50% at 50% 38%, #e6c26a, #b8902f 60%, #14213d);
    animation-delay: 3s;
}

.art-ig-reel__scene--2[b-5c82jfh2nm] {
    background: linear-gradient(200deg, #f3ead6, #d9c79d);
    animation-delay: 6s;
}

    .art-ig-reel__scene--2 i[b-5c82jfh2nm] {
        background: #14213d;
    }

@keyframes pub-ig-scene-b-5c82jfh2nm {
    0% { opacity: 0; transform: scale(1.08); }
    5%, 30% { opacity: 1; transform: none; }
    36%, 100% { opacity: 0; }
}

.art-ig-reel__subtitle[b-5c82jfh2nm] {
    position: absolute;
    inset-inline: 6px;
    bottom: 12px;
    z-index: 1;
    padding: 2px 4px;
    border-radius: 5px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: .5rem;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
}

.art-ig-reel__lanes[b-5c82jfh2nm] {
    display: grid;
    gap: 12px;
}

.art-ig-reel__lane[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    color: var(--pub-text);
    font-size: .7rem;
}

    .art-ig-reel__lane b[b-5c82jfh2nm] {
        font-weight: 800;
    }

.pub-wave--ig-voice[b-5c82jfh2nm] {
    justify-content: flex-start;
    height: 26px;
    gap: 2px;
}

.art-ig-reel__music[b-5c82jfh2nm] {
    display: block;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(226, 179, 63, .13);
}

    .art-ig-reel__music i[b-5c82jfh2nm] {
        display: block;
        height: 100%;
        background: repeating-linear-gradient(90deg, var(--pub-gold-1) 0 3px, transparent 3px 6px);
        animation: pub-ig-music-b-5c82jfh2nm 2.4s linear infinite;
    }

@keyframes pub-ig-music-b-5c82jfh2nm {
    from { background-position: 0 0; }
    to { background-position: 24px 0; }
}

/* the brand: a logo, two colours, and a tile in them */
.art-ig-brand[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    padding: 18px;
}

.art-ig-brand__logo[b-5c82jfh2nm] {
    display: grid;
    flex: none;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 2px solid #c9a24a;
    border-radius: 50%;
    background: #14213d;
}

.art-ig-brand__swatches[b-5c82jfh2nm] {
    display: grid;
    gap: 7px;
}

    .art-ig-brand__swatches i[b-5c82jfh2nm] {
        display: block;
        width: 26px;
        height: 26px;
        border: 2px solid var(--pub-card-solid);
        border-radius: 8px;
        background: var(--c);
        box-shadow: 0 4px 10px rgba(0, 0, 0, .16);
    }

.art-ig-brand__tile[b-5c82jfh2nm] {
    display: grid;
    align-content: space-between;
    width: 84px;
    aspect-ratio: 3 / 4;
    padding: 8px;
    border-radius: 10px;
    background: linear-gradient(170deg, #f3ead6 55%, #14213d 55%);
    box-shadow: 0 12px 24px rgba(20, 33, 61, .22);
    animation: pub-ig-rise-b-5c82jfh2nm 6s ease-in-out infinite;
}

    .art-ig-brand__tile span[b-5c82jfh2nm] {
        display: block;
        height: 16px;
        border-radius: 5px;
        background: linear-gradient(90deg, #e6c26a, #c9a24a);
    }

    .art-ig-brand__tile b[b-5c82jfh2nm] {
        color: #e6c26a;
        font-size: .5rem;
        font-weight: 800;
        text-align: center;
    }

/* your own words, kept */
.art-ig-words[b-5c82jfh2nm] {
    display: grid;
    justify-items: center;
    gap: 11px;
    width: min(320px, calc(100% - 32px));
}

.art-ig-words__field[b-5c82jfh2nm] {
    display: grid;
    gap: 3px;
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid rgba(226, 179, 63, .55);
    border-radius: 12px;
    background: var(--pub-card-solid);
    box-shadow: 0 0 0 4px rgba(226, 179, 63, .1);
}

    .art-ig-words__field small[b-5c82jfh2nm] {
        color: var(--pub-muted);
        font-size: .64rem;
        font-weight: 700;
    }

    .art-ig-words__field b[b-5c82jfh2nm] {
        justify-self: start;
        max-width: 100%;
        overflow: hidden;
        color: var(--pub-ink);
        font-size: .8rem;
        font-weight: 800;
        white-space: nowrap;
        border-inline-end: 2px solid var(--pub-gold-2);
        animation: pub-ig-type-b-5c82jfh2nm 5s steps(26) infinite;
    }

@keyframes pub-ig-type-b-5c82jfh2nm {
    0% { max-width: 0; }
    55%, 100% { max-width: 100%; }
}

.art-ig-words__kept[b-5c82jfh2nm] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 11px;
    border-radius: 999px;
    background: rgba(47, 122, 75, .12);
    color: #2a6e43;
    font-size: .7rem;
    font-weight: 800;
}

html[data-theme="dark"] .art-ig-words__kept[b-5c82jfh2nm] {
    background: rgba(120, 210, 150, .14);
    color: #8fdcae;
}

    .art-ig-words__kept svg[b-5c82jfh2nm] {
        width: 14px;
        height: 14px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* four looks of the same pack */
.art-ig-looks[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    width: min(340px, calc(100% - 28px));
}

.art-ig-looks__tile[b-5c82jfh2nm] {
    display: grid;
    justify-items: center;
    gap: 7px;
    color: var(--pub-text);
    font-size: .68rem;
    font-weight: 800;
    animation: pub-ig-pick-b-5c82jfh2nm 8s ease-in-out infinite;
    animation-delay: calc(var(--t) * 2s);
}

    .art-ig-looks__tile i[b-5c82jfh2nm] {
        display: block;
        width: 100%;
        aspect-ratio: 3 / 4;
        border-radius: 10px;
        box-shadow: 0 8px 18px rgba(87, 64, 22, .14);
    }

@keyframes pub-ig-pick-b-5c82jfh2nm {
    0%, 25%, 100% { translate: 0 0; }
    6%, 19% { translate: 0 -6px; }
}

.art-ig-looks__tile--0 i[b-5c82jfh2nm] {
    background:
        radial-gradient(40% 30% at 50% 58%, #e6c26a, #b8902f 70%, transparent 72%),
        linear-gradient(180deg, #2a3a63, #14213d);
}

.art-ig-looks__tile--1 i[b-5c82jfh2nm] {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .12)) 18% 30% / 64% 40% no-repeat,
        linear-gradient(160deg, #7cc6e8, #9b7be0);
}

.art-ig-looks__tile--2 i[b-5c82jfh2nm] {
    background:
        linear-gradient(#5c4a2c, #5c4a2c) 20% 30% / 60% 5px no-repeat,
        linear-gradient(#5c4a2c, #5c4a2c) 20% 42% / 40% 5px no-repeat,
        #f1e6cc;
}

.art-ig-looks__tile--3 i[b-5c82jfh2nm] {
    background:
        linear-gradient(#c9a24a, #c9a24a) 50% 26% / 54% 2px no-repeat,
        linear-gradient(#c9a24a, #c9a24a) 50% 74% / 54% 2px no-repeat,
        #101a30;
}

/* ---------- the dark card: a reel's scenes and lanes ---------- */

.pub-ig-reel__scenes[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 16px;
}

.pub-ig-reel__scene[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 10px 2px 8px;
    border: 1px solid rgba(255, 236, 190, .1);
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
    color: var(--pub-dark-text);
    font-size: .64rem;
    animation: pub-ig-on-b-5c82jfh2nm 9s ease-in-out infinite;
    animation-delay: calc(var(--t) * 1.5s);
}

    .pub-ig-reel__scene b[b-5c82jfh2nm] {
        font-weight: 800;
    }

@keyframes pub-ig-on-b-5c82jfh2nm {
    0%, 17%, 100% { border-color: rgba(255, 236, 190, .1); background-color: rgba(255, 255, 255, .05); }
    3%, 14% { border-color: rgba(240, 200, 92, .6); background-color: rgba(240, 200, 92, .12); }
}

.pub-ig-reel__icon[b-5c82jfh2nm]  svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #f0c85c;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* the scene read again */
.pub-ig-reel__scene em[b-5c82jfh2nm] {
    position: absolute;
    inset-block-start: -7px;
    inset-inline-end: -5px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f0c85c;
}

    .pub-ig-reel__scene em[b-5c82jfh2nm]  svg {
        width: 12px;
        height: 12px;
        fill: none;
        stroke: #2b2112;
        stroke-width: 2.6;
        stroke-linecap: round;
        stroke-linejoin: round;
        animation: pub-ig-spin-b-5c82jfh2nm 2.6s linear infinite;
    }

@keyframes pub-ig-spin-b-5c82jfh2nm {
    to { transform: rotate(360deg); }
}

.pub-ig-reel__music i.is-under[b-5c82jfh2nm] {
    opacity: .35;
}

.pub-ig-reel__line[b-5c82jfh2nm] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: var(--pub-dark-ink);
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 760px) {
    .pub-ig[b-5c82jfh2nm] {
        width: min(280px, 70%);
        margin-inline-end: 16%;
    }

    .pub-ig__story[b-5c82jfh2nm] {
        inset-inline-end: -30%;
        width: 44%;
    }

    .art-ig-pack[b-5c82jfh2nm] {
        gap: 8px;
    }

    .pub-ig-reel__scenes[b-5c82jfh2nm] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .pub-ig__phone[b-5c82jfh2nm],
    .pub-ig__track[b-5c82jfh2nm],
    .pub-ig__icons[b-5c82jfh2nm]  svg:first-child,
    .pub-ig__dots i[b-5c82jfh2nm],
    .pub-ig__story[b-5c82jfh2nm],
    .pub-ig__story-bar i[b-5c82jfh2nm],
    .art-ig-pack__tile[b-5c82jfh2nm],
    .art-ig-read__picture u[b-5c82jfh2nm],
    .art-ig-read__words b[b-5c82jfh2nm],
    .art-ig-reel__scene[b-5c82jfh2nm],
    .art-ig-reel__music i[b-5c82jfh2nm],
    .art-ig-brand__tile[b-5c82jfh2nm],
    .art-ig-words__field b[b-5c82jfh2nm],
    .art-ig-looks__tile[b-5c82jfh2nm],
    .pub-ig-reel__scene[b-5c82jfh2nm],
    .pub-ig-reel__scene em[b-5c82jfh2nm]  svg {
        animation: none;
    }

    .art-ig-reel__scene--0[b-5c82jfh2nm] {
        opacity: 1;
    }
}

/* ============================================================
   ONE TOOL OF THE TOOLBOX (/online-tools/{tool})
   The hero and the closing card show the panel's own picture of
   the tool (Components/Tools/ToolArt), doing its job over and over:
   its parts all hang on --tl-t, which here plays by itself.
   ============================================================ */

/* The same clock the panel's tools page registers (Tools.razor.css). */
@property --tl-t {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

@keyframes pub-toolart-work-b-5c82jfh2nm {
    0%, 16% { --tl-t: 0; }
    60%, 100% { --tl-t: 1; }
}

.pub-landing__kicker[b-5c82jfh2nm] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pub-landing__kicker .pub-tools__tag[b-5c82jfh2nm] {
    font-size: .76rem;
    padding: 2px 12px;
}

.pub-toolart[b-5c82jfh2nm] {
    --tl-tone: #8a6d3b;
    --tl-play: running;
    position: relative;
    z-index: 1;
    width: min(340px, 78vw);
    aspect-ratio: 1;
    padding: 34px;
    border: 1px solid rgba(201, 150, 26, .22);
    border-radius: 44px;
    background:
        radial-gradient(70% 70% at 50% 30%, color-mix(in srgb, var(--tl-tone) 16%, transparent), transparent 72%),
        linear-gradient(160deg, #fffdf8, #f3ead9);
    box-shadow: 0 34px 70px rgba(58, 42, 22, .18), inset 0 1px 0 rgba(255, 255, 255, .9);
    animation: pub-toolart-work-b-5c82jfh2nm 4.2s cubic-bezier(.45, .05, .3, 1) infinite alternate;
}

.pub-toolart[data-category="pdf"][b-5c82jfh2nm] { --tl-tone: #b4513c; }
.pub-toolart[data-category="image"][b-5c82jfh2nm] { --tl-tone: #2f7d86; }
.pub-toolart[data-category="text"][b-5c82jfh2nm] { --tl-tone: #6a56a8; }
.pub-toolart[data-category="audio"][b-5c82jfh2nm] { --tl-tone: #b07a1b; }

html[data-theme="dark"] .pub-toolart[b-5c82jfh2nm] {
    border-color: rgba(244, 205, 88, .18);
    background:
        radial-gradient(70% 70% at 50% 30%, color-mix(in srgb, var(--tl-tone) 22%, transparent), transparent 72%),
        linear-gradient(160deg, #3a2f23, #241c14);
    box-shadow: 0 34px 70px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 236, 190, .08);
}

.pub-closing__toolart[b-5c82jfh2nm] {
    justify-self: center;
    width: min(290px, 70vw);
    padding: 28px;
    border-color: rgba(244, 205, 88, .22);
    background:
        radial-gradient(70% 70% at 50% 30%, color-mix(in srgb, var(--tl-tone) 26%, transparent), transparent 72%),
        linear-gradient(160deg, #fffdf8, #efe4cf);
    animation-delay: -1.4s;
}

@media (prefers-reduced-motion: reduce) {
    .pub-toolart[b-5c82jfh2nm] {
        --tl-play: paused;
        --tl-t: 1;
        animation: none;
    }
}

@media (max-width: 720px) {
    .pub-toolart[b-5c82jfh2nm] {
        width: min(260px, 70vw);
        padding: 24px;
        border-radius: 34px;
    }

    .pub-closing__toolart[b-5c82jfh2nm] {
        display: none;
    }
}

/* =========================================================
   DUBBING AND DEFENSE PAGES (/ai-video-dubbing, /ai-thesis-defense-presentation)
   The hero's video with its subtitle turning into the dub and the
   two speakers' lanes (the dubbed voice laid over the original);
   the defense deck's slide, its talk and a committee question;
   and the cards' pictures. Timelines use --s and --w as above.
   ========================================================= */

/* ---------- hero: the dubbed video ---------- */

.pub-dub__langs[b-5c82jfh2nm],
.pub-def__clock[b-5c82jfh2nm] {
    padding: 1px 9px;
    border-radius: 999px;
    background: var(--pub-gold-soft);
    color: var(--pub-gold-ink);
    font-size: .68rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.pub-dub__screen[b-5c82jfh2nm] {
    position: relative;
    aspect-ratio: 16 / 9;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 16px;
    background:
        radial-gradient(120% 90% at 78% 18%, rgba(240, 200, 92, .32), transparent 55%),
        linear-gradient(160deg, #3a2c1b, #17120c 70%);
    box-shadow: inset 0 0 0 1px rgba(255, 236, 190, .08);
}

.pub-dub__light[b-5c82jfh2nm] {
    position: absolute;
    inset-block-start: -30%;
    inset-inline-end: -6%;
    width: 46%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 220, 140, .28), transparent 65%);
}

.pub-dub__desk[b-5c82jfh2nm] {
    position: absolute;
    inset: auto 0 0;
    height: 26%;
    background: linear-gradient(180deg, #4a3722, #2a1f13);
}

/* the presenter, drawn: a head and shoulders */
.pub-dub__person[b-5c82jfh2nm] {
    position: absolute;
    inset-block-end: 22%;
    inset-inline-start: 18%;
    width: 24%;
    height: 58%;
}

    .pub-dub__person i[b-5c82jfh2nm] {
        position: absolute;
        inset: 0 22% auto;
        aspect-ratio: 1;
        border-radius: 50%;
        background: linear-gradient(160deg, #d7a878, #9c6c43);
    }

    .pub-dub__person b[b-5c82jfh2nm] {
        position: absolute;
        inset: 52% 0 0;
        border-radius: 46% 46% 10% 10%;
        background: linear-gradient(170deg, #6d5233, #3c2c1a);
    }

/* the equipment on the desk */
.pub-dub__device[b-5c82jfh2nm] {
    position: absolute;
    inset-block-end: 14%;
    inset-inline-end: 14%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 34%;
    height: 22%;
    border-radius: 8px;
    background: linear-gradient(180deg, #e6dccb, #b7aa93);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .35);
}

    .pub-dub__device i[b-5c82jfh2nm] {
        width: 13%;
        aspect-ratio: 1;
        border-radius: 50%;
        background: #3b2f23;
        box-shadow: inset 0 0 0 2px #d8a634;
    }

        .pub-dub__device i:nth-child(2)[b-5c82jfh2nm] {
            box-shadow: inset 0 0 0 2px #4caf7a;
        }

.pub-dub__badge[b-5c82jfh2nm] {
    position: absolute;
    inset-block-start: 8px;
    inset-inline-end: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(23, 18, 12, .7);
    color: #f0c85c;
    font-size: .62rem;
    font-weight: 800;
}

    .pub-dub__badge i[b-5c82jfh2nm] {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #f0c85c;
        animation: pub-dub-live-b-5c82jfh2nm 1.6s ease-in-out infinite;
    }

@keyframes pub-dub-live-b-5c82jfh2nm {
    50% { opacity: .25; }
}

/* the subtitle: the original line, then the dubbed one in its place */
.pub-dub__sub[b-5c82jfh2nm] {
    position: absolute;
    inset-inline: 6%;
    inset-block-end: 6%;
    display: grid;
    text-align: center;
}

    .pub-dub__sub b[b-5c82jfh2nm] {
        grid-area: 1 / 1;
        justify-self: center;
        padding: 3px 10px;
        border-radius: 7px;
        background: rgba(10, 8, 5, .72);
        color: #fff;
        font-size: .72rem;
        font-weight: 700;
        line-height: 1.6;
        animation: pub-dub-source-b-5c82jfh2nm 8s ease-in-out infinite;
    }

        .pub-dub__sub b.is-dub[b-5c82jfh2nm] {
            color: #ffe29a;
            animation-name: pub-dub-dub-b-5c82jfh2nm;
        }

@keyframes pub-dub-source-b-5c82jfh2nm {
    0%, 40% { opacity: 1; translate: 0 0; }
    48%, 92% { opacity: 0; translate: 0 -6px; }
    100% { opacity: 1; translate: 0 0; }
}

@keyframes pub-dub-dub-b-5c82jfh2nm {
    0%, 42% { opacity: 0; translate: 0 6px; }
    50%, 90% { opacity: 1; translate: 0 0; }
    98%, 100% { opacity: 0; translate: 0 6px; }
}

/* each speaker's lane: the original, faint, and the dub laid over it */
.pub-dub__lanes[b-5c82jfh2nm] {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(226, 179, 63, .07);
}

.pub-dub__lane[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

    .pub-dub__lane .pub-pod__host[b-5c82jfh2nm] {
        justify-self: start;
    }

.pub-dub__was[b-5c82jfh2nm] {
    background: rgba(155, 125, 48, .28);
}

.pub-dub__now[b-5c82jfh2nm] {
    transform-origin: left center;
    animation: pub-dub-lay-b-5c82jfh2nm 8s ease-in-out infinite;
}

.pub-page[dir="rtl"] .pub-dub__now[b-5c82jfh2nm] {
    transform-origin: right center;
}

@keyframes pub-dub-lay-b-5c82jfh2nm {
    0%, 40% { transform: scaleX(0); }
    55%, 92% { transform: scaleX(1); }
    100% { transform: scaleX(0); }
}

/* ---------- hero: the defense deck ---------- */

.pub-def__slide[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 8px;
    aspect-ratio: 16 / 9;
    margin-bottom: 10px;
    padding: 10px 12px 14px;
    overflow: hidden;
    border-radius: 14px;
    background:
        radial-gradient(90% 80% at 90% 0%, rgba(122, 146, 220, .25), transparent 60%),
        linear-gradient(160deg, #1f2b52, #121a33);
    color: #eef1fb;
    box-shadow: 0 14px 30px rgba(18, 26, 51, .28);
}

.pub-def__band[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #aebbe6;
    font-size: .62rem;
    font-weight: 700;
}

    .pub-def__band i[b-5c82jfh2nm] {
        font-style: normal;
    }

    .pub-def__band b[b-5c82jfh2nm] {
        padding: 0 7px;
        border-radius: 999px;
        background: rgba(174, 187, 230, .16);
        font-variant-numeric: tabular-nums;
    }

.pub-def__title[b-5c82jfh2nm] {
    padding-inline-start: 8px;
    border-inline-start: 3px solid #f0c85c;
    font-size: .9rem;
    line-height: 1.5;
}

.pub-def__body[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
    gap: 10px;
    min-height: 0;
}

.pub-def__chart[b-5c82jfh2nm] {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 6%;
    padding: 8px 8px 18px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .94);
}

    .pub-def__chart i[b-5c82jfh2nm] {
        flex: 1 1 0;
        height: calc(var(--h) * 100%);
        border-radius: 3px 3px 0 0;
        background: linear-gradient(180deg, #5a74c9, #2f4590);
        transform-origin: bottom;
        animation: pub-def-grow-b-5c82jfh2nm 6s ease-out infinite;
        animation-delay: calc(var(--t) * .12s);
    }

    .pub-def__chart em[b-5c82jfh2nm] {
        position: absolute;
        inset-inline: 0;
        inset-block-end: 2px;
        color: #4d5a86;
        font-size: .56rem;
        font-style: normal;
        font-weight: 700;
        text-align: center;
    }

@keyframes pub-def-grow-b-5c82jfh2nm {
    0% { transform: scaleY(.1); }
    25%, 100% { transform: scaleY(1); }
}

.pub-def__points[b-5c82jfh2nm] {
    display: grid;
    align-content: center;
    gap: 8px;
}

    .pub-def__points span[b-5c82jfh2nm] {
        display: flex;
        align-items: center;
        gap: 7px;
        animation: pub-def-point-b-5c82jfh2nm 6s ease-out infinite;
        animation-delay: calc(var(--t) * .5s + .6s);
    }

    .pub-def__points b[b-5c82jfh2nm] {
        display: grid;
        flex: none;
        place-items: center;
        width: 17px;
        height: 17px;
        border-radius: 5px;
        background: #f0c85c;
        color: #1f2b52;
        font-size: .6rem;
    }

    .pub-def__points i[b-5c82jfh2nm] {
        flex: 1 1 auto;
        height: 5px;
        border-radius: 999px;
        background: rgba(238, 241, 251, .4);
    }

        .pub-def__points i.is-short[b-5c82jfh2nm] {
            max-width: 60%;
        }

@keyframes pub-def-point-b-5c82jfh2nm {
    0%, 8% { opacity: 0; translate: 0 5px; }
    16%, 100% { opacity: 1; translate: 0 0; }
}

.pub-def__progress[b-5c82jfh2nm] {
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: rgba(174, 187, 230, .18);
}

    .pub-def__progress i[b-5c82jfh2nm] {
        display: block;
        width: 64%;
        height: 100%;
        background: #f0c85c;
    }

.pub-def__notes[b-5c82jfh2nm] {
    display: grid;
    gap: 4px;
    margin-bottom: 10px;
    padding: 8px 12px;
    border: 1px solid var(--pub-line);
    border-radius: 12px;
    background: rgba(226, 179, 63, .05);
}

.pub-def__notes-head[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--pub-gold-ink);
    font-size: .68rem;
    font-weight: 800;
}

    .pub-def__notes-head em[b-5c82jfh2nm] {
        font-style: normal;
        font-variant-numeric: tabular-nums;
    }

.pub-def__notes-text[b-5c82jfh2nm] {
    color: var(--pub-ink);
    font-size: .76rem;
    line-height: 1.8;
}

.pub-def__ask[b-5c82jfh2nm] {
    display: grid;
    gap: 6px;
}

.pub-def__q[b-5c82jfh2nm],
.pub-def__a[b-5c82jfh2nm] {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.7;
}

.pub-def__q[b-5c82jfh2nm] {
    justify-self: start;
    border-end-start-radius: 4px;
    background: rgba(31, 43, 82, .08);
    color: var(--pub-ink);
}

html[data-theme="dark"] .pub-def__q[b-5c82jfh2nm] {
    background: rgba(174, 187, 230, .12);
}

.pub-def__a[b-5c82jfh2nm] {
    justify-self: end;
    border-end-end-radius: 4px;
    background: var(--pub-gold-soft);
    color: var(--pub-gold-ink);
    animation: pub-def-point-b-5c82jfh2nm 7s ease-out infinite;
    animation-delay: 1.2s;
}

/* ---------- the dubbing cards ---------- */

/* the first card is the dark one */
.art-dub-lines[b-5c82jfh2nm] {
    display: grid;
    gap: 8px;
    width: min(380px, calc(100% - 40px));
}

.art-dub-lines__row[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 236, 190, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
    animation: pub-pod-row-b-5c82jfh2nm 8s ease-in-out infinite;
    animation-delay: calc(var(--t) * 2s);
}

    .art-dub-lines__row em[b-5c82jfh2nm] {
        flex: none;
        color: rgba(246, 236, 216, .55);
        font-size: .68rem;
        font-style: normal;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
    }

    .art-dub-lines__row .pub-pod__host[b-5c82jfh2nm] {
        background: rgba(240, 200, 92, .16);
        color: #f0c85c;
    }

    .art-dub-lines__row .pub-pod__host--b[b-5c82jfh2nm] {
        background: rgba(240, 170, 100, .16);
        color: #f0b47a;
    }

    .art-dub-lines__row > i[b-5c82jfh2nm] {
        flex: 1 1 auto;
        height: 7px;
        border-radius: 999px;
        background: rgba(246, 236, 216, .26);
    }

        .art-dub-lines__row > i.is-short[b-5c82jfh2nm] {
            max-width: 50%;
        }

/* the translation fits between the line's start and end */
.art-dub-fit[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    gap: 9px;
    width: calc(100% - 44px);
}

.art-dub-fit__window[b-5c82jfh2nm] {
    display: flex;
    justify-content: space-between;
    margin-inline-start: 76px;
    color: var(--pub-muted);
    font-size: .66rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.art-dub-fit__row[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    color: var(--pub-text);
    font-size: .7rem;
    font-weight: 800;
}

.art-dub-fit__track[b-5c82jfh2nm] {
    position: relative;
    height: 12px;
    border-inline: 2px solid rgba(155, 125, 48, .45);
    border-radius: 3px;
    background: rgba(155, 125, 48, .08);
}

.art-dub-fit__bar[b-5c82jfh2nm] {
    position: absolute;
    inset-block: 2px;
    inset-inline-start: 2px;
    border-radius: 999px;
}

    .art-dub-fit__bar.is-source[b-5c82jfh2nm] {
        width: calc(100% - 4px);
        background: rgba(155, 125, 48, .35);
    }

    .art-dub-fit__bar.is-dub[b-5c82jfh2nm] {
        width: calc(94% - 4px);
        background: linear-gradient(90deg, var(--pub-gold-1), var(--pub-gold-2));
        animation: pub-dub-fit-b-5c82jfh2nm 6s ease-in-out infinite;
    }

@keyframes pub-dub-fit-b-5c82jfh2nm {
    0%, 12% { width: calc(118% - 4px); filter: hue-rotate(-30deg) saturate(1.6); }
    40%, 100% { width: calc(94% - 4px); filter: none; }
}

.art-dub-fit__ok[b-5c82jfh2nm] {
    justify-self: center;
    padding: 2px 12px;
    border-radius: 999px;
    background: var(--pub-gold-soft);
    color: var(--pub-gold-ink);
    font-size: .68rem;
    font-weight: 800;
    animation: pub-def-point-b-5c82jfh2nm 6s ease-out infinite;
    animation-delay: 2.4s;
}

/* each line, its original beside its translation; one being changed */
.art-dub-edit[b-5c82jfh2nm] {
    display: grid;
    gap: 8px;
    width: calc(100% - 44px);
}

.art-dub-edit__row[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: 1fr 1fr 22px;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--pub-line);
    border-radius: 12px;
    background: var(--pub-card-solid);
}

    .art-dub-edit__row.is-editing[b-5c82jfh2nm] {
        border-color: rgba(226, 179, 63, .6);
        box-shadow: 0 0 0 3px rgba(226, 179, 63, .12);
    }

.art-dub-edit__src[b-5c82jfh2nm],
.art-dub-edit__dst[b-5c82jfh2nm] {
    position: relative;
    display: block;
    height: 7px;
    border-radius: 999px;
}

.art-dub-edit__src[b-5c82jfh2nm] {
    background: rgba(155, 125, 48, .2);
}

.art-dub-edit__dst[b-5c82jfh2nm] {
    background: linear-gradient(90deg, var(--pub-gold-1), var(--pub-gold-2));
}

    .art-dub-edit__dst u[b-5c82jfh2nm] {
        position: absolute;
        inset-block: -5px;
        inset-inline-end: -4px;
        width: 2px;
        border-radius: 2px;
        background: var(--pub-ink);
        animation: pub-dub-caret-b-5c82jfh2nm 1s steps(1) infinite;
    }

.art-dub-edit__row.is-editing .art-dub-edit__dst[b-5c82jfh2nm] {
    width: 70%;
    animation: pub-dub-type-b-5c82jfh2nm 6s ease-in-out infinite;
}

@keyframes pub-dub-caret-b-5c82jfh2nm {
    50% { opacity: 0; }
}

@keyframes pub-dub-type-b-5c82jfh2nm {
    0%, 15% { width: 30%; }
    55%, 100% { width: 92%; }
}

.art-dub-edit__row em[b-5c82jfh2nm] {
    display: grid;
    place-items: center;
    color: var(--pub-gold-ink);
}

    .art-dub-edit__row em[b-5c82jfh2nm]  svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* ---------- the files a tool hands back ---------- */

.art-files[b-5c82jfh2nm] {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 30px);
}

.art-files__file[b-5c82jfh2nm] {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: end;
    gap: 8px;
    width: 64px;
    height: 82px;
    padding-bottom: 10px;
    border: 1px solid var(--pub-line);
    border-radius: 10px;
    background: var(--pub-card-solid);
    box-shadow: 0 10px 22px rgba(59, 48, 23, .1);
    animation: pub-files-rise-b-5c82jfh2nm 8s ease-in-out infinite;
    animation-delay: calc(var(--t) * .35s);
}

    .art-files__file i[b-5c82jfh2nm] {
        width: 60%;
        height: 26px;
        border-radius: 5px;
        background: repeating-linear-gradient(180deg, rgba(155, 125, 48, .22) 0 3px, transparent 3px 7px);
    }

    .art-files__file b[b-5c82jfh2nm] {
        padding: 1px 7px;
        border-radius: 6px;
        background: var(--pub-gold-soft);
        color: var(--pub-gold-ink);
        font-size: .62rem;
        font-weight: 800;
    }

.art-files__file--mp4 b[b-5c82jfh2nm],
.art-files__file--pptx b[b-5c82jfh2nm] {
    background: #c9522f;
    color: #fff;
}

.art-files__file--docx b[b-5c82jfh2nm] {
    background: #2f5ec4;
    color: #fff;
}

.art-files__file--mp3 b[b-5c82jfh2nm] {
    background: #8a4f17;
    color: #fff;
}

@keyframes pub-files-rise-b-5c82jfh2nm {
    0%, 6% { opacity: 0; translate: 0 14px; }
    16%, 86% { opacity: 1; translate: 0 0; }
    96%, 100% { opacity: 0; translate: 0 -6px; }
}

/* ---------- the defense cards ---------- */

/* the first card is the dark one: three slides, fanned */
.art-def-deck[b-5c82jfh2nm] {
    position: relative;
    width: min(300px, calc(100% - 60px));
    height: 150px;
}

.art-def-deck__slide[b-5c82jfh2nm] {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: start;
    gap: 10px;
    width: 78%;
    height: 112px;
    margin: auto;
    padding: 12px 14px;
    border-radius: 10px;
    background: linear-gradient(160deg, #2a3866, #141c38);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(174, 187, 230, .18);
    animation: pub-def-fan-b-5c82jfh2nm 8s ease-in-out infinite;
}

    .art-def-deck__slide:nth-child(1)[b-5c82jfh2nm] {
        --x: -30px;
        --r: -8deg;
    }

    .art-def-deck__slide:nth-child(2)[b-5c82jfh2nm] {
        --x: 30px;
        --r: 8deg;
    }

    .art-def-deck__slide:nth-child(3)[b-5c82jfh2nm] {
        --x: 0px;
        --r: 0deg;
        z-index: 2;
    }

@keyframes pub-def-fan-b-5c82jfh2nm {
    0%, 12%, 100% { translate: 0 0; rotate: 0deg; }
    30%, 82% { translate: var(--x) 0; rotate: var(--r); }
}

.art-def-deck__band[b-5c82jfh2nm] {
    display: block;
    width: 38%;
    height: 5px;
    border-radius: 999px;
    background: #f0c85c;
}

.art-def-deck__title[b-5c82jfh2nm] {
    display: block;
    width: 72%;
    height: 9px;
    border-radius: 999px;
    background: rgba(238, 241, 251, .75);
}

.art-def-deck__lines[b-5c82jfh2nm] {
    display: grid;
    gap: 6px;
}

    .art-def-deck__lines i[b-5c82jfh2nm] {
        display: block;
        height: 5px;
        border-radius: 999px;
        background: rgba(238, 241, 251, .28);
    }

        .art-def-deck__lines i.is-short[b-5c82jfh2nm] {
            width: 58%;
        }

/* a figure of the Word file lands on its slide */
.art-def-figure[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: calc(100% - 30px);
}

.art-def-figure__page[b-5c82jfh2nm] {
    display: grid;
    gap: 6px;
    width: 86px;
    padding: 10px;
    border: 1px solid var(--pub-line);
    border-radius: 8px;
    background: var(--pub-card-solid);
    box-shadow: 0 10px 22px rgba(59, 48, 23, .1);
}

    .art-def-figure__page > i[b-5c82jfh2nm] {
        display: block;
        height: 4px;
        border-radius: 999px;
        background: rgba(155, 125, 48, .22);
    }

        .art-def-figure__page > i.is-short[b-5c82jfh2nm] {
            width: 60%;
        }

.art-def-figure__chart[b-5c82jfh2nm] {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 34px;
    padding: 4px;
    border-radius: 5px;
    background: rgba(47, 69, 144, .08);
}

    .art-def-figure__chart i[b-5c82jfh2nm] {
        flex: 1 1 0;
        height: calc(var(--h) * 100%);
        border-radius: 2px 2px 0 0;
        background: linear-gradient(180deg, #5a74c9, #2f4590);
    }

.art-def-figure__arrow[b-5c82jfh2nm] {
    display: grid;
    color: var(--pub-gold-2);
    animation: pub-def-nudge-b-5c82jfh2nm 2.4s ease-in-out infinite;
}

    .art-def-figure__arrow[b-5c82jfh2nm]  svg {
        width: 24px;
        height: 24px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

@keyframes pub-def-nudge-b-5c82jfh2nm {
    50% { translate: 4px 0; }
}

.pub-page[dir="rtl"] .art-def-figure__arrow[b-5c82jfh2nm] {
    animation-name: pub-def-nudge-rtl-b-5c82jfh2nm;
}

@keyframes pub-def-nudge-rtl-b-5c82jfh2nm {
    50% { translate: -4px 0; }
}

.art-def-figure__slide[b-5c82jfh2nm] {
    display: grid;
    gap: 8px;
    width: 128px;
    padding: 10px;
    border-radius: 9px;
    background: linear-gradient(160deg, #2a3866, #141c38);
    box-shadow: 0 12px 24px rgba(20, 28, 56, .3);
}

    .art-def-figure__slide .art-def-figure__chart[b-5c82jfh2nm] {
        height: 46px;
        background: rgba(255, 255, 255, .92);
        animation: pub-def-land-b-5c82jfh2nm 6s ease-out infinite;
    }

@keyframes pub-def-land-b-5c82jfh2nm {
    0%, 20% { opacity: 0; scale: .7; }
    35%, 100% { opacity: 1; scale: 1; }
}

/* the session's minutes, split across the thesis's parts */
.art-def-time[b-5c82jfh2nm] {
    display: grid;
    gap: 10px;
    width: calc(100% - 44px);
}

.art-def-time__bar[b-5c82jfh2nm] {
    position: relative;
    display: block;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(155, 125, 48, .1);
}

    .art-def-time__bar i[b-5c82jfh2nm] {
        position: absolute;
        inset-block: 0;
        inset-inline-start: calc(var(--s) * 1%);
        width: calc(var(--w) * 1%);
        border-inline-end: 2px solid var(--pub-card-solid);
        background: linear-gradient(90deg, var(--pub-gold-1), var(--pub-gold-2));
    }

        .art-def-time__bar i:nth-child(even)[b-5c82jfh2nm] {
            background: linear-gradient(90deg, #dfa462, #b36c27);
        }

.art-def-time__rows[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

    .art-def-time__rows span[b-5c82jfh2nm] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        padding: 6px 10px;
        border: 1px solid var(--pub-line);
        border-radius: 10px;
        background: var(--pub-card-solid);
        animation: pub-def-row-b-5c82jfh2nm 8s ease-in-out infinite;
        animation-delay: calc(var(--t) * 2s);
    }

@keyframes pub-def-row-b-5c82jfh2nm {
    0%, 25%, 100% { border-color: var(--pub-line); box-shadow: none; }
    4%, 21% { border-color: rgba(226, 179, 63, .6); box-shadow: 0 0 0 3px rgba(226, 179, 63, .12); }
}

    .art-def-time__rows b[b-5c82jfh2nm] {
        color: var(--pub-ink);
        font-size: .7rem;
    }

    .art-def-time__rows em[b-5c82jfh2nm] {
        color: var(--pub-gold-ink);
        font-size: .66rem;
        font-style: normal;
        font-weight: 800;
    }

/* a committee question and its answer, twice */
.art-def-qa[b-5c82jfh2nm] {
    display: grid;
    gap: 6px;
    width: calc(100% - 44px);
}

.art-def-qa__q[b-5c82jfh2nm],
.art-def-qa__a[b-5c82jfh2nm] {
    padding: 6px 12px;
    border-radius: 12px;
    animation: pub-def-point-b-5c82jfh2nm 8s ease-out infinite;
    animation-delay: calc(var(--t) * .7s);
}

.art-def-qa__q[b-5c82jfh2nm] {
    justify-self: start;
    max-width: 86%;
    border-end-start-radius: 4px;
    background: rgba(31, 43, 82, .09);
    color: var(--pub-ink);
    font-size: .7rem;
    font-weight: 700;
}

html[data-theme="dark"] .art-def-qa__q[b-5c82jfh2nm] {
    background: rgba(174, 187, 230, .12);
}

.art-def-qa__a[b-5c82jfh2nm] {
    display: grid;
    justify-self: end;
    gap: 5px;
    width: 62%;
    border-end-end-radius: 4px;
    background: var(--pub-gold-soft);
}

    .art-def-qa__a i[b-5c82jfh2nm] {
        display: block;
        height: 5px;
        border-radius: 999px;
        background: rgba(155, 112, 20, .4);
    }

        .art-def-qa__a i.is-short[b-5c82jfh2nm] {
            width: 60%;
        }

/* the talk, read aloud, with each slide's start marked */
.art-def-audio[b-5c82jfh2nm] {
    display: grid;
    gap: 4px;
    width: calc(100% - 44px);
}

.art-def-audio__marks[b-5c82jfh2nm] {
    position: relative;
    height: 22px;
}

    .art-def-audio__marks b[b-5c82jfh2nm] {
        position: absolute;
        inset-inline-start: calc(var(--s) * 1%);
        display: grid;
        place-items: center;
        width: 20px;
        height: 20px;
        border-radius: 6px;
        background: linear-gradient(160deg, #2a3866, #141c38);
        color: #f0c85c;
        font-size: .64rem;
    }

/* ---------- showcase: the defense's slides lane ---------- */

.pub-def-slides i[b-5c82jfh2nm] {
    border-radius: 3px;
    background: rgba(174, 187, 230, .55);
}

    .pub-def-slides i:nth-child(n + 4):nth-child(-n + 9)[b-5c82jfh2nm] {
        background: linear-gradient(180deg, var(--pub-gold-1), var(--pub-gold-2));
    }



/* =========================================================
   THE INSTAGRAM PAGE ANALYSIS (/instagram-page-analysis)
   Every picture is a part of the app's real report for a
   made-up page (@goftito.sample), cut from its PDF: the hero
   scrolls through its first parts, the cards pan down their
   part on hover, and the list of what is handed over shows
   each part above what it holds.
   ========================================================= */

/* ---------- hero: the report scrolling, its calendar and the PDF ---------- */

.pub-iga[b-5c82jfh2nm] {
    position: relative;
    z-index: 1;
    width: min(450px, 86%);
    margin-inline-start: 8%;
}

.pub-iga__sheet[b-5c82jfh2nm] {
    padding: 14px 12px 12px;
    border: 1px solid rgba(77, 63, 24, .16);
    border-radius: 26px;
    background: var(--pub-card-solid);
    box-shadow: 0 34px 70px rgba(59, 48, 23, .22), inset 0 1px 0 rgba(255, 255, 255, .7);
    transform: rotate(-1.5deg);
    animation: pub-hover-b-5c82jfh2nm 8s ease-in-out infinite;
}

    .pub-iga__sheet .pub-console__head[b-5c82jfh2nm] {
        gap: 10px;
        padding-inline: 6px;
    }

.pub-iga__tag[b-5c82jfh2nm] {
    margin-inline-start: auto;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(214, 69, 124, .12);
    color: #c0386d;
    font-size: .68rem;
    white-space: nowrap;
}

.pub-iga__window[b-5c82jfh2nm] {
    height: 360px;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(77, 63, 24, .08);
}

.pub-iga__track[b-5c82jfh2nm] {
    display: grid;
    gap: 6px;
    animation: pub-iga-scroll-b-5c82jfh2nm 18s ease-in-out infinite alternate;
}

    .pub-iga__track img[b-5c82jfh2nm],
    .pub-iga__card-shot img[b-5c82jfh2nm],
    .pub-iga-cal img[b-5c82jfh2nm],
    .art-iga-shot img[b-5c82jfh2nm],
    .pub-deliver__shot img[b-5c82jfh2nm],
    .pub-deliver__page img[b-5c82jfh2nm] {
        display: block;
        width: 100%;
        height: auto;
    }

@keyframes pub-iga-scroll-b-5c82jfh2nm {
    0%, 12% { translate: 0 0; }
    88%, 100% { translate: 0 calc(-100% + 360px); }
}

.pub-iga__card[b-5c82jfh2nm] {
    position: absolute;
    bottom: 16%;
    inset-inline-start: -18%;
    width: 48%;
    padding: 10px 10px 8px;
    border: 1px solid rgba(77, 63, 24, .14);
    border-radius: 18px;
    background: var(--pub-card-solid);
    box-shadow: 0 24px 48px rgba(59, 48, 23, .24);
    transform: rotate(3deg);
    animation: pub-hover-b-5c82jfh2nm 7s ease-in-out -2s infinite;
}

.pub-iga__card-head[b-5c82jfh2nm] {
    display: grid;
    padding: 0 4px 8px;
    line-height: 1.4;
}

    .pub-iga__card-head b[b-5c82jfh2nm] {
        color: var(--pub-ink);
        font-size: .8rem;
        font-weight: 800;
    }

    .pub-iga__card-head small[b-5c82jfh2nm] {
        color: var(--pub-muted);
        font-size: .68rem;
    }

.pub-iga__card-shot[b-5c82jfh2nm] {
    display: block;
    height: 118px;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
}

.pub-iga__pdf[b-5c82jfh2nm] {
    position: absolute;
    top: -16px;
    inset-inline-end: -16px;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(140deg, #e8526f, #b9325a);
    box-shadow: 0 16px 30px rgba(185, 50, 90, .35);
    color: #fff;
    font-size: .9rem;
    font-weight: 900;
    letter-spacing: .04em;
    transform: rotate(-8deg);
    animation: pub-hover-b-5c82jfh2nm 6s ease-in-out -1s infinite;
}

/* ---------- a feature card's picture: its part of the report, panned on hover ---------- */

.art-iga-shot[b-5c82jfh2nm] {
    place-self: stretch;
    display: grid;
    width: 100%;
    padding: 14px;
}

.art-iga-shot__frame[b-5c82jfh2nm] {
    position: relative;
    min-height: 140px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(87, 64, 22, .16);
}

    .art-iga-shot__frame img[b-5c82jfh2nm] {
        position: absolute;
        inset: 0;
        height: 100%;
        object-fit: cover;
        object-position: 50% 0%;
        transition: object-position 4s cubic-bezier(.45, .05, .35, 1);
    }

.pub-bento__card:hover .art-iga-shot__frame img[b-5c82jfh2nm] {
    object-position: 50% 100%;
}

/* ---------- everything it hands over ---------- */

.pub-deliver[b-5c82jfh2nm] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pub-deliver__item[b-5c82jfh2nm] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--pub-line);
    border-radius: 22px;
    background: var(--pub-card);
    box-shadow: var(--pub-shadow);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
}

    .pub-deliver__item:hover[b-5c82jfh2nm] {
        transform: translateY(-4px);
    }

.pub-deliver__shot[b-5c82jfh2nm] {
    position: relative;
    flex: none;
    height: 150px;
    margin: 10px 10px 0;
    overflow: hidden;
    border: 1px solid var(--pub-line);
    border-radius: 14px;
    background: #fff;
}

    .pub-deliver__shot img[b-5c82jfh2nm] {
        position: absolute;
        inset: 0;
        height: 100%;
        object-fit: cover;
        object-position: 50% 0%;
        transition: object-position 3.5s cubic-bezier(.45, .05, .35, 1);
    }

.pub-deliver__item:hover .pub-deliver__shot img[b-5c82jfh2nm] {
    object-position: 50% 100%;
}

.pub-deliver__copy[b-5c82jfh2nm] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 16px 18px 18px;
}

.pub-deliver__mark[b-5c82jfh2nm] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

    .pub-deliver__mark .pub-bento__icon[b-5c82jfh2nm] {
        width: 34px;
        height: 34px;
        margin: 0;
        border-radius: 11px;
    }

        .pub-deliver__mark .pub-bento__icon[b-5c82jfh2nm]  svg {
            width: 18px;
            height: 18px;
        }

    .pub-deliver__mark em[b-5c82jfh2nm] {
        color: var(--pub-muted);
        font-size: .74rem;
        font-style: normal;
        font-weight: 800;
    }

.pub-deliver__copy h3[b-5c82jfh2nm] {
    margin: 0 0 6px;
    color: var(--pub-ink);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.55;
}

.pub-deliver__copy p[b-5c82jfh2nm] {
    margin: 0;
    color: var(--pub-text);
    font-size: .86rem;
    line-height: 1.85;
}

.pub-deliver__copy .pub-voice-points[b-5c82jfh2nm] {
    gap: 6px;
    margin-top: 10px;
}

    .pub-deliver__copy .pub-voice-points li[b-5c82jfh2nm] {
        font-size: .8rem;
        line-height: 1.75;
    }

.pub-deliver__see[b-5c82jfh2nm] {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 14px;
    color: var(--pub-gold-2);
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
}

    .pub-deliver__see:hover[b-5c82jfh2nm] {
        text-decoration: underline;
    }

/* the PDF: the dark card, two pages of the report stacked */
.pub-deliver__item--pdf[b-5c82jfh2nm] {
    border-color: rgba(255, 236, 190, .1);
    background:
        radial-gradient(80% 70% at 100% 0%, rgba(240, 191, 75, .22), transparent 62%),
        var(--pub-dark);
}

    .pub-deliver__item--pdf .pub-deliver__copy h3[b-5c82jfh2nm] {
        color: var(--pub-dark-ink);
    }

    .pub-deliver__item--pdf .pub-deliver__copy p[b-5c82jfh2nm],
    .pub-deliver__item--pdf .pub-deliver__mark em[b-5c82jfh2nm] {
        color: var(--pub-dark-text);
    }

.pub-deliver__pdf[b-5c82jfh2nm] {
    position: relative;
    display: block;
    flex: none;
    height: 150px;
    margin: 10px 10px 0;
}

.pub-deliver__page[b-5c82jfh2nm] {
    position: absolute;
    top: 14px;
    left: 50%;
    width: 46%;
    height: 132px;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
    translate: -50% 0;
    rotate: 3deg;
    transition: rotate .5s cubic-bezier(.2, .8, .2, 1);
}

.pub-deliver__page--back[b-5c82jfh2nm] {
    background: #efe6d2;
    rotate: -7deg;
}

.pub-deliver__item--pdf:hover .pub-deliver__page[b-5c82jfh2nm] {
    rotate: 0deg;
}

.pub-deliver__item--pdf:hover .pub-deliver__page--back[b-5c82jfh2nm] {
    rotate: -12deg;
}

.pub-deliver__pdf b[b-5c82jfh2nm] {
    position: absolute;
    bottom: 0;
    inset-inline-end: 22%;
    padding: 5px 11px;
    border-radius: 9px;
    background: linear-gradient(140deg, #e8526f, #b9325a);
    color: #fff;
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .04em;
}

/* ---------- the dark card: the calendar and a day's ready texts ---------- */

.pub-iga-cal[b-5c82jfh2nm] {
    position: relative;
    justify-self: center;
    width: min(100%, 470px);
    padding-bottom: 70px;
}

.pub-iga-cal__sheet[b-5c82jfh2nm] {
    height: 340px;
    overflow: hidden;
    border: 1px solid rgba(255, 236, 190, .12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
    transform: rotate(-1.5deg);
}

    .pub-iga-cal__sheet img[b-5c82jfh2nm] {
        animation: pub-iga-cal-b-5c82jfh2nm 16s ease-in-out infinite alternate;
    }

@keyframes pub-iga-cal-b-5c82jfh2nm {
    0%, 15% { translate: 0 0; }
    85%, 100% { translate: 0 calc(-100% + 340px); }
}

.pub-iga-cal__day[b-5c82jfh2nm] {
    position: absolute;
    bottom: 0;
    inset-inline-end: -6%;
    width: 64%;
    height: 190px;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 26px 50px rgba(0, 0, 0, .45);
    transform: rotate(2.5deg);
    animation: pub-hover-b-5c82jfh2nm 7s ease-in-out infinite;
}

@media (max-width: 1100px) {
    .pub-deliver[b-5c82jfh2nm] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .pub-iga[b-5c82jfh2nm] {
        width: min(330px, 76%);
        margin-inline-start: 0;
        margin-inline-end: 12%;
    }

    .pub-iga__window[b-5c82jfh2nm] {
        height: 280px;
    }

    .pub-iga__track[b-5c82jfh2nm] {
        animation-name: pub-iga-scroll-small-b-5c82jfh2nm;
    }

    .pub-iga__card[b-5c82jfh2nm] {
        bottom: 10%;
        inset-inline-start: -12%;
        width: 52%;
    }

    .pub-iga__card-shot[b-5c82jfh2nm] {
        height: 90px;
    }

    .pub-iga-cal__sheet[b-5c82jfh2nm] {
        height: 280px;
    }

        .pub-iga-cal__sheet img[b-5c82jfh2nm] {
            animation-name: pub-iga-cal-small-b-5c82jfh2nm;
        }

    .pub-iga-cal__day[b-5c82jfh2nm] {
        inset-inline-end: 0;
        height: 150px;
    }
}

@keyframes pub-iga-scroll-small-b-5c82jfh2nm {
    0%, 12% { translate: 0 0; }
    88%, 100% { translate: 0 calc(-100% + 280px); }
}

@keyframes pub-iga-cal-small-b-5c82jfh2nm {
    0%, 15% { translate: 0 0; }
    85%, 100% { translate: 0 calc(-100% + 280px); }
}

@media (max-width: 640px) {
    .pub-deliver[b-5c82jfh2nm] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pub-iga__sheet[b-5c82jfh2nm],
    .pub-iga__track[b-5c82jfh2nm],
    .pub-iga__card[b-5c82jfh2nm],
    .pub-iga__pdf[b-5c82jfh2nm],
    .pub-iga-cal__sheet img[b-5c82jfh2nm],
    .pub-iga-cal__day[b-5c82jfh2nm] {
        animation: none;
    }

    .art-iga-shot__frame img[b-5c82jfh2nm],
    .pub-deliver__shot img[b-5c82jfh2nm] {
        transition: none;
    }
}
/* _content/AITranslationPlatform.Web/Components/Public/TrustSeal.razor.rz.scp.css */
/* The seal is drawn for a light page; on the dark footers it sits on its own
   card, which wwwroot/js/trust-seal.js shows only once the image has loaded. */
.trust-seal[b-gr7ou0huf7] {
    display: inline-flex;
    flex: none;
    border-radius: 12px;
    line-height: 0;
}

    .trust-seal.is-loaded[b-gr7ou0huf7] {

        width: 84px;
        height: 98px;
        background: #fff;
    }

    .trust-seal[b-gr7ou0huf7]  a {
        display: block;
    }

    .trust-seal[b-gr7ou0huf7]  img {
        display: block;
        width: 74px;
        height: 84px;
        margin-top:6px;
        margin-right:4px;
    }
/* _content/AITranslationPlatform.Web/Components/Public/ZibalSeal.razor.rz.scp.css */
/* The seal is drawn for a light page; on the dark footers it sits on its own
   card, which wwwroot/js/trust-seal.js shows only once the image has loaded. */
.zibal-seal[b-noq9ycitye] {
    display: inline-flex;
    flex: none;
    border-radius: 18px;
    line-height: 0;
}

    .zibal-seal.is-loaded[b-noq9ycitye] {
        padding: 6px;
        background: #fff;
    }

    .zibal-seal[b-noq9ycitye]  a {
        display: block;
    }

    .zibal-seal[b-noq9ycitye]  img {
        display: block;
        width: 84px;
        height: 98px;
    }
/* _content/AITranslationPlatform.Web/Components/Social/InstagramStudio.razor.rz.scp.css */
/* ============================================================
   INSTAGRAM STUDIO - posts, carousels and stories of a product
   Only --ui-* tokens: light and dark come from app.css. The hero is
   the article writer's, under ig- names.
   ============================================================ */

.ig-page[b-jnqq2excb8] {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    color: var(--ui-ink);
}


/* ============================================================
   HERO
   ============================================================ */

.ig-hero[b-jnqq2excb8] {
    min-height: 196px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 34px 36px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xl);
    background:
        radial-gradient(120% 150% at 8% -20%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(90% 120% at 96% 120%, var(--ui-bloom-cool), transparent 55%),
        linear-gradient(135deg, var(--ui-surface-strong), var(--ui-surface));
    box-shadow: var(--ui-shadow-md);
}

.ig-page[dir="rtl"] .ig-hero[b-jnqq2excb8] {
    background:
        radial-gradient(120% 150% at 92% -20%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(90% 120% at 4% 120%, var(--ui-bloom-cool), transparent 55%),
        linear-gradient(225deg, var(--ui-surface-strong), var(--ui-surface));
}

.ig-hero[b-jnqq2excb8]::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    inset-block-start: -172px;
    inset-inline-end: -104px;
    border: 46px solid var(--ui-accent-soft);
    border-radius: 50%;
    animation: ui-hero-ring 1.1s var(--ui-ease-out) .08s backwards;
    pointer-events: none;
}

.ig-hero[b-jnqq2excb8]::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    inset-block-end: -108px;
    inset-inline-start: -46px;
    border: 30px solid var(--ui-line-strong);
    border-radius: 50%;
    animation: ui-hero-ring 1.1s var(--ui-ease-out) .18s backwards;
    pointer-events: none;
}

.ig-hero-copy[b-jnqq2excb8] {
    position: relative;
    z-index: 1;
    min-width: 0;
    max-width: 720px;
}

.ig-eyebrow[b-jnqq2excb8] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    padding: 6px 13px 6px 11px;
    border: 1px solid rgba(226, 175, 46, .34);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--accent-text);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .075em;
    white-space: nowrap;
    animation: ui-rise .55s var(--ui-ease-out) .12s backwards;
}

.ig-page[dir="rtl"] .ig-eyebrow[b-jnqq2excb8] {
    letter-spacing: 0;
}

.ig-eyebrow i[b-jnqq2excb8] {
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af);
    animation: ui-pulse 2.4s var(--ui-ease) infinite;
}

.ig-hero h1[b-jnqq2excb8] {
    margin: 0 0 11px;
    color: var(--text);
    font-size: clamp(1.5rem, 2.1vw, 2.3rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.025em;
    animation: ui-reveal-up .6s var(--ui-ease-out) .2s backwards;
}

.ig-page[dir="rtl"] .ig-hero h1[b-jnqq2excb8] {
    letter-spacing: 0;
}

.ig-hero p[b-jnqq2excb8] {
    max-width: 680px;
    margin: 0;
    color: var(--text-secondary);
    font-size: .86rem;
    line-height: 1.9;
    animation: ui-rise .55s var(--ui-ease-out) .3s backwards;
}

.ig-hero-actions[b-jnqq2excb8] {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: ui-rise .55s var(--ui-ease-out) .38s backwards;
}

.ig-hero-action[b-jnqq2excb8] {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 0 8px;
    border-radius: var(--ui-r-pill);
    font-size: .76rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--ui-t);
}

.ig-page[dir="rtl"] .ig-hero-action[b-jnqq2excb8] {
    padding: 0 8px 0 20px;
}

.ig-glyph[b-jnqq2excb8] {
    width: 36px;
    height: 36px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.ig-glyph svg[b-jnqq2excb8] {
    width: 17px;
    height: 17px;
}

.ig-hero-action.is-primary[b-jnqq2excb8] {
    border: 1px solid #ad996c6b;
    border-radius: 17px;
    background: linear-gradient(140deg, #f6dc98 0%, #cfb063 100%);
    color: var(--ui-on-accent);
    box-shadow: var(--ui-shadow-accent);
}

.ig-hero-action.is-primary .ig-glyph[b-jnqq2excb8] {
    background: rgba(74, 54, 8, .16);
}

.ig-hero-action.is-secondary[b-jnqq2excb8] {
    border: 1px solid var(--ui-line-strong);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
}

.ig-hero-action.is-secondary .ig-glyph[b-jnqq2excb8] {
    background: var(--ui-surface-sunken);
}

.ig-hero-action:hover[b-jnqq2excb8] {
    transform: translateY(-2px);
}


/* ============================================================
   STATES
   ============================================================ */

.ig-skeleton[b-jnqq2excb8] {
    display: grid;
    gap: 16px;
}

.ig-skeleton div[b-jnqq2excb8] {
    height: 160px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background:
        linear-gradient(100deg, transparent 30%, var(--ui-surface-hover) 50%, transparent 70%) 0 0 / 200% 100%,
        var(--ui-surface);
    animation: ig-shimmer-b-jnqq2excb8 1.4s linear infinite;
}

@keyframes ig-shimmer-b-jnqq2excb8 {
    to {
        background-position: -200% 0, 0 0;
    }
}

.ig-alert[b-jnqq2excb8] {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 14px 44px 14px 18px;
    border: 1px solid;
    border-radius: var(--ui-r-md);
    font-size: .82rem;
    line-height: 1.8;
    animation: ui-fade .25s var(--ui-ease-out);
}

.ig-page[dir="rtl"] .ig-alert[b-jnqq2excb8] {
    padding: 14px 18px 14px 44px;
}

.ig-alert.is-danger[b-jnqq2excb8] {
    border-color: var(--ui-danger-tint);
    background: var(--ui-danger-soft);
    color: var(--ui-danger);
}

.ig-alert.is-warning[b-jnqq2excb8] {
    border-color: var(--ui-warning-tint);
    background: var(--ui-warning-soft);
    color: var(--ui-warning);
}

.ig-alert.is-success[b-jnqq2excb8] {
    border-color: var(--ui-success-tint);
    background: var(--ui-success-soft);
    color: var(--ui-success);
}

.ig-alert strong[b-jnqq2excb8] {
    font-weight: 800;
}

.ig-alert span[b-jnqq2excb8] {
    flex: 1 1 260px;
}

.ig-close[b-jnqq2excb8] {
    position: absolute;
    top: 8px;
    inset-inline-end: 10px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
}


/* ============================================================
   CARDS, FIELDS, BUTTONS
   ============================================================ */

.ig-card[b-jnqq2excb8] {
    min-width: 0;
    display: grid;
    gap: 18px;
    padding: 24px 26px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xl);
    background: var(--ui-surface);
    box-shadow: var(--ui-shadow-sm);
    animation: ui-rise .5s var(--ui-ease-out) backwards;
}

.ig-card-head[b-jnqq2excb8] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.ig-card-head h2[b-jnqq2excb8] {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 800;
}

.ig-card-head p[b-jnqq2excb8] {
    max-width: 760px;
    margin: 0;
    color: var(--ui-muted);
    font-size: .8rem;
    line-height: 1.85;
}

.ig-grid[b-jnqq2excb8] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

.ig-field[b-jnqq2excb8] {
    min-width: 0;
    display: grid;
    gap: 7px;
    align-content: start;
}

.ig-field.is-wide[b-jnqq2excb8] {
    grid-column: 1 / -1;
}

.ig-field > span:first-child[b-jnqq2excb8] {
    color: var(--ui-ink-2);
    font-size: .76rem;
    font-weight: 700;
}

.ig-field small[b-jnqq2excb8] {
    color: var(--ui-muted);
    font-size: .7rem;
}

.ig-field input[b-jnqq2excb8],
.ig-field select[b-jnqq2excb8],
.ig-field textarea[b-jnqq2excb8] {
    width: 100%;
    min-width: 0;
    padding: 11px 13px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
    font: inherit;
    font-size: .84rem;
    line-height: 1.7;
    transition: border-color var(--ui-dur-1), box-shadow var(--ui-dur-1);
}

.ig-field textarea[b-jnqq2excb8] {
    resize: vertical;
}

.ig-field input:focus[b-jnqq2excb8],
.ig-field select:focus[b-jnqq2excb8],
.ig-field textarea:focus[b-jnqq2excb8] {
    outline: none;
    border-color: var(--ui-accent-strong);
    box-shadow: 0 0 0 3px var(--ui-accent-soft);
}

.ig-colour[b-jnqq2excb8] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ig-field .ig-colour input[type="color"][b-jnqq2excb8] {
    width: 54px;
    height: 44px;
    padding: 4px;
    cursor: pointer;
}

.ig-colour code[b-jnqq2excb8] {
    color: var(--ui-muted);
    font-size: .78rem;
}

.ig-button[b-jnqq2excb8] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--ui-r-pill);
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--ui-t);
}

.ig-button:disabled[b-jnqq2excb8] {
    opacity: .5;
    cursor: not-allowed;
}

.ig-button.is-primary[b-jnqq2excb8] {
    background: var(--ui-dark);
    color: var(--ui-on-dark);
    box-shadow: var(--ui-shadow-sm);
}

.ig-button.is-primary:not(:disabled):hover[b-jnqq2excb8] {
    background: var(--ui-dark-hover);
    transform: translateY(-1px);
}

.ig-button.is-secondary[b-jnqq2excb8] {
    border-color: var(--ui-line-strong);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
}

.ig-button.is-secondary:not(:disabled):hover[b-jnqq2excb8] {
    border-color: var(--ui-accent-strong);
}

.ig-button.is-ghost[b-jnqq2excb8] {
    border-color: var(--ui-line);
    background: transparent;
    color: var(--ui-ink-2);
}

.ig-button.is-ghost:not(:disabled):hover[b-jnqq2excb8] {
    background: var(--ui-surface-hover);
}

.ig-button.is-danger[b-jnqq2excb8] {
    background: var(--ui-danger);
    color: #fff;
}

.ig-button.is-small[b-jnqq2excb8] {
    min-height: 36px;
    padding: 0 14px;
    font-size: .74rem;
}

.ig-button.is-large[b-jnqq2excb8] {
    min-height: 54px;
    padding: 0 30px;
    font-size: .9rem;
}

.ig-button[b-jnqq2excb8]  .ig-svg,
.ig-link[b-jnqq2excb8]  .ig-svg {
    width: 17px;
    height: 17px;
}

.ig-link[b-jnqq2excb8] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--accent-text);
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.ig-link.is-danger[b-jnqq2excb8] {
    color: var(--ui-danger);
}

.ig-icon-button[b-jnqq2excb8] {
    width: 36px;
    height: 36px;
    flex: none;
    display: grid;
    place-items: center;
    border: 1px solid var(--ui-line);
    border-radius: 50%;
    background: var(--ui-surface-raised);
    color: var(--ui-ink-2);
    cursor: pointer;
    transition: var(--ui-t);
}

.ig-icon-button[b-jnqq2excb8]  svg {
    width: 16px;
    height: 16px;
}

.ig-icon-button:not(:disabled):hover[b-jnqq2excb8] {
    border-color: var(--ui-accent-strong);
    color: var(--ui-ink);
}

.ig-icon-button.is-danger:not(:disabled):hover[b-jnqq2excb8] {
    border-color: var(--ui-danger);
    color: var(--ui-danger);
}

.ig-icon-button:disabled[b-jnqq2excb8] {
    opacity: .4;
}

.ig-spacer[b-jnqq2excb8] {
    flex: 1 1 auto;
}

.ig-bar[b-jnqq2excb8] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-strong);
}

.ig-bar > span:first-child[b-jnqq2excb8] {
    flex: 1 1 260px;
    color: var(--ui-muted);
    font-size: .78rem;
}

.ig-bar.is-sticky[b-jnqq2excb8] {
    position: sticky;
    bottom: 12px;
    z-index: 5;
    box-shadow: var(--ui-shadow-lg);
    backdrop-filter: blur(10px) saturate(1.5);
}

.ig-form-foot[b-jnqq2excb8] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ig-file input[b-jnqq2excb8] {
    display: none;
}

.ig-file[b-jnqq2excb8]  input {
    display: none;
}


/* ============================================================
   BRANDS
   ============================================================ */

.ig-empty[b-jnqq2excb8] {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 34px 20px;
    border: 1px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-lg);
    text-align: center;
}

.ig-empty h3[b-jnqq2excb8] {
    margin: 0;
    font-size: 1rem;
}

.ig-empty p[b-jnqq2excb8] {
    margin: 0 0 8px;
    color: var(--ui-muted);
    font-size: .82rem;
}

.ig-empty-icon[b-jnqq2excb8],
.ig-project-blank[b-jnqq2excb8] {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af);
    color: #fff;
}

.ig-empty-icon[b-jnqq2excb8]  svg,
.ig-project-blank[b-jnqq2excb8]  svg {
    width: 30px;
    height: 30px;
}

.ig-brands[b-jnqq2excb8] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.ig-brand[b-jnqq2excb8] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px 8px 8px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-raised);
    transition: var(--ui-t);
}

.ig-brand.is-selected[b-jnqq2excb8] {
    border-color: var(--ui-accent-strong);
    box-shadow: 0 0 0 3px var(--ui-accent-soft);
}

.ig-brand-pick[b-jnqq2excb8] {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: start;
    cursor: pointer;
}

.ig-brand-logo[b-jnqq2excb8] {
    width: 48px;
    height: 48px;
    flex: none;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: var(--b1);
    color: #fff;
    font-weight: 800;
}

.ig-brand-logo img[b-jnqq2excb8] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.ig-brand-text[b-jnqq2excb8] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.ig-brand-text strong[b-jnqq2excb8] {
    overflow: hidden;
    font-size: .86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ig-brand-text small[b-jnqq2excb8] {
    color: var(--ui-muted);
    font-size: .72rem;
}

.ig-swatches[b-jnqq2excb8] {
    display: flex;
    margin-inline-start: auto;
}

.ig-swatches i[b-jnqq2excb8] {
    width: 20px;
    height: 20px;
    border: 2px solid var(--ui-surface-raised);
    border-radius: 50%;
    background: var(--b1);
}

.ig-swatches i + i[b-jnqq2excb8] {
    margin-inline-start: -7px;
    background: var(--b2);
}

.ig-brand-form[b-jnqq2excb8] {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-sunken);
    animation: ui-fade .25s var(--ui-ease-out);
}

.ig-logo-row[b-jnqq2excb8] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ig-logo-preview[b-jnqq2excb8] {
    width: 64px;
    height: 64px;
    padding: 6px;
    border: 1px solid var(--ui-line);
    border-radius: 16px;
    background: #fff;
    object-fit: contain;
}


/* ============================================================
   NEW PACK AND PACKS
   ============================================================ */

.ig-new[b-jnqq2excb8] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    align-items: end;
    background:
        radial-gradient(90% 140% at 100% 0%, rgba(221, 42, 123, .08), transparent 55%),
        var(--ui-surface);
}

.ig-page[dir="rtl"] .ig-new[b-jnqq2excb8] {
    background:
        radial-gradient(90% 140% at 0% 0%, rgba(221, 42, 123, .08), transparent 55%),
        var(--ui-surface);
}

.ig-new-copy h2[b-jnqq2excb8] {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.ig-new-copy p[b-jnqq2excb8] {
    margin: 0;
    color: var(--ui-muted);
    font-size: .8rem;
    line-height: 1.85;
}

.ig-new-form[b-jnqq2excb8] {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
}

.ig-projects[b-jnqq2excb8] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.ig-project[b-jnqq2excb8] {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-raised);
    transition: var(--ui-t);
}

.ig-project:hover[b-jnqq2excb8] {
    transform: translateY(-3px);
    box-shadow: var(--ui-shadow-md);
}

.ig-project-cover[b-jnqq2excb8] {
    position: relative;
    grid-column: 1 / -1;
    aspect-ratio: 3 / 4;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-sunken);
}

.ig-project-cover img[b-jnqq2excb8] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ig-project-cover img.is-photo[b-jnqq2excb8] {
    object-fit: contain;
    padding: 12px;
}

.ig-status[b-jnqq2excb8] {
    position: absolute;
    top: 8px;
    inset-inline-start: 8px;
    padding: 3px 10px;
    border-radius: var(--ui-r-pill);
    background: rgba(20, 16, 12, .72);
    color: #fff;
    font-size: .66rem;
    font-weight: 800;
    backdrop-filter: blur(6px);
}

.ig-status.is-ready[b-jnqq2excb8] {
    background: rgba(28, 125, 74, .88);
}

.ig-status.is-failed[b-jnqq2excb8] {
    background: rgba(170, 38, 38, .88);
}

.ig-status.is-queued[b-jnqq2excb8],
.ig-status.is-running[b-jnqq2excb8] {
    background: linear-gradient(135deg, #dd2a7b, #8134af);
}

.ig-project-text[b-jnqq2excb8] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.ig-project-text a[b-jnqq2excb8] {
    color: inherit;
    text-decoration: none;
}

.ig-project-text strong[b-jnqq2excb8] {
    display: block;
    overflow: hidden;
    font-size: .84rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ig-project-text small[b-jnqq2excb8] {
    color: var(--ui-muted);
    font-size: .7rem;
}

.ig-confirm[b-jnqq2excb8] {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: .74rem;
}


/* ============================================================
   STEPS
   ============================================================ */

.ig-steps[b-jnqq2excb8] {
    display: flex;
    gap: 8px;
    padding: 6px;
    overflow-x: auto;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface);
}

.ig-steps button[b-jnqq2excb8] {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--ui-r-pill);
    background: transparent;
    color: var(--ui-muted);
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--ui-t);
}

.ig-steps button b[b-jnqq2excb8] {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ui-surface-sunken);
    font-size: .74rem;
}

.ig-steps button.is-active[b-jnqq2excb8] {
    background: var(--ui-dark);
    color: var(--ui-on-dark);
}

.ig-steps button.is-active b[b-jnqq2excb8] {
    background: var(--ui-accent);
    color: var(--ui-on-accent);
}

.ig-steps button:disabled[b-jnqq2excb8] {
    opacity: .45;
    cursor: not-allowed;
}


/* ============================================================
   PHOTOS AND CHOICES
   ============================================================ */

.ig-photos[b-jnqq2excb8] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.ig-photo[b-jnqq2excb8],
.ig-photo-add[b-jnqq2excb8] {
    position: relative;
    margin: 0;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--ui-r-lg);
}

.ig-photo[b-jnqq2excb8] {
    border: 1px solid var(--ui-line);
    background:
        conic-gradient(var(--ui-surface-sunken) 25%, var(--ui-surface) 0 50%, var(--ui-surface-sunken) 0 75%, var(--ui-surface) 0) 0 0 / 18px 18px;
}

.ig-photo img[b-jnqq2excb8] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ig-photo figcaption[b-jnqq2excb8] {
    position: absolute;
    bottom: 8px;
    inset-inline-start: 8px;
    padding: 3px 10px;
    border-radius: var(--ui-r-pill);
    background: var(--ui-dark);
    color: var(--ui-on-dark);
    font-size: .66rem;
    font-weight: 800;
}

.ig-photo-remove[b-jnqq2excb8] {
    position: absolute;
    top: 8px;
    inset-inline-end: 8px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(20, 16, 12, .7);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
}

.ig-photo-add[b-jnqq2excb8] {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 6px;
    padding: 12px;
    border: 2px dashed var(--ui-line-strong);
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
    text-align: center;
    cursor: pointer;
    transition: var(--ui-t);
}

.ig-photo-add:hover[b-jnqq2excb8] {
    border-color: #dd2a7b;
    color: var(--ui-ink);
}

.ig-photo-add[b-jnqq2excb8]  input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.ig-photo-add span[b-jnqq2excb8]  svg {
    width: 30px;
    height: 30px;
}

.ig-photo-add strong[b-jnqq2excb8] {
    font-size: .8rem;
}

.ig-photo-add small[b-jnqq2excb8] {
    color: var(--ui-muted);
    font-size: .66rem;
}

.ig-photo-add.is-busy[b-jnqq2excb8] {
    animation: ui-pulse 1.4s var(--ui-ease) infinite;
}

.ig-chips[b-jnqq2excb8] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ig-chip[b-jnqq2excb8] {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 16px 0 8px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--ui-ink-2);
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--ui-t);
}

.ig-page[dir="rtl"] .ig-chip[b-jnqq2excb8] {
    padding: 0 8px 0 16px;
}

.ig-chip.is-active[b-jnqq2excb8] {
    border-color: var(--ui-dark);
    background: var(--ui-dark);
    color: var(--ui-on-dark);
}

.ig-subjects[b-jnqq2excb8] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 10px;
}

.ig-subject[b-jnqq2excb8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 92px;
    padding: 12px 10px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-raised);
    color: var(--ui-ink-2);
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ig-subject > span[b-jnqq2excb8] {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ui-accent-soft);
    color: var(--ui-ink);
}

.ig-subject[b-jnqq2excb8]  svg,
.ig-subject > span > svg[b-jnqq2excb8] {
    width: 21px;
    height: 21px;
}

.ig-subject:hover[b-jnqq2excb8] {
    border-color: var(--ui-dark);
    transform: translateY(-2px);
}

.ig-subject.is-active[b-jnqq2excb8] {
    border-color: var(--ui-dark);
    background: var(--ui-dark);
    color: var(--ui-on-dark);
    box-shadow: var(--ui-shadow-lg);
}

.ig-subject.is-active > span[b-jnqq2excb8] {
    background: var(--ui-accent);
    color: var(--ui-dark);
}

.ig-look[b-jnqq2excb8] {
    margin-top: 8px;
    color: var(--ui-muted);
    font-size: .76rem;
}

.ig-look b[b-jnqq2excb8] {
    color: var(--ui-ink-2);
}

.ig-style[b-jnqq2excb8] {
    width: 28px;
    height: 28px;
    flex: none;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5);
}

.ig-style.is-studio[b-jnqq2excb8] { background: linear-gradient(160deg, #f4f1ec, #c9c2b8); }
.ig-style.is-minimal[b-jnqq2excb8] { background: linear-gradient(160deg, #ffffff, #e8eef2); }
.ig-style.is-lifestyle[b-jnqq2excb8] { background: linear-gradient(160deg, #e9c9a1, #8b6a4a); }
.ig-style.is-luxury[b-jnqq2excb8] { background: linear-gradient(160deg, #3b2f23, #0f0c09); }
.ig-style.is-vibrant[b-jnqq2excb8] { background: linear-gradient(160deg, #ff5f6d, #ffc371); }
.ig-style.is-natural[b-jnqq2excb8] { background: linear-gradient(160deg, #a8c686, #5b7f45); }

.ig-counts[b-jnqq2excb8] {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.ig-stepper[b-jnqq2excb8] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
}

.ig-stepper button[b-jnqq2excb8] {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--ui-surface-sunken);
    color: var(--ui-ink);
    font: inherit;
    font-size: 1.1rem;
    cursor: pointer;
}

.ig-stepper b[b-jnqq2excb8] {
    min-width: 34px;
    text-align: center;
}


/* ============================================================
   CREATE
   ============================================================ */

.ig-qualities[b-jnqq2excb8] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ig-quality[b-jnqq2excb8] {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-raised);
    color: inherit;
    font: inherit;
    text-align: start;
    cursor: pointer;
    transition: var(--ui-t);
}

.ig-quality strong[b-jnqq2excb8] {
    font-size: .92rem;
}

.ig-quality span[b-jnqq2excb8] {
    color: var(--ui-muted);
    font-size: .74rem;
    line-height: 1.8;
}

.ig-quality.is-active[b-jnqq2excb8] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
    box-shadow: 0 0 0 3px var(--ui-accent-soft);
}

/* What is made: four choices side by side, each with its sign. */
.ig-qualities.is-kinds[b-jnqq2excb8] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ig-quality:disabled[b-jnqq2excb8] {
    cursor: default;
    opacity: .7;
}

.ig-kind-icon[b-jnqq2excb8] {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--ui-surface-sunken);
    color: var(--ui-ink);
}

.ig-kind-icon .ig-svg[b-jnqq2excb8] {
    width: 22px;
    height: 22px;
}

.ig-quality.is-active .ig-kind-icon[b-jnqq2excb8] {
    background: var(--ui-accent);
    color: var(--ui-on-accent, #1c1b17);
}

/* The customer's own texts, before anything is made. */
.ig-given .ig-grid[b-jnqq2excb8] {
    padding-top: 4px;
}

.ig-given-head[b-jnqq2excb8] {
    grid-column: 1 / -1;
    margin: 10px 0 -2px;
    color: var(--ui-muted);
    font-size: .76rem;
    font-weight: 800;
}

.ig-reel-wishes[b-jnqq2excb8] {
    margin-bottom: 18px;
}

.ig-reel-wishes .ig-reel-given[b-jnqq2excb8] {
    padding: 0 16px 16px;
}

.ig-reel-given textarea[b-jnqq2excb8] {
    resize: vertical;
}

.ig-reel-again[b-jnqq2excb8] {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
    font: inherit;
    font-size: .76rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--ui-t);
}

.ig-reel-again:hover:not(:disabled)[b-jnqq2excb8] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
}

.ig-reel-again:disabled[b-jnqq2excb8] {
    cursor: default;
    opacity: .6;
}

.ig-reel-again .ig-svg[b-jnqq2excb8] {
    width: 15px;
    height: 15px;
}

.ig-reel-note[b-jnqq2excb8] {
    color: var(--ui-muted);
    font-size: .74rem;
    line-height: 1.8;
}

.ig-reel-tip[b-jnqq2excb8] {
    margin: -6px 0 18px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--ui-surface-sunken);
    color: var(--ui-muted);
    font-size: .78rem;
    line-height: 1.9;
}

.ig-quote[b-jnqq2excb8] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-sunken);
}

.ig-quote > div[b-jnqq2excb8] {
    display: grid;
    gap: 4px;
}

.ig-quote > div span[b-jnqq2excb8],
.ig-quote > div small[b-jnqq2excb8] {
    color: var(--ui-muted);
    font-size: .74rem;
}

.ig-quote b[b-jnqq2excb8] {
    font-size: 1.4rem;
    font-weight: 800;
}

.ig-includes[b-jnqq2excb8] {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .78rem;
}

.ig-includes li[b-jnqq2excb8]::before {
    content: "✓";
    margin-inline-end: 8px;
    color: var(--ui-success);
    font-weight: 800;
}

.ig-working[b-jnqq2excb8] {
    justify-items: center;
    padding: 46px 24px;
    text-align: center;
}

.ig-working h2[b-jnqq2excb8] {
    margin: 0;
    font-size: 1.15rem;
}

.ig-working > p[b-jnqq2excb8] {
    max-width: 520px;
    margin: 0;
    color: var(--ui-muted);
    font-size: .82rem;
    line-height: 1.9;
}

.ig-orbit[b-jnqq2excb8] {
    position: relative;
    width: 86px;
    height: 86px;
}

.ig-orbit i[b-jnqq2excb8] {
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-top-color: #dd2a7b;
    border-radius: 50%;
    animation: ig-spin-b-jnqq2excb8 1.2s linear infinite;
}

.ig-orbit i:nth-child(2)[b-jnqq2excb8] {
    inset: 12px;
    border-top-color: #f58529;
    animation-duration: 1.7s;
    animation-direction: reverse;
}

.ig-orbit i:nth-child(3)[b-jnqq2excb8] {
    inset: 24px;
    border-top-color: #8134af;
    animation-duration: 2.3s;
}

@keyframes ig-spin-b-jnqq2excb8 {
    to {
        transform: rotate(360deg);
    }
}

.ig-progress[b-jnqq2excb8] {
    display: grid;
    gap: 10px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    text-align: start;
}

.ig-progress li[b-jnqq2excb8] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ui-muted);
    font-size: .8rem;
}

.ig-progress li i[b-jnqq2excb8] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--ui-line-strong);
    border-radius: 50%;
}

.ig-progress li.is-now[b-jnqq2excb8] {
    color: var(--ui-ink);
    font-weight: 800;
}

.ig-progress li.is-now i[b-jnqq2excb8] {
    border-color: #dd2a7b;
    border-top-color: transparent;
    animation: ig-spin-b-jnqq2excb8 .9s linear infinite;
}

.ig-progress li.is-done[b-jnqq2excb8] {
    color: var(--ui-success);
}

.ig-progress li.is-done i[b-jnqq2excb8] {
    border-color: var(--ui-success);
    background: var(--ui-success);
}


/* ============================================================
   RESULT
   ============================================================ */

.ig-result-head[b-jnqq2excb8] {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    background:
        radial-gradient(80% 140% at 100% 0%, rgba(245, 133, 41, .1), transparent 55%),
        radial-gradient(80% 140% at 0% 100%, rgba(129, 52, 175, .08), transparent 55%),
        var(--ui-surface);
}

.ig-result-head h2[b-jnqq2excb8] {
    margin: 0 0 4px;
    font-size: 1.15rem;
}

.ig-result-head p[b-jnqq2excb8] {
    margin: 0;
    color: var(--ui-muted);
    font-size: .8rem;
    line-height: 1.85;
}

.ig-result-actions[b-jnqq2excb8] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.ig-segment[b-jnqq2excb8] {
    display: inline-flex;
    padding: 4px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
}

.ig-segment button[b-jnqq2excb8] {
    min-height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--ui-r-pill);
    background: transparent;
    color: var(--ui-ink-2);
    font: inherit;
    font-size: .76rem;
    font-weight: 800;
    cursor: pointer;
}

.ig-segment button.is-active[b-jnqq2excb8] {
    background: var(--ui-dark);
    color: var(--ui-on-dark);
}

.ig-gallery[b-jnqq2excb8] {
    display: grid;
    gap: 16px;
}

.ig-gallery.is-post[b-jnqq2excb8] {
    grid-template-columns: minmax(0, 340px);
}

.ig-gallery.is-row[b-jnqq2excb8] {
    grid-auto-flow: column;
    grid-auto-columns: 230px;
    padding-bottom: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.ig-gallery.is-story[b-jnqq2excb8] {
    grid-auto-columns: 200px;
}

.ig-picture[b-jnqq2excb8] {
    margin: 0;
    display: grid;
    gap: 8px;
    scroll-snap-align: start;
}

.ig-picture-open[b-jnqq2excb8] {
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-sunken);
    box-shadow: var(--ui-shadow-sm);
    cursor: zoom-in;
    transition: var(--ui-t);
}

.ig-picture-open:hover[b-jnqq2excb8] {
    transform: translateY(-3px);
    box-shadow: var(--ui-shadow-md);
}

.ig-picture-open img[b-jnqq2excb8] {
    width: 100%;
    display: block;
}

.ig-gallery.is-post .ig-picture-open img[b-jnqq2excb8],
.ig-gallery.is-row:not(.is-story) .ig-picture-open img[b-jnqq2excb8] {
    aspect-ratio: 3 / 4;
}

.ig-gallery.is-story .ig-picture-open img[b-jnqq2excb8] {
    aspect-ratio: 9 / 16;
}

.ig-picture figcaption[b-jnqq2excb8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--ui-ink-2);
    font-size: .74rem;
    font-weight: 700;
}

.ig-picture figcaption a[b-jnqq2excb8] {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ui-line);
    border-radius: 50%;
    color: var(--ui-ink-2);
}

.ig-picture figcaption a[b-jnqq2excb8]  svg {
    width: 15px;
    height: 15px;
}

.ig-story-slot[b-jnqq2excb8] {
    display: grid;
    gap: 6px;
    align-content: start;
}

.ig-sticker[b-jnqq2excb8] {
    margin: 0;
    padding: 8px 10px;
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
    font-size: .7rem;
    line-height: 1.7;
}

.ig-caption textarea[b-jnqq2excb8] {
    font-size: .86rem;
}

.ig-edit[b-jnqq2excb8] {
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
}

.ig-edit summary[b-jnqq2excb8] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    font-size: .82rem;
    font-weight: 800;
    cursor: pointer;
}

.ig-edit summary small[b-jnqq2excb8] {
    overflow: hidden;
    color: var(--ui-muted);
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ig-edit .ig-grid[b-jnqq2excb8] {
    padding: 0 16px 16px;
}

.ig-lightbox[b-jnqq2excb8] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 14px;
    padding: 24px;
    background: rgba(12, 10, 8, .82);
    backdrop-filter: blur(6px);
    animation: ui-fade .2s var(--ui-ease-out);
}

.ig-lightbox img[b-jnqq2excb8] {
    max-width: min(92vw, 640px);
    max-height: calc(100vh - 140px);
    border-radius: var(--ui-r-md);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.ig-lightbox-bar[b-jnqq2excb8] {
    display: flex;
    gap: 10px;
}

.ig-lightbox .ig-button.is-ghost[b-jnqq2excb8] {
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
}


/* ============================================================
   NARROW
   ============================================================ */

@media (max-width: 900px) {
    .ig-hero[b-jnqq2excb8] {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }

    .ig-new[b-jnqq2excb8],
    .ig-result-head[b-jnqq2excb8] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ig-new-form[b-jnqq2excb8] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ig-qualities[b-jnqq2excb8] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ig-qualities.is-kinds[b-jnqq2excb8] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .ig-page[b-jnqq2excb8] {
        gap: 14px;
    }

    .ig-card[b-jnqq2excb8] {
        padding: 18px 16px;
    }

    .ig-grid[b-jnqq2excb8] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ig-hero-actions[b-jnqq2excb8] {
        width: 100%;
        flex-wrap: wrap;
    }

    .ig-card-head[b-jnqq2excb8] {
        flex-direction: column;
    }

    .ig-steps button[b-jnqq2excb8] {
        padding: 0 10px;
        font-size: .72rem;
    }

    .ig-gallery.is-post[b-jnqq2excb8] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ig-gallery.is-row[b-jnqq2excb8] {
        grid-auto-columns: 62%;
    }

    .ig-gallery.is-story[b-jnqq2excb8] {
        grid-auto-columns: 52%;
    }

    .ig-bar.is-sticky[b-jnqq2excb8] {
        bottom: calc(var(--mobile-tabbar-height, 76px) + 10px);
    }

    .ig-subjects[b-jnqq2excb8] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ig-subject[b-jnqq2excb8] {
        flex-direction: row;
        justify-content: flex-start;
        min-height: 58px;
        text-align: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ig-orbit i[b-jnqq2excb8],
    .ig-progress li.is-now i[b-jnqq2excb8] {
        animation: none;
    }
}


/* =========================================================
   PICTURES DRAWN WHOLE
   ========================================================= */

.ig-progress-count[b-jnqq2excb8] {
    margin-inline-start: 8px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--ui-accent-soft);
    color: var(--ui-ink);
    font-size: .78rem;
    font-weight: 700;
}

.ig-picture-redraw[b-jnqq2excb8] {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid var(--ui-line);
    border-radius: 999px;
    background: var(--ui-surface);
    color: var(--ui-ink);
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

.ig-picture-redraw:hover:not(:disabled)[b-jnqq2excb8] {
    border-color: var(--ui-accent);
    background: var(--ui-accent-soft);
}

.ig-picture-redraw:disabled[b-jnqq2excb8] {
    opacity: .5;
    cursor: default;
}

.ig-picture figcaption > span[b-jnqq2excb8] {
    flex: 1;
}

.ig-picture-redraw[b-jnqq2excb8]  svg {
    width: 15px;
    height: 15px;
}

.ig-picture-stale[b-jnqq2excb8] {
    margin: 6px 0 0;
    padding: 6px 10px;
    border-radius: 10px;
    background: var(--ui-accent-soft);
    color: var(--ui-ink);
    font-size: .78rem;
    line-height: 1.6;
}

/* ===================== REEL ===================== */

.ig-reel-working[b-jnqq2excb8] {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 6px 0 4px;
}

.ig-reel-working .ig-orbit[b-jnqq2excb8] {
    flex: 0 0 auto;
    margin: 4px 0 0;
}

.ig-reel-working h3[b-jnqq2excb8] {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.ig-reel-working p[b-jnqq2excb8] {
    margin: 0 0 12px;
    color: var(--ui-muted);
    line-height: 1.8;
}

.ig-reel-made[b-jnqq2excb8] {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-bottom: 22px;
}

.ig-reel-player[b-jnqq2excb8] {
    overflow: hidden;
    border-radius: 18px;
    background: #120e0a;
    aspect-ratio: 9 / 16;
    box-shadow: 0 18px 40px -22px rgba(28, 27, 23, .55);
}

.ig-reel-player video[b-jnqq2excb8] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ig-reel-side[b-jnqq2excb8] {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.ig-reel-downloads[b-jnqq2excb8] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ig-reel-facts[b-jnqq2excb8] {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--ui-line);
    border-radius: 14px;
    overflow: hidden;
}

.ig-reel-facts li[b-jnqq2excb8] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    font-size: .88rem;
}

.ig-reel-facts li + li[b-jnqq2excb8] {
    border-top: 1px solid var(--ui-line);
}

.ig-reel-facts b[b-jnqq2excb8] {
    font-weight: 600;
    color: var(--ui-muted);
}

.ig-reel-stale[b-jnqq2excb8] {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.ig-reel-scenes[b-jnqq2excb8] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.ig-reel-scene[b-jnqq2excb8] {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--ui-line);
    border-radius: 16px;
    background: var(--ui-surface);
}

.ig-reel-scene.is-stale[b-jnqq2excb8] {
    border-color: var(--ui-accent);
}

.ig-reel-thumb[b-jnqq2excb8] {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--ui-surface-muted, var(--ui-line));
    aspect-ratio: 9 / 16;
    align-self: start;
}

.ig-reel-thumb img[b-jnqq2excb8] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ig-reel-number[b-jnqq2excb8] {
    position: absolute;
    inset-block-start: 6px;
    inset-inline-start: 6px;
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(18, 14, 10, .72);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
}

/* A scene of motion graphics: its kind instead of a picture. */
.ig-reel-thumb.is-kind[b-jnqq2excb8] {
    display: grid;
    place-items: center;
    aspect-ratio: 3 / 4;
    background: var(--ui-accent-soft, var(--ui-surface-muted, var(--ui-line)));
}

.ig-reel-thumb.is-kind b[b-jnqq2excb8] {
    font-size: 0.85rem;
    color: var(--ui-ink);
}

.ig-reel-thumb .ig-picture-redraw[b-jnqq2excb8] {
    position: absolute;
    inset-block-end: 6px;
    inset-inline-end: 6px;
}

.ig-reel-words[b-jnqq2excb8] {
    display: grid;
    gap: 8px;
    align-content: start;
    min-width: 0;
}

.ig-reel-words textarea[b-jnqq2excb8] {
    resize: vertical;
    min-height: 74px;
}

.ig-reel-caption[b-jnqq2excb8] {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.ig-reel-caption-foot[b-jnqq2excb8] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ig-reel-tags[b-jnqq2excb8] {
    margin: 0;
    color: var(--ui-muted);
    font-size: .85rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.ig-reel-settings[b-jnqq2excb8] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 16px;
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 16px;
    background: var(--ui-accent-soft);
}

.ig-reel-option[b-jnqq2excb8] {
    display: grid;
    gap: 8px;
    align-content: start;
    min-width: 0;
}

.ig-reel-label[b-jnqq2excb8] {
    font-size: .85rem;
    font-weight: 600;
}

.ig-reel-switches[b-jnqq2excb8] {
    align-content: center;
}

.ig-switch[b-jnqq2excb8] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    cursor: pointer;
}

.ig-switch input[b-jnqq2excb8] {
    appearance: none;
    position: relative;
    flex: 0 0 auto;
    width: 38px;
    height: 22px;
    margin: 0;
    border-radius: 999px;
    background: var(--ui-line);
    cursor: pointer;
    transition: background-color .2s ease;
}

.ig-switch input[b-jnqq2excb8]::after {
    content: "";
    position: absolute;
    inset-block-start: 3px;
    inset-inline-start: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    transition: inset-inline-start .2s ease;
}

.ig-switch input:checked[b-jnqq2excb8] {
    background: var(--ui-accent);
}

.ig-switch input:checked[b-jnqq2excb8]::after {
    inset-inline-start: 19px;
}

.ig-switch input:disabled[b-jnqq2excb8] {
    opacity: .5;
    cursor: default;
}

.ig-switch input:focus-visible[b-jnqq2excb8] {
    outline: 2px solid var(--ui-accent);
    outline-offset: 2px;
}

@media (max-width: 720px) {
    .ig-reel-made[b-jnqq2excb8] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ig-reel-player[b-jnqq2excb8] {
        max-width: 320px;
        width: 100%;
        margin-inline: auto;
    }

    .ig-reel-working[b-jnqq2excb8] {
        flex-direction: column;
        gap: 12px;
    }

    .ig-reel-scene[b-jnqq2excb8] {
        grid-template-columns: 78px minmax(0, 1fr);
    }
}

/* ============ THE NARRATOR, BESIDE THE MADE REEL ============ */

.ig-narrator[b-jnqq2excb8] {
    gap: 12px;
}

.ig-reel-narrator[b-jnqq2excb8] {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--ui-line);
    border-radius: 14px;
    background: var(--ui-surface);
}
/* _content/AITranslationPlatform.Web/Components/Speech/Podcast.razor.rz.scp.css */
/* ============================================================
   PODCAST - the voice studio's podcast maker
   Only --ui-* tokens: light and dark come from app.css. The hero,
   cards and buttons are the voice studio's, under pod- names.
   ============================================================ */

.pod-page[b-l7huzuvwfp] {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    color: var(--ui-ink);
}

bdi[b-l7huzuvwfp] {
    unicode-bidi: isolate;
}


/* ============================================================
   HERO
   ============================================================ */

.pod-hero[b-l7huzuvwfp] {
    min-height: 196px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 34px 36px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xl);
    background:
        radial-gradient(120% 150% at 8% -20%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(90% 120% at 96% 120%, var(--ui-bloom-cool), transparent 55%),
        linear-gradient(135deg, var(--ui-surface-strong), var(--ui-surface));
    box-shadow: var(--ui-shadow-md);
}

.pod-page[dir="rtl"] .pod-hero[b-l7huzuvwfp] {
    background:
        radial-gradient(120% 150% at 92% -20%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(90% 120% at 4% 120%, var(--ui-bloom-cool), transparent 55%),
        linear-gradient(225deg, var(--ui-surface-strong), var(--ui-surface));
}

.pod-hero[b-l7huzuvwfp]::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    inset-block-start: -172px;
    inset-inline-end: -104px;
    border: 46px solid var(--ui-accent-soft);
    border-radius: 50%;
    animation: ui-hero-ring 1.1s var(--ui-ease-out) .08s backwards;
    pointer-events: none;
}

.pod-hero[b-l7huzuvwfp]::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    inset-block-end: -108px;
    inset-inline-start: -46px;
    border: 30px solid var(--ui-line-strong);
    border-radius: 50%;
    animation: ui-hero-ring 1.1s var(--ui-ease-out) .18s backwards;
    pointer-events: none;
}

.pod-hero-copy[b-l7huzuvwfp] {
    position: relative;
    z-index: 1;
    min-width: 0;
    max-width: 720px;
}

.pod-eyebrow[b-l7huzuvwfp] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    padding: 6px 13px 6px 11px;
    border: 1px solid rgba(226, 175, 46, .34);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--accent-text);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .075em;
    white-space: nowrap;
    animation: ui-rise .55s var(--ui-ease-out) .12s backwards;
}

.pod-page[dir="rtl"] .pod-eyebrow[b-l7huzuvwfp] {
    padding: 6px 11px 6px 13px;
    letter-spacing: 0;
}

.pod-eyebrow i[b-l7huzuvwfp] {
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: var(--ui-accent-strong);
    animation: ui-pulse 2.4s var(--ui-ease) infinite;
}

.pod-hero h1[b-l7huzuvwfp] {
    margin: 0 0 11px;
    color: var(--text);
    font-size: clamp(1.6rem, 2.1vw, 2.4rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.025em;
    animation: ui-reveal-up .6s var(--ui-ease-out) .2s backwards;
}

.pod-page[dir="rtl"] .pod-hero h1[b-l7huzuvwfp] {
    letter-spacing: 0;
}

.pod-hero p[b-l7huzuvwfp] {
    max-width: 680px;
    margin: 0;
    color: var(--text-secondary);
    font-size: .86rem;
    line-height: 1.9;
    animation: ui-rise .55s var(--ui-ease-out) .3s backwards;
}

.pod-hero-actions[b-l7huzuvwfp] {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: ui-rise .55s var(--ui-ease-out) .38s backwards;
}

.pod-hero-action[b-l7huzuvwfp] {
    min-height: 52px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px 0 8px;
    overflow: hidden;
    border-radius: var(--ui-r-pill);
    font-size: .76rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--ui-t);
}

.pod-page[dir="rtl"] .pod-hero-action[b-l7huzuvwfp] {
    padding: 0 8px 0 20px;
}

.pod-glyph[b-l7huzuvwfp] {
    width: 36px;
    height: 36px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.pod-glyph svg[b-l7huzuvwfp] {
    width: 17px;
    height: 17px;
}

.pod-hero-action.is-primary[b-l7huzuvwfp] {
    border: 1px solid #ad996c6b;
    border-radius: 17px;
    background: linear-gradient(140deg, #f6dc98 0%, #cfb063 100%);
    color: var(--ui-on-accent);
    box-shadow: var(--ui-shadow-accent);
}

.pod-hero-action.is-primary .pod-glyph[b-l7huzuvwfp] {
    background: rgba(74, 54, 8, .16);
}

.pod-hero-action.is-primary:hover[b-l7huzuvwfp] {
    transform: translateY(-2px);
}

.pod-hero-action.is-secondary[b-l7huzuvwfp] {
    border: 1px solid var(--ui-line-strong);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
}

.pod-hero-action.is-secondary .pod-glyph[b-l7huzuvwfp] {
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
}

.pod-hero-action.is-secondary:hover[b-l7huzuvwfp] {
    transform: translateY(-2px);
    border-color: var(--ui-accent-strong);
}


/* ============================================================
   STATES
   ============================================================ */

.pod-skeleton[b-l7huzuvwfp] {
    display: grid;
    gap: 16px;
}

.pod-skeleton div[b-l7huzuvwfp] {
    height: 120px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background:
        linear-gradient(100deg, transparent 30%, var(--ui-surface-hover) 50%, transparent 70%) 0 0 / 200% 100%,
        var(--ui-surface);
    animation: pod-shimmer-b-l7huzuvwfp 1.4s linear infinite;
}

.pod-skeleton div:first-child[b-l7huzuvwfp] {
    height: 360px;
}

.pod-unavailable[b-l7huzuvwfp],
.pod-empty-script[b-l7huzuvwfp] {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 48px 24px;
    text-align: center;
}

.pod-unavailable[b-l7huzuvwfp] {
    border: 1px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-xl);
    background: var(--ui-surface);
}

.pod-unavailable-icon[b-l7huzuvwfp] {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: var(--ui-surface-sunken);
    color: var(--ui-muted);
}

.pod-unavailable-icon svg[b-l7huzuvwfp] {
    width: 30px;
    height: 30px;
}

.pod-unavailable h2[b-l7huzuvwfp],
.pod-empty-script h3[b-l7huzuvwfp] {
    margin: 0;
    font-size: 1.1rem;
}

.pod-unavailable p[b-l7huzuvwfp],
.pod-empty-script p[b-l7huzuvwfp] {
    max-width: 520px;
    margin: 0 0 8px;
    color: var(--ui-muted);
    font-size: .86rem;
    line-height: 1.9;
}

.pod-alert[b-l7huzuvwfp] {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 14px 44px 14px 18px;
    border: 1px solid;
    border-radius: var(--ui-r-md);
    font-size: .82rem;
    line-height: 1.8;
    animation: ui-fade .25s var(--ui-ease-out);
}

.pod-page[dir="rtl"] .pod-alert[b-l7huzuvwfp] {
    padding: 14px 18px 14px 44px;
}

.pod-alert.is-danger[b-l7huzuvwfp] {
    border-color: var(--ui-danger-tint);
    background: var(--ui-danger-soft);
    color: var(--ui-danger);
}

.pod-alert.is-warning[b-l7huzuvwfp] {
    border-color: var(--ui-warning-tint);
    background: var(--ui-warning-soft);
    color: var(--ui-warning);
}

.pod-alert strong[b-l7huzuvwfp] {
    font-weight: 800;
}

.pod-alert span[b-l7huzuvwfp] {
    flex: 1 1 260px;
}

.pod-close[b-l7huzuvwfp] {
    position: absolute;
    top: 8px;
    inset-inline-end: 10px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
}


/* ============================================================
   CARDS
   ============================================================ */

.pod-card[b-l7huzuvwfp] {
    min-width: 0;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface);
    box-shadow: var(--ui-shadow-sm);
    animation: ui-card-in .55s var(--ui-ease-out) backwards;
}

.pod-card-head[b-l7huzuvwfp] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--ui-line);
}

.pod-card-head > div[b-l7huzuvwfp] {
    flex: 1 1 auto;
    min-width: 0;
}

.pod-card-head h2[b-l7huzuvwfp] {
    margin: 0 0 4px;
    font-size: 1.02rem;
    font-weight: 800;
}

.pod-card-head p[b-l7huzuvwfp] {
    margin: 0;
    color: var(--ui-muted);
    font-size: .8rem;
    line-height: 1.8;
}

.pod-step-badge[b-l7huzuvwfp] {
    flex: none;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ui-dark);
    color: var(--ui-accent);
    font-size: .9rem;
    font-weight: 800;
}

.pod-step-badge.is-quiet[b-l7huzuvwfp] {
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
}

.pod-step-badge svg[b-l7huzuvwfp] {
    width: 18px;
    height: 18px;
}

.pod-card-foot[b-l7huzuvwfp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 22px;
    border-top: 1px solid var(--ui-line);
}

.pod-foot-note[b-l7huzuvwfp] {
    flex: 1 1 280px;
    color: var(--ui-muted);
    font-size: .76rem;
    line-height: 1.8;
}

.pod-list .pod-foot-note[b-l7huzuvwfp] {
    display: block;
    padding: 0 22px 18px;
}

.pod-foot-actions[b-l7huzuvwfp] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.pod-primary[b-l7huzuvwfp],
.pod-secondary[b-l7huzuvwfp],
.pod-danger[b-l7huzuvwfp] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.pod-primary[b-l7huzuvwfp] {
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: var(--ui-r-sm);
    background: var(--ui-dark);
    color: var(--ui-on-dark);
    font-size: .88rem;
    box-shadow: 0 10px 24px rgba(59, 47, 35, .22);
    transition: transform var(--ui-dur-1) var(--ui-ease), background-color var(--ui-dur-1), box-shadow var(--ui-dur-1);
}

.pod-primary:hover:not(:disabled)[b-l7huzuvwfp] {
    transform: translateY(-1px);
    background: var(--ui-dark-hover);
    box-shadow: 0 14px 30px rgba(59, 47, 35, .28), 0 0 0 4px var(--ui-accent-tint);
}

.pod-primary.is-large[b-l7huzuvwfp] {
    min-height: 54px;
    padding: 0 30px;
    font-size: .94rem;
}

.pod-primary svg[b-l7huzuvwfp],
.pod-secondary svg[b-l7huzuvwfp] {
    width: 18px;
    height: 18px;
}

.pod-primary svg[b-l7huzuvwfp] {
    color: var(--ui-accent);
}

.pod-secondary[b-l7huzuvwfp] {
    position: relative;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
    font-size: .8rem;
    transition: border-color var(--ui-dur-1), background-color var(--ui-dur-1);
}

.pod-secondary:hover:not(:disabled)[b-l7huzuvwfp] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
}

.pod-danger[b-l7huzuvwfp] {
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: var(--ui-r-sm);
    background: var(--ui-danger);
    color: #fff;
    font-size: .76rem;
}

.pod-primary.is-small[b-l7huzuvwfp],
.pod-secondary.is-small[b-l7huzuvwfp] {
    min-height: 38px;
    padding: 0 14px;
    font-size: .76rem;
    box-shadow: none;
}

.pod-primary:disabled[b-l7huzuvwfp],
.pod-secondary:disabled[b-l7huzuvwfp],
.pod-icon-button:disabled[b-l7huzuvwfp],
.pod-chip-button:disabled[b-l7huzuvwfp],
.pod-format:disabled[b-l7huzuvwfp],
.pod-step:disabled[b-l7huzuvwfp] {
    opacity: .5;
    cursor: not-allowed;
}

.pod-link[b-l7huzuvwfp] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--accent-text);
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.pod-link:hover:not(:disabled)[b-l7huzuvwfp] {
    text-decoration: underline;
}

.pod-icon-button[b-l7huzuvwfp] {
    display: inline-grid;
    place-items: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xs);
    background: transparent;
    color: var(--ui-ink-2);
    font: inherit;
    font-size: .9rem;
    font-weight: 800;
    cursor: pointer;
    transition: background-color var(--ui-dur-1), color var(--ui-dur-1), border-color var(--ui-dur-1);
}

.pod-icon-button.is-small[b-l7huzuvwfp] {
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    font-size: .82rem;
}

.pod-icon-button svg[b-l7huzuvwfp] {
    width: 17px;
    height: 17px;
}

.pod-icon-button:hover:not(:disabled)[b-l7huzuvwfp] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
}

.pod-icon-button.is-danger:hover:not(:disabled)[b-l7huzuvwfp] {
    border-color: var(--ui-danger);
    background: var(--ui-danger-soft);
    color: var(--ui-danger);
}

.pod-spinner[b-l7huzuvwfp] {
    width: 16px;
    height: 16px;
    flex: none;
    border: 2.5px solid color-mix(in srgb, currentColor 30%, transparent);
    border-top-color: var(--ui-accent);
    border-radius: 50%;
    animation: pod-spin-b-l7huzuvwfp .8s linear infinite;
}

.pod-confirm[b-l7huzuvwfp] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .78rem;
    font-weight: 700;
}


/* ============================================================
   FORM
   ============================================================ */

.pod-form[b-l7huzuvwfp] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    padding: 20px 22px;
}

.pod-field[b-l7huzuvwfp] {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
}

.pod-field.is-wide[b-l7huzuvwfp] {
    grid-column: 1 / -1;
}

.pod-field > span[b-l7huzuvwfp] {
    color: var(--ui-ink-2);
    font-size: .76rem;
    font-weight: 800;
}

.pod-field input[b-l7huzuvwfp],
.pod-field select[b-l7huzuvwfp],
.pod-field textarea[b-l7huzuvwfp],
.pod-voice-row select[b-l7huzuvwfp],
.pod-host-name input[b-l7huzuvwfp] {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
    font: inherit;
    font-size: .86rem;
}

.pod-field textarea[b-l7huzuvwfp] {
    min-height: 0;
    padding: 10px 12px;
    line-height: 1.9;
    resize: vertical;
}

.pod-field input:focus[b-l7huzuvwfp],
.pod-field select:focus[b-l7huzuvwfp],
.pod-field textarea:focus[b-l7huzuvwfp],
.pod-voice-row select:focus[b-l7huzuvwfp],
.pod-host-name input:focus[b-l7huzuvwfp],
.pod-line-text:focus[b-l7huzuvwfp],
.pod-line-host:focus[b-l7huzuvwfp],
.pod-chapter input:focus[b-l7huzuvwfp] {
    border-color: var(--ui-accent-strong);
    outline: none;
    box-shadow: 0 0 0 3px var(--ui-accent-tint);
}

.pod-source-bar[b-l7huzuvwfp] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--ui-muted);
    font-size: .76rem;
}

.pod-source-bar label[b-l7huzuvwfp] {
    cursor: pointer;
}

/* The file input is invisible over its button. */
.pod-source-bar[b-l7huzuvwfp]  input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.pod-formats[b-l7huzuvwfp] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.pod-format[b-l7huzuvwfp] {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
    font: inherit;
    text-align: start;
    cursor: pointer;
    transition: border-color var(--ui-dur-1), background-color var(--ui-dur-1), box-shadow var(--ui-dur-1);
}

.pod-format strong[b-l7huzuvwfp] {
    font-size: .88rem;
}

.pod-format small[b-l7huzuvwfp] {
    color: var(--ui-muted);
    font-size: .72rem;
    line-height: 1.7;
}

.pod-format:hover:not(:disabled)[b-l7huzuvwfp] {
    border-color: var(--ui-accent-strong);
}

.pod-format.is-on[b-l7huzuvwfp] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
    box-shadow: 0 0 0 3px var(--ui-accent-tint);
}

.pod-hosts[b-l7huzuvwfp] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.pod-host-name[b-l7huzuvwfp] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: min(260px, 100%);
}

.pod-host-dot[b-l7huzuvwfp] {
    flex: none;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ui-dark);
    color: var(--ui-accent);
    font-size: .72rem;
    font-weight: 800;
}

.pod-host-dot.is-h1[b-l7huzuvwfp] {
    background: var(--ui-accent-strong);
    color: var(--ui-on-accent);
}

.pod-host-dot.is-h2[b-l7huzuvwfp] {
    background: color-mix(in srgb, var(--ui-success) 75%, var(--ui-dark));
    color: #fff;
}

.pod-chips[b-l7huzuvwfp] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pod-chip-button[b-l7huzuvwfp] {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--ui-ink-2);
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
    transition: border-color var(--ui-dur-1), background-color var(--ui-dur-1), color var(--ui-dur-1);
}

.pod-chip-button:hover:not(:disabled)[b-l7huzuvwfp] {
    border-color: var(--ui-accent-strong);
}

.pod-chip-button.is-on[b-l7huzuvwfp] {
    border-color: var(--ui-dark);
    background: var(--ui-dark);
    color: var(--ui-on-dark);
}

.pod-chip[b-l7huzuvwfp] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 11px;
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}

.pod-chip.is-done[b-l7huzuvwfp] {
    background: color-mix(in srgb, var(--ui-success) 16%, transparent);
    color: var(--ui-success);
}

.pod-chip.is-busy[b-l7huzuvwfp] {
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
}

.pod-chip.is-failed[b-l7huzuvwfp] {
    background: var(--ui-danger-soft);
    color: var(--ui-danger);
}


/* ============================================================
   MY PODCASTS
   ============================================================ */

.pod-empty[b-l7huzuvwfp] {
    margin: 0;
    padding: 28px 22px;
    color: var(--ui-muted);
    font-size: .84rem;
    text-align: center;
}

.pod-items[b-l7huzuvwfp] {
    display: grid;
    margin: 0;
    padding: 8px 12px 12px;
    list-style: none;
}

.pod-item[b-l7huzuvwfp] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    border-bottom: 1px solid var(--ui-line);
}

.pod-item:last-child[b-l7huzuvwfp] {
    border-bottom: 0;
}

.pod-item-main[b-l7huzuvwfp] {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    gap: 3px;
    color: var(--ui-ink);
    text-decoration: none;
}

.pod-item-main strong[b-l7huzuvwfp] {
    overflow: hidden;
    font-size: .9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pod-item-main small[b-l7huzuvwfp] {
    color: var(--ui-muted);
    font-size: .74rem;
}

.pod-item-main:hover strong[b-l7huzuvwfp] {
    color: var(--accent-text);
}


/* ============================================================
   EDITOR
   ============================================================ */

.pod-editor-head[b-l7huzuvwfp] {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.pod-editor-head h2[b-l7huzuvwfp] {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
}

.pod-steps[b-l7huzuvwfp] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.pod-step[b-l7huzuvwfp] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface);
    color: var(--ui-ink);
    font: inherit;
    text-align: start;
    cursor: pointer;
    transition: border-color var(--ui-dur-1), background-color var(--ui-dur-1), box-shadow var(--ui-dur-1);
}

.pod-step:hover:not(:disabled)[b-l7huzuvwfp] {
    border-color: var(--ui-accent-strong);
}

.pod-step.is-on[b-l7huzuvwfp] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
    box-shadow: 0 0 0 3px var(--ui-accent-tint);
}

.pod-step-number[b-l7huzuvwfp] {
    flex: none;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
    font-size: .8rem;
    font-weight: 800;
}

.pod-step.is-on .pod-step-number[b-l7huzuvwfp] {
    background: var(--ui-dark);
    color: var(--ui-accent);
}

.pod-step.is-done .pod-step-number[b-l7huzuvwfp] {
    background: color-mix(in srgb, var(--ui-success) 18%, transparent);
    color: var(--ui-success);
}

.pod-step-copy[b-l7huzuvwfp] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.pod-step-copy strong[b-l7huzuvwfp] {
    font-size: .82rem;
}

.pod-step-copy small[b-l7huzuvwfp] {
    overflow: hidden;
    color: var(--ui-muted);
    font-size: .7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ---- script ---- */

.pod-writing[b-l7huzuvwfp],
.pod-producing[b-l7huzuvwfp] {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 46px 24px;
    text-align: center;
}

.pod-writing small[b-l7huzuvwfp],
.pod-producing small[b-l7huzuvwfp] {
    max-width: 520px;
    color: var(--ui-muted);
    font-size: .8rem;
    line-height: 1.9;
}

.pod-wave[b-l7huzuvwfp] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 34px;
}

.pod-wave i[b-l7huzuvwfp] {
    width: 5px;
    height: 100%;
    border-radius: 3px;
    background: var(--ui-accent-strong);
    animation: pod-eq-b-l7huzuvwfp 1s var(--ui-ease) infinite;
}

.pod-wave i:nth-child(2)[b-l7huzuvwfp] { animation-delay: .12s; }
.pod-wave i:nth-child(3)[b-l7huzuvwfp] { animation-delay: .24s; }
.pod-wave i:nth-child(4)[b-l7huzuvwfp] { animation-delay: .36s; }
.pod-wave i:nth-child(5)[b-l7huzuvwfp] { animation-delay: .48s; }
.pod-wave i:nth-child(6)[b-l7huzuvwfp] { animation-delay: .6s; }
.pod-wave i:nth-child(7)[b-l7huzuvwfp] { animation-delay: .72s; }

.pod-wave.is-large[b-l7huzuvwfp] {
    height: 54px;
    gap: 6px;
}

.pod-wave.is-large i[b-l7huzuvwfp] {
    width: 7px;
}

.pod-lines[b-l7huzuvwfp] {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 4px 22px 20px;
    list-style: none;
}

.pod-chapter[b-l7huzuvwfp] {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.pod-chapter input[b-l7huzuvwfp] {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: 0;
    border-bottom: 2px solid var(--ui-accent-strong);
    background: transparent;
    color: var(--ui-ink);
    font: inherit;
    font-size: .92rem;
    font-weight: 800;
}

.pod-line[b-l7huzuvwfp] {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--ui-line);
    border-inline-start: 4px solid var(--ui-dark);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-raised);
}

.pod-line.is-h1[b-l7huzuvwfp] {
    border-inline-start-color: var(--ui-accent-strong);
}

.pod-line.is-h2[b-l7huzuvwfp] {
    border-inline-start-color: color-mix(in srgb, var(--ui-success) 75%, var(--ui-dark));
}

.pod-line-host[b-l7huzuvwfp],
.pod-line-text[b-l7huzuvwfp] {
    width: 100%;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xs);
    background: var(--ui-surface);
    color: var(--ui-ink);
    font: inherit;
}

.pod-line-host[b-l7huzuvwfp] {
    min-height: 38px;
    padding: 0 8px;
    font-size: .8rem;
    font-weight: 800;
}

.pod-line-text[b-l7huzuvwfp] {
    min-height: 62px;
    padding: 8px 10px;
    font-size: .86rem;
    line-height: 1.9;
    resize: vertical;
}

.pod-line-tools[b-l7huzuvwfp] {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 4px;
}

.pod-icon-button.is-on[b-l7huzuvwfp] {
    border-color: var(--ui-dark);
    background: var(--ui-dark);
    color: var(--ui-on-dark);
}

/* A line being read again into the episode. */
.pod-line.is-reading[b-l7huzuvwfp] {
    border-color: var(--ui-accent-strong);
    background: color-mix(in srgb, var(--ui-accent-soft) 45%, var(--ui-surface-raised));
}

.pod-icon-button.is-reread.is-new:not(.is-on)[b-l7huzuvwfp] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
}

/* A line's reading, heard under it. */
.pod-icon-button.is-listen[b-l7huzuvwfp] {
    font-size: .7rem;
}

.pod-listen[b-l7huzuvwfp] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
}

.pod-listen-label[b-l7huzuvwfp] {
    flex: none;
    color: var(--ui-muted);
    font-size: .78rem;
    font-weight: 800;
}

/* A percentage width: the player's own 300 pixels would widen the script's grid on a phone. */
.pod-listen audio[b-l7huzuvwfp] {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 38px;
}

.pod-reread[b-l7huzuvwfp] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--ui-accent-strong);
    border-radius: var(--ui-r-md);
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
}

.pod-reread p[b-l7huzuvwfp] {
    display: grid;
    flex: 1;
    gap: 3px;
    min-width: 0;
    margin: 0;
}

.pod-reread strong[b-l7huzuvwfp] {
    font-size: .88rem;
}

.pod-reread small[b-l7huzuvwfp] {
    font-size: .76rem;
    font-weight: 600;
    line-height: 1.8;
}

.pod-reread.is-busy .pod-spinner[b-l7huzuvwfp] {
    width: 22px;
    height: 22px;
}

.pod-reread-actions[b-l7huzuvwfp] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 10px;
}

.pod-reread-hint[b-l7huzuvwfp] {
    margin: 0 22px 10px;
    color: var(--ui-muted);
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.9;
}

.pod-reread-note[b-l7huzuvwfp] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 22px 12px;
    padding: 10px 14px;
    border: 1px solid var(--ui-success);
    border-radius: var(--ui-r-md);
    background: var(--ui-success-soft);
    color: var(--ui-ink);
}

.pod-reread-note.is-failed[b-l7huzuvwfp] {
    border-color: var(--ui-danger);
    background: var(--ui-danger-soft);
}

.pod-reread-note > span[b-l7huzuvwfp] {
    display: grid;
    flex: none;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ui-success);
    color: #fff;
    font-weight: 800;
}

.pod-reread-note.is-failed > span[b-l7huzuvwfp] {
    background: var(--ui-danger);
}

.pod-reread-note p[b-l7huzuvwfp] {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.8;
}

.pod-reread-icon[b-l7huzuvwfp] {
    display: grid;
    flex: none;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ui-dark);
    color: var(--ui-on-dark);
    font-size: 1.1rem;
    font-weight: 800;
}

.pod-length-warning[b-l7huzuvwfp] {
    margin: 0 22px 14px;
    padding: 10px 14px;
    border: 1px solid var(--ui-warning);
    border-radius: var(--ui-r-md);
    background: var(--ui-warning-soft);
    color: var(--ui-ink);
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.9;
}

/* A musical pause between two lines: the host stops, a little music plays. */
.pod-cue[b-l7huzuvwfp] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ui-muted);
    font-size: .74rem;
    font-weight: 800;
}

.pod-cue[b-l7huzuvwfp]::before,
.pod-cue[b-l7huzuvwfp]::after {
    flex: 1;
    border-top: 1px dashed var(--ui-line-strong);
    content: "";
}

.pod-cue span[b-l7huzuvwfp] {
    padding: 3px 12px;
    border-radius: var(--ui-r-pill);
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
}

.pod-cue-toggle[b-l7huzuvwfp] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--ui-muted);
    font: inherit;
    font-size: .74rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color var(--ui-dur-1), background-color var(--ui-dur-1), color var(--ui-dur-1);
}

.pod-cue-toggle:hover:not(:disabled)[b-l7huzuvwfp] {
    border-color: var(--ui-accent-strong);
}

.pod-cue-toggle.is-on[b-l7huzuvwfp] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
}

.pod-cue-toggle:disabled[b-l7huzuvwfp] {
    opacity: .55;
    cursor: default;
}


/* ---- voices ---- */

.pod-voices[b-l7huzuvwfp] {
    display: grid;
    gap: 12px;
    padding: 20px 22px;
}

.pod-voice-row[b-l7huzuvwfp] {
    display: grid;
    grid-template-columns: auto minmax(90px, 160px) minmax(0, 1fr) minmax(0, 260px);
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
}

.pod-voice-row strong[b-l7huzuvwfp] {
    overflow: hidden;
    font-size: .86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pod-preview[b-l7huzuvwfp] {
    width: 100%;
    height: 38px;
}

.pod-music[b-l7huzuvwfp] {
    display: grid;
    gap: 12px;
    padding: 0 22px 20px;
}

.pod-switch[b-l7huzuvwfp] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .86rem;
    font-weight: 800;
    cursor: pointer;
}

.pod-switch input[b-l7huzuvwfp] {
    flex: none;
    width: 20px;
    height: 20px;
    accent-color: var(--ui-dark);
}

.pod-switch > span[b-l7huzuvwfp] {
    display: grid;
    gap: 3px;
}

.pod-switch small[b-l7huzuvwfp] {
    color: var(--ui-muted);
    font-size: .76rem;
    font-weight: 600;
    line-height: 1.8;
}

.pod-switch.is-sub[b-l7huzuvwfp] {
    align-items: flex-start;
    padding: 12px 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
}

.pod-switch.is-sub input[b-l7huzuvwfp] {
    margin-top: 2px;
}


/* ---- make and download ---- */

.pod-summary[b-l7huzuvwfp] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 20px 22px;
}

.pod-summary > div[b-l7huzuvwfp] {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
}

.pod-summary small[b-l7huzuvwfp] {
    color: var(--ui-muted);
    font-size: .72rem;
    font-weight: 700;
}

.pod-summary strong[b-l7huzuvwfp] {
    font-size: 1.08rem;
    font-weight: 800;
}

.pod-summary em[b-l7huzuvwfp] {
    color: var(--ui-muted);
    font-size: .72rem;
    font-style: normal;
}

.pod-price-hint[b-l7huzuvwfp] {
    max-width: 46ch;
    color: var(--ui-muted);
    font-size: .74rem;
    line-height: 1.7;
}

.pod-confirm small[b-l7huzuvwfp] {
    display: block;
    color: var(--ui-muted);
    font-size: .7rem;
}

.pod-summary .is-price[b-l7huzuvwfp] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
}

.pod-episode[b-l7huzuvwfp] {
    display: grid;
    gap: 14px;
    margin: 0 22px 22px;
    padding: 18px;
    border-radius: var(--ui-r-lg);
    background: var(--ui-dark);
    color: var(--ui-on-dark);
}

.pod-episode-head[b-l7huzuvwfp] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pod-episode-head > div[b-l7huzuvwfp] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.pod-episode-head strong[b-l7huzuvwfp] {
    font-size: .98rem;
}

.pod-episode-head small[b-l7huzuvwfp] {
    color: color-mix(in srgb, var(--ui-on-dark) 70%, transparent);
    font-size: .74rem;
}

.pod-episode-art[b-l7huzuvwfp] {
    flex: none;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: var(--ui-r-md);
    background: linear-gradient(140deg, #f6dc98 0%, #cfb063 100%);
    color: var(--ui-on-accent);
}

.pod-episode-art svg[b-l7huzuvwfp] {
    width: 26px;
    height: 26px;
}

.pod-player[b-l7huzuvwfp] {
    width: 100%;
    height: 44px;
}

.pod-downloads[b-l7huzuvwfp] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pod-episode .pod-secondary[b-l7huzuvwfp] {
    border-color: color-mix(in srgb, var(--ui-on-dark) 26%, transparent);
    background: transparent;
    color: var(--ui-on-dark);
}

.pod-episode .pod-secondary:hover[b-l7huzuvwfp] {
    border-color: var(--ui-accent);
    background: color-mix(in srgb, var(--ui-on-dark) 10%, transparent);
}

.pod-episode .pod-primary[b-l7huzuvwfp] {
    background: linear-gradient(140deg, #f6dc98 0%, #cfb063 100%);
    color: var(--ui-on-accent);
    box-shadow: none;
}

.pod-episode .pod-primary svg[b-l7huzuvwfp] {
    color: var(--ui-on-accent);
}

.pod-producing + .pod-alert[b-l7huzuvwfp],
.pod-card > .pod-alert[b-l7huzuvwfp] {
    margin: 0 22px 22px;
}


/* ============================================================
   NARROW
   ============================================================ */

@media (max-width: 1100px) {
    .pod-formats[b-l7huzuvwfp],
    .pod-summary[b-l7huzuvwfp] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pod-steps[b-l7huzuvwfp] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .pod-hero[b-l7huzuvwfp] {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }

    .pod-voice-row[b-l7huzuvwfp] {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .pod-voice-row select[b-l7huzuvwfp],
    .pod-preview[b-l7huzuvwfp] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .pod-page[b-l7huzuvwfp] {
        gap: 16px;
    }

    .pod-hero[b-l7huzuvwfp] {
        min-height: 0;
        gap: 20px;
        padding: 24px 18px;
    }

    .pod-hero-actions[b-l7huzuvwfp] {
        width: 100%;
    }

    .pod-hero-action[b-l7huzuvwfp] {
        flex: 1 1 0;
    }

    .pod-form[b-l7huzuvwfp] {
        grid-template-columns: minmax(0, 1fr);
        padding: 16px;
    }

    .pod-card-head[b-l7huzuvwfp],
    .pod-card-foot[b-l7huzuvwfp] {
        padding: 14px 16px;
    }

    .pod-card-head[b-l7huzuvwfp] {
        flex-wrap: wrap;
    }

    .pod-step-copy small[b-l7huzuvwfp] {
        display: none;
    }

    .pod-lines[b-l7huzuvwfp] {
        padding: 4px 12px 16px;
    }

    .pod-line[b-l7huzuvwfp] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pod-line-tools[b-l7huzuvwfp] {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .pod-reread[b-l7huzuvwfp] {
        flex-wrap: wrap;
    }

    .pod-chapter[b-l7huzuvwfp] {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .pod-chapter input[b-l7huzuvwfp] {
        flex-basis: 100%;
    }

    .pod-reread-actions[b-l7huzuvwfp] {
        width: 100%;
    }

    .pod-reread-actions .pod-primary[b-l7huzuvwfp] {
        flex: 1;
    }

    .pod-reread-hint[b-l7huzuvwfp],
    .pod-reread-note[b-l7huzuvwfp] {
        margin-inline: 12px;
    }

    .pod-reread-note[b-l7huzuvwfp] {
        flex-wrap: wrap;
    }

    .pod-length-warning[b-l7huzuvwfp] {
        margin: 0 12px 12px;
    }

    .pod-voices[b-l7huzuvwfp],
    .pod-summary[b-l7huzuvwfp] {
        padding: 16px;
    }

    .pod-music[b-l7huzuvwfp] {
        padding: 0 16px 16px;
    }

    .pod-episode[b-l7huzuvwfp] {
        margin: 0 12px 12px;
    }

    .pod-card-foot .pod-primary[b-l7huzuvwfp] {
        width: 100%;
    }

    .pod-foot-actions[b-l7huzuvwfp] {
        width: 100%;
    }

    .pod-foot-actions .pod-primary[b-l7huzuvwfp],
    .pod-foot-actions .pod-secondary[b-l7huzuvwfp] {
        flex: 1 1 auto;
    }
}

@media (max-width: 460px) {
    .pod-formats[b-l7huzuvwfp],
    .pod-summary[b-l7huzuvwfp] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ============================================================
   RSS FEED
   ============================================================ */

.pod-foot-note.is-retention[b-l7huzuvwfp] {
    display: block;
    padding: 0 22px 18px;
}

.pod-feed-show[b-l7huzuvwfp] {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 20px;
    padding: 20px 22px 6px;
}

.pod-feed-cover[b-l7huzuvwfp] {
    position: relative;
    display: grid;
    place-items: center;
    width: 168px;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
    cursor: pointer;
}

.pod-feed-cover img[b-l7huzuvwfp] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pod-feed-cover-empty[b-l7huzuvwfp] {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 14px;
    color: var(--ui-muted);
    font-size: .72rem;
    text-align: center;
}

.pod-feed-cover-empty svg[b-l7huzuvwfp] {
    width: 34px;
    height: 34px;
}

.pod-feed-cover em[b-l7huzuvwfp] {
    position: absolute;
    inset-inline: 8px;
    bottom: 8px;
    padding: 5px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ui-dark) 78%, transparent);
    color: var(--ui-on-dark);
    font-size: .7rem;
    font-style: normal;
    font-weight: 800;
    text-align: center;
}

.pod-feed-cover.is-busy[b-l7huzuvwfp] {
    opacity: .7;
    cursor: progress;
}

.pod-feed-cover[b-l7huzuvwfp]  input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.pod-feed-info[b-l7huzuvwfp] {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
}

.pod-feed-info strong[b-l7huzuvwfp] {
    font-size: 1.05rem;
    font-weight: 800;
}

.pod-feed-info small[b-l7huzuvwfp] {
    color: var(--ui-muted);
    font-size: .76rem;
}

.pod-feed-info p[b-l7huzuvwfp] {
    display: -webkit-box;
    margin: 4px 0 0;
    overflow: hidden;
    color: var(--ui-ink-2);
    font-size: .84rem;
    line-height: 1.9;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.pod-feed-info .pod-link[b-l7huzuvwfp] {
    justify-self: start;
}

.pod-feed-url[b-l7huzuvwfp] {
    display: grid;
    gap: 7px;
    padding: 16px 22px 4px;
}

.pod-feed-url > span[b-l7huzuvwfp] {
    color: var(--ui-ink-2);
    font-size: .76rem;
    font-weight: 800;
}

.pod-feed-url > div[b-l7huzuvwfp] {
    display: flex;
    gap: 8px;
}

.pod-feed-url input[b-l7huzuvwfp] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
    font: inherit;
    font-size: .8rem;
}

.pod-feed-url small[b-l7huzuvwfp] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    color: var(--ui-muted);
    font-size: .74rem;
}

.pod-feed-checks[b-l7huzuvwfp] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 14px 22px 4px;
    list-style: none;
}

.pod-feed-checks li[b-l7huzuvwfp] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--ui-line);
    border-radius: 999px;
    color: var(--ui-muted);
    font-size: .74rem;
    font-weight: 700;
}

.pod-feed-checks li[b-l7huzuvwfp]::before {
    content: "○";
}

.pod-feed-checks li.is-ok[b-l7huzuvwfp] {
    border-color: color-mix(in srgb, var(--ui-success, #2f8f5b) 45%, transparent);
    color: var(--ui-ink);
}

.pod-feed-checks li.is-ok[b-l7huzuvwfp]::before {
    content: "✓";
    color: var(--ui-success, #2f8f5b);
}

.pod-feed-help[b-l7huzuvwfp] {
    margin: 12px 22px 0;
    padding: 12px 16px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
    font-size: .8rem;
}

.pod-feed-help summary[b-l7huzuvwfp] {
    font-weight: 800;
    cursor: pointer;
}

.pod-feed-help ol[b-l7huzuvwfp] {
    display: grid;
    gap: 6px;
    margin: 10px 0 0;
    padding-inline-start: 20px;
    color: var(--ui-ink-2);
    line-height: 1.9;
}

.pod-feed-switches[b-l7huzuvwfp] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}

.pod-feed-episodes[b-l7huzuvwfp] {
    margin-top: 14px;
}

.pod-feed > .pod-empty[b-l7huzuvwfp] {
    padding-top: 14px;
}

.pod-publish[b-l7huzuvwfp] {
    display: grid;
    gap: 10px;
    margin: 0 22px 22px;
    padding: 16px;
    border: 1px solid var(--ui-accent-strong);
    border-radius: var(--ui-r-md);
    background: var(--ui-accent-soft);
}

.pod-publish-head[b-l7huzuvwfp] {
    display: grid;
    gap: 3px;
}

.pod-publish-head strong[b-l7huzuvwfp] {
    font-size: .92rem;
    font-weight: 800;
}

.pod-publish-head small[b-l7huzuvwfp] {
    color: var(--ui-ink-2);
    font-size: .76rem;
}

.pod-publish .pod-publish-form[b-l7huzuvwfp] {
    padding: 0;
}

.pod-publish > .pod-primary[b-l7huzuvwfp],
.pod-publish > .pod-secondary[b-l7huzuvwfp] {
    justify-self: start;
}

@media (max-width: 720px) {
    .pod-feed-show[b-l7huzuvwfp] {
        grid-template-columns: minmax(0, 1fr);
        padding: 16px 16px 4px;
    }

    .pod-feed-cover[b-l7huzuvwfp] {
        width: 140px;
    }

    .pod-feed-url[b-l7huzuvwfp],
    .pod-feed-checks[b-l7huzuvwfp] {
        padding-inline: 16px;
    }

    .pod-feed-help[b-l7huzuvwfp] {
        margin-inline: 16px;
    }

    .pod-publish[b-l7huzuvwfp] {
        margin: 0 12px 12px;
    }

    .pod-foot-note.is-retention[b-l7huzuvwfp] {
        padding: 0 16px 14px;
    }
}


@media (prefers-reduced-motion: reduce) {
    .pod-wave i[b-l7huzuvwfp],
    .pod-spinner[b-l7huzuvwfp],
    .pod-skeleton div[b-l7huzuvwfp] {
        animation: none;
    }
}


@keyframes pod-spin-b-l7huzuvwfp {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pod-shimmer-b-l7huzuvwfp {
    to {
        background-position: -200% 0, 0 0;
    }
}

@keyframes pod-eq-b-l7huzuvwfp {
    0%, 100% {
        transform: scaleY(.3);
    }

    50% {
        transform: scaleY(1);
    }
}
/* _content/AITranslationPlatform.Web/Components/Speech/TextToSpeech.razor.rz.scp.css */
/* ============================================================
   VOICE STUDIO - text to speech, voice changer, speech to text, music
   Only --ui-* tokens: light and dark come from app.css.
   ============================================================ */

.tts-page[b-9563g4b418] {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    color: var(--ui-ink);
}

.tts-sr[b-9563g4b418] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

bdi[b-9563g4b418] {
    unicode-bidi: isolate;
}


/* ============================================================
   HERO - the same as the dashboard's and the other app pages'
   ============================================================ */

.tts-hero[b-9563g4b418] {
    min-height: 196px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 34px 36px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xl);
    background:
        radial-gradient(120% 150% at 8% -20%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(90% 120% at 96% 120%, var(--ui-bloom-cool), transparent 55%),
        linear-gradient(135deg, var(--ui-surface-strong), var(--ui-surface));
    box-shadow: var(--ui-shadow-md);
}

.tts-page[dir="rtl"] .tts-hero[b-9563g4b418] {
    background:
        radial-gradient(120% 150% at 92% -20%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(90% 120% at 4% 120%, var(--ui-bloom-cool), transparent 55%),
        linear-gradient(225deg, var(--ui-surface-strong), var(--ui-surface));
}

/* a wide ring drifting out of the top corner */
.tts-hero[b-9563g4b418]::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    inset-block-start: -172px;
    inset-inline-end: -104px;
    border: 46px solid var(--ui-accent-soft);
    border-radius: 50%;
    animation: ui-hero-ring 1.1s var(--ui-ease-out) .08s backwards;
    pointer-events: none;
}

/* and a second, smaller one low on the other side */
.tts-hero[b-9563g4b418]::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    inset-block-end: -108px;
    inset-inline-start: -46px;
    border: 30px solid var(--ui-line-strong);
    border-radius: 50%;
    animation: ui-hero-ring 1.1s var(--ui-ease-out) .18s backwards;
    pointer-events: none;
}

.tts-hero-copy[b-9563g4b418] {
    position: relative;
    z-index: 1;
    min-width: 0;
    max-width: 720px;
}

.tts-eyebrow[b-9563g4b418] {
    --badge-size: .66rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    padding: 6px 13px 6px 11px;
    border: 1px solid rgba(226, 175, 46, .34);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--accent-text);
    font-size: var(--badge-size);
    font-weight: 800;
    letter-spacing: .075em;
    white-space: nowrap;
    animation: ui-rise .55s var(--ui-ease-out) .12s backwards;
}

.tts-page[dir="rtl"] .tts-eyebrow[b-9563g4b418] {
    padding: 6px 11px 6px 13px;
    letter-spacing: 0;
}

.tts-eyebrow i[b-9563g4b418] {
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: var(--ui-accent-strong);
    box-shadow: 0 0 0 0 rgba(226, 175, 46, .55);
    animation: ui-pulse 2.4s var(--ui-ease) infinite;
}

.tts-hero h1[b-9563g4b418] {
    margin: 0 0 11px;
    color: var(--text);
    font-size: clamp(1.75rem, 2.2vw, 2.55rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
    animation: ui-reveal-up .6s var(--ui-ease-out) .2s backwards;
}

.tts-page[dir="rtl"] .tts-hero h1[b-9563g4b418] {
    letter-spacing: 0;
}

.tts-hero p[b-9563g4b418] {
    max-width: 650px;
    margin: 0;
    color: var(--text-secondary);
    font-size: .86rem;
    line-height: 1.9;
    animation: ui-rise .55s var(--ui-ease-out) .3s backwards;
}

.tts-hero-actions[b-9563g4b418] {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: ui-rise .55s var(--ui-ease-out) .38s backwards;
}

.tts-hero-action[b-9563g4b418] {
    min-height: 52px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px 0 8px;
    overflow: hidden;
    border-radius: var(--ui-r-pill);
    font: inherit;
    font-size: .76rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--ui-t);
}

.tts-page[dir="rtl"] .tts-hero-action[b-9563g4b418] {
    padding: 0 8px 0 20px;
}

.action-glyph[b-9563g4b418] {
    width: 36px;
    height: 36px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: transform var(--ui-dur-2) var(--ui-ease-spring), background-color var(--ui-dur-2) var(--ui-ease);
}

.action-glyph svg[b-9563g4b418] {
    width: 17px;
    height: 17px;
}

.tts-hero-action:hover .action-glyph[b-9563g4b418] {
    transform: rotate(90deg) scale(1.08);
}

.tts-hero-action.is-primary[b-9563g4b418] {
    border: 1px solid #ad996c6b;
    border-radius: 17px;
    background: linear-gradient(140deg, #f6dc98 0%, #cfb063 100%);
    color: var(--ui-on-accent);
    box-shadow: var(--ui-shadow-accent);
}

.tts-hero-action.is-primary .action-glyph[b-9563g4b418] {
    background: rgba(74, 54, 8, .16);
    color: var(--ui-on-accent);
}

.tts-hero-action.is-primary:hover[b-9563g4b418] {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(226, 175, 46, .42);
}

.tts-hero-action.is-primary:hover .action-glyph[b-9563g4b418] {
    background: rgba(74, 54, 8, .24);
}

.tts-hero-action.is-primary[b-9563g4b418]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, .55) 50%, transparent 66%);
    opacity: 0;
    pointer-events: none;
}

.tts-hero-action.is-primary:hover[b-9563g4b418]::before {
    animation: ui-sheen .8s var(--ui-ease-out);
}

.tts-hero-action.is-secondary[b-9563g4b418] {
    border: 1px solid var(--ui-line-strong);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
}

.tts-hero-action.is-secondary .action-glyph[b-9563g4b418] {
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
}

.tts-hero-action.is-secondary:hover[b-9563g4b418] {
    transform: translateY(-2px);
    border-color: var(--ui-accent-strong);
    background: var(--ui-surface-strong);
}

.tts-hero-action.is-secondary:hover .action-glyph[b-9563g4b418] {
    background: var(--ui-accent-soft);
    color: var(--ui-warning);
}


/* ============================================================
   TOOLS - one tile per tool, all the same size
   ============================================================ */

.tts-tools[b-9563g4b418] {
    display: grid;
    grid-template-columns: repeat(var(--count, 4), minmax(0, 1fr));
    gap: 14px;
}

.tts-tool[b-9563g4b418] {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 4px 12px;
    min-height: 96px;
    padding: 16px 18px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface);
    box-shadow: var(--ui-shadow-sm);
    color: var(--ui-ink);
    font: inherit;
    text-align: start;
    cursor: pointer;
    transition: transform var(--ui-dur-1) var(--ui-ease), border-color var(--ui-dur-1), box-shadow var(--ui-dur-1), background-color var(--ui-dur-1);
    animation: ui-card-in .5s var(--ui-ease-out) backwards;
}

.tts-tool:nth-child(2)[b-9563g4b418] { animation-delay: .04s; }
.tts-tool:nth-child(3)[b-9563g4b418] { animation-delay: .08s; }
.tts-tool:nth-child(4)[b-9563g4b418] { animation-delay: .12s; }

.tts-tool:hover:not(:disabled):not(.is-on)[b-9563g4b418] {
    transform: translateY(-2px);
    border-color: var(--ui-line-strong);
    box-shadow: var(--ui-shadow-md);
}

.tts-tool:disabled[b-9563g4b418] {
    cursor: not-allowed;
    opacity: .55;
}

.tts-tool.is-on[b-9563g4b418] {
    border-color: var(--ui-accent-strong);
    background:
        radial-gradient(120% 140% at 0% 0%, var(--ui-accent-tint), transparent 60%),
        var(--ui-surface-strong);
    box-shadow: 0 0 0 3px var(--ui-accent-tint), var(--ui-shadow-sm);
}

.tts-page[dir="rtl"] .tts-tool.is-on[b-9563g4b418] {
    background:
        radial-gradient(120% 140% at 100% 0%, var(--ui-accent-tint), transparent 60%),
        var(--ui-surface-strong);
}

.tts-tool-icon[b-9563g4b418] {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
    transition: background-color var(--ui-dur-1), color var(--ui-dur-1);
}

.tts-tool-icon svg[b-9563g4b418] {
    width: 23px;
    height: 23px;
}

.tts-tool.is-on .tts-tool-icon[b-9563g4b418] {
    background: linear-gradient(145deg, var(--ui-accent), var(--ui-accent-strong));
    color: var(--ui-on-accent);
    box-shadow: var(--ui-shadow-accent);
}

.tts-tool-copy[b-9563g4b418] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.tts-tool-copy strong[b-9563g4b418] {
    font-size: .92rem;
    font-weight: 800;
}

.tts-tool-copy small[b-9563g4b418] {
    color: var(--ui-muted);
    font-size: .74rem;
    line-height: 1.6;
}

.tts-tool-price[b-9563g4b418] {
    grid-column: 2;
    justify-self: start;
    padding: 2px 9px;
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
    font-size: .68rem;
    font-weight: 800;
    white-space: nowrap;
}

.tts-tool-price:empty[b-9563g4b418] {
    display: none;
}

.tts-tool.is-on .tts-tool-price[b-9563g4b418] {
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
}


/* ============================================================
   STATES
   ============================================================ */

.tts-skeleton[b-9563g4b418] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 20px;
}

.tts-skeleton.is-tools[b-9563g4b418] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tts-skeleton.is-tools div[b-9563g4b418] {
    height: 96px;
}

.tts-skeleton div[b-9563g4b418] {
    height: 420px;
    border-radius: var(--ui-r-lg);
    background:
        linear-gradient(100deg, transparent 30%, var(--ui-surface-hover) 50%, transparent 70%) 0 0 / 200% 100%,
        var(--ui-surface);
    border: 1px solid var(--ui-line);
    animation: tts-shimmer-b-9563g4b418 1.4s linear infinite;
}

.tts-unavailable[b-9563g4b418] {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 56px 24px;
    border: 1px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-xl);
    background: var(--ui-surface);
    text-align: center;
}

.tts-unavailable-icon[b-9563g4b418] {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: var(--ui-surface-sunken);
    color: var(--ui-muted);
}

.tts-unavailable-icon svg[b-9563g4b418] {
    width: 30px;
    height: 30px;
}

.tts-unavailable h2[b-9563g4b418] {
    margin: 0;
    font-size: 1.15rem;
}

.tts-unavailable p[b-9563g4b418] {
    max-width: 460px;
    margin: 0 0 8px;
    color: var(--ui-muted);
    font-size: .86rem;
    line-height: 1.9;
}


/* ============================================================
   STUDIO GRID - the tool's card and its side card, same height
   ============================================================ */

.tts-studio[b-9563g4b418] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 20px;
    align-items: stretch;
}

.tts-studio > *[b-9563g4b418] {
    min-width: 0;
}

.tts-card[b-9563g4b418] {
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface);
    box-shadow: var(--ui-shadow-sm);
    backdrop-filter: blur(10px);
    animation: ui-card-in .55s var(--ui-ease-out) backwards;
}

.tts-main[b-9563g4b418],
.tts-side[b-9563g4b418] {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.tts-side[b-9563g4b418] {
    animation-delay: .08s;
}

/* the voice list takes what the side card has left, and scrolls */
.tts-side .tts-voices[b-9563g4b418] {
    flex: 1 1 auto;
    min-height: 220px;
}

.tts-card-head[b-9563g4b418] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--ui-line);
}

.tts-step[b-9563g4b418] {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .92rem;
    font-weight: 800;
}

.tts-step span[b-9563g4b418] {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ui-dark);
    color: var(--ui-on-dark);
    font-size: .72rem;
}

.tts-head-controls[b-9563g4b418] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.tts-model-chip[b-9563g4b418],
.tts-chosen[b-9563g4b418] {
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
    font-size: .74rem;
    font-weight: 800;
}

.tts-chosen[b-9563g4b418] {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tts-select select[b-9563g4b418] {
    height: 34px;
    padding: 0 12px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xs);
    background: var(--ui-surface-strong);
    color: var(--ui-ink);
    font: inherit;
    font-size: .78rem;
    cursor: pointer;
}

.tts-segment[b-9563g4b418] {
    display: inline-flex;
    gap: 3px;
    padding: 3px;
    border-radius: 12px;
    background: var(--ui-surface-sunken);
}

.tts-segment button[b-9563g4b418] {
    padding: 6px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--ui-muted);
    font: inherit;
    font-size: .76rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--ui-dur-1), color var(--ui-dur-1), box-shadow var(--ui-dur-1);
}

.tts-segment button.is-on[b-9563g4b418] {
    background: var(--ui-surface-strong);
    color: var(--ui-ink);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.tts-segment.is-wide[b-9563g4b418] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}


/* ============================================================
   EDITOR
   ============================================================ */

.tts-textarea-wrap[b-9563g4b418] {
    position: relative;
    padding: 18px 20px 6px;
}

.tts-textarea-wrap textarea[b-9563g4b418] {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 280px;
    padding: 16px 18px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-strong);
    color: var(--ui-ink);
    font: inherit;
    font-size: 1rem;
    line-height: 2.05;
    resize: vertical;
    outline: none;
    transition: border-color var(--ui-dur-1), box-shadow var(--ui-dur-1);
}

.tts-textarea-wrap textarea[b-9563g4b418]::placeholder {
    color: var(--ui-faint);
}

.tts-textarea-wrap textarea:focus[b-9563g4b418] {
    border-color: var(--ui-accent-strong);
    box-shadow: 0 0 0 4px var(--ui-accent-tint);
}

.tts-textarea-wrap.is-over textarea[b-9563g4b418] {
    border-color: var(--ui-danger);
    box-shadow: 0 0 0 4px var(--ui-danger-tint);
}

.tts-textarea-wrap textarea:disabled[b-9563g4b418] {
    opacity: .7;
}

.tts-samples[b-9563g4b418] {
    position: absolute;
    inset-inline: 38px;
    bottom: 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--ui-muted);
    font-size: .78rem;
}

.tts-samples button[b-9563g4b418] {
    padding: 6px 12px;
    border: 1px dashed var(--ui-line-strong);
    border-radius: 999px;
    background: var(--ui-surface-raised);
    color: var(--ui-ink-2);
    font: inherit;
    font-size: .76rem;
    font-weight: 700;
    cursor: pointer;
}

.tts-samples button:hover[b-9563g4b418] {
    border-style: solid;
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
}

.tts-tags[b-9563g4b418] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    padding: 8px 20px 4px;
}

.tts-tags-label[b-9563g4b418] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-inline-end: 4px;
    color: var(--ui-muted);
    font-size: .76rem;
    font-weight: 800;
    cursor: help;
}

.tts-tags-label svg[b-9563g4b418] {
    width: 18px;
    height: 18px;
    color: var(--ui-accent-strong);
}

.tts-tags button[b-9563g4b418] {
    padding: 5px 11px;
    border: 1px solid var(--ui-line);
    border-radius: 999px;
    background: var(--ui-surface-raised);
    color: var(--ui-ink-2);
    font: inherit;
    font-size: .74rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--ui-dur-1) var(--ui-ease), background-color var(--ui-dur-1), border-color var(--ui-dur-1);
}

.tts-tags button:hover:not(:disabled)[b-9563g4b418] {
    transform: translateY(-1px);
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
}

.tts-meter[b-9563g4b418] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.tts-meter-bar[b-9563g4b418] {
    position: relative;
    flex: 0 1 220px;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--ui-surface-sunken);
}

.tts-meter-bar span[b-9563g4b418] {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ui-accent), var(--ui-accent-strong));
    transition: width var(--ui-dur-2) var(--ui-ease);
}

.tts-editor:has(.tts-meter-text.is-over) .tts-meter-bar span[b-9563g4b418] {
    background: var(--ui-danger);
}

.tts-meter-text[b-9563g4b418] {
    color: var(--ui-muted);
    font-size: .76rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.tts-meter-text.is-over[b-9563g4b418] {
    color: var(--ui-danger);
    font-weight: 800;
}

.tts-ghost[b-9563g4b418] {
    padding: 7px 13px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xs);
    background: transparent;
    color: var(--ui-muted);
    font: inherit;
    font-size: .76rem;
    font-weight: 700;
    cursor: pointer;
}

.tts-ghost:hover[b-9563g4b418] {
    color: var(--ui-danger);
    border-color: var(--ui-danger-tint);
    background: var(--ui-danger-tint);
}


/* ============================================================
   VOICES
   ============================================================ */

.tts-voice-tools[b-9563g4b418] {
    display: grid;
    gap: 10px;
    padding: 14px 16px 6px;
}

.tts-search[b-9563g4b418] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-strong);
    color: var(--ui-faint);
}

.tts-search:focus-within[b-9563g4b418] {
    border-color: var(--ui-accent-strong);
    box-shadow: 0 0 0 3px var(--ui-accent-tint);
}

.tts-search svg[b-9563g4b418] {
    width: 17px;
    height: 17px;
    flex: none;
}

.tts-search input[b-9563g4b418] {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--ui-ink);
    font: inherit;
    font-size: .82rem;
    outline: none;
}

.tts-filter[b-9563g4b418] {
    display: flex;
    gap: 6px;
}

.tts-filter button[b-9563g4b418] {
    padding: 5px 12px;
    border: 1px solid var(--ui-line);
    border-radius: 999px;
    background: transparent;
    color: var(--ui-muted);
    font: inherit;
    font-size: .74rem;
    font-weight: 700;
    cursor: pointer;
}

.tts-filter button.is-on[b-9563g4b418] {
    border-color: var(--ui-dark);
    background: var(--ui-dark);
    color: var(--ui-on-dark);
}

.tts-voices[b-9563g4b418] {
    display: grid;
    gap: 6px;
    max-height: 430px;
    padding: 8px 12px 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.tts-empty-line[b-9563g4b418] {
    margin: 18px 0;
    color: var(--ui-faint);
    font-size: .8rem;
    text-align: center;
}

.tts-voice[b-9563g4b418] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: var(--ui-r-sm);
    cursor: pointer;
    transition: background-color var(--ui-dur-1), border-color var(--ui-dur-1), transform var(--ui-dur-1);
    outline: none;
}

.tts-voice:hover[b-9563g4b418] {
    background: var(--ui-surface-hover);
}

.tts-voice:focus-visible[b-9563g4b418] {
    border-color: var(--ui-accent-strong);
}

.tts-voice.is-selected[b-9563g4b418] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-tint);
}

.tts-avatar[b-9563g4b418] {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(140deg, hsl(var(--hue) 72% 74%), hsl(calc(var(--hue) + 48) 66% 58%));
    color: #fff;
    font-size: .95rem;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

.tts-avatar.is-small[b-9563g4b418] {
    width: 36px;
    height: 36px;
    font-size: .85rem;
}

.tts-voice-meta[b-9563g4b418] {
    display: grid;
    flex: 1;
    min-width: 0;
}

.tts-voice-meta strong[b-9563g4b418] {
    overflow: hidden;
    font-size: .86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tts-voice-meta small[b-9563g4b418] {
    overflow: hidden;
    color: var(--ui-muted);
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tts-preview[b-9563g4b418] {
    display: grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--ui-line);
    border-radius: 50%;
    background: var(--ui-surface-strong);
    color: var(--ui-ink-2);
    cursor: pointer;
    transition: background-color var(--ui-dur-1), color var(--ui-dur-1), transform var(--ui-dur-1);
}

.tts-preview:hover[b-9563g4b418] {
    transform: scale(1.06);
    background: var(--ui-accent);
    color: var(--ui-on-accent);
}

.tts-preview svg[b-9563g4b418] {
    width: 14px;
    height: 14px;
}

.tts-preview .i-pause[b-9563g4b418],
.tts-preview.is-playing .i-play[b-9563g4b418],
.tts-play .i-pause[b-9563g4b418],
.tts-player.is-playing .tts-play .i-play[b-9563g4b418] {
    display: none;
}

.tts-preview.is-playing .i-pause[b-9563g4b418],
.tts-player.is-playing .tts-play .i-pause[b-9563g4b418] {
    display: block;
}

.tts-preview.is-playing[b-9563g4b418] {
    background: var(--ui-accent);
    color: var(--ui-on-accent);
    box-shadow: 0 0 0 4px var(--ui-accent-tint);
}

.tts-check[b-9563g4b418] {
    position: absolute;
    top: -6px;
    inset-inline-end: -4px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ui-accent-strong);
    color: var(--ui-on-accent);
    font-size: .68rem;
    font-weight: 900;
    animation: ui-pop-in .3s var(--ui-ease-spring);
}


/* ============================================================
   ADVANCED
   ============================================================ */

.tts-advanced-toggle[b-9563g4b418] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    border: 0;
    border-top: 1px solid var(--ui-line);
    background: transparent;
    color: var(--ui-ink);
    font: inherit;
    font-size: .84rem;
    font-weight: 800;
    cursor: pointer;
}

.tts-advanced-toggle > span[b-9563g4b418] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tts-advanced-toggle svg[b-9563g4b418] {
    width: 18px;
    height: 18px;
    color: var(--ui-muted);
}

.tts-advanced-toggle i[b-9563g4b418] {
    font-style: normal;
    color: var(--ui-muted);
    transition: transform var(--ui-dur-2) var(--ui-ease);
}

.tts-advanced-toggle[aria-expanded="true"] i[b-9563g4b418] {
    transform: rotate(180deg);
}

.tts-advanced[b-9563g4b418] {
    display: grid;
    gap: 18px;
    padding: 4px 20px 20px;
    animation: ui-fade .3s var(--ui-ease-out);
}

.tts-setting[b-9563g4b418] {
    display: grid;
    gap: 8px;
}

.tts-setting-head[b-9563g4b418] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    font-size: .8rem;
    font-weight: 700;
}

.tts-setting-head small[b-9563g4b418] {
    color: var(--ui-muted);
    font-size: .72rem;
    font-weight: 500;
}

.tts-setting-head bdi[b-9563g4b418] {
    color: var(--ui-ink-2);
    font-variant-numeric: tabular-nums;
}

.tts-setting input[type="range"][b-9563g4b418] {
    --p: 50%;
    width: 100%;
    height: 6px;
    margin: 6px 0;
    border-radius: 999px;
    background: linear-gradient(to right, var(--ui-accent-strong) var(--p), var(--ui-surface-sunken) var(--p));
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.tts-page[dir="rtl"] .tts-setting input[type="range"][b-9563g4b418] {
    background: linear-gradient(to left, var(--ui-accent-strong) var(--p), var(--ui-surface-sunken) var(--p));
}

.tts-setting input[type="range"][b-9563g4b418]::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    border: 3px solid var(--ui-surface-strong);
    border-radius: 50%;
    background: var(--ui-dark);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
    -webkit-appearance: none;
}

.tts-setting input[type="range"][b-9563g4b418]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 3px solid var(--ui-surface-strong);
    border-radius: 50%;
    background: var(--ui-dark);
}

.tts-range-ends[b-9563g4b418] {
    display: flex;
    justify-content: space-between;
    color: var(--ui-faint);
    font-size: .68rem;
}

.tts-switch[b-9563g4b418] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
}

.tts-switch > span[b-9563g4b418] {
    display: grid;
    gap: 2px;
}

.tts-switch strong[b-9563g4b418] {
    font-size: .8rem;
}

.tts-switch small[b-9563g4b418] {
    color: var(--ui-muted);
    font-size: .72rem;
    line-height: 1.6;
}

.tts-switch input[b-9563g4b418] {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.tts-switch i[b-9563g4b418] {
    position: relative;
    flex: none;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: var(--ui-clay-soft);
    transition: background-color var(--ui-dur-2);
}

.tts-switch i[b-9563g4b418]::after {
    content: "";
    position: absolute;
    top: 3px;
    inset-inline-start: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    transition: inset-inline-start var(--ui-dur-2) var(--ui-ease);
}

.tts-switch input:checked + i[b-9563g4b418] {
    background: var(--ui-accent-strong);
}

.tts-switch input:checked + i[b-9563g4b418]::after {
    inset-inline-start: 21px;
}

.tts-switch input:focus-visible + i[b-9563g4b418] {
    box-shadow: 0 0 0 3px var(--ui-accent-tint);
}

.tts-link-button[b-9563g4b418] {
    justify-self: start;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ui-ink-2);
    font: inherit;
    font-size: .76rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}


/* ============================================================
   CARD FOOT - what it costs, and the button
   ============================================================ */

.tts-card-foot[b-9563g4b418] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: auto;
    padding: 16px 20px;
    border-top: 1px solid var(--ui-line);
    border-radius: 0 0 var(--ui-r-lg) var(--ui-r-lg);
    background:
        radial-gradient(100% 200% at 0% 50%, var(--ui-accent-tint), transparent 60%),
        var(--ui-surface-strong);
}

.tts-page[dir="rtl"] .tts-card-foot[b-9563g4b418] {
    background:
        radial-gradient(100% 200% at 100% 50%, var(--ui-accent-tint), transparent 60%),
        var(--ui-surface-strong);
}

.tts-cost[b-9563g4b418] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.tts-cost-label[b-9563g4b418] {
    color: var(--ui-muted);
    font-size: .74rem;
    font-weight: 700;
}

.tts-cost strong[b-9563g4b418] {
    font-size: 1.45rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
}

.tts-cost strong small[b-9563g4b418] {
    color: var(--ui-muted);
    font-size: .78rem;
    font-weight: 700;
}

.tts-cost-rate[b-9563g4b418] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 10px;
    color: var(--ui-faint);
    font-size: .7rem;
}

.tts-balance[b-9563g4b418] {
    color: var(--ui-muted);
    font-weight: 700;
}

.tts-primary[b-9563g4b418] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: var(--ui-r-sm);
    background: var(--ui-dark);
    color: var(--ui-on-dark);
    font: inherit;
    font-size: .92rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(59, 47, 35, .22);
    transition: transform var(--ui-dur-1) var(--ui-ease), background-color var(--ui-dur-1), box-shadow var(--ui-dur-1);
}

.tts-primary:hover:not(:disabled)[b-9563g4b418] {
    transform: translateY(-1px);
    background: var(--ui-dark-hover);
    box-shadow: 0 14px 30px rgba(59, 47, 35, .28), 0 0 0 4px var(--ui-accent-tint);
}

.tts-primary:disabled[b-9563g4b418] {
    opacity: .5;
    cursor: not-allowed;
    box-shadow: none;
}

.tts-primary svg[b-9563g4b418] {
    width: 20px;
    height: 20px;
    color: var(--ui-accent);
}

.tts-primary.is-small[b-9563g4b418] {
    min-height: 36px;
    padding: 0 14px;
    font-size: .78rem;
}

.tts-secondary[b-9563g4b418] {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-sm);
    color: var(--ui-ink);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.tts-spinner[b-9563g4b418] {
    width: 18px;
    height: 18px;
    border: 2.5px solid color-mix(in srgb, var(--ui-on-dark) 30%, transparent);
    border-top-color: var(--ui-accent);
    border-radius: 50%;
    animation: tts-spin-b-9563g4b418 .8s linear infinite;
}


/* ============================================================
   ALERTS
   ============================================================ */

.tts-alert[b-9563g4b418] {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 14px 44px 14px 18px;
    border: 1px solid;
    border-radius: var(--ui-r-md);
    font-size: .82rem;
    line-height: 1.8;
    animation: ui-fade .25s var(--ui-ease-out);
}

.tts-page[dir="rtl"] .tts-alert[b-9563g4b418] {
    padding: 14px 18px 14px 44px;
}

.tts-alert.is-danger[b-9563g4b418] {
    border-color: var(--ui-danger-tint);
    background: var(--ui-danger-soft);
    color: var(--ui-danger);
}

.tts-alert.is-warning[b-9563g4b418] {
    border-color: var(--ui-warning-tint);
    background: var(--ui-warning-soft);
    color: var(--ui-warning);
}

.tts-alert strong[b-9563g4b418] {
    font-weight: 800;
}

.tts-alert span[b-9563g4b418] {
    flex: 1 1 260px;
}

.tts-close[b-9563g4b418] {
    position: absolute;
    top: 8px;
    inset-inline-end: 10px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
}


/* ============================================================
   RESULT
   ============================================================ */

.tts-result[b-9563g4b418] {
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-strong);
    box-shadow: var(--ui-shadow-sm);
    animation: ui-card-in .5s var(--ui-ease-out) backwards;
}

.tts-result.is-working[b-9563g4b418] {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 22px 24px;
}

.tts-wave[b-9563g4b418] {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 54px;
    flex: none;
}

.tts-wave span[b-9563g4b418] {
    width: 3px;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(var(--ui-accent), var(--ui-accent-strong));
    transform: scaleY(.2);
    animation: tts-eq-b-9563g4b418 1.1s ease-in-out infinite;
    animation-delay: calc(var(--i) * -0.07s);
}

.tts-working-copy[b-9563g4b418] {
    display: grid;
    gap: 4px;
}

.tts-working-copy strong[b-9563g4b418] {
    font-size: .95rem;
}

.tts-working-copy span[b-9563g4b418] {
    color: var(--ui-muted);
    font-size: .78rem;
    line-height: 1.8;
}

.tts-result.is-done[b-9563g4b418] {
    padding: 18px 20px 20px;
    border-color: color-mix(in srgb, var(--ui-success) 30%, var(--ui-line));
}

.tts-result-head[b-9563g4b418] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 14px;
}

.tts-done-badge[b-9563g4b418] {
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--ui-success-soft);
    color: var(--ui-success);
    font-size: .78rem;
    font-weight: 800;
}

.tts-result-meta[b-9563g4b418] {
    color: var(--ui-muted);
    font-size: .76rem;
}

.tts-result-body[b-9563g4b418] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tts-result-body .tts-player[b-9563g4b418] {
    flex: 1;
}

.tts-primary.is-download[b-9563g4b418] {
    min-height: 48px;
    padding: 0 20px;
}


/* ============================================================
   PLAYER
   ============================================================ */

.tts-player[b-9563g4b418] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.tts-play[b-9563g4b418] {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ui-dark);
    color: var(--ui-on-dark);
    cursor: pointer;
    transition: transform var(--ui-dur-1) var(--ui-ease), background-color var(--ui-dur-1);
}

.tts-play:hover[b-9563g4b418] {
    transform: scale(1.06);
}

.tts-play svg[b-9563g4b418] {
    width: 16px;
    height: 16px;
}

.tts-player.is-large .tts-play[b-9563g4b418] {
    width: 52px;
    height: 52px;
    background: linear-gradient(145deg, var(--ui-accent), var(--ui-accent-strong));
    color: var(--ui-on-accent);
    box-shadow: var(--ui-shadow-accent);
}

.tts-player.is-large .tts-play svg[b-9563g4b418] {
    width: 22px;
    height: 22px;
}

.tts-player.is-playing .tts-play[b-9563g4b418] {
    box-shadow: 0 0 0 5px var(--ui-accent-tint);
}

.tts-track[b-9563g4b418] {
    position: relative;
    flex: 1;
    min-width: 60px;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--ui-surface-sunken);
    cursor: pointer;
}

.tts-player.is-large .tts-track[b-9563g4b418] {
    height: 10px;
}

.tts-fill[b-9563g4b418] {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ui-accent), var(--ui-accent-strong));
}

.tts-time[b-9563g4b418] {
    flex: none;
    min-width: 76px;
    color: var(--ui-muted);
    font-size: .74rem;
    font-variant-numeric: tabular-nums;
    text-align: end;
}


/* ============================================================
   HISTORY
   ============================================================ */

.tts-history[b-9563g4b418] {
    padding: 20px 22px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface);
    box-shadow: var(--ui-shadow-sm);
}

.tts-history-head[b-9563g4b418] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.tts-history-head h2[b-9563g4b418] {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 800;
}

.tts-history-head p[b-9563g4b418] {
    margin: 0;
    color: var(--ui-muted);
    font-size: .78rem;
}

.tts-retention-notice[b-9563g4b418] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 10px 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-accent-soft);
}

.tts-retention-icon[b-9563g4b418] {
    display: grid;
    flex: none;
    place-items: center;
    width: 26px;
    height: 26px;
    color: var(--ui-accent-strong);
}

.tts-retention-icon svg[b-9563g4b418] {
    width: 19px;
    height: 19px;
}

.tts-retention-notice p[b-9563g4b418] {
    margin: 0;
    color: var(--ui-ink-2);
    font-size: .74rem;
    line-height: 1.8;
}

.tts-history-empty[b-9563g4b418] {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 30px 12px;
    border: 1px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-md);
    color: var(--ui-muted);
    font-size: .82rem;
    text-align: center;
}

.tts-history-empty span[b-9563g4b418] {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
    font-size: 1.2rem;
}

.tts-history-empty p[b-9563g4b418] {
    margin: 0;
}

.tts-list[b-9563g4b418] {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tts-item[b-9563g4b418] {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(200px, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-strong);
    transition: border-color var(--ui-dur-1), box-shadow var(--ui-dur-1);
    animation: ui-fade .35s var(--ui-ease-out);
}

.tts-item:hover[b-9563g4b418] {
    border-color: var(--ui-line-strong);
    box-shadow: var(--ui-shadow-sm);
}

.tts-item:has(.tts-player.is-active)[b-9563g4b418] {
    border-color: var(--ui-accent-strong);
}

.tts-item.is-failed[b-9563g4b418] {
    background: transparent;
    border-style: dashed;
}

.tts-item-main[b-9563g4b418] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.tts-item-copy[b-9563g4b418] {
    display: grid;
    min-width: 0;
}

.tts-item-copy strong[b-9563g4b418] {
    overflow: hidden;
    font-size: .86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tts-item-copy small[b-9563g4b418] {
    overflow: hidden;
    color: var(--ui-muted);
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tts-item-error[b-9563g4b418] {
    color: var(--ui-danger);
    font-size: .76rem;
    font-weight: 700;
}

.tts-item-error.is-pending[b-9563g4b418] {
    color: var(--ui-warning);
}

.tts-item-actions[b-9563g4b418] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tts-icon-button[b-9563g4b418] {
    display: inline-grid;
    place-items: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xs);
    background: transparent;
    color: var(--ui-ink-2);
    font: inherit;
    font-size: .74rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--ui-dur-1), color var(--ui-dur-1), border-color var(--ui-dur-1);
}

.tts-icon-button svg[b-9563g4b418] {
    width: 17px;
    height: 17px;
}

.tts-icon-button:hover:not(:disabled)[b-9563g4b418] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
}

.tts-icon-button:disabled[b-9563g4b418] {
    opacity: .45;
    cursor: not-allowed;
}

.tts-icon-button.is-confirm[b-9563g4b418] {
    border-color: var(--ui-danger);
    background: var(--ui-danger);
    color: #fff;
}


/* ============================================================
   MY VOICES - tabs, the personal list and the clone dialog
   ============================================================ */

.tts-tabs[b-9563g4b418] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    margin: 12px 12px 0;
    padding: 3px;
    border-radius: 12px;
    background: var(--ui-surface-sunken);
}

.tts-tabs button[b-9563g4b418] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--ui-muted);
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
    cursor: pointer;
    transition: background-color var(--ui-dur-1), color var(--ui-dur-1), box-shadow var(--ui-dur-1);
}

.tts-tabs button.is-on[b-9563g4b418] {
    background: var(--ui-surface-strong);
    color: var(--ui-ink);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.tts-tabs button b[b-9563g4b418] {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--ui-accent);
    color: var(--ui-on-accent);
    font-size: .68rem;
}

.tts-mine[b-9563g4b418] {
    display: grid;
    gap: 4px;
    padding-bottom: 6px;
}

.tts-mine-empty[b-9563g4b418] {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin: 14px 12px 4px;
    padding: 22px 18px;
    border: 1px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-md);
    text-align: center;
}

.tts-mine-empty strong[b-9563g4b418] {
    font-size: .9rem;
}

.tts-mine-empty p[b-9563g4b418] {
    margin: 0;
    color: var(--ui-muted);
    font-size: .78rem;
    line-height: 1.9;
}

.tts-mine-icon[b-9563g4b418] {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--ui-accent-tint);
    color: var(--ui-ink);
}

.tts-mine-icon svg[b-9563g4b418] {
    width: 26px;
    height: 26px;
}

.tts-voices.is-mine[b-9563g4b418] {
    max-height: 300px;
}

.tts-avatar.is-mine[b-9563g4b418] {
    background: var(--ui-dark);
    color: var(--ui-accent);
    text-shadow: none;
}

.tts-avatar.is-mine svg[b-9563g4b418] {
    width: 20px;
    height: 20px;
}

.tts-voice .tts-icon-button[b-9563g4b418] {
    flex: none;
}

.tts-icon-button.is-quiet[b-9563g4b418] {
    border-color: transparent;
    color: var(--ui-muted);
}

.tts-icon-button.is-quiet:hover:not(:disabled)[b-9563g4b418] {
    border-color: var(--ui-danger-tint);
    background: var(--ui-danger-soft);
    color: var(--ui-danger);
}

.tts-mine-error[b-9563g4b418] {
    margin: 4px 12px 0;
    color: var(--ui-danger);
    font-size: .76rem;
    line-height: 1.8;
}

.tts-mine-foot[b-9563g4b418] {
    display: grid;
    gap: 7px;
    padding: 6px 12px 8px;
}

.tts-mine-foot small[b-9563g4b418] {
    color: var(--ui-muted);
    font-size: .72rem;
    line-height: 1.8;
    text-align: center;
}

.tts-mine-foot small.is-warn[b-9563g4b418] {
    color: var(--ui-warning);
}

.tts-clone-button[b-9563g4b418] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    border: 1px dashed var(--ui-accent-strong);
    border-radius: var(--ui-r-sm);
    background: var(--ui-accent-tint);
    color: var(--ui-ink);
    font: inherit;
    font-size: .84rem;
    font-weight: 800;
    cursor: pointer;
    transition: background-color var(--ui-dur-1), border-color var(--ui-dur-1), transform var(--ui-dur-1);
}

.tts-clone-button span[b-9563g4b418] {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ui-dark);
    color: var(--ui-accent);
    font-size: 1rem;
    line-height: 1;
}

.tts-clone-button:hover:not(:disabled)[b-9563g4b418] {
    border-style: solid;
    background: var(--ui-accent-soft);
    transform: translateY(-1px);
}

.tts-clone-button:disabled[b-9563g4b418] {
    opacity: .5;
    cursor: not-allowed;
}


/* ---------- the dialog ---------- */

.tts-modal-backdrop[b-9563g4b418] {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(20, 15, 10, .46);
    backdrop-filter: blur(3px);
    animation: ui-fade .2s var(--ui-ease-out);
}

.tts-modal[b-9563g4b418] {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1201;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(620px, calc(100vw - 32px));
    max-height: min(780px, calc(100dvh - 40px));
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: linear-gradient(var(--ui-surface-strong), var(--ui-surface-strong)), var(--ui-ground);
    color: var(--ui-ink);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
    transform: translate(-50%, -50%);
    animation: tts-modal-in-b-9563g4b418 .28s var(--ui-ease-out);
    overflow: hidden;
}

.tts-modal-head[b-9563g4b418] {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 22px 14px;
    border-bottom: 1px solid var(--ui-line);
}

.tts-modal-head h2[b-9563g4b418] {
    margin: 8px 0 0;
    font-size: 1.22rem;
    font-weight: 900;
}

.tts-modal-head .tts-close[b-9563g4b418] {
    top: 14px;
}

.tts-modal-body[b-9563g4b418] {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 18px 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.tts-modal-foot[b-9563g4b418] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 14px 22px;
    border-top: 1px solid var(--ui-line);
    background: var(--ui-surface);
}

.tts-cost-line[b-9563g4b418] {
    color: var(--ui-muted);
    font-size: .78rem;
    font-weight: 700;
}

.tts-tips[b-9563g4b418] {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 12px 14px;
    padding-inline-start: 34px;
    border-radius: var(--ui-r-sm);
    background: var(--ui-accent-tint);
    font-size: .78rem;
    line-height: 1.85;
}

.tts-page[dir="rtl"] .tts-tips[b-9563g4b418] {
    list-style-type: persian;
}

.tts-tips li[b-9563g4b418]::marker {
    color: var(--ui-accent-strong);
    font-weight: 900;
}

.tts-clone-grid[b-9563g4b418] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.tts-field[b-9563g4b418] {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.tts-field > span[b-9563g4b418] {
    color: var(--ui-ink-2);
    font-size: .76rem;
    font-weight: 800;
}

.tts-field input[b-9563g4b418],
.tts-field select[b-9563g4b418] {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface);
    color: var(--ui-ink);
    font: inherit;
    font-size: .86rem;
}

.tts-field input:focus[b-9563g4b418],
.tts-field select:focus[b-9563g4b418] {
    border-color: var(--ui-accent-strong);
    outline: none;
    box-shadow: 0 0 0 3px var(--ui-accent-tint);
}

.tts-samples-box[b-9563g4b418] {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface);
}

.tts-samples-head[b-9563g4b418] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 12px;
}

.tts-samples-head strong[b-9563g4b418] {
    font-size: .86rem;
}

.tts-samples-head small[b-9563g4b418] {
    color: var(--ui-muted);
    font-size: .72rem;
}

.tts-sample-actions[b-9563g4b418] {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

/* InputFile draws the input itself, so it lacks this page's scope attribute. */
.tts-sample-actions[b-9563g4b418]  input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    opacity: 0;
}

.tts-record[b-9563g4b418],
.tts-upload[b-9563g4b418] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-strong);
    color: var(--ui-ink);
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
    cursor: pointer;
    transition: border-color var(--ui-dur-1), background-color var(--ui-dur-1);
}

.tts-record:hover:not(:disabled)[b-9563g4b418],
.tts-upload:hover:not(.is-disabled)[b-9563g4b418] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-tint);
}

.tts-record:disabled[b-9563g4b418],
.tts-upload.is-disabled[b-9563g4b418] {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}

.tts-upload svg[b-9563g4b418] {
    width: 18px;
    height: 18px;
}

.tts-rec-dot[b-9563g4b418] {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--ui-danger);
    box-shadow: 0 0 0 4px var(--ui-danger-soft);
}

.tts-recording[b-9563g4b418] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid var(--ui-danger-tint);
    border-radius: var(--ui-r-sm);
    background: var(--ui-danger-soft);
}

.tts-recording .tts-rec-dot[b-9563g4b418] {
    animation: tts-blink-b-9563g4b418 1s ease-in-out infinite;
}

.tts-rec-time[b-9563g4b418] {
    min-width: 42px;
    color: var(--ui-danger);
    font-size: .9rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.tts-rec-meter[b-9563g4b418] {
    position: relative;
    flex: 1;
    height: 6px;
    min-width: 40px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ui-danger) 16%, transparent);
    overflow: hidden;
}

.tts-rec-meter i[b-9563g4b418] {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: calc(var(--level, 0) * 100%);
    border-radius: inherit;
    background: var(--ui-danger);
    transition: width .1s linear;
}

.tts-sample-list[b-9563g4b418] {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tts-sample-list li[b-9563g4b418] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-strong);
    animation: ui-fade .2s var(--ui-ease-out);
}

.tts-sample-list .tts-player[b-9563g4b418] {
    flex: none;
}

.tts-sample-icon[b-9563g4b418] {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ui-accent-tint);
    font-size: 1rem;
}

.tts-sample-meta[b-9563g4b418] {
    display: grid;
    flex: 1;
    min-width: 0;
}

.tts-sample-meta strong[b-9563g4b418] {
    overflow: hidden;
    font-size: .8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tts-sample-meta small[b-9563g4b418] {
    color: var(--ui-muted);
    font-size: .7rem;
}

.tts-samples-empty[b-9563g4b418] {
    margin: 0;
    color: var(--ui-faint);
    font-size: .76rem;
    text-align: center;
}

.tts-consent[b-9563g4b418] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    font-size: .78rem;
    line-height: 1.9;
    cursor: pointer;
}

.tts-consent input[b-9563g4b418] {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: var(--ui-dark);
}

.tts-consent:has(input:checked)[b-9563g4b418] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-tint);
}

/* ============================================================
   STUDIO PIECES - the source file, options, transcript
   ============================================================ */

.tts-head-note[b-9563g4b418] {
    color: var(--ui-muted);
    font-size: .74rem;
}

.tts-hint[b-9563g4b418] {
    margin: 4px 20px 0;
    color: var(--ui-faint);
    font-size: .72rem;
    line-height: 1.8;
}

.tts-textarea-wrap.is-prompt textarea[b-9563g4b418] {
    min-height: 190px;
}

.tts-tags.is-styles[b-9563g4b418] {
    padding-top: 10px;
}

.tts-meter[b-9563g4b418] {
    padding: 10px 20px 16px;
}

.tts-source[b-9563g4b418] {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 18px 20px 6px;
}

.tts-source[b-9563g4b418]  input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    opacity: 0;
}

.tts-drop[b-9563g4b418] {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 30px 18px;
    border: 1.5px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-strong);
    color: var(--ui-ink);
    text-align: center;
    cursor: pointer;
    transition: border-color var(--ui-dur-1), background-color var(--ui-dur-1), box-shadow var(--ui-dur-1);
}

.tts-drop:hover[b-9563g4b418],
.tts-drop.is-over[b-9563g4b418] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-tint);
    box-shadow: 0 0 0 4px var(--ui-accent-tint);
}

.tts-drop strong[b-9563g4b418] {
    font-size: .9rem;
    font-weight: 800;
}

.tts-drop small[b-9563g4b418] {
    color: var(--ui-muted);
    font-size: .74rem;
}

.tts-drop-icon[b-9563g4b418] {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 4px;
    border-radius: 50%;
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
}

.tts-drop-icon svg[b-9563g4b418] {
    width: 22px;
    height: 22px;
}

.tts-source-or[b-9563g4b418] {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ui-faint);
    font-size: .74rem;
}

.tts-source-or[b-9563g4b418]::before,
.tts-source-or[b-9563g4b418]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--ui-line);
}

.tts-record.is-wide[b-9563g4b418] {
    justify-content: center;
    width: 100%;
}

.tts-source-reading[b-9563g4b418] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 34px 18px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-strong);
    color: var(--ui-muted);
    font-size: .82rem;
}

.tts-source-reading .tts-spinner[b-9563g4b418] {
    border-color: var(--ui-line-strong);
    border-top-color: var(--ui-accent-strong);
}

.tts-source-file[b-9563g4b418] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-strong);
}

.tts-source-icon[b-9563g4b418] {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
}

.tts-source-icon svg[b-9563g4b418] {
    width: 20px;
    height: 20px;
}

.tts-source-meta[b-9563g4b418] {
    display: grid;
    flex: 1;
    min-width: 0;
}

.tts-source-meta strong[b-9563g4b418] {
    overflow: hidden;
    font-size: .86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tts-source-meta small[b-9563g4b418] {
    color: var(--ui-muted);
    font-size: .72rem;
}

.tts-recording.is-large[b-9563g4b418] {
    flex-wrap: wrap;
    justify-content: center;
    padding: 26px 16px;
}

.tts-rec-limit[b-9563g4b418] {
    color: var(--ui-faint);
    font-size: .72rem;
}

.tts-options[b-9563g4b418] {
    display: grid;
    gap: 16px;
    padding: 14px 20px 18px;
}

.tts-side-body[b-9563g4b418] {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 16px 18px 18px;
}

.tts-side-body .tts-field select[b-9563g4b418] {
    width: 100%;
}

.tts-facts[b-9563g4b418] {
    display: grid;
    gap: 8px;
    margin: 4px 0 0;
    padding: 14px 16px;
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-sunken);
    color: var(--ui-muted);
    font-size: .74rem;
    line-height: 1.7;
    list-style: none;
}

.tts-facts li[b-9563g4b418] {
    position: relative;
    padding-inline-start: 16px;
}

.tts-facts li[b-9563g4b418]::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: .62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ui-accent-strong);
}

.tts-transcript[b-9563g4b418] {
    max-height: 340px;
    padding: 16px 18px;
    overflow-y: auto;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface);
    font-size: .92rem;
    line-height: 2.05;
    white-space: pre-wrap;
    overscroll-behavior: contain;
}

.tts-result-actions[b-9563g4b418] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tts-secondary.is-small[b-9563g4b418] {
    gap: 7px;
    min-height: 38px;
    padding: 0 14px;
    background: var(--ui-surface-raised);
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
}

.tts-secondary.is-small svg[b-9563g4b418] {
    width: 17px;
    height: 17px;
}

.tts-secondary.is-small:hover[b-9563g4b418] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
}

/* ---- history ---- */

.tts-filter.is-history[b-9563g4b418] {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.tts-kind[b-9563g4b418] {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
}

.tts-kind svg[b-9563g4b418] {
    width: 19px;
    height: 19px;
}

.tts-kind.is-tts[b-9563g4b418] {
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
}

.tts-kind.is-changer[b-9563g4b418] {
    background: color-mix(in srgb, var(--ui-success) 16%, transparent);
    color: var(--ui-success);
}

.tts-kind.is-stt[b-9563g4b418] {
    background: color-mix(in srgb, var(--ui-clay) 22%, transparent);
    color: var(--ui-ink-2);
}

.tts-kind.is-music[b-9563g4b418] {
    background: var(--ui-dark);
    color: var(--ui-accent);
}

.tts-kind.is-podcast[b-9563g4b418] {
    background: color-mix(in srgb, var(--ui-accent) 30%, var(--ui-dark));
    color: var(--ui-surface);
}

.tts-item-text[b-9563g4b418] {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--ui-muted);
    font-size: .78rem;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tts-icon-button.has-badge b[b-9563g4b418] {
    font-size: .64rem;
    letter-spacing: .04em;
}


@keyframes tts-modal-in-b-9563g4b418 {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 14px)) scale(.98);
    }
}

@media (max-width: 720px) {
    .tts-modal[b-9563g4b418] {
        top: auto;
        bottom: 0;
        width: 100%;
        max-height: calc(100dvh - 24px);
        border-radius: var(--ui-r-lg) var(--ui-r-lg) 0 0;
        transform: none;
        animation: tts-sheet-in-b-9563g4b418 .3s var(--ui-ease-out);
        left: 0;
    }

    .tts-modal-head[b-9563g4b418],
    .tts-modal-body[b-9563g4b418] {
        padding-inline: 16px;
    }

    .tts-modal-foot[b-9563g4b418] {
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    }

    .tts-modal-foot .tts-primary[b-9563g4b418] {
        flex: 1 1 100%;
    }

    .tts-clone-grid[b-9563g4b418],
    .tts-sample-actions[b-9563g4b418] {
        grid-template-columns: minmax(0, 1fr);
    }

    .tts-field input[b-9563g4b418],
    .tts-field select[b-9563g4b418] {
        font-size: 16px;
    }
}

@keyframes tts-sheet-in-b-9563g4b418 {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
}


/* ============================================================
   MOTION
   ============================================================ */

@keyframes tts-eq-b-9563g4b418 {
    0%, 100% { transform: scaleY(.25); }
    50% { transform: scaleY(1); }
}

@keyframes tts-breathe-b-9563g4b418 {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes tts-blink-b-9563g4b418 {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

@keyframes tts-spin-b-9563g4b418 {
    to { transform: rotate(360deg); }
}

@keyframes tts-shimmer-b-9563g4b418 {
    to { background-position: -200% 0, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
    .tts-wave span[b-9563g4b418],
    .tts-eyebrow i[b-9563g4b418],
    .tts-skeleton div[b-9563g4b418] {
        animation: none;
    }

    .tts-wave span[b-9563g4b418] {
        transform: scaleY(.6);
    }
}


/* ============================================================
   NARROW
   ============================================================ */

@media (max-width: 1100px) {
    .tts-studio[b-9563g4b418] {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .tts-tools[b-9563g4b418] {
        gap: 12px;
    }

    .tts-tool[b-9563g4b418] {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        padding: 14px;
    }

    .tts-tool-icon[b-9563g4b418] {
        grid-row: auto;
        width: 40px;
        height: 40px;
    }

    .tts-tool-price[b-9563g4b418] {
        grid-column: 1;
    }
}

@media (max-width: 920px) {
    .tts-studio[b-9563g4b418] {
        grid-template-columns: minmax(0, 1fr);
    }

    .tts-side .tts-voices[b-9563g4b418] {
        flex: none;
        max-height: 360px;
    }

    .tts-skeleton[b-9563g4b418] {
        grid-template-columns: minmax(0, 1fr);
    }

    .tts-tools[b-9563g4b418] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* An odd last tile (the podcast) takes the whole row. */
    .tts-tool:last-child:nth-child(odd)[b-9563g4b418] {
        grid-column: 1 / -1;
    }

    .tts-tool[b-9563g4b418] {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .tts-tool-icon[b-9563g4b418] {
        grid-row: 1 / span 2;
    }

    .tts-tool-price[b-9563g4b418] {
        grid-column: 2;
    }

    .tts-item[b-9563g4b418] {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .tts-item-player[b-9563g4b418],
    .tts-item-error[b-9563g4b418],
    .tts-item-text[b-9563g4b418] {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .tts-history-head[b-9563g4b418] {
        flex-direction: column;
        align-items: stretch;
    }

    .tts-filter.is-history[b-9563g4b418] {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .tts-hero[b-9563g4b418] {
        min-height: 0;
        align-items: stretch;
        flex-direction: column;
        padding: 22px 20px;
    }

    .tts-hero-actions[b-9563g4b418] {
        width: 100%;
    }

    .tts-hero-action[b-9563g4b418] {
        flex: 1;
    }
}

@media (max-width: 720px) {
    .tts-page[b-9563g4b418] {
        gap: 16px;
    }

    .tts-hero[b-9563g4b418] {
        padding: 20px 18px;
        border-radius: var(--ui-r-lg);
    }

    .tts-tools[b-9563g4b418],
    .tts-studio[b-9563g4b418] {
        gap: 12px;
    }

    .tts-tool[b-9563g4b418] {
        gap: 2px 10px;
        padding: 12px;
    }

    .tts-tool-icon[b-9563g4b418] {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .tts-card-head[b-9563g4b418] {
        padding: 14px 16px;
    }

    .tts-head-note[b-9563g4b418] {
        display: none;
    }

    .tts-textarea-wrap[b-9563g4b418],
    .tts-source[b-9563g4b418] {
        padding: 14px 14px 4px;
    }

    .tts-textarea-wrap textarea[b-9563g4b418] {
        min-height: 220px;
        font-size: 16px;
    }

    .tts-textarea-wrap.is-prompt textarea[b-9563g4b418] {
        min-height: 160px;
    }

    .tts-samples[b-9563g4b418] {
        inset-inline: 28px;
        bottom: 20px;
    }

    .tts-tags[b-9563g4b418] {
        flex-wrap: nowrap;
        padding: 8px 14px 4px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .tts-tags button[b-9563g4b418] {
        flex: none;
    }

    .tts-meter[b-9563g4b418] {
        padding: 10px 14px 14px;
    }

    .tts-options[b-9563g4b418],
    .tts-side-body[b-9563g4b418] {
        padding: 14px;
    }

    .tts-hint[b-9563g4b418] {
        margin-inline: 14px;
    }

    .tts-card-foot[b-9563g4b418] {
        position: sticky;
        bottom: calc(94px + env(safe-area-inset-bottom));
        z-index: 5;
        padding: 12px 14px;
        border-radius: 0 0 var(--ui-r-lg) var(--ui-r-lg);
        backdrop-filter: blur(14px);
    }

    .tts-cost strong[b-9563g4b418] {
        font-size: 1.2rem;
    }

    .tts-primary[b-9563g4b418] {
        min-height: 48px;
        padding: 0 18px;
    }

    .tts-result-body[b-9563g4b418] {
        flex-direction: column;
        align-items: stretch;
    }

    .tts-result.is-working[b-9563g4b418] {
        flex-direction: column;
        align-items: flex-start;
    }

    .tts-history[b-9563g4b418] {
        padding: 16px 14px;
    }

    .tts-item[b-9563g4b418] {
        padding: 12px;
        gap: 10px 12px;
    }
}

@media (max-width: 520px) {
    .tts-hero-actions[b-9563g4b418] {
        flex-direction: column;
    }

    .tts-hero-action[b-9563g4b418] {
        width: 100%;
    }

    .tts-tools[b-9563g4b418] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .tts-tool[b-9563g4b418] {
        grid-template-columns: minmax(0, 1fr);
    }

    .tts-tool-icon[b-9563g4b418] {
        grid-row: auto;
    }

    .tts-tool-price[b-9563g4b418] {
        grid-column: 1;
    }

    .tts-cost-rate[b-9563g4b418] {
        display: none;
    }
}
/* _content/AITranslationPlatform.Web/Components/Studio/DefenseStudio.razor.rz.scp.css */
/* ============================================================
   VIDEO DUBBING and DEFENSE STUDIO (the same file under both names)
   Only --ui-* tokens: light and dark come from app.css.
   ============================================================ */

.lab-page[b-nmb2rekloq] {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    color: var(--ui-ink);
}

.lab-hidden[b-nmb2rekloq] {
    display: none;
}


/* ---------- hero ---------- */

.lab-hero[b-nmb2rekloq] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 32px 34px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xl);
    background:
        radial-gradient(120% 150% at 8% -20%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(90% 120% at 96% 120%, var(--ui-bloom-cool), transparent 55%),
        linear-gradient(135deg, var(--ui-surface-strong), var(--ui-surface));
    box-shadow: var(--ui-shadow-md);
}

.lab-page[dir="rtl"] .lab-hero[b-nmb2rekloq] {
    background:
        radial-gradient(120% 150% at 92% -20%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(90% 120% at 4% 120%, var(--ui-bloom-cool), transparent 55%),
        linear-gradient(225deg, var(--ui-surface-strong), var(--ui-surface));
}

.lab-hero[b-nmb2rekloq]::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    inset-block-start: -160px;
    inset-inline-end: -96px;
    border: 44px solid var(--ui-accent-soft);
    border-radius: 50%;
    pointer-events: none;
}

.lab-hero-copy[b-nmb2rekloq] {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.lab-eyebrow[b-nmb2rekloq] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface);
    color: var(--ui-ink-2);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.lab-eyebrow i[b-nmb2rekloq] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ui-accent);
}

.lab-hero h1[b-nmb2rekloq] {
    margin: 14px 0 10px;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    line-height: 1.35;
}

.lab-hero p[b-nmb2rekloq] {
    margin: 0;
    color: var(--ui-muted);
    line-height: 1.9;
}

.lab-hero-actions[b-nmb2rekloq] {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* ---------- buttons, fields ---------- */

.lab-button[b-nmb2rekloq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--ui-r-pill);
    font: inherit;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--ui-dur-2) var(--ui-ease), border-color var(--ui-dur-2) var(--ui-ease), transform var(--ui-dur-2) var(--ui-ease);
}

.lab-button.is-primary[b-nmb2rekloq] {
    background: var(--ui-dark);
    color: var(--ui-on-dark);
}

.lab-button.is-primary:hover:not(:disabled)[b-nmb2rekloq] {
    background: var(--ui-dark-hover);
    transform: translateY(-1px);
}

.lab-button.is-ghost[b-nmb2rekloq] {
    border-color: var(--ui-line-strong);
    background: var(--ui-surface);
    color: var(--ui-ink);
}

.lab-button.is-ghost:hover:not(:disabled)[b-nmb2rekloq] {
    background: var(--ui-surface-hover);
}

.lab-button:disabled[b-nmb2rekloq] {
    opacity: .55;
    cursor: default;
}

.lab-link[b-nmb2rekloq] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--ui-accent-strong);
    font: inherit;
    font-size: .84rem;
    font-weight: 700;
    cursor: pointer;
}

.lab-link.is-danger[b-nmb2rekloq] {
    color: var(--ui-danger);
}

.lab-link:disabled[b-nmb2rekloq] {
    opacity: .5;
    cursor: default;
}

.lab-field[b-nmb2rekloq] {
    display: grid;
    gap: 6px;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.lab-field > span[b-nmb2rekloq] {
    font-size: .84rem;
    font-weight: 700;
    color: var(--ui-ink-2);
}

.lab-field input[b-nmb2rekloq],
.lab-field select[b-nmb2rekloq],
.lab-field textarea[b-nmb2rekloq],
.lab-line textarea[b-nmb2rekloq],
.lab-line select[b-nmb2rekloq] {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-sunken);
    color: var(--ui-ink);
    font: inherit;
    font-size: .92rem;
}

.lab-field textarea[b-nmb2rekloq],
.lab-line textarea[b-nmb2rekloq] {
    resize: vertical;
    line-height: 1.8;
}

.lab-field input:focus[b-nmb2rekloq],
.lab-field select:focus[b-nmb2rekloq],
.lab-field textarea:focus[b-nmb2rekloq],
.lab-line textarea:focus[b-nmb2rekloq] {
    outline: 2px solid var(--ui-accent);
    outline-offset: 1px;
}

.lab-radios[b-nmb2rekloq] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.lab-radios label[b-nmb2rekloq] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .88rem;
    cursor: pointer;
}

.lab-muted[b-nmb2rekloq] {
    color: var(--ui-muted);
    font-size: .84rem;
    line-height: 1.8;
}


/* ---------- cards ---------- */

.lab-grid[b-nmb2rekloq] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 18px;
}

.lab-card[b-nmb2rekloq] {
    min-width: 0;
    padding: 22px 24px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface);
    box-shadow: var(--ui-shadow-sm);
}

.lab-card h2[b-nmb2rekloq],
.lab-card h3[b-nmb2rekloq] {
    margin: 0 0 12px;
}

.lab-card h2[b-nmb2rekloq] {
    font-size: 1.15rem;
}

.lab-card h3[b-nmb2rekloq] {
    font-size: 1.05rem;
}

.lab-card-head[b-nmb2rekloq] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 16px;
    margin-bottom: 14px;
}

.lab-card-head h3[b-nmb2rekloq] {
    margin: 0;
}

.lab-loading[b-nmb2rekloq] {
    color: var(--ui-muted);
}

.lab-title-row[b-nmb2rekloq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lab-title-row h2[b-nmb2rekloq] {
    margin: 0;
    font-size: 1.25rem;
}

.lab-alert[b-nmb2rekloq] {
    padding: 12px 16px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface);
    line-height: 1.8;
    font-size: .9rem;
}

.lab-alert.is-error[b-nmb2rekloq] {
    border-color: var(--ui-danger-soft);
    background: var(--ui-danger-tint);
    color: var(--ui-danger);
}

.lab-alert.is-warning[b-nmb2rekloq] {
    border-color: var(--ui-warning-soft);
    background: var(--ui-accent-tint);
}

.lab-alert.is-ok[b-nmb2rekloq] {
    border-color: var(--ui-success-soft);
    background: var(--ui-success-tint);
    color: var(--ui-success);
}

.lab-alert .lab-muted[b-nmb2rekloq] {
    display: block;
}

.lab-chip[b-nmb2rekloq] {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
    font-size: .74rem;
    font-weight: 700;
    white-space: nowrap;
}

.lab-chip.is-ok[b-nmb2rekloq] {
    background: var(--ui-success-tint);
    color: var(--ui-success);
}

.lab-chip.is-running[b-nmb2rekloq] {
    background: var(--ui-info-tint);
    color: var(--ui-info);
}

.lab-chip.is-error[b-nmb2rekloq] {
    background: var(--ui-danger-tint);
    color: var(--ui-danger);
}

.lab-chip.is-warning[b-nmb2rekloq] {
    background: var(--ui-accent-tint);
    color: var(--ui-accent-strong);
}


/* ---------- project list ---------- */

.lab-list[b-nmb2rekloq] {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lab-list a[b-nmb2rekloq] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 12px;
    padding: 12px 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    color: inherit;
    text-decoration: none;
    transition: background-color var(--ui-dur-2) var(--ui-ease), border-color var(--ui-dur-2) var(--ui-ease);
}

.lab-list a:hover[b-nmb2rekloq] {
    border-color: var(--ui-line-strong);
    background: var(--ui-surface-hover);
}

.lab-list strong[b-nmb2rekloq] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lab-list small[b-nmb2rekloq] {
    grid-column: 1 / -1;
    color: var(--ui-muted);
}


/* ---------- steps ---------- */

.lab-steps[b-nmb2rekloq] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lab-steps span[b-nmb2rekloq] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface);
    color: var(--ui-muted);
    font-size: .86rem;
    font-weight: 700;
}

.lab-page[dir="rtl"] .lab-steps span[b-nmb2rekloq] {
    padding: 6px 6px 6px 14px;
}

.lab-steps b[b-nmb2rekloq] {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ui-surface-sunken);
}

.lab-steps .is-on[b-nmb2rekloq] {
    border-color: var(--ui-accent);
    color: var(--ui-ink);
}

.lab-steps .is-on b[b-nmb2rekloq] {
    background: var(--ui-accent);
    color: var(--ui-on-accent);
}

.lab-steps .is-done[b-nmb2rekloq] {
    color: var(--ui-ink);
}

.lab-steps .is-done b[b-nmb2rekloq] {
    background: var(--ui-dark);
    color: var(--ui-on-dark);
}


/* ---------- progress, upload ---------- */

.lab-progress[b-nmb2rekloq] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.lab-progress > div:last-child[b-nmb2rekloq] {
    flex: 1;
    min-width: 0;
}

.lab-spinner[b-nmb2rekloq] {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border: 3px solid var(--ui-accent-soft);
    border-top-color: var(--ui-accent);
    border-radius: 50%;
    animation: lab-spin-b-nmb2rekloq 1s linear infinite;
}

@keyframes lab-spin-b-nmb2rekloq {
    to {
        transform: rotate(360deg);
    }
}

.lab-bar[b-nmb2rekloq] {
    height: 8px;
    margin: 10px 0 4px;
    overflow: hidden;
    border-radius: var(--ui-r-pill);
    background: var(--ui-progress-track);
}

.lab-bar i[b-nmb2rekloq] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--ui-progress-fill);
    transition: width var(--ui-dur-3) var(--ui-ease);
}

.lab-upload[b-nmb2rekloq] {
    padding: 18px;
    border: 1px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-sunken);
}

.lab-drop[b-nmb2rekloq] {
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 34px 16px;
    border: 2px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-sunken);
    color: var(--ui-ink);
    font: inherit;
    cursor: pointer;
    transition: border-color var(--ui-dur-2) var(--ui-ease), background-color var(--ui-dur-2) var(--ui-ease);
}

.lab-drop:hover:not(:disabled)[b-nmb2rekloq] {
    border-color: var(--ui-accent);
    background: var(--ui-accent-tint);
}

.lab-drop small[b-nmb2rekloq] {
    color: var(--ui-muted);
}

.lab-drop-icon[b-nmb2rekloq] {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--ui-dark);
    color: var(--ui-on-dark);
    font-size: 1.2rem;
}


/* ---------- media ---------- */

.lab-media[b-nmb2rekloq] {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.lab-media video[b-nmb2rekloq],
.lab-result video[b-nmb2rekloq] {
    width: 100%;
    max-height: 460px;
    border-radius: var(--ui-r-md);
    background: #000;
}

.lab-actions[b-nmb2rekloq],
.lab-downloads[b-nmb2rekloq] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.lab-downloads[b-nmb2rekloq] {
    margin-top: 14px;
}


/* ---------- speakers ---------- */

.lab-speakers[b-nmb2rekloq] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 14px;
}

.lab-speaker[b-nmb2rekloq] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0 12px;
    padding: 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
}

.lab-speaker .lab-field[b-nmb2rekloq] {
    grid-column: 2;
    margin-bottom: 10px;
}

.lab-speaker .lab-preview[b-nmb2rekloq] {
    grid-column: 1 / -1;
    width: 100%;
    height: 34px;
}

.lab-avatar[b-nmb2rekloq] {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ui-accent-soft);
    color: var(--ui-ink);
    font-weight: 800;
}

.lab-options[b-nmb2rekloq] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 4px 20px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--ui-line);
}


/* ---------- script lines ---------- */

.lab-lines[b-nmb2rekloq] {
    display: grid;
    gap: 10px;
}

.lab-line[b-nmb2rekloq] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
}

.lab-line.is-long[b-nmb2rekloq] {
    border-color: var(--ui-warning-soft);
}

.lab-time[b-nmb2rekloq] {
    align-self: start;
    min-width: 54px;
    padding: 4px 8px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface);
    color: var(--ui-ink-2);
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
}

.lab-line-body[b-nmb2rekloq] {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.lab-line-meta[b-nmb2rekloq] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.lab-line-meta select[b-nmb2rekloq] {
    width: auto;
    max-width: 160px;
    padding: 4px 8px;
    font-size: .82rem;
}

.lab-source[b-nmb2rekloq] {
    color: var(--ui-muted);
    font-size: .86rem;
    line-height: 1.7;
}

.lab-line-foot[b-nmb2rekloq] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    color: var(--ui-muted);
    font-size: .78rem;
}

.lab-line-foot .is-over[b-nmb2rekloq] {
    color: var(--ui-danger);
    font-weight: 700;
}

.lab-line audio[b-nmb2rekloq] {
    width: 100%;
    height: 34px;
}

.lab-sticky[b-nmb2rekloq] {
    position: sticky;
    bottom: 12px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-strong);
    box-shadow: var(--ui-shadow-lg);
}


/* ---------- defense ---------- */

.lab-files[b-nmb2rekloq] {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.lab-files li[b-nmb2rekloq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
    font-size: .88rem;
}

.lab-form[b-nmb2rekloq] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 0 18px;
}

.lab-form .is-wide[b-nmb2rekloq] {
    grid-column: 1 / -1;
}

.lab-themes[b-nmb2rekloq] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lab-theme[b-nmb2rekloq] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 58px;
    height: 38px;
    overflow: hidden;
    padding: 0;
    border: 2px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    cursor: pointer;
}

.lab-theme.is-on[b-nmb2rekloq] {
    border-color: var(--ui-ink);
    box-shadow: 0 0 0 3px var(--ui-accent-soft);
}

.lab-slides[b-nmb2rekloq] {
    display: grid;
    gap: 14px;
}

.lab-slide[b-nmb2rekloq] {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
}

.lab-thumb[b-nmb2rekloq] {
    position: relative;
    align-self: start;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    padding: 10px 12px;
    border-radius: var(--ui-r-sm);
    box-shadow: var(--ui-shadow-sm);
    color: #1e2430;
    font-size: .64rem;
    line-height: 1.5;
}

.lab-thumb.is-dark[b-nmb2rekloq] {
    color: #fff;
    display: grid;
    place-items: center;
    text-align: center;
}

.lab-thumb b[b-nmb2rekloq] {
    display: block;
    margin-bottom: 6px;
    font-size: .74rem;
}

.lab-thumb ul[b-nmb2rekloq] {
    margin: 0;
    padding-inline-start: 14px;
}

.lab-thumb img[b-nmb2rekloq] {
    max-width: 100%;
    max-height: 62px;
    object-fit: contain;
}

.lab-thumb-number[b-nmb2rekloq] {
    position: absolute;
    inset-block-end: 6px;
    inset-inline-end: 8px;
    font-size: .6rem;
    opacity: .7;
}

.lab-slide-tools[b-nmb2rekloq] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
}

.lab-question[b-nmb2rekloq] {
    padding: 12px 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
}

.lab-question summary[b-nmb2rekloq] {
    cursor: pointer;
    font-weight: 700;
    line-height: 1.8;
}

.lab-marks[b-nmb2rekloq] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.lab-marks button[b-nmb2rekloq] {
    padding: 4px 10px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface);
    color: var(--ui-ink-2);
    font: inherit;
    font-size: .78rem;
    cursor: pointer;
}

.lab-result audio[b-nmb2rekloq] {
    width: 100%;
}


/* ---------- small screens ---------- */

@media (max-width: 900px) {
    .lab-grid[b-nmb2rekloq],
    .lab-media[b-nmb2rekloq] {
        grid-template-columns: minmax(0, 1fr);
    }

    .lab-slide[b-nmb2rekloq] {
        grid-template-columns: minmax(0, 1fr);
    }

    .lab-thumb[b-nmb2rekloq] {
        max-width: 320px;
    }
}

@media (max-width: 720px) {
    .lab-hero[b-nmb2rekloq] {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
    }

    .lab-card[b-nmb2rekloq] {
        padding: 18px 16px;
    }

    .lab-line[b-nmb2rekloq] {
        grid-template-columns: minmax(0, 1fr);
    }

    .lab-sticky[b-nmb2rekloq] {
        bottom: calc(var(--app-mobile-tabbar-height, 72px) + 10px);
    }
}

.lab-logo[b-nmb2rekloq] {
    width: auto;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
    border: 1px solid var(--ui-border);
}
/* _content/AITranslationPlatform.Web/Components/Studio/VideoDubbing.razor.rz.scp.css */
/* ============================================================
   VIDEO DUBBING and DEFENSE STUDIO (the same file under both names)
   Only --ui-* tokens: light and dark come from app.css.
   ============================================================ */

.lab-page[b-v93wtb880d] {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    color: var(--ui-ink);
}

.lab-hidden[b-v93wtb880d] {
    display: none;
}


/* ---------- hero ---------- */

.lab-hero[b-v93wtb880d] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 32px 34px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xl);
    background:
        radial-gradient(120% 150% at 8% -20%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(90% 120% at 96% 120%, var(--ui-bloom-cool), transparent 55%),
        linear-gradient(135deg, var(--ui-surface-strong), var(--ui-surface));
    box-shadow: var(--ui-shadow-md);
}

.lab-page[dir="rtl"] .lab-hero[b-v93wtb880d] {
    background:
        radial-gradient(120% 150% at 92% -20%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(90% 120% at 4% 120%, var(--ui-bloom-cool), transparent 55%),
        linear-gradient(225deg, var(--ui-surface-strong), var(--ui-surface));
}

.lab-hero[b-v93wtb880d]::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    inset-block-start: -160px;
    inset-inline-end: -96px;
    border: 44px solid var(--ui-accent-soft);
    border-radius: 50%;
    pointer-events: none;
}

.lab-hero-copy[b-v93wtb880d] {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.lab-eyebrow[b-v93wtb880d] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface);
    color: var(--ui-ink-2);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.lab-eyebrow i[b-v93wtb880d] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ui-accent);
}

.lab-hero h1[b-v93wtb880d] {
    margin: 14px 0 10px;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    line-height: 1.35;
}

.lab-hero p[b-v93wtb880d] {
    margin: 0;
    color: var(--ui-muted);
    line-height: 1.9;
}

.lab-hero-actions[b-v93wtb880d] {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* ---------- buttons, fields ---------- */

.lab-button[b-v93wtb880d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--ui-r-pill);
    font: inherit;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--ui-dur-2) var(--ui-ease), border-color var(--ui-dur-2) var(--ui-ease), transform var(--ui-dur-2) var(--ui-ease);
}

.lab-button.is-primary[b-v93wtb880d] {
    background: var(--ui-dark);
    color: var(--ui-on-dark);
}

.lab-button.is-primary:hover:not(:disabled)[b-v93wtb880d] {
    background: var(--ui-dark-hover);
    transform: translateY(-1px);
}

.lab-button.is-ghost[b-v93wtb880d] {
    border-color: var(--ui-line-strong);
    background: var(--ui-surface);
    color: var(--ui-ink);
}

.lab-button.is-ghost:hover:not(:disabled)[b-v93wtb880d] {
    background: var(--ui-surface-hover);
}

.lab-button:disabled[b-v93wtb880d] {
    opacity: .55;
    cursor: default;
}

.lab-link[b-v93wtb880d] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--ui-accent-strong);
    font: inherit;
    font-size: .84rem;
    font-weight: 700;
    cursor: pointer;
}

.lab-link.is-danger[b-v93wtb880d] {
    color: var(--ui-danger);
}

.lab-link:disabled[b-v93wtb880d] {
    opacity: .5;
    cursor: default;
}

.lab-field[b-v93wtb880d] {
    display: grid;
    gap: 6px;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.lab-field > span[b-v93wtb880d] {
    font-size: .84rem;
    font-weight: 700;
    color: var(--ui-ink-2);
}

.lab-field input[b-v93wtb880d],
.lab-field select[b-v93wtb880d],
.lab-field textarea[b-v93wtb880d],
.lab-line textarea[b-v93wtb880d],
.lab-line select[b-v93wtb880d] {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-sunken);
    color: var(--ui-ink);
    font: inherit;
    font-size: .92rem;
}

.lab-field textarea[b-v93wtb880d],
.lab-line textarea[b-v93wtb880d] {
    resize: vertical;
    line-height: 1.8;
}

.lab-field input:focus[b-v93wtb880d],
.lab-field select:focus[b-v93wtb880d],
.lab-field textarea:focus[b-v93wtb880d],
.lab-line textarea:focus[b-v93wtb880d] {
    outline: 2px solid var(--ui-accent);
    outline-offset: 1px;
}

.lab-radios[b-v93wtb880d] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.lab-radios label[b-v93wtb880d] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .88rem;
    cursor: pointer;
}

.lab-muted[b-v93wtb880d] {
    color: var(--ui-muted);
    font-size: .84rem;
    line-height: 1.8;
}


/* ---------- cards ---------- */

.lab-grid[b-v93wtb880d] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 18px;
}

.lab-card[b-v93wtb880d] {
    min-width: 0;
    padding: 22px 24px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface);
    box-shadow: var(--ui-shadow-sm);
}

.lab-card h2[b-v93wtb880d],
.lab-card h3[b-v93wtb880d] {
    margin: 0 0 12px;
}

.lab-card h2[b-v93wtb880d] {
    font-size: 1.15rem;
}

.lab-card h3[b-v93wtb880d] {
    font-size: 1.05rem;
}

.lab-card-head[b-v93wtb880d] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 16px;
    margin-bottom: 14px;
}

.lab-card-head h3[b-v93wtb880d] {
    margin: 0;
}

.lab-loading[b-v93wtb880d] {
    color: var(--ui-muted);
}

.lab-title-row[b-v93wtb880d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lab-title-row h2[b-v93wtb880d] {
    margin: 0;
    font-size: 1.25rem;
}

.lab-alert[b-v93wtb880d] {
    padding: 12px 16px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface);
    line-height: 1.8;
    font-size: .9rem;
}

.lab-alert.is-error[b-v93wtb880d] {
    border-color: var(--ui-danger-soft);
    background: var(--ui-danger-tint);
    color: var(--ui-danger);
}

.lab-alert.is-warning[b-v93wtb880d] {
    border-color: var(--ui-warning-soft);
    background: var(--ui-accent-tint);
}

.lab-alert.is-ok[b-v93wtb880d] {
    border-color: var(--ui-success-soft);
    background: var(--ui-success-tint);
    color: var(--ui-success);
}

.lab-alert .lab-muted[b-v93wtb880d] {
    display: block;
}

.lab-chip[b-v93wtb880d] {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
    font-size: .74rem;
    font-weight: 700;
    white-space: nowrap;
}

.lab-chip.is-ok[b-v93wtb880d] {
    background: var(--ui-success-tint);
    color: var(--ui-success);
}

.lab-chip.is-running[b-v93wtb880d] {
    background: var(--ui-info-tint);
    color: var(--ui-info);
}

.lab-chip.is-error[b-v93wtb880d] {
    background: var(--ui-danger-tint);
    color: var(--ui-danger);
}

.lab-chip.is-warning[b-v93wtb880d] {
    background: var(--ui-accent-tint);
    color: var(--ui-accent-strong);
}


/* ---------- project list ---------- */

.lab-list[b-v93wtb880d] {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lab-list a[b-v93wtb880d] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 12px;
    padding: 12px 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    color: inherit;
    text-decoration: none;
    transition: background-color var(--ui-dur-2) var(--ui-ease), border-color var(--ui-dur-2) var(--ui-ease);
}

.lab-list a:hover[b-v93wtb880d] {
    border-color: var(--ui-line-strong);
    background: var(--ui-surface-hover);
}

.lab-list strong[b-v93wtb880d] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lab-list small[b-v93wtb880d] {
    grid-column: 1 / -1;
    color: var(--ui-muted);
}


/* ---------- steps ---------- */

.lab-steps[b-v93wtb880d] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lab-steps span[b-v93wtb880d] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface);
    color: var(--ui-muted);
    font-size: .86rem;
    font-weight: 700;
}

.lab-page[dir="rtl"] .lab-steps span[b-v93wtb880d] {
    padding: 6px 6px 6px 14px;
}

.lab-steps b[b-v93wtb880d] {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ui-surface-sunken);
}

.lab-steps .is-on[b-v93wtb880d] {
    border-color: var(--ui-accent);
    color: var(--ui-ink);
}

.lab-steps .is-on b[b-v93wtb880d] {
    background: var(--ui-accent);
    color: var(--ui-on-accent);
}

.lab-steps .is-done[b-v93wtb880d] {
    color: var(--ui-ink);
}

.lab-steps .is-done b[b-v93wtb880d] {
    background: var(--ui-dark);
    color: var(--ui-on-dark);
}


/* ---------- progress, upload ---------- */

.lab-progress[b-v93wtb880d] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.lab-progress > div:last-child[b-v93wtb880d] {
    flex: 1;
    min-width: 0;
}

.lab-spinner[b-v93wtb880d] {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border: 3px solid var(--ui-accent-soft);
    border-top-color: var(--ui-accent);
    border-radius: 50%;
    animation: lab-spin-b-v93wtb880d 1s linear infinite;
}

@keyframes lab-spin-b-v93wtb880d {
    to {
        transform: rotate(360deg);
    }
}

.lab-bar[b-v93wtb880d] {
    height: 8px;
    margin: 10px 0 4px;
    overflow: hidden;
    border-radius: var(--ui-r-pill);
    background: var(--ui-progress-track);
}

.lab-bar i[b-v93wtb880d] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--ui-progress-fill);
    transition: width var(--ui-dur-3) var(--ui-ease);
}

.lab-upload[b-v93wtb880d] {
    padding: 18px;
    border: 1px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-sunken);
}

.lab-drop[b-v93wtb880d] {
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 34px 16px;
    border: 2px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-sunken);
    color: var(--ui-ink);
    font: inherit;
    cursor: pointer;
    transition: border-color var(--ui-dur-2) var(--ui-ease), background-color var(--ui-dur-2) var(--ui-ease);
}

.lab-drop:hover:not(:disabled)[b-v93wtb880d] {
    border-color: var(--ui-accent);
    background: var(--ui-accent-tint);
}

.lab-drop small[b-v93wtb880d] {
    color: var(--ui-muted);
}

.lab-drop-icon[b-v93wtb880d] {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--ui-dark);
    color: var(--ui-on-dark);
    font-size: 1.2rem;
}


/* ---------- media ---------- */

.lab-media[b-v93wtb880d] {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.lab-media video[b-v93wtb880d],
.lab-result video[b-v93wtb880d] {
    width: 100%;
    max-height: 460px;
    border-radius: var(--ui-r-md);
    background: #000;
}

.lab-actions[b-v93wtb880d],
.lab-downloads[b-v93wtb880d] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.lab-downloads[b-v93wtb880d] {
    margin-top: 14px;
}


/* ---------- speakers ---------- */

.lab-voices[b-v93wtb880d] {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.lab-voices-cast[b-v93wtb880d] {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.lab-voices-output[b-v93wtb880d] {
    display: grid;
    gap: 0;
    min-width: 0;
    padding: 16px 16px 4px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg, 16px);
    background: var(--ui-surface-sunken);
}

.lab-subhead[b-v93wtb880d] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 4px;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .02em;
    color: var(--ui-muted);
}

.lab-subhead span[b-v93wtb880d] {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--ui-accent-soft);
    color: var(--ui-ink);
    font-size: .76rem;
}

.lab-speaker[b-v93wtb880d] {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
    box-shadow: 0 1px 2px rgba(20, 16, 10, .04);
}

.lab-speaker-main[b-v93wtb880d] {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.lab-speaker-top[b-v93wtb880d] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.lab-input[b-v93wtb880d] {
    width: 100%;
    min-width: 0;
    padding: 8px 11px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-sunken);
    color: var(--ui-ink);
    font: inherit;
    font-size: .9rem;
}

.lab-input:focus[b-v93wtb880d] {
    outline: 2px solid var(--ui-accent);
    outline-offset: 1px;
}

.lab-speaker-name[b-v93wtb880d] {
    flex: 1 1 auto;
    font-weight: 700;
}

.lab-speaker-top .lab-chip[b-v93wtb880d] {
    flex: none;
    white-space: nowrap;
}

.lab-speaker .lab-preview[b-v93wtb880d] {
    width: 100%;
    height: 32px;
}

.lab-avatar[b-v93wtb880d] {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ui-accent-soft), var(--ui-accent));
    color: var(--ui-ink);
    font-weight: 800;
    font-size: 1.05rem;
}

.lab-voices-output .lab-field[b-v93wtb880d] {
    margin-bottom: 14px;
}

/* A choice of two or three as one pill: the chosen one raised. */
.lab-segment[b-v93wtb880d] {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--ui-line);
    border-radius: 999px;
    background: var(--ui-surface-raised);
}

.lab-segment label[b-v93wtb880d] {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .84rem;
    text-align: center;
    line-height: 1.4;
    color: var(--ui-ink-2);
    cursor: pointer;
    transition: background .15s, color .15s, box-shadow .15s;
}

.lab-segment label:hover[b-v93wtb880d] {
    background: var(--ui-surface-sunken);
}

.lab-segment label.is-on[b-v93wtb880d] {
    background: var(--ui-ink);
    color: var(--ui-surface-raised);
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(20, 16, 10, .14);
}

.lab-segment input[b-v93wtb880d] {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.lab-segment label:has(input:focus-visible)[b-v93wtb880d] {
    outline: 2px solid var(--ui-accent);
    outline-offset: 1px;
}

@media (max-width: 900px) {
    .lab-voices[b-v93wtb880d] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- script lines ---------- */

.lab-lines[b-v93wtb880d] {
    display: grid;
    gap: 10px;
}

.lab-line[b-v93wtb880d] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
}

.lab-line.is-long[b-v93wtb880d] {
    border-color: var(--ui-warning-soft);
}

.lab-time[b-v93wtb880d] {
    align-self: start;
    min-width: 54px;
    padding: 4px 8px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface);
    color: var(--ui-ink-2);
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
}

.lab-line-body[b-v93wtb880d] {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.lab-line-meta[b-v93wtb880d] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.lab-line-meta select[b-v93wtb880d] {
    width: auto;
    max-width: 160px;
    padding: 4px 8px;
    font-size: .82rem;
}

.lab-source[b-v93wtb880d] {
    color: var(--ui-muted);
    font-size: .86rem;
    line-height: 1.7;
}

.lab-line-foot[b-v93wtb880d] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    color: var(--ui-muted);
    font-size: .78rem;
}

.lab-line-foot .is-over[b-v93wtb880d] {
    color: var(--ui-danger);
    font-weight: 700;
}

.lab-line audio[b-v93wtb880d] {
    width: 100%;
    height: 34px;
}

.lab-sticky[b-v93wtb880d] {
    position: sticky;
    bottom: 12px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-strong);
    box-shadow: var(--ui-shadow-lg);
}


/* ---------- defense ---------- */

.lab-files[b-v93wtb880d] {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.lab-files li[b-v93wtb880d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
    font-size: .88rem;
}

.lab-form[b-v93wtb880d] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 0 18px;
}

.lab-form .is-wide[b-v93wtb880d] {
    grid-column: 1 / -1;
}

.lab-themes[b-v93wtb880d] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lab-theme[b-v93wtb880d] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 58px;
    height: 38px;
    overflow: hidden;
    padding: 0;
    border: 2px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    cursor: pointer;
}

.lab-theme.is-on[b-v93wtb880d] {
    border-color: var(--ui-ink);
    box-shadow: 0 0 0 3px var(--ui-accent-soft);
}

.lab-slides[b-v93wtb880d] {
    display: grid;
    gap: 14px;
}

.lab-slide[b-v93wtb880d] {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
}

.lab-thumb[b-v93wtb880d] {
    position: relative;
    align-self: start;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    padding: 10px 12px;
    border-radius: var(--ui-r-sm);
    box-shadow: var(--ui-shadow-sm);
    color: #1e2430;
    font-size: .64rem;
    line-height: 1.5;
}

.lab-thumb.is-dark[b-v93wtb880d] {
    color: #fff;
    display: grid;
    place-items: center;
    text-align: center;
}

.lab-thumb b[b-v93wtb880d] {
    display: block;
    margin-bottom: 6px;
    font-size: .74rem;
}

.lab-thumb ul[b-v93wtb880d] {
    margin: 0;
    padding-inline-start: 14px;
}

.lab-thumb img[b-v93wtb880d] {
    max-width: 100%;
    max-height: 62px;
    object-fit: contain;
}

.lab-thumb-number[b-v93wtb880d] {
    position: absolute;
    inset-block-end: 6px;
    inset-inline-end: 8px;
    font-size: .6rem;
    opacity: .7;
}

.lab-slide-tools[b-v93wtb880d] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
}

.lab-question[b-v93wtb880d] {
    padding: 12px 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
}

.lab-question summary[b-v93wtb880d] {
    cursor: pointer;
    font-weight: 700;
    line-height: 1.8;
}

.lab-marks[b-v93wtb880d] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.lab-marks button[b-v93wtb880d] {
    padding: 4px 10px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface);
    color: var(--ui-ink-2);
    font: inherit;
    font-size: .78rem;
    cursor: pointer;
}

.lab-result audio[b-v93wtb880d] {
    width: 100%;
}


/* ---------- small screens ---------- */

@media (max-width: 900px) {
    .lab-grid[b-v93wtb880d],
    .lab-media[b-v93wtb880d] {
        grid-template-columns: minmax(0, 1fr);
    }

    .lab-slide[b-v93wtb880d] {
        grid-template-columns: minmax(0, 1fr);
    }

    .lab-thumb[b-v93wtb880d] {
        max-width: 320px;
    }
}

@media (max-width: 720px) {
    .lab-hero[b-v93wtb880d] {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
    }

    .lab-card[b-v93wtb880d] {
        padding: 18px 16px;
    }

    .lab-line[b-v93wtb880d] {
        grid-template-columns: minmax(0, 1fr);
    }

    .lab-sticky[b-v93wtb880d] {
        bottom: calc(var(--app-mobile-tabbar-height, 72px) + 10px);
    }
}
/* _content/AITranslationPlatform.Web/Components/Support/Tickets.razor.rz.scp.css */
.tickets-page[b-tiohh5dm70]{display:grid;gap:24px;color:var(--text)}
.tickets-head[b-tiohh5dm70],.new-ticket-card[b-tiohh5dm70],.ticket-list-panel[b-tiohh5dm70],.ticket-conversation-panel[b-tiohh5dm70]{border:1px solid var(--border);background:var(--surface);box-shadow:var(--ui-shadow-sm)}
.tickets-head[b-tiohh5dm70]{min-height:132px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;border-radius:28px;background:radial-gradient(circle at 12% 0%,rgba(226,175,46,.12),transparent 30%),var(--surface)}
.tickets-head h1[b-tiohh5dm70]{margin:5px 0 7px;font-size:clamp(1.55rem,2.4vw,2.25rem);line-height:1.2}
.tickets-head p[b-tiohh5dm70]{max-width:720px;margin:0;color:var(--muted);font-size:.92rem;line-height:1.8}
.tickets-eyebrow[b-tiohh5dm70]{color:var(--accent-text);font-size:.67rem;font-weight:900;letter-spacing:.12em}
.tickets-primary[b-tiohh5dm70],.tickets-secondary[b-tiohh5dm70],.icon-close[b-tiohh5dm70]{font-family:inherit;cursor:pointer;transition:var(--ui-t)}
.tickets-primary[b-tiohh5dm70]{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 18px;border:0;border-radius:15px;background:linear-gradient(140deg,var(--ui-accent),var(--ui-accent-strong));color:var(--ui-on-accent);font-size:.82rem;font-weight:900;box-shadow:var(--ui-shadow-accent)}
.tickets-primary:hover:not(:disabled)[b-tiohh5dm70]{transform:translateY(-2px)}
.tickets-primary:disabled[b-tiohh5dm70]{opacity:.55;cursor:wait}
.tickets-primary>span[b-tiohh5dm70]{font-size:1.25rem;line-height:1}
.tickets-secondary[b-tiohh5dm70]{min-height:42px;padding:0 14px;border:1px solid var(--border);border-radius:13px;background:var(--surface-solid);color:var(--text-secondary);font-size:.76rem;font-weight:800}
.tickets-secondary:hover[b-tiohh5dm70]{border-color:var(--border-accent);color:var(--text)}
.danger-soft[b-tiohh5dm70]{color:var(--danger)}
.new-ticket-card[b-tiohh5dm70]{display:grid;gap:20px;padding:24px;border-radius:24px}
.new-ticket-head[b-tiohh5dm70]{display:flex;align-items:start;justify-content:space-between;gap:16px}
.new-ticket-head>div[b-tiohh5dm70]{display:grid;gap:4px}
.new-ticket-head strong[b-tiohh5dm70]{font-size:1rem}
.new-ticket-head span[b-tiohh5dm70]{color:var(--muted);font-size:.77rem}
.icon-close[b-tiohh5dm70]{width:34px;height:34px;border:1px solid var(--border);border-radius:11px;background:var(--surface-solid);color:var(--muted);font-size:1.2rem}
.new-ticket-grid[b-tiohh5dm70]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.field[b-tiohh5dm70]{display:grid;gap:7px}.field-wide[b-tiohh5dm70]{grid-column:1/-1}.field>span[b-tiohh5dm70]{color:var(--text-secondary);font-size:.72rem;font-weight:800}
.field input[b-tiohh5dm70],.field select[b-tiohh5dm70],.field textarea[b-tiohh5dm70],.reply-box textarea[b-tiohh5dm70]{width:100%;border:1px solid var(--border);outline:0;border-radius:14px;background:var(--surface-solid);color:var(--text);font:inherit;font-size:.82rem;transition:var(--ui-t);box-sizing:border-box}
.field input[b-tiohh5dm70],.field select[b-tiohh5dm70]{height:46px;padding:0 13px}.field textarea[b-tiohh5dm70],.reply-box textarea[b-tiohh5dm70]{padding:13px 14px;resize:vertical;line-height:1.85}
.field input:focus[b-tiohh5dm70],.field select:focus[b-tiohh5dm70],.field textarea:focus[b-tiohh5dm70],.reply-box textarea:focus[b-tiohh5dm70]{border-color:var(--ui-accent);box-shadow:0 0 0 4px var(--ui-accent-soft)}
.new-ticket-actions[b-tiohh5dm70],.reply-actions[b-tiohh5dm70]{display:flex;align-items:center;gap:10px}.ticket-error[b-tiohh5dm70],.reply-error[b-tiohh5dm70]{color:var(--danger);font-size:.75rem;font-weight:800}
.tickets-workspace[b-tiohh5dm70]{min-height:590px;display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:18px}
.ticket-list-panel[b-tiohh5dm70],.ticket-conversation-panel[b-tiohh5dm70]{min-width:0;min-height:0;border-radius:26px;overflow:hidden}
.ticket-list-panel[b-tiohh5dm70]{display:flex;flex-direction:column}.panel-title[b-tiohh5dm70]{min-height:76px;display:flex;align-items:center;padding:17px 18px;border-bottom:1px solid var(--border)}
.panel-title>div[b-tiohh5dm70]{display:grid;gap:2px}.panel-title strong[b-tiohh5dm70]{font-size:.92rem}.panel-title span[b-tiohh5dm70]{color:var(--muted);font-size:.68rem}
.ticket-list[b-tiohh5dm70]{display:grid;gap:7px;padding:10px;overflow-y:auto}
.ticket-row[b-tiohh5dm70]{position:relative;width:100%;display:grid;gap:8px;padding:14px;border:1px solid transparent;border-radius:17px;background:transparent;color:var(--text);text-align:start;font-family:inherit;cursor:pointer;transition:var(--ui-t)}
.ticket-row:hover[b-tiohh5dm70]{background:var(--surface-hover);border-color:var(--border)}.ticket-row.is-active[b-tiohh5dm70]{border-color:var(--border-accent);background:var(--ui-accent-soft)}
.ticket-row.has-unread[b-tiohh5dm70]{box-shadow:inset 3px 0 0 var(--ui-accent)}
.ticket-row-top[b-tiohh5dm70],.ticket-row-meta[b-tiohh5dm70],.ticket-row-foot[b-tiohh5dm70],.conversation-meta[b-tiohh5dm70],.message-author[b-tiohh5dm70]{display:flex;align-items:center}
.ticket-row-top[b-tiohh5dm70]{justify-content:space-between;gap:8px}.ticket-row-top strong[b-tiohh5dm70]{min-width:0;overflow:hidden;font-size:.8rem;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
.unread-dot[b-tiohh5dm70]{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:var(--ui-accent-strong);box-shadow:0 0 0 5px var(--ui-accent-soft)}
.ticket-row-meta[b-tiohh5dm70],.ticket-row-foot[b-tiohh5dm70]{justify-content:space-between;gap:8px;color:var(--muted);font-size:.62rem}
.ticket-row p[b-tiohh5dm70]{display:-webkit-box;margin:0;overflow:hidden;color:var(--text-secondary);font-size:.7rem;line-height:1.65;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.status-pill[b-tiohh5dm70],.priority-chip[b-tiohh5dm70]{display:inline-flex;align-items:center;justify-content:center;padding:4px 7px;border-radius:999px;font-size:.58rem;font-weight:900;white-space:nowrap}
.status-pill.wait-support[b-tiohh5dm70]{color:#8b5a13;background:rgba(192,132,38,.11)}.status-pill.wait-customer[b-tiohh5dm70]{color:#795f14;background:rgba(226,175,46,.13)}
.status-pill.resolved[b-tiohh5dm70]{color:#237059;background:rgba(39,132,103,.11)}.status-pill.closed[b-tiohh5dm70]{color:var(--muted);background:rgba(125,125,125,.10)}
.priority-chip.low[b-tiohh5dm70]{color:#3e7562;background:rgba(61,129,103,.08)}.priority-chip.normal[b-tiohh5dm70]{color:var(--text-secondary);background:var(--surface-hover)}
.priority-chip.high[b-tiohh5dm70]{color:#a46716;background:rgba(207,139,31,.10)}.priority-chip.urgent[b-tiohh5dm70]{color:var(--danger);background:rgba(180,80,63,.10)}
.ticket-conversation-panel[b-tiohh5dm70]{display:flex;flex-direction:column}.conversation-head[b-tiohh5dm70]{min-height:106px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid var(--border)}
.conversation-number[b-tiohh5dm70]{color:var(--accent-text);font-size:.65rem;font-weight:900;letter-spacing:.05em}.conversation-head h2[b-tiohh5dm70]{margin:5px 0 8px;font-size:1.05rem}
.conversation-meta[b-tiohh5dm70]{flex-wrap:wrap;gap:6px;color:var(--muted);font-size:.66rem}
.conversation-stream[b-tiohh5dm70]{flex:1;min-height:330px;display:flex;flex-direction:column;gap:13px;padding:22px;overflow-y:auto;background:linear-gradient(180deg,rgba(226,175,46,.025),transparent 20%)}
.message-bubble[b-tiohh5dm70]{width:min(76%,720px);display:grid;gap:8px;padding:14px 15px;border:1px solid var(--border);border-radius:18px;background:var(--surface-solid)}
.message-bubble.mine[b-tiohh5dm70]{align-self:flex-end;border-end-end-radius:5px;background:var(--ui-accent-soft);border-color:var(--border-accent)}
.message-bubble.staff[b-tiohh5dm70]{align-self:flex-start;border-end-start-radius:5px}
.message-author[b-tiohh5dm70]{justify-content:space-between;gap:15px}.message-author strong[b-tiohh5dm70]{font-size:.7rem}.message-author span[b-tiohh5dm70]{color:var(--muted);font-size:.58rem}
.message-bubble p[b-tiohh5dm70]{margin:0;white-space:pre-wrap;color:var(--text-secondary);font-size:.8rem;line-height:1.9}
.reply-box[b-tiohh5dm70]{display:grid;gap:10px;padding:16px 18px 18px;border-top:1px solid var(--border);background:var(--surface)}
.reply-actions[b-tiohh5dm70]{justify-content:space-between}.conversation-closed[b-tiohh5dm70]{padding:10px 18px;border-top:1px solid var(--border);background:rgba(125,125,125,.06);color:var(--muted);font-size:.68rem;text-align:center}
.ticket-empty[b-tiohh5dm70],.conversation-empty[b-tiohh5dm70]{flex:1;min-height:280px;display:grid;place-content:center;justify-items:center;gap:8px;padding:28px;color:var(--muted);text-align:center}
.ticket-empty p[b-tiohh5dm70],.conversation-empty p[b-tiohh5dm70]{max-width:330px;margin:0;font-size:.72rem;line-height:1.8}
.empty-glyph[b-tiohh5dm70],.conversation-icon[b-tiohh5dm70]{width:48px;height:48px;display:grid;place-items:center;border-radius:16px;background:var(--ui-accent-soft);color:var(--accent-text);font-size:1.2rem}
@media(max-width:900px){.tickets-workspace[b-tiohh5dm70]{grid-template-columns:1fr}.ticket-list-panel[b-tiohh5dm70]{max-height:430px}.ticket-conversation-panel[b-tiohh5dm70]{min-height:580px}}
@media(max-width:650px){.tickets-head[b-tiohh5dm70]{align-items:stretch;flex-direction:column;padding:22px 18px}.tickets-head .tickets-primary[b-tiohh5dm70]{width:100%}.new-ticket-grid[b-tiohh5dm70]{grid-template-columns:1fr}.field-wide[b-tiohh5dm70]{grid-column:auto}.conversation-head[b-tiohh5dm70]{align-items:stretch;flex-direction:column}.message-bubble[b-tiohh5dm70]{width:92%}}


/* ============================================================
   TICKETING ATTACHMENTS V1 — USER
   ============================================================ */

.ticket-attachment-section[b-tiohh5dm70] {
    display: grid;
    gap: 12px;
    padding: 16px 18px;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.ticket-attachment-heading[b-tiohh5dm70] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.ticket-attachment-heading > div[b-tiohh5dm70] {
    display: grid;
    gap: 3px;
}

.ticket-attachment-heading strong[b-tiohh5dm70] {
    color: var(--text);
    font-size: .82rem;
}

.ticket-attachment-heading span[b-tiohh5dm70] {
    color: var(--muted);
    font-size: .67rem;
}

.ticket-attachment-grid[b-tiohh5dm70] {
    display: grid;
    gap: 8px;
}

.ticket-attachment-card[b-tiohh5dm70] {
    min-width: 0;
    display: grid;
    grid-template-columns: 64px minmax(0,1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface-solid);
}

.ticket-attachment-preview[b-tiohh5dm70],
.ticket-attachment-file-icon[b-tiohh5dm70] {
    width: 64px;
    height: 52px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--ui-accent-soft);
    color: var(--accent-text);
    text-decoration: none;
    font-size: .63rem;
    font-weight: 900;
}

.ticket-attachment-preview img[b-tiohh5dm70] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ticket-attachment-info[b-tiohh5dm70] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.ticket-attachment-info strong[b-tiohh5dm70] {
    overflow: hidden;
    color: var(--text);
    font-size: .74rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-attachment-info span[b-tiohh5dm70],
.ticket-attachment-info small[b-tiohh5dm70] {
    color: var(--muted);
    font-size: .62rem;
}

.ticket-attachment-download[b-tiohh5dm70] {
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    background: var(--surface);
    text-decoration: none;
    font-size: .66rem;
    font-weight: 850;
}

.ticket-attachment-upload[b-tiohh5dm70] {
    display: flex;
    align-items: end;
    gap: 10px;
    padding-top: 3px;
}

.ticket-file-picker[b-tiohh5dm70] {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 6px;
    color: var(--text-secondary);
    font-size: .68rem;
    font-weight: 800;
}

.ticket-file-picker input[type="file"][b-tiohh5dm70] {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px dashed var(--border-accent);
    border-radius: 12px;
    background: var(--surface-solid);
    color: var(--muted);
    font: inherit;
}

@media(max-width:650px) {
    .ticket-attachment-card[b-tiohh5dm70] {
        grid-template-columns: 52px minmax(0,1fr);
    }

    .ticket-attachment-preview[b-tiohh5dm70],
    .ticket-attachment-file-icon[b-tiohh5dm70] {
        width: 52px;
        height: 46px;
    }

    .ticket-attachment-download[b-tiohh5dm70] {
        grid-column: 1 / -1;
        text-align: center;
    }

    .ticket-attachment-upload[b-tiohh5dm70] {
        align-items: stretch;
        flex-direction: column;
    }
}

/* ============================================================
   TICKETING SOCIAL CONVERSATION V1 — USER
   ============================================================ */

.social-conversation-stream[b-tiohh5dm70] {
    flex: 1;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 24px;
    overflow-y: auto;
    background:
        radial-gradient(circle at 18% 0%, rgba(226,175,46,.045), transparent 28%),
        linear-gradient(180deg, rgba(226,175,46,.018), transparent 22%);
}

.social-chat-row[b-tiohh5dm70] {
    width: 100%;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    direction: ltr;
}

.social-chat-row.mine[b-tiohh5dm70] {
    justify-content: flex-end;
}

.social-chat-row.other[b-tiohh5dm70] {
    justify-content: flex-start;
}

.social-avatar[b-tiohh5dm70] {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface-solid);
    color: var(--muted);
    font-size: .62rem;
    font-weight: 950;
    box-shadow: 0 5px 14px rgba(77,58,25,.06);
}

.social-chat-row.mine .social-avatar[b-tiohh5dm70] {
    order: 2;
    border-color: var(--border-accent);
    background: var(--ui-accent-soft);
    color: var(--accent-text);
}

.social-bubble-stack[b-tiohh5dm70] {
    max-width: min(72%, 720px);
    display: grid;
    gap: 5px;
}

.tickets-page[dir="rtl"] .social-bubble-stack[b-tiohh5dm70] {
    direction: rtl;
    text-align: right;
}

.tickets-page[dir="ltr"] .social-bubble-stack[b-tiohh5dm70] {
    direction: ltr;
    text-align: left;
}

.social-author-line[b-tiohh5dm70] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-inline: 5px;
    color: var(--muted);
}

.social-chat-row.mine .social-author-line[b-tiohh5dm70] {
    justify-content: flex-end;
}

.social-author-line strong[b-tiohh5dm70] {
    color: var(--text-secondary);
    font-size: .64rem;
    font-weight: 900;
}

.social-author-line span[b-tiohh5dm70] {
    font-size: .56rem;
}

.social-text-bubble[b-tiohh5dm70] {
    position: relative;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 19px 19px 19px 6px;
    background: var(--surface-solid);
    box-shadow: 0 8px 22px rgba(62,47,20,.045);
}

.social-chat-row.mine .social-text-bubble[b-tiohh5dm70] {
    border-color: var(--border-accent);
    border-radius: 19px 19px 6px 19px;
    background:
        linear-gradient(145deg, var(--ui-accent-soft), var(--surface-solid));
}

.social-text-bubble p[b-tiohh5dm70] {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: var(--text-secondary);
    font-size: .81rem;
    line-height: 1.92;
}

.social-media-bubble[b-tiohh5dm70] {
    width: min(360px, 64vw);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface-solid);
    box-shadow: 0 10px 25px rgba(62,47,20,.06);
}

.social-chat-row.mine .social-media-bubble[b-tiohh5dm70] {
    border-color: var(--border-accent);
}

.social-image-link[b-tiohh5dm70] {
    display: block;
    overflow: hidden;
    background: var(--surface-hover);
}

.social-image-link img[b-tiohh5dm70] {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    transition: transform .22s ease;
}

.social-image-link:hover img[b-tiohh5dm70] {
    transform: scale(1.012);
}

.social-media-caption[b-tiohh5dm70] {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 11px 10px;
}

.social-media-caption > span[b-tiohh5dm70] {
    min-width: 0;
    overflow: hidden;
    color: var(--text-secondary);
    font-size: .65rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.social-download-link[b-tiohh5dm70] {
    flex: 0 0 auto;
    color: var(--accent-text);
    text-decoration: none;
    font-size: .62rem;
    font-weight: 900;
}

.social-file-bubble[b-tiohh5dm70] {
    width: min(360px, 68vw);
    min-height: 68px;
    display: grid;
    grid-template-columns: 44px minmax(0,1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface-solid);
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(62,47,20,.045);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.social-chat-row.mine .social-file-bubble[b-tiohh5dm70] {
    border-color: var(--border-accent);
    background:
        linear-gradient(145deg, var(--ui-accent-soft), var(--surface-solid));
}

.social-file-bubble:hover[b-tiohh5dm70] {
    transform: translateY(-1px);
    border-color: var(--border-accent);
    box-shadow: 0 11px 26px rgba(62,47,20,.07);
}

.social-file-icon[b-tiohh5dm70] {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--ui-accent-soft);
    color: var(--accent-text);
}

.social-file-icon svg[b-tiohh5dm70] {
    width: 22px;
    height: 22px;
}

.social-file-copy[b-tiohh5dm70] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.social-file-copy strong[b-tiohh5dm70] {
    overflow: hidden;
    color: var(--text);
    font-size: .7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.social-file-copy small[b-tiohh5dm70] {
    color: var(--muted);
    font-size: .6rem;
}

.social-file-action[b-tiohh5dm70] {
    color: var(--accent-text);
    font-size: .61rem;
    font-weight: 900;
}

.social-composer[b-tiohh5dm70] {
    display: grid;
    gap: 8px;
    padding: 13px 15px 14px;
    border-top: 1px solid var(--border);
    background:
        linear-gradient(180deg, var(--surface), var(--surface-solid));
}

.social-composer-input[b-tiohh5dm70] {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: end;
    gap: 10px;
    padding: 7px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface-solid);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
    transition: border-color .16s ease, box-shadow .16s ease;
}

.social-composer-input:focus-within[b-tiohh5dm70] {
    border-color: var(--border-accent);
    box-shadow: 0 0 0 4px var(--ui-accent-soft);
}

.social-composer textarea[b-tiohh5dm70] {
    width: 100%;
    min-height: 46px;
    max-height: 160px;
    padding: 10px 11px;
    border: 0;
    outline: 0;
    resize: vertical;
    box-sizing: border-box;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: .8rem;
    line-height: 1.8;
}

.social-composer-actions[b-tiohh5dm70] {
    display: flex;
    align-items: center;
    gap: 7px;
}

.social-attach-button[b-tiohh5dm70],
.social-send-button[b-tiohh5dm70] {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 13px;
    font-family: inherit;
    font-size: .67rem;
    font-weight: 900;
}

.social-attach-button[b-tiohh5dm70] {
    position: relative;
    min-width: 98px;
    padding: 0 11px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface-hover);
    color: var(--text-secondary);
    cursor: pointer;
}

.social-attach-button:hover[b-tiohh5dm70] {
    border-color: var(--border-accent);
    color: var(--accent-text);
}

.social-attach-button svg[b-tiohh5dm70],
.social-send-button svg[b-tiohh5dm70] {
    width: 17px;
    height: 17px;
}

.social-attach-button input[type="file"][b-tiohh5dm70] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.social-send-button[b-tiohh5dm70] {
    min-width: 84px;
    padding: 0 13px;
    border: 0;
    background: linear-gradient(140deg, var(--ui-accent), var(--ui-accent-strong));
    color: var(--ui-on-accent);
    cursor: pointer;
    box-shadow: var(--ui-shadow-accent);
}

.social-send-button:hover[b-tiohh5dm70] {
    transform: translateY(-1px);
}

.social-composer-note[b-tiohh5dm70] {
    padding-inline: 8px;
    color: var(--muted);
    font-size: .59rem;
    line-height: 1.6;
}

.social-composer-error[b-tiohh5dm70] {
    margin: 10px 18px 0;
}

@media(max-width:650px) {
    .social-conversation-stream[b-tiohh5dm70] {
        padding: 16px 12px;
    }

    .social-bubble-stack[b-tiohh5dm70] {
        max-width: calc(100% - 42px);
    }

    .social-media-bubble[b-tiohh5dm70],
    .social-file-bubble[b-tiohh5dm70] {
        width: min(330px, 78vw);
    }

    .social-composer-input[b-tiohh5dm70] {
        grid-template-columns: 1fr;
    }

    .social-composer-actions[b-tiohh5dm70] {
        justify-content: space-between;
    }

    .social-attach-button[b-tiohh5dm70],
    .social-send-button[b-tiohh5dm70] {
        flex: 1;
    }
}


/* ============================================================
   TICKETING USER PREMIUM THEME V1
   Dashboard-aligned user support workspace
   ============================================================ */

.tickets-page[b-tiohh5dm70] {
    width: 100%;
    display: grid;
    gap: 22px;
    color: var(--text);
}

/* ============================================================
   HERO — same visual language as Dashboard
   ============================================================ */

.tickets-hero[b-tiohh5dm70] {
    min-height: 196px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 34px 36px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xl);
    background:
        radial-gradient(120% 150% at 8% -20%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(90% 120% at 96% 120%, var(--ui-bloom-cool), transparent 55%),
        linear-gradient(135deg, var(--ui-surface-strong), var(--ui-surface));
    box-shadow: var(--ui-shadow-md);
}

.tickets-page[dir="rtl"] .tickets-hero[b-tiohh5dm70] {
    background:
        radial-gradient(120% 150% at 92% -20%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(90% 120% at 4% 120%, var(--ui-bloom-cool), transparent 55%),
        linear-gradient(225deg, var(--ui-surface-strong), var(--ui-surface));
}

.tickets-hero[b-tiohh5dm70]::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    inset-block-start: -172px;
    inset-inline-end: -104px;
    border: 46px solid var(--ui-accent-soft);
    border-radius: 50%;
    animation: ui-hero-ring 1.1s var(--ui-ease-out) .08s backwards;
    pointer-events: none;
}

.tickets-hero[b-tiohh5dm70]::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    inset-block-end: -108px;
    inset-inline-start: -46px;
    border: 30px solid var(--ui-line-strong);
    border-radius: 50%;
    animation: ui-hero-ring 1.1s var(--ui-ease-out) .18s backwards;
    pointer-events: none;
}

.tickets-hero-copy[b-tiohh5dm70] {
    min-width: 0;
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.tickets-hero-eyebrow[b-tiohh5dm70],
.tickets-section-kicker[b-tiohh5dm70] {
    --badge-size: .6rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 9px;
    padding: 5px 11px 5px 9px;
    border: 1px solid rgba(226, 175, 46, .34);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--accent-text);
    font-size: var(--badge-size);
    font-weight: 800;
    letter-spacing: .075em;
    white-space: nowrap;
}

.tickets-hero .tickets-hero-eyebrow[b-tiohh5dm70] {
    --badge-size: .66rem;
    gap: 7px;
    margin-bottom: 12px;
    padding: 6px 13px 6px 11px;
    animation: ui-rise .55s var(--ui-ease-out) .12s backwards;
}

.tickets-page[dir="rtl"] .tickets-hero-eyebrow[b-tiohh5dm70],
.tickets-page[dir="rtl"] .tickets-section-kicker[b-tiohh5dm70] {
    padding: 5px 9px 5px 11px;
    letter-spacing: 0;
}

.tickets-page[dir="rtl"] .tickets-hero .tickets-hero-eyebrow[b-tiohh5dm70] {
    padding: 6px 11px 6px 13px;
}

.tickets-hero-eyebrow-dot[b-tiohh5dm70] {
    width: 6px;
    height: 6px;
    flex: none;
    border-radius: 50%;
    background: var(--ui-accent-strong);
    box-shadow: 0 0 0 0 rgba(226, 175, 46, .55);
    animation: ui-pulse 2.4s var(--ui-ease) infinite;
}

.tickets-hero .tickets-hero-eyebrow-dot[b-tiohh5dm70] {
    width: 7px;
    height: 7px;
}

.tickets-hero h1[b-tiohh5dm70] {
    margin: 0 0 11px;
    color: var(--text);
    font-size: clamp(1.75rem, 2.2vw, 2.55rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
    animation: ui-reveal-up .6s var(--ui-ease-out) .2s backwards;
}

.tickets-page[dir="rtl"] .tickets-hero h1[b-tiohh5dm70] {
    letter-spacing: 0;
}

.tickets-hero p[b-tiohh5dm70] {
    max-width: 650px;
    margin: 0;
    color: var(--text-secondary);
    font-size: .86rem;
    line-height: 1.9;
    animation: ui-rise .55s var(--ui-ease-out) .3s backwards;
}

.tickets-hero-actions[b-tiohh5dm70] {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: ui-rise .55s var(--ui-ease-out) .38s backwards;
}

.tickets-hero-primary[b-tiohh5dm70],
.tickets-hero-secondary[b-tiohh5dm70] {
    min-height: 52px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px 0 8px;
    overflow: hidden;
    border-radius: var(--ui-r-pill);
    font-family: inherit;
    font-size: .76rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--ui-t);
}

.tickets-page[dir="rtl"] .tickets-hero-primary[b-tiohh5dm70],
.tickets-page[dir="rtl"] .tickets-hero-secondary[b-tiohh5dm70] {
    padding: 0 8px 0 20px;
}

.tickets-action-glyph[b-tiohh5dm70] {
    width: 36px;
    height: 36px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition:
        transform var(--ui-dur-2) var(--ui-ease-spring),
        background-color var(--ui-dur-2) var(--ui-ease);
}

.tickets-action-glyph svg[b-tiohh5dm70] {
    width: 17px;
    height: 17px;
}

.tickets-hero-primary:hover .tickets-action-glyph[b-tiohh5dm70] {
    transform: rotate(90deg) scale(1.08);
}

.tickets-hero-secondary:hover .tickets-action-glyph[b-tiohh5dm70] {
    transform: rotate(180deg) scale(1.08);
}

.tickets-hero-primary[b-tiohh5dm70] {
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--ui-accent) 0%, var(--ui-accent-strong) 100%);
    color: var(--ui-on-accent);
    box-shadow: var(--ui-shadow-accent);
}

.tickets-hero-primary .tickets-action-glyph[b-tiohh5dm70] {
    background: rgba(74, 54, 8, .16);
    color: var(--ui-on-accent);
}

.tickets-hero-primary:hover[b-tiohh5dm70] {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(226, 175, 46, .42);
}

.tickets-hero-primary[b-tiohh5dm70]::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            115deg,
            transparent 34%,
            rgba(255, 255, 255, .55) 50%,
            transparent 66%
        );
    opacity: 0;
    pointer-events: none;
}

.tickets-hero-primary:hover[b-tiohh5dm70]::before {
    animation: ui-sheen .8s var(--ui-ease-out);
}

.tickets-hero-secondary[b-tiohh5dm70] {
    border: 1px solid var(--ui-line-strong);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
}

.tickets-hero-secondary .tickets-action-glyph[b-tiohh5dm70] {
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
}

.tickets-hero-secondary:hover:not(:disabled)[b-tiohh5dm70] {
    transform: translateY(-2px);
    border-color: var(--ui-accent-strong);
    background: var(--ui-surface-strong);
    box-shadow: var(--ui-shadow-md);
}

.tickets-hero-secondary:hover:not(:disabled) .tickets-action-glyph[b-tiohh5dm70] {
    background: var(--ui-accent-soft);
    color: var(--ui-warning);
}

.tickets-hero-secondary:disabled[b-tiohh5dm70] {
    opacity: .58;
    cursor: wait;
}

/* ============================================================
   KPI SUMMARY
   ============================================================ */

.tickets-kpi-grid[b-tiohh5dm70] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.tickets-kpi-card[b-tiohh5dm70] {
    --kpi-ink: var(--ui-warning);
    --kpi-soft: var(--ui-accent-soft);
    --kpi-tint: var(--ui-accent-tint);
    min-width: 0;
    min-height: 142px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 17px 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--ui-r-lg);
    background:
        linear-gradient(155deg, var(--kpi-tint) 0%, transparent 62%),
        var(--surface);
    box-shadow: var(--ui-shadow-sm);
    transition: var(--ui-t);
}

.tickets-kpi-card:hover[b-tiohh5dm70] {
    transform: translateY(-4px);
    box-shadow: var(--ui-shadow-lg);
}

.tickets-kpi-card[b-tiohh5dm70]::after {
    content: "";
    position: absolute;
    width: 116px;
    height: 116px;
    inset-block-start: -50px;
    inset-inline-end: -34px;
    border-radius: 50%;
    background: var(--kpi-ink);
    opacity: .09;
    transform-origin: 50% 0;
    transition:
        transform var(--ui-dur-3) var(--ui-ease),
        opacity var(--ui-dur-2) var(--ui-ease);
    pointer-events: none;
}

.tickets-kpi-card:hover[b-tiohh5dm70]::after {
    opacity: .15;
    transform: scale(1.3);
}

.tickets-kpi-card[b-tiohh5dm70]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            115deg,
            transparent 32%,
            rgba(255, 255, 255, .55) 48%,
            transparent 64%
        );
    opacity: 0;
    pointer-events: none;
}

.tickets-kpi-card:hover[b-tiohh5dm70]::before {
    animation: ui-sheen .85s var(--ui-ease-out);
}

.tickets-kpi-card.waiting[b-tiohh5dm70] {
    --kpi-ink: var(--ui-warning);
    --kpi-soft: var(--ui-warning-soft);
    --kpi-tint: var(--ui-warning-tint);
}

.tickets-kpi-card.action[b-tiohh5dm70] {
    --kpi-ink: var(--ui-info);
    --kpi-soft: var(--ui-info-soft);
    --kpi-tint: var(--ui-info-tint);
}

.tickets-kpi-card.done[b-tiohh5dm70] {
    --kpi-ink: var(--ui-success);
    --kpi-soft: var(--ui-success-soft);
    --kpi-tint: var(--ui-success-tint);
}

.tickets-kpi-card.total[b-tiohh5dm70] {
    border-color: transparent;
    background:
        linear-gradient(
            150deg,
            var(--ui-accent) 0%,
            var(--ui-accent-strong) 100%
        );
    box-shadow: var(--ui-shadow-accent);
}

.tickets-kpi-card.total[b-tiohh5dm70]::after {
    background: #fff;
    opacity: .30;
}

.tickets-kpi-card.total .tickets-kpi-label[b-tiohh5dm70],
.tickets-kpi-card.total .tickets-kpi-value[b-tiohh5dm70] {
    color: var(--ui-on-accent);
}

.tickets-kpi-card.total .tickets-kpi-caption[b-tiohh5dm70] {
    color: rgba(74, 54, 8, .78);
}

.tickets-kpi-card.total .tickets-kpi-icon[b-tiohh5dm70] {
    border-color: rgba(74, 54, 8, .18);
    background: rgba(255, 255, 255, .62);
    color: var(--ui-on-accent);
}

.tickets-kpi-top[b-tiohh5dm70] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tickets-kpi-icon[b-tiohh5dm70] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 2;
    border: 1px solid transparent;
    border-radius: var(--ui-r-sm);
    background: var(--kpi-soft);
    color: var(--kpi-ink);
    transition: var(--ui-t);
}

.tickets-kpi-card:hover .tickets-kpi-icon[b-tiohh5dm70] {
    transform: translateY(-2px) scale(1.09) rotate(-5deg);
}

.tickets-kpi-icon svg[b-tiohh5dm70] {
    width: 19px;
    height: 19px;
}

.tickets-kpi-icon .ico-frame[b-tiohh5dm70],
.tickets-kpi-icon .ico-detail[b-tiohh5dm70] {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}

.tickets-kpi-icon .ico-frame[b-tiohh5dm70] {
    animation: ui-draw .52s var(--ui-ease-out) .18s backwards;
}

.tickets-kpi-icon .ico-detail[b-tiohh5dm70] {
    animation: ui-draw .34s var(--ui-ease-out) .45s backwards;
}

.tickets-kpi-card:hover .tickets-kpi-icon .ico-frame[b-tiohh5dm70],
.tickets-kpi-card:hover .tickets-kpi-icon .ico-detail[b-tiohh5dm70] {
    animation: ui-redraw .42s var(--ui-ease-out) both;
}

.tickets-kpi-label[b-tiohh5dm70] {
    color: var(--text-secondary);
    font-size: .67rem;
    font-weight: 700;
}

.tickets-kpi-value[b-tiohh5dm70] {
    position: relative;
    z-index: 2;
    margin-top: 15px;
    color: var(--text);
    font-size: 1.62rem;
    font-weight: 820;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    animation: ui-reveal-up .55s var(--ui-ease-out) .24s backwards;
}

.tickets-kpi-caption[b-tiohh5dm70] {
    position: relative;
    z-index: 2;
    margin-top: 9px;
    color: var(--muted);
    font-size: .61rem;
    line-height: 1.5;
}

/* ============================================================
   GENERIC SECTION HEADING
   ============================================================ */

.tickets-section-heading[b-tiohh5dm70],
.tickets-panel-heading[b-tiohh5dm70] {
    min-width: 0;
}

.tickets-section-heading h2[b-tiohh5dm70],
.tickets-panel-heading h2[b-tiohh5dm70] {
    margin: 0;
    color: var(--text);
    font-size: 1.04rem;
    font-weight: 800;
    line-height: 1.35;
}

.tickets-section-heading p[b-tiohh5dm70],
.tickets-panel-heading p[b-tiohh5dm70] {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: .65rem;
    line-height: 1.7;
}

/* ============================================================
   CREATE TICKET
   ============================================================ */

.tickets-page .new-ticket-card[b-tiohh5dm70] {
    position: relative;
    display: grid;
    gap: 20px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--ui-r-lg);
    background:
        radial-gradient(
            70% 130% at 100% 0%,
            var(--ui-accent-tint),
            transparent 58%
        ),
        var(--surface);
    box-shadow: var(--ui-shadow-sm);
    animation: ticket-create-in-b-tiohh5dm70 .46s var(--ui-ease-spring) backwards;
}

.tickets-page .new-ticket-card[b-tiohh5dm70]::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    inset-block-start: -106px;
    inset-inline-end: -44px;
    border: 24px solid var(--ui-accent-soft);
    border-radius: 50%;
    pointer-events: none;
}

.tickets-page .new-ticket-head[b-tiohh5dm70] {
    position: relative;
    z-index: 1;
    align-items: flex-start;
}

.tickets-page .icon-close[b-tiohh5dm70] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-raised);
    color: var(--muted);
    transition: var(--ui-t);
}

.tickets-page .icon-close:hover[b-tiohh5dm70] {
    transform: rotate(6deg) scale(1.04);
    border-color: var(--ui-danger);
    background: var(--ui-danger-soft);
    color: var(--ui-danger);
}

.tickets-page .new-ticket-grid[b-tiohh5dm70] {
    position: relative;
    z-index: 1;
    gap: 14px;
}

.tickets-page .field[b-tiohh5dm70] {
    gap: 7px;
}

.tickets-page .field > span[b-tiohh5dm70] {
    color: var(--text-secondary);
    font-size: .66rem;
    font-weight: 750;
}

.tickets-page .field input[b-tiohh5dm70],
.tickets-page .field select[b-tiohh5dm70],
.tickets-page .field textarea[b-tiohh5dm70] {
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-sunken);
    color: var(--text);
    transition: var(--ui-t);
}

.tickets-page .field input:hover[b-tiohh5dm70],
.tickets-page .field select:hover[b-tiohh5dm70],
.tickets-page .field textarea:hover[b-tiohh5dm70] {
    border-color: var(--ui-line-strong);
    background: var(--ui-surface-raised);
}

.tickets-page .field input:focus[b-tiohh5dm70],
.tickets-page .field select:focus[b-tiohh5dm70],
.tickets-page .field textarea:focus[b-tiohh5dm70] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-surface-strong);
    box-shadow: 0 0 0 4px var(--ui-accent-soft);
}

.tickets-page .new-ticket-actions[b-tiohh5dm70] {
    position: relative;
    z-index: 1;
    justify-content: flex-start;
    padding-top: 4px;
}

.tickets-page .tickets-primary[b-tiohh5dm70] {
    min-height: 44px;
    border-radius: var(--ui-r-pill);
    background:
        linear-gradient(
            135deg,
            var(--ui-accent),
            var(--ui-accent-strong)
        );
    color: var(--ui-on-accent);
    box-shadow: var(--ui-shadow-accent);
}

.tickets-page .tickets-secondary[b-tiohh5dm70] {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding-inline: 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--text-secondary);
    transition: var(--ui-t);
}

.tickets-page .tickets-secondary:hover[b-tiohh5dm70] {
    transform: translateY(-1px);
    border-color: var(--ui-accent-strong);
    background: var(--ui-surface-strong);
    color: var(--text);
}

.tickets-page .conversation-close-action[b-tiohh5dm70] {
    flex: 0 0 auto;
}

.tickets-page .conversation-close-action svg[b-tiohh5dm70] {
    width: 16px;
    height: 16px;
}

.tickets-page .conversation-close-action:hover[b-tiohh5dm70] {
    border-color: var(--ui-danger);
    background: var(--ui-danger-soft);
    color: var(--ui-danger);
}

/* ============================================================
   WORKSPACE
   ============================================================ */

.tickets-page .tickets-workspace[b-tiohh5dm70] {
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    align-items: stretch;
    gap: 18px;
}

.tickets-page .ticket-list-panel[b-tiohh5dm70],
.tickets-page .ticket-conversation-panel[b-tiohh5dm70] {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--ui-r-lg);
    background: var(--surface);
    box-shadow: var(--ui-shadow-sm);
    transition: box-shadow var(--ui-dur-2) var(--ui-ease);
}

.tickets-page .ticket-list-panel:hover[b-tiohh5dm70],
.tickets-page .ticket-conversation-panel:hover[b-tiohh5dm70] {
    box-shadow: var(--ui-shadow-md);
}

.tickets-page .panel-title[b-tiohh5dm70] {
    min-height: 92px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 18px 15px;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(
            180deg,
            var(--ui-surface-strong),
            var(--surface)
        );
}

.tickets-page .tickets-count-badge[b-tiohh5dm70] {
    flex: 0 0 auto;
    margin-top: 4px;
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--text-secondary);
    font-size: .58rem;
    font-weight: 750;
    white-space: nowrap;
}

/* ============================================================
   TICKET LIST
   ============================================================ */

.tickets-page .ticket-list[b-tiohh5dm70] {
    gap: 8px;
    padding: 10px;
}

.tickets-page .ticket-row[b-tiohh5dm70] {
    --row-ink: var(--ui-info);
    --row-tint: var(--ui-info-tint);
    position: relative;
    gap: 8px;
    padding: 14px 14px 13px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-sunken);
    transition: var(--ui-t);
}

.tickets-page .ticket-row[b-tiohh5dm70]::before {
    content: "";
    width: 4px;
    position: absolute;
    inset-block: 11px;
    inset-inline-start: 0;
    border-radius: 0 var(--ui-r-pill) var(--ui-r-pill) 0;
    background: var(--row-ink);
    opacity: .42;
    transition: var(--ui-t);
}

.tickets-page[dir="rtl"] .ticket-row[b-tiohh5dm70]::before {
    border-radius: var(--ui-r-pill) 0 0 var(--ui-r-pill);
}

.tickets-page .ticket-row:hover[b-tiohh5dm70] {
    transform: translateY(-2px);
    border-color: var(--row-ink);
    background:
        linear-gradient(
            90deg,
            var(--row-tint),
            transparent 48%
        ),
        var(--ui-surface-strong);
    box-shadow: var(--ui-shadow-md);
}

.tickets-page[dir="rtl"] .ticket-row:hover[b-tiohh5dm70] {
    background:
        linear-gradient(
            270deg,
            var(--row-tint),
            transparent 48%
        ),
        var(--ui-surface-strong);
}

.tickets-page .ticket-row:hover[b-tiohh5dm70]::before,
.tickets-page .ticket-row.is-active[b-tiohh5dm70]::before {
    opacity: 1;
}

.tickets-page .ticket-row.is-active[b-tiohh5dm70] {
    border-color: var(--ui-accent-strong);
    background:
        linear-gradient(
            145deg,
            var(--ui-accent-tint),
            var(--ui-surface-strong)
        );
    box-shadow:
        inset 0 0 0 1px var(--ui-accent-soft),
        var(--ui-shadow-sm);
}

.tickets-page .ticket-row.has-unread[b-tiohh5dm70] {
    box-shadow:
        inset 0 0 0 1px var(--ui-accent-soft),
        var(--ui-shadow-sm);
}

.tickets-page .ticket-row-top strong[b-tiohh5dm70] {
    color: var(--text);
    font-size: .78rem;
    font-weight: 800;
}

.tickets-page .ticket-row-meta[b-tiohh5dm70],
.tickets-page .ticket-row-foot[b-tiohh5dm70] {
    color: var(--muted);
    font-size: .58rem;
}

.tickets-page .ticket-row p[b-tiohh5dm70] {
    color: var(--text-secondary);
    font-size: .66rem;
    line-height: 1.7;
}

.tickets-page .unread-dot[b-tiohh5dm70] {
    width: 7px;
    height: 7px;
    flex-basis: 7px;
    background: var(--ui-accent-strong);
    box-shadow: 0 0 0 5px var(--ui-accent-soft);
    animation: ui-pulse 2.2s var(--ui-ease) infinite;
}

.tickets-page .status-pill[b-tiohh5dm70],
.tickets-page .priority-chip[b-tiohh5dm70] {
    border: 1px solid transparent;
    padding: 4px 8px;
    font-size: .55rem;
}

.tickets-page .status-pill.wait-support[b-tiohh5dm70] {
    color: var(--ui-warning);
    background: var(--ui-warning-soft);
}

.tickets-page .status-pill.wait-customer[b-tiohh5dm70] {
    color: var(--ui-info);
    background: var(--ui-info-soft);
}

.tickets-page .status-pill.resolved[b-tiohh5dm70] {
    color: var(--ui-success);
    background: var(--ui-success-soft);
}

.tickets-page .status-pill.closed[b-tiohh5dm70] {
    color: var(--muted);
    background: var(--ui-surface-raised);
}

.tickets-page .priority-chip.low[b-tiohh5dm70] {
    color: var(--ui-success);
    background: var(--ui-success-soft);
}

.tickets-page .priority-chip.normal[b-tiohh5dm70] {
    color: var(--text-secondary);
    background: var(--ui-surface-raised);
}

.tickets-page .priority-chip.high[b-tiohh5dm70] {
    color: var(--ui-warning);
    background: var(--ui-warning-soft);
}

.tickets-page .priority-chip.urgent[b-tiohh5dm70] {
    color: var(--ui-danger);
    background: var(--ui-danger-soft);
}

/* ============================================================
   CONVERSATION HEADER + EMPTY
   ============================================================ */

.tickets-page .ticket-conversation-panel[b-tiohh5dm70] {
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(
            180deg,
            var(--ui-surface-strong) 0,
            var(--surface) 118px
        );
}

.tickets-page .conversation-head[b-tiohh5dm70] {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 19px 21px;
    border-bottom: 1px solid var(--border);
    background: transparent;
}

.tickets-page .conversation-head-main[b-tiohh5dm70] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tickets-page .conversation-ticket-icon[b-tiohh5dm70] {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-accent);
    border-radius: var(--ui-r-sm);
    background: var(--ui-accent-soft);
    color: var(--accent-text);
    box-shadow: var(--ui-shadow-sm);
    transition: var(--ui-t);
}

.tickets-page .conversation-head:hover .conversation-ticket-icon[b-tiohh5dm70] {
    transform: translateY(-2px) rotate(-4deg);
}

.tickets-page .conversation-ticket-icon svg[b-tiohh5dm70] {
    width: 21px;
    height: 21px;
}

.tickets-page .conversation-head-copy[b-tiohh5dm70] {
    min-width: 0;
}

.tickets-page .conversation-number[b-tiohh5dm70] {
    margin-bottom: 4px;
    color: var(--accent-text);
    font-size: .59rem;
    font-weight: 900;
    letter-spacing: .05em;
}

.tickets-page .conversation-head h2[b-tiohh5dm70] {
    max-width: 720px;
    margin: 0 0 7px;
    overflow: hidden;
    color: var(--text);
    font-size: 1.03rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tickets-page .conversation-meta[b-tiohh5dm70] {
    gap: 6px;
}

.tickets-page .conversation-meta > span:first-child[b-tiohh5dm70] {
    padding: 4px 8px;
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--text-secondary);
    font-size: .56rem;
    font-weight: 700;
}

.tickets-page .ticket-empty[b-tiohh5dm70],
.tickets-page .conversation-empty[b-tiohh5dm70] {
    min-height: 320px;
    gap: 9px;
}

.tickets-page .conversation-empty[b-tiohh5dm70] {
    background:
        radial-gradient(
            55% 75% at 50% 45%,
            var(--ui-accent-tint),
            transparent 72%
        );
}

.tickets-page .empty-glyph[b-tiohh5dm70],
.tickets-page .conversation-icon[b-tiohh5dm70] {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 3px;
    border: 1px solid var(--border-accent);
    border-radius: var(--ui-r-md);
    background: var(--ui-accent-soft);
    color: var(--accent-text);
    box-shadow: var(--ui-shadow-sm);
    animation: ticket-empty-float-b-tiohh5dm70 3.2s var(--ui-ease) infinite;
}

.tickets-page .conversation-icon svg[b-tiohh5dm70] {
    width: 24px;
    height: 24px;
}

.tickets-page .ticket-empty strong[b-tiohh5dm70],
.tickets-page .conversation-empty strong[b-tiohh5dm70] {
    color: var(--text);
    font-size: .78rem;
}

.tickets-page .ticket-empty p[b-tiohh5dm70],
.tickets-page .conversation-empty p[b-tiohh5dm70] {
    color: var(--muted);
    font-size: .62rem;
    line-height: 1.75;
}

/* ============================================================
   SOCIAL CONVERSATION — premium refinement
   ============================================================ */

.tickets-page .social-conversation-stream[b-tiohh5dm70] {
    flex: 1;
    min-height: 390px;
    gap: 16px;
    padding: 24px 24px 26px;
    background:
        radial-gradient(
            45% 55% at 15% 0%,
            var(--ui-accent-tint),
            transparent 66%
        ),
        linear-gradient(
            180deg,
            var(--ui-surface-sunken),
            var(--surface) 22%
        );
    scrollbar-color: var(--ui-line-strong) transparent;
}

.tickets-page .social-chat-row[b-tiohh5dm70] {
    animation: ticket-message-in-b-tiohh5dm70 .42s var(--ui-ease-out) backwards;
}

.tickets-page .social-chat-row:nth-child(2)[b-tiohh5dm70] {
    animation-delay: .035s;
}

.tickets-page .social-chat-row:nth-child(3)[b-tiohh5dm70] {
    animation-delay: .07s;
}

.tickets-page .social-chat-row:nth-child(4)[b-tiohh5dm70] {
    animation-delay: .105s;
}

.tickets-page .social-chat-row:nth-child(5)[b-tiohh5dm70] {
    animation-delay: .14s;
}

.tickets-page .social-chat-row:nth-child(n+6)[b-tiohh5dm70] {
    animation-delay: .175s;
}

.tickets-page .social-avatar[b-tiohh5dm70] {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border: 2px solid var(--ui-surface-strong);
    background: var(--ui-surface-raised);
    box-shadow: var(--ui-shadow-sm);
    transition: var(--ui-t);
}

.tickets-page .social-chat-row:hover .social-avatar[b-tiohh5dm70] {
    transform: scale(1.06);
}

.tickets-page .social-chat-row.mine .social-avatar[b-tiohh5dm70] {
    border-color: var(--ui-surface-strong);
    background:
        linear-gradient(
            145deg,
            var(--ui-accent),
            var(--ui-accent-strong)
        );
    color: var(--ui-on-accent);
}

.tickets-page .social-author-line[b-tiohh5dm70] {
    gap: 7px;
    padding-inline: 6px;
}

.tickets-page .social-author-line strong[b-tiohh5dm70] {
    color: var(--text-secondary);
    font-size: .60rem;
    font-weight: 800;
}

.tickets-page .social-author-line span[b-tiohh5dm70] {
    color: var(--muted);
    font-size: .52rem;
    font-variant-numeric: tabular-nums;
}

.tickets-page .social-text-bubble[b-tiohh5dm70] {
    padding: 12px 15px;
    border: 1px solid var(--ui-line);
    border-radius: 20px 20px 20px 7px;
    background: var(--ui-surface-raised);
    box-shadow: var(--ui-shadow-sm);
    transition: var(--ui-t);
}

.tickets-page .social-chat-row.other:hover .social-text-bubble[b-tiohh5dm70] {
    border-color: var(--ui-line-strong);
    transform: translateY(-1px);
    box-shadow: var(--ui-shadow-md);
}

.tickets-page .social-chat-row.mine .social-text-bubble[b-tiohh5dm70] {
    border-color: var(--border-accent);
    border-radius: 20px 20px 7px 20px;
    background:
        linear-gradient(
            145deg,
            var(--ui-accent-soft),
            var(--ui-surface-strong)
        );
}

.tickets-page .social-chat-row.mine:hover .social-text-bubble[b-tiohh5dm70] {
    transform: translateY(-1px);
    box-shadow: var(--ui-shadow-md);
}

.tickets-page .social-text-bubble p[b-tiohh5dm70] {
    color: var(--text-secondary);
    font-size: .76rem;
    line-height: 1.9;
}

.tickets-page .social-media-bubble[b-tiohh5dm70],
.tickets-page .social-file-bubble[b-tiohh5dm70] {
    border-color: var(--ui-line);
    background: var(--ui-surface-raised);
    box-shadow: var(--ui-shadow-sm);
}

.tickets-page .social-media-bubble[b-tiohh5dm70] {
    border-radius: var(--ui-r-lg);
}

.tickets-page .social-image-link[b-tiohh5dm70] {
    background: var(--ui-surface-sunken);
}

.tickets-page .social-image-link img[b-tiohh5dm70] {
    transition:
        transform var(--ui-dur-3) var(--ui-ease-out),
        filter var(--ui-dur-2) var(--ui-ease);
}

.tickets-page .social-image-link:hover img[b-tiohh5dm70] {
    transform: scale(1.025);
    filter: saturate(1.035);
}

.tickets-page .social-media-caption[b-tiohh5dm70] {
    padding: 10px 12px 11px;
}

.tickets-page .social-download-link[b-tiohh5dm70],
.tickets-page .social-file-action[b-tiohh5dm70] {
    color: var(--accent-text);
}

.tickets-page .social-file-bubble[b-tiohh5dm70] {
    border-radius: var(--ui-r-md);
}

.tickets-page .social-file-bubble:hover[b-tiohh5dm70] {
    transform: translateY(-2px);
    border-color: var(--ui-accent-strong);
    box-shadow: var(--ui-shadow-md);
}

.tickets-page .social-file-icon[b-tiohh5dm70] {
    border: 1px solid var(--border-accent);
    border-radius: var(--ui-r-sm);
    background: var(--ui-accent-soft);
    color: var(--accent-text);
    transition: var(--ui-t);
}

.tickets-page .social-file-bubble:hover .social-file-icon[b-tiohh5dm70] {
    transform: rotate(-4deg) scale(1.05);
}

/* ============================================================
   COMPOSER
   ============================================================ */

.tickets-page .conversation-closed[b-tiohh5dm70] {
    padding: 10px 18px;
    border-top: 1px solid var(--ui-line);
    background: var(--ui-surface-sunken);
    color: var(--muted);
    font-size: .62rem;
}

.tickets-page .social-composer[b-tiohh5dm70] {
    gap: 8px;
    padding: 13px 15px 14px;
    border-top: 1px solid var(--ui-line);
    background:
        linear-gradient(
            180deg,
            var(--ui-surface-strong),
            var(--surface)
        );
}

.tickets-page .social-composer-input[b-tiohh5dm70] {
    padding: 7px;
    border: 1px solid var(--ui-line);
    border-radius: 22px;
    background: var(--ui-surface-raised);
    box-shadow: var(--ui-shadow-sm);
    transition: var(--ui-t);
}

.tickets-page .social-composer-input:focus-within[b-tiohh5dm70] {
    transform: translateY(-1px);
    border-color: var(--ui-accent-strong);
    background: var(--ui-surface-strong);
    box-shadow:
        0 0 0 4px var(--ui-accent-soft),
        var(--ui-shadow-md);
}

.tickets-page .social-composer textarea[b-tiohh5dm70] {
    color: var(--text);
    font-size: .76rem;
}

.tickets-page .social-attach-button[b-tiohh5dm70],
.tickets-page .social-send-button[b-tiohh5dm70] {
    min-height: 42px;
    border-radius: var(--ui-r-pill);
    font-size: .63rem;
    transition: var(--ui-t);
}

.tickets-page .social-attach-button[b-tiohh5dm70] {
    min-width: 104px;
    border-color: var(--ui-line);
    background: var(--ui-surface-sunken);
    color: var(--text-secondary);
}

.tickets-page .social-attach-button:hover[b-tiohh5dm70] {
    transform: translateY(-1px);
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
    color: var(--accent-text);
}

.tickets-page .social-send-button[b-tiohh5dm70] {
    min-width: 88px;
    background:
        linear-gradient(
            135deg,
            var(--ui-accent),
            var(--ui-accent-strong)
        );
    color: var(--ui-on-accent);
    box-shadow: var(--ui-shadow-accent);
}

.tickets-page .social-send-button:hover[b-tiohh5dm70] {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(226, 175, 46, .32);
}

.tickets-page .social-send-button svg[b-tiohh5dm70] {
    transition: transform var(--ui-dur-2) var(--ui-ease-spring);
}

.tickets-page .social-send-button:hover svg[b-tiohh5dm70] {
    transform: translateX(-2px) rotate(-4deg);
}

.tickets-page[dir="ltr"] .social-send-button:hover svg[b-tiohh5dm70] {
    transform: translateX(2px) rotate(4deg);
}

.tickets-page .social-composer-note[b-tiohh5dm70] {
    padding-inline: 9px;
    color: var(--muted);
    font-size: .55rem;
}

/* ============================================================
   ERROR
   ============================================================ */

.tickets-page .ticket-error[b-tiohh5dm70] {
    padding: 9px 11px;
    border: 1px solid var(--ui-danger-soft);
    border-radius: var(--ui-r-sm);
    background: var(--ui-danger-soft);
    color: var(--ui-danger);
    font-size: .64rem;
    font-weight: 750;
}

.tickets-page .social-composer-error[b-tiohh5dm70] {
    margin: 10px 18px 0;
}

/* ============================================================
   MOTION
   ============================================================ */

@keyframes ticket-create-in-b-tiohh5dm70 {
    0% {
        opacity: 0;
        transform: translateY(-12px) scale(.985);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: none;
        filter: blur(0);
    }
}

@keyframes ticket-message-in-b-tiohh5dm70 {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.985);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes ticket-empty-float-b-tiohh5dm70 {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.tickets-page > *[b-tiohh5dm70] {
    animation: ui-rise .5s var(--ui-ease-out) backwards;
}

.tickets-page > :nth-child(1)[b-tiohh5dm70] {
    animation-delay: .02s;
}

.tickets-page > :nth-child(2)[b-tiohh5dm70] {
    animation-delay: .08s;
}

.tickets-page > :nth-child(3)[b-tiohh5dm70] {
    animation-delay: .14s;
}

.tickets-page > :nth-child(4)[b-tiohh5dm70] {
    animation-delay: .20s;
}

.tickets-page > :nth-child(n+5)[b-tiohh5dm70] {
    animation-delay: .26s;
}

.tickets-kpi-grid > *[b-tiohh5dm70] {
    --card-in: .10s;
    animation:
        ui-card-in .62s var(--ui-ease-out) var(--card-in) backwards;
}

.tickets-kpi-grid > :nth-child(2)[b-tiohh5dm70] {
    --card-in: .16s;
}

.tickets-kpi-grid > :nth-child(3)[b-tiohh5dm70] {
    --card-in: .22s;
}

.tickets-kpi-grid > :nth-child(4)[b-tiohh5dm70] {
    --card-in: .28s;
}

.tickets-page .ticket-row[b-tiohh5dm70] {
    animation: ticket-message-in-b-tiohh5dm70 .4s var(--ui-ease-out) backwards;
}

.tickets-page .ticket-row:nth-child(2)[b-tiohh5dm70] {
    animation-delay: .035s;
}

.tickets-page .ticket-row:nth-child(3)[b-tiohh5dm70] {
    animation-delay: .07s;
}

.tickets-page .ticket-row:nth-child(4)[b-tiohh5dm70] {
    animation-delay: .105s;
}

.tickets-page .ticket-row:nth-child(5)[b-tiohh5dm70] {
    animation-delay: .14s;
}

.tickets-page .ticket-row:nth-child(n+6)[b-tiohh5dm70] {
    animation-delay: .175s;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1180px) {
    .tickets-kpi-grid[b-tiohh5dm70] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tickets-page .tickets-workspace[b-tiohh5dm70] {
        grid-template-columns: minmax(270px, 320px) minmax(0, 1fr);
    }
}

@media (max-width: 900px) {
    .tickets-page .tickets-workspace[b-tiohh5dm70] {
        grid-template-columns: 1fr;
    }

    .tickets-page .ticket-list-panel[b-tiohh5dm70] {
        max-height: 440px;
    }

    .tickets-page .ticket-conversation-panel[b-tiohh5dm70] {
        min-height: 610px;
    }
}

@media (max-width: 760px) {
    .tickets-page[b-tiohh5dm70] {
        gap: 16px;
    }

    .tickets-hero[b-tiohh5dm70] {
        min-height: 0;
        align-items: stretch;
        flex-direction: column;
        padding: 22px 20px;
    }

    .tickets-hero-actions[b-tiohh5dm70] {
        width: 100%;
    }

    .tickets-hero-primary[b-tiohh5dm70],
    .tickets-hero-secondary[b-tiohh5dm70] {
        flex: 1;
    }

    .tickets-page .conversation-head[b-tiohh5dm70] {
        align-items: flex-start;
        flex-direction: column;
    }

    .tickets-page .conversation-close-action[b-tiohh5dm70] {
        align-self: flex-end;
    }
}

@media (max-width: 650px) {
    .tickets-kpi-grid[b-tiohh5dm70] {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .tickets-kpi-card[b-tiohh5dm70] {
        min-height: 130px;
        padding: 14px;
    }

    .tickets-page .new-ticket-grid[b-tiohh5dm70] {
        grid-template-columns: 1fr;
    }

    .tickets-page .field-wide[b-tiohh5dm70] {
        grid-column: auto;
    }

    .tickets-page .social-conversation-stream[b-tiohh5dm70] {
        padding: 16px 12px 20px;
    }

    .tickets-page .social-composer-input[b-tiohh5dm70] {
        grid-template-columns: 1fr;
    }

    .tickets-page .social-composer-actions[b-tiohh5dm70] {
        justify-content: space-between;
    }

    .tickets-page .social-attach-button[b-tiohh5dm70],
    .tickets-page .social-send-button[b-tiohh5dm70] {
        flex: 1;
    }
}

@media (max-width: 520px) {
    .tickets-kpi-grid[b-tiohh5dm70],
    .tickets-hero-actions[b-tiohh5dm70] {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .tickets-hero-primary[b-tiohh5dm70],
    .tickets-hero-secondary[b-tiohh5dm70] {
        width: 100%;
    }

    .tickets-kpi-grid[b-tiohh5dm70] {
        grid-template-columns: 1fr;
    }

    .tickets-page .panel-title[b-tiohh5dm70] {
        align-items: flex-start;
    }

    .tickets-page .conversation-head-main[b-tiohh5dm70] {
        align-items: flex-start;
    }

    .tickets-page .conversation-ticket-icon[b-tiohh5dm70] {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .tickets-page .conversation-head h2[b-tiohh5dm70] {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tickets-page *[b-tiohh5dm70],
    .tickets-page *[b-tiohh5dm70]::before,
    .tickets-page *[b-tiohh5dm70]::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 520px) {

    .tickets-kpi-grid[b-tiohh5dm70] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .tickets-kpi-card[b-tiohh5dm70] {
        min-height: 0;
        padding: 13px;
    }

    .tickets-page .ticket-conversation-panel[b-tiohh5dm70] {
        min-height: 520px;
    }
}


/* rows never shrink to fit the scroller: overflow:hidden drops their
   automatic minimum height, and in a full list each one collapsed to
   its title with the status and preview cut off */
.tickets-page .ticket-row[b-tiohh5dm70] {
    flex-shrink: 0;
}

.tickets-page .conversation-back[b-tiohh5dm70] {
    display: none;
}


/* =========================================================
   PHONE: LIST, THEN CONVERSATION
   =========================================================
   Stacked, the conversation sat under the whole list - an
   empty "select a ticket" card the height of a screen, and
   after a tap the reply was somewhere below. On a phone the
   two take turns, the way a messaging app does: the list,
   and once a ticket is open, only that conversation with a
   way back.
   ========================================================= */

@media (max-width: 900px) {

    .tickets-page .tickets-workspace:not(.has-selection) .ticket-conversation-panel[b-tiohh5dm70] {
        display: none;
    }

    .tickets-page .tickets-workspace.has-selection .ticket-list-panel[b-tiohh5dm70] {
        display: none;
    }

    .tickets-page .ticket-list-panel[b-tiohh5dm70] {
        max-height: none;
    }

    .tickets-page .conversation-back[b-tiohh5dm70] {
        display: inline-flex;
        align-items: center;
        align-self: flex-start;
        gap: 4px;
        min-height: 34px;
        padding: 0 12px 0 8px;
        border: 1px solid var(--ui-line);
        border-radius: var(--ui-r-pill);
        background: var(--ui-surface-raised);
        color: var(--text-secondary);
        font-family: inherit;
        font-size: .7rem;
        font-weight: 800;
        cursor: pointer;
    }

        .tickets-page .conversation-back svg[b-tiohh5dm70] {
            width: 16px;
            height: 16px;
        }

    .tickets-page[dir="ltr"] .conversation-back svg[b-tiohh5dm70] {
        transform: scaleX(-1);
    }
}


/* The way to the feedback form, under the hero's line. */
.tickets-hero-feedback[b-tiohh5dm70] {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--ui-line-strong);
    background: var(--ui-surface-strong);
    color: var(--ui-ink);
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
}

.tickets-hero-feedback:hover[b-tiohh5dm70] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
}
/* _content/AITranslationPlatform.Web/Components/Tools/ToolArt.razor.rz.scp.css */
/* ============================================================
   THE LITTLE OBJECTS
   Each one is drawn at rest, and every moving part is a sum on
   --tl-t, which the card takes from 0 to 1 under the pointer
   (Tools.razor.css). There are no hover rules here and nothing
   jumps: leaving plays the same way back from where it got to.
   ============================================================ */

.tl-art[b-kcwrrmvt6t] {
    --t: var(--tl-t, 0);

    /* parts of the same time: the first half, the middle, the second half */
    --a: clamp(0, calc(var(--t) * 2), 1);
    --b: clamp(0, calc((var(--t) - .25) * 2), 1);
    --c: clamp(0, calc((var(--t) - .5) * 2), 1);

    /* the second half, passing its size a little and coming back */
    --pop: calc(var(--c) + sin(var(--c) * 3.1416) * .32);

    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    direction: ltr;
}

/* Only the parts that move: a part drawn turned has its centre in its attribute. */
.tl-art [class][b-kcwrrmvt6t] {
    transform-box: fill-box;
    transform-origin: center;
}

.to-badge[b-kcwrrmvt6t] {
    opacity: var(--c);
    transform: scale(var(--pop));
}

.to-shadow[b-kcwrrmvt6t] { transform: scaleX(calc(1 + var(--a) * .06)); }

/* ---------- a press, closing on the file ---------- */

.to-press[b-kcwrrmvt6t] { transform: translateY(calc(var(--a) * 17px)); }

.to-stack[b-kcwrrmvt6t] {
    transform-origin: 50% 100%;
    transform: scaleY(calc(1 - var(--a) * .293));
}

.to-handle[b-kcwrrmvt6t] { transform: scaleX(calc(1 - sin(var(--a) * 9.42) * .62)); }

/* ---------- pages, leaving the pile in their order ---------- */

.to-sheet-1[b-kcwrrmvt6t],
.to-sheet-2[b-kcwrrmvt6t],
.to-sheet-3[b-kcwrrmvt6t] { transform-origin: 50% 92%; }

.to-sheet-1[b-kcwrrmvt6t] { transform: translate(calc(var(--a) * -29px), calc(var(--a) * 5px)) rotate(calc(-3deg + var(--a) * -11deg)); }
.to-sheet-2[b-kcwrrmvt6t] { transform: translateY(calc(var(--b) * -7px)) rotate(calc(2deg + var(--b) * -2deg)); }
.to-sheet-3[b-kcwrrmvt6t] { transform: translate(calc(var(--a) * 29px), calc(var(--a) * 5px)) rotate(calc(5deg + var(--a) * 9deg)); }

.to-shadow-wide[b-kcwrrmvt6t] { transform: scaleX(calc(1 + var(--a) * .34)); }

/* ---------- photographs, coming out of the PDF ---------- */

.to-sheet-move[b-kcwrrmvt6t] { transform: translateX(calc(var(--a) * -12px)); }

.to-print-a[b-kcwrrmvt6t] { transform: translate(calc(-16px + var(--a) * 32px), calc(var(--a) * -9px)) rotate(calc(-7deg + var(--a) * 14deg)); }
.to-print-b[b-kcwrrmvt6t] { transform: translate(calc(-20px + var(--b) * 38px), calc(var(--b) * 12px)) rotate(calc(4deg + var(--b) * -9deg)); }

/* ---------- the same page turning over into Word ---------- */

.to-face-a[b-kcwrrmvt6t] { transform: scaleX(clamp(0, calc(1 - var(--t) * 2.2), 1)); }
.to-face-b[b-kcwrrmvt6t] { transform: scaleX(clamp(0, calc((var(--t) - .55) * 2.3), 1)); }

.to-caret[b-kcwrrmvt6t] {
    animation: to-blink-b-kcwrrmvt6t 1s steps(2) infinite;
    animation-play-state: var(--tl-play, paused);
}

@keyframes to-blink-b-kcwrrmvt6t {
    50% { opacity: 0; }
}

/* ---------- a print, and the label on it changing ---------- */

.to-photo-back[b-kcwrrmvt6t] { transform: rotate(calc(6deg + var(--a) * 7deg)) translate(calc(var(--a) * 5px), calc(var(--a) * 2px)); }
.to-photo-front[b-kcwrrmvt6t] { transform: rotate(calc(-5deg + var(--a) * 4deg)); }

.to-tag-a[b-kcwrrmvt6t] { transform: scaleY(clamp(0, calc(1 - var(--t) * 2.2), 1)); }
.to-tag-b[b-kcwrrmvt6t] { transform: scaleY(clamp(0, calc((var(--t) - .55) * 2.3), 1)); }

/* ---------- the background wiped off, the plant left standing ---------- */

.to-backdrop[b-kcwrrmvt6t] {
    transform-origin: 0 50%;
    transform: scaleX(calc(1 - var(--t)));
}

.to-wipe[b-kcwrrmvt6t] {
    transform: translateX(calc(var(--t) * -92px));
    opacity: clamp(0, min(calc(var(--t) * 9), calc((1 - var(--t)) * 9)), 1);
    filter: drop-shadow(0 0 3px #fff);
}

.to-plant[b-kcwrrmvt6t] {
    transform-origin: 50% 100%;
    transform: scale(calc(1 + var(--c) * .05));
}

/* ---------- a beam going down a page, and the words it has read ---------- */

.to-beam[b-kcwrrmvt6t] {
    transform: translateY(calc(var(--t) * 86px));
    opacity: clamp(0, min(calc(var(--t) * 9), calc((1 - var(--t)) * 6)), 1);
}

.to-read[b-kcwrrmvt6t] { opacity: clamp(0, calc((var(--t) - var(--d)) * 9), 1); }

/* ---------- a long page down to its three lines ---------- */

.to-shrink[b-kcwrrmvt6t] {
    transform-origin: 50% 100%;
    transform: scaleY(calc(1 - var(--c) * .36));
}

.to-goes[b-kcwrrmvt6t] { opacity: clamp(0, calc(1 - (var(--t) - var(--d)) * 6), 1); }

.to-keep[b-kcwrrmvt6t] { transform: translateY(calc(var(--c) * var(--y))); }

.to-mark[b-kcwrrmvt6t] {
    transform-origin: 0 50%;
    transform: scaleX(var(--b));
}

/* ---------- a pencil going along the word ---------- */

.to-pencil[b-kcwrrmvt6t] { transform: translate(calc(var(--b) * -52px), calc(sin(var(--t) * 24) * 1.5px)); }

.to-wrong[b-kcwrrmvt6t] { opacity: clamp(0, calc(1 - (var(--t) - .3) * 3), 1); }

.to-right[b-kcwrrmvt6t] {
    stroke-dasharray: 1;
    stroke-dashoffset: calc(1 - var(--b));
}

/* ---------- a cassette, playing ---------- */

.to-cassette[b-kcwrrmvt6t] { transform: translateY(calc(var(--a) * -3px)) rotate(calc(-2deg + var(--a) * 2deg)); }

.to-reel[b-kcwrrmvt6t] {
    animation: to-turn-b-kcwrrmvt6t 2.4s linear infinite;
    animation-play-state: var(--tl-play, paused);
}

@keyframes to-turn-b-kcwrrmvt6t {
    to { transform: rotate(360deg); }
}

.to-note[b-kcwrrmvt6t] {
    opacity: 0;
    animation: to-rise-b-kcwrrmvt6t 2.2s ease-out infinite;
    animation-delay: var(--d);
    animation-play-state: var(--tl-play, paused);
}

@keyframes to-rise-b-kcwrrmvt6t {
    0% { opacity: 0; transform: translateY(14px) rotate(-8deg); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-12px) rotate(10deg); }
}

/* ---------- a microphone, the noise turning into a voice ---------- */

.to-noisy[b-kcwrrmvt6t] { opacity: calc(1 - var(--a)); }

.to-clean[b-kcwrrmvt6t] {
    stroke-dasharray: 1;
    stroke-dashoffset: calc(1 - var(--b));
}

.to-led[b-kcwrrmvt6t] {
    opacity: calc(.3 + var(--c) * .7);
    filter: drop-shadow(0 0 calc(var(--c) * 3px) #56cd8e);
}

/* ---------- a lens going over a small picture ---------- */

.to-lens[b-kcwrrmvt6t] { transform: translate(calc(var(--a) * -18px), calc(var(--a) * -9px)); }

/* ---------- the folder files come out of ---------- */

.to-out-a[b-kcwrrmvt6t] { transform: translate(calc(var(--a) * -9px), calc(26px + var(--a) * -18px)) rotate(calc(-5deg + var(--a) * -7deg)); }
.to-out-b[b-kcwrrmvt6t] { transform: translate(calc(var(--b) * 8px), calc(26px + var(--b) * -24px)) rotate(calc(5deg + var(--b) * 7deg)); }
.to-out-c[b-kcwrrmvt6t] { transform: translateY(calc(30px + var(--c) * -24px)) rotate(calc(1deg + var(--c) * -1deg)); }

@media (prefers-reduced-motion: reduce) {
    .to-caret[b-kcwrrmvt6t],
    .to-reel[b-kcwrrmvt6t],
    .to-note[b-kcwrrmvt6t] {
        animation: none;
    }
}
/* _content/AITranslationPlatform.Web/Components/Tools/Tools.razor.rz.scp.css */
/* ============================================================
   TOOLS - the hub of tiles and the bench of one tool.
   Only --ui-* tokens and a tone for each kind of tool: light and
   dark come from app.css.
   ============================================================ */

.tl-page[b-xyepw1ai8t] {
    --tl-tone: #8a6d3b;
    position: relative;
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    color: var(--ui-ink);
}

/* The clock of the little objects (ToolArt.razor.css): 0 at rest, 1 when the work
   is done. One number that eases, so going away plays the same thing backwards. */
@property --tl-t {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

[data-category="pdf"][b-xyepw1ai8t] { --tl-tone: #b4513c; }
[data-category="image"][b-xyepw1ai8t] { --tl-tone: #2f7d86; }
[data-category="text"][b-xyepw1ai8t] { --tl-tone: #6a56a8; }
[data-category="audio"][b-xyepw1ai8t] { --tl-tone: #b07a1b; }

:root[data-theme="dark"] [data-category="pdf"][b-xyepw1ai8t] { --tl-tone: #e8907a; }
:root[data-theme="dark"] [data-category="image"][b-xyepw1ai8t] { --tl-tone: #6fc3cc; }
:root[data-theme="dark"] [data-category="text"][b-xyepw1ai8t] { --tl-tone: #b3a2ea; }
:root[data-theme="dark"] [data-category="audio"][b-xyepw1ai8t] { --tl-tone: #eab960; }

.tl-sr[b-xyepw1ai8t] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.tl-muted[b-xyepw1ai8t] { color: var(--ui-muted); }

bdi[b-xyepw1ai8t] { unicode-bidi: isolate; }


/* ============================================================
   HERO - the same as the other app pages', with the drop zone
   ============================================================ */

.tl-hero[b-xyepw1ai8t] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr);
    align-items: stretch;
    gap: 32px;
    padding: 34px 36px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xl);
    background:
        radial-gradient(120% 150% at 92% -20%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(90% 120% at 4% 120%, var(--ui-bloom-cool), transparent 55%),
        linear-gradient(225deg, var(--ui-surface-strong), var(--ui-surface));
    box-shadow: var(--ui-shadow-md);
}

.tl-page[dir="ltr"] .tl-hero[b-xyepw1ai8t] {
    background:
        radial-gradient(120% 150% at 8% -20%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(90% 120% at 96% 120%, var(--ui-bloom-cool), transparent 55%),
        linear-gradient(135deg, var(--ui-surface-strong), var(--ui-surface));
}

.tl-hero[b-xyepw1ai8t]::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    inset-block-end: -108px;
    inset-inline-start: 36%;
    border: 30px solid var(--ui-line-strong);
    border-radius: 50%;
    animation: ui-hero-ring 1.1s var(--ui-ease-out) .18s backwards;
    pointer-events: none;
}

.tl-hero-copy[b-xyepw1ai8t] {
    position: relative;
    z-index: 1;
    min-width: 0;
    align-self: center;
}

.tl-eyebrow[b-xyepw1ai8t] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    padding: 6px 13px;
    border: 1px solid rgba(226, 175, 46, .34);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--accent-text);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    animation: ui-rise .55s var(--ui-ease-out) .12s backwards;
}

.tl-page[dir="rtl"] .tl-eyebrow[b-xyepw1ai8t] { letter-spacing: 0; }

.tl-eyebrow i[b-xyepw1ai8t] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ui-accent-strong);
    box-shadow: 0 0 0 3px var(--ui-accent-tint);
}

.tl-hero h1[b-xyepw1ai8t] {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    font-weight: 800;
    line-height: 1.3;
    animation: ui-rise .6s var(--ui-ease-out) .18s backwards;
}

.tl-hero p[b-xyepw1ai8t] {
    max-width: 560px;
    margin: 0;
    color: var(--ui-muted);
    font-size: .95rem;
    line-height: 1.9;
    animation: ui-rise .6s var(--ui-ease-out) .24s backwards;
}

.tl-facts[b-xyepw1ai8t] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    animation: ui-rise .6s var(--ui-ease-out) .3s backwards;
}

.tl-facts li[b-xyepw1ai8t] {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.tl-facts b[b-xyepw1ai8t] {
    font-size: 1.35rem;
    font-weight: 800;
}

.tl-facts span[b-xyepw1ai8t] {
    color: var(--ui-muted);
    font-size: .8rem;
}


/* ============================================================
   DROP ZONES
   ============================================================ */

.tl-drop[b-xyepw1ai8t] {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 6px;
    width: 100%;
    min-height: 240px;
    padding: 28px 22px;
    overflow: hidden;
    border: 2px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-raised);
    color: inherit;
    font: inherit;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--ui-dur-2) var(--ui-ease), background var(--ui-dur-2) var(--ui-ease), transform var(--ui-dur-2) var(--ui-ease);
}

.tl-drop:hover[b-xyepw1ai8t],
.tl-drop:focus-visible[b-xyepw1ai8t] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
    outline: none;
    transform: translateY(-2px);
}

.tl-drop.is-hero[b-xyepw1ai8t] {
    z-index: 1;
    min-height: 196px;
    animation: ui-rise .6s var(--ui-ease-out) .3s backwards;
}

.tl-drop-icon[b-xyepw1ai8t] {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: var(--ui-accent);
    color: var(--ui-on-accent);
    box-shadow: var(--ui-shadow-accent);
    transition: transform var(--ui-dur-2) var(--ui-ease-spring);
}

.tl-drop:hover .tl-drop-icon[b-xyepw1ai8t] {
    transform: translateY(-3px) scale(1.06);
}

.tl-drop-icon svg[b-xyepw1ai8t] { width: 27px; height: 27px; }

.tl-drop strong[b-xyepw1ai8t] {
    position: relative;
    z-index: 1;
    font-size: 1.02rem;
    font-weight: 800;
}

.tl-drop small[b-xyepw1ai8t] {
    position: relative;
    z-index: 1;
    color: var(--ui-muted);
    font-size: .8rem;
}

.tl-drop-folder[b-xyepw1ai8t] {
    position: relative;
    z-index: 1;
    width: 132px;
    height: 124px;
    margin-bottom: 2px;
    transition: --tl-t .9s ease-in-out, transform .4s var(--ui-ease-out);
}

.tl-drop:hover .tl-drop-folder[b-xyepw1ai8t],
.tl-drop:focus-visible .tl-drop-folder[b-xyepw1ai8t],
.tl-page.is-dragging .tl-drop-folder[b-xyepw1ai8t] {
    --tl-t: 1;
    transform: translateY(-3px) scale(1.04);
}

.tl-drop-types[b-xyepw1ai8t] {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    color: var(--ui-faint);
    font-size: .74rem;
}

.tl-drop-rings[b-xyepw1ai8t] {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.tl-drop-rings i[b-xyepw1ai8t] {
    grid-area: 1 / 1;
    width: 92px;
    height: 92px;
    margin-bottom: 62px;
    border: 1px solid var(--ui-accent-strong);
    border-radius: 50%;
    opacity: 0;
    animation: tl-ring-b-xyepw1ai8t 3.4s var(--ui-ease-out) infinite;
}

.tl-drop-rings i:nth-child(2)[b-xyepw1ai8t] { animation-delay: 1.7s; }

@keyframes tl-ring-b-xyepw1ai8t {
    0% { transform: scale(.7); opacity: .7; }
    70%, 100% { transform: scale(2); opacity: 0; }
}

/* the whole page takes a file while one is being dragged over it */
.tl-veil[b-xyepw1ai8t] {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(28, 23, 16, .42);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--ui-dur-2) var(--ui-ease), visibility var(--ui-dur-2);
    pointer-events: none;
}

.tl-page.is-dragging .tl-veil[b-xyepw1ai8t] {
    opacity: 1;
    visibility: visible;
}

.tl-veil-box[b-xyepw1ai8t] {
    display: grid;
    justify-items: center;
    gap: 12px;
    width: min(460px, 100%);
    padding: 46px 28px;
    border: 3px dashed var(--ui-accent-strong);
    border-radius: var(--ui-r-xl);
    background: var(--ui-surface-strong);
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: var(--ui-shadow-lg);
}

.tl-veil-icon[b-xyepw1ai8t] {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: var(--ui-accent);
    color: var(--ui-on-accent);
}

.tl-veil-icon svg[b-xyepw1ai8t] { width: 30px; height: 30px; }


/* ============================================================
   UPLOADS AND WHAT THE HUB SUGGESTS
   ============================================================ */

.tl-uploads[b-xyepw1ai8t] {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 14px 18px;
    list-style: none;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface);
}

.tl-uploads li[b-xyepw1ai8t] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(90px, 2fr) auto;
    align-items: center;
    gap: 12px;
    font-size: .84rem;
}

.tl-upload-name[b-xyepw1ai8t] {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tl-upload-bar[b-xyepw1ai8t] {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--ui-surface-sunken);
}

.tl-upload-bar i[b-xyepw1ai8t] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--ui-accent-strong);
    transition: width .25s linear;
}

.tl-upload-state[b-xyepw1ai8t] {
    color: var(--ui-muted);
    font-size: .76rem;
}

.tl-suggest[b-xyepw1ai8t] {
    padding: 18px 20px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-strong);
    box-shadow: var(--ui-shadow-sm);
    animation: ui-rise .4s var(--ui-ease-out) backwards;
}

.tl-suggest-head[b-xyepw1ai8t] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-bottom: 14px;
}

.tl-suggest-head strong[b-xyepw1ai8t] { font-weight: 800; }

.tl-suggest-head span[b-xyepw1ai8t] {
    min-width: 0;
    overflow: hidden;
    color: var(--ui-muted);
    font-size: .84rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tl-suggest-head .tl-link[b-xyepw1ai8t] { margin-inline-start: auto; }

.tl-suggest-list[b-xyepw1ai8t] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.tl-suggest-item[b-xyepw1ai8t] {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface);
    color: inherit;
    text-decoration: none;
    transition: border-color var(--ui-dur-2) var(--ui-ease), transform var(--ui-dur-2) var(--ui-ease);
}

.tl-suggest-item:hover[b-xyepw1ai8t] {
    border-color: var(--tl-tone);
    transform: translateY(-2px);
}

.tl-suggest-item > span:last-child[b-xyepw1ai8t] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.tl-suggest-item strong[b-xyepw1ai8t] { font-size: .86rem; font-weight: 700; }
.tl-suggest-item small[b-xyepw1ai8t] { color: var(--ui-muted); font-size: .74rem; }

.tl-suggest-art[b-xyepw1ai8t] {
    flex: none;
    width: 50px;
    height: 50px;
}

.tl-suggest-item:hover[b-xyepw1ai8t] {
    --tl-t: 1;
    --tl-play: running;
}


/* ============================================================
   FILTER
   ============================================================ */

.tl-filter[b-xyepw1ai8t] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.tl-search[b-xyepw1ai8t] {
    flex: 1 1 280px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-strong);
    color: var(--ui-muted);
    transition: border-color var(--ui-dur-2) var(--ui-ease), box-shadow var(--ui-dur-2) var(--ui-ease);
}

.tl-search:focus-within[b-xyepw1ai8t] {
    border-color: var(--ui-accent-strong);
    box-shadow: 0 0 0 4px var(--ui-accent-tint);
}

.tl-search svg[b-xyepw1ai8t] { flex: none; width: 19px; height: 19px; }

.tl-search input[b-xyepw1ai8t] {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    color: var(--ui-ink);
    font: inherit;
    font-size: .92rem;
    outline: none;
}

.tl-chips[b-xyepw1ai8t] {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tl-chip[b-xyepw1ai8t] {
    padding: 9px 16px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface);
    color: var(--ui-muted);
    font: inherit;
    font-size: .83rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--ui-dur-2) var(--ui-ease), color var(--ui-dur-2) var(--ui-ease), border-color var(--ui-dur-2) var(--ui-ease);
}

.tl-chip:hover[b-xyepw1ai8t] { color: var(--ui-ink); border-color: var(--ui-line-strong); }

.tl-chip.is-on[b-xyepw1ai8t] {
    border-color: transparent;
    background: var(--ui-dark);
    color: var(--ui-on-dark);
}


/* ============================================================
   THE TILES
   ============================================================ */

.tl-grid[b-xyepw1ai8t] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.tl-grid.is-bento[b-xyepw1ai8t] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tl-card[b-xyepw1ai8t] {
    --tl-rx: 0deg;
    --tl-ry: 0deg;
    --tl-up: 0px;
    --tl-move: transform .5s var(--ui-ease-out), box-shadow var(--ui-dur-2) var(--ui-ease), border-color var(--ui-dur-2) var(--ui-ease);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 13px;
    min-width: 0;
    min-height: 208px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface);
    color: inherit;
    text-decoration: none;
    transform: perspective(1100px) rotateX(var(--tl-rx)) rotateY(var(--tl-ry)) translateY(var(--tl-up));
    transition: var(--tl-move), --tl-t .6s ease-in-out;
    animation: ui-card-in .5s var(--ui-ease-out) backwards;
}

/* the light that follows the pointer */
.tl-card[b-xyepw1ai8t]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(250px circle at var(--tl-mx, 50%) var(--tl-my, 30%), color-mix(in srgb, var(--tl-tone) 17%, transparent), transparent 72%);
    opacity: 0;
    transition: opacity .3s var(--ui-ease);
    pointer-events: none;
}

/* the edge lighting up on the side of the pointer */
.tl-card-edge[b-xyepw1ai8t] {
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 1.5px;
    border-radius: inherit;
    background: radial-gradient(230px circle at var(--tl-mx, 50%) var(--tl-my, 0%), var(--tl-tone), transparent 74%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: 0;
    transition: opacity .3s var(--ui-ease);
    pointer-events: none;
}

.tl-card:hover[b-xyepw1ai8t],
.tl-card:focus-visible[b-xyepw1ai8t],
.tl-card.is-awake[b-xyepw1ai8t] {
    --tl-t: 1;
    --tl-play: running;
    transition: var(--tl-move), --tl-t 1.2s ease-in-out;
}

.tl-card:hover[b-xyepw1ai8t],
.tl-card:focus-visible[b-xyepw1ai8t] {
    --tl-up: -6px;
    border-color: transparent;
    box-shadow: 0 30px 52px -30px color-mix(in srgb, var(--tl-tone) 62%, transparent), var(--ui-shadow-lg);
    outline: none;
}

.tl-card.is-leaning[b-xyepw1ai8t] {
    --tl-move: transform .14s ease-out, box-shadow var(--ui-dur-2) var(--ui-ease), border-color var(--ui-dur-2) var(--ui-ease);
}

.tl-card:hover[b-xyepw1ai8t]::before,
.tl-card:focus-visible[b-xyepw1ai8t]::before,
.tl-card:hover .tl-card-edge[b-xyepw1ai8t],
.tl-card:focus-visible .tl-card-edge[b-xyepw1ai8t],
.tl-card.is-awake .tl-card-edge[b-xyepw1ai8t] { opacity: 1; }

.tl-card.is-off[b-xyepw1ai8t] {
    opacity: .6;
    cursor: default;
    pointer-events: none;
}

/* a lit shelf the object stands on */
.tl-stage[b-xyepw1ai8t] {
    position: relative;
    flex: none;
    display: grid;
    place-items: center;
    height: 164px;
    margin: -20px -20px 0;
    overflow: hidden;
    border-block-end: 1px solid color-mix(in srgb, var(--tl-tone) 13%, transparent);
    background:
        radial-gradient(58% 26% at 50% 91%, color-mix(in srgb, var(--tl-tone) 24%, transparent), transparent 100%),
        linear-gradient(180deg, color-mix(in srgb, var(--tl-tone) 15%, var(--ui-surface-strong, #fff)), color-mix(in srgb, var(--tl-tone) 5%, var(--ui-surface-strong, #fff)));
}

.tl-stage[b-xyepw1ai8t]::before {
    content: "";
    position: absolute;
    top: -22%;
    left: 50%;
    width: 84%;
    height: 132%;
    background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 80%);
    clip-path: polygon(34% 0, 66% 0, 100% 100%, 0 100%);
    filter: blur(8px);
    opacity: calc(.42 + var(--tl-t) * .58);
    transform: translateX(-50%);
}

:root[data-theme="dark"] .tl-stage[b-xyepw1ai8t]::before {
    background: linear-gradient(180deg, color-mix(in srgb, var(--tl-tone) 42%, transparent), transparent 80%);
}

.tl-card-art[b-xyepw1ai8t] {
    position: relative;
    z-index: 1;
    width: 138px;
    height: 138px;
    transform:
        translate(calc(var(--tl-nx, 0) * 10px), calc(var(--tl-ny, 0) * 6px - var(--tl-t) * 4px))
        scale(calc(1 + var(--tl-t) * .07));
    transition: transform .22s ease-out;
}

.tl-card-copy[b-xyepw1ai8t] {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 5px;
    transform: translate(calc(var(--tl-nx, 0) * 3px), calc(var(--tl-ny, 0) * 2px));
    transition: transform .22s ease-out;
}

.tl-card-copy strong[b-xyepw1ai8t] {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.45;
}

.tl-card-copy small[b-xyepw1ai8t] {
    color: var(--ui-muted);
    font-size: .8rem;
    line-height: 1.7;
}

.tl-card-foot[b-xyepw1ai8t] {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

.tl-card-go[b-xyepw1ai8t] {
    display: grid;
    place-items: center;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ui-surface-raised);
    color: var(--tl-tone);
    transition: background var(--ui-dur-2) var(--ui-ease), color var(--ui-dur-2) var(--ui-ease), transform var(--ui-dur-2) var(--ui-ease-spring);
}

.tl-card-go svg[b-xyepw1ai8t] { width: 16px; height: 16px; }

.tl-page[dir="rtl"] .tl-card-go svg[b-xyepw1ai8t] { transform: scaleX(-1); }

.tl-card:hover .tl-card-go[b-xyepw1ai8t] {
    background: var(--tl-tone);
    color: #fff;
    transform: translateX(3px);
}

.tl-page[dir="rtl"] .tl-card:hover .tl-card-go[b-xyepw1ai8t] { transform: translateX(-3px); }

:root[data-theme="dark"] .tl-card:hover .tl-card-go[b-xyepw1ai8t] { color: #1c1710; }

.tl-tag[b-xyepw1ai8t] {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-sunken);
    color: var(--ui-muted);
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

.tl-tag.is-free[b-xyepw1ai8t] {
    background: var(--ui-success-tint);
    color: var(--ui-success);
}

.tl-tag.is-paid[b-xyepw1ai8t] {
    background: var(--ui-accent-tint);
    color: var(--accent-text);
}

.tl-tag.is-spent[b-xyepw1ai8t] {
    background: var(--ui-danger-tint);
    color: var(--ui-danger);
}

/* twelve tiles and the large one leave a gap in four columns and in two */
.tl-grid.is-bento .tl-card:last-child[b-xyepw1ai8t] {
    grid-column: span 2;
}

.tl-grid.is-bento .tl-card.is-featured[b-xyepw1ai8t] {
    grid-column: span 2;
    grid-row: span 2;
    color: #fff;
    border-color: transparent;
    background: #1d1a26;
}

.tl-card.is-featured[b-xyepw1ai8t]::before {
    z-index: 1;
    background: linear-gradient(to top, rgba(18, 14, 24, .86), rgba(18, 14, 24, .28) 46%, transparent 72%) !important;
    opacity: 1;
}

.tl-card.is-featured .tl-card-copy[b-xyepw1ai8t] {
    z-index: 2;
    margin-top: auto;
}

.tl-card.is-featured .tl-card-copy strong[b-xyepw1ai8t] { font-size: 1.45rem; }
.tl-card.is-featured .tl-card-copy small[b-xyepw1ai8t] { color: rgba(255, 255, 255, .82); font-size: .9rem; }
.tl-card.is-featured .tl-card-foot[b-xyepw1ai8t] { z-index: 2; margin-top: 0; }
.tl-card.is-featured .tl-card-go[b-xyepw1ai8t] { background: rgba(255, 255, 255, .16); color: #fff; }

.tl-card.is-featured .tl-tag.is-paid[b-xyepw1ai8t] {
    background: var(--ui-accent);
    color: var(--ui-on-accent);
}

/* a small picture growing sharp under a line that keeps moving */
.tl-show[b-xyepw1ai8t] {
    position: absolute;
    inset: 0;
    overflow: hidden;
    --tl-split: 58%;
    animation: tl-sweep-b-xyepw1ai8t 7s ease-in-out infinite;
    transition: --tl-split .16s ease-out;
}

.tl-card.is-leaning .tl-show[b-xyepw1ai8t] {
    --tl-split: var(--tl-at, 58%);
    animation: none;
}

.tl-show img[b-xyepw1ai8t] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ui-ease-out);
}

.tl-card:hover .tl-show img[b-xyepw1ai8t] { transform: scale(1.04); }

.tl-show-low[b-xyepw1ai8t] { image-rendering: pixelated; }

.tl-show-high[b-xyepw1ai8t] { clip-path: inset(0 0 0 var(--tl-split)); }

.tl-show-line[b-xyepw1ai8t] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--tl-split);
    width: 2px;
    background: #fff;
    box-shadow: 0 0 16px rgba(255, 255, 255, .8);
}

.tl-show-line b[b-xyepw1ai8t] {
    position: absolute;
    top: 38%;
    left: 1px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 22px rgba(20, 14, 28, .35);
    color: #2a2430;
    transform: translate(-50%, -50%) scale(calc(.82 + var(--tl-t) * .18));
}

.tl-show-line svg[b-xyepw1ai8t] { width: 22px; height: 22px; }

.tl-show-tag[b-xyepw1ai8t] {
    position: absolute;
    top: 14px;
    padding: 4px 11px;
    border-radius: var(--ui-r-pill);
    background: rgba(20, 14, 28, .55);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
}

.tl-show-tag.is-before[b-xyepw1ai8t] { left: 14px; }

.tl-show-tag.is-after[b-xyepw1ai8t] { right: 14px; }

@property --tl-split {
    syntax: "<percentage>";
    inherits: true;
    initial-value: 58%;
}

@keyframes tl-sweep-b-xyepw1ai8t {
    0%, 100% { --tl-split: 72%; }
    50% { --tl-split: 26%; }
}


/* ============================================================
   RECENT WORK
   ============================================================ */

.tl-section-head[b-xyepw1ai8t] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    margin-bottom: 12px;
}

.tl-section-head h2[b-xyepw1ai8t] {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
}

.tl-section-head span[b-xyepw1ai8t] {
    color: var(--ui-muted);
    font-size: .78rem;
}

.tl-recent[b-xyepw1ai8t] {
    padding: 20px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface);
}

.tl-recent ul[b-xyepw1ai8t] {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tl-recent li[b-xyepw1ai8t] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: var(--ui-r-sm);
    transition: background var(--ui-dur-2) var(--ui-ease);
}

.tl-recent li:hover[b-xyepw1ai8t] { background: var(--ui-surface-hover); }

.tl-recent-art[b-xyepw1ai8t] {
    flex: none;
    width: 42px;
    height: 42px;
}

.tl-recent-main[b-xyepw1ai8t] {
    flex: 1;
    display: grid;
    gap: 2px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: start;
    cursor: pointer;
}

.tl-recent-main:disabled[b-xyepw1ai8t] { cursor: default; }

.tl-recent-main strong[b-xyepw1ai8t] {
    overflow: hidden;
    font-size: .88rem;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tl-recent-main small[b-xyepw1ai8t] {
    color: var(--ui-muted);
    font-size: .74rem;
}

.tl-status[b-xyepw1ai8t] {
    flex: none;
    padding: 4px 9px;
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-sunken);
    color: var(--ui-muted);
    font-size: .7rem;
    font-weight: 700;
}

.tl-status.is-done[b-xyepw1ai8t] { background: var(--ui-success-tint); color: var(--ui-success); }
.tl-status.is-failed[b-xyepw1ai8t] { background: var(--ui-danger-tint); color: var(--ui-danger); }
.tl-status.is-working[b-xyepw1ai8t] { background: var(--ui-accent-tint); color: var(--accent-text); }

.tl-icon-button[b-xyepw1ai8t] {
    display: grid;
    place-items: center;
    flex: none;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--ui-line);
    border-radius: 50%;
    background: var(--ui-surface-raised);
    color: var(--ui-muted);
    cursor: pointer;
    transition: color var(--ui-dur-2) var(--ui-ease), border-color var(--ui-dur-2) var(--ui-ease), background var(--ui-dur-2) var(--ui-ease);
}

.tl-icon-button:hover:not(:disabled)[b-xyepw1ai8t] {
    border-color: var(--ui-line-strong);
    background: var(--ui-surface-hover);
    color: var(--ui-ink);
}

.tl-icon-button:disabled[b-xyepw1ai8t] { opacity: .35; cursor: default; }

.tl-icon-button svg[b-xyepw1ai8t] { width: 16px; height: 16px; }

.tl-empty[b-xyepw1ai8t] {
    grid-column: 1 / -1;
    padding: 34px;
    border: 1px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-lg);
    color: var(--ui-muted);
    text-align: center;
}


/* ============================================================
   THE BENCH
   ============================================================ */

.tl-bench[b-xyepw1ai8t] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.tl-crumbs[b-xyepw1ai8t] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ui-muted);
    font-size: .8rem;
}

.tl-crumbs a[b-xyepw1ai8t] {
    color: inherit;
    text-decoration: none;
}

.tl-crumbs a:hover[b-xyepw1ai8t] { color: var(--ui-ink); }

.tl-head[b-xyepw1ai8t] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background:
        radial-gradient(90% 180% at 100% 0, color-mix(in srgb, var(--tl-tone) 12%, transparent), transparent 60%),
        var(--ui-surface-strong);
    box-shadow: var(--ui-shadow-sm);
}

.tl-page[dir="rtl"] .tl-head[b-xyepw1ai8t] {
    background:
        radial-gradient(90% 180% at 0 0, color-mix(in srgb, var(--tl-tone) 12%, transparent), transparent 60%),
        var(--ui-surface-strong);
}

.tl-head-art[b-xyepw1ai8t] {
    flex: none;
    width: 74px;
    height: 74px;
    transition: --tl-t .7s ease-in-out;
}

.tl-head-art:hover[b-xyepw1ai8t] {
    --tl-t: 1;
    --tl-play: running;
}

.tl-head > div[b-xyepw1ai8t] {
    flex: 1;
    min-width: 0;
}

.tl-head h1[b-xyepw1ai8t] {
    margin: 0 0 3px;
    font-size: 1.32rem;
    font-weight: 800;
}

.tl-head p[b-xyepw1ai8t] {
    margin: 0;
    color: var(--ui-muted);
    font-size: .88rem;
}

.tl-layout[b-xyepw1ai8t] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 18px;
}

.tl-main[b-xyepw1ai8t] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    min-width: 0;
}

.tl-side[b-xyepw1ai8t] {
    position: sticky;
    top: calc(var(--app-header-height, 89px) + 12px);
}

.tl-card-box[b-xyepw1ai8t] {
    padding: 20px 22px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface);
}

.tl-options[b-xyepw1ai8t] {
    display: grid;
    gap: 20px;
    animation: ui-rise .4s var(--ui-ease-out) backwards;
}

.tl-group[b-xyepw1ai8t] {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.tl-field-title[b-xyepw1ai8t] {
    font-size: .86rem;
    font-weight: 800;
}

.tl-hint[b-xyepw1ai8t] {
    color: var(--ui-muted);
    font-size: .76rem;
    line-height: 1.7;
}

.tl-choices[b-xyepw1ai8t] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}

.tl-choice[b-xyepw1ai8t] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
    border: 1.5px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-raised);
    color: inherit;
    font: inherit;
    text-align: start;
    cursor: pointer;
    transition: border-color var(--ui-dur-2) var(--ui-ease), background var(--ui-dur-2) var(--ui-ease), transform var(--ui-dur-2) var(--ui-ease);
}

.tl-choice:hover[b-xyepw1ai8t] { border-color: var(--ui-line-strong); transform: translateY(-1px); }

.tl-choice i[b-xyepw1ai8t] {
    flex: none;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    border: 2px solid var(--ui-line-strong);
    border-radius: 50%;
    transition: border var(--ui-dur-2) var(--ui-ease);
}

.tl-choice span[b-xyepw1ai8t] {
    display: grid;
    gap: 3px;
}

.tl-choice strong[b-xyepw1ai8t] { font-size: .86rem; font-weight: 700; }
.tl-choice small[b-xyepw1ai8t] { color: var(--ui-muted); font-size: .74rem; line-height: 1.6; }

.tl-choice.is-on[b-xyepw1ai8t] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
}

.tl-choice.is-on i[b-xyepw1ai8t] {
    border: 5px solid var(--ui-accent-strong);
    background: var(--ui-surface-strong);
}

.tl-pills[b-xyepw1ai8t] {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tl-pill[b-xyepw1ai8t] {
    padding: 8px 15px;
    border: 1.5px solid var(--ui-line);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--ui-muted);
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color var(--ui-dur-2) var(--ui-ease), background var(--ui-dur-2) var(--ui-ease), color var(--ui-dur-2) var(--ui-ease);
}

.tl-pill:hover[b-xyepw1ai8t] { color: var(--ui-ink); border-color: var(--ui-line-strong); }

.tl-pill.is-on[b-xyepw1ai8t] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
    color: var(--ui-ink);
}

.tl-input[b-xyepw1ai8t],
.tl-textarea[b-xyepw1ai8t] {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-strong);
    color: var(--ui-ink);
    font: inherit;
    outline: none;
    transition: border-color var(--ui-dur-2) var(--ui-ease), box-shadow var(--ui-dur-2) var(--ui-ease);
}

.tl-input[b-xyepw1ai8t] { height: 44px; padding: 0 13px; }

.tl-textarea[b-xyepw1ai8t] {
    display: block;
    min-height: 200px;
    margin-top: 10px;
    padding: 13px 14px;
    line-height: 1.9;
    resize: vertical;
}

.tl-input:focus[b-xyepw1ai8t],
.tl-textarea:focus[b-xyepw1ai8t] {
    border-color: var(--ui-accent-strong);
    box-shadow: 0 0 0 3px var(--ui-accent-tint);
}

.tl-text-foot[b-xyepw1ai8t] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 14px;
    margin-top: 8px;
    color: var(--ui-muted);
    font-size: .76rem;
}

.tl-two[b-xyepw1ai8t] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 320px;
}

.tl-range[b-xyepw1ai8t] {
    width: 100%;
    max-width: 380px;
    accent-color: var(--ui-accent-strong);
}

.tl-files[b-xyepw1ai8t] {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tl-files li[b-xyepw1ai8t] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface);
    animation: ui-rise .3s var(--ui-ease-out) backwards;
}

.tl-file-thumb[b-xyepw1ai8t] {
    display: grid;
    place-items: center;
    flex: none;
    width: 46px;
    height: 56px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: 7px;
    background: var(--ui-surface-sunken);
    color: var(--ui-muted);
    font-size: .64rem;
    font-weight: 800;
}

.tl-file-thumb img[b-xyepw1ai8t] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tl-file-copy[b-xyepw1ai8t] {
    flex: 1;
    display: grid;
    gap: 2px;
    min-width: 0;
}

.tl-file-copy strong[b-xyepw1ai8t] {
    overflow: hidden;
    font-size: .87rem;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tl-file-copy small[b-xyepw1ai8t] {
    color: var(--ui-muted);
    font-size: .74rem;
}

.tl-add[b-xyepw1ai8t] {
    justify-self: start;
    padding: 9px 15px;
    border: 1px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-pill);
    background: none;
    color: var(--ui-muted);
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    transition: color var(--ui-dur-2) var(--ui-ease), border-color var(--ui-dur-2) var(--ui-ease);
}

.tl-add:hover[b-xyepw1ai8t] { border-color: var(--ui-accent-strong); color: var(--ui-ink); }

.tl-preview[b-xyepw1ai8t] {
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background:
        repeating-conic-gradient(var(--ui-surface-sunken) 0 25%, transparent 0 50%) 0 0 / 22px 22px,
        var(--ui-surface);
}

.tl-preview img[b-xyepw1ai8t] {
    display: block;
    max-width: 100%;
    max-height: 420px;
    margin: 0 auto;
}

.tl-preview-bar[b-xyepw1ai8t] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 14px;
    padding: 10px 14px;
    background: var(--ui-surface-strong);
    color: var(--ui-muted);
    font-size: .78rem;
}

.tl-pages[b-xyepw1ai8t] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 12px;
    max-height: 520px;
    margin: 0;
    padding: 4px;
    overflow: auto;
    list-style: none;
}

.tl-pages li[b-xyepw1ai8t] {
    position: relative;
    display: grid;
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-raised);
    cursor: grab;
    transition: transform var(--ui-dur-2) var(--ui-ease), border-color var(--ui-dur-2) var(--ui-ease), opacity var(--ui-dur-2) var(--ui-ease);
}

.tl-pages li:hover[b-xyepw1ai8t] { border-color: var(--ui-accent-strong); }

.tl-pages li.is-dragged[b-xyepw1ai8t] { opacity: .4; }

.tl-page-sheet[b-xyepw1ai8t] {
    display: grid;
    place-items: center;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 5px;
    background: #fff;
}

.tl-page-sheet img[b-xyepw1ai8t] {
    max-width: 100%;
    max-height: 100%;
    transition: transform var(--ui-dur-2) var(--ui-ease);
}

.tl-page-number[b-xyepw1ai8t] {
    color: var(--ui-muted);
    font-size: .72rem;
    font-weight: 700;
    text-align: center;
}

.tl-page-tools[b-xyepw1ai8t] {
    position: absolute;
    inset-block-start: 12px;
    inset-inline-end: 12px;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity var(--ui-dur-2) var(--ui-ease);
}

.tl-pages li:hover .tl-page-tools[b-xyepw1ai8t],
.tl-pages li:focus-within .tl-page-tools[b-xyepw1ai8t] { opacity: 1; }

.tl-page-tools button[b-xyepw1ai8t] {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(28, 23, 16, .78);
    color: #fff;
    cursor: pointer;
}

.tl-page-tools svg[b-xyepw1ai8t] { width: 14px; height: 14px; }

@media (hover: none) {
    .tl-page-tools[b-xyepw1ai8t] { opacity: 1; }
}


/* ============================================================
   THE SUMMARY
   ============================================================ */

.tl-summary[b-xyepw1ai8t] {
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-strong);
    box-shadow: var(--ui-shadow-sm);
}

.tl-summary h2[b-xyepw1ai8t] {
    margin: 0;
    font-size: .98rem;
    font-weight: 800;
}

.tl-summary dl[b-xyepw1ai8t] {
    display: grid;
    gap: 9px;
    margin: 0;
}

.tl-summary dl > div[b-xyepw1ai8t] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--ui-line);
    font-size: .82rem;
}

.tl-summary dl > div:last-child[b-xyepw1ai8t] {
    padding-bottom: 0;
    border-bottom: 0;
}

.tl-summary dt[b-xyepw1ai8t] { color: var(--ui-muted); }

.tl-summary dd[b-xyepw1ai8t] {
    margin: 0;
    font-weight: 700;
    text-align: end;
}

.tl-cost b[b-xyepw1ai8t] {
    margin-inline-end: 4px;
    font-size: 1.25rem;
    font-weight: 800;
}

.tl-cost .is-free[b-xyepw1ai8t] { color: var(--ui-success); }

.tl-button[b-xyepw1ai8t] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--ui-r-pill);
    font: inherit;
    font-size: .92rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--ui-dur-2) var(--ui-ease), box-shadow var(--ui-dur-2) var(--ui-ease), background var(--ui-dur-2) var(--ui-ease), opacity var(--ui-dur-2) var(--ui-ease);
}

.tl-button svg[b-xyepw1ai8t] { width: 19px; height: 19px; }

.tl-button.is-primary[b-xyepw1ai8t] {
    background: var(--ui-accent);
    color: var(--ui-on-accent);
    box-shadow: var(--ui-shadow-accent);
}

.tl-button.is-primary:hover:not(:disabled)[b-xyepw1ai8t] {
    background: var(--ui-accent-strong);
    transform: translateY(-1px);
}

.tl-button.is-primary:disabled[b-xyepw1ai8t] {
    opacity: .45;
    box-shadow: none;
    cursor: not-allowed;
}

.tl-button.is-quiet[b-xyepw1ai8t] {
    border-color: var(--ui-line-strong);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
    font-size: .84rem;
}

.tl-button.is-quiet:hover[b-xyepw1ai8t] { background: var(--ui-surface-hover); }

.tl-spinner[b-xyepw1ai8t] {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-inline-end-color: transparent;
    border-radius: 50%;
    animation: tl-spin-b-xyepw1ai8t .8s linear infinite;
}

@keyframes tl-spin-b-xyepw1ai8t {
    to { transform: rotate(360deg); }
}

.tl-refuse[b-xyepw1ai8t] {
    margin: 0;
    color: var(--ui-danger);
    font-size: .78rem;
    line-height: 1.7;
}

.tl-side-note[b-xyepw1ai8t] {
    margin: 0;
    color: var(--ui-muted);
    font-size: .74rem;
    line-height: 1.7;
}

.tl-notes[b-xyepw1ai8t] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tl-notes li[b-xyepw1ai8t] {
    padding: 12px 14px;
    border-inline-start: 3px solid color-mix(in srgb, var(--tl-tone) 55%, transparent);
    border-radius: 6px;
    background: var(--ui-surface-raised);
    color: var(--ui-muted);
    font-size: .78rem;
    line-height: 1.8;
}

.tl-alert[b-xyepw1ai8t] {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    padding: 13px 40px 13px 16px;
    border-radius: var(--ui-r-sm);
    font-size: .86rem;
    line-height: 1.7;
}

.tl-page[dir="rtl"] .tl-alert[b-xyepw1ai8t] { padding: 13px 16px 13px 40px; }

.tl-alert.is-danger[b-xyepw1ai8t] { background: var(--ui-danger-soft); color: var(--ui-danger); }
.tl-alert.is-warning[b-xyepw1ai8t] { background: var(--ui-warning-soft); color: var(--ui-warning); }

.tl-close[b-xyepw1ai8t] {
    position: absolute;
    top: 8px;
    inset-inline-end: 10px;
    border: 0;
    background: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
}

.tl-link[b-xyepw1ai8t] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--accent-text);
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
}

.tl-link:hover[b-xyepw1ai8t] { text-decoration: underline; }


/* ============================================================
   WORKING AND DONE
   ============================================================ */

.tl-working[b-xyepw1ai8t] {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 34px 30px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-strong);
}

.tl-working > div[b-xyepw1ai8t] {
    display: grid;
    gap: 5px;
}

.tl-working strong[b-xyepw1ai8t] {
    font-size: 1.05rem;
    font-weight: 800;
}

.tl-working span:not(.tl-orbit):not(.tl-orbit *)[b-xyepw1ai8t] {
    color: var(--ui-muted);
    font-size: .82rem;
}

.tl-orbit[b-xyepw1ai8t] {
    position: relative;
    flex: none;
    width: 58px;
    height: 58px;
}

.tl-orbit i[b-xyepw1ai8t] {
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-block-start-color: var(--tl-tone);
    border-radius: 50%;
    animation: tl-spin-b-xyepw1ai8t 1.1s cubic-bezier(.5, .1, .5, .9) infinite;
}

.tl-orbit i:nth-child(2)[b-xyepw1ai8t] {
    inset: 8px;
    border-block-start-color: var(--ui-accent-strong);
    animation-duration: 1.5s;
    animation-direction: reverse;
}

.tl-orbit i:nth-child(3)[b-xyepw1ai8t] {
    inset: 17px;
    animation-duration: 2s;
}

.tl-done[b-xyepw1ai8t] {
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-strong);
    box-shadow: var(--ui-shadow-md);
    animation: ui-rise .5s var(--ui-ease-out) backwards;
}

.tl-done-head[b-xyepw1ai8t] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tl-done-head > div[b-xyepw1ai8t] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.tl-done-head strong[b-xyepw1ai8t] {
    font-size: 1.12rem;
    font-weight: 800;
}

.tl-done-head span:not(.tl-tick)[b-xyepw1ai8t] {
    color: var(--ui-muted);
    font-size: .8rem;
}

.tl-tick[b-xyepw1ai8t] {
    display: grid;
    place-items: center;
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ui-success-tint);
    color: var(--ui-success);
    animation: ui-pop-in .5s var(--ui-ease-spring) backwards;
}

.tl-tick svg[b-xyepw1ai8t] { width: 24px; height: 24px; }

.tl-done-note[b-xyepw1ai8t] {
    margin: 0;
    color: var(--ui-muted);
    font-size: .84rem;
}

.tl-done-actions[b-xyepw1ai8t] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tl-saving[b-xyepw1ai8t] {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 20px;
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
}

.tl-saving-ring[b-xyepw1ai8t] {
    position: relative;
    display: grid;
    place-content: center;
    justify-items: center;
    flex: none;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background:
        radial-gradient(closest-side, var(--ui-surface-strong) 77%, transparent 78%),
        conic-gradient(var(--ui-success) calc(var(--value) * 1%), var(--ui-surface-sunken) 0);
}

.tl-saving-ring b[b-xyepw1ai8t] {
    font-size: 1.32rem;
    font-weight: 800;
    line-height: 1.1;
}

.tl-saving-ring small[b-xyepw1ai8t] {
    color: var(--ui-muted);
    font-size: .7rem;
}

.tl-saving-bars[b-xyepw1ai8t] {
    flex: 1;
    display: grid;
    gap: 12px;
    min-width: 0;
}

.tl-saving-bars > div[b-xyepw1ai8t] {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    font-size: .78rem;
}

.tl-saving-bars span[b-xyepw1ai8t] { color: var(--ui-muted); }

.tl-saving-bars i[b-xyepw1ai8t] {
    display: block;
    height: 11px;
    border-radius: 999px;
    background: var(--ui-clay-soft);
    animation: tl-grow-b-xyepw1ai8t .9s var(--ui-ease-out) backwards;
    transform-origin: left;
}

.tl-page[dir="rtl"] .tl-saving-bars i[b-xyepw1ai8t] { transform-origin: right; }

.tl-saving-bars i.is-after[b-xyepw1ai8t] { background: var(--ui-success); }

@keyframes tl-grow-b-xyepw1ai8t {
    from { transform: scaleX(.05); }
}

.tl-compare[b-xyepw1ai8t] {
    position: relative;
    width: min(100%, calc(560px * var(--ratio)));
    aspect-ratio: var(--ratio);
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-sunken);
    user-select: none;
}

.tl-compare.is-cutout[b-xyepw1ai8t] {
    background:
        repeating-conic-gradient(rgba(127, 127, 127, .24) 0 25%, transparent 0 50%) 0 0 / 22px 22px,
        #fff;
}

.tl-compare img[b-xyepw1ai8t] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tl-compare-before[b-xyepw1ai8t] {
    clip-path: inset(0 calc(100% - var(--split)) 0 0);
    background: inherit;
}

.tl-compare-line[b-xyepw1ai8t] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--split);
    width: 2px;
    margin-left: -1px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .4);
    pointer-events: none;
}

.tl-compare-line i[b-xyepw1ai8t] {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin: -19px;
    border-radius: 50%;
    background: #fff;
    color: #3b2f23;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .35);
}

.tl-compare-line svg[b-xyepw1ai8t] { width: 22px; height: 22px; }

.tl-compare-label[b-xyepw1ai8t] {
    position: absolute;
    top: 12px;
    padding: 4px 11px;
    border-radius: var(--ui-r-pill);
    background: rgba(20, 16, 12, .62);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    pointer-events: none;
}

.tl-compare-label.is-before[b-xyepw1ai8t] { left: 12px; }
.tl-compare-label.is-after[b-xyepw1ai8t] { right: 12px; }

.tl-compare input[b-xyepw1ai8t] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
}

.tl-audio[b-xyepw1ai8t] { width: 100%; }

.tl-reading[b-xyepw1ai8t] {
    max-height: 460px;
    padding: 18px 20px;
    overflow: auto;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface);
    font-size: .94rem;
    line-height: 2;
}

.tl-reading.is-plain[b-xyepw1ai8t] { white-space: pre-wrap; }

.tl-reading h2[b-xyepw1ai8t] {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 800;
}

.tl-reading p[b-xyepw1ai8t] { margin: 0 0 10px; }

.tl-reading ul[b-xyepw1ai8t] {
    margin: 0;
    padding-inline-start: 20px;
}

.tl-reading del[b-xyepw1ai8t] {
    border-radius: 3px;
    background: var(--ui-danger-tint);
    color: var(--ui-danger);
}

.tl-reading ins[b-xyepw1ai8t] {
    border-radius: 3px;
    background: var(--ui-success-tint);
    color: var(--ui-success);
    text-decoration: none;
}

.tl-proof-bar[b-xyepw1ai8t] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 14px;
    color: var(--ui-muted);
    font-size: .84rem;
}


/* ============================================================
   WAITING FOR THE PAGE
   ============================================================ */

.tl-skeleton[b-xyepw1ai8t],
.tl-skeleton-row div[b-xyepw1ai8t] {
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-sunken);
    opacity: .5;
    animation: ui-pulse 1.5s ease-in-out infinite;
}

.tl-skeleton.is-hero[b-xyepw1ai8t] { height: 240px; }

.tl-skeleton-row[b-xyepw1ai8t] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.tl-skeleton-row div[b-xyepw1ai8t] { height: 200px; }

.tl-off[b-xyepw1ai8t] {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 64px 24px;
    text-align: center;
}

.tl-off h2[b-xyepw1ai8t] { margin: 0; font-size: 1.2rem; }
.tl-off p[b-xyepw1ai8t] { margin: 0; color: var(--ui-muted); }


/* ============================================================
   SMALLER SCREENS
   ============================================================ */

@media (max-width: 1320px) {
    .tl-grid.is-bento[b-xyepw1ai8t] { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .tl-grid.is-bento .tl-card:last-child[b-xyepw1ai8t] { grid-column: auto; }
}

@media (max-width: 1040px) {
    .tl-layout[b-xyepw1ai8t] { grid-template-columns: minmax(0, 1fr); }

    .tl-side[b-xyepw1ai8t] {
        position: static;
        order: 2;
    }

    .tl-grid.is-bento[b-xyepw1ai8t] { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .tl-grid.is-bento .tl-card:last-child[b-xyepw1ai8t] { grid-column: span 2; }
}

@media (max-width: 860px) {
    .tl-hero[b-xyepw1ai8t] {
        grid-template-columns: minmax(0, 1fr);
        padding: 26px 22px;
        gap: 20px;
    }
}

@media (max-width: 720px) {
    .tl-page[b-xyepw1ai8t] { gap: 14px; }

    .tl-drop[b-xyepw1ai8t] { min-height: 190px; }

    /* on a phone the tiles are what it is for: the hero gives them the screen */
    .tl-hero[b-xyepw1ai8t] { gap: 14px; padding: 20px 18px; }

    .tl-hero[b-xyepw1ai8t]::before,
    .tl-hero p[b-xyepw1ai8t],
    .tl-drop.is-hero .tl-drop-rings[b-xyepw1ai8t] { display: none; }

    .tl-hero h1[b-xyepw1ai8t] { margin-bottom: 0; font-size: 1.32rem; }

    .tl-eyebrow[b-xyepw1ai8t] { margin-bottom: 8px; }

    .tl-facts[b-xyepw1ai8t] { margin-top: 12px; gap: 4px 18px; }

    .tl-facts b[b-xyepw1ai8t] { font-size: 1.05rem; }

    .tl-facts span[b-xyepw1ai8t] { font-size: .74rem; }

    .tl-drop.is-hero[b-xyepw1ai8t] {
        grid-template-columns: auto minmax(0, 1fr);
        justify-items: start;
        min-height: 0;
        padding: 13px 15px;
        column-gap: 12px;
        row-gap: 1px;
        text-align: start;
    }

    .tl-drop.is-hero .tl-drop-icon[b-xyepw1ai8t] {
        grid-row: span 2;
        width: 46px;
        height: 46px;
        margin: 0;
    }

    .tl-drop.is-hero .tl-drop-icon svg[b-xyepw1ai8t] { width: 22px; height: 22px; }

    .tl-drop.is-hero strong[b-xyepw1ai8t] { font-size: .92rem; }

    .tl-drop.is-hero small[b-xyepw1ai8t] { font-size: .74rem; }

    .tl-head[b-xyepw1ai8t] {
        flex-wrap: wrap;
        padding: 16px;
    }

    .tl-head > div[b-xyepw1ai8t] { flex: 1 1 calc(100% - 72px); }

    .tl-head h1[b-xyepw1ai8t] { font-size: 1.14rem; }

    .tl-grid[b-xyepw1ai8t] { gap: 12px; }

    .tl-card[b-xyepw1ai8t] { min-height: 188px; padding: 15px; gap: 10px; }

    .tl-stage[b-xyepw1ai8t] { height: 124px; margin: -15px -15px 0; }

    .tl-card-art[b-xyepw1ai8t] { width: 104px; height: 104px; }

    .tl-card-copy strong[b-xyepw1ai8t] { font-size: .9rem; }

    .tl-card-copy small[b-xyepw1ai8t] { font-size: .74rem; }

    .tl-grid.is-bento .tl-card.is-featured[b-xyepw1ai8t] { min-height: 240px; }

    .tl-card-foot .tl-tag[b-xyepw1ai8t] { white-space: normal; }

    .tl-chips[b-xyepw1ai8t] {
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .tl-chip[b-xyepw1ai8t] { flex: none; }

    .tl-recent[b-xyepw1ai8t] { padding: 14px; }

    .tl-status[b-xyepw1ai8t] { display: none; }

    .tl-done[b-xyepw1ai8t] { padding: 18px 16px; }

    .tl-saving[b-xyepw1ai8t] {
        flex-direction: column;
        align-items: stretch;
    }

    .tl-saving-ring[b-xyepw1ai8t] { align-self: center; }

    .tl-working[b-xyepw1ai8t] { padding: 24px 18px; gap: 16px; }

    .tl-done-actions .tl-button[b-xyepw1ai8t] { flex: 1 1 100%; }

    .tl-uploads li[b-xyepw1ai8t] { grid-template-columns: minmax(0, 1fr) auto; }

    .tl-upload-bar[b-xyepw1ai8t] { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 420px) {
    .tl-grid.is-bento[b-xyepw1ai8t] { grid-template-columns: minmax(0, 1fr); }

    .tl-grid.is-bento .tl-card.is-featured[b-xyepw1ai8t],
    .tl-grid.is-bento .tl-card:last-child[b-xyepw1ai8t] { grid-column: auto; }

    .tl-card[b-xyepw1ai8t] { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .tl-show[b-xyepw1ai8t],
    .tl-drop-rings i[b-xyepw1ai8t],
    .tl-card[b-xyepw1ai8t],
    .tl-orbit i[b-xyepw1ai8t] {
        animation: none !important;
    }

    .tl-card[b-xyepw1ai8t],
    .tl-drop-folder[b-xyepw1ai8t],
    .tl-head-art[b-xyepw1ai8t] {
        transition: box-shadow var(--ui-dur-2) var(--ui-ease), border-color var(--ui-dur-2) var(--ui-ease);
    }
}
/* _content/AITranslationPlatform.Web/Components/TrainingPanel/TrainingPanelAuthLayout.razor.rz.scp.css */
.training-auth-layout[b-xli4vt1ipd] {
    min-height: 100dvh;
}
/* _content/AITranslationPlatform.Web/Components/TrainingPanel/TrainingPanelBanner.razor.rz.scp.css */
.training-banner-notice[b-yzg7phl6fb] {
    max-width: 1260px;
    margin: 10px auto 0;
    padding: 11px 16px;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 12.5px;
    line-height: 1.8;
}

.training-banner-notice.warn[b-yzg7phl6fb] {
    background: #fff0f1;
    color: #a2303d;
}

[data-theme="dark"] .training-banner-notice.warn[b-yzg7phl6fb] {
    background: #3a1820;
    color: #f2a3ad;
}

@media (max-width: 900px) {
    .training-banner-notice[b-yzg7phl6fb] {
        margin: 10px 16px 0;
    }
}
/* _content/AITranslationPlatform.Web/Components/TrainingPanel/TrainingPanelGate.razor.rz.scp.css */
.training-gate[b-6yreovtkwa] {
    max-width: 1260px;
    margin: 0 auto;
    padding: 34px 30px 48px;
}

.training-gate-card[b-6yreovtkwa] {
    max-width: 560px;
    margin: 40px auto;
    padding: 30px;
    border: 1px solid #e2e8f3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(37, 55, 94, .045);
    text-align: center;
    color: #1a2740;
}

.training-gate-icon[b-6yreovtkwa] {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff0d6;
    color: #ba7414;
    font-size: 22px;
    font-weight: 900;
}

.training-gate-card h1[b-6yreovtkwa] {
    margin: 16px 0 8px;
    font-size: 20px;
}

.training-gate-card p[b-6yreovtkwa] {
    margin: 0 0 20px;
    color: #73819a;
    font-size: 13px;
    line-height: 1.9;
}

.training-gate-card a[b-6yreovtkwa] {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 10px;
    background: #3156db;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}

[data-theme="dark"] .training-gate-card[b-6yreovtkwa] {
    background: #161d2c;
    border-color: #26324a;
    box-shadow: none;
    color: #e4ebf8;
}

[data-theme="dark"] .training-gate-card p[b-6yreovtkwa] {
    color: #8b98b1;
}

[data-theme="dark"] .training-gate-icon[b-6yreovtkwa] {
    background: #3a2c12;
    color: #e2b563;
}

@media (max-width: 560px) {
    .training-gate[b-6yreovtkwa] {
        padding: 22px 16px;
    }
}
/* _content/AITranslationPlatform.Web/Components/TrainingPanel/TrainingPanelLayout.razor.rz.scp.css */
.admin-surface[b-h4mf20anz1] {
    --admin-accent: #1844c6;
    --admin-accent-hover: #123ba9;
    --admin-accent-soft: rgba(24, 68, 198, .08);
    --admin-text: #171a20;
    --admin-text-2: #505763;
    --admin-muted: #8a9099;
    --admin-surface: #ffffff;
    --admin-surface-soft: #f5f6f8;
    --admin-surface-elevated: #fbfbfc;
    --admin-line: rgba(28, 34, 46, .075);
    --admin-line-strong: rgba(28, 34, 46, .12);
    --admin-success: #278467;
    --admin-warning: #a9731f;
    --admin-danger: #c94a52;
    --admin-shadow: 0 18px 44px rgba(24, 32, 55, .075);
    min-height: 100vh;
    background: var(--admin-surface-soft);
    color: var(--admin-text);
}

.admin-frame[b-h4mf20anz1] {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
}

.admin-sidebar[b-h4mf20anz1] {
    min-width: 0;
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    background: var(--admin-surface);
    border-inline-end: 1px solid var(--admin-line);
}

.admin-sidebar-brand[b-h4mf20anz1] {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 18px;
    border-bottom: 1px solid var(--admin-line);
}

.admin-brand-link[b-h4mf20anz1] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.admin-brand-mark[b-h4mf20anz1] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--admin-accent);
    background: var(--admin-accent-soft);
}

    .admin-brand-mark svg[b-h4mf20anz1] {
        width: 25px;
        height: 25px;
    }

.admin-brand-copy[b-h4mf20anz1] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

    .admin-brand-copy strong[b-h4mf20anz1] {
        font-size: 14px;
        font-weight: 800;
        letter-spacing: -.01em;
    }

    .admin-brand-copy small[b-h4mf20anz1] {
        color: var(--admin-muted);
        font-size: 10px;
        font-weight: 700;
        white-space: nowrap;
    }

.admin-sidebar-close[b-h4mf20anz1] {
    display: none;
    width: 36px;
    height: 36px;
    border: 1px solid var(--admin-line);
    border-radius: 11px;
    background: var(--admin-surface-elevated);
    color: var(--admin-text-2);
    cursor: pointer;
}

    .admin-sidebar-close svg[b-h4mf20anz1] {
        width: 18px;
        height: 18px;
    }

.admin-sidebar-scroll[b-h4mf20anz1] {
    min-height: 0;
    overflow-y: auto;
    padding: 18px 12px 24px;
    scrollbar-width: thin;
}

.admin-navigation[b-h4mf20anz1] {
    display: grid;
    gap: 22px;
}

.admin-nav-group[b-h4mf20anz1] {
    display: grid;
    gap: 5px;
}

.admin-nav-heading[b-h4mf20anz1] {
    padding: 0 10px 6px;
    color: var(--admin-muted);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}

.admin-nav-link[b-h4mf20anz1],
.admin-return-link[b-h4mf20anz1] {
    min-height: 42px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--admin-text-2);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: 160ms ease;
}

    .admin-nav-link:hover[b-h4mf20anz1],
    .admin-return-link:hover[b-h4mf20anz1] {
        color: var(--admin-accent);
        background: var(--admin-accent-soft);
    }

    .admin-nav-link.active[b-h4mf20anz1] {
        color: var(--admin-accent);
        background: var(--admin-accent-soft);
        border-color: rgba(24, 68, 198, .11);
    }

    .admin-nav-link.is-disabled[b-h4mf20anz1] {
        opacity: .48;
        cursor: default;
        user-select: none;
    }

        .admin-nav-link.is-disabled:hover[b-h4mf20anz1] {
            color: var(--admin-text-2);
            background: transparent;
        }

    .admin-nav-link small[b-h4mf20anz1] {
        padding: 3px 6px;
        border-radius: 999px;
        background: var(--admin-surface-soft);
        color: var(--admin-muted);
        font-size: 8px;
        font-weight: 800;
    }

.admin-nav-icon[b-h4mf20anz1] {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
}

    .admin-nav-icon svg[b-h4mf20anz1] {
        width: 19px;
        height: 19px;
    }

.admin-sidebar-footer[b-h4mf20anz1] {
    padding: 12px;
    border-top: 1px solid var(--admin-line);
    background: var(--admin-surface);
}

.admin-return-link[b-h4mf20anz1] {
    grid-template-columns: 28px minmax(0, 1fr);
}

.admin-main-panel[b-h4mf20anz1] {
    min-width: 0;
    min-height: 100vh;
}

.admin-header[b-h4mf20anz1] {
    min-height: 76px;
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 24px;
    border-bottom: 1px solid var(--admin-line);
    background: color-mix(in srgb, var(--admin-surface) 92%, transparent);
    backdrop-filter: blur(18px);
}

.admin-header-start[b-h4mf20anz1],
.admin-header-actions[b-h4mf20anz1] {
    display: flex;
    align-items: center;
}

.admin-header-start[b-h4mf20anz1] {
    min-width: 0;
    gap: 12px;
}

.admin-header-actions[b-h4mf20anz1] {
    gap: 8px;
}

.admin-header-title[b-h4mf20anz1] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

    .admin-header-title strong[b-h4mf20anz1] {
        font-size: 14px;
        font-weight: 850;
    }

    .admin-header-title span[b-h4mf20anz1] {
        color: var(--admin-muted);
        font-size: 10px;
        font-weight: 600;
    }

.admin-header-icon[b-h4mf20anz1] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: var(--admin-surface);
    color: var(--admin-text-2);
    text-decoration: none;
    cursor: pointer;
    transition: 160ms ease;
}

    .admin-header-icon:not(:disabled):hover[b-h4mf20anz1] {
        color: var(--admin-accent);
        border-color: rgba(24, 68, 198, .16);
        background: var(--admin-accent-soft);
    }

    .admin-header-icon:disabled[b-h4mf20anz1],
    .admin-search-shell:disabled[b-h4mf20anz1] {
        opacity: .46;
        cursor: default;
    }

    .admin-header-icon svg[b-h4mf20anz1] {
        width: 18px;
        height: 18px;
    }

.admin-language-button[b-h4mf20anz1] {
    font-size: 11px;
    font-weight: 900;
}

.admin-mobile-menu[b-h4mf20anz1] {
    display: none;
}

.admin-search-shell[b-h4mf20anz1] {
    width: 210px;
    height: 38px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: var(--admin-surface);
    color: var(--admin-muted);
    text-align: start;
}

    .admin-search-shell svg[b-h4mf20anz1] {
        width: 16px;
        height: 16px;
        flex: 0 0 16px;
    }

    .admin-search-shell span[b-h4mf20anz1] {
        font-size: 10px;
        font-weight: 700;
    }

.admin-environment[b-h4mf20anz1] {
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border-radius: 9px;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .08em;
}

    .admin-environment.is-development[b-h4mf20anz1] {
        color: #8b5a13;
        background: rgba(192, 132, 38, .11);
        border: 1px solid rgba(192, 132, 38, .14);
    }

    .admin-environment.is-staging[b-h4mf20anz1] {
        color: #7554aa;
        background: rgba(117, 84, 170, .10);
        border: 1px solid rgba(117, 84, 170, .14);
    }

    .admin-environment.is-production[b-h4mf20anz1] {
        color: #237059;
        background: rgba(39, 132, 103, .10);
        border: 1px solid rgba(39, 132, 103, .14);
    }

.admin-profile-chip[b-h4mf20anz1] {
    min-width: 0;
    height: 42px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 10px 0 8px;
    border: 1px solid var(--admin-line);
    border-radius: 13px;
    background: var(--admin-surface);
}

.admin-profile-avatar[b-h4mf20anz1] {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--admin-accent-soft);
    color: var(--admin-accent);
}

    .admin-profile-avatar svg[b-h4mf20anz1] {
        width: 17px;
        height: 17px;
    }

.admin-profile-copy[b-h4mf20anz1] {
    min-width: 0;
    max-width: 138px;
    display: grid;
    gap: 1px;
}

    .admin-profile-copy small[b-h4mf20anz1] {
        color: var(--admin-muted);
        font-size: 8px;
        font-weight: 700;
    }

    .admin-profile-copy strong[b-h4mf20anz1] {
        overflow: hidden;
        color: var(--admin-text);
        font-size: 10px;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.admin-logout-form[b-h4mf20anz1] {
    margin: 0;
}

.admin-logout-button:hover[b-h4mf20anz1] {
    color: var(--admin-danger) !important;
    border-color: rgba(201, 74, 82, .16) !important;
    background: rgba(201, 74, 82, .07) !important;
}

.admin-theme-dark-icon[b-h4mf20anz1] {
    display: none;
}

.admin-content[b-h4mf20anz1] {
    min-width: 0;
    width: min(1580px, 100%);
    margin: 0 auto;
    padding: 28px;
}

.admin-mobile-backdrop[b-h4mf20anz1] {
    display: none;
}

html[data-theme="dark"] .admin-surface[b-h4mf20anz1] {
    --admin-text: #eef1f7;
    --admin-text-2: #b0b8c7;
    --admin-muted: #747e8f;
    --admin-surface: #131824;
    --admin-surface-soft: #0c101a;
    --admin-surface-elevated: #171d2a;
    --admin-line: rgba(255, 255, 255, .065);
    --admin-line-strong: rgba(255, 255, 255, .10);
    --admin-accent: #7893f3;
    --admin-accent-hover: #89a0f5;
    --admin-accent-soft: rgba(95, 128, 235, .105);
    --admin-shadow: 0 24px 55px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] .admin-header[b-h4mf20anz1] {
    background: rgba(12, 16, 26, .86);
}

html[data-theme="dark"] .admin-theme-light-icon[b-h4mf20anz1] {
    display: none;
}

html[data-theme="dark"] .admin-theme-dark-icon[b-h4mf20anz1] {
    display: block;
}

html[data-theme="dark"] .admin-environment.is-development[b-h4mf20anz1] {
    color: #d8ad62;
    background: rgba(192, 132, 38, .12);
}

html[data-theme="dark"] .admin-environment.is-production[b-h4mf20anz1] {
    color: #69c5a7;
    background: rgba(39, 132, 103, .12);
}

@media (max-width: 1180px) {
    .admin-search-shell[b-h4mf20anz1] {
        display: none;
    }

    .admin-profile-copy[b-h4mf20anz1] {
        display: none;
    }

    .admin-profile-chip[b-h4mf20anz1] {
        width: 38px;
        padding: 0;
        justify-content: center;
    }
}

@media (max-width: 960px) {
    .admin-frame[b-h4mf20anz1] {
        display: block;
    }

    .admin-sidebar[b-h4mf20anz1] {
        width: min(290px, 88vw);
        position: fixed;
        inset-block: 0;
        z-index: 70;
        box-shadow: 0 28px 80px rgba(0, 0, 0, .18);
        transition: transform 180ms ease;
    }

    .admin-surface[dir="ltr"] .admin-sidebar[b-h4mf20anz1] {
        left: 0;
        right: auto;
        transform: translateX(-105%);
    }

    .admin-surface[dir="rtl"] .admin-sidebar[b-h4mf20anz1] {
        right: 0;
        left: auto;
        transform: translateX(105%);
    }

    .admin-sidebar.mobile-open[b-h4mf20anz1] {
        transform: translateX(0) !important;
    }

    .admin-surface.mobile-nav-open .admin-sidebar[b-h4mf20anz1] {
        transform: translateX(0) !important;
    }

    .admin-sidebar-close[b-h4mf20anz1],
    .admin-mobile-menu[b-h4mf20anz1] {
        display: grid;
        place-items: center;
    }

    .admin-mobile-backdrop[b-h4mf20anz1] {
        position: fixed;
        inset: 0;
        z-index: 60;
        display: none;
        border: 0;
        background: rgba(8, 12, 20, .34);
        backdrop-filter: blur(2px);
    }

    .admin-surface.mobile-nav-open .admin-mobile-backdrop[b-h4mf20anz1] {
        display: block;
    }

    .admin-header[b-h4mf20anz1] {
        min-height: 70px;
        padding: 10px 18px;
    }

    .admin-content[b-h4mf20anz1] {
        padding: 22px 18px;
    }
}

@media (max-width: 700px) {
    .admin-header-title span[b-h4mf20anz1],
    .admin-environment[b-h4mf20anz1],
    .admin-profile-chip[b-h4mf20anz1] {
        display: none;
    }

    .admin-header[b-h4mf20anz1] {
        gap: 10px;
        padding-inline: 14px;
    }

    .admin-header-actions[b-h4mf20anz1] {
        gap: 6px;
    }

    .admin-header-icon[b-h4mf20anz1] {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .admin-content[b-h4mf20anz1] {
        padding: 18px 14px 28px;
    }
}

@media (max-width: 430px) {
    .admin-header-title strong[b-h4mf20anz1] {
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .admin-header-actions .admin-header-icon:disabled[b-h4mf20anz1] {
        display: none;
    }
}

/* ============================================================
   ADMIN SIDEBAR V2
   Professional SaaS navigation
   ============================================================ */

.admin-frame[b-h4mf20anz1] {
    grid-template-columns: 284px minmax(0, 1fr);
}


/* ------------------------------------------------------------
   RTL SHELL
   Keep physical grid positioning predictable
   ------------------------------------------------------------ */

.admin-surface[dir="rtl"] .admin-frame[b-h4mf20anz1] {
    direction: ltr;
    grid-template-columns: minmax(0, 1fr) 284px;
}

.admin-surface[dir="rtl"] .admin-sidebar[b-h4mf20anz1] {
    grid-column: 2;
    grid-row: 1;
    direction: rtl;
    border-inline-end: 0;
    border-inline-start: 1px solid rgba(255, 255, 255, .065);
    box-shadow: -18px 0 45px rgba(15, 23, 42, .055);
}

.admin-surface[dir="rtl"] .admin-main-panel[b-h4mf20anz1] {
    grid-column: 1;
    grid-row: 1;
    direction: rtl;
}


/* ============================================================
   SIDEBAR SURFACE
   ============================================================ */

.admin-sidebar[b-h4mf20anz1] {
    --sidebar-bg-top: #172239;
    --sidebar-bg-bottom: #0d1525;
    --sidebar-text: #d6deeb;
    --sidebar-text-muted: #8490a5;
    --sidebar-heading: #69768d;
    --sidebar-accent: #8198ff;
    --sidebar-accent-bright: #a9b8ff;
    --sidebar-hover: rgba(255, 255, 255, .055);
    --sidebar-active: rgba(111, 137, 245, .14);
    --sidebar-border: rgba(255, 255, 255, .07);
    color: var(--sidebar-text);
    background: radial-gradient( circle at 30% -5%, rgba(104, 127, 235, .20), transparent 28% ), linear-gradient( 180deg, var(--sidebar-bg-top) 0%, var(--sidebar-bg-bottom) 100% );
    border-inline-end: 1px solid var(--sidebar-border);
    box-shadow: 18px 0 45px rgba(15, 23, 42, .055);
    isolation: isolate;
}


    /* subtle sidebar texture */

    .admin-sidebar[b-h4mf20anz1]::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background: linear-gradient( 180deg, rgba(255, 255, 255, .025), transparent 18% );
    }


/* ============================================================
   BRAND
   ============================================================ */

.admin-sidebar-brand[b-h4mf20anz1] {
    height: 82px;
    padding-inline: 17px;
    border-bottom: 1px solid var(--sidebar-border);
    background: rgba(255, 255, 255, .012);
}


.admin-brand-link[b-h4mf20anz1] {
    gap: 12px;
}


.admin-brand-mark[b-h4mf20anz1] {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border-radius: 14px;
    color: var(--sidebar-accent-bright);
    border: 1px solid rgba(171, 187, 255, .18);
    background: linear-gradient( 145deg, rgba(126, 151, 255, .16), rgba(255, 255, 255, .045) );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 25px rgba(0, 0, 0, .10);
}


    .admin-brand-mark svg[b-h4mf20anz1] {
        width: 25px;
        height: 25px;
    }


.admin-brand-copy[b-h4mf20anz1] {
    gap: 3px;
}


    .admin-brand-copy strong[b-h4mf20anz1] {
        color: #ffffff;
        font-size: 13.5px;
        font-weight: 800;
        letter-spacing: -.015em;
        white-space: nowrap;
    }


    .admin-brand-copy small[b-h4mf20anz1] {
        color: #929db1;
        font-size: 9px;
        font-weight: 600;
        white-space: nowrap;
    }


/* ============================================================
   CLOSE BUTTON
   ============================================================ */

.admin-sidebar-close[b-h4mf20anz1] {
    border: 1px solid rgba(255, 255, 255, .08);
    color: #b9c4d5;
    background: rgba(255, 255, 255, .045);
}

    .admin-sidebar-close:hover[b-h4mf20anz1] {
        color: #ffffff;
        background: rgba(255, 255, 255, .08);
    }


/* ============================================================
   SCROLL AREA
   ============================================================ */

.admin-sidebar-scroll[b-h4mf20anz1] {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 17px 11px 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .16) transparent;
}


    .admin-sidebar-scroll[b-h4mf20anz1]::-webkit-scrollbar {
        width: 4px;
    }


    .admin-sidebar-scroll[b-h4mf20anz1]::-webkit-scrollbar-track {
        background: transparent;
    }


    .admin-sidebar-scroll[b-h4mf20anz1]::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(255, 255, 255, .15);
    }


        .admin-sidebar-scroll[b-h4mf20anz1]::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, .24);
        }


/* ============================================================
   NAVIGATION GROUPS
   ============================================================ */

.admin-navigation[b-h4mf20anz1] {
    display: grid;
    gap: 17px;
}


.admin-nav-group[b-h4mf20anz1] {
    display: grid;
    gap: 4px;
}


    /* subtle divider between navigation categories */

    .admin-nav-group + .admin-nav-group[b-h4mf20anz1] {
        position: relative;
        padding-top: 14px;
    }


        .admin-nav-group + .admin-nav-group[b-h4mf20anz1]::before {
            content: "";
            position: absolute;
            inset-inline: 8px;
            top: 0;
            height: 1px;
            background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, .065), transparent );
        }


/* ============================================================
   SECTION HEADING
   ============================================================ */

.admin-nav-heading[b-h4mf20anz1] {
    display: block;
    padding: 0 11px 5px;
    color: var(--sidebar-heading);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .09em;
    line-height: 1.4;
    text-transform: uppercase;
    user-select: none;
}


/* ============================================================
   IMPORTANT:
   NavLink is a CHILD COMPONENT.
   ::deep is required for CSS isolation to style its <a>.
   ============================================================ */

.admin-sidebar[b-h4mf20anz1]  .admin-nav-link {
    min-width: 0;
    min-height: 41px;
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 4px 9px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: var(--sidebar-text) !important;
    background: transparent;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.25;
    text-decoration: none !important;
    transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease;
}


    .admin-sidebar[b-h4mf20anz1]  .admin-nav-link:visited {
        color: var(--sidebar-text) !important;
        text-decoration: none !important;
    }


    /* link label */

    .admin-sidebar[b-h4mf20anz1]  .admin-nav-link > span:not(.admin-nav-icon) {
        min-width: 0;
        overflow: hidden;
        color: inherit;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-decoration: none;
    }


    /* ============================================================
   ICON
   ============================================================ */

    .admin-sidebar[b-h4mf20anz1]  .admin-nav-link .admin-nav-icon {
        width: 32px;
        height: 32px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(255, 255, 255, .035);
        border-radius: 10px;
        color: #8997ad;
        background: rgba(255, 255, 255, .032);
        transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease;
    }


        .admin-sidebar[b-h4mf20anz1]  .admin-nav-link .admin-nav-icon svg {
            width: 17px;
            height: 17px;
            display: block;
        }


    /* ============================================================
   HOVER
   ============================================================ */

    .admin-sidebar[b-h4mf20anz1]  .admin-nav-link:hover {
        color: #ffffff !important;
        background: var(--sidebar-hover);
        border-color: rgba(255, 255, 255, .045);
        text-decoration: none !important;
    }


        .admin-sidebar[b-h4mf20anz1]  .admin-nav-link:hover .admin-nav-icon {
            color: #b9c6ff;
            border-color: rgba(142, 163, 255, .10);
            background: rgba(127, 151, 255, .09);
            transform: translateY(-1px);
        }


    /* ============================================================
   ACTIVE ITEM
   ============================================================ */

    .admin-sidebar[b-h4mf20anz1]  .admin-nav-link.active {
        color: #ffffff !important;
        background: linear-gradient( 90deg, rgba(107, 132, 239, .20), rgba(107, 132, 239, .095) );
        border-color: rgba(133, 155, 255, .14);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
        text-decoration: none !important;
    }


        /* active indicator */

        .admin-sidebar[b-h4mf20anz1]  .admin-nav-link.active::before {
            content: "";
            position: absolute;
            inset-block: 9px;
            inset-inline-start: -1px;
            width: 3px;
            border-radius: 0 999px 999px 0;
            background: var(--sidebar-accent);
            box-shadow: 0 0 14px rgba(129, 152, 255, .48);
        }


.admin-surface[dir="rtl"]
.admin-sidebar[b-h4mf20anz1]
 .admin-nav-link.active::before {
    border-radius: 999px 0 0 999px;
}


.admin-sidebar[b-h4mf20anz1]  .admin-nav-link.active .admin-nav-icon {
    color: #ffffff;
    border-color: rgba(157, 176, 255, .22);
    background: linear-gradient( 145deg, rgba(112, 139, 255, .36), rgba(91, 115, 226, .19) );
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}


/* ============================================================
   DISABLED ITEM
   ============================================================ */

.admin-nav-link.is-disabled[b-h4mf20anz1] {
    opacity: .44;
    cursor: default;
}


    .admin-nav-link.is-disabled small[b-h4mf20anz1] {
        display: none;
    }


/* ============================================================
   SIDEBAR FOOTER
   ============================================================ */

.admin-sidebar-footer[b-h4mf20anz1] {
    padding: 11px;
    border-top: 1px solid var(--sidebar-border);
    background: rgba(3, 8, 17, .19);
    backdrop-filter: blur(12px);
}


.admin-return-link[b-h4mf20anz1] {
    min-height: 43px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    padding: 5px 9px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #c4cedd;
    font-size: 10.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: .16s ease;
}


    .admin-return-link:visited[b-h4mf20anz1] {
        color: #c4cedd;
        text-decoration: none !important;
    }


    .admin-return-link .admin-nav-icon[b-h4mf20anz1] {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        color: #8997ad;
        background: rgba(255, 255, 255, .035);
    }


    .admin-return-link:hover[b-h4mf20anz1] {
        color: #ffffff;
        border-color: rgba(255, 255, 255, .05);
        background: rgba(255, 255, 255, .055);
        text-decoration: none !important;
    }


        .admin-return-link:hover .admin-nav-icon[b-h4mf20anz1] {
            color: #b9c6ff;
            background: rgba(127, 151, 255, .09);
        }


/* ============================================================
   DARK THEME
   Sidebar remains dark but gets slightly deeper
   ============================================================ */

html[data-theme="dark"] .admin-sidebar[b-h4mf20anz1] {
    --sidebar-bg-top: #111a2b;
    --sidebar-bg-bottom: #080f1c;
    background: radial-gradient( circle at 30% -5%, rgba(101, 127, 238, .17), transparent 28% ), linear-gradient( 180deg, var(--sidebar-bg-top) 0%, var(--sidebar-bg-bottom) 100% );
}


/* ============================================================
   MOBILE SIDEBAR
   ============================================================ */

@media (max-width: 960px) {

    .admin-frame[b-h4mf20anz1],
    .admin-surface[dir="rtl"] .admin-frame[b-h4mf20anz1] {
        display: block;
        direction: inherit;
    }


    .admin-surface[dir="rtl"] .admin-sidebar[b-h4mf20anz1],
    .admin-surface[dir="rtl"] .admin-main-panel[b-h4mf20anz1] {
        grid-column: auto;
        grid-row: auto;
    }


    .admin-sidebar[b-h4mf20anz1] {
        width: min(292px, 88vw);
        box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
    }


    .admin-sidebar-brand[b-h4mf20anz1] {
        height: 76px;
    }


    .admin-sidebar-scroll[b-h4mf20anz1] {
        padding-top: 13px;
    }
}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 430px) {

    .admin-sidebar[b-h4mf20anz1] {
        width: min(286px, 91vw);
    }


        .admin-sidebar[b-h4mf20anz1]  .admin-nav-link {
            min-height: 42px;
            font-size: 11px;
        }
}

/* ============================================================
   SUPPORT TICKET BADGE
   ============================================================ */

.admin-sidebar[b-h4mf20anz1]  .admin-nav-link .admin-ticket-badge {
    min-width: 21px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 999px;
    background: #c94a52;
    color: #fff;
    font-size: 8px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 5px 14px rgba(201, 74, 82, .22);
}

/* Goftito logo in the sidebar brand box. */
.admin-brand-mark .goftito-mark[b-h4mf20anz1] {
    display: block;
    width: 72%;
    height: 72%;
    object-fit: contain;
}
/* _content/AITranslationPlatform.Web/Components/TrainingPanel/TrainingPanelLogin.razor.rz.scp.css */
.admin-login-page[b-ocmwb4ov21] {
    --admin-login-primary: #1844c6;
    --admin-login-primary-hover: #123aa9;
    --admin-login-primary-soft: rgba(24, 68, 198, .09);
    --admin-login-bg: #eef2f8;
    --admin-login-surface: rgba(255, 255, 255, .90);
    --admin-login-surface-strong: #ffffff;
    --admin-login-text: #141923;
    --admin-login-text-2: #596273;
    --admin-login-muted: #8b93a2;
    --admin-login-border: rgba(25, 34, 52, .09);
    --admin-login-border-strong: rgba(25, 34, 52, .14);
    --admin-login-danger: #c7464d;
    --admin-login-danger-soft: rgba(199, 70, 77, .08);
    --admin-login-shadow: 0 38px 100px rgba(33, 51, 86, .14);

    position: relative;
    min-height: 100dvh;
    overflow: hidden;
    color: var(--admin-login-text);
    background: var(--admin-login-bg);
}

.admin-login-background[b-ocmwb4ov21] {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.admin-login-orb[b-ocmwb4ov21] {
    position: absolute;
    border-radius: 999px;
    filter: blur(1px);
}

.orb-a[b-ocmwb4ov21] {
    width: 520px;
    height: 520px;
    inset-inline-start: -170px;
    top: -170px;
    background: radial-gradient(circle, rgba(24, 68, 198, .14), rgba(24, 68, 198, 0) 70%);
}

.orb-b[b-ocmwb4ov21] {
    width: 620px;
    height: 620px;
    inset-inline-end: -230px;
    bottom: -250px;
    background: radial-gradient(circle, rgba(83, 115, 223, .11), rgba(83, 115, 223, 0) 72%);
}

.admin-login-grid[b-ocmwb4ov21] {
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image:
        linear-gradient(rgba(31, 48, 80, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 48, 80, .045) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 70%);
}

.admin-login-topbar[b-ocmwb4ov21] {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 48px));
    min-height: 86px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.admin-login-brand[b-ocmwb4ov21] {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.admin-login-brand-mark[b-ocmwb4ov21] {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--admin-login-border);
    border-radius: 14px;
    color: var(--admin-login-primary);
    background: rgba(255,255,255,.72);
    box-shadow: 0 8px 24px rgba(26, 46, 84, .06);
}

.admin-login-brand-mark svg[b-ocmwb4ov21] {
    width: 24px;
    height: 24px;
}

.admin-login-brand > span:last-child[b-ocmwb4ov21] {
    display: grid;
    gap: 2px;
}

.admin-login-brand strong[b-ocmwb4ov21] {
    font-size: 14px;
    letter-spacing: -.01em;
}

.admin-login-brand small[b-ocmwb4ov21] {
    color: var(--admin-login-muted);
    font-size: 10px;
    font-weight: 700;
}

.admin-login-top-actions[b-ocmwb4ov21] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-login-top-button[b-ocmwb4ov21] {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    border: 1px solid var(--admin-login-border);
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: #5c6574;
    background: rgba(255,255,255,.68);
    text-decoration: none;
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}

.admin-login-top-button:hover[b-ocmwb4ov21] {
    border-color: rgba(24,68,198,.24);
    color: var(--admin-login-primary);
    background: #fff;
    transform: translateY(-1px);
}

.admin-login-language[b-ocmwb4ov21] {
    font-size: 11px;
    font-weight: 900;
}

.admin-login-top-button svg[b-ocmwb4ov21] {
    width: 18px;
    height: 18px;
}

.admin-login-theme-dark[b-ocmwb4ov21] {
    display: none;
}

.admin-login-shell[b-ocmwb4ov21] {
    position: relative;
    z-index: 1;
    width: min(1080px, calc(100% - 48px));
    margin: 38px auto 70px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(310px, .82fr);
    border: 1px solid rgba(255,255,255,.88);
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255,255,255,.46);
    box-shadow: var(--admin-login-shadow);
    backdrop-filter: blur(28px);
}

.admin-login-card[b-ocmwb4ov21] {
    padding: clamp(28px, 4vw, 52px);
    background: var(--admin-login-surface);
}

.admin-login-card-heading[b-ocmwb4ov21] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 30px;
}

.admin-login-security-mark[b-ocmwb4ov21] {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--admin-login-primary);
    background: var(--admin-login-primary-soft);
}

.admin-login-security-mark svg[b-ocmwb4ov21] {
    width: 25px;
    height: 25px;
}

.admin-login-eyebrow[b-ocmwb4ov21],
.admin-login-side-eyebrow[b-ocmwb4ov21] {
    color: var(--admin-login-primary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.admin-login-card h1[b-ocmwb4ov21] {
    margin: 6px 0 8px;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.25;
    letter-spacing: -.035em;
}

.admin-login-card-heading p[b-ocmwb4ov21],
.admin-login-side-card p[b-ocmwb4ov21] {
    margin: 0;
    color: var(--admin-login-text-2);
    font-size: 13px;
    line-height: 1.9;
}

.admin-login-alert[b-ocmwb4ov21] {
    margin-bottom: 22px;
    padding: 13px 15px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    border: 1px solid rgba(199,70,77,.16);
    border-radius: 14px;
    color: #a33a41;
    background: var(--admin-login-danger-soft);
    font-size: 12px;
    line-height: 1.7;
}

.admin-login-alert-icon[b-ocmwb4ov21] {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
}

.admin-login-alert-icon svg[b-ocmwb4ov21] {
    width: 17px;
    height: 17px;
}

.admin-login-form[b-ocmwb4ov21] {
    display: grid;
    gap: 18px;
}

.admin-login-field[b-ocmwb4ov21] {
    display: grid;
    gap: 8px;
}

.admin-login-field > span[b-ocmwb4ov21] {
    color: #3f4858;
    font-size: 11px;
    font-weight: 850;
}

.admin-login-input-shell[b-ocmwb4ov21] {
    min-height: 50px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid var(--admin-login-border-strong);
    border-radius: 15px;
    background: rgba(249,250,253,.88);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.admin-login-input-shell:focus-within[b-ocmwb4ov21] {
    border-color: rgba(24,68,198,.48);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(24,68,198,.08);
}

.admin-login-input-icon[b-ocmwb4ov21] {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: #8c94a2;
}

.admin-login-input-icon svg[b-ocmwb4ov21] {
    width: 18px;
    height: 18px;
}

.admin-login-input-shell input[b-ocmwb4ov21] {
    width: 100%;
    height: 48px;
    padding: 0;
    border: 0;
    outline: 0;
    color: var(--admin-login-text);
    background: transparent;
    font: inherit;
    font-size: 13px;
}

.admin-login-input-shell input[b-ocmwb4ov21]::placeholder {
    color: #aab0bb;
}

.admin-login-submit[b-ocmwb4ov21] {
    min-height: 50px;
    margin-top: 3px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 15px;
    color: #fff;
    background: var(--admin-login-primary);
    box-shadow: 0 15px 30px rgba(24,68,198,.20);
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.admin-login-submit:hover[b-ocmwb4ov21] {
    background: var(--admin-login-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(24,68,198,.24);
}

.admin-login-submit svg[b-ocmwb4ov21] {
    width: 18px;
    height: 18px;
}

[dir="rtl"] .admin-login-submit svg[b-ocmwb4ov21] {
    transform: scaleX(-1);
}

.admin-login-security-note[b-ocmwb4ov21] {
    margin-top: 22px;
    padding-top: 19px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    border-top: 1px solid var(--admin-login-border);
    color: var(--admin-login-muted);
    font-size: 10.5px;
    line-height: 1.75;
}

.admin-login-security-note svg[b-ocmwb4ov21] {
    width: 17px;
    height: 17px;
    margin-top: 1px;
}

.admin-login-side-card[b-ocmwb4ov21] {
    position: relative;
    padding: clamp(30px, 4vw, 52px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ecf1ff;
    background:
        radial-gradient(circle at 80% 14%, rgba(101,129,230,.22), transparent 30%),
        linear-gradient(155deg, #202c46 0%, #151d2d 64%, #121926 100%);
}

.admin-login-side-card[b-ocmwb4ov21]::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 22px;
    pointer-events: none;
}

.admin-login-side-card > *[b-ocmwb4ov21] {
    position: relative;
    z-index: 1;
}

.admin-login-side-eyebrow[b-ocmwb4ov21] {
    color: #94abff;
}

.admin-login-side-card h2[b-ocmwb4ov21] {
    margin: 10px 0 13px;
    font-size: clamp(23px, 2.8vw, 31px);
    line-height: 1.38;
    letter-spacing: -.035em;
}

.admin-login-side-card p[b-ocmwb4ov21] {
    color: #aeb9cd;
}

.admin-login-feature-list[b-ocmwb4ov21] {
    margin-top: 26px;
    display: grid;
    gap: 12px;
}

[b-ocmwb4ov21] .admin-login-feature {
    min-height: 38px;
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 10px;
    align-items: center;
    color: #dce5f7;
}

[b-ocmwb4ov21] .admin-login-feature span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #9db0fb;
    background: rgba(130,153,236,.10);
}

[b-ocmwb4ov21] .admin-login-feature svg {
    width: 15px;
    height: 15px;
}

[b-ocmwb4ov21] .admin-login-feature strong {
    font-size: 11px;
    font-weight: 750;
}

.admin-login-user-link[b-ocmwb4ov21] {
    width: fit-content;
    margin-top: 32px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(157,176,251,.35);
    color: #aebfff;
    text-decoration: none;
    font-size: 10.5px;
    font-weight: 800;
}

:global(html[data-theme="dark"]) .admin-login-page[b-ocmwb4ov21] {
    --admin-login-bg: #0c101a;
    --admin-login-surface: rgba(20, 26, 39, .94);
    --admin-login-surface-strong: #151b28;
    --admin-login-text: #edf1f8;
    --admin-login-text-2: #aeb7c7;
    --admin-login-muted: #737e90;
    --admin-login-border: rgba(255,255,255,.065);
    --admin-login-border-strong: rgba(255,255,255,.095);
    --admin-login-primary: #708df1;
    --admin-login-primary-hover: #8099f3;
    --admin-login-primary-soft: rgba(95,128,235,.12);
    --admin-login-shadow: 0 42px 110px rgba(0,0,0,.38);
}

:global(html[data-theme="dark"]) .admin-login-grid[b-ocmwb4ov21] {
    opacity: .16;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
}

:global(html[data-theme="dark"]) .admin-login-brand-mark[b-ocmwb4ov21],
:global(html[data-theme="dark"]) .admin-login-top-button[b-ocmwb4ov21] {
    border-color: rgba(255,255,255,.075);
    color: #b3bdd0;
    background: rgba(21,27,40,.76);
}

:global(html[data-theme="dark"]) .admin-login-top-button:hover[b-ocmwb4ov21] {
    color: #91a8fb;
    background: #181f2e;
}

:global(html[data-theme="dark"]) .admin-login-shell[b-ocmwb4ov21] {
    border-color: rgba(255,255,255,.055);
    background: rgba(9,13,21,.56);
}

:global(html[data-theme="dark"]) .admin-login-field > span[b-ocmwb4ov21] {
    color: #c6cddd;
}

:global(html[data-theme="dark"]) .admin-login-input-shell[b-ocmwb4ov21] {
    background: rgba(255,255,255,.035);
}

:global(html[data-theme="dark"]) .admin-login-input-shell:focus-within[b-ocmwb4ov21] {
    background: rgba(255,255,255,.055);
}

:global(html[data-theme="dark"]) .admin-login-theme-light[b-ocmwb4ov21] {
    display: none;
}

:global(html[data-theme="dark"]) .admin-login-theme-dark[b-ocmwb4ov21] {
    display: block;
}

@media (max-width: 900px) {
    .admin-login-shell[b-ocmwb4ov21] {
        grid-template-columns: 1fr;
        width: min(680px, calc(100% - 36px));
        margin-top: 20px;
    }

    .admin-login-side-card[b-ocmwb4ov21] {
        min-height: 360px;
    }
}

@media (max-width: 600px) {
    .admin-login-topbar[b-ocmwb4ov21] {
        width: calc(100% - 28px);
        min-height: 72px;
    }

    .admin-login-brand small[b-ocmwb4ov21] {
        display: none;
    }

    .admin-login-shell[b-ocmwb4ov21] {
        width: calc(100% - 24px);
        margin: 12px auto 34px;
        border-radius: 22px;
    }

    .admin-login-card[b-ocmwb4ov21],
    .admin-login-side-card[b-ocmwb4ov21] {
        padding: 24px 20px;
    }

    .admin-login-card-heading[b-ocmwb4ov21] {
        grid-template-columns: 1fr;
    }

    .admin-login-security-mark[b-ocmwb4ov21] {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .admin-login-side-card[b-ocmwb4ov21] {
        min-height: 330px;
    }
}

/* Goftito logo in the brand box. */
.admin-login-brand-mark .goftito-mark[b-ocmwb4ov21] {
    display: block;
    width: 72%;
    height: 72%;
    object-fit: contain;
}
/* _content/AITranslationPlatform.Web/Components/TranslationMemory/TranslationMemory.razor.rz.scp.css */
/* =========================================================
   TRANSLATION MEMORY — PREMIUM WORKSPACE V1
   Unified with Dashboard / Documents / Glossaries
   ========================================================= */

.tm-page[b-m64u6pjkg9] {
    --tm-accent: var(--ui-accent, #f2bd43);
    --tm-accent-strong: var(--ui-accent-strong, #dfa62c);
    --tm-accent-soft: var(--ui-accent-soft, rgba(226, 175, 46, .12));
    --tm-accent-tint: var(--ui-accent-tint, rgba(226, 175, 46, .065));

    --tm-text: var(--text, #28241e);
    --tm-text-2: var(--text-secondary, #625d54);
    --tm-muted: var(--muted, #918a7f);

    --tm-surface: var(--surface, #ffffff);
    --tm-surface-raised: var(--ui-surface-raised, #ffffff);
    --tm-surface-strong: var(--ui-surface-strong, #fffdf9);
    --tm-surface-soft: var(--ui-surface-sunken, #faf8f3);

    --tm-line: var(--ui-line, rgba(48, 43, 34, .10));
    --tm-line-strong: var(--ui-line-strong, rgba(48, 43, 34, .16));

    --tm-success: var(--ui-success, #4a8c61);
    --tm-success-soft: var(--ui-success-tint, rgba(74, 140, 97, .10));
    --tm-danger: var(--ui-danger, #b65050);
    --tm-danger-soft: var(--ui-danger-tint, rgba(182, 80, 80, .10));

    --tm-shadow-sm: var(--ui-shadow-sm, 0 8px 22px rgba(32, 28, 22, .055));
    --tm-shadow-md: var(--ui-shadow-md, 0 18px 46px rgba(32, 28, 22, .085));

    width: min(100%, 1480px);
    margin: 0 auto;
    padding: 0 0 28px;

    display: grid;
    gap: 18px;

    color: var(--tm-text);
}


/* =========================================================
   HERO
   ========================================================= */

.tm-hero[b-m64u6pjkg9] {
    position: relative;

    min-height: 210px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;

    margin: 0;
    padding: 30px 32px;

    overflow: hidden;

    border: 1px solid var(--tm-line);
    border-radius: 28px;

    background:
        radial-gradient(115% 145% at 8% -18%, var(--tm-accent-soft), transparent 48%),
        radial-gradient(85% 115% at 96% 118%, rgba(130, 121, 103, .07), transparent 56%),
        linear-gradient(135deg, var(--tm-surface-strong), var(--tm-surface));

    box-shadow: var(--tm-shadow-md);

    animation: tm-card-in-b-m64u6pjkg9 .62s cubic-bezier(.2,.8,.2,1) .03s backwards;
}

.tm-page[dir="rtl"] .tm-hero[b-m64u6pjkg9] {
    background:
        radial-gradient(115% 145% at 92% -18%, var(--tm-accent-soft), transparent 48%),
        radial-gradient(85% 115% at 4% 118%, rgba(130, 121, 103, .07), transparent 56%),
        linear-gradient(225deg, var(--tm-surface-strong), var(--tm-surface));
}

.tm-hero[b-m64u6pjkg9]::before,
.tm-hero[b-m64u6pjkg9]::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.tm-hero[b-m64u6pjkg9]::before {
    width: 285px;
    height: 285px;

    inset-block-start: -184px;
    inset-inline-end: -94px;

    border: 42px solid var(--tm-accent-soft);

    opacity: .78;
}

.tm-hero[b-m64u6pjkg9]::after {
    width: 154px;
    height: 154px;

    inset-block-end: -101px;
    inset-inline-start: -44px;

    border: 26px solid var(--tm-line-strong);

    opacity: .62;
}

.tm-hero > div[b-m64u6pjkg9] {
    position: relative;
    z-index: 2;

    max-width: 820px;
}

.tm-hero > div > span[b-m64u6pjkg9] {
    width: max-content;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin: 0 0 9px;
    padding: 6px 11px;

    border: 1px solid rgba(226, 175, 46, .28);
    border-radius: 999px;

    background: var(--tm-surface-raised);

    color: #a86e11;

    font-size: .60rem;
    font-weight: 850;
    letter-spacing: .055em;
}

.tm-hero > div > span[b-m64u6pjkg9]::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--tm-accent-strong);

    box-shadow: 0 0 0 4px var(--tm-accent-soft);
}

.tm-page[dir="rtl"] .tm-hero > div > span[b-m64u6pjkg9] {
    letter-spacing: 0;
}

.tm-hero h1[b-m64u6pjkg9] {
    margin: 0;

    color: var(--tm-text);

    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.tm-page[dir="rtl"] .tm-hero h1[b-m64u6pjkg9] {
    letter-spacing: 0;
}

.tm-hero p[b-m64u6pjkg9] {
    max-width: 760px;

    margin: 11px 0 0;

    color: var(--tm-text-2);

    font-size: .82rem;
    line-height: 1.9;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.tm-primary[b-m64u6pjkg9],
.tm-page button[b-m64u6pjkg9] {
    font: inherit;
}

.tm-primary[b-m64u6pjkg9] {
    position: relative;
    z-index: 3;

    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    flex: 0 0 auto;

    padding: 0 17px;

    border: 1px solid transparent;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--tm-accent),
            var(--tm-accent-strong)
        );

    color: #34270f;

    font-size: .66rem;
    font-weight: 850;

    cursor: pointer;

    box-shadow:
        0 12px 26px rgba(226, 175, 46, .22),
        inset 0 1px 0 rgba(255,255,255,.35);

    transition: .18s ease;
}

.tm-primary:hover:not(:disabled)[b-m64u6pjkg9] {
    transform: translateY(-2px);

    box-shadow:
        0 17px 34px rgba(226,175,46,.28),
        inset 0 1px 0 rgba(255,255,255,.38);
}


/* =========================================================
   SUMMARY — SAME LANGUAGE AS TRANSLATION CARDS
   ========================================================= */

.tm-summary[b-m64u6pjkg9] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;

    margin: 0;
}

.tm-summary article[b-m64u6pjkg9] {
    position: relative;

    min-width: 0;
    min-height: 88px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 11px 78px 10px 14px;

    overflow: hidden;

    border: 1px solid var(--tm-line);
    border-radius: 16px;

    background:
        linear-gradient(
            90deg,
            #f6e6b7 0%,
            #fbf2d8 48%,
            #ffffff 100%
        );

    box-shadow:
        0 2px 8px rgba(16,24,40,.05),
        inset 0 1px 0 rgba(255,255,255,.50);

    transition: .16s ease;
}

.tm-summary article:hover[b-m64u6pjkg9] {
    transform: translateY(-1px);

    border-color: var(--tm-line-strong);

    box-shadow:
        0 4px 12px rgba(16,24,40,.07),
        inset 0 1px 0 rgba(255,255,255,.52);
}

.tm-summary article[b-m64u6pjkg9]::before {
    position: absolute;

    top: 50%;
    right: 15px;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    transform: translateY(-50%);

    color: #7f7357;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
}

.tm-summary article[b-m64u6pjkg9]::after {
    content: "";

    position: absolute;

    top: 13px;
    bottom: 13px;
    right: 62px;

    width: 1px;

    background: var(--tm-line);
}

.tm-summary article:nth-child(1)[b-m64u6pjkg9]::before { content: "M"; }
.tm-summary article:nth-child(2)[b-m64u6pjkg9]::before { content: "↔"; }
.tm-summary article:nth-child(3)[b-m64u6pjkg9]::before { content: "≡"; }
.tm-summary article:nth-child(4)[b-m64u6pjkg9]::before { content: "AI"; font-size: .76rem; }
.tm-summary article:nth-child(5)[b-m64u6pjkg9]::before { content: "C"; }
.tm-summary article:nth-child(6)[b-m64u6pjkg9]::before { content: "↻"; }
.tm-summary article:nth-child(7)[b-m64u6pjkg9]::before { content: "◷"; }

.tm-summary small[b-m64u6pjkg9] {
    display: block;

    margin: 0 0 4px;

    color: var(--tm-text-2);

    font-size: .56rem;
    font-weight: 780;
    line-height: 1.35;

    text-align: right;
}

.tm-summary strong[b-m64u6pjkg9] {
    display: block;

    margin: 0;

    color: #eea000;

    font-size: 1.18rem;
    font-weight: 900;
    line-height: 1.08;

    font-variant-numeric: tabular-nums;

    text-align: right;
}

.tm-page[dir="ltr"] .tm-summary article[b-m64u6pjkg9] {
    padding-left: 78px;
    padding-right: 14px;
}

.tm-page[dir="ltr"] .tm-summary article[b-m64u6pjkg9]::before {
    right: auto;
    left: 15px;
}

.tm-page[dir="ltr"] .tm-summary article[b-m64u6pjkg9]::after {
    right: auto;
    left: 62px;
}

.tm-page[dir="ltr"] .tm-summary small[b-m64u6pjkg9],
.tm-page[dir="ltr"] .tm-summary strong[b-m64u6pjkg9] {
    text-align: left;
}


/* =========================================================
   MAIN PANEL
   ========================================================= */

.tm-panel[b-m64u6pjkg9] {
    min-width: 0;

    padding: 0;

    overflow: hidden;

    border: 1px solid var(--tm-line);
    border-radius: 24px;

    background: var(--tm-surface);

    box-shadow: var(--tm-shadow-sm);

    animation: tm-card-in-b-m64u6pjkg9 .58s cubic-bezier(.2,.8,.2,1) .10s backwards;
}


/* =========================================================
   TOOLBAR
   ========================================================= */

.tm-toolbar[b-m64u6pjkg9] {
    display: grid;
    grid-template-columns:
        minmax(280px, 1.35fr)
        repeat(3, minmax(145px, .42fr));
    gap: 9px;

    padding: 12px 14px;

    border-bottom: 1px solid var(--tm-line);

    background:
        linear-gradient(180deg, var(--tm-surface-soft), transparent);
}

.tm-toolbar input[b-m64u6pjkg9],
.tm-toolbar select[b-m64u6pjkg9] {
    width: 100%;
    min-height: 42px;

    box-sizing: border-box;

    border: 1px solid var(--tm-line);
    border-radius: 12px;
    outline: 0;

    background: var(--tm-surface-raised);

    color: var(--tm-text);

    font-family: inherit;
    font-size: .63rem;
    font-weight: 680;

    transition: .16s ease;
}

.tm-toolbar input[b-m64u6pjkg9] {
    padding: 0 12px;
}

.tm-toolbar select[b-m64u6pjkg9] {
    padding: 0 10px;
}

.tm-toolbar input[b-m64u6pjkg9]::placeholder {
    color: var(--tm-muted);
}

.tm-toolbar input:focus[b-m64u6pjkg9],
.tm-toolbar select:focus[b-m64u6pjkg9] {
    border-color: var(--tm-accent-strong);

    box-shadow: 0 0 0 3px var(--tm-accent-soft);
}


/* =========================================================
   BULK
   ========================================================= */

.tm-bulk[b-m64u6pjkg9] {
    min-height: 52px;

    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;

    margin: 0;
    padding: 9px 14px;

    border-bottom: 1px solid rgba(226,175,46,.18);

    background:
        linear-gradient(90deg, var(--tm-accent-tint), transparent 75%);
}

.tm-bulk b[b-m64u6pjkg9] {
    color: #9c6b16;

    font-size: .58rem;
    font-weight: 820;
}

.tm-bulk button[b-m64u6pjkg9],
.tm-actions button[b-m64u6pjkg9],
.tm-state button[b-m64u6pjkg9],
.tm-modal footer button[b-m64u6pjkg9] {
    min-height: 34px;

    border: 1px solid var(--tm-line);
    border-radius: 10px;

    background: var(--tm-surface-raised);

    color: var(--tm-text-2);

    padding: 0 11px;

    font-family: inherit;
    font-size: .55rem;
    font-weight: 780;

    cursor: pointer;

    transition: .16s ease;
}

.tm-bulk button:hover[b-m64u6pjkg9],
.tm-actions button:hover[b-m64u6pjkg9],
.tm-state button:hover[b-m64u6pjkg9] {
    transform: translateY(-1px);

    border-color: var(--tm-accent-strong);

    color: #9c6b16;

    background: var(--tm-accent-soft);
}

.tm-danger[b-m64u6pjkg9] {
    border-color: rgba(182,80,80,.18) !important;

    background: var(--tm-danger-soft) !important;

    color: var(--tm-danger) !important;
}

.tm-danger:hover[b-m64u6pjkg9] {
    border-color: rgba(182,80,80,.28) !important;

    color: var(--tm-danger) !important;
}


/* =========================================================
   TABLE
   ========================================================= */

.tm-table[b-m64u6pjkg9] {
    display: grid;
    gap: 8px;

    margin: 0;

    padding: 0 10px 11px;

    overflow: visible;
}

.tm-row[b-m64u6pjkg9] {
    position: relative;

    display: grid;
    grid-template-columns:
        28px
        minmax(0, 1.35fr)
        minmax(0, 1.35fr)
        96px
        130px
        140px
        118px;
    gap: 11px;
    align-items: center;

    min-height: 78px;

    padding: 11px 12px;

    border: 1px solid transparent;
    border-radius: 15px;

    background: transparent;

    color: var(--tm-text);

    font-size: .62rem;

    transition: .16s ease;
}

.tm-row.tm-head[b-m64u6pjkg9] {
    min-height: 40px;

    margin: 0 -10px;
    padding: 0 18px;

    border: 0;
    border-bottom: 1px solid var(--tm-line);
    border-radius: 0;

    background: var(--tm-surface-soft);

    color: var(--tm-muted);

    font-size: .51rem;
    font-weight: 800;

    text-transform: none;
}

.tm-row:not(.tm-head):hover[b-m64u6pjkg9] {
    transform: translateY(-1px);

    border-color: var(--tm-line);

    background:
        linear-gradient(90deg, var(--tm-accent-tint), transparent 72%),
        var(--tm-surface-strong);

    box-shadow: var(--tm-shadow-sm);
}

.tm-row.selected[b-m64u6pjkg9] {
    border-color: rgba(226,175,46,.24);

    background:
        linear-gradient(90deg, var(--tm-accent-soft), transparent 72%),
        var(--tm-surface-strong);

    box-shadow:
        inset 3px 0 0 var(--tm-accent-strong),
        var(--tm-shadow-sm);
}

.tm-page[dir="rtl"] .tm-row.selected[b-m64u6pjkg9] {
    box-shadow:
        inset -3px 0 0 var(--tm-accent-strong),
        var(--tm-shadow-sm);
}

.tm-row > div[b-m64u6pjkg9] {
    min-width: 0;
}

.tm-row small[b-m64u6pjkg9] {
    display: block;

    margin-top: 4px;

    color: var(--tm-muted);

    font-size: .49rem;
    line-height: 1.5;
}

.tm-row strong[b-m64u6pjkg9] {
    color: var(--tm-text);

    font-size: .58rem;
    font-weight: 810;
}


/* =========================================================
   CHECKBOX
   ========================================================= */

.tm-check[b-m64u6pjkg9] {
    position: relative;

    width: 20px;
    height: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tm-check input[b-m64u6pjkg9] {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}

.tm-check i[b-m64u6pjkg9] {
    width: 17px;
    height: 17px;

    display: grid;
    place-items: center;

    border: 1px solid var(--tm-line-strong);
    border-radius: 6px;

    background: var(--tm-surface-raised);

    transition: .16s ease;
}

.tm-check input:checked + i[b-m64u6pjkg9] {
    border-color: var(--tm-accent-strong);

    background:
        linear-gradient(
            135deg,
            var(--tm-accent),
            var(--tm-accent-strong)
        );

    box-shadow: 0 4px 10px rgba(226,175,46,.18);
}

.tm-check input:checked + i[b-m64u6pjkg9]::after {
    content: "✓";

    display: block;

    color: #34270f;

    font-style: normal;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}


/* =========================================================
   MEMORY TEXT
   ========================================================= */

.tm-memory-text[b-m64u6pjkg9] {
    max-height: 7.6em;

    overflow: auto;

    padding-inline-end: 4px;

    color: var(--tm-text);

    font-size: .60rem;
    line-height: 1.65;

    overflow-wrap: anywhere;
    word-break: break-word;

    scrollbar-width: thin;
}

.tm-memory-text[b-m64u6pjkg9]::-webkit-scrollbar {
    width: 7px;
}

.tm-memory-text[b-m64u6pjkg9]::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;

    background: rgba(127,115,87,.24);
    background-clip: padding-box;
}


/* =========================================================
   STATUS
   ========================================================= */

.tm-status[b-m64u6pjkg9] {
    width: max-content;

    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 5px 7px;

    border: 1px solid var(--tm-line);
    border-radius: 999px;

    background: var(--tm-surface-soft);

    color: var(--tm-muted);

    font-size: .49rem;
    font-weight: 820;
}

.tm-status[b-m64u6pjkg9]::before {
    content: "";

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: currentColor;
}

.tm-status.approved[b-m64u6pjkg9] {
    border-color: rgba(74,140,97,.12);

    background: var(--tm-success-soft);

    color: var(--tm-success);
}


/* =========================================================
   ACTIONS
   ========================================================= */

.tm-actions[b-m64u6pjkg9] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tm-actions button[b-m64u6pjkg9] {
    min-height: 32px;

    padding: 0 9px;

    font-size: .51rem;
}


/* =========================================================
   STATES / EMPTY
   ========================================================= */

.tm-state[b-m64u6pjkg9] {
    min-height: 132px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 24px;

    color: var(--tm-muted);

    font-size: .62rem;
    line-height: 1.7;

    text-align: center;
}

.tm-panel.tm-state[b-m64u6pjkg9] {
    border-radius: 22px;
}


/* =========================================================
   MODAL — SELF CONTAINED TOKENS
   Modal is outside .tm-page in current Razor
   ========================================================= */

.tm-modal[b-m64u6pjkg9] {
    --tm-accent: var(--ui-accent, #f2bd43);
    --tm-accent-strong: var(--ui-accent-strong, #dfa62c);
    --tm-accent-soft: var(--ui-accent-soft, rgba(226, 175, 46, .12));

    --tm-text: var(--text, #28241e);
    --tm-text-2: var(--text-secondary, #625d54);

    --tm-surface-raised: var(--ui-surface-raised, #ffffff);
    --tm-surface-soft: var(--ui-surface-sunken, #faf8f3);

    --tm-line: var(--ui-line, rgba(48, 43, 34, .10));
    --tm-line-strong: var(--ui-line-strong, rgba(48, 43, 34, .16));

    --tm-danger: var(--ui-danger, #b65050);
    --tm-danger-soft: var(--ui-danger-tint, rgba(182, 80, 80, .10));

    position: fixed;
    inset: 0;
    z-index: 2100;

    display: grid;
    place-items: center;

    padding: 24px;

    background: rgba(20,18,14,.38);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tm-modal section[b-m64u6pjkg9] {
    width: min(100%, 590px);
    max-height: min(88vh, 780px);

    overflow: auto;

    box-sizing: border-box;

    padding: 24px;

    border: 1px solid var(--tm-line-strong);
    border-radius: 24px;

    background: var(--tm-surface-raised);

    color: var(--tm-text);

    box-shadow: 0 28px 80px rgba(20,18,14,.24);

    animation: tm-dialog-in-b-m64u6pjkg9 .30s cubic-bezier(.2,.8,.2,1) both;
}

.tm-modal h2[b-m64u6pjkg9] {
    margin: 0 0 16px;

    color: var(--tm-text);

    font-size: 1rem;
    font-weight: 850;
    line-height: 1.4;
}

.tm-modal section > p:not(.tm-error)[b-m64u6pjkg9] {
    margin: 0 0 8px;

    color: var(--tm-text-2);

    font-size: .65rem;
    line-height: 1.8;
}

.tm-modal label:not(.tm-toggle)[b-m64u6pjkg9] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;

    width: 100%;

    margin: 13px 0 0;

    color: var(--tm-text);

    font-size: .62rem;
    font-weight: 770;
}

.tm-modal textarea[b-m64u6pjkg9],
.tm-modal select[b-m64u6pjkg9] {
    width: 100%;
    min-height: 45px;

    box-sizing: border-box;

    margin: 0;
    padding: 10px 12px;

    border: 1px solid var(--tm-line-strong);
    border-radius: 12px;
    outline: 0;

    background: var(--tm-surface-soft);

    color: var(--tm-text);

    font: inherit;
    font-size: .66rem;
    line-height: 1.7;

    transition: .16s ease;
}

.tm-modal textarea[b-m64u6pjkg9] {
    min-height: 96px;

    resize: vertical;
}

.tm-modal textarea:focus[b-m64u6pjkg9],
.tm-modal select:focus[b-m64u6pjkg9] {
    border-color: var(--tm-accent-strong);

    background: var(--tm-surface-raised);

    box-shadow: 0 0 0 3px var(--tm-accent-soft);
}

.tm-modal .tm-toggle[b-m64u6pjkg9] {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;
    min-height: 46px;

    box-sizing: border-box;

    margin: 12px 0 0;
    padding: 10px 12px;

    border: 1px solid var(--tm-line);
    border-radius: 12px;

    background: var(--tm-surface-soft);

    color: var(--tm-text);

    font-size: .62rem;
    font-weight: 740;

    cursor: pointer;
}

.tm-modal .tm-toggle input[b-m64u6pjkg9] {
    width: 18px;
    height: 18px;

    margin: 0;

    accent-color: var(--tm-accent-strong);
}

.tm-error[b-m64u6pjkg9] {
    margin: 12px 0 0;

    padding: 9px 10px;

    border: 1px solid rgba(182,80,80,.14);
    border-radius: 10px;

    background: var(--tm-danger-soft);

    color: var(--tm-danger);

    font-size: .58rem;
    line-height: 1.65;
}

.tm-modal footer[b-m64u6pjkg9] {
    display: flex;
    justify-content: flex-start;
    gap: 8px;

    margin-top: 18px;
}

.tm-modal footer > button:first-child[b-m64u6pjkg9] {
    min-height: 40px;

    padding: 0 15px;

    border: 1px solid var(--tm-line-strong);
    border-radius: 11px;

    background: var(--tm-surface-raised);

    color: var(--tm-text-2);

    font-family: inherit;
    font-size: .61rem;
    font-weight: 800;

    cursor: pointer;
}

.tm-modal footer .tm-primary[b-m64u6pjkg9] {
    min-height: 40px;

    padding: 0 16px;

    border-radius: 11px;

    font-size: .61rem;
}

.tm-modal footer .tm-primary:disabled[b-m64u6pjkg9] {
    opacity: .58;
    cursor: wait;
}


/* =========================================================
   DARK MODE — WARM, NOT NAVY/BLACK
   ========================================================= */

html[data-theme="dark"] .tm-page[b-m64u6pjkg9] {
    --tm-text: var(--text, #f1eee8);
    --tm-text-2: var(--text-secondary, #c6bfb3);
    --tm-muted: var(--muted, #9b9386);

    --tm-surface: #1f1a15;
    --tm-surface-raised: #24201a;
    --tm-surface-strong: #262019;
    --tm-surface-soft: #191510;

    --tm-line: rgba(255,236,198,.08);
    --tm-line-strong: rgba(255,236,198,.14);

    --tm-shadow-sm: 0 12px 28px rgba(0,0,0,.13);
    --tm-shadow-md: 0 22px 50px rgba(0,0,0,.20);
}

html[data-theme="dark"] .tm-summary article[b-m64u6pjkg9] {
    border-color: var(--tm-line);

    background:
        linear-gradient(
            90deg,
            rgba(226,175,46,.16) 0%,
            rgba(226,175,46,.08) 48%,
            rgba(255,255,255,.025) 100%
        );

    box-shadow:
        0 6px 20px rgba(0,0,0,.12),
        inset 0 1px 0 rgba(255,255,255,.025);
}

html[data-theme="dark"] .tm-summary article[b-m64u6pjkg9]::before {
    color: #c6b490;
}

html[data-theme="dark"] .tm-summary strong[b-m64u6pjkg9] {
    color: #f1b43a;
}

html[data-theme="dark"] .tm-toolbar select option[b-m64u6pjkg9],
html[data-theme="dark"] .tm-modal select option[b-m64u6pjkg9] {
    background: #262019;
    color: #f1eee8;
}

html[data-theme="dark"] .tm-modal[b-m64u6pjkg9] {
    --tm-text: var(--text, #f1eee8);
    --tm-text-2: var(--text-secondary, #c6bfb3);

    --tm-surface-raised: #24201a;
    --tm-surface-soft: #191510;

    --tm-line: rgba(255,236,198,.08);
    --tm-line-strong: rgba(255,236,198,.14);

    background: rgba(6,5,4,.62);
}

html[data-theme="dark"] .tm-modal section[b-m64u6pjkg9] {
    box-shadow: 0 28px 80px rgba(0,0,0,.42);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {
    .tm-summary[b-m64u6pjkg9] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tm-toolbar[b-m64u6pjkg9] {
        grid-template-columns: minmax(230px, 1fr) repeat(2, minmax(130px, .48fr));
    }

    .tm-toolbar select:last-child[b-m64u6pjkg9] {
        grid-column: auto;
    }

    .tm-row[b-m64u6pjkg9] {
        grid-template-columns:
            26px
            minmax(0, 1fr)
            minmax(0, 1fr)
            92px
            120px
            118px;
    }

    .tm-row > :nth-child(6)[b-m64u6pjkg9],
    .tm-row.tm-head > :nth-child(6)[b-m64u6pjkg9] {
        display: none;
    }
}

@media (max-width: 900px) {
    .tm-toolbar[b-m64u6pjkg9] {
        grid-template-columns: 1fr 1fr;
    }

    .tm-toolbar input[b-m64u6pjkg9] {
        grid-column: 1 / -1;
    }

    .tm-row.tm-head[b-m64u6pjkg9] {
        display: none;
    }

    .tm-table[b-m64u6pjkg9] {
        gap: 9px;

        padding: 12px;
    }

    .tm-row:not(.tm-head)[b-m64u6pjkg9] {
        grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1fr);
        gap: 12px;

        padding: 14px;

        border-color: var(--tm-line);

        background: var(--tm-surface-strong);
    }

    .tm-row:not(.tm-head) > div[b-m64u6pjkg9]::before {
        content: attr(data-label);

        display: block;

        margin-bottom: 4px;

        color: var(--tm-muted);

        font-size: .47rem;
        font-weight: 800;
    }

    .tm-row:not(.tm-head) > div:nth-of-type(n+3)[b-m64u6pjkg9] {
        grid-column: 2 / -1;
    }

    .tm-actions[b-m64u6pjkg9] {
        grid-column: 2 / -1;
    }
}

@media (max-width: 650px) {
    .tm-page[b-m64u6pjkg9] {
        gap: 14px;
    }

    .tm-hero[b-m64u6pjkg9] {
        min-height: 0;

        flex-direction: column;
        align-items: stretch;

        padding: 23px 20px;

        border-radius: 22px;
    }

    .tm-primary[b-m64u6pjkg9] {
        width: 100%;
    }

    .tm-summary[b-m64u6pjkg9] {
        grid-template-columns: 1fr;
    }

    .tm-toolbar[b-m64u6pjkg9] {
        grid-template-columns: 1fr;
    }

    .tm-toolbar input[b-m64u6pjkg9] {
        grid-column: auto;
    }

    .tm-bulk[b-m64u6pjkg9] {
        align-items: stretch;
        flex-direction: column;
    }

    .tm-bulk button[b-m64u6pjkg9] {
        width: 100%;
    }

    .tm-row:not(.tm-head)[b-m64u6pjkg9] {
        grid-template-columns: 24px minmax(0, 1fr);
    }

    .tm-row:not(.tm-head) > div[b-m64u6pjkg9] {
        grid-column: 2;
    }

    .tm-actions[b-m64u6pjkg9] {
        grid-column: 2;
    }

    .tm-modal[b-m64u6pjkg9] {
        padding: 14px;
    }

    .tm-modal section[b-m64u6pjkg9] {
        width: 100%;
        max-height: 90vh;

        padding: 19px;

        border-radius: 20px;
    }

    .tm-modal footer[b-m64u6pjkg9] {
        flex-direction: column-reverse;
    }

    .tm-modal footer > button[b-m64u6pjkg9] {
        width: 100%;
    }
}


/* =========================================================
   MOTION
   ========================================================= */

@keyframes tm-card-in-b-m64u6pjkg9 {
    from {
        opacity: 0;
        transform: translateY(9px) scale(.995);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes tm-dialog-in-b-m64u6pjkg9 {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.985);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes tm-spin-b-m64u6pjkg9 {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tm-hero[b-m64u6pjkg9],
    .tm-panel[b-m64u6pjkg9],
    .tm-summary article[b-m64u6pjkg9],
    .tm-row[b-m64u6pjkg9],
    .tm-primary[b-m64u6pjkg9],
    .tm-modal section[b-m64u6pjkg9] {
        animation: none !important;
        transition: none !important;
    }
}


/* TRANSLATION MEMORY DARK THEME V2 - START */

/*
 * Warm dark theme override.
 * Removes cold navy/black surfaces from Translation Memory
 * and aligns them with the warm Dashboard / Glossary theme.
 */

html[data-theme="dark"] .tm-page[b-m64u6pjkg9] {
    --tm-text: #f3eee5 !important;
    --tm-text-2: #d2c8b7 !important;
    --tm-muted: #9d9487 !important;

    --tm-surface: #211b15 !important;
    --tm-surface-raised: #292219 !important;
    --tm-surface-strong: #2d251c !important;
    --tm-surface-soft: #19140f !important;

    --tm-line: rgba(255, 236, 198, .09) !important;
    --tm-line-strong: rgba(255, 236, 198, .15) !important;

    --tm-success: #8fc67d !important;
    --tm-success-soft: rgba(111, 161, 91, .14) !important;

    --tm-danger: #e28a83 !important;
    --tm-danger-soft: rgba(200, 92, 84, .12) !important;

    color: var(--tm-text) !important;
}

/* Hero */
html[data-theme="dark"] .tm-hero[b-m64u6pjkg9] {
    border-color: var(--tm-line-strong) !important;

    background:
        radial-gradient(115% 145% at 92% -18%, rgba(226,175,46,.11), transparent 48%),
        radial-gradient(85% 115% at 4% 118%, rgba(255,236,198,.035), transparent 56%),
        linear-gradient(225deg, #2c241b, #211b15) !important;

    box-shadow:
        0 20px 50px rgba(0,0,0,.20),
        inset 0 1px 0 rgba(255,255,255,.02) !important;
}

html[data-theme="dark"] .tm-hero > div > span[b-m64u6pjkg9] {
    border-color: rgba(226,175,46,.18) !important;
    background: #2a231b !important;
    color: #e5b84e !important;
}

html[data-theme="dark"] .tm-hero h1[b-m64u6pjkg9] {
    color: #f6f0e7 !important;
}

html[data-theme="dark"] .tm-hero p[b-m64u6pjkg9] {
    color: #c8beaf !important;
}

/* Summary cards */
html[data-theme="dark"] .tm-summary article[b-m64u6pjkg9] {
    border-color: rgba(255,236,198,.12) !important;

    background:
        linear-gradient(
            90deg,
            rgba(226,175,46,.16) 0%,
            rgba(226,175,46,.085) 48%,
            rgba(255,255,255,.025) 100%
        ) !important;

    box-shadow:
        0 8px 22px rgba(0,0,0,.14),
        inset 0 1px 0 rgba(255,255,255,.02) !important;
}

html[data-theme="dark"] .tm-summary article[b-m64u6pjkg9]::after {
    background: rgba(255,236,198,.11) !important;
}

html[data-theme="dark"] .tm-summary article[b-m64u6pjkg9]::before {
    color: #c8b68f !important;
}

html[data-theme="dark"] .tm-summary small[b-m64u6pjkg9] {
    color: #c6bcad !important;
}

html[data-theme="dark"] .tm-summary strong[b-m64u6pjkg9] {
    color: #f0b637 !important;
}

/* Main library panel — remove navy */
html[data-theme="dark"] .tm-panel[b-m64u6pjkg9] {
    border-color: var(--tm-line-strong) !important;

    background:
        linear-gradient(
            180deg,
            #272018 0%,
            #211b15 100%
        ) !important;

    box-shadow:
        0 20px 50px rgba(0,0,0,.17),
        inset 0 1px 0 rgba(255,255,255,.02) !important;
}

/* Toolbar */
html[data-theme="dark"] .tm-toolbar[b-m64u6pjkg9] {
    border-bottom-color: var(--tm-line) !important;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.018),
            rgba(255,255,255,0)
        ) !important;
}

html[data-theme="dark"] .tm-toolbar input[b-m64u6pjkg9],
html[data-theme="dark"] .tm-toolbar select[b-m64u6pjkg9] {
    border-color: rgba(255,236,198,.14) !important;
    background: #18130f !important;
    color: #efe8dc !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.015) !important;
}

html[data-theme="dark"] .tm-toolbar input[b-m64u6pjkg9]::placeholder {
    color: #8f8578 !important;
}

html[data-theme="dark"] .tm-toolbar input:focus[b-m64u6pjkg9],
html[data-theme="dark"] .tm-toolbar select:focus[b-m64u6pjkg9] {
    border-color: rgba(226,175,46,.48) !important;
    background: #1d1712 !important;

    box-shadow:
        0 0 0 3px rgba(226,175,46,.10) !important;
}

html[data-theme="dark"] .tm-toolbar select option[b-m64u6pjkg9] {
    background: #211b15 !important;
    color: #f1ebe2 !important;
}

/* Bulk bar */
html[data-theme="dark"] .tm-bulk[b-m64u6pjkg9] {
    border-bottom-color: rgba(226,175,46,.14) !important;

    background:
        linear-gradient(
            90deg,
            rgba(226,175,46,.10),
            rgba(226,175,46,.025) 72%,
            transparent
        ) !important;
}

html[data-theme="dark"] .tm-bulk b[b-m64u6pjkg9] {
    color: #e9b846 !important;
}

/* Table header — warm dark instead of black/navy */
html[data-theme="dark"] .tm-row.tm-head[b-m64u6pjkg9] {
    border-bottom-color: rgba(255,236,198,.08) !important;

    background: #18130f !important;

    color: #c0b4a3 !important;
}

/* Table rows — warm charcoal */
html[data-theme="dark"] .tm-row:not(.tm-head)[b-m64u6pjkg9] {
    border-color: rgba(255,236,198,.035) !important;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.018),
            rgba(255,255,255,.008)
        ) !important;

    color: #eee7db !important;
}

html[data-theme="dark"] .tm-row:not(.tm-head):hover[b-m64u6pjkg9] {
    border-color: rgba(226,175,46,.16) !important;

    background:
        linear-gradient(
            90deg,
            rgba(226,175,46,.065),
            rgba(226,175,46,.018) 72%,
            rgba(255,255,255,.01)
        ) !important;

    box-shadow:
        0 9px 22px rgba(0,0,0,.13) !important;
}

html[data-theme="dark"] .tm-row.selected[b-m64u6pjkg9] {
    border-color: rgba(226,175,46,.26) !important;

    background:
        linear-gradient(
            90deg,
            rgba(226,175,46,.11),
            rgba(226,175,46,.025) 72%,
            rgba(255,255,255,.01)
        ) !important;
}

/* Text */
html[data-theme="dark"] .tm-memory-text[b-m64u6pjkg9],
html[data-theme="dark"] .tm-row strong[b-m64u6pjkg9] {
    color: #f0e9dd !important;
}

html[data-theme="dark"] .tm-row small[b-m64u6pjkg9] {
    color: #9e9588 !important;
}

/* Language code column */
html[data-theme="dark"] .tm-row > div[dir="ltr"][b-m64u6pjkg9] {
    color: #e8dfd0 !important;
    font-weight: 780 !important;
}

/* Checkboxes */
html[data-theme="dark"] .tm-check i[b-m64u6pjkg9] {
    border-color: rgba(255,236,198,.17) !important;
    background: #17120e !important;
}

html[data-theme="dark"] .tm-check input:checked + i[b-m64u6pjkg9] {
    border-color: #d9a72d !important;

    background:
        linear-gradient(
            135deg,
            #efc14b,
            #d8a229
        ) !important;
}

/* Status */
html[data-theme="dark"] .tm-status[b-m64u6pjkg9] {
    border-color: rgba(255,236,198,.10) !important;

    background: rgba(255,255,255,.025) !important;

    color: #a79d8f !important;
}

html[data-theme="dark"] .tm-status.approved[b-m64u6pjkg9] {
    border-color: rgba(125,180,102,.16) !important;

    background: rgba(100,155,80,.13) !important;

    color: #9dcc83 !important;
}

/* Buttons */
html[data-theme="dark"] .tm-bulk button[b-m64u6pjkg9],
html[data-theme="dark"] .tm-actions button[b-m64u6pjkg9],
html[data-theme="dark"] .tm-state button[b-m64u6pjkg9] {
    border-color: rgba(255,236,198,.12) !important;

    background: #17120e !important;

    color: #e2d8c8 !important;
}

html[data-theme="dark"] .tm-bulk button:hover[b-m64u6pjkg9],
html[data-theme="dark"] .tm-actions button:hover[b-m64u6pjkg9],
html[data-theme="dark"] .tm-state button:hover[b-m64u6pjkg9] {
    border-color: rgba(226,175,46,.23) !important;

    background: #201912 !important;

    color: #efbf4a !important;
}

html[data-theme="dark"] .tm-danger[b-m64u6pjkg9] {
    border-color: rgba(213,110,101,.18) !important;

    background: rgba(180,74,68,.12) !important;

    color: #e28b83 !important;
}

/* State / empty */
html[data-theme="dark"] .tm-state[b-m64u6pjkg9] {
    color: #b8afa2 !important;

    background: transparent !important;
}

/* Modal */
html[data-theme="dark"] .tm-modal[b-m64u6pjkg9] {
    --tm-text: #f3eee5 !important;
    --tm-text-2: #d2c8b7 !important;

    --tm-surface-raised: #292219 !important;
    --tm-surface-soft: #19140f !important;

    --tm-line: rgba(255,236,198,.09) !important;
    --tm-line-strong: rgba(255,236,198,.15) !important;

    background: rgba(6,5,4,.68) !important;
}

html[data-theme="dark"] .tm-modal section[b-m64u6pjkg9] {
    border-color: rgba(255,236,198,.14) !important;

    background:
        linear-gradient(
            180deg,
            #2a231b,
            #211b15
        ) !important;

    box-shadow:
        0 30px 85px rgba(0,0,0,.46),
        inset 0 1px 0 rgba(255,255,255,.018) !important;
}

html[data-theme="dark"] .tm-modal h2[b-m64u6pjkg9] {
    color: #f5efe6 !important;
}

html[data-theme="dark"] .tm-modal label[b-m64u6pjkg9] {
    color: #e8dfd2 !important;
}

html[data-theme="dark"] .tm-modal textarea[b-m64u6pjkg9],
html[data-theme="dark"] .tm-modal select[b-m64u6pjkg9] {
    border-color: rgba(255,236,198,.14) !important;

    background: #17120e !important;

    color: #f0e9dd !important;
}

html[data-theme="dark"] .tm-modal textarea:focus[b-m64u6pjkg9],
html[data-theme="dark"] .tm-modal select:focus[b-m64u6pjkg9] {
    border-color: rgba(226,175,46,.48) !important;

    background: #1d1712 !important;

    box-shadow:
        0 0 0 3px rgba(226,175,46,.10) !important;
}

html[data-theme="dark"] .tm-modal .tm-toggle[b-m64u6pjkg9] {
    border-color: rgba(255,236,198,.11) !important;

    background: #19140f !important;

    color: #ece3d6 !important;
}

html[data-theme="dark"] .tm-modal footer > button:first-child[b-m64u6pjkg9] {
    border-color: rgba(255,236,198,.13) !important;

    background: #17120e !important;

    color: #ded4c4 !important;
}

/* Scrollbars */
html[data-theme="dark"] .tm-memory-text[b-m64u6pjkg9] {
    scrollbar-color: rgba(226,175,46,.22) transparent;
}

html[data-theme="dark"] .tm-memory-text[b-m64u6pjkg9]::-webkit-scrollbar-thumb {
    background: rgba(226,175,46,.22) !important;
    background-clip: padding-box !important;
}

/* TRANSLATION MEMORY DARK THEME V2 - END */


/* =========================================================
   RETENTION NOTICE
   Shown only while automatic deletion is on.
   ========================================================= */

.tm-retention[b-m64u6pjkg9] {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 16px;

    border: 1px solid var(--tm-line);
    border-radius: 16px;

    background: var(--ui-warning-tint, rgba(185, 120, 20, .10));
}

.tm-retention > span[b-m64u6pjkg9] {
    display: grid;
    place-items: center;
    flex: none;

    width: 30px;
    height: 30px;

    color: var(--ui-warning, #b97814);
}

.tm-retention svg[b-m64u6pjkg9] {
    width: 20px;
    height: 20px;
}

.tm-retention p[b-m64u6pjkg9] {
    margin: 0;

    color: var(--tm-text-2);

    font-size: .66rem;
    line-height: 1.8;
}


/* =========================================================
   PHONE
   =========================================================
   Counters two to a row, as on the other library pages; the
   glyph and its divider move in to leave the number room.
   ========================================================= */

@media (max-width: 650px) {

    .tm-summary[b-m64u6pjkg9] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tm-summary article[b-m64u6pjkg9] {
        min-height: 78px;
        padding: 10px 54px 10px 12px;
    }

        .tm-summary article[b-m64u6pjkg9]::before {
            right: 8px;
            width: 34px;
            height: 34px;
        }

        .tm-summary article[b-m64u6pjkg9]::after {
            right: 46px;
        }

    .tm-page[dir="ltr"] .tm-summary article[b-m64u6pjkg9] {
        padding: 10px 12px 10px 54px;
    }

        .tm-page[dir="ltr"] .tm-summary article[b-m64u6pjkg9]::before {
            right: auto;
            left: 8px;
        }

        .tm-page[dir="ltr"] .tm-summary article[b-m64u6pjkg9]::after {
            right: auto;
            left: 46px;
        }

    .tm-toolbar[b-m64u6pjkg9] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .tm-toolbar input[b-m64u6pjkg9] {
            grid-column: 1 / -1;
        }
}


/* each cell carried a two-column grid (label | text) from the
   desktop table; at phone width that left the sentence 120px
   wide. The label goes above, in the page's direction. */
@media (max-width: 650px) {

    .tm-summary > article:last-child:nth-child(odd)[b-m64u6pjkg9] {
        grid-column: 1 / -1;
    }

    .tm-row:not(.tm-head) > div[b-m64u6pjkg9] {
        display: block;
    }

        .tm-row:not(.tm-head) > div[b-m64u6pjkg9]::before {
            direction: inherit;
            margin-bottom: 4px;
            text-align: start;
        }

    .tm-page[dir="rtl"] .tm-row:not(.tm-head) > div[b-m64u6pjkg9]::before {
        direction: rtl;
        text-align: right;
    }

    .tm-memory-text[b-m64u6pjkg9] {
        font-size: .7rem;
    }

    .tm-row:not(.tm-head) > div[data-label]:not(.tm-memory-text)[b-m64u6pjkg9] {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 10px;
    }

        .tm-row:not(.tm-head) > div[data-label]:not(.tm-memory-text)[b-m64u6pjkg9]::before {
            width: 100%;
            margin-bottom: 0;
        }
}
/* _content/AITranslationPlatform.Web/Components/Translation/AnalyzeTranslation.razor.rz.scp.css */
/* ============================================================
   SMART ANALYSIS - DASHBOARD DESIGN SYSTEM
   Stage 2 canonical stylesheet
   ============================================================ */

.smart-analysis-page[b-swvbuns20o] {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
    color: var(--text);
}


/* =========================================================
   HERO
   ========================================================= */

.analysis-page-header[b-swvbuns20o] {
    min-height: 244px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 32px;
    padding: 30px 32px 92px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xl);
    background:
        radial-gradient(115% 145% at 8% -18%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(85% 115% at 96% 118%, var(--ui-bloom-cool), transparent 56%),
        linear-gradient(135deg, var(--ui-surface-strong), var(--ui-surface));
    box-shadow: var(--ui-shadow-md);
    animation: ui-card-in .62s var(--ui-ease-out) .04s backwards;
}

.smart-analysis-page[dir="rtl"] .analysis-page-header[b-swvbuns20o] {
    background:
        radial-gradient(115% 145% at 92% -18%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(85% 115% at 4% 118%, var(--ui-bloom-cool), transparent 56%),
        linear-gradient(225deg, var(--ui-surface-strong), var(--ui-surface));
}

.analysis-page-header[b-swvbuns20o]::before,
.analysis-page-header[b-swvbuns20o]::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.analysis-page-header[b-swvbuns20o]::before {
    width: 286px;
    height: 286px;
    inset-block-start: -180px;
    inset-inline-end: -94px;
    border: 42px solid var(--ui-accent-soft);
    opacity: .70;
    animation: ui-hero-ring 1.05s var(--ui-ease-out) .08s backwards;
}

.analysis-page-header[b-swvbuns20o]::after {
    width: 154px;
    height: 154px;
    inset-block-end: -100px;
    inset-inline-start: -44px;
    border: 27px solid var(--ui-line-strong);
    opacity: .70;
    animation: ui-hero-ring 1.05s var(--ui-ease-out) .18s backwards;
}

.analysis-header-copy[b-swvbuns20o],
.analysis-project-reference[b-swvbuns20o] {
    position: relative;
    z-index: 2;
}

.analysis-header-copy[b-swvbuns20o] {
    min-width: 0;
    max-width: 820px;
}

.analysis-back-button[b-swvbuns20o] {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 13px;
    padding: 0 11px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--text-secondary);
    cursor: pointer;
    font: inherit;
    font-size: .60rem;
    font-weight: 750;
    transition: var(--ui-t);
    animation: ui-rise .48s var(--ui-ease-out) .08s backwards;
}

.analysis-back-button:hover[b-swvbuns20o] {
    transform: translateY(-1px);
    border-color: var(--ui-accent-strong);
    background: var(--ui-surface-strong);
    color: var(--ui-warning);
    box-shadow: var(--ui-shadow-sm);
}

.analysis-back-button svg[b-swvbuns20o] {
    width: 15px;
    height: 15px;
    transition: transform var(--ui-dur-2) var(--ui-ease);
}

.analysis-back-button:hover svg[b-swvbuns20o] {
    transform: translateX(-2px);
}

.smart-analysis-page[dir="rtl"] .analysis-back-button svg[b-swvbuns20o] {
    transform: rotate(180deg);
}

.smart-analysis-page[dir="rtl"] .analysis-back-button:hover svg[b-swvbuns20o] {
    transform: rotate(180deg) translateX(-2px);
}

.analysis-eyebrow[b-swvbuns20o] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 11px;
    padding: 6px 12px;
    border: 1px solid rgba(226, 175, 46, .34);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--accent-text);
    font-size: .63rem;
    font-weight: 800;
    letter-spacing: .075em;
    animation: ui-rise .5s var(--ui-ease-out) .13s backwards;
}

.smart-analysis-page[dir="rtl"] .analysis-eyebrow[b-swvbuns20o] {
    letter-spacing: 0;
}

.analysis-ai-dot[b-swvbuns20o] {
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: var(--ui-accent-strong);
    box-shadow: 0 0 0 0 rgba(226, 175, 46, .55);
    animation: ui-pulse 2.4s var(--ui-ease) infinite;
}

.analysis-header-copy h1[b-swvbuns20o] {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.8rem, 2.4vw, 2.65rem);
    font-weight: 820;
    line-height: 1.22;
    letter-spacing: -.025em;
    animation: ui-reveal-up .58s var(--ui-ease-out) .20s backwards;
}

.smart-analysis-page[dir="rtl"] .analysis-header-copy h1[b-swvbuns20o] {
    letter-spacing: 0;
}

.analysis-header-copy > p[b-swvbuns20o] {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--text-secondary);
    font-size: .82rem;
    line-height: 1.9;
    animation: ui-rise .52s var(--ui-ease-out) .28s backwards;
}

.analysis-project-reference[b-swvbuns20o] {
    min-width: 156px;
    padding: 11px 13px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
    box-shadow: var(--ui-shadow-sm);
    animation: ui-rise .52s var(--ui-ease-out) .30s backwards;
}

.analysis-project-reference span[b-swvbuns20o] {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: .56rem;
    font-weight: 750;
}

.analysis-project-reference strong[b-swvbuns20o] {
    display: block;
    overflow: hidden;
    color: var(--text-secondary);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .65rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    direction: ltr;
    text-align: left;
}

.smart-analysis-page[b-swvbuns20o]  .translation-workflow-progress {
    position: relative;
    z-index: 4;
    margin-block-start: -84px;
    margin-block-end: 8px;
    margin-inline-start: auto;
    margin-inline-end: 24px;
}


/* =========================================================
   RUNNING ANALYSIS
   ========================================================= */

.analysis-running-card[b-swvbuns20o] {
    position: relative;
    padding: 22px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background:
        radial-gradient(95% 130% at 100% 0%, var(--ui-accent-tint), transparent 54%),
        var(--surface);
    box-shadow: var(--ui-shadow-sm);
    animation: ui-card-in .58s var(--ui-ease-out) .12s backwards;
}

.analysis-running-card[b-swvbuns20o]::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    inset-block-start: -112px;
    inset-inline-end: -62px;
    border-radius: 50%;
    border: 28px solid var(--ui-accent-soft);
    opacity: .52;
    pointer-events: none;
}

.analysis-running-top[b-swvbuns20o] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.analysis-running-icon[b-swvbuns20o] {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    position: relative;
    display: grid;
    place-items: center;
    border: 1px solid rgba(226, 175, 46, .22);
    border-radius: var(--ui-r-md);
    background: var(--ui-accent-soft);
    color: var(--ui-warning);
    box-shadow: inset 0 1px 0 var(--ui-line-bright);
    animation: analysis-breathe-b-swvbuns20o 2.2s var(--ui-ease) infinite;
}

.analysis-running-icon[b-swvbuns20o]::after {
    content: "";
    position: absolute;
    inset: -6px;
    border: 1px dashed rgba(226, 175, 46, .34);
    border-radius: calc(var(--ui-r-md) + 5px);
    animation: analysis-orbit-b-swvbuns20o 8s linear infinite;
}

.analysis-running-icon svg[b-swvbuns20o] {
    width: 30px;
    height: 30px;
}

.analysis-running-copy[b-swvbuns20o] {
    min-width: 0;
    flex: 1;
}

.analysis-running-copy > span[b-swvbuns20o] {
    color: var(--ui-warning);
    font-size: .58rem;
    font-weight: 850;
    letter-spacing: .075em;
}

.smart-analysis-page[dir="rtl"] .analysis-running-copy > span[b-swvbuns20o] {
    letter-spacing: 0;
}

.analysis-running-copy h2[b-swvbuns20o] {
    margin: 4px 0;
    color: var(--text);
    font-size: .96rem;
    font-weight: 820;
}

.analysis-running-copy p[b-swvbuns20o] {
    margin: 0;
    color: var(--muted);
    font-size: .68rem;
    line-height: 1.65;
}

.analysis-progress-percent[b-swvbuns20o] {
    flex: none;
    min-width: 64px;
    color: var(--ui-warning);
    font-size: 1.18rem;
    font-weight: 850;
    text-align: end;
    font-variant-numeric: tabular-nums;
}

.analysis-progress-track[b-swvbuns20o] {
    height: 8px;
    position: relative;
    margin-top: 20px;
    overflow: hidden;
    border-radius: var(--ui-r-pill);
    background: var(--ui-progress-track);
}

.analysis-progress-track span[b-swvbuns20o] {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    background: var(--ui-progress-fill);
    box-shadow: var(--ui-progress-glow);
    transition: width .35s var(--ui-ease);
}

.analysis-progress-track span[b-swvbuns20o]::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 36%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.58), transparent);
    animation: analysis-progress-shine-b-swvbuns20o 1.8s var(--ui-ease) infinite;
}

.analysis-progress-stages[b-swvbuns20o] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.analysis-progress-stage[b-swvbuns20o] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 10px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-sunken);
    color: var(--muted);
    font-size: .60rem;
    transition: var(--ui-t);
}

.analysis-progress-stage > span[b-swvbuns20o] {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ui-surface-raised);
    color: var(--muted);
    font-size: .58rem;
    font-weight: 850;
}

.analysis-progress-stage.completed[b-swvbuns20o] {
    border-color: rgba(63, 106, 57, .22);
    background: var(--ui-success-tint);
    color: var(--ui-success);
}

.analysis-progress-stage.completed > span[b-swvbuns20o] {
    background: var(--ui-success-soft);
    color: var(--ui-success);
}


/* =========================================================
   SUCCESS BANNER
   ========================================================= */

.analysis-success-banner[b-swvbuns20o] {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    border: 1px solid rgba(63, 106, 57, .22);
    border-radius: var(--ui-r-md);
    background:
        linear-gradient(90deg, var(--ui-success-tint), transparent 52%),
        var(--surface);
    box-shadow: var(--ui-shadow-sm);
    animation: ui-card-in .52s var(--ui-ease-out) .08s backwards;
}

.smart-analysis-page[dir="rtl"] .analysis-success-banner[b-swvbuns20o] {
    background:
        linear-gradient(270deg, var(--ui-success-tint), transparent 52%),
        var(--surface);
}

.analysis-success-icon[b-swvbuns20o] {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    display: grid;
    place-items: center;
    border-radius: var(--ui-r-xs);
    background: var(--ui-success-soft);
    color: var(--ui-success);
}

.analysis-success-icon svg[b-swvbuns20o] {
    width: 20px;
    height: 20px;
}

.analysis-success-banner > div[b-swvbuns20o] {
    min-width: 0;
    flex: 1;
}

.analysis-success-banner > div span[b-swvbuns20o] {
    display: block;
    color: var(--text-secondary);
    font-size: .61rem;
}

.analysis-success-banner > div strong[b-swvbuns20o] {
    display: block;
    overflow: hidden;
    margin-top: 2px;
    color: var(--text);
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.analysis-ready-badge[b-swvbuns20o] {
    flex: none;
    padding: 6px 9px;
    border-radius: var(--ui-r-pill);
    background: var(--ui-success-soft);
    color: var(--ui-success);
    font-size: .58rem;
    font-weight: 850;
}


/* =========================================================
   RESULT LAYOUT / CARDS
   ========================================================= */

.analysis-result-layout[b-swvbuns20o] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 318px;
    align-items: start;
    gap: 15px;
}

.analysis-results-main[b-swvbuns20o] {
    display: grid;
    gap: 15px;
}

.analysis-section-card[b-swvbuns20o],
.analysis-summary-card[b-swvbuns20o] {
    min-width: 0;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--surface);
    box-shadow: var(--ui-shadow-sm);
}

.analysis-section-card[b-swvbuns20o] {
    padding: 20px;
    transition: var(--ui-t);
    animation: ui-card-in .55s var(--ui-ease-out) var(--card-in, .10s) backwards;
}

.analysis-section-card:nth-child(2)[b-swvbuns20o] {
    --card-in: .16s;
}

.analysis-section-card:nth-child(3)[b-swvbuns20o] {
    --card-in: .22s;
}

.analysis-section-card:hover[b-swvbuns20o] {
    border-color: var(--ui-line-strong);
    box-shadow: var(--ui-shadow-md);
}

.analysis-section-heading[b-swvbuns20o] {
    margin-bottom: 15px;
}

.analysis-section-heading > div[b-swvbuns20o] {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.analysis-section-number[b-swvbuns20o] {
    min-width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(226, 175, 46, .20);
    border-radius: var(--ui-r-xs);
    background: var(--ui-accent-soft);
    color: var(--ui-warning);
    font-size: .62rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.analysis-section-heading h2[b-swvbuns20o] {
    margin: 0;
    color: var(--text);
    font-size: .88rem;
    font-weight: 820;
}

.analysis-section-heading p[b-swvbuns20o] {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: .63rem;
    line-height: 1.65;
}


/* =========================================================
   METRICS
   ========================================================= */

.analysis-metric-grid[b-swvbuns20o] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.analysis-metric-card[b-swvbuns20o] {
    min-width: 0;
    min-height: 114px;
    position: relative;
    padding: 13px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background:
        linear-gradient(150deg, var(--ui-accent-tint), transparent 68%),
        var(--ui-surface-sunken);
    transition: var(--ui-t);
}

.analysis-metric-card[b-swvbuns20o]::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    inset-block-start: -42px;
    inset-inline-end: -24px;
    border-radius: 50%;
    background: var(--ui-accent);
    opacity: .07;
    transition: var(--ui-t);
}

.analysis-metric-card:hover[b-swvbuns20o] {
    transform: translateY(-2px);
    border-color: var(--border-accent);
    box-shadow: var(--ui-shadow-sm);
}

.analysis-metric-card:hover[b-swvbuns20o]::after {
    transform: scale(1.25);
    opacity: .12;
}

.analysis-metric-card > span[b-swvbuns20o] {
    display: block;
    color: var(--text-secondary);
    font-size: .59rem;
    font-weight: 750;
}

.analysis-metric-card > strong[b-swvbuns20o] {
    display: block;
    margin: 7px 0 4px;
    color: var(--text);
    font-size: 1.28rem;
    font-weight: 840;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    animation: ui-reveal-up .5s var(--ui-ease-out) .18s backwards;
}

.analysis-metric-card > small[b-swvbuns20o] {
    display: block;
    color: var(--muted);
    font-size: .55rem;
    line-height: 1.55;
}


/* =========================================================
   TEXT PREVIEW
   ========================================================= */

.extracted-text-preview[b-swvbuns20o] {
    max-height: 330px;
    padding: 15px 16px;
    overflow: auto;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-sunken);
    color: var(--text-secondary);
    font-size: .72rem;
    line-height: 2;
    text-align: start;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    scrollbar-color: var(--ui-line-strong) transparent;
}

.extracted-text-preview:focus-within[b-swvbuns20o],
.extracted-text-preview:hover[b-swvbuns20o] {
    border-color: var(--ui-line-strong);
}

.extracted-text-preview.is-mixed-direction[b-swvbuns20o] {
    unicode-bidi: plaintext;
}

.preview-limit-note[b-swvbuns20o] {
    margin-top: 7px;
    color: var(--muted);
    font-size: .56rem;
}


/* =========================================================
   FUTURE / DETECTION
   ========================================================= */

.future-analysis-grid[b-swvbuns20o] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.future-analysis-grid > div[b-swvbuns20o] {
    padding: 12px;
    border: 1px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-sunken);
}

.future-analysis-grid span[b-swvbuns20o] {
    display: block;
    color: var(--muted);
    font-size: .57rem;
}

.future-analysis-grid strong[b-swvbuns20o] {
    display: block;
    margin-top: 4px;
    color: var(--text-secondary);
    font-size: .66rem;
}

.detection-unavailable[b-swvbuns20o] {
    margin: 0;
    padding: 12px 14px;
    border: 1px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-sunken);
    color: var(--muted);
    font-size: .62rem;
    line-height: 1.75;
}

.detection-confidence[b-swvbuns20o] {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: .53rem;
    font-style: normal;
}

.detection-brief[b-swvbuns20o] {
    margin-top: 14px;
    padding: 13px 14px;
    border: 1px solid rgba(226, 175, 46, .22);
    border-radius: var(--ui-r-sm);
    background:
        linear-gradient(135deg, var(--ui-accent-tint), transparent 72%),
        var(--ui-surface-sunken);
}

.detection-brief > span[b-swvbuns20o] {
    display: block;
    margin-bottom: 5px;
    color: var(--ui-warning);
    font-size: .56rem;
    font-weight: 850;
    letter-spacing: .045em;
}

.smart-analysis-page[dir="rtl"] .detection-brief > span[b-swvbuns20o] {
    letter-spacing: 0;
}

.detection-brief p[b-swvbuns20o] {
    margin: 0 0 5px;
    color: var(--text);
    font-size: .67rem;
    line-height: 1.8;
}

.detection-brief small[b-swvbuns20o] {
    color: var(--muted);
    font-size: .54rem;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.analysis-summary-card[b-swvbuns20o] {
    position: sticky;
    top: calc(var(--app-header-height, 0px) + 10px);
    padding: 17px;
    overflow: hidden;
    background: radial-gradient(105% 85% at 100% 0%, rgb(255 232 176 / 30%), transparent 52%), rgb(255 246 215 / 0%);
    animation: ui-card-in .58s var(--ui-ease-out) .16s backwards;
}

.analysis-summary-card[b-swvbuns20o]::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    inset-block-start: -76px;
    inset-inline-end: -42px;
    border-radius: 50%;

    opacity: .07;
    pointer-events: none;
}

.analysis-summary-header[b-swvbuns20o] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--ui-line);
}

.analysis-summary-header > span[b-swvbuns20o] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(226,175,46,.18);
    border-radius: var(--ui-r-xs);
    background: var(--ui-accent-soft);
    color: var(--ui-warning);
}

.analysis-summary-header svg[b-swvbuns20o] {
    width: 20px;
    height: 20px;
}

.analysis-summary-header > div[b-swvbuns20o] {
    min-width: 0;
}

.analysis-summary-header small[b-swvbuns20o] {
    display: block;
    color: var(--muted);
    font-size: .51rem;
    font-weight: 800;
    letter-spacing: .06em;
}

.smart-analysis-page[dir="rtl"] .analysis-summary-header small[b-swvbuns20o] {
    letter-spacing: 0;
}

.analysis-summary-header strong[b-swvbuns20o] {
    display: block;
    overflow: hidden;
    margin-top: 3px;
    color: var(--text);
    font-size: .68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.analysis-summary-row[b-swvbuns20o] {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 11px 2px;
    border-bottom: 1px solid var(--ui-line);
}

.analysis-summary-row span[b-swvbuns20o] {
    color: var(--muted);
    font-size: .60rem;
}

.analysis-summary-row strong[b-swvbuns20o] {
    color: var(--text);
    font-size: .62rem;
    font-weight: 800;
    text-align: end;
}

.analysis-summary-divider[b-swvbuns20o] {
    height: 1px;
    margin: 8px 0;
    background: var(--ui-line);
}

.analysis-next-info[b-swvbuns20o] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 11px;
    padding: 11px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-sunken);
}

.analysis-next-icon[b-swvbuns20o] {
    flex: none;
    color: var(--ui-warning);
    font-size: 1rem;
}

.analysis-next-info strong[b-swvbuns20o] {
    color: var(--text);
    font-size: .62rem;
}

.analysis-next-info p[b-swvbuns20o] {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: .56rem;
    line-height: 1.65;
}


/* =========================================================
   CONTINUE CTA
   ========================================================= */

.analysis-continue-btn[b-swvbuns20o],
.analysis-primary-button[b-swvbuns20o] {
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--ui-accent), var(--ui-accent-strong));
    color: var(--ui-on-accent);
    box-shadow: var(--ui-shadow-accent);
    transition: var(--ui-t);
}

.analysis-continue-btn[b-swvbuns20o] {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 13px;
    padding: 10px 16px;
    border-radius: var(--ui-r-sm);
    font: inherit;
    font-size: .64rem;
    font-weight: 850;
    line-height: 1.4;
    text-decoration: none !important;
    cursor: pointer;
}

.analysis-continue-btn[b-swvbuns20o]::before,
.analysis-primary-button[b-swvbuns20o]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 34%, rgba(255,255,255,.55) 50%, transparent 66%);
    opacity: 0;
    pointer-events: none;
}

.analysis-continue-btn:hover[b-swvbuns20o],
.analysis-primary-button:hover[b-swvbuns20o] {
    transform: translateY(-2px);
    color: var(--ui-on-accent);
    box-shadow: 0 16px 34px rgba(226, 175, 46, .34);
}

.analysis-continue-btn:hover[b-swvbuns20o]::before,
.analysis-primary-button:hover[b-swvbuns20o]::before {
    animation: ui-sheen .8s var(--ui-ease-out);
}

.analysis-continue-btn:visited[b-swvbuns20o] {
    color: var(--ui-on-accent);
}

.analysis-continue-btn:focus-visible[b-swvbuns20o],
.analysis-primary-button:focus-visible[b-swvbuns20o] {
    outline: none;
    box-shadow: 0 0 0 4px var(--ui-accent-soft), var(--ui-shadow-accent);
}

.analysis-continue-btn-arrow[b-swvbuns20o] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    transition: transform var(--ui-dur-2) var(--ui-ease);
}

.smart-analysis-page[dir="rtl"] .analysis-continue-btn:hover .analysis-continue-btn-arrow[b-swvbuns20o] {
    transform: translateX(-3px);
}

.smart-analysis-page[dir="ltr"] .analysis-continue-btn:hover .analysis-continue-btn-arrow[b-swvbuns20o] {
    transform: translateX(3px);
}

.analysis-continue-button[b-swvbuns20o] {
    width: 100%;
    min-height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
    padding: 10px 15px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-sunken);
    color: var(--muted);
    font: inherit;
    font-size: .62rem;
    font-weight: 800;
    cursor: not-allowed;
}

.analysis-next-disabled-note[b-swvbuns20o] {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: .54rem;
    line-height: 1.6;
    text-align: center;
}


/* =========================================================
   ERROR
   ========================================================= */

.analysis-error-card[b-swvbuns20o] {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 18px;
    border: 1px solid rgba(157, 66, 49, .22);
    border-radius: var(--ui-r-lg);
    background:
        linear-gradient(135deg, var(--ui-danger-tint), transparent 76%),
        var(--surface);
    box-shadow: var(--ui-shadow-sm);
    animation: ui-card-in .52s var(--ui-ease-out) .08s backwards;
}

.analysis-error-icon[b-swvbuns20o] {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: grid;
    place-items: center;
    border-radius: var(--ui-r-sm);
    background: var(--ui-danger-soft);
    color: var(--ui-danger);
}

.analysis-error-icon svg[b-swvbuns20o] {
    width: 23px;
    height: 23px;
}

.analysis-error-card h2[b-swvbuns20o] {
    margin: 0;
    color: var(--ui-danger);
    font-size: .86rem;
}

.analysis-error-card p[b-swvbuns20o] {
    margin: 6px 0 0;
    color: var(--text-secondary);
    font-size: .66rem;
    line-height: 1.75;
}

.analysis-error-actions[b-swvbuns20o] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.analysis-primary-button[b-swvbuns20o],
.analysis-secondary-button[b-swvbuns20o] {
    min-height: 40px;
    padding: 0 13px;
    border-radius: var(--ui-r-xs);
    font: inherit;
    font-size: .61rem;
    font-weight: 800;
    cursor: pointer;
}

.analysis-secondary-button[b-swvbuns20o] {
    border: 1px solid var(--ui-line-strong);
    background: var(--ui-surface-raised);
    color: var(--text-secondary);
    transition: var(--ui-t);
}

.analysis-secondary-button:hover[b-swvbuns20o] {
    transform: translateY(-1px);
    border-color: var(--ui-accent-strong);
    background: var(--ui-surface-strong);
    color: var(--ui-warning);
    box-shadow: var(--ui-shadow-sm);
}


/* =========================================================
   ANIMATION
   ========================================================= */

@keyframes analysis-breathe-b-swvbuns20o {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-2px) scale(1.03);
    }
}

@keyframes analysis-orbit-b-swvbuns20o {
    to {
        transform: rotate(360deg);
    }
}

@keyframes analysis-progress-shine-b-swvbuns20o {
    from {
        transform: translateX(-160%);
    }

    to {
        transform: translateX(340%);
    }
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1120px) {
    .analysis-result-layout[b-swvbuns20o] {
        grid-template-columns: 1fr;
    }

    .analysis-summary-card[b-swvbuns20o] {
        position: static;
    }
}

@media (max-width: 860px) {
    .analysis-page-header[b-swvbuns20o] {
        min-height: 0;
        grid-template-columns: 1fr;
        padding: 26px 24px 96px;
        border-radius: var(--ui-r-lg);
    }

    .analysis-project-reference[b-swvbuns20o] {
        width: max-content;
        max-width: 100%;
    }

    .smart-analysis-page[b-swvbuns20o]  .translation-workflow-progress {
        width: calc(100% - 32px);
        max-width: none;
        margin-block-start: -84px;
        margin-inline: 16px;
    }

    .analysis-progress-stages[b-swvbuns20o] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .analysis-metric-grid[b-swvbuns20o],
    .future-analysis-grid[b-swvbuns20o] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .smart-analysis-page[b-swvbuns20o] {
        gap: 14px;
    }

    .analysis-page-header[b-swvbuns20o] {
        padding: 22px 18px 84px;
    }

    .analysis-header-copy h1[b-swvbuns20o] {
        font-size: 1.65rem;
    }

    .analysis-running-top[b-swvbuns20o] {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .analysis-progress-percent[b-swvbuns20o] {
        margin-inline-start: auto;
    }

    .analysis-progress-stages[b-swvbuns20o],
    .analysis-metric-grid[b-swvbuns20o],
    .future-analysis-grid[b-swvbuns20o] {
        grid-template-columns: 1fr;
    }

    .analysis-section-card[b-swvbuns20o],
    .analysis-running-card[b-swvbuns20o] {
        padding: 16px;
        border-radius: var(--ui-r-md);
    }

    .analysis-ready-badge[b-swvbuns20o] {
        display: none;
    }

    .analysis-error-card[b-swvbuns20o] {
        flex-direction: column;
    }
}



/* ANALYZE STAGE 2 HEADER MATCH V4 - START */

/*
 * Stage 2 header now uses the same geometry as Stage 1:
 * same height, padding, radius, hero treatment and in-header stepper.
 */

.analysis-page-header[b-swvbuns20o] {
    min-height: 220px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(430px, 500px);
    align-items: center;
    gap: 34px;
    padding: 32px 34px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xl);
    background:
        radial-gradient(115% 145% at 8% -18%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(85% 115% at 96% 118%, var(--ui-bloom-cool), transparent 56%),
        linear-gradient(135deg, var(--ui-surface-strong), var(--ui-surface));
    box-shadow: var(--ui-shadow-md);
}

.smart-analysis-page[dir="rtl"] .analysis-page-header[b-swvbuns20o] {
    background:
        radial-gradient(115% 145% at 92% -18%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(85% 115% at 4% 118%, var(--ui-bloom-cool), transparent 56%),
        linear-gradient(225deg, var(--ui-surface-strong), var(--ui-surface));
}

.analysis-page-header[b-swvbuns20o]::before {
    width: 280px;
    height: 280px;
    inset-block-start: -178px;
    inset-inline-end: -92px;
    inset-inline-start: auto;
    border: 42px solid var(--ui-accent-soft);
    opacity: .72;
}

.analysis-page-header[b-swvbuns20o]::after {
    width: 150px;
    height: 150px;
    inset-block-end: -98px;
    inset-inline-start: -42px;
    inset-inline-end: auto;
    border: 26px solid var(--ui-line-strong);
    opacity: .72;
}

.analysis-header-copy[b-swvbuns20o] {
    min-width: 0;
    max-width: 760px;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    position: relative;
    z-index: 3;
}

.analysis-header-copy h1[b-swvbuns20o] {
    margin: 0 0 10px;
    color: var(--text);
    font-size: clamp(1.8rem, 2.4vw, 2.65rem);
    font-weight: 820;
    line-height: 1.22;
}

.analysis-header-copy > p[b-swvbuns20o] {
    max-width: 700px;
    margin: 0;
    color: var(--text-secondary);
    font-size: .84rem;
    line-height: 1.9;
}

.analysis-back-button[b-swvbuns20o] {
    min-height: 32px;
    margin: 0 6px 11px 0;
}

.smart-analysis-page[dir="rtl"] .analysis-back-button[b-swvbuns20o] {
    margin: 0 0 11px 6px;
}

.analysis-eyebrow[b-swvbuns20o] {
    margin-bottom: 11px;
}

/*
 * Project reference is informational, not a third column.
 * Keep it compact in the upper corner so it does not change hero height.
 */
.analysis-project-reference[b-swvbuns20o] {
    position: absolute;
    z-index: 4;
    inset-block-start: 18px;
    inset-inline-start: 24px;
    min-width: 138px;
    max-width: 180px;
    margin: 0;
    padding: 9px 12px;
}

/* The stepper is now a real child of the hero, exactly like Stage 1. */
.analysis-page-header[b-swvbuns20o]  .translation-workflow-progress {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: stretch;
    width: 100%;
    max-width: 500px;
    margin: 0;
    position: relative;
    z-index: 3;
}

/* Neutralize all previous pull-up positioning rules. */
.smart-analysis-page[b-swvbuns20o] >  .translation-workflow-progress {
    margin: 0;
}

@media (max-width: 1280px) {
    .analysis-page-header[b-swvbuns20o] {
        grid-template-columns: 1fr;
        align-items: start;
        min-height: 0;
        padding: 28px 28px;
    }

    .analysis-header-copy[b-swvbuns20o] {
        grid-column: 1;
        grid-row: auto;
        padding-top: 38px;
    }

    .analysis-page-header[b-swvbuns20o]  .translation-workflow-progress {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        max-width: none;
        margin-top: 12px;
    }

    .analysis-project-reference[b-swvbuns20o] {
        inset-block-start: 18px;
        inset-inline-start: 24px;
    }
}

@media (max-width: 820px) {
    .analysis-page-header[b-swvbuns20o] {
        padding: 24px 22px;
        border-radius: var(--ui-r-lg);
    }

    .analysis-header-copy[b-swvbuns20o] {
        padding-top: 42px;
    }
}

@media (max-width: 540px) {
    .analysis-page-header[b-swvbuns20o] {
        padding: 22px 18px;
    }

    .analysis-project-reference[b-swvbuns20o] {
        inset-block-start: 14px;
        inset-inline-start: 16px;
        min-width: 120px;
    }

    .analysis-header-copy h1[b-swvbuns20o] {
        font-size: 1.65rem;
    }
}

/* ANALYZE STAGE 2 HEADER MATCH V4 - END */


/* ANALYZE EXACT STRUCTURAL MERGE V4 - START */

.analysis-smart-merged-card[b-swvbuns20o] {
    padding: 20px;
}

.analysis-smart-merged-card .analysis-section-heading[b-swvbuns20o] {
    margin-bottom: 16px;
}

.analysis-smart-merged-stack[b-swvbuns20o] {
    display: grid;
    gap: 16px;
}

.analysis-smart-merged-cluster[b-swvbuns20o] {
    min-width: 0;
}

.analysis-smart-merged-cluster--insights[b-swvbuns20o] {
    padding-top: 16px;
    border-top: 1px solid var(--ui-line);
}

.analysis-smart-merged-cluster--metrics .analysis-metric-grid[b-swvbuns20o],
.analysis-smart-merged-cluster--insights .future-analysis-grid[b-swvbuns20o] {
    gap: 12px;
}

.analysis-smart-merged-cluster--insights .detection-brief[b-swvbuns20o],
.analysis-smart-merged-cluster--insights .detection-unavailable[b-swvbuns20o] {
    margin-top: 14px;
}

/*
 * Extracted Text Preview is intentionally independent.
 * No nth-child hacks, negative margins, or fake pseudo headings.
 */
@media (max-width: 560px) {
    .analysis-smart-merged-card[b-swvbuns20o] {
        padding: 16px;
    }

    .analysis-smart-merged-stack[b-swvbuns20o] {
        gap: 14px;
    }

    .analysis-smart-merged-cluster--insights[b-swvbuns20o] {
        padding-top: 14px;
    }
}

/* ANALYZE EXACT STRUCTURAL MERGE V4 - END */


/* ANALYZE EXACT REFERENCE CARD THEME V11 - START */

/*
 * V11 fine-tune from user's latest feedback:
 * - more distance between separator line and text block
 * - softer / paler yellow card gradient
 * - keep V10 structure: icon, divider, title top, value vertically centered,
 *   helper text bottom, all copy right-aligned in RTL
 */

.analysis-smart-merged-card[b-swvbuns20o] {
    padding: 16px;
}

.analysis-smart-merged-card .analysis-section-heading[b-swvbuns20o] {
    margin-bottom: 12px;
}

.analysis-smart-merged-stack[b-swvbuns20o] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.analysis-smart-merged-cluster--insights[b-swvbuns20o] {
    display: contents;
}

.analysis-smart-merged-cluster--insights .future-analysis-grid[b-swvbuns20o] {
    order: 1;
}

.analysis-smart-merged-cluster--metrics[b-swvbuns20o] {
    order: 2;
}

.analysis-smart-merged-cluster--insights .detection-brief[b-swvbuns20o],
.analysis-smart-merged-cluster--insights .detection-unavailable[b-swvbuns20o] {
    order: 3;
}

.analysis-smart-merged-cluster--metrics .analysis-metric-grid[b-swvbuns20o],
.analysis-smart-merged-cluster--insights .future-analysis-grid[b-swvbuns20o] {
    gap: 10px;
}

/* =========================================================
   CARD SHELL
   ========================================================= */

.analysis-smart-merged-card .future-analysis-grid > div[b-swvbuns20o],
.analysis-smart-merged-card .analysis-metric-card[b-swvbuns20o],
.analysis-smart-merged-card .detection-brief[b-swvbuns20o],
.analysis-smart-merged-card .detection-unavailable[b-swvbuns20o] {
    min-height: 78px;
    position: relative;
    overflow: hidden;
    /* larger reserved gap after divider so text no longer sticks to it */
    padding-block: 10px;
    padding-inline-start: 86px;
    padding-inline-end: 14px;
    border: 2px solid var(--ui-line);
    border-radius: 16px;
    background: linear-gradient(90deg, #fff6dc 0%, #fff9e7 48%, #ffffff 100%);
    box-shadow: 0 2px 8px rgba(16, 24, 40, .05), inset 0 1px 0 rgba(255,255,255,.50);
    color: var(--text);
    direction: rtl !important;
    text-align: right !important;
}

.analysis-smart-merged-card .future-analysis-grid > div[b-swvbuns20o]::before,
.analysis-smart-merged-card .analysis-metric-card[b-swvbuns20o]::before,
.analysis-smart-merged-card .detection-brief[b-swvbuns20o]::before,
.analysis-smart-merged-card .detection-unavailable[b-swvbuns20o]::before {
    content: "";
    position: absolute;
    inset-block: 14px;
    inset-inline-start: 70px;
    width: 2px;
    background: var(--ui-line);
    pointer-events: none;
}

.analysis-smart-merged-card .future-analysis-grid > div[b-swvbuns20o]::after,
.analysis-smart-merged-card .analysis-metric-card[b-swvbuns20o]::after,
.analysis-smart-merged-card .detection-brief[b-swvbuns20o]::after,
.analysis-smart-merged-card .detection-unavailable[b-swvbuns20o]::after {
    display: grid !important;
    place-items: center;

    position: absolute;
    inset-inline-start: 16px;
    top: 50%;
    transform: translateY(-50%);

    width: 42px;
    height: 42px;

    color: #7f7357;
    background: transparent;
    border: 0;
    border-radius: 0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.95rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;

    opacity: 1;
    text-shadow: none;
    box-shadow: none;
    pointer-events: none;
}

/* smart-analysis icons */
.analysis-smart-merged-card .future-analysis-grid > div:nth-child(1)[b-swvbuns20o]::after { content: "A"; }
.analysis-smart-merged-card .future-analysis-grid > div:nth-child(2)[b-swvbuns20o]::after { content: "▤"; font-size: 1.82rem; }
.analysis-smart-merged-card .future-analysis-grid > div:nth-child(3)[b-swvbuns20o]::after { content: "✦"; font-size: 1.78rem; }
.analysis-smart-merged-card .future-analysis-grid > div:nth-child(4)[b-swvbuns20o]::after { content: "⇄"; font-size: 1.82rem; }
.analysis-smart-merged-card .future-analysis-grid > div:nth-child(5)[b-swvbuns20o]::after { content: "◆"; font-size: 1.68rem; }
.analysis-smart-merged-card .future-analysis-grid > div:nth-child(6)[b-swvbuns20o]::after { content: "≋"; font-size: 1.76rem; }

/* metrics icons */
.analysis-smart-merged-card .analysis-metric-card:nth-child(1)[b-swvbuns20o]::after { content: "W"; }
.analysis-smart-merged-card .analysis-metric-card:nth-child(2)[b-swvbuns20o]::after { content: "A"; }
.analysis-smart-merged-card .analysis-metric-card:nth-child(3)[b-swvbuns20o]::after { content: "¶"; font-size: 1.86rem; }
.analysis-smart-merged-card .analysis-metric-card:nth-child(4)[b-swvbuns20o]::after { content: "▤"; font-size: 1.82rem; }
.analysis-smart-merged-card .analysis-metric-card:nth-child(5)[b-swvbuns20o]::after { content: "◫"; font-size: 1.82rem; }

.analysis-smart-merged-card .detection-brief[b-swvbuns20o]::after,
.analysis-smart-merged-card .detection-unavailable[b-swvbuns20o]::after {
    content: "⇄";
    font-size: 1.82rem;
}

/* =========================================================
   INTERNAL LAYOUT
   ========================================================= */

.analysis-smart-merged-card .future-analysis-grid > div[b-swvbuns20o],
.analysis-smart-merged-card .analysis-metric-card[b-swvbuns20o] {
    display: grid;
    grid-template-rows: auto 1fr auto;
    align-items: stretch;
}

.analysis-smart-merged-card .future-analysis-grid span[b-swvbuns20o],
.analysis-smart-merged-card .future-analysis-grid strong[b-swvbuns20o],
.analysis-smart-merged-card .future-analysis-grid em[b-swvbuns20o],
.analysis-smart-merged-card .analysis-metric-card > span[b-swvbuns20o],
.analysis-smart-merged-card .analysis-metric-card > strong[b-swvbuns20o],
.analysis-smart-merged-card .analysis-metric-card > small[b-swvbuns20o],
.analysis-smart-merged-card .detection-brief > span[b-swvbuns20o],
.analysis-smart-merged-card .detection-brief p[b-swvbuns20o],
.analysis-smart-merged-card .detection-brief small[b-swvbuns20o],
.analysis-smart-merged-card .detection-unavailable[b-swvbuns20o] {
    position: relative;
    z-index: 2;
    width: 100%;
    direction: rtl !important;
    text-align: right !important;
}

/* title pinned to the top */
.analysis-smart-merged-card .future-analysis-grid span[b-swvbuns20o],
.analysis-smart-merged-card .analysis-metric-card > span[b-swvbuns20o],
.analysis-smart-merged-card .detection-brief > span[b-swvbuns20o] {
    align-self: start;
    margin: 0 0 4px;
    color: #342f25;
    font-size: .60rem;
    font-weight: 800;
    line-height: 1.35;
}

/* main value vertically centered */
.analysis-smart-merged-card .future-analysis-grid strong[b-swvbuns20o],
.analysis-smart-merged-card .analysis-metric-card > strong[b-swvbuns20o] {
    align-self: center;
    justify-self: stretch;
    margin: 0;
    color: #eda100;
    font-weight: 900;
    line-height: 1.14;
    unicode-bidi: plaintext;
}

.analysis-smart-merged-card .future-analysis-grid strong[b-swvbuns20o] {
    font-size: .82rem;
}

.analysis-smart-merged-card .analysis-metric-card > strong[b-swvbuns20o] {
    font-size: 1.32rem;
    font-variant-numeric: tabular-nums;
}

/* helper line at bottom */
.analysis-smart-merged-card .analysis-metric-card > small[b-swvbuns20o],
.analysis-smart-merged-card .future-analysis-grid em[b-swvbuns20o],
.analysis-smart-merged-card .detection-brief small[b-swvbuns20o] {
    align-self: end;
    margin: 4px 0 0;
    color: #5d5648;
    font-size: .57rem;
    font-style: normal;
    font-weight: 560;
    line-height: 1.42;
}

.analysis-smart-merged-card .future-analysis-grid em[b-swvbuns20o] {
    display: block;
}

.analysis-smart-merged-card .future-analysis-grid strong[b-swvbuns20o],
.analysis-smart-merged-card .detection-brief p[b-swvbuns20o] {
    overflow-wrap: anywhere;
}

/* bottom translation brief */
.analysis-smart-merged-card .detection-brief[b-swvbuns20o],
.analysis-smart-merged-card .detection-unavailable[b-swvbuns20o] {
    min-height: 84px;
    padding-block: 12px;
}

.analysis-smart-merged-card .detection-brief p[b-swvbuns20o] {
    margin: 0;
    color: #2f2b23;
    font-size: .66rem;
    line-height: 1.68;
    unicode-bidi: plaintext;
}

.analysis-smart-merged-card .detection-brief small[b-swvbuns20o],
.analysis-smart-merged-card .detection-confidence[b-swvbuns20o],
.analysis-smart-merged-card .detection-unavailable[b-swvbuns20o] {
    color: #5d5648;
    font-size: .57rem;
    line-height: 1.5;
}

.analysis-smart-merged-card .future-analysis-grid > div:hover[b-swvbuns20o],
.analysis-smart-merged-card .analysis-metric-card:hover[b-swvbuns20o] {
    transform: translateY(-1px);
    border-color: var(--ui-line);
    background: linear-gradient(
        90deg,
        #f6e6b7 0%,
        #fbf2d8 48%,
        #ffffff 100%
    );
    box-shadow:
        0 4px 10px rgba(16, 24, 40, .07),
        inset 0 1px 0 rgba(255,255,255,.54);
}

/* ltr safety */
.smart-analysis-page[dir="ltr"] .analysis-smart-merged-card .future-analysis-grid > div[b-swvbuns20o],
.smart-analysis-page[dir="ltr"] .analysis-smart-merged-card .analysis-metric-card[b-swvbuns20o],
.smart-analysis-page[dir="ltr"] .analysis-smart-merged-card .detection-brief[b-swvbuns20o],
.smart-analysis-page[dir="ltr"] .analysis-smart-merged-card .detection-unavailable[b-swvbuns20o] {
    direction: ltr !important;
}

.smart-analysis-page[dir="ltr"] .analysis-smart-merged-card .future-analysis-grid span[b-swvbuns20o],
.smart-analysis-page[dir="ltr"] .analysis-smart-merged-card .future-analysis-grid strong[b-swvbuns20o],
.smart-analysis-page[dir="ltr"] .analysis-smart-merged-card .future-analysis-grid em[b-swvbuns20o],
.smart-analysis-page[dir="ltr"] .analysis-smart-merged-card .analysis-metric-card > span[b-swvbuns20o],
.smart-analysis-page[dir="ltr"] .analysis-smart-merged-card .analysis-metric-card > strong[b-swvbuns20o],
.smart-analysis-page[dir="ltr"] .analysis-smart-merged-card .analysis-metric-card > small[b-swvbuns20o],
.smart-analysis-page[dir="ltr"] .analysis-smart-merged-card .detection-brief > span[b-swvbuns20o],
.smart-analysis-page[dir="ltr"] .analysis-smart-merged-card .detection-brief p[b-swvbuns20o],
.smart-analysis-page[dir="ltr"] .analysis-smart-merged-card .detection-brief small[b-swvbuns20o] {
    text-align: left !important;
}

/* responsive */
@media (max-width: 560px) {
    .analysis-smart-merged-card[b-swvbuns20o] {
        padding: 14px;
    }

    .analysis-smart-merged-stack[b-swvbuns20o] {
        gap: 8px;
    }

    .analysis-smart-merged-card .future-analysis-grid > div[b-swvbuns20o],
    .analysis-smart-merged-card .analysis-metric-card[b-swvbuns20o],
    .analysis-smart-merged-card .detection-brief[b-swvbuns20o],
    .analysis-smart-merged-card .detection-unavailable[b-swvbuns20o] {
        min-height: 74px;
        padding-inline-start: 78px;
        padding-inline-end: 12px;
        padding-block: 9px;
    }

    .analysis-smart-merged-card .future-analysis-grid > div[b-swvbuns20o]::before,
    .analysis-smart-merged-card .analysis-metric-card[b-swvbuns20o]::before,
    .analysis-smart-merged-card .detection-brief[b-swvbuns20o]::before,
    .analysis-smart-merged-card .detection-unavailable[b-swvbuns20o]::before {
        inset-inline-start: 64px;
        inset-block: 12px;
    }

    .analysis-smart-merged-card .future-analysis-grid > div[b-swvbuns20o]::after,
    .analysis-smart-merged-card .analysis-metric-card[b-swvbuns20o]::after,
    .analysis-smart-merged-card .detection-brief[b-swvbuns20o]::after,
    .analysis-smart-merged-card .detection-unavailable[b-swvbuns20o]::after {
        inset-inline-start: 14px;
        width: 36px;
        height: 36px;
        font-size: 1.62rem;
    }
}

/* ANALYZE EXACT REFERENCE CARD THEME V11 - END */


/* ANALYZE HEADER PROJECT ID INLINE V12 - START */

/*
 * Project reference:
 * - physical left side of the hero
 * - one single line
 * - "label : id"
 * - compact, no stacked layout
 */

/* =========================================================
   PROJECT ID — HEADER LEFT
   ========================================================= */

.analysis-page-header[b-swvbuns20o] {
    position: relative;
}


    .analysis-page-header > .analysis-project-reference[b-swvbuns20o] {
        position: absolute;
        top: 20px;
        left: 24px;
        right: auto;
        z-index: 10;
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        width: auto;
        min-width: 0;
        max-width: none;
        margin: 0;
        padding: 7px 11px;
        border: 1px solid var(--ui-line);
        border-radius: var(--ui-r-sm);
        background: var(--ui-surface-raised);
        box-shadow: var(--ui-shadow-sm);
        white-space: nowrap;
    }


        /* عنوان شناسه پروژه */
        .analysis-page-header > .analysis-project-reference span[b-swvbuns20o] {
            display: inline;
            width: auto;
            margin: 0;
            color: var(--muted);
            font-size: .56rem;
            font-weight: 750;
            white-space: nowrap;
        }


            /* دو نقطه بین عنوان و شناسه */
            .analysis-page-header > .analysis-project-reference span[b-swvbuns20o]::after {
                content: " :";
            }


        /* خود شناسه */
        .analysis-page-header > .analysis-project-reference strong[b-swvbuns20o] {
            display: inline;
            width: auto;
            margin: 0;
            color: var(--text-secondary);
            font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
            font-size: .61rem;
            font-weight: 700;
            direction: ltr;
            text-align: left;
            white-space: nowrap;
        }


/* فارسی */
.smart-analysis-page[dir="rtl"]
.analysis-page-header > .analysis-project-reference[b-swvbuns20o] {
    direction: rtl;
}


/* انگلیسی */
.smart-analysis-page[dir="ltr"]
.analysis-page-header > .analysis-project-reference[b-swvbuns20o] {
    direction: ltr;
}


/* Tablet / Mobile */
@media (max-width: 820px) {

    .analysis-page-header > .analysis-project-reference[b-swvbuns20o] {
        top: 14px;
        left: 16px;
        padding: 6px 9px;
    }
}

.analysis-project-reference span[b-swvbuns20o],
.analysis-project-reference strong[b-swvbuns20o] {
    display: inline !important;
    width: auto !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

.analysis-project-reference span[b-swvbuns20o] {
    color: var(--muted);
    font-size: .56rem;
    font-weight: 750;
}

.analysis-project-reference span[b-swvbuns20o]::after {
    content: " :";
}

.analysis-project-reference strong[b-swvbuns20o] {
    color: var(--text-secondary);
    font-size: .61rem;
    font-weight: 700;
    direction: ltr !important;
    text-align: left !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Keep the visual order correct in Persian: label on the right, id on the left. */
.smart-analysis-page[dir="rtl"] .analysis-project-reference[b-swvbuns20o] {
    direction: rtl !important;
}

/* English stays naturally left-to-right. */
.smart-analysis-page[dir="ltr"] .analysis-project-reference[b-swvbuns20o] {
    direction: ltr !important;
}

@media (max-width: 820px) {
    .analysis-project-reference[b-swvbuns20o] {
        top: 14px !important;
        left: 16px !important;
        padding: 6px 9px !important;
    }
}

/* ANALYZE HEADER PROJECT ID INLINE V12 - END */

/* TRANSLATION ANALYZE WARM DARK CARDS V1 - START */
/*
 * Dark-mode correction for the exact-reference cards in Stage 2.
 * The light theme deliberately uses a cream-to-white gradient.
 * In dark mode those same fixed colors were still being rendered,
 * producing bright cream cards inside the dark workspace.
 */

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.future-analysis-grid > div[b-swvbuns20o],

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.analysis-metric-card[b-swvbuns20o],

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.detection-brief[b-swvbuns20o],

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.detection-unavailable[b-swvbuns20o] {
    border-color: rgba(255, 236, 198, .12) !important;

    background:
        linear-gradient(
            90deg,
            rgba(226, 175, 46, .13) 0%,
            rgba(226, 175, 46, .065) 48%,
            rgba(255, 255, 255, .018) 100%
        ),
        #272018 !important;

    color: #f1eadf !important;

    box-shadow:
        0 7px 18px rgba(0, 0, 0, .13),
        inset 0 1px 0 rgba(255,255,255,.018) !important;
}

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.future-analysis-grid > div[b-swvbuns20o]::before,

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.analysis-metric-card[b-swvbuns20o]::before,

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.detection-brief[b-swvbuns20o]::before,

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.detection-unavailable[b-swvbuns20o]::before {
    background: rgba(255, 236, 198, .11) !important;
}

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.future-analysis-grid > div[b-swvbuns20o]::after,

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.analysis-metric-card[b-swvbuns20o]::after,

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.detection-brief[b-swvbuns20o]::after,

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.detection-unavailable[b-swvbuns20o]::after {
    color: #c8b68f !important;
}

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.future-analysis-grid span[b-swvbuns20o],

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.analysis-metric-card > span[b-swvbuns20o],

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.detection-brief > span[b-swvbuns20o] {
    color: #e7ded0 !important;
}

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.future-analysis-grid strong[b-swvbuns20o],

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.analysis-metric-card > strong[b-swvbuns20o] {
    color: #f0b637 !important;
}

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.analysis-metric-card > small[b-swvbuns20o],

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.future-analysis-grid em[b-swvbuns20o],

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.detection-brief small[b-swvbuns20o],

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.detection-confidence[b-swvbuns20o],

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.detection-unavailable[b-swvbuns20o] {
    color: #a79d8f !important;
}

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.detection-brief p[b-swvbuns20o] {
    color: #e8dfd2 !important;
}

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.future-analysis-grid > div:hover[b-swvbuns20o],

html[data-theme="dark"]
.smart-analysis-page
.analysis-smart-merged-card
.analysis-metric-card:hover[b-swvbuns20o] {
    border-color: rgba(226, 175, 46, .18) !important;

    background:
        linear-gradient(
            90deg,
            rgba(226, 175, 46, .16) 0%,
            rgba(226, 175, 46, .075) 48%,
            rgba(255, 255, 255, .022) 100%
        ),
        #2a2219 !important;

    box-shadow:
        0 10px 23px rgba(0,0,0,.16),
        inset 0 1px 0 rgba(255,255,255,.022) !important;
}
/* TRANSLATION ANALYZE WARM DARK CARDS V1 - END */


/* =========================================================
   PHONE
   =========================================================
   The five counts (words, characters, paragraphs, pages,
   images) are short numbers; two to a row they read as a
   dashboard instead of a page-long column. The insight
   cards keep the full width - their values are sentences.
   ========================================================= */

@media (max-width: 560px) {

    .analysis-smart-merged-cluster--metrics .analysis-metric-grid[b-swvbuns20o] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

        .analysis-smart-merged-cluster--metrics .analysis-metric-grid > .analysis-metric-card:last-child:nth-child(odd)[b-swvbuns20o] {
            grid-column: 1 / -1;
        }

    .analysis-smart-merged-card .analysis-metric-card[b-swvbuns20o] {
        min-height: 0;
        padding-block: 11px;
        padding-inline-start: 46px;
        padding-inline-end: 11px;
    }

        .analysis-smart-merged-card .analysis-metric-card[b-swvbuns20o]::before {
            inset-inline-start: 38px;
            inset-block: 12px;
        }

        .analysis-smart-merged-card .analysis-metric-card[b-swvbuns20o]::after {
            inset-inline-start: 6px;
            width: 28px;
            height: 28px;
            font-size: 1.3rem !important;
        }

    .analysis-smart-merged-card .future-analysis-grid > div[b-swvbuns20o],
    .analysis-smart-merged-card .detection-brief[b-swvbuns20o],
    .analysis-smart-merged-card .detection-unavailable[b-swvbuns20o] {
        padding-inline-start: 64px;
    }

        .analysis-smart-merged-card .future-analysis-grid > div[b-swvbuns20o]::before,
        .analysis-smart-merged-card .detection-brief[b-swvbuns20o]::before,
        .analysis-smart-merged-card .detection-unavailable[b-swvbuns20o]::before {
            inset-inline-start: 52px;
        }

        .analysis-smart-merged-card .future-analysis-grid > div[b-swvbuns20o]::after,
        .analysis-smart-merged-card .detection-brief[b-swvbuns20o]::after,
        .analysis-smart-merged-card .detection-unavailable[b-swvbuns20o]::after {
            inset-inline-start: 8px;
            width: 36px;
            font-size: 1.5rem !important;
        }
}
/* _content/AITranslationPlatform.Web/Components/Translation/FileDropZone.razor.rz.scp.css */
/* ============================================================
   FILE DROP ZONE â€” DASHBOARD DESIGN SYSTEM
   Stage 1 canonical stylesheet
   ============================================================ */

.universal-dropzone[b-cj87nm7rub] {
    min-height: 360px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-lg);
    background:
        radial-gradient(70% 88% at 50% 42%, var(--ui-accent-tint), transparent 68%),
        linear-gradient(180deg, var(--ui-surface-sunken), transparent),
        var(--ui-surface-sunken);
    transition: var(--ui-t);
}

.universal-dropzone[b-cj87nm7rub]::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid transparent;
    border-radius: calc(var(--ui-r-lg) - 8px);
    pointer-events: none;
    transition: var(--ui-t);
}

.universal-dropzone:hover[b-cj87nm7rub],
.universal-dropzone:focus-within[b-cj87nm7rub] {
    transform: translateY(-2px);
    border-color: var(--ui-accent-strong);
    background:
        radial-gradient(76% 94% at 50% 42%, var(--ui-accent-tint), transparent 70%),
        var(--ui-surface-sunken);
    box-shadow: var(--ui-shadow-md);
}

.universal-dropzone:hover[b-cj87nm7rub]::before,
.universal-dropzone:focus-within[b-cj87nm7rub]::before {
    border-color: rgba(226, 175, 46, .18);
}

[b-cj87nm7rub] .universal-file-input {
    position: absolute;
    inset: 0;
    z-index: 20;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.dropzone-ring[b-cj87nm7rub] {
    position: absolute;
    border: 1px solid rgba(226, 175, 46, .16);
    border-radius: 50%;
    pointer-events: none;
    transition: transform var(--ui-dur-3) var(--ui-ease), opacity var(--ui-dur-2) var(--ui-ease);
}

.ring-one[b-cj87nm7rub] {
    width: 310px;
    height: 310px;
    opacity: .72;
}

.ring-two[b-cj87nm7rub] {
    width: 226px;
    height: 226px;
    opacity: .78;
}

.universal-dropzone:hover .ring-one[b-cj87nm7rub],
.universal-dropzone:focus-within .ring-one[b-cj87nm7rub] {
    transform: scale(1.06);
}

.universal-dropzone:hover .ring-two[b-cj87nm7rub],
.universal-dropzone:focus-within .ring-two[b-cj87nm7rub] {
    transform: scale(.96);
}

.dropzone-content[b-cj87nm7rub] {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 34px;
    text-align: center;
    pointer-events: none;
}

.dropzone-main-icon[b-cj87nm7rub] {
    width: 94px;
    height: 94px;
    position: relative;
    display: grid;
    place-items: center;
    margin-bottom: 19px;
    border: 1px solid var(--ui-line);
    border-radius: 28px;
    background: var(--ui-surface-strong);
    color: var(--ui-warning);
    box-shadow: var(--ui-shadow-md);
    transition: var(--ui-t);
}

.universal-dropzone:hover .dropzone-main-icon[b-cj87nm7rub],
.universal-dropzone:focus-within .dropzone-main-icon[b-cj87nm7rub] {
    transform: translateY(-4px) rotate(-2deg);
    box-shadow: var(--ui-shadow-lg);
}

.dropzone-main-icon > svg[b-cj87nm7rub] {
    width: 44px;
    height: 44px;
}

.dropzone-main-icon > span[b-cj87nm7rub] {
    width: 32px;
    height: 32px;
    position: absolute;
    inset-inline-end: -7px;
    bottom: -6px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--ui-accent), var(--ui-accent-strong));
    color: var(--ui-on-accent);
    box-shadow: var(--ui-shadow-accent);
    transition: var(--ui-t);
}

.universal-dropzone:hover .dropzone-main-icon > span[b-cj87nm7rub],
.universal-dropzone:focus-within .dropzone-main-icon > span[b-cj87nm7rub] {
    transform: translateY(-2px) scale(1.06);
}

.dropzone-main-icon > span svg[b-cj87nm7rub] {
    width: 16px;
    height: 16px;
}

.dropzone-content h3[b-cj87nm7rub] {
    margin: 0 0 6px;
    color: var(--text);
    font-size: 1rem;
    font-weight: 820;
}

.dropzone-content > p[b-cj87nm7rub] {
    max-width: 520px;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: .68rem;
    line-height: 1.75;
}

.browse-file-button[b-cj87nm7rub] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--text);
    font-size: .67rem;
    font-weight: 800;
    box-shadow: var(--ui-shadow-sm);
    transition: var(--ui-t);
}

.universal-dropzone:hover .browse-file-button[b-cj87nm7rub],
.universal-dropzone:focus-within .browse-file-button[b-cj87nm7rub] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-surface-strong);
    color: var(--ui-warning);
    transform: translateY(-1px);
}

.browse-file-button svg[b-cj87nm7rub] {
    width: 16px;
    height: 16px;
}

.dropzone-supported[b-cj87nm7rub] {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    margin-top: 17px;
}

.dropzone-supported strong[b-cj87nm7rub] {
    color: var(--ui-warning);
    font-size: .59rem;
    font-weight: 800;
}

.dropzone-supported span[b-cj87nm7rub] {
    color: var(--muted);
    font-size: .54rem;
}

@media (max-width: 700px) {
    .universal-dropzone[b-cj87nm7rub] {
        min-height: 310px;
        border-radius: var(--ui-r-md);
    }

    .dropzone-content[b-cj87nm7rub] {
        padding: 28px 20px;
    }

    .dropzone-main-icon[b-cj87nm7rub] {
        width: 82px;
        height: 82px;
        border-radius: 24px;
    }

    .dropzone-main-icon > svg[b-cj87nm7rub] {
        width: 38px;
        height: 38px;
    }

    .ring-one[b-cj87nm7rub] {
        width: 260px;
        height: 260px;
    }

    .ring-two[b-cj87nm7rub] {
        width: 190px;
        height: 190px;
    }
}
/* _content/AITranslationPlatform.Web/Components/Translation/NewTranslation.razor.rz.scp.css */
/* ============================================================
   NEW TRANSLATION â€” DASHBOARD DESIGN SYSTEM
   Stage 1 canonical stylesheet
   ============================================================ */

.translation-workspace[b-6461hta7ue] {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
    color: var(--text);
}


/* =========================================================
   HERO / PAGE HEADER
   ========================================================= */

.translation-header[b-6461hta7ue] {
    min-height: 220px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    padding: 32px 34px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xl);
    background:
        radial-gradient(115% 145% at 8% -18%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(85% 115% at 96% 118%, var(--ui-bloom-cool), transparent 56%),
        linear-gradient(135deg, var(--ui-surface-strong), var(--ui-surface));
    box-shadow: var(--ui-shadow-md);
    animation: ui-card-in .62s var(--ui-ease-out) .04s backwards;
}

.translation-workspace[dir="rtl"] .translation-header[b-6461hta7ue] {
    background:
        radial-gradient(115% 145% at 92% -18%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(85% 115% at 4% 118%, var(--ui-bloom-cool), transparent 56%),
        linear-gradient(225deg, var(--ui-surface-strong), var(--ui-surface));
}

.translation-header[b-6461hta7ue]::before,
.translation-header[b-6461hta7ue]::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.translation-header[b-6461hta7ue]::before {
    width: 280px;
    height: 280px;
    inset-block-start: -178px;
    inset-inline-end: -92px;
    border: 42px solid var(--ui-accent-soft);
    opacity: .72;
    animation: ui-hero-ring 1.05s var(--ui-ease-out) .08s backwards;
}

.translation-header[b-6461hta7ue]::after {
    width: 150px;
    height: 150px;
    inset-block-end: -98px;
    inset-inline-start: -42px;
    border: 26px solid var(--ui-line-strong);
    opacity: .72;
    animation: ui-hero-ring 1.05s var(--ui-ease-out) .18s backwards;
}

.translation-header-copy[b-6461hta7ue],
.workflow-progress[b-6461hta7ue] {
    position: relative;
    z-index: 1;
}

.translation-header-copy[b-6461hta7ue] {
    min-width: 0;
    max-width: 760px;
}

.translation-eyebrow[b-6461hta7ue] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    padding: 6px 12px;
    border: 1px solid rgba(226, 175, 46, .34);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--accent-text);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .075em;
    animation: ui-rise .5s var(--ui-ease-out) .12s backwards;
}

.translation-eyebrow[b-6461hta7ue]::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: var(--ui-accent-strong);
    animation: ui-pulse 2.4s var(--ui-ease) infinite;
}

.translation-workspace[dir="rtl"] .translation-eyebrow[b-6461hta7ue] {
    letter-spacing: 0;
}

.translation-header h1[b-6461hta7ue] {
    margin: 0 0 10px;
    color: var(--text);
    font-size: clamp(1.8rem, 2.4vw, 2.65rem);
    font-weight: 820;
    line-height: 1.22;
    letter-spacing: -.025em;
    animation: ui-reveal-up .58s var(--ui-ease-out) .19s backwards;
}

.translation-workspace[dir="rtl"] .translation-header h1[b-6461hta7ue] {
    letter-spacing: 0;
}

.translation-header-copy p[b-6461hta7ue] {
    max-width: 700px;
    margin: 0;
    color: var(--text-secondary);
    font-size: .84rem;
    line-height: 1.9;
    animation: ui-rise .52s var(--ui-ease-out) .28s backwards;
}


/* =========================================================
   SHARED SECTION / CARD LANGUAGE
   ========================================================= */

.quality-level-section[b-6461hta7ue],
.source-type-section[b-6461hta7ue],
.workspace-card[b-6461hta7ue],
.next-phase-card[b-6461hta7ue] {
    border: 1px solid var(--ui-line);
    background: var(--surface);
    box-shadow: var(--ui-shadow-sm);
}

.quality-level-section[b-6461hta7ue],
.source-type-section[b-6461hta7ue] {
    padding: 21px;
    border-radius: var(--ui-r-lg);
}

.quality-level-section[b-6461hta7ue] {
    animation: ui-card-in .58s var(--ui-ease-out) .10s backwards;
}

.source-type-section[b-6461hta7ue] {
    animation: ui-card-in .58s var(--ui-ease-out) .16s backwards;
}

.section-heading[b-6461hta7ue] {
    margin-bottom: 16px;
}

.section-heading > div[b-6461hta7ue],
.workspace-heading[b-6461hta7ue] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-number[b-6461hta7ue],
.workspace-number[b-6461hta7ue],
.next-phase-number[b-6461hta7ue] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(226, 175, 46, .22);
    border-radius: var(--ui-r-sm);
    background: var(--ui-accent-soft);
    color: var(--ui-warning);
    font-size: .59rem;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

.section-heading h2[b-6461hta7ue],
.workspace-heading h2[b-6461hta7ue] {
    margin: 0 0 3px;
    color: var(--text);
    font-size: .94rem;
    font-weight: 800;
}

.section-heading p[b-6461hta7ue],
.workspace-heading p[b-6461hta7ue] {
    margin: 0;
    color: var(--muted);
    font-size: .62rem;
    line-height: 1.65;
}


/* =========================================================
   QUALITY LEVEL
   ========================================================= */

.quality-level-grid[b-6461hta7ue] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 11px;
}

.quality-level-card[b-6461hta7ue] {
    min-width: 0;
    min-height: 148px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background:
        linear-gradient(155deg, var(--ui-accent-tint), transparent 72%),
        var(--ui-surface-sunken);
    color: var(--text);
    font-family: inherit;
    text-align: start;
    cursor: pointer;
    transition: var(--ui-t);
}

.quality-level-card[b-6461hta7ue]::before,
.source-type-card[b-6461hta7ue]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 34%, rgba(255,255,255,.46) 50%, transparent 66%);
    opacity: 0;
    pointer-events: none;
}

.quality-level-card:hover[b-6461hta7ue],
.source-type-card:hover[b-6461hta7ue] {
    transform: translateY(-3px);
    border-color: var(--border-accent);
    box-shadow: var(--ui-shadow-md);
}

.quality-level-card:hover[b-6461hta7ue]::before,
.source-type-card:hover[b-6461hta7ue]::before {
    animation: ui-sheen .78s var(--ui-ease-out);
}

.quality-level-card.is-chosen[b-6461hta7ue] {
    border-color: var(--ui-accent-strong);
    background:
        linear-gradient(145deg, var(--ui-accent-tint), transparent 68%),
        var(--ui-surface-strong);
    box-shadow: 0 0 0 1px rgba(226, 175, 46, .18), var(--ui-shadow-md);
}

.quality-level-card.is-empty[b-6461hta7ue] {
    opacity: .68;
}

.quality-level-head[b-6461hta7ue] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.quality-level-head strong[b-6461hta7ue] {
    color: var(--text);
    font-size: .88rem;
    font-weight: 820;
}

.quality-level-check[b-6461hta7ue] {
    width: 23px;
    height: 23px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ui-accent);
    color: var(--ui-on-accent);
    box-shadow: 0 0 0 4px var(--ui-accent-soft);
    animation: ui-pop-in .42s var(--ui-ease-spring) both;
}

.quality-level-check svg[b-6461hta7ue] {
    width: 13px;
    height: 13px;
}

.quality-level-credit[b-6461hta7ue] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 3px;
}

.quality-level-credit b[b-6461hta7ue] {
    color: var(--text);
    font-size: 1.55rem;
    font-weight: 840;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.quality-level-credit small[b-6461hta7ue] {
    color: var(--muted);
    font-size: .64rem;
    font-weight: 650;
}

.quality-level-held[b-6461hta7ue],
.quality-level-empty[b-6461hta7ue],
.quality-level-inputs[b-6461hta7ue] {
    font-size: .62rem;
    line-height: 1.65;
}

.quality-level-held[b-6461hta7ue] {
    color: var(--muted);
}

.quality-level-empty[b-6461hta7ue] {
    color: var(--ui-danger);
    font-weight: 750;
}

.quality-level-inputs[b-6461hta7ue] {
    color: var(--text-secondary);
}

.quality-level-shared[b-6461hta7ue] {
    margin: 11px 0 0;
    padding: 10px 13px;
    border: 1px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-sunken);
    color: var(--text-secondary);
    font-size: .66rem;
    line-height: 1.7;
}

.quality-level-shared b[b-6461hta7ue] {
    color: var(--text);
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}


/* =========================================================
   SOURCE TYPE
   ========================================================= */

.source-type-grid[b-6461hta7ue] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.source-type-card[b-6461hta7ue] {
    min-width: 0;
    min-height: 126px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-sunken);
    color: var(--text);
    font-family: inherit;
    text-align: start;
    cursor: pointer;
    transition: var(--ui-t);
}

.source-type-card.selected[b-6461hta7ue] {
    border-color: var(--ui-accent-strong);
    background:
        linear-gradient(145deg, var(--ui-accent-tint), transparent 70%),
        var(--ui-surface-strong);
    box-shadow: 0 0 0 1px rgba(226,175,46,.14), var(--ui-shadow-sm);
}

.source-type-card.locked[b-6461hta7ue] {
    cursor: not-allowed;
    opacity: .46;
    filter: grayscale(.25);
}

.source-type-card.locked:hover[b-6461hta7ue] {
    transform: none;
    border-color: var(--ui-line);
    box-shadow: none;
}

.source-card-icon[b-6461hta7ue] {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-raised);
    color: var(--ui-ink-2);
    transition: var(--ui-t);
}

.source-type-card:hover .source-card-icon[b-6461hta7ue] {
    transform: rotate(-4deg) scale(1.05);
}

.source-type-card.selected .source-card-icon[b-6461hta7ue] {
    border-color: transparent;
    background: linear-gradient(135deg, var(--ui-accent), var(--ui-accent-strong));
    color: var(--ui-on-accent);
    box-shadow: var(--ui-shadow-accent);
}

.source-card-icon svg[b-6461hta7ue] {
    width: 19px;
    height: 19px;
}

.source-card-copy[b-6461hta7ue] {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.source-card-copy strong[b-6461hta7ue] {
    color: var(--text);
    font-size: .69rem;
    font-weight: 800;
}

.source-card-copy small[b-6461hta7ue] {
    max-width: 100%;
    overflow: hidden;
    color: var(--muted);
    font-size: .54rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.source-check[b-6461hta7ue] {
    width: 22px;
    height: 22px;
    position: absolute;
    inset-block-start: 11px;
    inset-inline-end: 11px;
    display: none;
    place-items: center;
    border-radius: 50%;
    background: var(--ui-accent);
    color: var(--ui-on-accent);
    box-shadow: 0 0 0 4px var(--ui-accent-soft);
}

.source-check svg[b-6461hta7ue] {
    width: 12px;
    height: 12px;
}

.source-type-card.selected .source-check[b-6461hta7ue] {
    display: grid;
    animation: ui-pop-in .42s var(--ui-ease-spring) both;
}

.package-access-notice[b-6461hta7ue] {
    display: grid;
    gap: 4px;
    margin-top: 12px;
    padding: 11px 13px;
    border: 1px solid var(--ui-warning-soft);
    border-radius: var(--ui-r-sm);
    background: var(--ui-warning-tint);
    color: var(--text-secondary);
    font-size: .61rem;
    line-height: 1.7;
}

.package-access-notice strong[b-6461hta7ue] {
    color: var(--text);
}


/* =========================================================
   MAIN WORKSPACE
   ========================================================= */

.translation-main-grid[b-6461hta7ue] {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(330px, .5fr);
    align-items: stretch;
    gap: 16px;
    animation: ui-card-in .58s var(--ui-ease-out) .22s backwards;
}

.workspace-card[b-6461hta7ue] {
    min-width: 0;
    border-radius: var(--ui-r-lg);
}

.intake-card[b-6461hta7ue] {
    height: 100%;
    padding: 22px;
}

.workspace-card-header[b-6461hta7ue] {
    margin-bottom: 17px;
}

.analyzer-card[b-6461hta7ue] {
    position: relative;
    top: auto;
    height: 100%;
    padding: 20px;
    overflow: hidden;
    background: radial-gradient(120% 95% at 100% 0%, rgb(255 233 178 / 30%), transparent 54%), var(--surface);
}

.analyzer-card[b-6461hta7ue]::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    inset-block-start: -72px;
    inset-inline-end: -42px;
    border-radius: 50%;

    opacity: .08;
    pointer-events: none;
}


/* =========================================================
   OCR / SUBTITLE NOTICES
   ========================================================= */

.ocr-notice[b-6461hta7ue],
.subtitle-notice[b-6461hta7ue] {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 11px;
    padding: 11px 13px;
    border: 1px solid rgba(226,175,46,.18);
    border-radius: var(--ui-r-sm);
    background: var(--ui-accent-tint);
}

.ocr-notice > span[b-6461hta7ue],
.notice-icon[b-6461hta7ue] {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: var(--ui-r-xs);
    background: var(--ui-surface-raised);
    color: var(--ui-warning);
}

.ocr-notice svg[b-6461hta7ue],
.notice-icon svg[b-6461hta7ue] {
    width: 17px;
    height: 17px;
}

.ocr-notice strong[b-6461hta7ue],
.subtitle-notice strong[b-6461hta7ue] {
    display: block;
    margin-bottom: 2px;
    color: var(--text);
    font-size: .63rem;
}

.ocr-notice p[b-6461hta7ue],
.subtitle-notice p[b-6461hta7ue] {
    margin: 0;
    color: var(--text-secondary);
    font-size: .55rem;
    line-height: 1.6;
}


/* =========================================================
   WEBSITE
   ========================================================= */

.website-source-switch[b-6461hta7ue] {
    display: inline-flex;
    gap: 4px;
    margin-bottom: 15px;
    padding: 4px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-sunken);
}

.website-source-switch button[b-6461hta7ue] {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font-family: inherit;
    font-size: .62rem;
    font-weight: 750;
    cursor: pointer;
    transition: var(--ui-t);
}

.website-source-switch button:hover:not(:disabled)[b-6461hta7ue] {
    color: var(--text);
    background: var(--ui-surface-raised);
}

.website-source-switch button.active[b-6461hta7ue] {
    background: var(--ui-surface-strong);
    color: var(--ui-warning);
    box-shadow: var(--ui-shadow-sm);
}

.website-source-switch button:disabled[b-6461hta7ue] {
    opacity: .42;
    cursor: not-allowed;
}

.website-source-switch svg[b-6461hta7ue] {
    width: 15px;
    height: 15px;
}

.website-url-panel[b-6461hta7ue],
.plain-text-panel[b-6461hta7ue] {
    padding: 18px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-sunken);
}

.website-url-panel label[b-6461hta7ue],
.plain-text-header label[b-6461hta7ue] {
    display: block;
    color: var(--text-secondary);
    font-size: .62rem;
    font-weight: 750;
}

.website-url-panel label[b-6461hta7ue] {
    margin-bottom: 7px;
}

.website-url-input[b-6461hta7ue] {
    min-height: 54px;
    display: flex;
    align-items: center;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-strong);
    transition: var(--ui-t);
}

.website-url-input:focus-within[b-6461hta7ue] {
    border-color: var(--ui-accent-strong);
    box-shadow: 0 0 0 4px var(--ui-accent-soft);
}

.website-url-input > span[b-6461hta7ue] {
    width: 48px;
    display: grid;
    place-items: center;
    color: var(--ui-warning);
}

.website-url-input svg[b-6461hta7ue] {
    width: 18px;
    height: 18px;
}

.website-url-input input[b-6461hta7ue] {
    min-width: 0;
    flex: 1;
    height: 52px;
    padding-inline-end: 15px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: .72rem;
    direction: ltr;
    text-align: left;
}

.website-features[b-6461hta7ue] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 13px;
}

.website-features span[b-6461hta7ue] {
    padding: 5px 8px;
    border: 1px solid rgba(226,175,46,.15);
    border-radius: var(--ui-r-pill);
    background: var(--ui-accent-soft);
    color: var(--ui-warning);
    font-size: .52rem;
    font-weight: 750;
}


/* =========================================================
   PLAIN TEXT
   ========================================================= */

.plain-text-header[b-6461hta7ue] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 8px;
}

.plain-text-header span[b-6461hta7ue] {
    color: var(--muted);
    font-size: .55rem;
    font-variant-numeric: tabular-nums;
}

.plain-text-panel textarea[b-6461hta7ue] {
    width: 100%;
    min-height: 290px;
    resize: vertical;
    padding: 15px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    outline: 0;
    background: var(--ui-surface-strong);
    color: var(--text);
    font-family: inherit;
    font-size: .74rem;
    line-height: 1.85;
    transition: var(--ui-t);
}

.plain-text-panel textarea:hover[b-6461hta7ue] {
    border-color: var(--ui-line-strong);
}

.plain-text-panel textarea:focus[b-6461hta7ue] {
    border-color: var(--ui-accent-strong);
    box-shadow: 0 0 0 4px var(--ui-accent-soft);
}


/* =========================================================
   SELECTED FILE
   ========================================================= */

.selected-file-card[b-6461hta7ue] {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 11px;
    padding: 12px 13px;
    border: 1px solid var(--ui-success-soft);
    border-radius: var(--ui-r-sm);
    background: var(--ui-success-tint);
    animation: ui-rise .42s var(--ui-ease-out) both;
}

.selected-file-type[b-6461hta7ue] {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: var(--ui-r-xs);
    background: var(--ui-surface-raised);
    color: var(--ui-warning);
    font-size: .55rem;
    font-weight: 800;
}

.selected-file-copy[b-6461hta7ue] {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 3px;
}

.selected-file-copy strong[b-6461hta7ue] {
    overflow: hidden;
    color: var(--text);
    font-size: .68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selected-file-copy span[b-6461hta7ue] {
    color: var(--muted);
    font-size: .54rem;
}

.selected-file-ready[b-6461hta7ue] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--ui-success);
    font-size: .56rem;
    font-weight: 800;
}

.selected-file-ready svg[b-6461hta7ue] {
    width: 14px;
    height: 14px;
}

.remove-file-button[b-6461hta7ue] {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: var(--ui-r-xs);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: var(--ui-t);
}

.remove-file-button:hover[b-6461hta7ue] {
    background: var(--ui-danger-soft);
    color: var(--ui-danger);
    transform: rotate(4deg);
}

.remove-file-button svg[b-6461hta7ue] {
    width: 15px;
    height: 15px;
}


/* =========================================================
   VALIDATION / PRIVACY
   ========================================================= */

.input-validation-error[b-6461hta7ue],
.intake-submit-error[b-6461hta7ue] {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(157,66,49,.20);
    border-radius: var(--ui-r-sm);
    background: var(--ui-danger-tint);
    color: var(--ui-danger);
    font-size: .60rem;
    line-height: 1.65;
}

.intake-submit-error[b-6461hta7ue] {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
}

.intake-submit-error .material-symbols-rounded[b-6461hta7ue] {
    flex: 0 0 auto;
    margin-top: .05rem;
    font-size: 1.2rem;
}

.privacy-strip[b-6461hta7ue] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    padding: 11px 13px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-sunken);
}

.privacy-strip > span[b-6461hta7ue] {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: grid;
    place-items: center;
    border-radius: var(--ui-r-xs);
    background: var(--ui-accent-soft);
    color: var(--ui-warning);
}

.privacy-strip svg[b-6461hta7ue] {
    width: 16px;
    height: 16px;
}

.privacy-strip strong[b-6461hta7ue] {
    display: block;
    margin-bottom: 2px;
    color: var(--text);
    font-size: .59rem;
}

.privacy-strip p[b-6461hta7ue] {
    margin: 0;
    color: var(--muted);
    font-size: .53rem;
    line-height: 1.65;
}


/* =========================================================
   ANALYZER
   ========================================================= */

.analyzer-header[b-6461hta7ue] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.analyzer-icon[b-6461hta7ue] {
    width: 47px;
    height: 47px;
    flex: 0 0 47px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(226,175,46,.18);
    border-radius: var(--ui-r-sm);
    background: var(--ui-accent-soft);
    color: var(--ui-warning);
    box-shadow: inset 0 1px 0 var(--ui-line-bright);
}

.analyzer-icon svg[b-6461hta7ue] {
    width: 21px;
    height: 21px;
}

.analyzer-header > div > span[b-6461hta7ue] {
    display: block;
    margin-bottom: 2px;
    color: var(--ui-warning);
    font-size: .50rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.translation-workspace[dir="rtl"] .analyzer-header > div > span[b-6461hta7ue] {
    letter-spacing: 0;
}

.analyzer-header h2[b-6461hta7ue] {
    margin: 0;
    color: var(--text);
    font-size: .86rem;
    font-weight: 800;
}

.analyzer-description[b-6461hta7ue] {
    position: relative;
    z-index: 1;
    margin: 0 0 13px;
    color: var(--muted);
    font-size: .58rem;
    line-height: 1.7;
}

.analyzer-source-badge[b-6461hta7ue] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
    padding: 9px 10px;
    border: 1px solid rgba(226,175,46,.16);
    border-radius: var(--ui-r-xs);
    background: var(--ui-accent-tint);
}

.analyzer-source-badge span[b-6461hta7ue] {
    color: var(--ui-warning);
    font-size: .55rem;
    font-weight: 800;
}

.analyzer-source-badge strong[b-6461hta7ue] {
    max-width: 185px;
    overflow: hidden;
    color: var(--text);
    font-size: .55rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.analysis-capabilities[b-6461hta7ue] {
    position: relative;
    z-index: 1;
}

[b-6461hta7ue] .analysis-capability {
    min-height: 53px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--ui-line);
}

[b-6461hta7ue] .capability-symbol {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: grid;
    place-items: center;
    border-radius: var(--ui-r-xs);
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
}

[b-6461hta7ue] .capability-symbol svg {
    width: 14px;
    height: 14px;
}

[b-6461hta7ue] .capability-copy {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

[b-6461hta7ue] .capability-copy span {
    color: var(--text-secondary);
    font-size: .58rem;
}

[b-6461hta7ue] .capability-copy strong {
    color: var(--text);
    font-size: .58rem;
}

.analysis-waiting[b-6461hta7ue] {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px 4px;
    text-align: center;
}

.waiting-circle[b-6461hta7ue] {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 9px;
    border: 1px dashed var(--ui-line-strong);
    border-radius: 50%;
    background: var(--ui-surface-sunken);
}

.waiting-circle > span[b-6461hta7ue] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ui-accent-strong);
    animation: ui-pulse 2.2s var(--ui-ease) infinite;
}

.analysis-waiting strong[b-6461hta7ue] {
    margin-bottom: 3px;
    color: var(--text);
    font-size: .63rem;
}

.analysis-waiting p[b-6461hta7ue] {
    margin: 0;
    color: var(--muted);
    font-size: .54rem;
    line-height: 1.55;
}

.analysis-ready[b-6461hta7ue] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 9px;
    padding: 8px 9px;
    border-radius: var(--ui-r-xs);
    background: var(--ui-success-tint);
    color: var(--ui-success);
    font-size: .54rem;
}

.analysis-ready svg[b-6461hta7ue] {
    width: 14px;
    height: 14px;
}


/* =========================================================
   PRIMARY CTA
   ========================================================= */

.analyze-button[b-6461hta7ue] {
    width: 100%;
    min-height: 56px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 9px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: var(--ui-r-md);
    background: linear-gradient(135deg, var(--ui-accent), var(--ui-accent-strong));
    color: var(--ui-on-accent);
    font-family: inherit;
    cursor: pointer;
    box-shadow: var(--ui-shadow-accent);
    transition: var(--ui-t);
}

.analyze-button[b-6461hta7ue]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 34%, rgba(255,255,255,.55) 50%, transparent 66%);
    opacity: 0;
    pointer-events: none;
}

.analyze-button:hover:not(:disabled)[b-6461hta7ue] {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(226,175,46,.34);
}

.analyze-button:hover:not(:disabled)[b-6461hta7ue]::before {
    animation: ui-sheen .8s var(--ui-ease-out);
}

.analyze-button:disabled[b-6461hta7ue] {
    opacity: .60;
    cursor: wait;
}

.analyze-button-icon[b-6461hta7ue] {
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    display: grid;
    place-items: center;
    border-radius: var(--ui-r-xs);
    background: rgba(74,54,8,.13);
    color: var(--ui-on-accent);
}

.analyze-button-icon svg[b-6461hta7ue] {
    width: 17px;
    height: 17px;
}

.analyze-button-copy[b-6461hta7ue] {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.translation-workspace[dir="rtl"] .analyze-button-copy[b-6461hta7ue] {
    align-items: flex-end;
}

.analyze-button-copy strong[b-6461hta7ue] {
    font-size: .62rem;
}

.analyze-button-copy small[b-6461hta7ue] {
    color: rgba(74,54,8,.72);
    font-size: .51rem;
}

.analyze-arrow[b-6461hta7ue] {
    width: 17px;
    height: 17px;
    transition: transform var(--ui-dur-2) var(--ui-ease);
}

.analyze-button:hover:not(:disabled) .analyze-arrow[b-6461hta7ue] {
    transform: translateX(3px);
}

.translation-workspace[dir="rtl"] .analyze-arrow[b-6461hta7ue] {
    transform: rotate(180deg);
}

.translation-workspace[dir="rtl"] .analyze-button:hover:not(:disabled) .analyze-arrow[b-6461hta7ue] {
    transform: rotate(180deg) translateX(3px);
}

.intake-button-spinner[b-6461hta7ue] {
    width: 17px;
    height: 17px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: intake-spin-b-6461hta7ue .7s linear infinite;
}

@keyframes intake-spin-b-6461hta7ue {
    to { transform: rotate(360deg); }
}


/* =========================================================
   NEXT PHASE
   ========================================================= */

.next-phase-card[b-6461hta7ue] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 16px;
    border-radius: var(--ui-r-md);
    background:
        linear-gradient(90deg, var(--ui-accent-tint), transparent 48%),
        var(--surface);
    animation: ui-card-in .58s var(--ui-ease-out) .28s backwards;
}

.translation-workspace[dir="rtl"] .next-phase-card[b-6461hta7ue] {
    background:
        linear-gradient(270deg, var(--ui-accent-tint), transparent 48%),
        var(--surface);
}

.next-phase-card > div:first-child[b-6461hta7ue] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.next-phase-card strong[b-6461hta7ue] {
    display: block;
    margin-bottom: 2px;
    color: var(--text);
    font-size: .62rem;
}

.next-phase-card p[b-6461hta7ue] {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: .52rem;
    line-height: 1.6;
}

.next-phase-tags[b-6461hta7ue] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 5px;
}

.next-phase-tags span[b-6461hta7ue] {
    padding: 5px 8px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--text-secondary);
    font-size: .51rem;
    font-weight: 700;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1280px) {
    .translation-header[b-6461hta7ue] {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .workflow-progress[b-6461hta7ue] {
        min-width: 0;
        width: 100%;
        justify-content: space-between;
    }

    .source-type-grid[b-6461hta7ue] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .translation-main-grid[b-6461hta7ue] {
        grid-template-columns: 1fr;
    }

    .analyzer-card[b-6461hta7ue] {
        position: static;
    }
}

@media (max-width: 820px) {
    .translation-header[b-6461hta7ue] {
        min-height: 0;
        padding: 26px 24px;
        border-radius: var(--ui-r-lg);
    }

    .workflow-progress[b-6461hta7ue] {
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .workflow-progress[b-6461hta7ue]::-webkit-scrollbar {
        display: none;
    }

    .workflow-step[b-6461hta7ue] {
        flex: 0 0 auto;
    }

    .quality-level-section[b-6461hta7ue],
    .source-type-section[b-6461hta7ue],
    .intake-card[b-6461hta7ue],
    .analyzer-card[b-6461hta7ue] {
        padding: 18px;
    }

    .source-type-grid[b-6461hta7ue] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .next-phase-card[b-6461hta7ue] {
        align-items: flex-start;
        flex-direction: column;
    }

    .next-phase-tags[b-6461hta7ue] {
        justify-content: flex-start;
    }
}

@media (max-width: 540px) {
    .translation-workspace[b-6461hta7ue] {
        gap: 14px;
    }

    .translation-header[b-6461hta7ue] {
        padding: 22px 18px;
    }

    .translation-header h1[b-6461hta7ue] {
        font-size: 1.65rem;
    }

    .workflow-progress[b-6461hta7ue] {
        display: none;
    }

    .quality-level-grid[b-6461hta7ue],
    .source-type-grid[b-6461hta7ue] {
        grid-template-columns: 1fr;
    }

    .quality-level-section[b-6461hta7ue],
    .source-type-section[b-6461hta7ue],
    .intake-card[b-6461hta7ue],
    .analyzer-card[b-6461hta7ue] {
        padding: 15px;
        border-radius: var(--ui-r-md);
    }

    .source-type-card[b-6461hta7ue] {
        min-height: 112px;
    }

    .plain-text-panel textarea[b-6461hta7ue] {
        min-height: 230px;
    }
}

/* NEW TRANSLATION STAGE 1 REFINEMENT V2 - START */

/* Both cards in the input/analyzer row now share the same grid-row height. */
.translation-main-grid[b-6461hta7ue] {
    align-items: stretch;
}

.translation-main-grid > .workspace-card[b-6461hta7ue] {
    height: 100%;
}

.intake-card[b-6461hta7ue],
.analyzer-card[b-6461hta7ue] {
    align-self: stretch;
}

.analyzer-card[b-6461hta7ue] {
    position: relative;
    top: auto;
}

/* The old preview/notice blocks are removed from markup; keep no reserved space. */
.package-access-notice[b-6461hta7ue],
.next-phase-card[b-6461hta7ue] {
    display: none !important;
}

/* NEW TRANSLATION STAGE 1 REFINEMENT V2 - END */

/* Level picked for the user because of their credits */
.quality-level-notice[b-6461hta7ue] {
    margin: 0 0 14px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--ui-warning, #7d5a10);
    background: var(--ui-warning-soft, #f7e8c8);
    color: var(--ui-warning, #7d5a10);
    font-size: 0.9rem;
    line-height: 1.7;
}


/* =========================================================
   PHONE
   =========================================================
   One card per row made the source list five screens of
   mostly-empty cards; two to a row reads as a picker. The
   tier cards drop their desktop height for the same reason.
   ========================================================= */

@media (max-width: 540px) {

    .translation-header h1[b-6461hta7ue] {
        font-size: 1.4rem;
        line-height: 1.45;
    }

    .quality-level-notice[b-6461hta7ue] {
        font-size: .76rem;
        line-height: 1.8;
    }

    .quality-level-grid[b-6461hta7ue] {
        gap: 9px;
    }

    .quality-level-card[b-6461hta7ue] {
        min-height: 0;
        gap: 6px;
        padding: 13px 14px;
    }

    .quality-level-credit b[b-6461hta7ue] {
        font-size: 1.35rem;
    }

    .source-type-grid[b-6461hta7ue] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .source-type-card[b-6461hta7ue] {
        min-height: 104px;
        gap: 8px;
        padding: 12px;
    }

    .source-card-icon[b-6461hta7ue] {
        width: 38px;
        height: 38px;
    }

    .source-card-copy strong[b-6461hta7ue] {
        font-size: .74rem;
    }
}

/* A video is dubbed, not translated here: a short way to the dubbing page. */
.dubbing-hint[b-6461hta7ue] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    padding: 13px 16px;
    border: 1px dashed var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface);
    color: var(--ui-ink);
    text-decoration: none;
    transition: border-color .2s, background .2s;
}

.dubbing-hint:hover[b-6461hta7ue],
.dubbing-hint:focus-visible[b-6461hta7ue] {
    border-color: var(--ui-accent);
    background: var(--ui-accent-soft);
}

.dubbing-hint-icon[b-6461hta7ue] {
    flex: none;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--ui-accent-soft);
    color: var(--ui-ink);
}

.dubbing-hint-icon svg[b-6461hta7ue] {
    width: 21px;
    height: 21px;
}

.dubbing-hint-copy[b-6461hta7ue] {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 2px;
    font-size: .86rem;
    color: var(--ui-muted);
    line-height: 1.7;
}

.dubbing-hint-copy strong[b-6461hta7ue] {
    color: var(--ui-ink);
    font-size: .92rem;
}

.dubbing-hint-go[b-6461hta7ue] {
    flex: none;
    font-weight: 700;
    font-size: .86rem;
    white-space: nowrap;
}

@media (max-width: 560px) {
    .dubbing-hint[b-6461hta7ue] {
        flex-wrap: wrap;
    }

    .dubbing-hint-go[b-6461hta7ue] {
        width: 100%;
        text-align: end;
    }
}
/* _content/AITranslationPlatform.Web/Components/Translation/TranslationProcess.razor.rz.scp.css */
.translation-process-page[b-jn97xx7xat] {
    width: 100%;
    min-height: 100%;
    padding: 34px;
}

.process-shell[b-jn97xx7xat] {
    width: min(1280px, 100%);
    margin: 0 auto;
}

.process-header[b-jn97xx7xat] {
    margin-bottom: 26px;
}

.process-eyebrow[b-jn97xx7xat] {
    margin-bottom: 8px;
    color: #5775ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.process-header h1[b-jn97xx7xat] {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
}

.process-header p[b-jn97xx7xat] {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--text-secondary, #64748b);
    line-height: 1.7;
}

.process-grid[b-jn97xx7xat] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}

.process-main[b-jn97xx7xat] {
    display: grid;
    gap: 20px;
}

.process-card[b-jn97xx7xat] {
    border: 1px solid var(--border-color, #e4e8ef);
    border-radius: 18px;
    background: var(--surface, #fff);
    padding: 23px;
}

.summary-card[b-jn97xx7xat] {
    position: sticky;
    top: calc(var(--app-header-height, 0px) + 24px);
}

.current-status[b-jn97xx7xat] {
    display: flex;
    align-items: center;
    gap: 16px;
}

    .current-status h2[b-jn97xx7xat] {
        margin: 3px 0 4px;
        font-size: 19px;
    }

    .current-status p[b-jn97xx7xat] {
        margin: 0;
        color: var(--text-secondary, #64748b);
        font-size: 13px;
    }

.status-caption[b-jn97xx7xat] {
    color: var(--text-secondary, #64748b);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-icon[b-jn97xx7xat] {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 24px;
    font-weight: 800;
}

    .status-icon.working[b-jn97xx7xat] {
        color: #4f73ff;
        background: rgba(79, 115, 255, .10);
    }

    .status-icon.success[b-jn97xx7xat] {
        color: #16a34a;
        background: rgba(22, 163, 74, .10);
    }

    .status-icon.error[b-jn97xx7xat] {
        color: #dc2626;
        background: rgba(220, 38, 38, .09);
    }

    .status-icon.cancelled[b-jn97xx7xat] {
        color: #64748b;
        background: rgba(100, 116, 139, .10);
    }

.progress-area[b-jn97xx7xat] {
    margin-top: 32px;
}

.progress-header[b-jn97xx7xat] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
}

    .progress-header strong[b-jn97xx7xat] {
        color: #4f73ff;
        font-size: 15px;
    }

.progress-track[b-jn97xx7xat] {
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(100, 116, 139, .12);
}

.progress-fill[b-jn97xx7xat] {
    height: 100%;
    border-radius: inherit;
    background: #4f73ff;
    transition: width .35s ease;
}

.progress-scale[b-jn97xx7xat] {
    margin-top: 7px;
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary, #94a3b8);
    font-size: 10px;
}

.live-operation[b-jn97xx7xat] {
    margin-top: 23px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 12px;
    background: rgba(79, 115, 255, .055);
}

    .live-operation > div:last-child[b-jn97xx7xat] {
        display: grid;
        gap: 3px;
    }

    .live-operation strong[b-jn97xx7xat] {
        font-size: 13px;
    }

    .live-operation span[b-jn97xx7xat] {
        color: var(--text-secondary, #64748b);
        font-size: 12px;
    }

.live-dot[b-jn97xx7xat] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: 0 0 auto;
    background: #4f73ff;
    box-shadow: 0 0 0 5px rgba(79, 115, 255, .11);
    animation: live-pulse-b-jn97xx7xat 1.4s ease-in-out infinite;
}

@keyframes live-pulse-b-jn97xx7xat {
    50% {
        box-shadow: 0 0 0 9px rgba(79, 115, 255, .03);
    }
}

.translation-stage-success[b-jn97xx7xat],
.execution-error[b-jn97xx7xat],
.cancelled-message[b-jn97xx7xat] {
    margin-top: 22px;
    border-radius: 13px;
    padding: 15px;
}

.translation-stage-success[b-jn97xx7xat] {
    display: flex;
    gap: 12px;
    background: rgba(22, 163, 74, .07);
    border: 1px solid rgba(22, 163, 74, .18);
}

.success-check[b-jn97xx7xat] {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    font-weight: 900;
}

.translation-stage-success p[b-jn97xx7xat] {
    margin: 4px 0 0;
    color: var(--text-secondary, #64748b);
    font-size: 13px;
    line-height: 1.6;
}

.execution-error[b-jn97xx7xat] {
    background: rgba(220, 38, 38, .06);
    border: 1px solid rgba(220, 38, 38, .17);
}

    .execution-error strong[b-jn97xx7xat] {
        color: #b91c1c;
    }

    .execution-error p[b-jn97xx7xat] {
        margin: 7px 0;
        font-size: 13px;
    }

    .execution-error span[b-jn97xx7xat] {
        color: var(--text-secondary, #64748b);
        font-size: 12px;
    }

.cancelled-message[b-jn97xx7xat] {
    background: rgba(100, 116, 139, .07);
}

.execution-retry[b-jn97xx7xat] {
    margin-top: 22px;
    border-radius: 13px;
    padding: 15px;
    background: rgba(217, 119, 6, .07);
    border: 1px solid rgba(217, 119, 6, .2);
}

    .execution-retry strong[b-jn97xx7xat] {
        color: #b45309;
    }

    .execution-retry p[b-jn97xx7xat] {
        margin: 5px 0 0;
        color: var(--text-secondary, #64748b);
        font-size: 13px;
        line-height: 1.6;
    }

    .cancelled-message p[b-jn97xx7xat] {
        margin: 5px 0 0;
        color: var(--text-secondary, #64748b);
        font-size: 13px;
    }

.process-actions[b-jn97xx7xat] {
    margin-top: 22px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.process-btn[b-jn97xx7xat] {
    min-height: 46px;
    padding: 0 17px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.process-btn-primary[b-jn97xx7xat] {
    border: 1px solid #4f73ff;
    background: #4f73ff;
    color: #fff;
}

.process-btn-secondary[b-jn97xx7xat] {
    border: 1px solid var(--border-color, #dbe1e9);
    background: transparent;
    color: inherit;
}

.process-btn:disabled[b-jn97xx7xat] {
    opacity: .5;
    cursor: not-allowed;
}

.button-spinner[b-jn97xx7xat] {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: process-spin-b-jn97xx7xat .7s linear infinite;
}

.large-spinner[b-jn97xx7xat] {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(79, 115, 255, .18);
    border-top-color: #4f73ff;
    border-radius: 50%;
    animation: process-spin-b-jn97xx7xat .8s linear infinite;
}

@keyframes process-spin-b-jn97xx7xat {
    to {
        transform: rotate(360deg);
    }
}

.loading-card[b-jn97xx7xat] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.error-card[b-jn97xx7xat] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

    .error-card h2[b-jn97xx7xat] {
        margin: 0;
        font-size: 17px;
    }

    .error-card p[b-jn97xx7xat] {
        margin: 6px 0 0;
        color: #b91c1c;
        font-size: 13px;
    }

.section-title[b-jn97xx7xat] {
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 800;
}

.pipeline[b-jn97xx7xat] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
}

.pipeline-step[b-jn97xx7xat] {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--border-color, #e5e9ef);
    border-radius: 12px;
    display: flex;
    gap: 9px;
    align-items: flex-start;
    opacity: .55;
}

    .pipeline-step.active[b-jn97xx7xat] {
        opacity: 1;
        border-color: #7891ff;
        background: rgba(79, 115, 255, .055);
    }

    .pipeline-step.completed[b-jn97xx7xat] {
        opacity: 1;
        border-color: rgba(22, 163, 74, .25);
        background: rgba(22, 163, 74, .045);
    }

.pipeline-number[b-jn97xx7xat] {
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(100, 116, 139, .09);
    font-size: 11px;
    font-weight: 800;
}

.pipeline-step.active .pipeline-number[b-jn97xx7xat] {
    background: #4f73ff;
    color: #fff;
}

.pipeline-step.completed .pipeline-number[b-jn97xx7xat] {
    background: #16a34a;
    color: #fff;
}

.pipeline-step > div[b-jn97xx7xat] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.pipeline-step strong[b-jn97xx7xat] {
    font-size: 12px;
}

.pipeline-step small[b-jn97xx7xat] {
    color: var(--text-secondary, #64748b);
    font-size: 10px;
    line-height: 1.45;
}

.summary-row[b-jn97xx7xat] {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color, #edf0f4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
}

    .summary-row span[b-jn97xx7xat] {
        color: var(--text-secondary, #64748b);
    }

    .summary-row strong[b-jn97xx7xat] {
        text-align: end;
    }

.format-preservation-info[b-jn97xx7xat] {
    margin-top: 18px;
    padding: 14px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(22, 163, 74, .07);
}

.preservation-icon[b-jn97xx7xat] {
    color: #16a34a;
    font-size: 20px;
}

.format-preservation-info strong[b-jn97xx7xat] {
    color: #15803d;
    font-size: 12px;
}

.format-preservation-info p[b-jn97xx7xat] {
    margin: 5px 0 0;
    color: var(--text-secondary, #64748b);
    font-size: 11px;
    line-height: 1.6;
}

@media (max-width: 1050px) {
    .process-grid[b-jn97xx7xat] {
        grid-template-columns: 1fr;
    }

    .summary-card[b-jn97xx7xat] {
        position: static;
    }

    .pipeline[b-jn97xx7xat] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .translation-process-page[b-jn97xx7xat] {
        padding: 20px 14px;
    }

    .process-card[b-jn97xx7xat] {
        padding: 18px;
    }

    .process-actions[b-jn97xx7xat] {
        flex-direction: column;
    }

    .process-btn[b-jn97xx7xat] {
        width: 100%;
    }
}



/* =========================================================
   QUALITY REVIEW ACTION
   ========================================================= */

.quality-review-action[b-jn97xx7xat] {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color, #e6eaf0);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


.quality-review-action-content[b-jn97xx7xat] {
    min-width: 0;
    display: grid;
    gap: 5px;
}


    .quality-review-action-content strong[b-jn97xx7xat] {
        font-size: 13px;
    }


    .quality-review-action-content span[b-jn97xx7xat] {
        color: var(--text-secondary, #64748b);
        font-size: 12px;
        line-height: 1.6;
    }


.quality-review-button[b-jn97xx7xat] {
    flex: 0 0 auto;
    margin: 0;
}


.quality-review-failed[b-jn97xx7xat] {
    margin-top: 16px;
    padding: 15px;
    border: 1px solid rgba(220, 38, 38, .18);
    border-radius: 12px;
    background: rgba(220, 38, 38, .05);
}


.quality-review-failed-header[b-jn97xx7xat] {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
}


    .quality-review-failed-header strong[b-jn97xx7xat] {
        color: #b91c1c;
        font-size: 13px;
    }


    .quality-review-failed-header span[b-jn97xx7xat] {
        color: var(--text-secondary, #64748b);
        font-size: 12px;
    }


.quality-review-issue[b-jn97xx7xat] {
    padding: 8px 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    border-top: 1px solid rgba(220, 38, 38, .10);
    font-size: 11px;
}


    .quality-review-issue strong[b-jn97xx7xat] {
        color: #b91c1c;
    }


    .quality-review-issue span[b-jn97xx7xat] {
        color: var(--text-secondary, #64748b);
    }


@media (max-width: 700px) {

    .quality-review-action[b-jn97xx7xat] {
        align-items: stretch;
        flex-direction: column;
    }


    .quality-review-button[b-jn97xx7xat] {
        width: 100%;
    }
}


/* =========================================================
   OUTPUT READY
   ========================================================= */

.output-ready-card[b-jn97xx7xat] {
    margin-top: 18px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(22, 163, 74, .22);
    border-radius: 14px;
    background: rgba(22, 163, 74, .065);
}


.output-ready-icon[b-jn97xx7xat] {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #16a34a;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}


.output-ready-content[b-jn97xx7xat] {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 4px;
}


    .output-ready-content > strong[b-jn97xx7xat] {
        color: #15803d;
        font-size: 14px;
    }


    .output-ready-content > span[b-jn97xx7xat] {
        color: var(--text-secondary, #64748b);
        font-size: 12px;
        line-height: 1.6;
    }


.output-file-meta[b-jn97xx7xat] {
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--text-secondary, #64748b);
    font-size: 11px;
}


.output-file-name[b-jn97xx7xat] {
    color: inherit;
    font-weight: 700;
    overflow-wrap: anywhere;
}


.output-download-button[b-jn97xx7xat] {
    flex: 0 0 auto;
    text-decoration: none !important;
}


    .output-download-button:visited[b-jn97xx7xat] {
        color: #fff;
    }


@media (max-width: 760px) {

    .output-ready-card[b-jn97xx7xat] {
        align-items: stretch;
        flex-direction: column;
    }


    .output-download-button[b-jn97xx7xat] {
        width: 100%;
    }
}


.formatting-start-button[b-jn97xx7xat],
.download-output-button[b-jn97xx7xat] {
    margin: 0;
}


.download-output-button[b-jn97xx7xat] {
    text-decoration: none !important;
}


.output-ready-card[b-jn97xx7xat] {
    margin-top: 18px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(22, 163, 74, .22);
    border-radius: 13px;
    background: rgba(22, 163, 74, .065);
}


.output-ready-icon[b-jn97xx7xat] {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    font-weight: 900;
}


.output-ready-content[b-jn97xx7xat] {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 5px;
}


    .output-ready-content > strong[b-jn97xx7xat] {
        color: #15803d;
    }


    .output-ready-content > span[b-jn97xx7xat] {
        color: var(--text-secondary, #64748b);
        font-size: 12px;
    }


.output-file-info[b-jn97xx7xat] {
    margin-top: 5px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 11px;
}


@media (max-width: 700px) {

    .output-ready-card[b-jn97xx7xat] {
        align-items: stretch;
        flex-direction: column;
    }
}



/* =========================================================
   QUALITY REVIEW REPAIR
   ========================================================= */

.quality-review-failed[b-jn97xx7xat] {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(220, 38, 38, .18);
    border-radius: 13px;
    background: rgba(220, 38, 38, .045);
}

.quality-review-failed-header[b-jn97xx7xat] {
    display: grid;
    gap: 5px;
    margin-bottom: 14px;
}

    .quality-review-failed-header strong[b-jn97xx7xat] {
        color: #b91c1c;
        font-size: 13px;
    }

    .quality-review-failed-header span[b-jn97xx7xat] {
        color: var(--text-secondary, #64748b);
        font-size: 12px;
        line-height: 1.65;
    }

.quality-review-issue-detail[b-jn97xx7xat] {
    padding: 12px 0;
    border-top: 1px solid rgba(220, 38, 38, .10);
}

.quality-review-issue-title[b-jn97xx7xat] {
    display: grid;
    gap: 4px;
}

    .quality-review-issue-title strong[b-jn97xx7xat] {
        color: #b91c1c;
        font-size: 11px;
    }

    .quality-review-issue-title span[b-jn97xx7xat] {
        color: var(--text-secondary, #64748b);
        font-size: 11px;
    }

.quality-review-text-row[b-jn97xx7xat] {
    margin-top: 9px;
    padding: 10px 12px;
    border-radius: 9px;
    background: rgba(100, 116, 139, .055);
}

    .quality-review-text-row > span[b-jn97xx7xat] {
        display: block;
        margin-bottom: 4px;
        color: var(--text-secondary, #64748b);
        font-size: 10px;
        font-weight: 700;
    }

    .quality-review-text-row p[b-jn97xx7xat] {
        margin: 0;
        font-size: 12px;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

.quality-review-repair-actions[b-jn97xx7xat] {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.quality-review-action-error[b-jn97xx7xat] {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 9px;
    background: rgba(220, 38, 38, .07);
    color: #b91c1c;
    font-size: 11px;
    line-height: 1.65;
}

@media (max-width: 700px) {
    .quality-review-repair-actions[b-jn97xx7xat] {
        align-items: stretch;
        flex-direction: column;
    }

        .quality-review-repair-actions .process-btn[b-jn97xx7xat] {
            width: 100%;
        }
}


/* =========================================================
   COMPLETED OUTPUT ACTIONS
   ========================================================= */

.output-ready-actions[b-jn97xx7xat] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}


.output-rebuild-button[b-jn97xx7xat],
.output-download-button[b-jn97xx7xat] {
    margin: 0;
    white-space: nowrap;
}


.output-download-button[b-jn97xx7xat] {
    text-decoration: none !important;
}


@media (max-width: 820px) {

    .output-ready-actions[b-jn97xx7xat] {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }


        .output-ready-actions .process-btn[b-jn97xx7xat] {
            width: 100%;
        }
}
.reuse-summary-card[b-jn97xx7xat]{margin-top:16px}.reuse-summary-card p[b-jn97xx7xat],.reuse-summary-card small[b-jn97xx7xat]{display:block;margin:8px 0;color:var(--text-muted,#6f7d92);line-height:1.65;font-size:.82rem}


/* TRANSLATION PROCESS STAGE 4 PREMIUM V1 - START */

/* =========================================================
   PAGE
   ========================================================= */

.translation-process-page[b-jn97xx7xat] {
    width: 100%;
    min-height: 100%;
    padding: 0;
    color: var(--text);
}

.process-shell[b-jn97xx7xat] {
    width: min(1480px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}


/* =========================================================
   HERO — MATCH PREVIOUS STAGES
   ========================================================= */

.process-header[b-jn97xx7xat] {
    min-height: 220px;
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(430px, 500px);
    grid-template-rows: auto auto 1fr;
    column-gap: 34px;
    row-gap: 0;
    align-items: center;

    margin: 0;
    padding: 30px 32px;

    overflow: hidden;

    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xl);

    background:
        radial-gradient(115% 145% at 8% -18%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(85% 115% at 96% 118%, var(--ui-bloom-cool), transparent 56%),
        linear-gradient(135deg, var(--ui-surface-strong), var(--ui-surface));

    box-shadow: var(--ui-shadow-md);

    animation: ui-card-in .62s var(--ui-ease-out) .04s backwards;
}

.translation-process-page[dir="rtl"] .process-header[b-jn97xx7xat] {
    background:
        radial-gradient(115% 145% at 92% -18%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(85% 115% at 4% 118%, var(--ui-bloom-cool), transparent 56%),
        linear-gradient(225deg, var(--ui-surface-strong), var(--ui-surface));
}

.process-header[b-jn97xx7xat]::before,
.process-header[b-jn97xx7xat]::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.process-header[b-jn97xx7xat]::before {
    width: 280px;
    height: 280px;

    inset-block-start: -178px;
    inset-inline-end: -92px;

    border: 42px solid var(--ui-accent-soft);
    opacity: .72;
}

.process-header[b-jn97xx7xat]::after {
    width: 150px;
    height: 150px;

    inset-block-end: -98px;
    inset-inline-start: -42px;

    border: 26px solid var(--ui-line-strong);
    opacity: .68;
}

.process-eyebrow[b-jn97xx7xat],
.process-header > h1[b-jn97xx7xat],
.process-header > p[b-jn97xx7xat] {
    position: relative;
    z-index: 3;
    grid-column: 1;
}

.process-eyebrow[b-jn97xx7xat] {
    width: max-content;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin: 0 0 9px;
    padding: 6px 11px;

    border: 1px solid rgba(226, 175, 46, .30);
    border-radius: var(--ui-r-pill);

    background: var(--ui-surface-raised);

    color: var(--accent-text);

    font-size: .61rem;
    font-weight: 850;
    letter-spacing: .05em;
}

.process-eyebrow[b-jn97xx7xat]::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: none;

    border-radius: 50%;
    background: var(--ui-accent-strong);

    animation: live-pulse-b-jn97xx7xat 2.2s var(--ui-ease) infinite;
}

.translation-process-page[dir="rtl"] .process-eyebrow[b-jn97xx7xat] {
    letter-spacing: 0;
}

.process-header h1[b-jn97xx7xat] {
    margin: 0 0 10px;

    color: var(--text);

    font-size: clamp(1.8rem, 2.4vw, 2.65rem);
    font-weight: 830;
    line-height: 1.22;
    letter-spacing: -.025em;
}

.translation-process-page[dir="rtl"] .process-header h1[b-jn97xx7xat] {
    letter-spacing: 0;
}

.process-header > p[b-jn97xx7xat] {
    max-width: 720px;
    margin: 0;

    color: var(--text-secondary);

    font-size: .81rem;
    line-height: 1.9;
}

.process-header[b-jn97xx7xat]  .translation-workflow-progress {
    grid-column: 2;
    grid-row: 1 / 4;

    width: 100%;
    max-width: 500px;

    align-self: center;
    justify-self: stretch;

    margin: 0;

    position: relative;
    z-index: 3;
}


/* =========================================================
   MAIN GRID
   ========================================================= */

.process-grid[b-jn97xx7xat] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 16px;
    align-items: start;
}

.process-main[b-jn97xx7xat] {
    min-width: 0;
    display: grid;
    gap: 14px;
}

.process-side[b-jn97xx7xat] {
    min-width: 0;
    display: grid;
    gap: 12px;
}

.process-card[b-jn97xx7xat] {
    min-width: 0;

    padding: 18px;

    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);

    background: var(--surface);

    box-shadow: var(--ui-shadow-sm);

    transition:
        border-color var(--ui-dur-2) var(--ui-ease),
        box-shadow var(--ui-dur-2) var(--ui-ease);
}

.process-card:hover[b-jn97xx7xat] {
    border-color: var(--ui-line-strong);
    box-shadow: var(--ui-shadow-md);
}

.main-progress-card[b-jn97xx7xat] {
    position: relative;
    overflow: hidden;
}

.main-progress-card[b-jn97xx7xat]::before {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    inset-block-start: -132px;
    inset-inline-end: -70px;

    border-radius: 50%;

    background: var(--ui-accent);
    opacity: .045;

    pointer-events: none;
}


/* =========================================================
   CURRENT STATUS
   ========================================================= */

.current-status[b-jn97xx7xat] {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    gap: 14px;

    padding-bottom: 15px;
    border-bottom: 1px solid var(--ui-line);
}

.current-status > div:last-child[b-jn97xx7xat] {
    min-width: 0;
}

.current-status h2[b-jn97xx7xat] {
    margin: 3px 0 4px;

    color: var(--text);

    font-size: 1rem;
    font-weight: 830;
}

.current-status p[b-jn97xx7xat] {
    margin: 0;

    color: var(--text-secondary);

    font-size: .62rem;
    line-height: 1.65;
}

.status-caption[b-jn97xx7xat] {
    color: var(--muted);

    font-size: .54rem;
    font-weight: 780;
    letter-spacing: .04em;
    text-transform: none;
}

.status-icon[b-jn97xx7xat] {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;

    display: grid;
    place-items: center;

    border-radius: 15px;

    font-size: 1.12rem;
    font-weight: 900;

    box-shadow: inset 0 1px 0 rgba(255,255,255,.30);
}

.status-icon.working[b-jn97xx7xat] {
    color: var(--ui-warning);
    background: var(--ui-accent-soft);
}

.status-icon.success[b-jn97xx7xat] {
    color: var(--ui-success);
    background: var(--ui-success-tint);
}

.status-icon.error[b-jn97xx7xat] {
    color: var(--ui-danger);
    background: var(--ui-danger-tint);
}

.status-icon.cancelled[b-jn97xx7xat] {
    color: var(--muted);
    background: var(--ui-surface-sunken);
}


/* =========================================================
   PROGRESS
   ========================================================= */

.progress-area[b-jn97xx7xat] {
    position: relative;
    z-index: 1;

    margin-top: 17px;
    padding: 14px;

    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);

    background:
        linear-gradient(145deg, var(--ui-accent-tint), transparent 72%),
        var(--ui-surface-sunken);
}

.progress-header[b-jn97xx7xat] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;

    margin-bottom: 10px;

    color: var(--text-secondary);

    font-size: .60rem;
    font-weight: 760;
}

.progress-header strong[b-jn97xx7xat] {
    color: var(--ui-warning);
    font-size: .78rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.progress-track[b-jn97xx7xat] {
    width: 100%;
    height: 9px;

    position: relative;

    overflow: hidden;

    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-pill);

    background: var(--ui-surface-raised);

    box-shadow: inset 0 1px 3px rgba(15,23,42,.06);
}

.progress-fill[b-jn97xx7xat] {
    height: 100%;

    position: relative;

    border-radius: inherit;

    background: var(--ui-progress-fill);

    box-shadow: var(--ui-progress-glow);

    transition: width .38s var(--ui-ease-out);
}

.progress-fill[b-jn97xx7xat]::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            115deg,
            transparent 28%,
            rgba(255,255,255,.45) 50%,
            transparent 72%
        );

    animation: process-progress-sheen-b-jn97xx7xat 1.9s linear infinite;
}

@keyframes process-progress-sheen-b-jn97xx7xat {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

.progress-scale[b-jn97xx7xat] {
    margin-top: 7px;

    display: flex;
    justify-content: space-between;

    color: var(--muted);

    font-size: .49rem;
    font-variant-numeric: tabular-nums;
}


/* =========================================================
   LIVE OPERATION
   ========================================================= */

.live-operation[b-jn97xx7xat] {
    margin-top: 12px;

    display: flex;
    align-items: center;
    gap: 11px;

    padding: 11px 12px;

    border: 1px solid rgba(226, 175, 46, .20);
    border-radius: var(--ui-r-sm);

    background: var(--ui-accent-tint);
}

.live-operation > div:last-child[b-jn97xx7xat] {
    min-width: 0;

    display: grid;
    gap: 2px;
}

.live-operation strong[b-jn97xx7xat] {
    color: var(--text);

    font-size: .61rem;
    font-weight: 800;
}

.live-operation span[b-jn97xx7xat] {
    color: var(--text-secondary);

    font-size: .54rem;
    line-height: 1.55;
}

.live-dot[b-jn97xx7xat] {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;

    border-radius: 50%;

    background: var(--ui-accent-strong);

    box-shadow: 0 0 0 5px var(--ui-accent-soft);

    animation: live-pulse-b-jn97xx7xat 1.5s ease-in-out infinite;
}


/* =========================================================
   SUCCESS / ERROR / CANCEL
   ========================================================= */

.translation-stage-success[b-jn97xx7xat],
.execution-error[b-jn97xx7xat],
.cancelled-message[b-jn97xx7xat] {
    margin-top: 12px;
    padding: 12px;

    border-radius: var(--ui-r-sm);
}

.translation-stage-success[b-jn97xx7xat] {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    border: 1px solid rgba(63, 106, 57, .18);

    background: var(--ui-success-tint);
}

.success-check[b-jn97xx7xat] {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--ui-success);
    color: #fff;

    font-size: .58rem;
    font-weight: 900;
}

.translation-stage-success strong[b-jn97xx7xat] {
    color: var(--ui-success);

    font-size: .61rem;
    font-weight: 830;
}

.translation-stage-success p[b-jn97xx7xat] {
    margin: 3px 0 0;

    color: var(--text-secondary);

    font-size: .54rem;
    line-height: 1.6;
}

.execution-error[b-jn97xx7xat] {
    border: 1px solid rgba(157, 66, 49, .18);

    background: var(--ui-danger-tint);
}

.execution-error strong[b-jn97xx7xat] {
    color: var(--ui-danger);
}

.execution-error p[b-jn97xx7xat],
.execution-error span[b-jn97xx7xat] {
    color: var(--text-secondary);
    font-size: .55rem;
    line-height: 1.6;
}

.cancelled-message[b-jn97xx7xat] {
    border: 1px solid var(--ui-line);

    background: var(--ui-surface-sunken);
}

.cancelled-message p[b-jn97xx7xat] {
    color: var(--text-secondary);
    font-size: .55rem;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.process-actions[b-jn97xx7xat] {
    margin-top: 14px;

    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.process-btn[b-jn97xx7xat] {
    min-height: 42px;

    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 0 14px;

    overflow: hidden;

    border-radius: var(--ui-r-xs);

    font: inherit;
    font-size: .59rem;
    font-weight: 820;

    cursor: pointer;

    transition: var(--ui-t);
}

.process-btn-primary[b-jn97xx7xat] {
    border: 1px solid transparent;

    background:
        linear-gradient(
            135deg,
            var(--ui-accent),
            var(--ui-accent-strong)
        );

    color: var(--ui-on-accent);

    box-shadow: var(--ui-shadow-accent);
}

.process-btn-primary:hover:not(:disabled)[b-jn97xx7xat] {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(226,175,46,.26);
}

.process-btn-secondary[b-jn97xx7xat] {
    border: 1px solid var(--ui-line);

    background: var(--ui-surface-raised);

    color: var(--text-secondary);
}

.process-btn-secondary:hover:not(:disabled)[b-jn97xx7xat] {
    transform: translateY(-1px);

    border-color: var(--ui-line-strong);

    color: var(--text);

    box-shadow: var(--ui-shadow-sm);
}

.process-btn:disabled[b-jn97xx7xat] {
    opacity: .48;
    cursor: not-allowed;
}


/* =========================================================
   PIPELINE
   ========================================================= */

.section-title[b-jn97xx7xat] {
    margin-bottom: 12px;

    color: var(--text);

    font-size: .70rem;
    font-weight: 840;
}

.pipeline[b-jn97xx7xat] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.pipeline-step[b-jn97xx7xat] {
    min-width: 0;
    min-height: 76px;

    position: relative;

    display: flex;
    gap: 8px;
    align-items: flex-start;

    padding: 10px;

    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);

    background: var(--ui-surface-sunken);

    opacity: .60;

    transition: var(--ui-t);
}

.pipeline-step.active[b-jn97xx7xat] {
    opacity: 1;

    border-color: rgba(226,175,46,.34);

    background:
        linear-gradient(145deg, var(--ui-accent-tint), transparent 70%),
        var(--ui-surface-strong);

    box-shadow: var(--ui-shadow-sm);
}

.pipeline-step.completed[b-jn97xx7xat] {
    opacity: 1;

    border-color: rgba(63,106,57,.18);

    background: var(--ui-success-tint);
}

.pipeline-number[b-jn97xx7xat] {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background: var(--ui-surface-raised);

    color: var(--muted);

    font-size: .51rem;
    font-weight: 900;
}

.pipeline-step.active .pipeline-number[b-jn97xx7xat] {
    background:
        linear-gradient(
            135deg,
            var(--ui-accent),
            var(--ui-accent-strong)
        );

    color: var(--ui-on-accent);

    box-shadow: var(--ui-shadow-accent);
}

.pipeline-step.completed .pipeline-number[b-jn97xx7xat] {
    background: var(--ui-success);
    color: #fff;
}

.pipeline-step > div[b-jn97xx7xat] {
    min-width: 0;

    display: grid;
    gap: 2px;
}

.pipeline-step strong[b-jn97xx7xat] {
    color: var(--text);

    font-size: .57rem;
    font-weight: 800;
}

.pipeline-step small[b-jn97xx7xat] {
    color: var(--muted);

    font-size: .48rem;
    line-height: 1.45;
}


/* =========================================================
   SIDE SUMMARY
   ========================================================= */

.summary-card[b-jn97xx7xat] {
    position: sticky;
    top: calc(var(--app-header-height, 0px) + 10px);

    overflow: hidden;

    background:
        radial-gradient(105% 85% at 100% 0%, var(--ui-accent-tint), transparent 52%),
        var(--surface);
}

.summary-card[b-jn97xx7xat]::after {
    content: "";

    position: absolute;

    width: 115px;
    height: 115px;

    inset-block-start: -76px;
    inset-inline-end: -42px;

    border-radius: 50%;

    background: var(--ui-accent);
    opacity: .05;

    pointer-events: none;
}

.summary-card > *[b-jn97xx7xat] {
    position: relative;
    z-index: 1;
}

.summary-row[b-jn97xx7xat] {
    padding: 10px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    border-bottom: 1px solid var(--ui-line);

    font-size: .58rem;
}

.summary-row span[b-jn97xx7xat] {
    color: var(--muted);
}

.summary-row strong[b-jn97xx7xat] {
    color: var(--text);

    font-size: .61rem;
    font-weight: 820;

    text-align: end;
}

.format-preservation-info[b-jn97xx7xat] {
    margin-top: 12px;
    padding: 11px;

    display: flex;
    align-items: flex-start;
    gap: 9px;

    border: 1px solid rgba(63,106,57,.17);
    border-radius: var(--ui-r-sm);

    background: var(--ui-success-tint);
}

.preservation-icon[b-jn97xx7xat] {
    color: var(--ui-success);
    font-size: .95rem;
}

.format-preservation-info strong[b-jn97xx7xat] {
    color: var(--ui-success);

    font-size: .57rem;
    font-weight: 830;
}

.format-preservation-info p[b-jn97xx7xat] {
    margin: 4px 0 0;

    color: var(--text-secondary);

    font-size: .51rem;
    line-height: 1.58;
}

.reuse-summary-card[b-jn97xx7xat] {
    margin-top: 0 !important;
}

.reuse-summary-card p[b-jn97xx7xat],
.reuse-summary-card small[b-jn97xx7xat] {
    display: block;

    margin: 7px 0;

    color: var(--text-secondary);

    font-size: .54rem;
    line-height: 1.6;
}


/* =========================================================
   QUALITY REVIEW
   ========================================================= */

.quality-review-action[b-jn97xx7xat] {
    margin-top: 14px;
    padding-top: 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    border-top: 1px solid var(--ui-line);
}

.quality-review-action-content[b-jn97xx7xat] {
    min-width: 0;

    display: grid;
    gap: 3px;
}

.quality-review-action-content strong[b-jn97xx7xat] {
    color: var(--text);

    font-size: .61rem;
    font-weight: 820;
}

.quality-review-action-content span[b-jn97xx7xat] {
    color: var(--text-secondary);

    font-size: .54rem;
    line-height: 1.55;
}

.quality-review-failed[b-jn97xx7xat] {
    margin-top: 12px;
    padding: 13px;

    border: 1px solid rgba(157,66,49,.18);
    border-radius: var(--ui-r-sm);

    background: var(--ui-danger-tint);
}

.quality-review-failed-header[b-jn97xx7xat] {
    display: grid;
    gap: 3px;

    margin-bottom: 10px;
}

.quality-review-failed-header strong[b-jn97xx7xat] {
    color: var(--ui-danger);

    font-size: .61rem;
    font-weight: 830;
}

.quality-review-failed-header span[b-jn97xx7xat] {
    color: var(--text-secondary);

    font-size: .54rem;
    line-height: 1.55;
}

.quality-review-issue-detail[b-jn97xx7xat] {
    padding: 10px 0;

    border-top: 1px solid rgba(157,66,49,.12);
}

.quality-review-issue-title[b-jn97xx7xat] {
    display: grid;
    gap: 3px;
}

.quality-review-issue-title strong[b-jn97xx7xat] {
    color: var(--ui-danger);
    font-size: .52rem;
}

.quality-review-issue-title span[b-jn97xx7xat] {
    color: var(--text-secondary);
    font-size: .52rem;
}

.quality-review-text-row[b-jn97xx7xat] {
    margin-top: 7px;
    padding: 9px 10px;

    border: 1px solid var(--ui-line);
    border-radius: 9px;

    background: var(--ui-surface-sunken);
}

.quality-review-text-row > span[b-jn97xx7xat] {
    display: block;

    margin-bottom: 3px;

    color: var(--muted);

    font-size: .49rem;
    font-weight: 760;
}

.quality-review-text-row p[b-jn97xx7xat] {
    margin: 0;

    color: var(--text);

    font-size: .55rem;
    line-height: 1.65;
}


/* =========================================================
   OUTPUT READY
   ========================================================= */

.output-ready-card[b-jn97xx7xat] {
    margin-top: 12px;
    padding: 13px;

    display: flex;
    align-items: center;
    gap: 12px;

    border: 1px solid rgba(63,106,57,.20);
    border-radius: var(--ui-r-md);

    background:
        linear-gradient(145deg, var(--ui-success-tint), transparent 76%),
        var(--ui-surface-sunken);
}

.output-ready-icon[b-jn97xx7xat] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: var(--ui-success);
    color: #fff;

    font-size: .80rem;
    font-weight: 900;

    box-shadow: 0 7px 16px rgba(63,106,57,.18);
}

.output-ready-content[b-jn97xx7xat] {
    min-width: 0;
    flex: 1;

    display: grid;
    gap: 3px;
}

.output-ready-content > strong[b-jn97xx7xat] {
    color: var(--ui-success);

    font-size: .66rem;
    font-weight: 840;
}

.output-ready-content > span[b-jn97xx7xat] {
    color: var(--text-secondary);

    font-size: .54rem;
    line-height: 1.55;
}

.output-file-meta[b-jn97xx7xat],
.output-file-info[b-jn97xx7xat] {
    margin-top: 4px;

    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;

    color: var(--muted);

    font-size: .50rem;
}

.output-file-name[b-jn97xx7xat] {
    color: var(--text-secondary);
    font-weight: 760;
    overflow-wrap: anywhere;
}

.output-ready-actions[b-jn97xx7xat] {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    gap: 8px;
}


/* =========================================================
   LOADING / PAGE ERROR
   ========================================================= */

.loading-card[b-jn97xx7xat],
.error-card[b-jn97xx7xat] {
    min-height: 96px;

    display: flex;
    align-items: center;
    gap: 12px;
}

.large-spinner[b-jn97xx7xat] {
    width: 26px;
    height: 26px;

    border: 3px solid var(--ui-accent-soft);
    border-top-color: var(--ui-accent-strong);
    border-radius: 50%;

    animation: process-spin-b-jn97xx7xat .8s linear infinite;
}

.error-card h2[b-jn97xx7xat] {
    margin: 0;

    color: var(--text);

    font-size: .78rem;
}

.error-card p[b-jn97xx7xat] {
    margin: 4px 0 0;

    color: var(--ui-danger);

    font-size: .56rem;
    line-height: 1.6;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1280px) {
    .process-header[b-jn97xx7xat] {
        min-height: 0;

        grid-template-columns: 1fr;
        grid-template-rows: auto;

        padding: 27px;
    }

    .process-eyebrow[b-jn97xx7xat],
    .process-header > h1[b-jn97xx7xat],
    .process-header > p[b-jn97xx7xat],
    .process-header[b-jn97xx7xat]  .translation-workflow-progress {
        grid-column: 1;
        grid-row: auto;
    }

    .process-header[b-jn97xx7xat]  .translation-workflow-progress {
        width: 100%;
        max-width: none;

        margin-top: 16px;
    }
}

@media (max-width: 1050px) {
    .process-grid[b-jn97xx7xat] {
        grid-template-columns: 1fr;
    }

    .summary-card[b-jn97xx7xat] {
        position: static;
    }
}

@media (max-width: 760px) {
    .process-header[b-jn97xx7xat] {
        padding: 23px 20px;
        border-radius: var(--ui-r-lg);
    }

    .process-card[b-jn97xx7xat] {
        padding: 15px;
    }

    .pipeline[b-jn97xx7xat] {
        grid-template-columns: 1fr;
    }

    .quality-review-action[b-jn97xx7xat],
    .output-ready-card[b-jn97xx7xat],
    .output-ready-actions[b-jn97xx7xat] {
        align-items: stretch;
        flex-direction: column;
    }

    .process-actions[b-jn97xx7xat] {
        flex-direction: column;
    }

    .process-btn[b-jn97xx7xat],
    .quality-review-button[b-jn97xx7xat],
    .output-ready-actions .process-btn[b-jn97xx7xat] {
        width: 100%;
    }
}

@media (max-width: 540px) {
    .process-shell[b-jn97xx7xat] {
        gap: 14px;
    }

    .process-header[b-jn97xx7xat] {
        padding: 21px 17px;
    }

    .process-header h1[b-jn97xx7xat] {
        font-size: 1.65rem;
    }

    .current-status[b-jn97xx7xat] {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-header[b-jn97xx7xat],
    .progress-fill[b-jn97xx7xat]::after,
    .live-dot[b-jn97xx7xat] {
        animation: none !important;
    }
}

/* TRANSLATION PROCESS STAGE 4 PREMIUM V1 - END */

/* INSUFFICIENT CREDIT - START */
.execution-error-action[b-jn97xx7xat]{display:inline-flex;align-items:center;justify-content:center;margin-top:10px;padding:7px 16px;border-radius:var(--ui-r-sm);background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-strong));color:var(--ui-on-accent);font-size:.6rem;font-weight:850;text-decoration:none;box-shadow:var(--ui-shadow-accent);transition:var(--ui-t)}
.execution-error-action:hover[b-jn97xx7xat]{transform:translateY(-1px)}
/* INSUFFICIENT CREDIT - END */

/* =========================================================
   TEXT INSIDE PICTURES
   =========================================================
   Built from the --ui-* tokens only, like the rest of the page:
   app.css redefines them under html[data-theme="dark"], so the
   card follows both themes without a rule of its own. Sizes
   follow the output card above it (.66rem title, .54rem text).
   ========================================================= */

.picture-text-card[b-jn97xx7xat] {
    /* Only what does not move the layout: --ui-t is "all", and a thumbnail
       that animates its width lags behind every breakpoint. */
    --picture-text-transition:
        color var(--ui-dur-2) var(--ui-ease),
        background var(--ui-dur-2) var(--ui-ease),
        border-color var(--ui-dur-2) var(--ui-ease),
        box-shadow var(--ui-dur-2) var(--ui-ease),
        transform var(--ui-dur-2) var(--ui-ease);

    position: relative;

    margin-top: 12px;
    padding: 14px;

    display: grid;
    gap: 12px;

    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);

    background:
        linear-gradient(145deg, var(--ui-accent-tint), transparent 46%),
        var(--ui-surface-sunken);
}


/* ---- head ---- */

.picture-text-head[b-jn97xx7xat] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.picture-text-icon[b-jn97xx7xat] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: linear-gradient(135deg, var(--ui-accent), var(--ui-accent-strong));
    color: var(--ui-on-accent);

    box-shadow: var(--ui-shadow-accent);
}

    .picture-text-icon svg[b-jn97xx7xat] {
        width: 20px;
        height: 20px;
    }

.picture-text-heading[b-jn97xx7xat] {
    min-width: 0;

    display: grid;
    gap: 3px;
}

    .picture-text-heading > strong[b-jn97xx7xat] {
        color: var(--text);

        font-size: .66rem;
        font-weight: 840;
    }

    .picture-text-heading > span[b-jn97xx7xat] {
        color: var(--text-secondary);

        font-size: .54rem;
        line-height: 1.6;
    }


/* ---- counters and the choice for all ---- */

.picture-text-toolbar[b-jn97xx7xat] {
    padding-top: 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;

    border-top: 1px solid var(--ui-line);
}

.picture-text-stats[b-jn97xx7xat] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.picture-text-stat[b-jn97xx7xat] {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 4px 10px;

    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-pill);

    background: var(--ui-surface-raised);
    color: var(--text-secondary);

    font-size: .5rem;
    font-weight: 700;
}

    .picture-text-stat > b[b-jn97xx7xat] {
        color: var(--text);
        font-weight: 850;
    }

    .picture-text-stat.is-translated[b-jn97xx7xat] {
        border-color: transparent;
        background: var(--ui-success-tint);
        color: var(--ui-success);
    }

        .picture-text-stat.is-translated > b[b-jn97xx7xat] {
            color: var(--ui-success);
        }

.picture-text-bulk[b-jn97xx7xat] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

    .picture-text-bulk > span[b-jn97xx7xat] {
        color: var(--muted);

        font-size: .5rem;
        font-weight: 760;
    }

.picture-text-chip[b-jn97xx7xat] {
    padding: 5px 11px;

    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-pill);

    background: var(--ui-surface-raised);
    color: var(--text-secondary);

    font: inherit;
    font-size: .5rem;
    font-weight: 760;

    cursor: pointer;

    transition: var(--picture-text-transition);
}

    .picture-text-chip:hover:not(:disabled)[b-jn97xx7xat] {
        border-color: var(--ui-line-strong);
        background: var(--ui-surface-hover);
        color: var(--text);
    }


/* ---- the list ---- */

.picture-text-list[b-jn97xx7xat] {
    margin: 0;
    padding: 0;

    display: grid;
    gap: 8px;

    list-style: none;
}

    /* Every picture shown: the list scrolls inside the card. */
    .picture-text-list.is-expanded[b-jn97xx7xat] {
        max-height: min(640px, 70vh);
        overflow-y: auto;
        overscroll-behavior: contain;

        padding-inline-end: 4px;

        scrollbar-width: thin;
        scrollbar-color: var(--ui-line-strong) transparent;
    }

.picture-text-item[b-jn97xx7xat] {
    padding: 8px;

    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
    gap: 12px;

    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);

    background: var(--ui-surface-raised);

    transition:
        border-color var(--ui-dur-2) var(--ui-ease),
        background var(--ui-dur-2) var(--ui-ease),
        box-shadow var(--ui-dur-2) var(--ui-ease);
}

    .picture-text-item:hover[b-jn97xx7xat] {
        border-color: var(--ui-line-strong);
        box-shadow: var(--ui-shadow-sm);
    }

    /* A choice made and not applied yet. */
    .picture-text-item.is-staged[b-jn97xx7xat] {
        border-color: var(--ui-accent-strong);

        background:
            linear-gradient(145deg, var(--ui-accent-tint), transparent 72%),
            var(--ui-surface-raised);
    }

.picture-text-thumb[b-jn97xx7xat] {
    width: 104px;
    height: 72px;

    padding: 4px;

    display: grid;
    place-items: center;

    overflow: hidden;

    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xs);

    background: var(--ui-surface-strong);

    cursor: zoom-in;

    transition: var(--picture-text-transition);
}

    .picture-text-thumb:hover[b-jn97xx7xat] {
        border-color: var(--ui-line-strong);
        box-shadow: var(--ui-shadow-sm);
        transform: translateY(-1px);
    }

    .picture-text-thumb > img[b-jn97xx7xat] {
        max-width: 100%;
        max-height: 100%;

        display: block;

        object-fit: contain;

        border-radius: calc(var(--ui-r-xs) - 4px);
    }

.picture-text-body[b-jn97xx7xat] {
    min-width: 0;

    display: grid;
    gap: 4px;
}

.picture-text-title[b-jn97xx7xat] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

    .picture-text-title > strong[b-jn97xx7xat] {
        color: var(--text);

        font-size: .58rem;
        font-weight: 820;
    }

.picture-text-kind[b-jn97xx7xat] {
    padding: 2px 8px;

    border-radius: var(--ui-r-pill);

    background: var(--ui-info-soft);
    color: var(--ui-info);

    font-size: .46rem;
    font-weight: 760;
}

.picture-text-sample[b-jn97xx7xat] {
    overflow: hidden;

    color: var(--muted);

    font-size: .5rem;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.picture-text-foot[b-jn97xx7xat] {
    margin-top: 2px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.picture-text-status[b-jn97xx7xat] {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: var(--text-secondary);

    font-size: .5rem;
    font-weight: 700;
}

    .picture-text-status[b-jn97xx7xat]::before {
        content: "";

        width: 7px;
        height: 7px;
        flex: none;

        border-radius: 50%;

        background: var(--ui-faint);
    }

    .picture-text-status.is-translated[b-jn97xx7xat]::before {
        background: var(--ui-success);
    }

    .picture-text-status.is-partial[b-jn97xx7xat]::before {
        background: var(--ui-warning);
    }

    .picture-text-status.is-kept[b-jn97xx7xat]::before {
        background: var(--ui-clay);
    }

.picture-text-item.is-staged .picture-text-status[b-jn97xx7xat] {
    color: var(--accent-text, var(--ui-warning));
}


/* ---- the three-way switch ---- */

.picture-text-segmented[b-jn97xx7xat] {
    padding: 3px;

    display: inline-flex;
    gap: 2px;

    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-pill);

    background: var(--ui-surface-sunken);
}

    .picture-text-segmented > button[b-jn97xx7xat] {
        min-height: 26px;
        padding: 0 11px;

        border: 0;
        border-radius: var(--ui-r-pill);

        background: transparent;
        color: var(--text-secondary);

        font: inherit;
        font-size: .5rem;
        font-weight: 760;
        white-space: nowrap;

        cursor: pointer;

        transition: var(--picture-text-transition);
    }

        .picture-text-segmented > button:hover:not(:disabled):not(.is-active)[b-jn97xx7xat] {
            background: var(--ui-surface-hover);
            color: var(--text);
        }

        .picture-text-segmented > button.is-active[b-jn97xx7xat] {
            background: linear-gradient(135deg, var(--ui-accent), var(--ui-accent-strong));
            color: var(--ui-on-accent);

            box-shadow: var(--ui-shadow-sm);
        }

.picture-text-chip:disabled[b-jn97xx7xat],
.picture-text-segmented > button:disabled[b-jn97xx7xat] {
    opacity: .5;
    cursor: not-allowed;
}

.picture-text-chip:focus-visible[b-jn97xx7xat],
.picture-text-segmented > button:focus-visible[b-jn97xx7xat],
.picture-text-thumb:focus-visible[b-jn97xx7xat],
.picture-text-more:focus-visible[b-jn97xx7xat] {
    outline: 2px solid var(--ui-accent-strong);
    outline-offset: 2px;
}


/* ---- show all ---- */

.picture-text-more[b-jn97xx7xat] {
    justify-self: center;

    padding: 6px 14px;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    border: 1px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-pill);

    background: transparent;
    color: var(--text-secondary);

    font: inherit;
    font-size: .52rem;
    font-weight: 760;

    cursor: pointer;

    transition: var(--picture-text-transition);
}

    .picture-text-more:hover[b-jn97xx7xat] {
        border-style: solid;
        background: var(--ui-surface-raised);
        color: var(--text);
    }

.picture-text-more-icon[b-jn97xx7xat] {
    width: 14px;
    height: 14px;

    transition: transform var(--ui-dur-2) var(--ui-ease);
}

    .picture-text-more-icon.is-open[b-jn97xx7xat] {
        transform: rotate(180deg);
    }


/* ---- changes not applied yet ---- */

.picture-text-apply[b-jn97xx7xat] {
    position: sticky;
    bottom: 10px;
    z-index: 2;

    padding: 10px 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;

    border: 1px solid var(--ui-accent-strong);
    border-radius: var(--ui-r-sm);

    background:
        linear-gradient(145deg, var(--ui-accent-tint), transparent 80%),
        var(--ui-surface-strong);

    box-shadow: var(--ui-shadow-md);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.picture-text-apply-text[b-jn97xx7xat] {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--text);

    font-size: .54rem;
    font-weight: 760;
}

.picture-text-apply-actions[b-jn97xx7xat] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .picture-text-apply-actions .process-btn[b-jn97xx7xat] {
        min-height: 34px;
    }


@media (max-width: 540px) {

    .picture-text-item[b-jn97xx7xat] {
        grid-template-columns: 76px minmax(0, 1fr);
        align-items: start;
    }

    .picture-text-thumb[b-jn97xx7xat] {
        width: 76px;
        height: 56px;
    }

    .picture-text-segmented[b-jn97xx7xat],
    .picture-text-apply-actions[b-jn97xx7xat],
    .picture-text-apply-actions .process-btn[b-jn97xx7xat] {
        width: 100%;
    }

        .picture-text-segmented > button[b-jn97xx7xat] {
            flex: 1;
            padding: 0 6px;
        }
}

@media (prefers-reduced-motion: reduce) {

    .picture-text-item[b-jn97xx7xat],
    .picture-text-thumb[b-jn97xx7xat],
    .picture-text-chip[b-jn97xx7xat],
    .picture-text-more[b-jn97xx7xat],
    .picture-text-more-icon[b-jn97xx7xat],
    .picture-text-segmented > button[b-jn97xx7xat] {
        transition: none;
    }
}
/* _content/AITranslationPlatform.Web/Components/Translation/TranslationSetup.razor.rz.scp.css */
.translation-setup-page[b-4aogmbm9ue] {
    width: 100%;
    min-height: 100%;
    padding: 34px;
}

.setup-shell[b-4aogmbm9ue] {
    width: min(1280px, 100%);
    margin: 0 auto;
}

.setup-header[b-4aogmbm9ue] {
    margin-bottom: 28px;
}

.setup-back[b-4aogmbm9ue] {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 22px;
    text-decoration: none;
    color: var(--text-secondary, #64748b);
    font-size: 14px;
}

.setup-eyebrow[b-4aogmbm9ue] {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    color: #7c5cff;
    margin-bottom: 8px;
}

.setup-header h1[b-4aogmbm9ue] {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
}

.setup-header p[b-4aogmbm9ue] {
    margin: 10px 0 0;
    color: var(--text-secondary, #64748b);
}

.setup-grid[b-4aogmbm9ue] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
}

.setup-main[b-4aogmbm9ue] {
    display: grid;
    gap: 20px;
}

.setup-card[b-4aogmbm9ue],
.summary-sticky[b-4aogmbm9ue] {
    background: var(--surface, #fff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 20px;
}

.setup-card[b-4aogmbm9ue] {
    padding: 24px;
}

.setup-card-header[b-4aogmbm9ue] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

    .setup-card-header h2[b-4aogmbm9ue] {
        margin: 0;
        font-size: 18px;
    }

    .setup-card-header p[b-4aogmbm9ue] {
        margin: 5px 0 0;
        color: var(--text-secondary, #64748b);
        font-size: 14px;
    }

.setup-step-number[b-4aogmbm9ue] {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    font-weight: 800;
    color: #6d4aff;
    background: rgba(109, 74, 255, .10);
}

.language-grid[b-4aogmbm9ue] {
    display: grid;
    grid-template-columns: 1fr 42px 1fr;
    gap: 12px;
    align-items: end;
}

.setup-field[b-4aogmbm9ue] {
    display: grid;
    gap: 8px;
}

    .setup-field label[b-4aogmbm9ue] {
        font-size: 13px;
        font-weight: 700;
    }

    .setup-field select[b-4aogmbm9ue] {
        width: 100%;
        min-height: 48px;
        padding: 0 13px;
        border-radius: 12px;
        border: 1px solid var(--border-color, #dbe2ea);
        background: var(--surface, #fff);
        color: inherit;
        outline: none;
    }

        .setup-field select:focus[b-4aogmbm9ue] {
            border-color: #7c5cff;
            box-shadow: 0 0 0 3px rgba(124, 92, 255, .10);
        }

.language-arrow[b-4aogmbm9ue] {
    min-height: 48px;
    display: grid;
    place-items: center;
    color: #7c5cff;
    font-size: 20px;
}

.inline-warning[b-4aogmbm9ue],
.rtl-notice[b-4aogmbm9ue] {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 11px;
    font-size: 13px;
}

.inline-warning[b-4aogmbm9ue] {
    background: rgba(220, 38, 38, .08);
    color: #b91c1c;
}

.rtl-notice[b-4aogmbm9ue] {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    background: rgba(14, 165, 233, .08);
}

    .rtl-notice strong[b-4aogmbm9ue] {
        color: #0284c7;
    }

.mode-grid[b-4aogmbm9ue] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mode-card[b-4aogmbm9ue],
.quality-card[b-4aogmbm9ue] {
    position: relative;
    border: 1px solid var(--border-color, #dbe2ea);
    background: transparent;
    color: inherit;
    border-radius: 14px;
    cursor: pointer;
    text-align: inherit;
    transition: .2s ease;
}

.quality-card.locked[b-4aogmbm9ue] { cursor:not-allowed; opacity:.52; filter:grayscale(.35); }
.quality-card.locked:hover[b-4aogmbm9ue] { transform:none; border-color:var(--border-color, #dbe2ea); }

.setup-package-access-notice[b-4aogmbm9ue] {
    display: grid;
    gap: 4px;
    margin-top: 14px;
    padding: 11px 13px;
    border: 1px solid rgba(184, 124, 25, .22);
    border-radius: 12px;
    background: rgba(184, 124, 25, .08);
    color: var(--text-secondary, #64748b);
    font-size: 12px;
    line-height: 1.65;
}

.setup-package-access-notice strong[b-4aogmbm9ue] { color: var(--text, #172033); }

.mode-card[b-4aogmbm9ue] {
    min-height: 92px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 13px;
}

    .mode-card:hover[b-4aogmbm9ue],
    .quality-card:hover[b-4aogmbm9ue] {
        border-color: #a997ff;
        transform: translateY(-1px);
    }

    .mode-card.selected[b-4aogmbm9ue],
    .quality-card.selected[b-4aogmbm9ue] {
        border-color: #7c5cff;
        background: rgba(124, 92, 255, .055);
        box-shadow: 0 0 0 1px #7c5cff;
    }

.mode-icon[b-4aogmbm9ue] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    font-weight: 800;
    background: rgba(124, 92, 255, .10);
    color: #6d4aff;
}

.mode-content[b-4aogmbm9ue] {
    display: grid;
    gap: 4px;
}

    .mode-content strong[b-4aogmbm9ue] {
        font-size: 14px;
    }

    .mode-content small[b-4aogmbm9ue] {
        color: var(--text-secondary, #64748b);
        line-height: 1.5;
    }

.mode-check[b-4aogmbm9ue],
.quality-check[b-4aogmbm9ue] {
    display: none;
    position: absolute;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #7c5cff;
    color: #fff;
    place-items: center;
    font-size: 12px;
}

.mode-check[b-4aogmbm9ue] {
    top: 10px;
    inset-inline-end: 10px;
}

.mode-card.selected .mode-check[b-4aogmbm9ue],
.quality-card.selected .quality-check[b-4aogmbm9ue] {
    display: grid;
}

.quality-grid[b-4aogmbm9ue] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.quality-card[b-4aogmbm9ue] {
    padding: 18px;
    min-height: 142px;
}

.quality-top[b-4aogmbm9ue] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.quality-card p[b-4aogmbm9ue] {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary, #64748b);
    line-height: 1.65;
}

.quality-lock-note[b-4aogmbm9ue] {
    display: block;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(184, 124, 25, .28);
    color: #946317;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.45;
}

.quality-check[b-4aogmbm9ue] {
    bottom: 12px;
    inset-inline-end: 12px;
}

.recommended-badge[b-4aogmbm9ue] {
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(34, 197, 94, .10);
    color: #16a34a;
    font-size: 10px;
    font-weight: 800;
}

.setup-summary[b-4aogmbm9ue] {
    min-width: 0;
}

.summary-sticky[b-4aogmbm9ue] {
    position: sticky;
    top: calc(var(--app-header-height, 0px) + 24px);
    padding: 22px;
}

.summary-title[b-4aogmbm9ue] {
    font-weight: 800;
    margin-bottom: 20px;
}

.summary-row[b-4aogmbm9ue] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-color, #edf0f4);
    font-size: 13px;
}

    .summary-row span[b-4aogmbm9ue] {
        color: var(--text-secondary, #64748b);
    }

    .summary-row strong[b-4aogmbm9ue] {
        text-align: end;
    }

.preservation-box[b-4aogmbm9ue] {
    margin-top: 20px;
    padding: 14px;
    border-radius: 13px;
    background: rgba(34, 197, 94, .08);
}

    .preservation-box strong[b-4aogmbm9ue] {
        color: #15803d;
        font-size: 13px;
    }

    .preservation-box p[b-4aogmbm9ue] {
        margin: 6px 0 0;
        font-size: 12px;
        color: var(--text-secondary, #64748b);
        line-height: 1.6;
    }

.create-job-button[b-4aogmbm9ue] {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 13px;
    margin-top: 18px;
    padding: 0 17px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #6d4aff;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

    .create-job-button:disabled[b-4aogmbm9ue] {
        opacity: .45;
        cursor: not-allowed;
    }

.setup-loading[b-4aogmbm9ue],
.setup-error[b-4aogmbm9ue],
.setup-success[b-4aogmbm9ue] {
    padding: 20px;
    border-radius: 15px;
}

.setup-loading[b-4aogmbm9ue] {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border-color, #e2e8f0);
}

.setup-error[b-4aogmbm9ue] {
    background: rgba(220, 38, 38, .07);
    border: 1px solid rgba(220, 38, 38, .20);
}

    .setup-error p[b-4aogmbm9ue],
    .setup-success p[b-4aogmbm9ue] {
        margin: 5px 0 0;
    }

.setup-success[b-4aogmbm9ue] {
    display: flex;
    gap: 13px;
    background: rgba(34, 197, 94, .08);
    border: 1px solid rgba(34, 197, 94, .22);
}

.success-icon[b-4aogmbm9ue] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #16a34a;
    color: #fff;
    font-weight: 900;
    flex: 0 0 auto;
}

.setup-spinner[b-4aogmbm9ue],
.button-spinner[b-4aogmbm9ue] {
    border-radius: 50%;
    border: 2px solid currentColor;
    border-top-color: transparent;
    animation: setup-spin-b-4aogmbm9ue .7s linear infinite;
}

.setup-spinner[b-4aogmbm9ue] {
    width: 24px;
    height: 24px;
}

.button-spinner[b-4aogmbm9ue] {
    width: 17px;
    height: 17px;
}

@keyframes setup-spin-b-4aogmbm9ue {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 980px) {
    .setup-grid[b-4aogmbm9ue] {
        grid-template-columns: 1fr;
    }

    .summary-sticky[b-4aogmbm9ue] {
        position: static;
    }
}

@media (max-width: 700px) {
    .translation-setup-page[b-4aogmbm9ue] {
        padding: 20px 14px;
    }

    .language-grid[b-4aogmbm9ue] {
        grid-template-columns: 1fr;
    }

    .language-arrow[b-4aogmbm9ue] {
        min-height: auto;
        transform: rotate(90deg);
    }

    .mode-grid[b-4aogmbm9ue],
    .quality-grid[b-4aogmbm9ue] {
        grid-template-columns: 1fr;
    }

    .setup-card[b-4aogmbm9ue] {
        padding: 18px;
    }
}

/* =====================================================
   SMART DETECTION BANNER
   ===================================================== */

.mode-detected[b-4aogmbm9ue] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid #d8dcfb;
    border-radius: 14px;
    background: linear-gradient(180deg, #f6f7ff 0%, #fbfbff 100%);
}

.mode-detected > div[b-4aogmbm9ue] {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 4px;
}

.mode-detected-icon[b-4aogmbm9ue] {
    display: grid;
    place-items: center;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #e7ebff;
    color: #4a63d8;
    font-size: 15px;
}

.mode-detected strong[b-4aogmbm9ue] {
    font-size: 13.5px;
    color: #26304a;
}

.mode-detected small[b-4aogmbm9ue] {
    font-size: 11.5px;
    line-height: 1.7;
    color: #77819a;
}

.mode-detected-reset[b-4aogmbm9ue] {
    flex: none;
    align-self: center;
    border: 1px solid #d8dcfb;
    border-radius: 9px;
    background: #fff;
    color: #4a63d8;
    padding: 8px 12px;
    font: inherit;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
}

.mode-detected-reset:hover[b-4aogmbm9ue] {
    background: #f2f4ff;
}

[data-theme="dark"] .mode-detected[b-4aogmbm9ue] {
    border-color: #2c3556;
    background: #161c2e;
}

[data-theme="dark"] .mode-detected strong[b-4aogmbm9ue] {
    color: #dfe6f6;
}

[data-theme="dark"] .mode-detected small[b-4aogmbm9ue] {
    color: #8b98b1;
}

[data-theme="dark"] .mode-detected-icon[b-4aogmbm9ue] {
    background: #1e2745;
    color: #8ba3f7;
}

[data-theme="dark"] .mode-detected-reset[b-4aogmbm9ue] {
    .analysis-smart-merged-card background: #101623;
    border-color: #2c3556;
    color: #8ba3f7;
}

@media (max-width: 620px) {
    .mode-detected[b-4aogmbm9ue] {
        flex-wrap: wrap;
    }

    .mode-detected-reset[b-4aogmbm9ue] {
        width: 100%;
    }
}


/* TRANSLATION SETUP STAGE 3 PREMIUM V1 - START */

.translation-setup-page[b-4aogmbm9ue]{width:100%;min-height:100%;padding:0;color:var(--text)}
.setup-shell[b-4aogmbm9ue]{width:min(1480px,100%);margin:0 auto;display:grid;gap:18px}

/* HERO */
.setup-header[b-4aogmbm9ue]{min-height:220px;position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(430px,500px);grid-template-rows:auto auto auto 1fr;align-items:start;column-gap:34px;margin:0;padding:28px 32px;overflow:hidden;border:1px solid var(--ui-line);border-radius:var(--ui-r-xl);background:radial-gradient(115% 145% at 8% -18%,var(--ui-bloom-warm),transparent 48%),radial-gradient(85% 115% at 96% 118%,var(--ui-bloom-cool),transparent 56%),linear-gradient(135deg,var(--ui-surface-strong),var(--ui-surface));box-shadow:var(--ui-shadow-md);animation:ui-card-in .62s var(--ui-ease-out) .04s backwards}
.translation-setup-page[dir="rtl"] .setup-header[b-4aogmbm9ue]{background:radial-gradient(115% 145% at 92% -18%,var(--ui-bloom-warm),transparent 48%),radial-gradient(85% 115% at 4% 118%,var(--ui-bloom-cool),transparent 56%),linear-gradient(225deg,var(--ui-surface-strong),var(--ui-surface))}
.setup-header[b-4aogmbm9ue]::before,.setup-header[b-4aogmbm9ue]::after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.setup-header[b-4aogmbm9ue]::before{width:280px;height:280px;inset-block-start:-178px;inset-inline-end:-92px;border:42px solid var(--ui-accent-soft);opacity:.72}
.setup-header[b-4aogmbm9ue]::after{width:150px;height:150px;inset-block-end:-98px;inset-inline-start:-42px;border:26px solid var(--ui-line-strong);opacity:.68}
.setup-back[b-4aogmbm9ue],.setup-eyebrow[b-4aogmbm9ue],.setup-header>h1[b-4aogmbm9ue],.setup-header>p[b-4aogmbm9ue]{position:relative;z-index:3;grid-column:1}
.setup-back[b-4aogmbm9ue]{width:max-content;min-height:33px;display:inline-flex;align-items:center;gap:7px;margin:0 0 10px;padding:0 11px;border:1px solid var(--ui-line);border-radius:var(--ui-r-pill);background:var(--ui-surface-raised);color:var(--text-secondary);text-decoration:none;font-size:.60rem;font-weight:760;transition:var(--ui-t)}
.setup-back:hover[b-4aogmbm9ue]{transform:translateY(-1px);border-color:var(--ui-accent-strong);color:var(--ui-warning);box-shadow:var(--ui-shadow-sm)}
.translation-setup-page[dir="rtl"] .setup-back>span[b-4aogmbm9ue]{transform:rotate(180deg)}
.setup-eyebrow[b-4aogmbm9ue]{width:max-content;display:inline-flex;align-items:center;gap:7px;margin-bottom:8px;padding:6px 11px;border:1px solid rgba(226,175,46,.30);border-radius:var(--ui-r-pill);background:var(--ui-surface-raised);color:var(--accent-text);font-size:.61rem;font-weight:850}
.setup-eyebrow[b-4aogmbm9ue]::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--ui-accent-strong);animation:ui-pulse 2.4s var(--ui-ease) infinite}
.setup-header h1[b-4aogmbm9ue]{margin:0 0 9px;color:var(--text);font-size:clamp(1.8rem,2.4vw,2.65rem);font-weight:830;line-height:1.22}
.setup-header>p[b-4aogmbm9ue]{max-width:700px;margin:0;color:var(--text-secondary);font-size:.82rem;line-height:1.9}
.setup-header[b-4aogmbm9ue]  .translation-workflow-progress{grid-column:2;grid-row:1/5;width:100%;max-width:500px;align-self:center;justify-self:stretch;margin:0;position:relative;z-index:3}

/* MAIN GRID */
.setup-grid[b-4aogmbm9ue]{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start}
.setup-main[b-4aogmbm9ue]{min-width:0;display:grid;gap:14px}
.setup-card[b-4aogmbm9ue],.summary-sticky[b-4aogmbm9ue]{min-width:0;border:1px solid var(--ui-line);border-radius:var(--ui-r-lg);background:var(--surface);box-shadow:var(--ui-shadow-sm)}
.setup-card[b-4aogmbm9ue]{padding:19px;transition:var(--ui-t)}
.setup-card:hover[b-4aogmbm9ue]{border-color:var(--ui-line-strong);box-shadow:var(--ui-shadow-md)}
.setup-card-header[b-4aogmbm9ue]{display:flex;align-items:flex-start;gap:11px;margin-bottom:15px}
.setup-card-header h2[b-4aogmbm9ue]{margin:0 0 3px;color:var(--text);font-size:.88rem;font-weight:820}
.setup-card-header p[b-4aogmbm9ue]{margin:0;color:var(--muted);font-size:.62rem;line-height:1.65}
.setup-step-number[b-4aogmbm9ue]{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border:1px solid rgba(226,175,46,.22);border-radius:var(--ui-r-xs);background:var(--ui-accent-soft);color:var(--ui-warning);font-size:.61rem;font-weight:900}

/* LANGUAGE + FIELDS */
.language-grid[b-4aogmbm9ue]{display:grid;grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr);gap:10px;align-items:end}
.setup-field[b-4aogmbm9ue]{min-width:0;display:grid;gap:7px;color:var(--text)}
.setup-field>label[b-4aogmbm9ue],.setup-field>span:first-child[b-4aogmbm9ue]{color:var(--text-secondary);font-size:.60rem;font-weight:780}
.setup-field select[b-4aogmbm9ue]{width:100%;min-height:48px;padding:0 13px;border:1px solid var(--ui-line);border-radius:var(--ui-r-sm);outline:0;background:var(--ui-surface-strong);color:var(--text);font:inherit;font-size:.68rem;transition:var(--ui-t)}
.setup-field select:hover[b-4aogmbm9ue]{border-color:var(--ui-line-strong)}
.setup-field select:focus[b-4aogmbm9ue]{border-color:var(--ui-accent-strong);box-shadow:0 0 0 4px var(--ui-accent-soft)}
.language-arrow[b-4aogmbm9ue]{width:36px;height:36px;display:grid;place-items:center;align-self:end;margin-bottom:6px;border:1px solid var(--ui-line);border-radius:50%;background:var(--ui-surface-raised);color:var(--ui-warning);font-size:1rem;box-shadow:var(--ui-shadow-sm)}
.inline-warning[b-4aogmbm9ue],.rtl-notice[b-4aogmbm9ue]{margin-top:11px;padding:10px 12px;border-radius:var(--ui-r-sm);font-size:.59rem;line-height:1.7}
.inline-warning[b-4aogmbm9ue]{border:1px solid rgba(157,66,49,.20);background:var(--ui-danger-tint);color:var(--ui-danger)}
.rtl-notice[b-4aogmbm9ue]{display:flex;gap:9px;border:1px solid var(--ui-line);background:var(--ui-surface-sunken);color:var(--text-secondary)}
.rtl-notice strong[b-4aogmbm9ue]{padding:3px 6px;border-radius:7px;background:var(--ui-accent-soft);color:var(--ui-warning);font-size:.56rem}

/* DETECTED MODE */
.mode-detected[b-4aogmbm9ue]{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin-bottom:12px;padding:11px 12px;border:1px solid rgba(226,175,46,.22);border-radius:var(--ui-r-sm);background:linear-gradient(135deg,var(--ui-accent-tint),transparent 68%),var(--ui-surface-sunken)}
.mode-detected-icon[b-4aogmbm9ue]{width:34px;height:34px;display:grid;place-items:center;border-radius:var(--ui-r-xs);background:var(--ui-accent-soft);color:var(--ui-warning)}
.mode-detected strong[b-4aogmbm9ue]{display:block;color:var(--text);font-size:.62rem;line-height:1.55}
.mode-detected small[b-4aogmbm9ue]{display:block;margin-top:3px;color:var(--muted);font-size:.54rem;line-height:1.55}
.mode-detected-reset[b-4aogmbm9ue]{min-height:33px;padding:0 9px;border:1px solid var(--ui-line);border-radius:var(--ui-r-pill);background:var(--ui-surface-raised);color:var(--text-secondary);font:inherit;font-size:.54rem;font-weight:760;cursor:pointer}

/* MODE */
.mode-grid[b-4aogmbm9ue]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mode-card[b-4aogmbm9ue]{min-width:0;min-height:88px;position:relative;display:flex;align-items:center;gap:11px;padding:13px;overflow:hidden;border:1px solid var(--ui-line);border-radius:var(--ui-r-md);background:linear-gradient(155deg,var(--ui-accent-tint),transparent 74%),var(--ui-surface-sunken);color:var(--text);font:inherit;text-align:start;cursor:pointer;transition:var(--ui-t)}
.mode-card:hover[b-4aogmbm9ue]{transform:translateY(-2px);border-color:var(--border-accent);box-shadow:var(--ui-shadow-sm)}
.mode-card.selected[b-4aogmbm9ue]{border-color:var(--ui-accent-strong);background:linear-gradient(145deg,var(--ui-accent-tint),transparent 68%),var(--ui-surface-strong);box-shadow:0 0 0 1px rgba(226,175,46,.16),var(--ui-shadow-sm)}
.mode-icon[b-4aogmbm9ue]{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border:1px solid var(--ui-line);border-radius:var(--ui-r-sm);background:var(--ui-surface-raised);color:var(--ui-ink-2);font-size:.78rem;font-weight:900}
.mode-card.selected .mode-icon[b-4aogmbm9ue]{border-color:transparent;background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-strong));color:var(--ui-on-accent);box-shadow:var(--ui-shadow-accent)}
.mode-content[b-4aogmbm9ue]{min-width:0;flex:1;display:grid;gap:3px}
.mode-content strong[b-4aogmbm9ue]{color:var(--text);font-size:.66rem;font-weight:820}
.mode-content small[b-4aogmbm9ue]{color:var(--muted);font-size:.54rem;line-height:1.55}
.mode-check[b-4aogmbm9ue],.quality-check[b-4aogmbm9ue]{width:21px;height:21px;position:absolute;display:none;place-items:center;border-radius:50%;background:var(--ui-accent);color:var(--ui-on-accent);font-size:.55rem;font-weight:900;box-shadow:0 0 0 4px var(--ui-accent-soft)}
.mode-check[b-4aogmbm9ue]{inset-block-start:9px;inset-inline-end:9px}
.mode-card.selected .mode-check[b-4aogmbm9ue],.quality-card.selected .quality-check[b-4aogmbm9ue]{display:grid}

/* PACKAGE NOTICE */
.setup-package-access-notice[b-4aogmbm9ue]{display:grid;gap:3px;margin-top:11px;padding:10px 12px;border:1px solid var(--ui-warning-soft);border-radius:var(--ui-r-sm);background:var(--ui-warning-tint);color:var(--text-secondary);font-size:.56rem;line-height:1.65}
.setup-package-access-notice strong[b-4aogmbm9ue]{color:var(--text)}

/* QUALITY */
.quality-grid[b-4aogmbm9ue]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.quality-card[b-4aogmbm9ue]{min-width:0;min-height:126px;position:relative;padding:14px;overflow:hidden;border:1px solid var(--ui-line);border-radius:var(--ui-r-md);background:linear-gradient(155deg,var(--ui-accent-tint),transparent 72%),var(--ui-surface-sunken);color:var(--text);font:inherit;text-align:start;cursor:pointer;transition:var(--ui-t)}
.quality-card:hover[b-4aogmbm9ue]{transform:translateY(-2px);border-color:var(--border-accent);box-shadow:var(--ui-shadow-sm)}
.quality-card.selected[b-4aogmbm9ue]{border-color:var(--ui-accent-strong);background:linear-gradient(145deg,var(--ui-accent-tint),transparent 68%),var(--ui-surface-strong);box-shadow:0 0 0 1px rgba(226,175,46,.16),var(--ui-shadow-sm)}
.quality-card.locked[b-4aogmbm9ue]{cursor:not-allowed;opacity:.48;filter:grayscale(.32)}
.quality-top[b-4aogmbm9ue]{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:9px}
.quality-top strong[b-4aogmbm9ue]{color:var(--text);font-size:.68rem;font-weight:830}
.quality-card p[b-4aogmbm9ue]{margin:0;color:var(--muted);font-size:.56rem;line-height:1.65}
.recommended-badge[b-4aogmbm9ue]{padding:4px 7px;border:1px solid rgba(63,106,57,.16);border-radius:var(--ui-r-pill);background:var(--ui-success-tint);color:var(--ui-success);font-size:.49rem;font-weight:850}
.quality-lock-note[b-4aogmbm9ue]{display:block;margin-top:9px;padding-top:7px;border-top:1px dashed var(--ui-line-strong);color:var(--ui-warning);font-size:.51rem;font-weight:760;line-height:1.45}
.quality-check[b-4aogmbm9ue]{inset-inline-end:11px;inset-block-end:11px}

/* MEMORY / GLOSSARY */
.setup-card .setup-field + .setup-field[b-4aogmbm9ue]{margin-top:13px}
.setup-card label.setup-field:has(input[type="checkbox"])[b-4aogmbm9ue]{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:start!important;gap:10px!important;margin-top:13px!important;padding:12px 13px;border:1px solid var(--ui-line);border-radius:var(--ui-r-sm);background:var(--ui-surface-sunken);cursor:pointer}
.setup-card input[type="checkbox"][b-4aogmbm9ue]{width:18px;height:18px;margin-top:1px;accent-color:var(--ui-accent-strong)}
.setup-card label.setup-field:has(input[type="checkbox"]) strong[b-4aogmbm9ue]{color:var(--text);font-size:.62rem}
.setup-card label.setup-field:has(input[type="checkbox"]) small[b-4aogmbm9ue]{color:var(--muted);font-size:.54rem;line-height:1.6}

/* SUMMARY */
.setup-summary[b-4aogmbm9ue]{min-width:0}
.summary-sticky[b-4aogmbm9ue]{position:sticky;top:calc(var(--app-header-height, 0px) + 10px);padding:17px;overflow:hidden;background:radial-gradient(105% 85% at 100% 0%,var(--ui-accent-tint),transparent 52%),var(--surface)}
.summary-sticky[b-4aogmbm9ue]::after{content:"";position:absolute;width:120px;height:120px;inset-block-start:-76px;inset-inline-end:-42px;border-radius:50%;background:var(--ui-accent);opacity:.06;pointer-events:none}
.summary-title[b-4aogmbm9ue]{position:relative;z-index:1;margin-bottom:10px;padding-bottom:12px;border-bottom:1px solid var(--ui-line);color:var(--text);font-size:.76rem;font-weight:850}
.summary-row[b-4aogmbm9ue]{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 1px;border-bottom:1px solid var(--ui-line);font-size:.59rem}
.summary-row span[b-4aogmbm9ue]{color:var(--muted)}.summary-row strong[b-4aogmbm9ue]{color:var(--text);font-size:.61rem;font-weight:800;text-align:end}
.preservation-box[b-4aogmbm9ue]{position:relative;z-index:1;margin-top:12px;padding:11px;border:1px solid rgba(63,106,57,.18);border-radius:var(--ui-r-sm);background:var(--ui-success-tint)}
.preservation-box strong[b-4aogmbm9ue]{display:block;color:var(--ui-success);font-size:.59rem}.preservation-box p[b-4aogmbm9ue]{margin:4px 0 0;color:var(--text-secondary);font-size:.53rem;line-height:1.6}
.create-job-button[b-4aogmbm9ue]{width:100%;min-height:52px;position:relative;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:13px;padding:9px 14px;border:1px solid transparent;border-radius:var(--ui-r-sm);background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-strong));color:var(--ui-on-accent);font:inherit;font-size:.62rem;font-weight:850;cursor:pointer;box-shadow:var(--ui-shadow-accent);transition:var(--ui-t)}
.create-job-button:hover:not(:disabled)[b-4aogmbm9ue]{transform:translateY(-2px);box-shadow:0 16px 34px rgba(226,175,46,.30)}
.create-job-button:disabled[b-4aogmbm9ue]{opacity:.50;cursor:not-allowed}

/* STATES */
.setup-loading[b-4aogmbm9ue],.setup-error[b-4aogmbm9ue],.setup-success[b-4aogmbm9ue]{padding:16px;border-radius:var(--ui-r-md);box-shadow:var(--ui-shadow-sm)}
.setup-loading[b-4aogmbm9ue]{display:flex;align-items:center;gap:10px;border:1px solid var(--ui-line);background:var(--surface);color:var(--text-secondary)}
.setup-error[b-4aogmbm9ue]{border:1px solid rgba(157,66,49,.20);background:var(--ui-danger-tint);color:var(--ui-danger)}
.setup-success[b-4aogmbm9ue]{display:flex;align-items:flex-start;gap:11px;border:1px solid rgba(63,106,57,.20);background:var(--ui-success-tint)}
.success-icon[b-4aogmbm9ue]{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:50%;background:var(--ui-success);color:#fff;font-weight:900}
.setup-spinner[b-4aogmbm9ue],.button-spinner[b-4aogmbm9ue]{border-radius:50%;border:2px solid currentColor;border-top-color:transparent;animation:setup-spin-b-4aogmbm9ue .7s linear infinite}
.setup-spinner[b-4aogmbm9ue]{width:22px;height:22px}.button-spinner[b-4aogmbm9ue]{width:16px;height:16px}
@keyframes setup-spin-b-4aogmbm9ue{to{transform:rotate(360deg)}}

/* RESPONSIVE */
@media(max-width:1280px){.setup-header[b-4aogmbm9ue]{min-height:0;grid-template-columns:1fr;grid-template-rows:auto;padding:27px}.setup-back[b-4aogmbm9ue],.setup-eyebrow[b-4aogmbm9ue],.setup-header>h1[b-4aogmbm9ue],.setup-header>p[b-4aogmbm9ue],.setup-header[b-4aogmbm9ue]  .translation-workflow-progress{grid-column:1;grid-row:auto}.setup-header[b-4aogmbm9ue]  .translation-workflow-progress{width:100%;max-width:none;margin-top:16px}}
@media(max-width:1020px){.setup-grid[b-4aogmbm9ue]{grid-template-columns:1fr}.summary-sticky[b-4aogmbm9ue]{position:static}}
@media(max-width:760px){.setup-header[b-4aogmbm9ue]{padding:24px 20px;border-radius:var(--ui-r-lg)}.language-grid[b-4aogmbm9ue]{grid-template-columns:1fr}.language-arrow[b-4aogmbm9ue]{justify-self:center;margin:0;transform:rotate(90deg)}.mode-grid[b-4aogmbm9ue],.quality-grid[b-4aogmbm9ue]{grid-template-columns:1fr}.setup-card[b-4aogmbm9ue]{padding:16px}.mode-detected[b-4aogmbm9ue]{grid-template-columns:auto minmax(0,1fr)}.mode-detected-reset[b-4aogmbm9ue]{grid-column:1/-1;justify-self:start}}
@media(max-width:540px){.setup-shell[b-4aogmbm9ue]{gap:14px}.setup-header[b-4aogmbm9ue]{padding:22px 18px}.setup-header h1[b-4aogmbm9ue]{font-size:1.65rem}.setup-card[b-4aogmbm9ue],.summary-sticky[b-4aogmbm9ue]{border-radius:var(--ui-r-md)}}

/* TRANSLATION SETUP STAGE 3 PREMIUM V1 - END */


/* TRANSLATION SETUP COMPACT REFERENCE CARDS V2 - START */

/*
 * Goal:
 * - bring Stage 3 selection cards visually closer to Stage 2 reference cards
 * - more compact cards
 * - soft yellow -> white gradient
 * - 1px light-gray border
 * - plain brown icon on the right with one vertical divider
 * - title + helper packed tighter, less empty space
 */

.mode-grid[b-4aogmbm9ue],
.quality-grid[b-4aogmbm9ue] {
    gap: 8px;
}

.mode-card[b-4aogmbm9ue],
.quality-card[b-4aogmbm9ue] {
    position: relative;
    overflow: hidden;

    padding-block: 9px;
    padding-inline-start: 14px;
    padding-inline-end: 78px;

    border: 1px solid var(--ui-line);
    border-radius: 16px;

    background: linear-gradient(
        90deg,
        #f6e6b7 0%,
        #fbf2d8 48%,
        #ffffff 100%
    );

    box-shadow:
        0 2px 8px rgba(16, 24, 40, .05),
        inset 0 1px 0 rgba(255,255,255,.50);
}

.mode-card[b-4aogmbm9ue] {
    min-height: 72px;
    align-items: stretch;
    gap: 0;
}

.quality-card[b-4aogmbm9ue] {
    min-height: 108px;
}

.mode-card[b-4aogmbm9ue]::after,
.quality-card[b-4aogmbm9ue]::after {
    content: "";
    position: absolute;
    inset-block: 13px;
    inset-inline-end: 66px;
    width: 1px;
    background: var(--ui-line);
    pointer-events: none;
}

.mode-icon[b-4aogmbm9ue] {
    width: 40px;
    height: 40px;
    flex: none;

    position: absolute;
    inset-inline-end: 14px;
    top: 50%;
    transform: translateY(-50%);

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 0;
    background: transparent;

    box-shadow: none;

    color: #7f7357;
    font-size: 1.2rem;
    font-weight: 900;
}

.mode-card.selected .mode-icon[b-4aogmbm9ue] {
    border: 0;
    background: transparent;
    color: #7f7357;
    box-shadow: none;
}

.mode-content[b-4aogmbm9ue] {
    min-width: 0;
    flex: 1;

    display: grid;
    grid-template-rows: 1fr auto;
    align-content: center;
    gap: 2px;
}

.mode-content strong[b-4aogmbm9ue] {
    margin: 0;

    color: var(--text);

    font-size: .72rem;
    font-weight: 820;
    line-height: 1.35;
}

.mode-content small[b-4aogmbm9ue] {
    margin: 0;

    color: var(--muted);

    font-size: .56rem;
    line-height: 1.55;
}

.mode-card.selected[b-4aogmbm9ue],
.quality-card.selected[b-4aogmbm9ue] {
    border-color: rgba(226, 175, 46, .42);

    background: linear-gradient(
        90deg,
        #f5e1a2 0%,
        #faedc5 48%,
        #ffffff 100%
    );

    box-shadow:
        0 0 0 1px rgba(226, 175, 46, .10),
        0 4px 12px rgba(16, 24, 40, .07),
        inset 0 1px 0 rgba(255,255,255,.52);
}

.mode-card.selected .mode-content strong[b-4aogmbm9ue],
.quality-card.selected .quality-top strong[b-4aogmbm9ue] {
    color: #eea000;
}

.mode-card:hover[b-4aogmbm9ue],
.quality-card:hover[b-4aogmbm9ue] {
    transform: translateY(-1px);
    border-color: var(--ui-line-strong);
    box-shadow:
        0 4px 12px rgba(16, 24, 40, .07),
        inset 0 1px 0 rgba(255,255,255,.52);
}

.mode-check[b-4aogmbm9ue],
.quality-check[b-4aogmbm9ue] {
    width: 18px;
    height: 18px;

    inset-block-start: 9px;
    inset-inline-start: 9px;
    inset-inline-end: auto;
    inset-block-end: auto;

    box-shadow: 0 0 0 3px var(--ui-accent-soft);
    font-size: .50rem;
}

.quality-top[b-4aogmbm9ue] {
    margin-bottom: 7px;
    padding-inline-end: 0;
}

.quality-top strong[b-4aogmbm9ue] {
    color: var(--text);
    font-size: .72rem;
    font-weight: 820;
}

.quality-card p[b-4aogmbm9ue] {
    font-size: .55rem;
    line-height: 1.58;
}

.recommended-badge[b-4aogmbm9ue] {
    padding: 4px 6px;
    font-size: .47rem;
}

.quality-lock-note[b-4aogmbm9ue] {
    margin-top: 7px;
    padding-top: 6px;
    font-size: .50rem;
}

.setup-card[b-4aogmbm9ue] {
    padding: 16px;
}

.setup-card-header[b-4aogmbm9ue] {
    margin-bottom: 12px;
}

@media (max-width: 760px) {
    .mode-card[b-4aogmbm9ue] {
        min-height: 68px;
        padding-inline-end: 70px;
        padding-inline-start: 12px;
    }

    .quality-card[b-4aogmbm9ue] {
        min-height: 98px;
        padding-inline-end: 70px;
        padding-inline-start: 12px;
    }

    .mode-card[b-4aogmbm9ue]::after,
    .quality-card[b-4aogmbm9ue]::after {
        inset-inline-end: 59px;
        inset-block: 11px;
    }

    .mode-icon[b-4aogmbm9ue] {
        width: 34px;
        height: 34px;
        inset-inline-end: 13px;
        font-size: 1.05rem;
    }

    .mode-content strong[b-4aogmbm9ue],
    .quality-top strong[b-4aogmbm9ue] {
        font-size: .68rem;
    }
}

/* TRANSLATION SETUP COMPACT REFERENCE CARDS V2 - END */


/* TRANSLATION SETUP MODE CARD FIX V3 - START */

/*
 * User-requested refinement:
 * 1) ONLY translation-type cards get the Stage-2-like card treatment tweaks.
 * 2) Quality cards return to their previous premium style.
 * 3) Mode-card icon goes to the RIGHT.
 * 4) Mode-card checkmark goes to the LEFT.
 * 5) Title and helper text become closer together.
 * 6) Both title and helper text become slightly larger.
 */

/* -----------------------------------------
   TYPE / MODE CARDS
   ----------------------------------------- */

.mode-grid[b-4aogmbm9ue] {
    gap: 8px;
}

.mode-card[b-4aogmbm9ue] {
    min-width: 0;
    min-height: 72px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    padding-block: 10px;
    padding-inline-start: 16px;
    padding-inline-end: 80px;
    overflow: hidden;

    color: var(--text);
    font: inherit;
    text-align: start;
    cursor: pointer;

    border: 2px solid var(--ui-line);
    border-radius: 16px;
    background: linear-gradient(90deg, #fff6dc 0%, #fff9e7 48%, #ffffff 100%);
    box-shadow: 0 2px 8px rgba(16, 24, 40, .05), inset 0 1px 0 rgba(255, 255, 255, .50);
    transition: var(--ui-t);
}

.mode-card[b-4aogmbm9ue]::after {
    content: "";
    position: absolute;
    inset-block: 13px;
    inset-inline-end: 66px;
    width: 1px;
    background: var(--ui-line);
    pointer-events: none;
}

.mode-card:hover[b-4aogmbm9ue] {
    transform: translateY(-1px);
    border-color: var(--ui-line-strong);
    box-shadow:
        0 4px 12px rgba(16, 24, 40, .07),
        inset 0 1px 0 rgba(255,255,255,.52);
}

.mode-card.selected[b-4aogmbm9ue] {
    border-color: rgba(226, 175, 46, .42);

    background: linear-gradient(
        90deg,
        #f5e1a2 0%,
        #faedc5 48%,
        #ffffff 100%
    );

    box-shadow:
        0 0 0 1px rgba(226, 175, 46, .10),
        0 4px 12px rgba(16, 24, 40, .07),
        inset 0 1px 0 rgba(255,255,255,.52);
}

/* icon on the RIGHT */
.mode-icon[b-4aogmbm9ue] {
    width: 40px;
    height: 40px;
    flex: none;

    position: absolute;
    inset-inline-end: 14px;
    inset-inline-start: auto;
    top: 50%;
    transform: translateY(-50%);

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;

    color: #7f7357;
    font-size: 1.2rem;
    font-weight: 900;
}

.mode-card.selected .mode-icon[b-4aogmbm9ue] {
    border: 0;
    background: transparent;
    color: #7f7357;
    box-shadow: none;
}

/* checkmark on the LEFT */
.mode-check[b-4aogmbm9ue] {
    width: 18px;
    height: 18px;

    position: absolute;

    inset-inline-start: 9px;
    inset-inline-end: auto;
    inset-block-start: 9px;
    inset-block-end: auto;

    box-shadow: 0 0 0 3px var(--ui-accent-soft);
    font-size: .50rem;
}

/* copy tighter + slightly larger */
.mode-content[b-4aogmbm9ue] {
    min-width: 0;
    flex: 1;

    display: grid;
    align-content: center;
    gap: 1px;
}

.mode-content strong[b-4aogmbm9ue] {
    margin: 0;

    color: var(--text);

    font-size: .76rem;
    font-weight: 830;
    line-height: 1.30;
}

.mode-content small[b-4aogmbm9ue] {
    margin: 0;

    color: var(--muted);

    font-size: .59rem;
    line-height: 1.45;
}

.mode-card.selected .mode-content strong[b-4aogmbm9ue] {
    color: #eea000;
}

/* -----------------------------------------
   QUALITY CARDS — RESTORE PREVIOUS PREMIUM STYLE
   ----------------------------------------- */

.quality-grid[b-4aogmbm9ue] {
    gap: 10px;
}

.quality-card[b-4aogmbm9ue] {
    min-width: 0;
    min-height: 126px;

    position: relative;

    padding: 14px;

    overflow: hidden;

    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);

    background:
        linear-gradient(155deg, var(--ui-accent-tint), transparent 72%),
        var(--ui-surface-sunken);

    color: var(--text);

    font: inherit;
    text-align: start;
    cursor: pointer;

    box-shadow: none;
    transition: var(--ui-t);
}

.quality-card[b-4aogmbm9ue]::after {
    display: none !important;
}

.quality-card:hover[b-4aogmbm9ue] {
    transform: translateY(-2px);
    border-color: var(--border-accent);
    box-shadow: var(--ui-shadow-sm);
}

.quality-card.selected[b-4aogmbm9ue] {
    border-color: var(--ui-accent-strong);

    background:
        linear-gradient(145deg, var(--ui-accent-tint), transparent 68%),
        var(--ui-surface-strong);

    box-shadow:
        0 0 0 1px rgba(226, 175, 46, .16),
        var(--ui-shadow-sm);
}

.quality-card.selected .quality-top strong[b-4aogmbm9ue] {
    color: var(--text);
}

.quality-card.locked[b-4aogmbm9ue] {
    cursor: not-allowed;
    opacity: .48;
    filter: grayscale(.32);
}

.quality-card.locked:hover[b-4aogmbm9ue] {
    transform: none;
    border-color: var(--ui-line);
    box-shadow: none;
}

.quality-top[b-4aogmbm9ue] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;

    margin-bottom: 9px;
    padding-inline-end: 0;
}

.quality-top strong[b-4aogmbm9ue] {
    color: var(--text);
    font-size: .68rem;
    font-weight: 830;
}

.quality-card p[b-4aogmbm9ue] {
    margin: 0;

    color: var(--muted);
    font-size: .56rem;
    line-height: 1.65;
}

.recommended-badge[b-4aogmbm9ue] {
    padding: 4px 7px;

    border: 1px solid rgba(63, 106, 57, .16);
    border-radius: var(--ui-r-pill);

    background: var(--ui-success-tint);
    color: var(--ui-success);

    font-size: .49rem;
    font-weight: 850;
}

.quality-lock-note[b-4aogmbm9ue] {
    display: block;

    margin-top: 9px;
    padding-top: 7px;

    border-top: 1px dashed var(--ui-line-strong);

    color: var(--ui-warning);
    font-size: .51rem;
    font-weight: 760;
    line-height: 1.45;
}

.quality-check[b-4aogmbm9ue] {
    width: 21px;
    height: 21px;

    inset-inline-end: 11px;
    inset-inline-start: auto;
    inset-block-end: 11px;
    inset-block-start: auto;

    box-shadow: 0 0 0 4px var(--ui-accent-soft);
    font-size: .55rem;
}

/* section spacing */
.setup-card[b-4aogmbm9ue] {
    padding: 16px;
}

.setup-card-header[b-4aogmbm9ue] {
    margin-bottom: 12px;
}

@media (max-width: 760px) {
    .mode-card[b-4aogmbm9ue] {
        min-height: 68px;
        padding-inline-start: 14px;
        padding-inline-end: 72px;
    }

    .mode-card[b-4aogmbm9ue]::after {
        inset-inline-end: 59px;
        inset-block: 11px;
    }

    .mode-icon[b-4aogmbm9ue] {
        width: 34px;
        height: 34px;
        inset-inline-end: 13px;
        font-size: 1.05rem;
    }

    .mode-content strong[b-4aogmbm9ue] {
        font-size: .72rem;
    }

    .mode-content small[b-4aogmbm9ue] {
        font-size: .57rem;
    }

    .quality-card[b-4aogmbm9ue] {
        min-height: 118px;
    }
}

/* TRANSLATION SETUP MODE CARD FIX V3 - END */



/* =========================================================
   TRANSLATION MODE CARDS — PHYSICAL POSITION FIX
   ========================================================= */

.mode-card[b-4aogmbm9ue] {
    position: relative;
    /* فضای آیکون از سمت راست */
    padding-right: 80px !important;
    padding-left: 16px !important;
}


    /* آیکون — حتماً سمت راست */
    .mode-card .mode-icon[b-4aogmbm9ue] {
        position: absolute !important;
        top: 50% !important;
        right: 14px !important;
        left: auto !important;
        width: 40px !important;
        height: 40px !important;
        transform: translateY(-50%) !important;
        display: grid !important;
        place-items: center !important;
        margin: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #7f7357 !important;
        z-index: 2;
    }


    /* خط جداکننده — سمت چپ آیکون */
    .mode-card[b-4aogmbm9ue]::after {
        content: "";
        position: absolute !important;
        top: 13px !important;
        bottom: 13px !important;
        right: 66px !important;
        left: auto !important;
        width: 1px !important;
        background: var(--ui-line) !important;
        pointer-events: none;
    }


    /* چک‌مارک — حتماً سمت چپ */
    .mode-card .mode-check[b-4aogmbm9ue] {
        position: absolute !important;
        top: 9px !important;
        left: 9px !important;
        right: auto !important;
        bottom: auto !important;
        width: 18px !important;
        height: 18px !important;
        z-index: 4;
    }


    /* متن کارت */
    .mode-card .mode-content[b-4aogmbm9ue] {
        width: 100%;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 2px !important;
        text-align: right !important;
        direction: rtl !important;
    }


        /* تیتر */
        .mode-card .mode-content strong[b-4aogmbm9ue] {
            margin: 0 !important;
            font-size: .96rem !important;
            font-weight: 830 !important;
            line-height: 1.3 !important;
            text-align: right !important;
        }


        /* توضیح */
        .mode-card .mode-content small[b-4aogmbm9ue] {
            margin: 0 !important;
            font-size: .79rem !important;
            line-height: 1.4 !important;
            text-align: right !important;
        }


    /* حالت انتخاب‌شده */
    .mode-card.selected .mode-icon[b-4aogmbm9ue] {
        right: 14px !important;
        left: auto !important;
        background: transparent !important;
        color: #7f7357 !important;
    }


/* موبایل */
@media (max-width: 760px) {

    .mode-card[b-4aogmbm9ue] {
        padding-right: 72px !important;
        padding-left: 14px !important;
    }

        .mode-card .mode-icon[b-4aogmbm9ue] {
            right: 13px !important;
            left: auto !important;
            width: 34px !important;
            height: 34px !important;
        }

        .mode-card[b-4aogmbm9ue]::after {
            right: 59px !important;
            left: auto !important;
        }

        .mode-card .mode-check[b-4aogmbm9ue] {
            left: 8px !important;
            right: auto !important;
        }
}


/* TRANSLATION SETUP TOP LANGUAGE TOOLS V4.1 - START */

.setup-top-grid[b-4aogmbm9ue] {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .95fr);
    gap: 14px;
    align-items: start;
}

.setup-top-column[b-4aogmbm9ue] {
    min-width: 0;
}

.compact-language-grid[b-4aogmbm9ue] {
    grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
    gap: 10px;
    align-items: end;
}

.compact-field[b-4aogmbm9ue] {
    gap: 6px;
}

.compact-field > label[b-4aogmbm9ue],
.compact-field > span:first-child[b-4aogmbm9ue] {
    font-size: .58rem;
    font-weight: 780;
    color: var(--text-secondary);
}

.compact-field select[b-4aogmbm9ue] {
    min-height: 44px;
    padding-inline: 12px;
    border-radius: 14px;
    background: var(--ui-surface-strong);
    font-size: .67rem;
}

.compact-language-arrow[b-4aogmbm9ue] {
    width: 38px;
    height: 38px;
    margin-bottom: 3px;
    border-radius: 50%;
}

.compact-tools-card[b-4aogmbm9ue] {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--ui-line);
    border-radius: 18px;
    background:
        linear-gradient(145deg, var(--ui-accent-tint), transparent 68%),
        var(--ui-surface-sunken);
    box-shadow: var(--ui-shadow-sm);
}

.compact-tools-header[b-4aogmbm9ue] {
    display: grid;
    gap: 3px;
}

.compact-tools-header strong[b-4aogmbm9ue] {
    color: var(--text);
    font-size: .69rem;
    font-weight: 840;
}

.compact-tools-header span[b-4aogmbm9ue] {
    color: var(--muted);
    font-size: .55rem;
    line-height: 1.6;
}

.toggle-stack[b-4aogmbm9ue] {
    display: grid;
    gap: 10px;
}

.toggle-item[b-4aogmbm9ue] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--ui-line);
    border-radius: 16px;
    background: var(--surface);
}

.toggle-copy[b-4aogmbm9ue] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.toggle-copy strong[b-4aogmbm9ue] {
    color: var(--text);
    font-size: .65rem;
    font-weight: 820;
}

.toggle-copy small[b-4aogmbm9ue] {
    color: var(--muted);
    font-size: .54rem;
    line-height: 1.55;
}

.mini-switch[b-4aogmbm9ue] {
    position: relative;
    width: 66px;
    height: 38px;
    flex: none;
    display: inline-block;
}

.mini-switch input[b-4aogmbm9ue] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.mini-switch-track[b-4aogmbm9ue] {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #b8c0c2;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 8px 16px rgba(15, 23, 42, .08);
    transition: background var(--ui-dur-2) var(--ui-ease);
}

.mini-switch-track[b-4aogmbm9ue]::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eef1f2;
    box-shadow: 0 6px 14px rgba(15, 23, 42, .18);
    transition: transform var(--ui-dur-2) var(--ui-ease), background var(--ui-dur-2) var(--ui-ease);
}

.mini-switch input:checked + .mini-switch-track[b-4aogmbm9ue] {
    background: #29a055;
}

.mini-switch input:checked + .mini-switch-track[b-4aogmbm9ue]::before {
    transform: translateX(28px);
    background: #36d06d;
}

.toggle-panel[b-4aogmbm9ue] {
    margin-top: -2px;
    /* the field inside had 2px below it and touched the dashed border */
    padding: 12px 14px 14px;
    border: 1px dashed var(--ui-line-strong);
    border-radius: 16px;
    background: var(--surface);
}

.setup-card:first-of-type[b-4aogmbm9ue] {
    padding: 15px 16px;
}

.setup-card:first-of-type .setup-card-header[b-4aogmbm9ue] {
    margin-bottom: 11px;
}

.setup-package-access-notice[b-4aogmbm9ue] {
    display: none !important;
}

@media (max-width: 980px) {
    .setup-top-grid[b-4aogmbm9ue] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .compact-tools-card[b-4aogmbm9ue] {
        padding: 12px;
        border-radius: 16px;
    }

    .toggle-item[b-4aogmbm9ue] {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .mini-switch[b-4aogmbm9ue] {
        width: 62px;
        height: 36px;
    }

    .mini-switch-track[b-4aogmbm9ue]::before {
        width: 28px;
        height: 28px;
    }

    .mini-switch input:checked + .mini-switch-track[b-4aogmbm9ue]::before {
        transform: translateX(26px);
    }
}

/* TRANSLATION SETUP TOP LANGUAGE TOOLS V4.1 - END */


/* TRANSLATION SETUP TOP COLUMNS V5 - START */

/*
 * Two real sibling cards:
 * RIGHT (RTL): Language
 * LEFT  (RTL): Glossary + Translation Memory
 * Equal widths.
 */

.setup-top-pair[b-4aogmbm9ue] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.setup-language-card[b-4aogmbm9ue],
.setup-tools-card-section[b-4aogmbm9ue] {
    min-width: 0;
    height: 100%;
    padding: 16px;
}

.setup-language-card .setup-card-header[b-4aogmbm9ue],
.setup-tools-card-section .setup-card-header[b-4aogmbm9ue] {
    margin-bottom: 12px;
}


/* =========================================================
   LANGUAGE — vertical / compact
   ========================================================= */

.language-stack[b-4aogmbm9ue] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.language-stack .compact-field[b-4aogmbm9ue] {
    gap: 5px;
}

.language-stack .compact-field > label[b-4aogmbm9ue] {
    font-size: .59rem;
    font-weight: 790;
}

.language-stack .compact-field select[b-4aogmbm9ue] {
    min-height: 43px;
    padding-inline: 12px;

    border: 1px solid var(--ui-line);
    border-radius: 14px;

    background: var(--ui-surface-strong);
    color: var(--text);

    font-size: .66rem;
}

.language-stack-arrow[b-4aogmbm9ue] {
    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    justify-self: center;

    margin: -1px 0;

    border: 1px solid var(--ui-line);
    border-radius: 50%;

    background: var(--ui-surface-raised);
    color: var(--ui-warning);

    font-size: .82rem;
    font-weight: 850;

    box-shadow: var(--ui-shadow-sm);
}

.setup-language-card .inline-warning[b-4aogmbm9ue],
.setup-language-card .rtl-notice[b-4aogmbm9ue] {
    margin-top: 9px;
}

.compact-rtl-notice[b-4aogmbm9ue] {
    padding: 9px 11px;
}


/* =========================================================
   GLOSSARY + MEMORY
   ========================================================= */

.setup-tools-card-header[b-4aogmbm9ue] {
    align-items: center;
}

.setup-tools-header-icon[b-4aogmbm9ue] {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(226, 175, 46, .24);
    border-radius: 12px;

    background: var(--ui-accent-soft);
    color: var(--ui-warning);

    font-size: .76rem;
    font-weight: 900;
}

.setup-tools-card-section .toggle-stack[b-4aogmbm9ue] {
    display: grid;
    gap: 10px;
}

.setup-tools-card-section .toggle-item[b-4aogmbm9ue] {
    min-height: 68px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;

    padding: 11px 12px;

    border: 1px solid var(--ui-line);
    border-radius: 15px;

    background: var(--ui-surface-sunken);
}

.setup-tools-card-section .toggle-copy[b-4aogmbm9ue] {
    min-width: 0;

    display: grid;
    gap: 2px;
}

.setup-tools-card-section .toggle-copy strong[b-4aogmbm9ue] {
    color: var(--text);

    font-size: .65rem;
    font-weight: 830;
}

.setup-tools-card-section .toggle-copy small[b-4aogmbm9ue] {
    color: var(--muted);

    font-size: .54rem;
    line-height: 1.5;
}


/* =========================================================
   TOGGLE
   ========================================================= */

.setup-tools-card-section .mini-switch[b-4aogmbm9ue] {
    width: 64px;
    height: 36px;

    position: relative;

    display: inline-block;
    flex: none;
}

.setup-tools-card-section .mini-switch input[b-4aogmbm9ue] {
    position: absolute;
    inset: 0;

    z-index: 2;

    opacity: 0;
    cursor: pointer;
}

.setup-tools-card-section .mini-switch-track[b-4aogmbm9ue] {
    position: absolute;
    inset: 0;

    border-radius: 999px;

    background: #b8c0c2;

    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,.05),
        0 5px 12px rgba(15,23,42,.08);

    transition: background var(--ui-dur-2) var(--ui-ease);
}

.setup-tools-card-section .mini-switch-track[b-4aogmbm9ue]::before {
    content: "";

    position: absolute;

    top: 4px;
    left: 4px;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    background: #edf1f2;

    box-shadow: 0 4px 10px rgba(15,23,42,.18);

    transition:
        transform var(--ui-dur-2) var(--ui-ease),
        background var(--ui-dur-2) var(--ui-ease);
}

.setup-tools-card-section .mini-switch input:checked + .mini-switch-track[b-4aogmbm9ue] {
    background: #29a055;
}

.setup-tools-card-section .mini-switch input:checked + .mini-switch-track[b-4aogmbm9ue]::before {
    transform: translateX(28px);
    background: #36d06d;
}


/* =========================================================
   GLOSSARY SELECT — fix cramped spacing
   ========================================================= */

.glossary-select-panel[b-4aogmbm9ue] {
    margin: 0;
    padding: 12px;

    border: 1px dashed var(--ui-line-strong);
    border-radius: 15px;

    background: var(--surface);
}

.glossary-select-panel .setup-field[b-4aogmbm9ue] {
    display: grid;
    gap: 8px;
}

.glossary-select-panel .setup-field > span[b-4aogmbm9ue] {
    display: block;

    margin: 0;

    color: var(--text-secondary);

    font-size: .58rem;
    font-weight: 780;
}

.glossary-select-panel .setup-field select[b-4aogmbm9ue] {
    min-height: 43px;

    margin: 0;
    padding-inline: 12px;

    border: 1px solid var(--ui-line);
    border-radius: 13px;

    background: var(--ui-surface-strong);

    font-size: .65rem;
}


/* kill old nested top-grid styles, if still present in CSS */
.setup-top-grid[b-4aogmbm9ue] {
    display: contents;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {
    .setup-top-pair[b-4aogmbm9ue] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .setup-top-pair[b-4aogmbm9ue] {
        gap: 10px;
    }

    .setup-language-card[b-4aogmbm9ue],
    .setup-tools-card-section[b-4aogmbm9ue] {
        padding: 14px;
    }

    .setup-tools-card-section .toggle-item[b-4aogmbm9ue] {
        grid-template-columns: 1fr auto;
        padding: 10px;
    }
}

/* TRANSLATION SETUP TOP COLUMNS V5 - END */


.language-stack-arrow[b-4aogmbm9ue] {
    display: none !important;
}

/* TRANSLATION SETUP WARM DARK MODE CARDS V1 - START */
/*
 * Dark-mode correction for Stage 3 translation-type cards.
 * The exact-reference light cards use hard-coded cream/white fills;
 * dark mode must replace those fills rather than merely changing
 * surrounding tokens.
 */

html[data-theme="dark"]
.translation-setup-page
.mode-card[b-4aogmbm9ue] {
    border-color: rgba(255, 236, 198, .12) !important;

    background:
        linear-gradient(
            90deg,
            rgba(226, 175, 46, .12) 0%,
            rgba(226, 175, 46, .055) 48%,
            rgba(255, 255, 255, .018) 100%
        ),
        #272018 !important;

    color: #f1eadf !important;

    box-shadow:
        0 7px 18px rgba(0,0,0,.12),
        inset 0 1px 0 rgba(255,255,255,.018) !important;
}

html[data-theme="dark"]
.translation-setup-page
.mode-card[b-4aogmbm9ue]::after {
    background: rgba(255, 236, 198, .11) !important;
}

html[data-theme="dark"]
.translation-setup-page
.mode-icon[b-4aogmbm9ue] {
    color: #c8b68f !important;
}

html[data-theme="dark"]
.translation-setup-page
.mode-content strong[b-4aogmbm9ue] {
    color: #ece3d6 !important;
}

html[data-theme="dark"]
.translation-setup-page
.mode-content small[b-4aogmbm9ue] {
    color: #a79d8f !important;
}

html[data-theme="dark"]
.translation-setup-page
.mode-card:hover[b-4aogmbm9ue] {
    border-color: rgba(226, 175, 46, .18) !important;

    background:
        linear-gradient(
            90deg,
            rgba(226, 175, 46, .145) 0%,
            rgba(226, 175, 46, .067) 48%,
            rgba(255, 255, 255, .022) 100%
        ),
        #2a2219 !important;

    box-shadow:
        0 10px 23px rgba(0,0,0,.15),
        inset 0 1px 0 rgba(255,255,255,.022) !important;
}

html[data-theme="dark"]
.translation-setup-page
.mode-card.selected[b-4aogmbm9ue] {
    border-color: rgba(226, 175, 46, .40) !important;

    background:
        linear-gradient(
            90deg,
            rgba(226, 175, 46, .22) 0%,
            rgba(226, 175, 46, .105) 48%,
            rgba(255, 255, 255, .028) 100%
        ),
        #2c241a !important;

    box-shadow:
        0 0 0 1px rgba(226,175,46,.09),
        0 10px 24px rgba(0,0,0,.16),
        inset 0 1px 0 rgba(255,255,255,.025) !important;
}

html[data-theme="dark"]
.translation-setup-page
.mode-card.selected
.mode-content strong[b-4aogmbm9ue] {
    color: #f0b637 !important;
}

html[data-theme="dark"]
.translation-setup-page
.mode-card.selected
.mode-icon[b-4aogmbm9ue] {
    color: #d4bf91 !important;
}

html[data-theme="dark"]
.translation-setup-page
.mode-check[b-4aogmbm9ue] {
    background: linear-gradient(
        135deg,
        #efc14b,
        #d8a229
    ) !important;

    color: #34270f !important;

    box-shadow: 0 0 0 3px rgba(226,175,46,.12) !important;
}

/* Keep unavailable/locked choices visibly disabled, but not washed white. */
html[data-theme="dark"]
.translation-setup-page
.mode-card:disabled[b-4aogmbm9ue],

html[data-theme="dark"]
.translation-setup-page
.mode-card.locked[b-4aogmbm9ue],

html[data-theme="dark"]
.translation-setup-page
.mode-card.disabled[b-4aogmbm9ue] {
    opacity: .52 !important;

    filter: none !important;
}
/* TRANSLATION SETUP WARM DARK MODE CARDS V1 - END */

/* INSUFFICIENT CREDIT - START */
.submit-error-action[b-4aogmbm9ue]{display:inline-flex;align-items:center;justify-content:center;margin-top:10px;padding:7px 16px;border-radius:var(--ui-r-sm);background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-strong));color:var(--ui-on-accent);font-size:.6rem;font-weight:850;text-decoration:none;box-shadow:var(--ui-shadow-accent);transition:var(--ui-t)}
.submit-error-action:hover[b-4aogmbm9ue]{transform:translateY(-1px)}
/* INSUFFICIENT CREDIT - END */


/* =========================================================
   PHONE
   =========================================================
   The tier cards drop the height they kept for desktop, so the
   quality choice and the summary come up sooner. The modes stay
   one per row: two to a row was tried and their descriptions
   broke one word per line.
   ========================================================= */

@media (max-width: 560px) {

    .quality-card[b-4aogmbm9ue] {
        min-height: 0;
        padding: 13px;
    }
}
/* _content/AITranslationPlatform.Web/Components/Translation/TranslationWorkflowProgress.razor.rz.scp.css */
.translation-workflow-progress[b-rzxl2aqyjc] {
    width: min(100%, 540px);
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface-raised);
    box-shadow: var(--ui-shadow-sm);
    backdrop-filter: blur(16px);
    animation: ui-rise .55s var(--ui-ease-out) .22s backwards;
}

.translation-workflow-step[b-rzxl2aqyjc] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: .46;
    transition: var(--ui-t);
}

.translation-workflow-step.active[b-rzxl2aqyjc],
.translation-workflow-step.completed[b-rzxl2aqyjc] {
    opacity: 1;
}

.workflow-step-number[b-rzxl2aqyjc] {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-sunken);
    color: var(--muted);
    font-size: .62rem;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
    transition: var(--ui-t);
}

.translation-workflow-step.active .workflow-step-number[b-rzxl2aqyjc] {
    border-color: transparent;
    background: linear-gradient(135deg, var(--ui-accent), var(--ui-accent-strong));
    color: var(--ui-on-accent);
    box-shadow: var(--ui-shadow-accent);
}

.translation-workflow-step.completed .workflow-step-number[b-rzxl2aqyjc] {
    border-color: rgba(226, 175, 46, .22);
    background: var(--ui-accent-soft);
    color: var(--ui-warning);
}

.translation-workflow-step > div[b-rzxl2aqyjc] {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.translation-workflow-step strong[b-rzxl2aqyjc] {
    color: var(--text);
    font-size: .61rem;
    font-weight: 800;
    white-space: nowrap;
}

.translation-workflow-step small[b-rzxl2aqyjc] {
    color: var(--muted);
    font-size: .50rem;
    white-space: nowrap;
}

.translation-workflow-line[b-rzxl2aqyjc] {
    width: 18px;
    height: 1px;
    flex: 0 0 18px;
    background: var(--ui-line-strong);
}

.translation-workflow-line.completed[b-rzxl2aqyjc] {
    background: var(--ui-accent-strong);
}

@media (max-width: 820px) {
    .translation-workflow-progress[b-rzxl2aqyjc] {
        width: 100%;
        max-width: none;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .translation-workflow-progress[b-rzxl2aqyjc]::-webkit-scrollbar {
        display: none;
    }

    .translation-workflow-step[b-rzxl2aqyjc] {
        flex: 0 0 auto;
    }
}

@media (max-width: 540px) {
    .translation-workflow-progress[b-rzxl2aqyjc] {
        padding: 8px;
    }

    .translation-workflow-step > div[b-rzxl2aqyjc] {
        display: none;
    }

    .translation-workflow-line[b-rzxl2aqyjc] {
        flex: 1 1 18px;
    }
}
/* _content/AITranslationPlatform.Web/Components/UserProfile/Profile.razor.rz.scp.css */
/* =========================================================
   PROFILE — PREMIUM WORKSPACE V1
   Unified with Dashboard / Translation / Documents / Billing
   ========================================================= */

.profile-page[b-wjbsa1faco] {
    --profile-accent: var(--ui-accent, #f2bd43);
    --profile-accent-strong: var(--ui-accent-strong, #dfa62c);
    --profile-accent-soft: var(--ui-accent-soft, rgba(226, 175, 46, .12));
    --profile-accent-tint: var(--ui-accent-tint, rgba(226, 175, 46, .065));

    --profile-text: var(--text, #28241e);
    --profile-text-2: var(--text-secondary, #625d54);
    --profile-muted: var(--muted, #918a7f);

    --profile-surface: var(--surface, #ffffff);
    --profile-surface-raised: var(--ui-surface-raised, #ffffff);
    --profile-surface-strong: var(--ui-surface-strong, #fffdf9);
    --profile-surface-soft: var(--ui-surface-sunken, #faf8f3);

    --profile-line: var(--ui-line, rgba(48, 43, 34, .10));
    --profile-line-strong: var(--ui-line-strong, rgba(48, 43, 34, .16));

    --profile-success: var(--ui-success, #4a8c61);
    --profile-success-soft: var(--ui-success-tint, rgba(74, 140, 97, .10));
    --profile-warning: var(--ui-warning, #b97814);
    --profile-warning-soft: var(--ui-warning-tint, rgba(185, 120, 20, .10));
    --profile-danger: var(--ui-danger, #b65050);
    --profile-danger-soft: var(--ui-danger-tint, rgba(182, 80, 80, .10));
    --profile-info: var(--ui-info, #657aa8);
    --profile-info-soft: var(--ui-info-tint, rgba(101, 122, 168, .10));

    --profile-shadow-sm: var(--ui-shadow-sm, 0 8px 22px rgba(32, 28, 22, .055));
    --profile-shadow-md: var(--ui-shadow-md, 0 18px 46px rgba(32, 28, 22, .085));

    width: min(100%, 1480px);
    margin: 0 auto;
    padding: 0 0 30px;

    display: flex;
    flex-direction: column;
    gap: 18px;

    color: var(--profile-text);
}


/* =========================================================
   EYEBROW
   ========================================================= */

.profile-eyebrow[b-wjbsa1faco] {
    width: max-content;
    max-width: 100%;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin: 0 0 8px;
    padding: 6px 11px;

    border: 1px solid rgba(226, 175, 46, .28);
    border-radius: 999px;

    background: var(--profile-surface-raised);

    color: #a86e11;

    font-size: .58rem;
    font-weight: 850;
    letter-spacing: .055em;
    white-space: nowrap;
}

.profile-page[dir="rtl"] .profile-eyebrow[b-wjbsa1faco] {
    letter-spacing: 0;
}

.profile-eyebrow-dot[b-wjbsa1faco] {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;

    border-radius: 50%;

    background: var(--profile-accent-strong);

    box-shadow: 0 0 0 4px var(--profile-accent-soft);

    animation: profile-pulse-b-wjbsa1faco 2.4s ease-in-out infinite;
}


/* =========================================================
   HERO
   ========================================================= */

.profile-hero[b-wjbsa1faco] {
    position: relative;

    min-height: 220px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, .56fr);
    align-items: center;
    gap: 30px;

    padding: 30px 32px;

    overflow: hidden;

    border: 1px solid var(--profile-line);
    border-radius: 28px;

    background:
        radial-gradient(115% 145% at 8% -18%, var(--profile-accent-soft), transparent 48%),
        radial-gradient(85% 115% at 96% 118%, rgba(130, 121, 103, .07), transparent 56%),
        linear-gradient(135deg, var(--profile-surface-strong), var(--profile-surface));

    box-shadow: var(--profile-shadow-md);

    animation: profile-card-in-b-wjbsa1faco .62s cubic-bezier(.2,.8,.2,1) .03s backwards;
}

.profile-page[dir="rtl"] .profile-hero[b-wjbsa1faco] {
    background:
        radial-gradient(115% 145% at 92% -18%, var(--profile-accent-soft), transparent 48%),
        radial-gradient(85% 115% at 4% 118%, rgba(130, 121, 103, .07), transparent 56%),
        linear-gradient(225deg, var(--profile-surface-strong), var(--profile-surface));
}

.profile-hero[b-wjbsa1faco]::before,
.profile-hero[b-wjbsa1faco]::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.profile-hero[b-wjbsa1faco]::before {
    width: 285px;
    height: 285px;

    inset-block-start: -184px;
    inset-inline-end: -94px;

    border: 42px solid var(--profile-accent-soft);
    opacity: .78;
}

.profile-hero[b-wjbsa1faco]::after {
    width: 154px;
    height: 154px;

    inset-block-end: -101px;
    inset-inline-start: -44px;

    border: 26px solid var(--profile-line-strong);
    opacity: .62;
}

.profile-hero-identity[b-wjbsa1faco] {
    position: relative;
    z-index: 2;

    min-width: 0;

    display: flex;
    align-items: center;
    gap: 18px;
}

.profile-avatar[b-wjbsa1faco] {
    width: 78px;
    height: 78px;
    flex: 0 0 78px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(226,175,46,.28);
    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            var(--profile-accent),
            var(--profile-accent-strong)
        );

    color: #35270e;

    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: .01em;

    box-shadow:
        0 14px 30px rgba(226,175,46,.24),
        inset 0 1px 0 rgba(255,255,255,.35);
}

.profile-hero-copy[b-wjbsa1faco] {
    min-width: 0;
}

.profile-hero h1[b-wjbsa1faco] {
    margin: 0 0 11px;

    color: var(--profile-text);

    font-size: clamp(1.8rem, 2.7vw, 2.55rem);
    font-weight: 860;
    line-height: 1.2;
    letter-spacing: -.03em;
}

.profile-page[dir="rtl"] .profile-hero h1[b-wjbsa1faco] {
    letter-spacing: 0;
}

.profile-hero-badges[b-wjbsa1faco] {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.profile-badge[b-wjbsa1faco] {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 9px;

    border: 1px solid var(--profile-line);
    border-radius: 999px;

    background: var(--profile-surface-raised);

    color: var(--profile-text-2);

    font-size: .52rem;
    font-weight: 800;
    line-height: 1;
}

.profile-badge svg[b-wjbsa1faco] {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.profile-badge.verified[b-wjbsa1faco] {
    border-color: rgba(74,140,97,.13);
    background: var(--profile-success-soft);
    color: var(--profile-success);
}

.profile-badge.pending[b-wjbsa1faco] {
    border-color: rgba(185,120,20,.13);
    background: var(--profile-warning-soft);
    color: var(--profile-warning);
}

.profile-badge.shield[b-wjbsa1faco] {
    border-color: rgba(101,122,168,.13);
    background: var(--profile-info-soft);
    color: var(--profile-info);
}


/* =========================================================
   HERO FACTS
   ========================================================= */

.profile-hero-facts[b-wjbsa1faco] {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;

    margin: 0;
}

.profile-hero-facts > div[b-wjbsa1faco] {
    min-width: 0;
    min-height: 84px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 13px 14px;

    border: 1px solid var(--profile-line);
    border-radius: 15px;

    background:
        linear-gradient(145deg, var(--profile-accent-tint), transparent 74%),
        var(--profile-surface-raised);

    box-shadow: var(--profile-shadow-sm);
}

.profile-hero-facts dt[b-wjbsa1faco] {
    margin: 0 0 5px;

    color: var(--profile-muted);

    font-size: .50rem;
    font-weight: 760;
}

.profile-hero-facts dd[b-wjbsa1faco] {
    min-width: 0;

    margin: 0;

    overflow: hidden;

    color: var(--profile-text);

    font-size: .67rem;
    font-weight: 820;

    text-overflow: ellipsis;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}


/* =========================================================
   NOTICE
   ========================================================= */

.profile-notice[b-wjbsa1faco] {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 14px 16px;

    border: 1px solid var(--profile-line);
    border-radius: 16px;

    background: var(--profile-surface-strong);

    box-shadow: var(--profile-shadow-sm);

    animation: profile-card-in-b-wjbsa1faco .45s cubic-bezier(.2,.8,.2,1) backwards;
}

.profile-notice-icon[b-wjbsa1faco] {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;

    display: grid;
    place-items: center;

    border-radius: 10px;
}

.profile-notice-icon svg[b-wjbsa1faco] {
    width: 18px;
    height: 18px;
}

.profile-notice strong[b-wjbsa1faco] {
    display: block;

    margin-bottom: 4px;

    color: var(--profile-text);

    font-size: .64rem;
    font-weight: 830;
}

.profile-notice span[b-wjbsa1faco] {
    color: var(--profile-text-2);

    font-size: .54rem;
    line-height: 1.65;
}

.profile-notice.warning[b-wjbsa1faco] {
    border-color: rgba(185,120,20,.16);

    background:
        linear-gradient(145deg, var(--profile-warning-soft), transparent 82%),
        var(--profile-surface-strong);
}

.profile-notice.warning .profile-notice-icon[b-wjbsa1faco] {
    background: var(--profile-warning-soft);
    color: var(--profile-warning);
}

.profile-notice.danger[b-wjbsa1faco] {
    border-color: rgba(182,80,80,.16);

    background:
        linear-gradient(145deg, var(--profile-danger-soft), transparent 82%),
        var(--profile-surface-strong);
}

.profile-notice.danger .profile-notice-icon[b-wjbsa1faco] {
    background: var(--profile-danger-soft);
    color: var(--profile-danger);
}


/* =========================================================
   PANELS
   ========================================================= */

.profile-panel[b-wjbsa1faco] {
    position: relative;

    padding: 19px 21px;

    overflow: hidden;

    border: 1px solid var(--profile-line);
    border-radius: 21px;

    background:
        linear-gradient(145deg, var(--profile-accent-tint), transparent 82%),
        var(--profile-surface);

    box-shadow: var(--profile-shadow-sm);

    animation: profile-card-in-b-wjbsa1faco .55s cubic-bezier(.2,.8,.2,1) backwards;
}

.profile-panel:nth-of-type(2)[b-wjbsa1faco] { animation-delay: .05s; }
.profile-panel:nth-of-type(3)[b-wjbsa1faco] { animation-delay: .10s; }
.profile-panel:nth-of-type(4)[b-wjbsa1faco] { animation-delay: .15s; }

.profile-panel[b-wjbsa1faco]::after {
    content: "";

    position: absolute;

    width: 118px;
    height: 118px;

    inset-block-start: -82px;
    inset-inline-end: -42px;

    border-radius: 50%;

    background: var(--profile-accent);
    opacity: .025;

    pointer-events: none;
}

.profile-panel > *[b-wjbsa1faco] {
    position: relative;
    z-index: 1;
}

.profile-panel-head[b-wjbsa1faco] {
    display: grid;
    gap: 3px;

    margin-bottom: 14px;
    padding-bottom: 13px;

    border-bottom: 1px solid var(--profile-line);
}

.profile-panel-head .profile-eyebrow[b-wjbsa1faco] {
    margin-bottom: 2px;
}

.profile-panel-head p[b-wjbsa1faco] {
    max-width: 850px;

    margin: 0;

    color: var(--profile-muted);

    font-size: .56rem;
    line-height: 1.7;
}


/* =========================================================
   FIELDS
   ========================================================= */

.profile-field-row[b-wjbsa1faco] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.profile-field[b-wjbsa1faco] {
    display: grid;
    gap: 6px;

    min-width: 0;
}

.profile-field + .profile-field-row[b-wjbsa1faco],
.profile-field-row + .profile-field[b-wjbsa1faco] {
    margin-top: 12px;
}

.profile-field > span[b-wjbsa1faco] {
    color: var(--profile-text-2);

    font-size: .58rem;
    font-weight: 780;
}

.profile-field input[b-wjbsa1faco] {
    width: 100%;
    min-height: 44px;

    box-sizing: border-box;

    padding: 0 12px;

    border: 1px solid var(--profile-line-strong);
    border-radius: 12px;
    outline: 0;

    background: var(--profile-surface-soft);

    color: var(--profile-text);

    font: inherit;
    font-size: .66rem;

    transition: .16s ease;
}

.profile-field input:hover[b-wjbsa1faco] {
    border-color: rgba(226,175,46,.30);
}

.profile-field input:focus[b-wjbsa1faco] {
    border-color: var(--profile-accent-strong);

    background: var(--profile-surface-raised);

    box-shadow: 0 0 0 3px var(--profile-accent-soft);
}

.profile-field input[b-wjbsa1faco]::placeholder {
    color: var(--profile-muted);
}

.profile-field.code[b-wjbsa1faco] {
    max-width: 270px;

    margin-top: 12px;
}

.profile-field.code input[b-wjbsa1faco] {
    min-height: 48px;

    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .26em;
    text-align: center;
    font-variant-numeric: tabular-nums;
}


/* =========================================================
   READOUTS
   ========================================================= */

.profile-readout[b-wjbsa1faco] {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 14px;

    min-height: 68px;

    padding: 11px 12px;

    border: 1px solid var(--profile-line);
    border-radius: 13px;

    background: var(--profile-surface-soft);
}

.profile-readout + .profile-readout[b-wjbsa1faco],
.profile-readout + .profile-field[b-wjbsa1faco] {
    margin-top: 9px;
}

.profile-readout.pending[b-wjbsa1faco] {
    border-color: rgba(185,120,20,.15);

    background:
        linear-gradient(145deg, var(--profile-warning-soft), transparent 88%),
        var(--profile-surface-soft);
}

.profile-readout-label[b-wjbsa1faco] {
    display: block;

    margin-bottom: 4px;

    color: var(--profile-muted);

    font-size: .49rem;
    font-weight: 760;
}

.profile-readout-value[b-wjbsa1faco] {
    display: block;

    color: var(--profile-text);

    font-size: .64rem;
    font-weight: 820;
    line-height: 1.55;

    word-break: break-word;
}

.profile-readout-value.ok[b-wjbsa1faco] {
    color: var(--profile-success);
}

.profile-readout-value.warn[b-wjbsa1faco] {
    color: var(--profile-warning);
}


/* =========================================================
   ACTIONS
   ========================================================= */

.profile-actions[b-wjbsa1faco] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 13px;
}

.profile-primary-action[b-wjbsa1faco],
.profile-ghost-action[b-wjbsa1faco] {
    min-height: 39px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 0 14px;

    border-radius: 11px;

    font-family: inherit;
    font-size: .59rem;
    font-weight: 820;

    cursor: pointer;

    transition: .16s ease;
}

.profile-primary-action[b-wjbsa1faco] {
    border: 1px solid transparent;

    background:
        linear-gradient(
            135deg,
            var(--profile-accent),
            var(--profile-accent-strong)
        );

    color: #34270f;

    box-shadow: 0 10px 22px rgba(226,175,46,.18);
}

.profile-primary-action:hover:not(:disabled)[b-wjbsa1faco] {
    transform: translateY(-1px);

    box-shadow: 0 14px 28px rgba(226,175,46,.25);
}

.profile-ghost-action[b-wjbsa1faco] {
    border: 1px solid var(--profile-line-strong);

    background: var(--profile-surface-raised);

    color: var(--profile-text-2);
}

.profile-ghost-action:hover:not(:disabled)[b-wjbsa1faco] {
    transform: translateY(-1px);

    border-color: var(--profile-accent-strong);

    color: #9c6b16;
}

.profile-ghost-action.danger[b-wjbsa1faco] {
    border-color: rgba(182,80,80,.17);

    background: var(--profile-danger-soft);

    color: var(--profile-danger);
}

.profile-primary-action:disabled[b-wjbsa1faco],
.profile-ghost-action:disabled[b-wjbsa1faco] {
    opacity: .48;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}


/* =========================================================
   MESSAGES
   ========================================================= */

.profile-inline-message[b-wjbsa1faco] {
    margin: 11px 0 0;
    padding: 9px 11px;

    border: 1px solid transparent;
    border-radius: 10px;

    font-size: .56rem;
    font-weight: 700;
    line-height: 1.65;
}

.profile-inline-message.ok[b-wjbsa1faco] {
    border-color: rgba(74,140,97,.14);

    background: var(--profile-success-soft);

    color: var(--profile-success);
}

.profile-inline-message.bad[b-wjbsa1faco] {
    border-color: rgba(182,80,80,.14);

    background: var(--profile-danger-soft);

    color: var(--profile-danger);
}

.profile-empty[b-wjbsa1faco] {
    margin: 0;
    padding: 28px;

    color: var(--profile-muted);

    text-align: center;

    font-size: .62rem;
}


/* =========================================================
   TWO FACTOR ENROLMENT
   ========================================================= */

.profile-enrolment[b-wjbsa1faco] {
    padding: 15px;

    border: 1px dashed var(--profile-line-strong);
    border-radius: 14px;

    background:
        linear-gradient(145deg, var(--profile-accent-tint), transparent 82%),
        var(--profile-surface-soft);
}

.profile-steps[b-wjbsa1faco] {
    margin: 0;
    padding-inline-start: 21px;

    color: var(--profile-text-2);

    font-size: .58rem;
    line-height: 1.95;
}

.profile-steps code[b-wjbsa1faco],
.profile-recovery code[b-wjbsa1faco] {
    display: inline-block;

    margin-top: 7px;
    padding: 7px 10px;

    border: 1px solid var(--profile-line);
    border-radius: 8px;

    background: var(--profile-surface-raised);

    color: #9a6b19;

    font-family: "Consolas", "Menlo", monospace;
    font-size: .63rem;
    font-weight: 800;
    letter-spacing: .08em;

    user-select: all;
}


/* =========================================================
   RECOVERY CODES
   ========================================================= */

.profile-recovery[b-wjbsa1faco] {
    margin-top: 13px;
    padding: 14px;

    border: 1px solid rgba(185,120,20,.15);
    border-radius: 14px;

    background:
        linear-gradient(145deg, var(--profile-warning-soft), transparent 84%),
        var(--profile-surface-soft);
}

.profile-recovery strong[b-wjbsa1faco] {
    display: block;

    margin-bottom: 11px;

    color: var(--profile-warning);

    font-size: .57rem;
    font-weight: 820;
    line-height: 1.7;
}

.profile-recovery ul[b-wjbsa1faco] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 7px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.profile-recovery code[b-wjbsa1faco] {
    display: block;

    margin: 0;

    text-align: center;

    letter-spacing: .055em;
}


/* =========================================================
   DARK MODE — WARM / EXPLICIT
   ========================================================= */

html[data-theme="dark"] .profile-page[b-wjbsa1faco] {
    --profile-text: #f3eee5;
    --profile-text-2: #d2c8b7;
    --profile-muted: #9d9487;

    --profile-surface: #211b15;
    --profile-surface-raised: #292219;
    --profile-surface-strong: #2d251c;
    --profile-surface-soft: #19140f;

    --profile-line: rgba(255,236,198,.09);
    --profile-line-strong: rgba(255,236,198,.15);

    --profile-success: #94c981;
    --profile-success-soft: rgba(111,161,91,.14);
    --profile-warning: #e4b44a;
    --profile-warning-soft: rgba(196,145,52,.13);
    --profile-danger: #e28a83;
    --profile-danger-soft: rgba(200,92,84,.12);
    --profile-info: #a6b7de;
    --profile-info-soft: rgba(105,130,181,.14);

    --profile-shadow-sm: 0 12px 28px rgba(0,0,0,.13);
    --profile-shadow-md: 0 22px 50px rgba(0,0,0,.20);
}

html[data-theme="dark"] .profile-hero[b-wjbsa1faco] {
    border-color: var(--profile-line-strong);

    background:
        radial-gradient(115% 145% at 92% -18%, rgba(226,175,46,.11), transparent 48%),
        radial-gradient(85% 115% at 4% 118%, rgba(255,236,198,.035), transparent 56%),
        linear-gradient(225deg, #2c241b, #211b15);

    box-shadow:
        0 20px 50px rgba(0,0,0,.20),
        inset 0 1px 0 rgba(255,255,255,.02);
}

html[data-theme="dark"] .profile-eyebrow[b-wjbsa1faco] {
    border-color: rgba(226,175,46,.18);

    background: #2a231b;

    color: #e5b84e;
}

html[data-theme="dark"] .profile-hero-facts > div[b-wjbsa1faco] {
    border-color: rgba(255,236,198,.10);

    background:
        linear-gradient(145deg, rgba(226,175,46,.06), transparent 75%),
        #272018;
}

html[data-theme="dark"] .profile-badge[b-wjbsa1faco] {
    border-color: rgba(255,236,198,.08);

    background: #292219;

    color: #d9d0c2;
}

html[data-theme="dark"] .profile-badge.verified[b-wjbsa1faco] {
    border-color: rgba(111,161,91,.15);

    background: rgba(111,161,91,.13);

    color: #9dcc83;
}

html[data-theme="dark"] .profile-badge.pending[b-wjbsa1faco] {
    border-color: rgba(196,145,52,.16);

    background: rgba(196,145,52,.12);

    color: #e4b44a;
}

html[data-theme="dark"] .profile-badge.shield[b-wjbsa1faco] {
    border-color: rgba(105,130,181,.16);

    background: rgba(105,130,181,.13);

    color: #a6b7de;
}

html[data-theme="dark"] .profile-panel[b-wjbsa1faco] {
    border-color: var(--profile-line-strong);

    background:
        linear-gradient(145deg, rgba(226,175,46,.045), transparent 82%),
        linear-gradient(180deg, #272018, #211b15);
}

html[data-theme="dark"] .profile-field input[b-wjbsa1faco],
html[data-theme="dark"] .profile-readout[b-wjbsa1faco],
html[data-theme="dark"] .profile-enrolment[b-wjbsa1faco] {
    border-color: rgba(255,236,198,.11);

    background: #19140f;

    color: #f1eadd;
}

html[data-theme="dark"] .profile-field input:hover[b-wjbsa1faco] {
    border-color: rgba(226,175,46,.24);
}

html[data-theme="dark"] .profile-field input:focus[b-wjbsa1faco] {
    border-color: rgba(226,175,46,.46);

    background: #1d1712;

    box-shadow: 0 0 0 3px rgba(226,175,46,.10);
}

html[data-theme="dark"] .profile-readout.pending[b-wjbsa1faco] {
    border-color: rgba(196,145,52,.16);

    background:
        linear-gradient(145deg, rgba(196,145,52,.10), transparent 86%),
        #19140f;
}

html[data-theme="dark"] .profile-ghost-action[b-wjbsa1faco] {
    border-color: rgba(255,236,198,.13);

    background: #17120e;

    color: #dfd4c3;
}

html[data-theme="dark"] .profile-ghost-action:hover:not(:disabled)[b-wjbsa1faco] {
    border-color: rgba(226,175,46,.24);

    background: #211a13;

    color: #efbf4a;
}

html[data-theme="dark"] .profile-ghost-action.danger[b-wjbsa1faco] {
    border-color: rgba(200,92,84,.16);

    background: rgba(180,74,68,.11);

    color: #e28a83;
}

html[data-theme="dark"] .profile-notice.warning[b-wjbsa1faco] {
    border-color: rgba(196,145,52,.16);

    background:
        linear-gradient(145deg, rgba(196,145,52,.10), transparent 82%),
        #211b15;
}

html[data-theme="dark"] .profile-notice.danger[b-wjbsa1faco] {
    border-color: rgba(200,92,84,.16);

    background:
        linear-gradient(145deg, rgba(200,92,84,.10), transparent 82%),
        #211b15;
}

html[data-theme="dark"] .profile-recovery[b-wjbsa1faco] {
    border-color: rgba(196,145,52,.16);

    background:
        linear-gradient(145deg, rgba(196,145,52,.10), transparent 84%),
        #19140f;
}

html[data-theme="dark"] .profile-steps code[b-wjbsa1faco],
html[data-theme="dark"] .profile-recovery code[b-wjbsa1faco] {
    border-color: rgba(255,236,198,.10);

    background: #17120e;

    color: #edbc4a;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1080px) {
    .profile-hero[b-wjbsa1faco] {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .profile-hero-facts[b-wjbsa1faco] {
        max-width: 620px;
    }
}

@media (max-width: 760px) {
    .profile-page[b-wjbsa1faco] {
        gap: 14px;
    }

    .profile-hero[b-wjbsa1faco] {
        padding: 23px 20px;

        border-radius: 22px;
    }

    .profile-hero-identity[b-wjbsa1faco] {
        align-items: flex-start;
    }

    .profile-avatar[b-wjbsa1faco] {
        width: 62px;
        height: 62px;
        flex-basis: 62px;

        border-radius: 18px;

        font-size: 1.25rem;
    }

    .profile-field-row[b-wjbsa1faco] {
        grid-template-columns: 1fr;
    }

    .profile-panel[b-wjbsa1faco] {
        padding: 17px;

        border-radius: 18px;
    }
}

@media (max-width: 560px) {
    .profile-hero[b-wjbsa1faco] {
        gap: 19px;
    }

    .profile-hero-identity[b-wjbsa1faco] {
        flex-direction: column;
    }

    .profile-hero-facts[b-wjbsa1faco] {
        grid-template-columns: 1fr;
    }

    .profile-readout[b-wjbsa1faco] {
        grid-template-columns: 1fr;
    }

    .profile-actions[b-wjbsa1faco] {
        flex-direction: column;
    }

    .profile-primary-action[b-wjbsa1faco],
    .profile-ghost-action[b-wjbsa1faco] {
        width: 100%;
    }

    .profile-field.code[b-wjbsa1faco] {
        max-width: none;
    }

    .profile-recovery ul[b-wjbsa1faco] {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   MOTION
   ========================================================= */

@keyframes profile-card-in-b-wjbsa1faco {
    from {
        opacity: 0;
        transform: translateY(9px) scale(.995);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes profile-pulse-b-wjbsa1faco {
    0%, 100% {
        box-shadow: 0 0 0 4px var(--profile-accent-soft);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(226,175,46,.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-hero[b-wjbsa1faco],
    .profile-panel[b-wjbsa1faco],
    .profile-notice[b-wjbsa1faco],
    .profile-primary-action[b-wjbsa1faco],
    .profile-ghost-action[b-wjbsa1faco] {
        animation: none !important;
        transition: none !important;
    }
}


/* PROFILE THREE COLUMN COMPACT V2 - START */

/*
 * Desktop profile layout:
 * hero + notices stay full width,
 * the three account sections become three compact columns.
 */

@media (min-width: 1101px) {

    .profile-page[b-wjbsa1faco] {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        align-items: start !important;
        gap: 14px !important;
    }

    .profile-page > .profile-hero[b-wjbsa1faco],
    .profile-page > .profile-notice[b-wjbsa1faco] {
        grid-column: 1 / -1 !important;
    }

    .profile-page > .profile-panel[b-wjbsa1faco] {
        min-width: 0 !important;
        align-self: start !important;

        padding: 16px !important;

        border-radius: 18px !important;
    }

    /*
     * The temporary loading state contains only one panel.
     * Keep it full width instead of leaving it in one third.
     */
    .profile-page:has(> .profile-panel > .profile-empty)
        > .profile-panel[b-wjbsa1faco] {
        grid-column: 1 / -1 !important;
    }

    .profile-panel-head[b-wjbsa1faco] {
        min-height: 78px !important;

        margin-bottom: 12px !important;
        padding-bottom: 11px !important;
    }

    .profile-panel-head .profile-eyebrow[b-wjbsa1faco] {
        margin-bottom: 1px !important;
    }

    .profile-panel-head p[b-wjbsa1faco] {
        font-size: .51rem !important;
        line-height: 1.65 !important;
    }

    /*
     * Two name fields beside each other become too narrow inside
     * one-third of the page, so keep them vertically stacked.
     */
    .profile-panel .profile-field-row[b-wjbsa1faco] {
        grid-template-columns: 1fr !important;
        gap: 9px !important;
    }

    .profile-panel .profile-field[b-wjbsa1faco] {
        gap: 5px !important;
    }

    .profile-panel .profile-field > span[b-wjbsa1faco] {
        font-size: .53rem !important;
    }

    .profile-panel .profile-field input[b-wjbsa1faco] {
        min-height: 40px !important;

        padding-inline: 10px !important;

        border-radius: 10px !important;

        font-size: .60rem !important;
    }

    .profile-panel .profile-field.code[b-wjbsa1faco] {
        max-width: 100% !important;

        margin-top: 10px !important;
    }

    .profile-panel .profile-field.code input[b-wjbsa1faco] {
        min-height: 43px !important;

        font-size: .94rem !important;
    }

    .profile-readout[b-wjbsa1faco] {
        min-height: 58px !important;

        grid-template-columns: minmax(0,1fr) auto !important;
        gap: 9px !important;

        padding: 9px 10px !important;

        border-radius: 11px !important;
    }

    .profile-readout-label[b-wjbsa1faco] {
        font-size: .46rem !important;
    }

    .profile-readout-value[b-wjbsa1faco] {
        font-size: .58rem !important;
    }

    .profile-actions[b-wjbsa1faco] {
        gap: 7px !important;

        margin-top: 11px !important;
    }

    .profile-primary-action[b-wjbsa1faco],
    .profile-ghost-action[b-wjbsa1faco] {
        min-height: 36px !important;

        padding-inline: 12px !important;

        border-radius: 10px !important;

        font-size: .54rem !important;
    }

    .profile-inline-message[b-wjbsa1faco] {
        margin-top: 9px !important;
        padding: 8px 9px !important;

        font-size: .51rem !important;
    }

    .profile-enrolment[b-wjbsa1faco] {
        padding: 12px !important;

        border-radius: 12px !important;
    }

    .profile-steps[b-wjbsa1faco] {
        padding-inline-start: 18px !important;

        font-size: .52rem !important;
        line-height: 1.8 !important;
    }

    .profile-steps code[b-wjbsa1faco],
    .profile-recovery code[b-wjbsa1faco] {
        padding: 6px 8px !important;

        font-size: .56rem !important;
    }

    .profile-recovery[b-wjbsa1faco] {
        margin-top: 10px !important;
        padding: 11px !important;

        border-radius: 12px !important;
    }

    .profile-recovery strong[b-wjbsa1faco] {
        margin-bottom: 8px !important;

        font-size: .51rem !important;
    }

    .profile-recovery ul[b-wjbsa1faco] {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }
}


/*
 * Tablet:
 * two columns are more useful than forcing three narrow cards.
 */
@media (min-width: 761px) and (max-width: 1100px) {

    .profile-page[b-wjbsa1faco] {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: start !important;
        gap: 14px !important;
    }

    .profile-page > .profile-hero[b-wjbsa1faco],
    .profile-page > .profile-notice[b-wjbsa1faco] {
        grid-column: 1 / -1 !important;
    }

    .profile-page > .profile-panel[b-wjbsa1faco] {
        min-width: 0 !important;
        align-self: start !important;
    }

    /*
     * The third card spans both columns on tablet.
     */
    .profile-page > .profile-panel:last-child[b-wjbsa1faco] {
        grid-column: 1 / -1 !important;
    }

    .profile-page:has(> .profile-panel > .profile-empty)
        > .profile-panel[b-wjbsa1faco] {
        grid-column: 1 / -1 !important;
    }
}


/*
 * Mobile remains one column.
 */
@media (max-width: 760px) {

    .profile-page[b-wjbsa1faco] {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }
}

/* PROFILE THREE COLUMN COMPACT V2 - END */

/* QR code for the authenticator app: always on white, so a phone can read it in the dark theme too. */
.profile-qr[b-wjbsa1faco] {
    display: block;
    width: fit-content;
    margin: 10px 0 12px;
    padding: 10px;

    border: 1px solid var(--profile-line-strong);
    border-radius: 12px;

    background: #fff;
}

.profile-qr img[b-wjbsa1faco] {
    display: block;
    width: 176px;
    height: 176px;

    image-rendering: pixelated;
}


/* =========================================================
   INVITE FRIENDS - the whole width of the page in every layout
   ========================================================= */

@media (min-width: 761px) {
    .profile-page > .profile-panel.profile-invite[b-wjbsa1faco],
    .profile-page > .profile-panel.profile-feedback[b-wjbsa1faco] {
        grid-column: 1 / -1 !important;
    }
}

.profile-feedback[b-wjbsa1faco] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.profile-feedback .profile-panel-head[b-wjbsa1faco] {
    flex: 1 1 320px;
}

.profile-feedback .profile-actions a[b-wjbsa1faco] {
    text-decoration: none;
}

.profile-invite:focus[b-wjbsa1faco] {
    outline: none;
}

.profile-invite .profile-readout-value[b-wjbsa1faco] {
    font-size: .62rem;
}

.profile-invite-share[b-wjbsa1faco] {
    align-items: center;
}

.profile-invite-share a[b-wjbsa1faco] {
    text-decoration: none;
}

.profile-invite-code[b-wjbsa1faco] {
    margin-inline-start: auto;

    color: var(--profile-muted);

    font-size: .55rem;
}

.profile-invite-code b[b-wjbsa1faco] {
    color: var(--profile-text);
    letter-spacing: .08em;
}

.profile-invite-steps[b-wjbsa1faco] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;

    margin: 16px 0 0;
    padding: 0;

    list-style: none;
}

.profile-invite-steps li[b-wjbsa1faco] {
    display: grid;
    gap: 4px;
    align-content: start;

    min-width: 0;
    padding: 12px;

    border: 1px solid var(--profile-line);
    border-radius: 13px;

    background: var(--profile-surface-soft);
}

.profile-invite-steps span[b-wjbsa1faco] {
    width: 26px;
    height: 26px;

    display: grid;
    place-items: center;

    margin-bottom: 4px;

    border-radius: 50%;

    background: var(--profile-accent-soft);
    color: var(--profile-warning);

    font-size: .58rem;
    font-weight: 820;
}

.profile-invite-steps strong[b-wjbsa1faco] {
    color: var(--profile-text);
    font-size: .6rem;
}

.profile-invite-steps small[b-wjbsa1faco] {
    color: var(--profile-muted);
    font-size: .53rem;
    line-height: 1.75;
}

.profile-invite-stats[b-wjbsa1faco] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;

    margin: 12px 0 0;
}

.profile-invite-stats div[b-wjbsa1faco] {
    min-width: 0;
    padding: 11px 12px;

    border: 1px solid var(--profile-line);
    border-radius: 13px;

    background: var(--profile-surface-soft);
}

.profile-invite-stats dt[b-wjbsa1faco] {
    color: var(--profile-muted);
    font-size: .5rem;
    font-weight: 760;
}

.profile-invite-stats dd[b-wjbsa1faco] {
    margin: 4px 0 0;

    color: var(--profile-text);

    font-size: .9rem;
    font-weight: 820;
}

.profile-invite-friends[b-wjbsa1faco] {
    margin-top: 14px;
}

.profile-invite-friends .profile-empty[b-wjbsa1faco] {
    padding: 14px;
}

.profile-invite-friends ul[b-wjbsa1faco] {
    display: grid;
    gap: 7px;

    margin: 6px 0 0;
    padding: 0;

    list-style: none;
}

.profile-invite-friends li[b-wjbsa1faco] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 10px 12px;

    border-radius: 12px;

    background: var(--profile-surface-soft);
}

.profile-invite-friends li > div[b-wjbsa1faco] {
    min-width: 0;

    display: grid;
    gap: 2px;
}

.profile-invite-friends strong[b-wjbsa1faco] {
    color: var(--profile-text);
    font-size: .6rem;
    overflow-wrap: anywhere;
}

.profile-invite-friends small[b-wjbsa1faco] {
    color: var(--profile-muted);
    font-size: .5rem;
}

.profile-invite-status[b-wjbsa1faco] {
    flex: 0 0 auto;

    padding: 3px 9px;

    border-radius: 999px;

    font-size: .5rem;
    font-weight: 760;
    white-space: nowrap;
}

.profile-invite-status.done[b-wjbsa1faco] {
    background: var(--profile-success-soft);
    color: var(--profile-success);
}

.profile-invite-status.waiting[b-wjbsa1faco] {
    background: var(--profile-accent-soft);
    color: var(--profile-warning);
}

.profile-invite-status.off[b-wjbsa1faco] {
    background: var(--profile-surface-strong);
    color: var(--profile-muted);
}

@media (max-width: 760px) {
    .profile-invite .profile-readout[b-wjbsa1faco] {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-invite-steps[b-wjbsa1faco] {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-invite-code[b-wjbsa1faco] {
        margin-inline-start: 0;
    }
}
/* _content/AITranslationPlatform.Web/Components/Writing/ArticleWriter.razor.rz.scp.css */
/* ============================================================
   ARTICLE WRITER - the scientific article writing assistant
   Only --ui-* tokens: light and dark come from app.css. The hero,
   cards, buttons and form are the podcast page's, under art- names.
   ============================================================ */

.art-page[b-dh7qfx9fnv] {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    color: var(--ui-ink);
}

bdi[b-dh7qfx9fnv] {
    unicode-bidi: isolate;
}


/* ============================================================
   HERO
   ============================================================ */

.art-hero[b-dh7qfx9fnv] {
    min-height: 196px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 34px 36px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xl);
    background:
        radial-gradient(120% 150% at 8% -20%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(90% 120% at 96% 120%, var(--ui-bloom-cool), transparent 55%),
        linear-gradient(135deg, var(--ui-surface-strong), var(--ui-surface));
    box-shadow: var(--ui-shadow-md);
}

.art-page[dir="rtl"] .art-hero[b-dh7qfx9fnv] {
    background:
        radial-gradient(120% 150% at 92% -20%, var(--ui-bloom-warm), transparent 48%),
        radial-gradient(90% 120% at 4% 120%, var(--ui-bloom-cool), transparent 55%),
        linear-gradient(225deg, var(--ui-surface-strong), var(--ui-surface));
}

.art-hero[b-dh7qfx9fnv]::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    inset-block-start: -172px;
    inset-inline-end: -104px;
    border: 46px solid var(--ui-accent-soft);
    border-radius: 50%;
    animation: ui-hero-ring 1.1s var(--ui-ease-out) .08s backwards;
    pointer-events: none;
}

.art-hero[b-dh7qfx9fnv]::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    inset-block-end: -108px;
    inset-inline-start: -46px;
    border: 30px solid var(--ui-line-strong);
    border-radius: 50%;
    animation: ui-hero-ring 1.1s var(--ui-ease-out) .18s backwards;
    pointer-events: none;
}

.art-hero-copy[b-dh7qfx9fnv] {
    position: relative;
    z-index: 1;
    min-width: 0;
    max-width: 720px;
}

.art-eyebrow[b-dh7qfx9fnv] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    padding: 6px 13px 6px 11px;
    border: 1px solid rgba(226, 175, 46, .34);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--accent-text);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .075em;
    white-space: nowrap;
    animation: ui-rise .55s var(--ui-ease-out) .12s backwards;
}

.art-page[dir="rtl"] .art-eyebrow[b-dh7qfx9fnv] {
    padding: 6px 11px 6px 13px;
    letter-spacing: 0;
}

.art-eyebrow i[b-dh7qfx9fnv] {
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: var(--ui-accent-strong);
    animation: ui-pulse 2.4s var(--ui-ease) infinite;
}

.art-hero h1[b-dh7qfx9fnv] {
    margin: 0 0 11px;
    color: var(--text);
    font-size: clamp(1.6rem, 2.1vw, 2.4rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.025em;
    animation: ui-reveal-up .6s var(--ui-ease-out) .2s backwards;
}

.art-page[dir="rtl"] .art-hero h1[b-dh7qfx9fnv] {
    letter-spacing: 0;
}

.art-hero p[b-dh7qfx9fnv] {
    max-width: 680px;
    margin: 0;
    color: var(--text-secondary);
    font-size: .86rem;
    line-height: 1.9;
    animation: ui-rise .55s var(--ui-ease-out) .3s backwards;
}

.art-hero-actions[b-dh7qfx9fnv] {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: ui-rise .55s var(--ui-ease-out) .38s backwards;
}

.art-hero-action[b-dh7qfx9fnv] {
    min-height: 52px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px 0 8px;
    overflow: hidden;
    border-radius: var(--ui-r-pill);
    font-size: .76rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--ui-t);
}

.art-page[dir="rtl"] .art-hero-action[b-dh7qfx9fnv] {
    padding: 0 8px 0 20px;
}

.art-glyph[b-dh7qfx9fnv] {
    width: 36px;
    height: 36px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.art-glyph svg[b-dh7qfx9fnv] {
    width: 17px;
    height: 17px;
}

.art-hero-action.is-primary[b-dh7qfx9fnv] {
    border: 1px solid #ad996c6b;
    border-radius: 17px;
    background: linear-gradient(140deg, #f6dc98 0%, #cfb063 100%);
    color: var(--ui-on-accent);
    box-shadow: var(--ui-shadow-accent);
}

.art-hero-action.is-primary .art-glyph[b-dh7qfx9fnv] {
    background: rgba(74, 54, 8, .16);
}

.art-hero-action.is-primary:hover[b-dh7qfx9fnv] {
    transform: translateY(-2px);
}

.art-hero-action.is-secondary[b-dh7qfx9fnv] {
    border: 1px solid var(--ui-line-strong);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
}

.art-hero-action.is-secondary .art-glyph[b-dh7qfx9fnv] {
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
}

.art-hero-action.is-secondary:hover[b-dh7qfx9fnv] {
    transform: translateY(-2px);
    border-color: var(--ui-accent-strong);
}


/* ============================================================
   STATES
   ============================================================ */

.art-skeleton[b-dh7qfx9fnv] {
    display: grid;
    gap: 16px;
}

.art-skeleton div[b-dh7qfx9fnv] {
    height: 120px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background:
        linear-gradient(100deg, transparent 30%, var(--ui-surface-hover) 50%, transparent 70%) 0 0 / 200% 100%,
        var(--ui-surface);
    animation: art-shimmer-b-dh7qfx9fnv 1.4s linear infinite;
}

.art-skeleton div:first-child[b-dh7qfx9fnv] {
    height: 360px;
}

.art-unavailable[b-dh7qfx9fnv],
.art-empty-script[b-dh7qfx9fnv] {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 48px 24px;
    text-align: center;
}

.art-unavailable[b-dh7qfx9fnv] {
    border: 1px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-xl);
    background: var(--ui-surface);
}

.art-unavailable-icon[b-dh7qfx9fnv] {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: var(--ui-surface-sunken);
    color: var(--ui-muted);
}

.art-unavailable-icon svg[b-dh7qfx9fnv] {
    width: 30px;
    height: 30px;
}

.art-unavailable h2[b-dh7qfx9fnv],
.art-empty-script h3[b-dh7qfx9fnv] {
    margin: 0;
    font-size: 1.1rem;
}

.art-unavailable p[b-dh7qfx9fnv],
.art-empty-script p[b-dh7qfx9fnv] {
    max-width: 520px;
    margin: 0 0 8px;
    color: var(--ui-muted);
    font-size: .86rem;
    line-height: 1.9;
}

.art-alert[b-dh7qfx9fnv] {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 14px 44px 14px 18px;
    border: 1px solid;
    border-radius: var(--ui-r-md);
    font-size: .82rem;
    line-height: 1.8;
    animation: ui-fade .25s var(--ui-ease-out);
}

.art-page[dir="rtl"] .art-alert[b-dh7qfx9fnv] {
    padding: 14px 18px 14px 44px;
}

.art-alert.is-danger[b-dh7qfx9fnv] {
    border-color: var(--ui-danger-tint);
    background: var(--ui-danger-soft);
    color: var(--ui-danger);
}

.art-alert.is-warning[b-dh7qfx9fnv] {
    border-color: var(--ui-warning-tint);
    background: var(--ui-warning-soft);
    color: var(--ui-warning);
}

.art-alert strong[b-dh7qfx9fnv] {
    font-weight: 800;
}

.art-alert span[b-dh7qfx9fnv] {
    flex: 1 1 260px;
}

.art-close[b-dh7qfx9fnv] {
    position: absolute;
    top: 8px;
    inset-inline-end: 10px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
}


/* ============================================================
   CARDS
   ============================================================ */

.art-card[b-dh7qfx9fnv] {
    min-width: 0;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-lg);
    background: var(--ui-surface);
    box-shadow: var(--ui-shadow-sm);
    animation: ui-card-in .55s var(--ui-ease-out) backwards;
}

.art-card-head[b-dh7qfx9fnv] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--ui-line);
}

.art-card-head > div[b-dh7qfx9fnv] {
    flex: 1 1 auto;
    min-width: 0;
}

.art-card-head h2[b-dh7qfx9fnv] {
    margin: 0 0 4px;
    font-size: 1.02rem;
    font-weight: 800;
}

.art-card-head p[b-dh7qfx9fnv] {
    margin: 0;
    color: var(--ui-muted);
    font-size: .8rem;
    line-height: 1.8;
}

.art-stale[b-dh7qfx9fnv] {
    color: var(--ui-warning);
    font-weight: 700;
}

.art-step-badge[b-dh7qfx9fnv] {
    flex: none;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ui-dark);
    color: var(--ui-accent);
    font-size: .9rem;
    font-weight: 800;
}

.art-step-badge.is-quiet[b-dh7qfx9fnv] {
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
}

.art-step-badge svg[b-dh7qfx9fnv] {
    width: 18px;
    height: 18px;
}

.art-card-foot[b-dh7qfx9fnv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 22px;
    border-top: 1px solid var(--ui-line);
}

.art-foot-note[b-dh7qfx9fnv] {
    flex: 1 1 280px;
    color: var(--ui-muted);
    font-size: .76rem;
    line-height: 1.8;
}

.art-foot-note.is-error[b-dh7qfx9fnv] {
    color: var(--ui-danger);
    font-weight: 700;
}

.art-list .art-foot-note[b-dh7qfx9fnv] {
    display: block;
    padding: 0 22px 18px;
}

.art-foot-actions[b-dh7qfx9fnv] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.art-primary[b-dh7qfx9fnv],
.art-secondary[b-dh7qfx9fnv],
.art-danger[b-dh7qfx9fnv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.art-primary[b-dh7qfx9fnv] {
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: var(--ui-r-sm);
    background: var(--ui-dark);
    color: var(--ui-on-dark);
    font-size: .88rem;
    box-shadow: 0 10px 24px rgba(59, 47, 35, .22);
    transition: transform var(--ui-dur-1) var(--ui-ease), background-color var(--ui-dur-1), box-shadow var(--ui-dur-1);
}

.art-primary:hover:not(:disabled)[b-dh7qfx9fnv] {
    transform: translateY(-1px);
    background: var(--ui-dark-hover);
    box-shadow: 0 14px 30px rgba(59, 47, 35, .28), 0 0 0 4px var(--ui-accent-tint);
}

.art-primary.is-large[b-dh7qfx9fnv] {
    min-height: 54px;
    padding: 0 30px;
    font-size: .94rem;
}

.art-primary svg[b-dh7qfx9fnv],
.art-secondary svg[b-dh7qfx9fnv] {
    width: 18px;
    height: 18px;
}

.art-primary svg[b-dh7qfx9fnv] {
    color: var(--ui-accent);
}

.art-secondary[b-dh7qfx9fnv] {
    position: relative;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
    font-size: .8rem;
    transition: border-color var(--ui-dur-1), background-color var(--ui-dur-1);
}

.art-secondary:hover:not(:disabled)[b-dh7qfx9fnv] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
}

.art-danger[b-dh7qfx9fnv] {
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: var(--ui-r-sm);
    background: var(--ui-danger);
    color: #fff;
    font-size: .76rem;
}

.art-primary.is-small[b-dh7qfx9fnv],
.art-secondary.is-small[b-dh7qfx9fnv] {
    min-height: 38px;
    padding: 0 14px;
    font-size: .76rem;
    box-shadow: none;
}

.art-primary:disabled[b-dh7qfx9fnv],
.art-secondary:disabled[b-dh7qfx9fnv],
.art-icon-button:disabled[b-dh7qfx9fnv],
.art-chip-button:disabled[b-dh7qfx9fnv],
.art-format:disabled[b-dh7qfx9fnv],
.art-step:disabled[b-dh7qfx9fnv] {
    opacity: .5;
    cursor: not-allowed;
}

.art-link[b-dh7qfx9fnv] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--accent-text);
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.art-link:hover:not(:disabled)[b-dh7qfx9fnv] {
    text-decoration: underline;
}

.art-icon-button[b-dh7qfx9fnv] {
    display: inline-grid;
    place-items: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-xs);
    background: transparent;
    color: var(--ui-ink-2);
    font: inherit;
    font-size: .9rem;
    font-weight: 800;
    cursor: pointer;
    transition: background-color var(--ui-dur-1), color var(--ui-dur-1), border-color var(--ui-dur-1);
}

.art-icon-button.is-small[b-dh7qfx9fnv] {
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    font-size: .82rem;
}

.art-icon-button svg[b-dh7qfx9fnv] {
    width: 17px;
    height: 17px;
}

.art-icon-button:hover:not(:disabled)[b-dh7qfx9fnv] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
}

.art-icon-button.is-danger:hover:not(:disabled)[b-dh7qfx9fnv] {
    border-color: var(--ui-danger);
    background: var(--ui-danger-soft);
    color: var(--ui-danger);
}

.art-spinner[b-dh7qfx9fnv] {
    width: 16px;
    height: 16px;
    flex: none;
    border: 2.5px solid color-mix(in srgb, currentColor 30%, transparent);
    border-top-color: var(--ui-accent);
    border-radius: 50%;
    animation: art-spin-b-dh7qfx9fnv .8s linear infinite;
}

.art-confirm[b-dh7qfx9fnv] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .78rem;
    font-weight: 700;
}


/* ============================================================
   FORM
   ============================================================ */

.art-form[b-dh7qfx9fnv] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    padding: 20px 22px;
}

.art-field[b-dh7qfx9fnv] {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
}

.art-field.is-wide[b-dh7qfx9fnv] {
    grid-column: 1 / -1;
}

.art-field > span[b-dh7qfx9fnv] {
    color: var(--ui-ink-2);
    font-size: .76rem;
    font-weight: 800;
}

.art-field input[b-dh7qfx9fnv],
.art-field select[b-dh7qfx9fnv],
.art-field textarea[b-dh7qfx9fnv],
.art-voice-row select[b-dh7qfx9fnv],
.art-host-name input[b-dh7qfx9fnv] {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
    font: inherit;
    font-size: .86rem;
}

.art-field textarea[b-dh7qfx9fnv] {
    min-height: 0;
    padding: 10px 12px;
    line-height: 1.9;
    resize: vertical;
}

.art-field input:focus[b-dh7qfx9fnv],
.art-field select:focus[b-dh7qfx9fnv],
.art-field textarea:focus[b-dh7qfx9fnv],
.art-voice-row select:focus[b-dh7qfx9fnv],
.art-host-name input:focus[b-dh7qfx9fnv],
.art-line-text:focus[b-dh7qfx9fnv],
.art-line-host:focus[b-dh7qfx9fnv],
.art-chapter input:focus[b-dh7qfx9fnv] {
    border-color: var(--ui-accent-strong);
    outline: none;
    box-shadow: 0 0 0 3px var(--ui-accent-tint);
}

.art-source-bar[b-dh7qfx9fnv] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--ui-muted);
    font-size: .76rem;
}

.art-source-bar label[b-dh7qfx9fnv] {
    cursor: pointer;
}

/* The file input is invisible over its button. */
.art-source-bar[b-dh7qfx9fnv]  input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.art-formats[b-dh7qfx9fnv] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.art-format[b-dh7qfx9fnv] {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
    font: inherit;
    text-align: start;
    cursor: pointer;
    transition: border-color var(--ui-dur-1), background-color var(--ui-dur-1), box-shadow var(--ui-dur-1);
}

.art-format strong[b-dh7qfx9fnv] {
    font-size: .88rem;
}

.art-format small[b-dh7qfx9fnv] {
    color: var(--ui-muted);
    font-size: .72rem;
    line-height: 1.7;
}

.art-format:hover:not(:disabled)[b-dh7qfx9fnv] {
    border-color: var(--ui-accent-strong);
}

.art-format.is-on[b-dh7qfx9fnv] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
    box-shadow: 0 0 0 3px var(--ui-accent-tint);
}

.art-hosts[b-dh7qfx9fnv] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.art-host-name[b-dh7qfx9fnv] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: min(260px, 100%);
}

.art-host-dot[b-dh7qfx9fnv] {
    flex: none;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ui-dark);
    color: var(--ui-accent);
    font-size: .72rem;
    font-weight: 800;
}

.art-host-dot.is-h1[b-dh7qfx9fnv] {
    background: var(--ui-accent-strong);
    color: var(--ui-on-accent);
}

.art-host-dot.is-h2[b-dh7qfx9fnv] {
    background: color-mix(in srgb, var(--ui-success) 75%, var(--ui-dark));
    color: #fff;
}

.art-chips[b-dh7qfx9fnv] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.art-chip-button[b-dh7qfx9fnv] {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-raised);
    color: var(--ui-ink-2);
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
    transition: border-color var(--ui-dur-1), background-color var(--ui-dur-1), color var(--ui-dur-1);
}

.art-chip-button:hover:not(:disabled)[b-dh7qfx9fnv] {
    border-color: var(--ui-accent-strong);
}

.art-chip-button.is-on[b-dh7qfx9fnv] {
    border-color: var(--ui-dark);
    background: var(--ui-dark);
    color: var(--ui-on-dark);
}

.art-chip[b-dh7qfx9fnv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 11px;
    border-radius: var(--ui-r-pill);
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}

.art-chip.is-done[b-dh7qfx9fnv] {
    background: color-mix(in srgb, var(--ui-success) 16%, transparent);
    color: var(--ui-success);
}

.art-chip.is-busy[b-dh7qfx9fnv] {
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
}

.art-chip.is-failed[b-dh7qfx9fnv] {
    background: var(--ui-danger-soft);
    color: var(--ui-danger);
}


/* ============================================================
   MY PODCASTS
   ============================================================ */

.art-empty[b-dh7qfx9fnv] {
    margin: 0;
    padding: 28px 22px;
    color: var(--ui-muted);
    font-size: .84rem;
    text-align: center;
}

.art-items[b-dh7qfx9fnv] {
    display: grid;
    margin: 0;
    padding: 8px 12px 12px;
    list-style: none;
}

.art-item[b-dh7qfx9fnv] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    border-bottom: 1px solid var(--ui-line);
}

.art-item:last-child[b-dh7qfx9fnv] {
    border-bottom: 0;
}

.art-item-main[b-dh7qfx9fnv] {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    gap: 3px;
    color: var(--ui-ink);
    text-decoration: none;
}

.art-item-main strong[b-dh7qfx9fnv] {
    overflow: hidden;
    font-size: .9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.art-item-main small[b-dh7qfx9fnv] {
    color: var(--ui-muted);
    font-size: .74rem;
}

.art-item-main:hover strong[b-dh7qfx9fnv] {
    color: var(--accent-text);
}


/* ============================================================
   EDITOR
   ============================================================ */

.art-steps[b-dh7qfx9fnv] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.art-step[b-dh7qfx9fnv] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface);
    color: var(--ui-ink);
    font: inherit;
    text-align: start;
    cursor: pointer;
    transition: border-color var(--ui-dur-1), background-color var(--ui-dur-1), box-shadow var(--ui-dur-1);
}

.art-step:hover:not(:disabled)[b-dh7qfx9fnv] {
    border-color: var(--ui-accent-strong);
}

.art-step.is-on[b-dh7qfx9fnv] {
    border-color: var(--ui-accent-strong);
    background: var(--ui-accent-soft);
    box-shadow: 0 0 0 3px var(--ui-accent-tint);
}

.art-step-number[b-dh7qfx9fnv] {
    flex: none;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
    font-size: .8rem;
    font-weight: 800;
}

.art-step.is-on .art-step-number[b-dh7qfx9fnv] {
    background: var(--ui-dark);
    color: var(--ui-accent);
}

.art-step.is-done .art-step-number[b-dh7qfx9fnv] {
    background: color-mix(in srgb, var(--ui-success) 18%, transparent);
    color: var(--ui-success);
}

.art-step-copy[b-dh7qfx9fnv] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.art-step-copy strong[b-dh7qfx9fnv] {
    font-size: .82rem;
}

.art-step-copy small[b-dh7qfx9fnv] {
    overflow: hidden;
    color: var(--ui-muted);
    font-size: .7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes art-spin-b-dh7qfx9fnv {
    to {
        transform: rotate(360deg);
    }
}

@keyframes art-shimmer-b-dh7qfx9fnv {
    to {
        background-position: -200% 0, 0 0;
    }
}


/* ============================================================
   THE ARTICLE WRITER'S OWN PARTS
   ============================================================ */

.art-integrity[b-dh7qfx9fnv] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid var(--ui-line);
    border-inline-start: 4px solid var(--ui-accent-strong);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface);
    color: var(--ui-ink-2);
    font-size: .8rem;
    line-height: 1.9;
}

.art-integrity-icon[b-dh7qfx9fnv] {
    flex: none;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ui-accent-soft);
    color: var(--ui-on-accent);
}

.art-integrity-icon svg[b-dh7qfx9fnv] {
    width: 20px;
    height: 20px;
}

.art-integrity strong[b-dh7qfx9fnv] {
    display: block;
    color: var(--ui-ink);
    font-size: .86rem;
}

.art-alert.is-success[b-dh7qfx9fnv] {
    border-color: color-mix(in srgb, var(--ui-success) 35%, transparent);
    background: color-mix(in srgb, var(--ui-success) 10%, var(--ui-surface));
    color: var(--ui-success);
}

.art-head h2[b-dh7qfx9fnv] {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 800;
}

.art-head small[b-dh7qfx9fnv] {
    color: var(--ui-muted);
    font-size: .76rem;
    line-height: 1.9;
}

.art-steps[b-dh7qfx9fnv] {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.art-subhead[b-dh7qfx9fnv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 22px 0;
}

.art-subhead h3[b-dh7qfx9fnv] {
    margin: 0;
    font-size: .92rem;
    font-weight: 800;
}

.art-hint[b-dh7qfx9fnv] {
    margin: 6px 22px 0;
    color: var(--ui-muted);
    font-size: .76rem;
    line-height: 1.8;
}

.art-hint.is-banner[b-dh7qfx9fnv] {
    margin: 0;
    padding: 12px 16px;
    border: 1px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface);
}

.art-empty.is-left[b-dh7qfx9fnv] {
    padding: 12px 22px;
    text-align: start;
}

.art-empty-block[b-dh7qfx9fnv] {
    padding: 22px;
    text-align: center;
}

.art-empty-block p[b-dh7qfx9fnv] {
    margin: 0;
    color: var(--ui-muted);
    font-size: .84rem;
}

.art-over[b-dh7qfx9fnv] {
    color: var(--ui-danger);
}

.art-check[b-dh7qfx9fnv] {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    color: var(--ui-ink-2);
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
}

.art-check.is-wide[b-dh7qfx9fnv] {
    grid-column: 1 / -1;
}

.art-check.is-inline[b-dh7qfx9fnv] {
    min-height: 0;
    white-space: nowrap;
}

.art-check input[b-dh7qfx9fnv] {
    width: 18px;
    height: 18px;
    accent-color: var(--ui-dark);
}


/* ---- authors ---- */

.art-authors[b-dh7qfx9fnv] {
    display: grid;
    gap: 10px;
    padding: 12px 22px 18px;
}

.art-author[b-dh7qfx9fnv] {
    display: grid;
    grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, 1.1fr) auto auto;
    align-items: center;
    gap: 8px;
}

.art-author-biography[b-dh7qfx9fnv] {
    grid-column: 2 / -1;
    width: 100%;
    min-height: 56px;
    padding: 8px 10px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-raised);
    color: inherit;
    font: inherit;
    font-size: .84rem;
    resize: vertical;
}

.art-author-biography:focus[b-dh7qfx9fnv] {
    border-color: var(--ui-accent-strong);
    outline: none;
    box-shadow: 0 0 0 3px var(--ui-accent-tint);
}

.art-author-number[b-dh7qfx9fnv] {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ui-surface-sunken);
    font-size: .72rem;
    font-weight: 800;
}

.art-author input:not([type="checkbox"])[b-dh7qfx9fnv],
.art-search input[b-dh7qfx9fnv],
.art-outline-head input:not([type="number"])[b-dh7qfx9fnv],
.art-words input[b-dh7qfx9fnv],
.art-outline-row textarea[b-dh7qfx9fnv] {
    width: 100%;
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
    font: inherit;
    font-size: .82rem;
}

.art-author input:focus[b-dh7qfx9fnv],
.art-search input:focus[b-dh7qfx9fnv],
.art-outline-head input:focus[b-dh7qfx9fnv],
.art-words input:focus[b-dh7qfx9fnv],
.art-outline-row textarea:focus[b-dh7qfx9fnv] {
    border-color: var(--ui-accent-strong);
    outline: none;
    box-shadow: 0 0 0 3px var(--ui-accent-tint);
}


/* ---- files ---- */

.art-files[b-dh7qfx9fnv] {
    padding-bottom: 8px;
}

.art-file-button[b-dh7qfx9fnv] {
    position: relative;
    overflow: hidden;
}

.art-file-button[b-dh7qfx9fnv]  input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.art-file-list[b-dh7qfx9fnv] {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 10px 22px;
    list-style: none;
}

.art-file-list li[b-dh7qfx9fnv] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-raised);
}

.art-file-list strong[b-dh7qfx9fnv] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    font-size: .82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.art-file-list small[b-dh7qfx9fnv] {
    color: var(--ui-muted);
    font-size: .72rem;
}


/* ---- figures ---- */

.art-figures[b-dh7qfx9fnv] {
    padding-bottom: 12px;
    border-top: 1px solid var(--ui-line);
    padding-top: 12px;
}

.art-figure-list[b-dh7qfx9fnv] {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 10px 22px 4px;
    list-style: none;
}

.art-figure[b-dh7qfx9fnv] {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 14px;
    padding: 10px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface);
    opacity: .72;
    transition: opacity .15s ease, border-color .15s ease, background-color .15s ease;
}

.art-figure.is-on[b-dh7qfx9fnv] {
    border-color: var(--ui-line-strong);
    background: var(--ui-surface-raised);
    opacity: 1;
}

.art-figure-shot[b-dh7qfx9fnv] {
    display: grid;
    place-items: center;
    height: 104px;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: #fff;
}

.art-figure-shot img[b-dh7qfx9fnv] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.art-figure-body[b-dh7qfx9fnv] {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.art-figure-head[b-dh7qfx9fnv] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.art-figure-head small[b-dh7qfx9fnv] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: var(--ui-muted);
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.art-figure-tools[b-dh7qfx9fnv] {
    display: flex;
    gap: 4px;
    flex: 0 0 auto;
}

.art-figure-body textarea[b-dh7qfx9fnv] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
    font: inherit;
    font-size: .82rem;
    line-height: 1.8;
    resize: vertical;
}

.art-figure-body textarea:focus[b-dh7qfx9fnv] {
    border-color: var(--ui-accent-strong);
    outline: none;
    box-shadow: 0 0 0 3px var(--ui-accent-tint);
}

.art-figure-context[b-dh7qfx9fnv] {
    display: -webkit-box;
    overflow: hidden;
    color: var(--ui-muted);
    font-size: .72rem;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.art-figure-alike[b-dh7qfx9fnv] {
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--ui-warning-soft);
    color: var(--ui-warning);
    font-size: .74rem;
    line-height: 1.7;
}

.art-figure-save[b-dh7qfx9fnv] {
    display: flex;
    justify-content: flex-end;
    padding: 6px 22px 0;
}

/* ---- the material's tables ---- */

.art-table-item[b-dh7qfx9fnv] {
    grid-template-columns: minmax(0, 1fr);
}

.art-table-place[b-dh7qfx9fnv] {
    flex: 0 0 auto;
    height: 30px;
    padding: 0 8px;
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface-raised);
    color: var(--ui-ink);
    font: inherit;
    font-size: .76rem;
}

.art-table-place:disabled[b-dh7qfx9fnv] {
    opacity: .55;
}

.art-table-peek[b-dh7qfx9fnv] {
    max-height: 168px;
    overflow: auto;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: var(--ui-surface);
}

.art-table-peek table[b-dh7qfx9fnv] {
    width: 100%;
    border-collapse: collapse;
    font-size: .72rem;
}

.art-table-peek th[b-dh7qfx9fnv],
.art-table-peek td[b-dh7qfx9fnv] {
    padding: 4px 8px;
    border-bottom: 1px solid var(--ui-line);
    text-align: start;
    white-space: pre;
}

.art-table-peek th[colspan]:not([colspan="1"])[b-dh7qfx9fnv] {
    text-align: center;
}

.art-table-peek thead th[b-dh7qfx9fnv] {
    position: sticky;
    top: 0;
    background: var(--ui-surface-raised);
    font-weight: 800;
}

.art-figure-preview[b-dh7qfx9fnv] {
    margin: 16px auto;
    max-width: 560px;
    text-align: center;
}

.art-figure-preview img[b-dh7qfx9fnv] {
    max-width: 100%;
    max-height: 380px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
    background: #fff;
}

.art-figure-preview figcaption[b-dh7qfx9fnv] {
    margin-top: 6px;
    color: var(--ui-ink-2);
    font-size: .8rem;
    line-height: 1.8;
    text-align: start;
}


/* ---- references ---- */

.art-references[b-dh7qfx9fnv] {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 4px 12px 14px;
    list-style: none;
}

.art-reference[b-dh7qfx9fnv] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 10px;
    border-bottom: 1px solid var(--ui-line);
}

.art-reference:last-child[b-dh7qfx9fnv] {
    border-bottom: 0;
}

.art-reference.is-notfound[b-dh7qfx9fnv],
.art-reference.is-mismatch[b-dh7qfx9fnv],
.art-reference.is-retracted[b-dh7qfx9fnv] {
    background: color-mix(in srgb, var(--ui-danger) 5%, transparent);
}

.art-reference-main[b-dh7qfx9fnv] {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    gap: 6px;
}

.art-reference-key[b-dh7qfx9fnv] {
    justify-self: start;
    padding: 1px 8px;
    border-radius: var(--ui-r-xs);
    background: var(--ui-surface-sunken);
    color: var(--ui-ink-2);
    font-family: ui-monospace, Consolas, monospace;
    font-size: .7rem;
}

.art-reference-main p[b-dh7qfx9fnv] {
    margin: 0;
    font-size: .8rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
    text-align: left;
}

.art-reference-tags[b-dh7qfx9fnv] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.art-reference-tools[b-dh7qfx9fnv] {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.art-search[b-dh7qfx9fnv] {
    display: flex;
    gap: 10px;
    padding: 18px 22px;
}

.art-search input[b-dh7qfx9fnv] {
    min-height: 44px;
}

.art-found[b-dh7qfx9fnv] {
    display: grid;
    margin: 0;
    padding: 0 12px 14px;
    list-style: none;
}

.art-found li[b-dh7qfx9fnv] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 10px;
    border-top: 1px solid var(--ui-line);
}

.art-found li > div[b-dh7qfx9fnv] {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    gap: 4px;
    text-align: left;
}

.art-found strong[b-dh7qfx9fnv] {
    font-size: .84rem;
    line-height: 1.6;
}

.art-found small[b-dh7qfx9fnv] {
    color: var(--ui-muted);
    font-size: .72rem;
}

.art-found details summary[b-dh7qfx9fnv] {
    color: var(--accent-text);
    font-size: .74rem;
    font-weight: 800;
    cursor: pointer;
}

.art-found details p[b-dh7qfx9fnv] {
    margin: 6px 0 0;
    color: var(--ui-ink-2);
    font-size: .76rem;
    line-height: 1.8;
}


/* ---- outline ---- */

.art-missing-box[b-dh7qfx9fnv] {
    margin: 18px 22px 0;
    padding: 14px 18px;
    border: 1px solid var(--ui-warning-tint);
    border-radius: var(--ui-r-md);
    background: var(--ui-warning-soft);
    color: var(--ui-ink);
    font-size: .8rem;
    line-height: 1.9;
}

.art-missing-box ul[b-dh7qfx9fnv] {
    margin: 6px 0;
    padding-inline-start: 20px;
}

.art-missing-box small[b-dh7qfx9fnv] {
    color: var(--ui-ink-2);
}

.art-outline[b-dh7qfx9fnv] {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0 22px 18px;
    list-style: none;
}

.art-outline-row[b-dh7qfx9fnv] {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
}

.art-outline-head[b-dh7qfx9fnv] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.art-outline-head > input[b-dh7qfx9fnv] {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 800;
}

.art-words[b-dh7qfx9fnv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ui-muted);
    font-size: .72rem;
}

.art-words input[b-dh7qfx9fnv] {
    width: 86px;
}

.art-outline-row textarea[b-dh7qfx9fnv] {
    min-height: 0;
    padding: 8px 10px;
    line-height: 1.8;
    resize: vertical;
}


/* ---- the written text ---- */

.art-text[b-dh7qfx9fnv] {
    padding: 18px 26px;
    color: var(--ui-ink);
    font-size: .9rem;
    line-height: 2;
}

.art-text p[b-dh7qfx9fnv] {
    margin: 0 0 12px;
    text-align: justify;
}

.art-text h3[b-dh7qfx9fnv] {
    margin: 16px 0 8px;
    font-size: .95rem;
    font-weight: 800;
}

.art-missing[b-dh7qfx9fnv] {
    padding: 0 3px;
    border-radius: 3px;
    background: #fde68a;
    color: #5b4410;
    font-weight: 700;
}

.art-table[b-dh7qfx9fnv] {
    margin: 16px 0;
}

.art-table figcaption[b-dh7qfx9fnv] {
    margin-bottom: 8px;
    font-size: .82rem;
    font-weight: 800;
}

.art-table small[b-dh7qfx9fnv] {
    display: block;
    margin-top: 6px;
    color: var(--ui-muted);
    font-size: .74rem;
}

.art-table-scroll[b-dh7qfx9fnv] {
    overflow-x: auto;
}

.art-table table[b-dh7qfx9fnv],
.art-checklist[b-dh7qfx9fnv] {
    width: 100%;
    border-collapse: collapse;
    font-size: .78rem;
}

.art-table th[b-dh7qfx9fnv],
.art-table td[b-dh7qfx9fnv] {
    padding: 6px 10px;
    border-bottom: 1px solid var(--ui-line);
    text-align: start;
    white-space: pre;
}

.art-table thead th[b-dh7qfx9fnv] {
    border-top: 2px solid var(--ui-ink-2);
    border-bottom: 1px solid var(--ui-ink-2);
}

.art-table tbody tr:last-child td[b-dh7qfx9fnv] {
    border-bottom: 2px solid var(--ui-ink-2);
}

.art-edit[b-dh7qfx9fnv] {
    display: grid;
    gap: 12px;
    padding: 18px 22px;
}

.art-edit-table[b-dh7qfx9fnv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px dashed var(--ui-line-strong);
    border-radius: var(--ui-r-sm);
    color: var(--ui-muted);
    font-size: .78rem;
}

.art-edit .art-hint[b-dh7qfx9fnv] {
    margin: 0;
}

.art-revise[b-dh7qfx9fnv] {
    display: grid;
    gap: 10px;
    margin: 0 22px 16px;
    padding: 14px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-md);
    background: var(--ui-surface-raised);
}

.art-revise .art-foot-actions[b-dh7qfx9fnv] {
    justify-content: flex-end;
}


/* ---- checks ---- */

.art-checks[b-dh7qfx9fnv] {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 16px 22px;
    list-style: none;
}

.art-checks li[b-dh7qfx9fnv] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-r-sm);
}

.art-checks li.is-error[b-dh7qfx9fnv] {
    border-color: var(--ui-danger-tint);
    background: var(--ui-danger-soft);
}

.art-checks li.is-warning[b-dh7qfx9fnv] {
    border-color: var(--ui-warning-tint);
    background: var(--ui-warning-soft);
}

.art-checks li > div[b-dh7qfx9fnv] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.art-checks strong[b-dh7qfx9fnv] {
    font-size: .8rem;
}

.art-checks small[b-dh7qfx9fnv] {
    color: var(--ui-ink-2);
    font-size: .74rem;
    overflow-wrap: anywhere;
}

.art-check-mark[b-dh7qfx9fnv] {
    flex: none;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ui-surface);
    font-size: .76rem;
    font-weight: 800;
}

.art-checklist th[b-dh7qfx9fnv],
.art-checklist td[b-dh7qfx9fnv] {
    padding: 8px 12px;
    border-bottom: 1px solid var(--ui-line);
    text-align: start;
    vertical-align: top;
    line-height: 1.7;
}

.art-checklist thead th[b-dh7qfx9fnv] {
    color: var(--ui-muted);
    font-size: .72rem;
}

.art-checklist td:first-child[b-dh7qfx9fnv] {
    min-width: 180px;
}

.art-checklist td:last-child[b-dh7qfx9fnv] {
    min-width: 220px;
}

.art-export .art-primary[b-dh7qfx9fnv] {
    text-decoration: none;
}


/* ============================================================
   NARROW
   ============================================================ */

@media (max-width: 1200px) {
    .art-steps[b-dh7qfx9fnv] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .art-author[b-dh7qfx9fnv] {
        grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto;
    }

    .art-author input:nth-of-type(2)[b-dh7qfx9fnv],
    .art-author input:nth-of-type(3)[b-dh7qfx9fnv],
    .art-author input:nth-of-type(4)[b-dh7qfx9fnv] {
        grid-column: 2 / 4;
    }
}

@media (max-width: 920px) {
    .art-hero[b-dh7qfx9fnv] {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }
}

@media (max-width: 720px) {
    .art-page[b-dh7qfx9fnv] {
        gap: 16px;
    }

    .art-hero[b-dh7qfx9fnv] {
        min-height: 0;
        gap: 20px;
        padding: 24px 18px;
    }

    .art-hero-actions[b-dh7qfx9fnv] {
        width: 100%;
    }

    .art-hero-action[b-dh7qfx9fnv] {
        flex: 1 1 0;
    }

    .art-steps[b-dh7qfx9fnv] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .art-step-copy small[b-dh7qfx9fnv] {
        display: none;
    }

    .art-form[b-dh7qfx9fnv] {
        grid-template-columns: minmax(0, 1fr);
        padding: 16px;
    }

    .art-card-head[b-dh7qfx9fnv],
    .art-card-foot[b-dh7qfx9fnv] {
        padding: 14px 16px;
    }

    .art-card-foot .art-primary[b-dh7qfx9fnv] {
        width: 100%;
    }

    .art-foot-actions[b-dh7qfx9fnv] {
        width: 100%;
    }

    .art-author[b-dh7qfx9fnv] {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .art-author input:not([type="checkbox"])[b-dh7qfx9fnv] {
        grid-column: 2 / 3;
    }

    .art-subhead[b-dh7qfx9fnv],
    .art-authors[b-dh7qfx9fnv],
    .art-outline[b-dh7qfx9fnv] {
        padding-inline: 16px;
    }

    .art-hint[b-dh7qfx9fnv] {
        margin-inline: 16px;
    }

    .art-search[b-dh7qfx9fnv] {
        padding: 14px 16px;
    }

    .art-text[b-dh7qfx9fnv] {
        padding: 14px 16px;
    }

    .art-outline-head[b-dh7qfx9fnv] {
        flex-wrap: wrap;
    }

    .art-outline-head > input[b-dh7qfx9fnv] {
        flex-basis: 100%;
        order: -1;
    }

    .art-reference[b-dh7qfx9fnv],
    .art-found li[b-dh7qfx9fnv] {
        flex-direction: column;
    }

    .art-reference-tools[b-dh7qfx9fnv] {
        align-self: flex-end;
    }

    .art-missing-box[b-dh7qfx9fnv] {
        margin-inline: 16px;
    }

    .art-integrity[b-dh7qfx9fnv] {
        padding: 14px 16px;
    }

    .art-figure-list[b-dh7qfx9fnv] {
        padding-inline: 16px;
    }

    .art-figure[b-dh7qfx9fnv] {
        grid-template-columns: minmax(0, 1fr);
    }

    .art-figure-shot[b-dh7qfx9fnv] {
        height: 160px;
    }

    .art-figure-head[b-dh7qfx9fnv] {
        flex-wrap: wrap;
    }

    .art-figure-save[b-dh7qfx9fnv] {
        padding-inline: 16px;
    }
}


/* =========================================================
   THE AUTOMATIC BUILD
   ========================================================= */

.art-ready[b-dh7qfx9fnv] {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 14px 22px;
    list-style: none;
}

.art-ready li[b-dh7qfx9fnv] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: .84rem;
}

.art-ready-mark[b-dh7qfx9fnv] {
    display: grid;
    place-items: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ui-surface);
    color: var(--ui-muted);
    font-size: .74rem;
    font-weight: 800;
}

.art-ready .is-met .art-ready-mark[b-dh7qfx9fnv] {
    background: var(--ui-accent-soft);
    color: var(--ui-ink);
}

.art-ready .is-needed .art-ready-mark[b-dh7qfx9fnv] {
    background: var(--ui-warning-soft);
    color: var(--ui-warning);
}

.art-ready .is-met .art-ready-text[b-dh7qfx9fnv],
.art-ready .is-optional .art-ready-text[b-dh7qfx9fnv] {
    color: var(--ui-muted);
}

.art-ready-text[b-dh7qfx9fnv] {
    flex: 1 1 auto;
    min-width: 0;
}

.art-build-run[b-dh7qfx9fnv] {
    display: grid;
}

.art-build-bar[b-dh7qfx9fnv] {
    height: 6px;
    margin: 18px 22px 4px;
    overflow: hidden;
    border-radius: 3px;
    background: var(--ui-surface);
}

.art-build-bar i[b-dh7qfx9fnv] {
    display: block;
    width: var(--done, 0%);
    height: 100%;
    border-radius: 3px;
    background: var(--ui-accent);
    transition: width .5s ease;
}

.art-build-stages[b-dh7qfx9fnv] {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 10px 22px 16px;
    list-style: none;
}

.art-build-stages li[b-dh7qfx9fnv] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 7px 0;
    font-size: .84rem;
}

.art-build-stages .is-waiting[b-dh7qfx9fnv] {
    color: var(--ui-muted);
}

.art-build-stages .is-on .art-build-stage[b-dh7qfx9fnv] {
    font-weight: 700;
}

.art-build-stages small[b-dh7qfx9fnv] {
    flex-basis: 100%;
    padding-inline-start: 32px;
    color: var(--ui-muted);
    font-size: .76rem;
}

.art-build-mark[b-dh7qfx9fnv] {
    display: grid;
    place-items: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ui-surface);
    color: var(--ui-ink);
    font-size: .74rem;
    font-weight: 800;
}

.art-build-stages .is-done .art-build-mark[b-dh7qfx9fnv] {
    background: var(--ui-accent-soft);
}

.art-build-done[b-dh7qfx9fnv] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
}

.art-build-tick[b-dh7qfx9fnv] {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ui-accent);
    color: var(--ui-ink);
    font-weight: 800;
}

.art-build-done strong[b-dh7qfx9fnv] {
    display: block;
    font-size: .98rem;
}

.art-build-done p[b-dh7qfx9fnv] {
    margin: 4px 0 0;
    color: var(--ui-muted);
    font-size: .8rem;
    line-height: 1.9;
}

.art-build .art-missing-box[b-dh7qfx9fnv] {
    margin-block: 0 16px;
}

.art-details[b-dh7qfx9fnv] {
    margin-top: 16px;
}

.art-details > summary[b-dh7qfx9fnv] {
    padding: 10px 4px;
    color: var(--ui-ink-2);
    font-size: .84rem;
    font-weight: 700;
    cursor: pointer;
}

.art-next[b-dh7qfx9fnv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 4px 2px;
    color: var(--ui-muted);
    font-size: .8rem;
    line-height: 1.8;
}

.art-next span[b-dh7qfx9fnv] {
    flex: 1 1 280px;
}

/* =========================================================
   WHAT ONLY THE CUSTOMER CAN DO, AND THE OFFICIAL FORM
   ========================================================= */

.art-reminders[b-dh7qfx9fnv] {
    margin-block-start: 18px;
    padding: 16px 18px;
    border: 1px solid var(--ui-line);
    border-inline-start: 3px solid var(--ui-accent);
    border-radius: 14px;
    background: var(--ui-surface);
}

.art-reminders h3[b-dh7qfx9fnv] {
    margin: 0 0 10px;
    font-size: .95rem;
    color: var(--ui-ink);
}

.art-reminders ul[b-dh7qfx9fnv] {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.art-reminders li[b-dh7qfx9fnv] {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 6px;
    align-items: baseline;
}

.art-reminders li p[b-dh7qfx9fnv] {
    margin: 0;
    font-size: .86rem;
    line-height: 1.75;
    color: var(--ui-ink);
}

.art-reminders li.is-done p[b-dh7qfx9fnv],
.art-reminders li.is-done span[b-dh7qfx9fnv] {
    color: var(--ui-muted);
}

.art-form-note[b-dh7qfx9fnv] {
    margin: 14px 22px 0;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--ui-accent-soft);
}

.art-form-note strong[b-dh7qfx9fnv] {
    font-size: .9rem;
    color: var(--ui-ink);
}

.art-form-note p[b-dh7qfx9fnv] {
    margin: 4px 0 0;
    font-size: .83rem;
    line-height: 1.7;
    color: var(--ui-ink);
}


/* ---- THE THREE FORMS OF THE FILE ---- */

.art-file-forms[b-dh7qfx9fnv] {
    margin: 0;
    padding: 14px 22px;
    list-style: none;
    display: grid;
    gap: 8px;
}

.art-file-forms li[b-dh7qfx9fnv] {
    display: grid;
    gap: 1px;
    font-size: .84rem;
    line-height: 1.75;
    color: var(--ui-text-muted, var(--ui-muted));
}

.art-file-forms strong[b-dh7qfx9fnv] {
    color: var(--ui-ink);
    font-weight: 700;
}
