:root { --purchase-page-bg: #f3f6fb; --purchase-header-bg: rgba(255, 255, 255, .9); --purchase-brand-color: var(--bs-primary); --admin-sidebar-bg: #fff; --admin-sidebar-border: #dfe5ef; --admin-sidebar-text: #44506a; --admin-sidebar-heading: #667085; --admin-sidebar-hover: #f4f7fc; --admin-sidebar-active: #edf3ff; --admin-sidebar-shadow: rgba(26, 39, 69, .08); }
[data-bs-theme="dark"] { --purchase-page-bg: #111827; --purchase-header-bg: rgba(17, 24, 39, .92); --admin-sidebar-bg: #141d2e; --admin-sidebar-border: #29364c; --admin-sidebar-text: #c5d0e2; --admin-sidebar-heading: #8795ab; --admin-sidebar-hover: #1c293e; --admin-sidebar-active: #20365d; --admin-sidebar-shadow: rgba(0, 0, 0, .24); }
.app-body { min-height: 100vh; background: var(--purchase-page-bg); }
.app-shell { display: flex; flex-direction: column; min-height: 100vh; }
.app-header { display: flex; align-items: center; min-height: 4.5rem; padding: 0 1.5rem; background: var(--purchase-header-bg); border-bottom: 1px solid var(--bs-border-color); backdrop-filter: blur(.75rem); }
.app-brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--purchase-brand-color); font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.app-brand-icon { width: 1.75rem; height: 1.75rem; fill: currentColor; }
.app-content { flex: 1; }
.login-section { display: grid; place-items: center; min-height: calc(100vh - 12rem); padding: 2rem 1rem; }
.login-card { width: min(100%, 32rem); background: var(--bs-body-bg); border: 1px solid var(--bs-border-color) !important; }
.login-heading { display: flex; align-items: center; gap: 1rem; }
.login-heading-icon { display: grid; flex: 0 0 auto; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: color-mix(in srgb, currentColor 12%, transparent); }
.login-heading-icon svg { width: 1.75rem; height: 1.75rem; fill: currentColor; }
.field-icon, .alert-icon, .login-security-note svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.alert-icon { flex: 0 0 auto; margin-top: .15rem; }
.login-security-note { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .875rem; text-align: center; }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 18rem !important; color: var(--admin-sidebar-text) !important; background: var(--admin-sidebar-bg) !important; border-right: 1px solid var(--admin-sidebar-border) !important; box-shadow: .5rem 0 2rem var(--admin-sidebar-shadow); }
.admin-sidebar-header { min-height: 5rem; border-bottom: 1px solid var(--admin-sidebar-border); }
.admin-sidebar-body { display: flex; flex-direction: column; height: calc(100vh - 5rem); padding: 1rem .9rem; overflow-y: auto; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--admin-sidebar-text) 28%, transparent) transparent; }
.admin-sidebar .app-brand { color: var(--bs-emphasis-color) !important; }
.admin-brand { width: 100%; gap: .8rem; }
.admin-brand-icon-wrap { display: grid; flex: 0 0 auto; place-items: center; width: 2.65rem; height: 2.65rem; color: #fff; border-radius: .85rem; background: linear-gradient(145deg, #3267e3, #214ab0); box-shadow: 0 .55rem 1.25rem rgba(49, 103, 227, .25); }
.admin-brand-icon-wrap .app-brand-icon { width: 1.35rem; height: 1.35rem; }
.admin-brand-copy { display: grid; min-width: 0; line-height: 1.15; }
.admin-brand-copy strong { overflow: hidden; font-size: 1.05rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-brand-copy small { margin-top: .25rem; color: var(--admin-sidebar-heading); font-size: .72rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.admin-nav-section { display: block; margin: 1.2rem .75rem .35rem; color: var(--admin-sidebar-heading); font-size: .67rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.admin-nav-section:first-child { margin-top: .25rem; }
.admin-sidebar .nav-link { position: relative; display: flex; align-items: center; gap: .8rem; min-height: 2.85rem; padding: .7rem .8rem; color: var(--admin-sidebar-text) !important; font-size: .9rem; font-weight: 620; border: 1px solid transparent; border-radius: .8rem; transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease; }
.admin-sidebar .nav-link .nav-icon { width: 1.15rem; height: 1.15rem; }
.admin-sidebar .nav-link:hover { color: var(--bs-emphasis-color) !important; background: var(--admin-sidebar-hover); transform: translateX(.15rem); }
.admin-sidebar .nav-link.active { color: var(--bs-primary) !important; background: var(--admin-sidebar-active); border-color: color-mix(in srgb, var(--bs-primary) 18%, transparent); box-shadow: inset .22rem 0 0 var(--bs-primary); }
.admin-sidebar .nav-link.disabled { color: color-mix(in srgb, var(--admin-sidebar-text) 45%, transparent) !important; }
.admin-sidebar-footer { margin-top: auto; padding-top: 1rem; }
.admin-access-card { display: flex; align-items: center; gap: .7rem; padding: .8rem; border: 1px solid var(--admin-sidebar-border); border-radius: .9rem; background: var(--admin-sidebar-hover); }
.admin-access-card > span:last-child { display: grid; min-width: 0; }
.admin-access-card small { color: var(--admin-sidebar-heading); font-size: .7rem; }
.admin-access-card strong { overflow: hidden; color: var(--bs-emphasis-color); font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-access-icon { display: grid; flex: 0 0 auto; place-items: center; width: 2rem; height: 2rem; color: var(--bs-primary); border-radius: .65rem; background: color-mix(in srgb, var(--bs-primary) 12%, transparent); }
.admin-access-icon svg { width: 1rem; height: 1rem; fill: currentColor; }
.app-main { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 100vh; }
.admin-topbar { position: sticky; top: 0; z-index: 1010; display: flex; align-items: center; min-height: 5rem; padding: .75rem 1.5rem; background: var(--purchase-header-bg); border-bottom: 1px solid var(--bs-border-color); box-shadow: 0 .35rem 1.5rem rgba(29, 42, 67, .035); backdrop-filter: blur(.75rem); }
.admin-topbar-context { line-height: 1.15; }
.admin-topbar-context small { color: var(--bs-secondary-color); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-topbar-context strong { font-size: .92rem; }
.nav-icon { width: 1.15rem; height: 1.15rem; fill: currentColor; flex: 0 0 auto; }
.user-summary { display: grid; text-align: right; }
.user-summary span { color: var(--bs-secondary-color); font-size: .8rem; }
.theme-selector { width: 10.5rem; }
.admin-single-check { display: inline-flex; align-items: center; gap: .5rem; }
.admin-option-list {
    display: inline-grid;
    grid-template-columns: auto max-content;
    align-items: center;
    justify-content: start;
    gap: .65rem .5rem;
    max-width: 100%;
}

.admin-option-list br {
    display: none;
}

.admin-radio-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: .65rem 1rem;
}
@media (min-width: 992px) { .admin-sidebar { position: sticky; top: 0; height: 100vh; visibility: visible !important; transform: none !important; } }
@media (max-width: 991.98px) { .admin-sidebar { box-shadow: 1rem 0 3rem rgba(13, 22, 39, .22); } .admin-sidebar-body { height: calc(100vh - 5rem); } }
@media (max-width: 575.98px) { .app-header { padding: 0 1rem; } .login-heading { align-items: flex-start; } }
.dashboard-section { max-width: 100rem; }
.dashboard-card { border-color: var(--bs-border-color); box-shadow: 0 .35rem 1.25rem rgba(15, 23, 42, .06); }
.dashboard-card .card-body { display: flex; align-items: center; gap: 1rem; }
.dashboard-card strong { display: block; margin-top: .2rem; font-size: 1.75rem; line-height: 1.1; }
.dashboard-icon { display: grid; flex: 0 0 auto; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 1rem; background: color-mix(in srgb, currentColor 12%, transparent); }
.dashboard-icon svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }
.content-section { max-width: 100rem; }
.payment-method-card { border-color: var(--bs-border-color); box-shadow: 0 .35rem 1.25rem rgba(15, 23, 42, .06); }
.method-heading { display: flex; align-items: center; gap: 1rem; }
.method-icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 1rem; background: color-mix(in srgb, currentColor 12%, transparent); }
.method-icon svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }
.saved-card-panel { padding: 1.25rem; color: #fff; background: linear-gradient(135deg, #1d4ed8, #172554); border-radius: 1rem; }
.saved-card-number { display: block; margin: .75rem 0 1rem; font-size: 1.35rem; letter-spacing: .08em; }
.saved-card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .875rem; }
.action-card, .list-card { border-color: var(--bs-border-color); box-shadow: 0 .35rem 1.25rem rgba(15, 23, 42, .05); }
.list-card .table th { white-space: nowrap; }
.pager-bar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem; }
.pager-summary { padding: 0 .5rem; color: var(--bs-secondary-color); font-size: .875rem; }
.empty-state { display: grid; place-items: center; gap: .75rem; padding: 3rem 1rem; color: var(--bs-secondary-color); }
.empty-state svg { width: 2rem; height: 2rem; fill: currentColor; }
@media (max-width: 575.98px) { .pager-summary { order: -1; width: 100%; text-align: center; } }
.pricing-page {
    --pricing-accent: #315fdd;
    --pricing-accent-rgb: 49, 95, 221;
    --pricing-ink: #102044;
    --pricing-muted: #64748b;
    --pricing-soft: #f5f8ff;
    --pricing-border: rgba(49, 95, 221, .14);
    color: var(--pricing-ink);
    background: var(--pricing-soft);
    font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

[data-bs-theme="dark"] .pricing-page {
    --pricing-ink: #f8fafc;
    --pricing-muted: #a9b4c8;
    --pricing-soft: #0f172a;
    --pricing-border: rgba(148, 163, 184, .2);
}

.pricing-hero {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0;
    color: #fff;
    background: linear-gradient(125deg, #0f2046 0%, #1d3d88 55%, #386be8 100%);
}

.pricing-hero::after {
    position: absolute;
    top: -10rem;
    right: -8rem;
    width: 32rem;
    height: 32rem;
    content: "";
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(255, 255, 255, .035), 0 0 0 10rem rgba(255, 255, 255, .025);
}

.pricing-hero .container { position: relative; z-index: 1; }
.pricing-eyebrow, .pricing-section-kicker { display: block; margin-bottom: .65rem; font-size: .75rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.pricing-eyebrow { color: #a9c6ff; }
.pricing-hero h1 { max-width: 52rem; margin-bottom: 1rem; font-size: clamp(2.3rem, 5vw, 4.4rem); font-weight: 680; letter-spacing: -.045em; }
.pricing-hero p { max-width: 48rem; margin-bottom: 1.75rem; color: rgba(255, 255, 255, .78); font-size: 1.15rem; }
.pricing-group-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.pricing-group-links .btn { display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.1rem; }
.pricing-content { padding-top: 4.5rem; padding-bottom: 5rem; }
.pricing-section { padding: 1rem 0 4.5rem; scroll-margin-top: 1.5rem; }
.pricing-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.pricing-section-heading > div { max-width: 42rem; }
.pricing-section-heading > p { max-width: 36rem; margin: 0; color: var(--pricing-muted); }
.pricing-section-kicker { color: var(--pricing-accent); }
.pricing-section-heading h2, .onpremise-callout h2 { margin: 0; color: var(--pricing-ink); font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 680; letter-spacing: -.03em; }
.pricing-card { position: relative; overflow: hidden; border-color: var(--pricing-border); border-radius: 1.35rem; box-shadow: 0 1.25rem 3rem rgba(24, 46, 94, .08); transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.pricing-card:hover { border-color: rgba(var(--pricing-accent-rgb), .32); box-shadow: 0 1.75rem 4rem rgba(24, 46, 94, .14); transform: translateY(-.55rem); }
.pricing-card .card-body { display: flex; flex-direction: column; padding: 2rem; }
.pricing-card-featured { border: 2px solid rgba(var(--pricing-accent-rgb), .55); transform: translateY(-.4rem); }
.pricing-popular { padding: .6rem 1rem; color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; background: var(--pricing-accent); }
.pricing-card-icon { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin-bottom: 1.35rem; color: var(--pricing-accent); border-radius: 1rem; background: rgba(var(--pricing-accent-rgb), .1); transition: color .35s ease, background-color .35s ease, transform .35s ease; }
.pricing-card:hover .pricing-card-icon { color: #fff; background: var(--pricing-accent); transform: rotate(-6deg) scale(1.08); }
.pricing-card-icon svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }
.pricing-card-label { color: var(--pricing-accent); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pricing-card h3 { margin: .45rem 0 .8rem; color: var(--pricing-ink); font-size: 1.45rem; font-weight: 680; }
.pricing-card p { min-height: 4.5rem; color: var(--pricing-muted); }
.pricing-feature-list { display: grid; gap: .8rem; margin: .75rem 0 1.75rem; padding: 0; list-style: none; }
.pricing-feature-list li { display: flex; align-items: flex-start; gap: .65rem; color: var(--pricing-ink); font-size: .92rem; transition: color .25s ease, transform .25s ease; }
.pricing-feature-list li:hover { color: var(--pricing-accent); transform: translateX(.25rem); }
.pricing-feature-list svg { flex: 0 0 auto; width: 1rem; height: 1rem; margin-top: .2rem; color: #26966f; fill: currentColor; }
.pricing-card .btn { margin-top: auto; }
.onpremise-callout { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; align-items: center; gap: 3rem; margin-bottom: 4.5rem; padding: 3.5rem; color: #fff; border-radius: 1.75rem; background: linear-gradient(130deg, #101f42, #24498f); box-shadow: 0 1.5rem 4rem rgba(15, 32, 70, .2); scroll-margin-top: 1.5rem; }
.onpremise-callout .pricing-section-kicker { color: #9fc1ff; }
.onpremise-callout h2 { color: #fff; }
.onpremise-callout .lead { max-width: 52rem; margin: 1rem 0 1.5rem; color: rgba(255, 255, 255, .76); }
.onpremise-highlights { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.onpremise-highlights span { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .75rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .07); }
.onpremise-highlights svg { width: 1rem; height: 1rem; fill: currentColor; }
.onpremise-visual { display: grid; place-items: center; width: 14rem; height: 14rem; justify-self: center; color: #c6d8ff; border: 1px solid rgba(255, 255, 255, .15); border-radius: 2.2rem; background: rgba(255, 255, 255, .07); transform: rotate(4deg); }
.onpremise-visual svg { width: 6rem; height: 6rem; fill: currentColor; }
.comparison-card, .plan-builder-card, .order-summary-card { overflow: hidden; border-color: var(--pricing-border); border-radius: 1.35rem; box-shadow: 0 1.25rem 3rem rgba(24, 46, 94, .07); }
.comparison-table { min-width: 52rem; }
.comparison-table th, .comparison-table td { padding: 1rem 1.25rem; border-color: var(--pricing-border); }
.comparison-table thead th { color: var(--pricing-ink); font-size: .78rem; text-align: center; background: rgba(var(--pricing-accent-rgb), .07); }
.comparison-table thead th:first-child, .comparison-table tbody th { text-align: left; }
.comparison-table tbody th { color: var(--pricing-ink); font-weight: 650; }
.comparison-table tbody td { min-width: 9rem; color: var(--pricing-muted); text-align: center; }
.comparison-table .has-feature { color: #20845f; font-size: 1.15rem; font-weight: 900; }
.comparison-table .no-feature { color: var(--bs-tertiary-color); }
.comparison-table tbody tr, .onpremise-table tbody tr { transition: background-color .22s ease, transform .22s ease; }
.comparison-table tbody tr:hover, .onpremise-table tbody tr:hover { background: rgba(var(--pricing-accent-rgb), .045); }
.onpremise-table { min-width: 46rem; }
.onpremise-table th, .onpremise-table td { padding: 1.1rem 1.25rem; border-color: var(--pricing-border); }
.onpremise-table thead th { color: var(--pricing-ink); font-size: .78rem; background: rgba(var(--pricing-accent-rgb), .07); }
.onpremise-table tbody th { width: 28%; color: var(--pricing-ink); }
.onpremise-table tbody td { color: var(--pricing-muted); line-height: 1.65; }
.onpremise-table-action { padding: 1.5rem; text-align: center; border-top: 1px solid var(--pricing-border); background: rgba(var(--pricing-accent-rgb), .035); }
.plan-builder-section { scroll-margin-top: 1.5rem; }
.plan-builder-card .form-label { color: var(--pricing-ink); font-weight: 700; }
.order-summary-card { top: 1rem; }
.order-summary-card .display-6 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

@keyframes pricingFadeUp {
    from { opacity: 0; transform: translateY(1.4rem); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pricingHeroReveal {
    from { opacity: 0; transform: translateX(-1.25rem); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes businessFocus {
    0%, 100% { box-shadow: 0 1.25rem 3rem rgba(24, 46, 94, .1), 0 0 0 0 rgba(var(--pricing-accent-rgb), .12); }
    50% { box-shadow: 0 1.75rem 4rem rgba(24, 46, 94, .16), 0 0 0 .45rem rgba(var(--pricing-accent-rgb), .06); }
}

@media (prefers-reduced-motion: no-preference) {
    .pricing-hero .pricing-eyebrow,
    .pricing-hero h1,
    .pricing-hero p,
    .pricing-group-links { animation: pricingHeroReveal .65s ease both; }
    .pricing-hero h1 { animation-delay: .08s; }
    .pricing-hero p { animation-delay: .16s; }
    .pricing-group-links { animation-delay: .24s; }
    #cloudPlans .row > div { animation: pricingFadeUp .65s ease both; }
    #cloudPlans .row > div:nth-child(1) { animation-delay: .08s; }
    #cloudPlans .row > div:nth-child(2) { animation-delay: .18s; }
    #cloudPlans .row > div:nth-child(3) { animation-delay: .28s; }
    .pricing-card-featured { animation: businessFocus 3.2s ease-in-out 1s infinite; }
    .onpremise-callout { animation: pricingFadeUp .7s ease both; animation-delay: .35s; }
}

@media (prefers-reduced-motion: reduce) {
    .pricing-card,
    .pricing-card-icon,
    .pricing-feature-list li,
    .comparison-table tbody tr,
    .onpremise-table tbody tr { transition: none; }
}

@media (max-width: 991.98px) {
    .pricing-hero { padding: 4rem 0; }
    .pricing-content { padding-top: 3rem; }
    .pricing-section-heading { display: block; }
    .pricing-section-heading > p { margin-top: .75rem; }
    .pricing-card-featured { transform: none; }
    .onpremise-callout { grid-template-columns: 1fr; padding: 2.5rem; }
    .onpremise-visual { display: none; }
}

@media (max-width: 575.98px) {
    .pricing-hero { padding: 3.25rem 0; }
    .pricing-hero h1 { font-size: 2.35rem; }
    .pricing-group-links .btn { width: 100%; justify-content: center; }
    .pricing-content { padding-inline: 1rem; }
    .pricing-section { padding-bottom: 3rem; }
    .pricing-card .card-body { padding: 1.5rem; }
    .onpremise-callout { margin-inline: -.25rem; padding: 1.75rem; border-radius: 1.25rem; }
    .onpremise-highlights { display: grid; }
    .comparison-card .table-responsive { border-radius: 1.25rem; }
}
.nav-section-label { color: rgba(255, 255, 255, .55); font-size: .75rem; font-weight: 700; letter-spacing: .08em; margin: 1rem .75rem .35rem; text-transform: uppercase; }
.status-hero-icon { width: 4rem; height: 4rem; fill: currentColor; }
.page-eyebrow { color: var(--bs-primary); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.section-icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .7rem; background: color-mix(in srgb, currentColor 12%, transparent); }
.section-icon svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.company-cell { display: flex; align-items: center; gap: .75rem; min-width: 15rem; }
.company-cell > div { display: grid; }
.company-cell span:last-child { color: var(--bs-secondary-color); font-size: .8rem; }
.company-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 2.5rem; height: 2.5rem; color: var(--bs-primary); font-weight: 700; background: color-mix(in srgb, var(--bs-primary) 12%, transparent); border-radius: .75rem; }
.record-badges { display: flex; align-items: center; gap: .4rem; }
.record-badges span { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .45rem; color: var(--bs-secondary-color); background: var(--bs-tertiary-bg); border-radius: .4rem; font-size: .78rem; }
.record-badges svg { width: .85rem; height: .85rem; fill: currentColor; }
.company-grid-container { min-height: 10rem; overflow-x: auto; }
.list-card .table > :not(caption) > * > * { padding: .9rem 1rem; }
.content-section { width: min(100%, 92rem); margin-inline: auto; }
.company-toolbar { display: flex; align-items: center; gap: 1rem; }
.company-search { flex: 1 1 auto; min-width: 0; }
.company-page-size { flex: 0 0 13rem; min-width: 13rem; }
.company-page-size .input-group-text { min-width: 4.5rem; justify-content: center; }
.company-page-size .form-select { min-width: 7rem; }
.table-sort-link { display: inline-flex; align-items: center; gap: .4rem; color: inherit; font-weight: 700; text-decoration: none; }
.sort-icon { width: 1rem; height: 1rem; fill: currentColor; }
.admin-list-filter { flex: 0 0 17rem; max-width: 17rem; }
.admin-icon-cell { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.admin-icon-cell > svg { width: 1rem; height: 1rem; flex: 0 0 auto; fill: currentColor; color: var(--bs-secondary-color); }
.admin-long-text { display: block; max-width: 28rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-audit-grid td { vertical-align: middle; }
.license-activity-grid { width: 100%; }
.license-activity-grid th { white-space: nowrap; }
.license-activity-grid td { vertical-align: middle; }
.license-activity-details { display: block; min-width: 12rem; max-width: 28rem; overflow-wrap: anywhere; white-space: normal; }
.offer-preview { overflow: auto; max-width: 100%; }
.offer-preview img, .offer-preview table { max-width: 100%; }
.record-badges a { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .45rem; color: var(--bs-secondary-color); background: var(--bs-tertiary-bg); border-radius: .4rem; font-size: .78rem; text-decoration: none; }

.offer-row-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: .4rem;
    white-space: nowrap;
}
.license-log-card,
.license-admin-card {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    box-shadow: 0 .25rem 1rem rgba(15, 23, 42, .05);
    overflow: hidden;
}

.license-card-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .55rem;
    padding: .38rem .75rem;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
}

.license-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .12);
    border-radius: .55rem;
}

.license-card-icon svg {
    width: 1rem;
    height: 1rem;
}

.license-card-identity {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.license-company-name {
    font-size: 1rem;
}

.license-number {
    color: var(--bs-secondary-color);
    font-size: .8rem;
    font-weight: 700;
}

.license-contact {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-top: 0;
    color: var(--bs-secondary-color);
    font-size: .82rem;
}

.license-contact svg {
    width: .9rem;
    height: .9rem;
}

.license-card-actions {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.license-card-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.license-card-body {
    display: grid;
    grid-template-columns: minmax(17rem, 2fr) repeat(3, minmax(7rem, .8fr)) repeat(3, minmax(9rem, 1fr)) auto;
    align-items: stretch;
    gap: .35rem;
    padding: .35rem .75rem;
}

.license-overview-grid {
    display: contents;
}

.license-key-block,
.license-stat-block {
    display: flex;
    align-items: center;
    gap: .4rem;
    min-width: 0;
    padding: .25rem .45rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .55rem;
}

.license-field-icon,
.license-stat-block > svg {
    flex: 0 0 auto;
    width: 1.1rem;
    height: 1.1rem;
    color: var(--bs-primary);
}

.license-field-icon svg {
    display: block;
    width: 1.1rem;
    height: 1.1rem;
}

.license-key-block span,
.license-stat-block span,
.license-detail-item span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.license-key-block small,
.license-stat-block small,
.license-connection-grid small,
.license-detail-item small {
    color: var(--bs-secondary-color);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.license-key-block code,
.license-connection-grid code,
.license-detail-item code {
    overflow-wrap: anywhere;
    font-size: .72rem;
}

.license-stat-block strong {
    font-size: .88rem;
}

.license-connection-grid {
    display: contents;
}

.license-connection-grid > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: .25rem .45rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .55rem;
    background: var(--bs-tertiary-bg);
}

.license-connection-grid > .btn {
    align-self: center;
    white-space: nowrap;
}

.license-detail-panel {
    padding: 1rem 1.1rem 1.1rem;
    border-top: 1px solid var(--bs-border-color);
    background: rgba(var(--bs-primary-rgb), .025);
}

.license-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.license-detail-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .65rem;
    padding: .75rem;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
}

.license-detail-item > svg {
    width: 1rem;
    height: 1rem;
    margin-top: .15rem;
    color: var(--bs-primary);
}

.license-detail-heading {
    margin: 1rem 0 .6rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.license-feature-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
}

.license-feature-summary .badge {
    padding: .55rem .7rem;
}

.license-admin-card code,
.license-log-card code {
    color: var(--bs-body-color);
}

.license-feature-options > span {
    padding: .65rem .8rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
    background: var(--bs-tertiary-bg);
}

.license-feature-options {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    width: 100%;
}

.license-feature-options > span {
    width: 100%;
}

.license-feature-options .license-feature-pill {
    display: flex;
    align-items: center;
    gap: .65rem;
    width: 100%;
    min-height: 3rem;
    padding: .65rem .9rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 999px;
    background: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.license-feature-options .license-feature-pill:hover {
    border-color: rgba(var(--bs-primary-rgb), .55);
}

.license-feature-options .license-feature-pill:has(input:checked) {
    border-color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .12);
    box-shadow: 0 0 0 .15rem rgba(var(--bs-primary-rgb), .08);
}

.license-feature-options .license-feature-pill label {
    flex: 1;
    margin: 0;
    font-weight: 600;
}
.company-mobile-label,
.company-action-text {
    display: none;
}

.company-row-actions {
    display: flex;
    justify-content: flex-end;
    gap: .4rem;
}

@media (max-width: 767.98px) {
    .company-toolbar {
        align-items: stretch;
        flex-direction: column;
    }
    .admin-list-filter { flex-basis: auto; width: 100%; max-width: none; }
    .admin-long-text { max-width: 16rem; }

    .company-page-size {
        flex-basis: auto;
        width: 100%;
    }

    .company-grid-container {
        min-height: 0;
        padding: .75rem;
        overflow: visible;
        background: var(--bs-tertiary-bg);
    }

    .company-grid,
    .company-grid tbody {
        display: block;
        width: 100%;
    }

    .company-grid thead {
        display: none;
    }

    .company-grid tbody tr {
        display: grid;
        width: 100%;
        margin-bottom: .75rem;
        overflow: hidden;
        border: 1px solid var(--bs-border-color);
        border-radius: 1rem;
        background: var(--bs-body-bg);
        box-shadow: 0 .2rem .75rem rgba(15, 23, 42, .05);
    }

    .company-grid tbody tr:last-child {
        margin-bottom: 0;
    }

    .company-grid tbody td {
        display: block;
        width: 100%;
        padding: .65rem 1rem;
        border: 0;
    }

    .company-grid tbody td:first-child {
        padding-top: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--bs-border-color);
    }

    .company-cell {
        align-items: flex-start;
        min-width: 0;
    }

    .company-cell > div {
        min-width: 0;
    }

    .company-cell strong,
    .company-cell span:last-child {
        overflow-wrap: anywhere;
    }

    .company-mobile-field,
    .company-records {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .company-mobile-label {
        display: inline;
        flex: 0 0 auto;
        color: var(--bs-secondary-color);
        font-size: .78rem;
        font-weight: 600;
    }

    .company-grid tbody td:last-child {
        padding: .85rem 1rem 1rem;
        border-top: 1px solid var(--bs-border-color);
    }

    .company-row-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .5rem;
    }

    .company-row-actions .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
    }

    .company-action-text {
        display: inline;
        margin-left: .35rem;
    }
}

@media (max-width: 419.98px) {
    .company-row-actions {
        grid-template-columns: 1fr;
    }

    .company-row-actions .btn {
        width: 100%;
    }
}

.html-editor {
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius-lg);
    background: var(--bs-body-bg);
}

.html-editor:focus-within {
    border-color: rgba(var(--bs-primary-rgb), .65);
    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .15);
}

.html-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    padding: .75rem;
    background: var(--bs-tertiary-bg);
    border-bottom: 1px solid var(--bs-border-color);
}

.html-editor-toolbar-group {
    display: inline-flex;
    gap: .25rem;
}

.html-editor-toolbar .btn {
    display: inline-grid;
    place-items: center;
    min-width: 2.25rem;
    min-height: 2.1rem;
}

.html-editor-toolbar svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.html-editor-format {
    width: 10rem;
}

.html-editor-content,
.html-editor-source {
    height: calc(24rem + 200px);
    min-height: calc(24rem + 200px);
    padding: 1.25rem;
    border: 0;
    border-radius: 0;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
}

.html-editor-content {
    display: block;
    width: 100%;
    padding: 0;
    overflow: auto;
    outline: 0;
}

.html-editor-content img,
.html-editor-content table {
    max-width: 100%;
}

.html-editor-source {
    resize: vertical;
    font-family: var(--bs-font-monospace);
}

.html-editor-source:focus {
    box-shadow: none;
}

.product-option {
    position: relative;
}

.product-option .form-control {
    padding-right: 8.5rem;
}

.option-pill {
    position: absolute;
    right: 1.25rem;
    bottom: .45rem;
    min-height: 1.9rem;
    padding: .25rem .65rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 999px;
    background: var(--bs-tertiary-bg);
    font-size: .78rem;
}

.admin-single-check input,
.admin-option-list input {
    width: 1rem;
    height: 1rem;
    margin: 0;
    accent-color: var(--bs-primary);
}

.admin-option-list > input {
    position: relative;
    z-index: 1;
    margin-left: .8rem;
}

.admin-single-check label,
.admin-option-list label {
    cursor: pointer;
}

.admin-option-list > span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 2.5rem;
    padding: .45rem .8rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 999px;
    background: var(--bs-tertiary-bg);
}

.admin-option-list > input + label {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    margin-left: -2.3rem;
    padding: .45rem .8rem .45rem 2.55rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 999px;
    background: var(--bs-tertiary-bg);
}

.admin-option-list label {
    overflow-wrap: anywhere;
}

[data-app-theme="ocean"] {
    --bs-primary: #087ea4;
    --bs-primary-rgb: 8, 126, 164;
    --purchase-page-bg: #edf8fb;
    --purchase-brand-color: #087ea4;
}

[data-app-theme="midnight-blue"] {
    --bs-primary: #356ae6;
    --bs-primary-rgb: 53, 106, 230;
    --purchase-page-bg: #f4f7fb;
    --purchase-header-bg: rgba(255, 255, 255, .96);
    --purchase-brand-color: #102b55;
    --admin-sidebar-bg: #081a33;
    --admin-sidebar-border: #162d4c;
    --admin-sidebar-text: #dce7f6;
    --admin-sidebar-heading: #8fa6c5;
    --admin-sidebar-hover: #102b50;
    --admin-sidebar-active: #173b70;
    --admin-sidebar-shadow: rgba(4, 15, 34, .24);
}

[data-app-theme="midnight-blue"] .admin-sidebar .app-brand,
[data-app-theme="midnight-blue"] .admin-brand-copy strong,
[data-app-theme="midnight-blue"] .admin-access-card strong {
    color: #fff !important;
}

[data-app-theme="midnight-blue"] .site-footer {
    color: #b9c9de;
    background: #081a33;
    border-top-color: #162d4c;
}

[data-app-theme="midnight-blue"] .site-footer strong { color: #fff; }

[data-bs-theme="dark"] .option-pill,
[data-bs-theme="dark"] .admin-option-list > span,
[data-bs-theme="dark"] .admin-option-list > input + label {
    background: var(--bs-secondary-bg);
}

@media (max-width: 1199.98px) {
    .license-card-body {
        display: block;
        padding: .85rem 1rem;
    }

    .license-overview-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .65rem;
    }

    .license-key-block {
        grid-column: 1 / -1;
    }

    .license-connection-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        gap: .65rem;
        margin-top: .65rem;
        padding: .65rem;
        background: var(--bs-tertiary-bg);
        border-radius: .75rem;
    }

    .license-connection-grid > div {
        background: var(--bs-body-bg);
    }

    .license-feature-options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (max-width: 575.98px) {
    .license-card-header {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .license-card-identity {
        display: block;
    }

    .license-contact {
        margin-top: .15rem;
    }

    .license-card-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .license-overview-grid,
    .license-connection-grid,
    .license-detail-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .license-key-block {
        grid-column: auto;
    }

    .license-feature-summary {
        grid-template-columns: minmax(0, 1fr);
    }
    .license-feature-options {
        grid-template-columns: minmax(0, 1fr);
    }

    .html-editor-format {
        width: 100%;
    }

    .html-editor-toolbar-group.ms-lg-auto {
        margin-left: 0 !important;
    }

    .html-editor-content,
    .html-editor-source {
        height: calc(18rem + 200px);
        min-height: calc(18rem + 200px);
    }

    .html-editor-source {
        padding: 1rem;
    }

    .product-option .form-control {
        padding-right: 7.75rem;
    }
}

.note-timeline {
    display: grid;
}

.note-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.note-item:last-child {
    border-bottom: 0;
}
.payment-confirmation-shell {
    display: grid;
    width: min(100%, 48rem);
    min-height: calc(100vh - 8rem);
    margin-inline: auto;
    place-items: center;
}

.payment-confirmation-card {
    width: 100%;
    overflow: hidden;
    border-radius: 1.25rem;
}

.payment-confirmation-icon {
    display: inline-grid;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    place-items: center;
}

.payment-confirmation-icon svg {
    width: 2rem;
    height: 2rem;
    fill: currentColor;
}

.payment-confirmation-reference {
    display: grid;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid var(--purchase-border);
    background: var(--purchase-surface-soft);
    border-radius: .9rem;
}

.payment-confirmation-reference > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

@media (max-width: 575.98px) {
    .payment-confirmation-shell {
        min-height: auto;
    }

    .payment-confirmation-reference > div {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
    }
}
.dashboard-chart {
    min-height: 280px;
}

.dashboard-page-size {
    width: auto;
    min-width: 150px;
}

.metric-card .metric-icon {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.metric-card .metric-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    fill: currentColor;
}

.dashboard-group-heading { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.dashboard-group-heading-action { flex-wrap: wrap; }
.dashboard-status-card .card-body { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; }
.dashboard-status-card .card-body > div { display: grid; flex: 1 1 auto; gap: .45rem; min-width: 0; }
.dashboard-status-value { font-size: 1.65rem; line-height: 1.15; }
.dashboard-status-pair { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dashboard-config-card .card-header { display: flex; align-items: center; gap: .75rem; padding: 1rem; }
.dashboard-config-card .card-body { padding: .45rem 1rem 1rem; }
.dashboard-setting-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--bs-border-color); }
.dashboard-setting-row:last-child { border-bottom: 0; }
.dashboard-setting-row span { color: var(--bs-secondary-color); }
.dashboard-setting-row strong { text-align: end; overflow-wrap: anywhere; }
.health-card .card-body { display: grid; place-items: center; gap: .5rem; padding: 1rem; text-align: center; }
.health-card .card-body > svg { width: 1.5rem; height: 1.5rem; fill: currentColor; color: var(--bs-primary); }
.health-card .card-body > span { color: var(--bs-secondary-color); }
.health-card .card-body > small { color: var(--bs-secondary-color); }

.settings-group-pills { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.settings-group-pill { display: flex; align-items: center; gap: .75rem; min-width: 0; padding: .9rem 1rem; border: 1px solid var(--bs-border-color); border-radius: 1rem; background: var(--bs-body-bg); color: var(--bs-body-color); text-decoration: none; box-shadow: 0 .35rem 1.25rem rgba(15, 23, 42, .05); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.settings-group-pill:hover, .settings-group-pill:focus-visible { border-color: var(--bs-primary); color: var(--bs-primary); transform: translateY(-2px); box-shadow: 0 .65rem 1.5rem rgba(15, 23, 42, .09); }
.settings-group-pill > svg { flex: 0 0 auto; width: 1.45rem; height: 1.45rem; fill: currentColor; }
.settings-group-pill span { display: grid; min-width: 0; }
.settings-group-pill strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.settings-group-pill small { color: var(--bs-secondary-color); }
.settings-card-stack { display: grid; gap: 1rem; }
.settings-editor-card { scroll-margin-top: 1rem; }
.settings-editor-card .card-header { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.25rem; }
.settings-editor-table th:first-child, .settings-editor-table td:first-child { width: 28%; }
.settings-editor-table th:last-child, .settings-editor-table td:last-child { width: 22%; }
.settings-editor-table td { padding: .85rem 1rem; }
.settings-save-bar { position: sticky; z-index: 10; bottom: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: .85rem 1rem; border: 1px solid var(--bs-border-color); border-radius: 1rem; background: color-mix(in srgb, var(--bs-body-bg) 92%, transparent); box-shadow: 0 .75rem 2rem rgba(15, 23, 42, .12); backdrop-filter: blur(12px); }
.settings-save-bar span { display: flex; align-items: center; gap: .55rem; color: var(--bs-secondary-color); }
.settings-save-bar svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }

@media (max-width: 1199.98px) {
    .settings-group-pills { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .settings-group-pills { grid-template-columns: 1fr 1fr; }
    .settings-editor-table th:nth-child(2), .settings-editor-table td:nth-child(2) { display: none; }
    .settings-editor-table th:first-child, .settings-editor-table td:first-child { width: 55%; }
    .settings-editor-table th:last-child, .settings-editor-table td:last-child { width: 45%; }
    .settings-save-bar { align-items: stretch; flex-direction: column; }
    .settings-save-bar .btn { width: 100%; }
}

@media (max-width: 479.98px) {
    .settings-group-pills { grid-template-columns: 1fr; }
}
.password-setup-card { max-width: 36rem; }

.site-footer {
    margin-top: auto;
    color: var(--bs-secondary-color);
    background: color-mix(in srgb, var(--bs-body-bg) 88%, transparent);
    border-top: 1px solid var(--bs-border-color);
}

.site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    width: min(100%, 92rem);
    margin-inline: auto;
    padding: 1.25rem 1.5rem;
    font-size: .82rem;
}

.site-footer-inner > div { display: grid; gap: .2rem; }
.site-footer-inner strong { color: var(--bs-emphasis-color); font-weight: 650; }

@media (max-width: 767.98px) {
    .site-footer-inner { align-items: flex-start; flex-direction: column; padding-inline: 1rem; }
}
.language-selector {
    position: relative;
    width: auto;
    min-width: 10.5rem;
}
.language-selector .language-flag {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: .7rem;
    width: 1.35rem;
    height: .9rem;
    object-fit: cover;
    border-radius: .15rem;
    box-shadow: 0 0 0 1px rgba(0,0,0,.12);
    pointer-events: none;
    transform: translateY(-50%);
}
.language-selector .form-select {
    min-width: 10.5rem;
    padding-left: 2.55rem;
}

.language-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 2.5rem;
    padding: .4rem .75rem;
    color: var(--bs-body-color);
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
    font-weight: 600;
    white-space: nowrap;
}
.language-menu-toggle:hover,
.language-menu-toggle:focus,
.language-menu-toggle[aria-expanded="true"] {
    color: var(--bs-primary);
    background: var(--bs-tertiary-bg);
    border-color: color-mix(in srgb, var(--bs-primary) 45%, var(--bs-border-color));
}
.language-menu-current-flag,
.language-menu-flag {
    display: block;
    width: 1.55rem;
    height: 1.05rem;
    object-fit: cover;
    border: 1px solid rgba(15, 23, 42, .15);
    border-radius: .15rem;
    box-shadow: 0 .1rem .2rem rgba(15, 23, 42, .08);
}
.language-menu-dropdown {
    width: min(13rem, calc(100vw - 2rem));
    max-height: min(34rem, calc(100vh - 7rem));
    padding: .65rem;
    overflow-y: auto;
    border-color: var(--bs-border-color);
    border-radius: 1rem;
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, .18);
}
.language-menu-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 2.75rem;
    margin-bottom: .15rem;
    padding: .55rem .65rem;
    border-radius: .7rem;
    font-size: 1rem;
}
.language-menu-item:last-child { margin-bottom: 0; }
.language-menu-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}
.language-menu-check { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.license-on-name-pill {
    max-width: 18rem;
    overflow: hidden;
    color: var(--bs-primary-text-emphasis);
    background: var(--bs-primary-bg-subtle);
    border: 1px solid var(--bs-primary-border-subtle);
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 575.98px) {
    .language-menu-toggle span { display: none; }
    .language-menu-toggle { min-width: 2.75rem; justify-content: center; }
}
