@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --sv-primary: #2563eb;
    --sv-primary-dark: #1e40af;
    --sv-primary-light: #dbeafe;
    --sv-bg: #ffffff;
    --sv-bg-secondary: #f8fafc;
    --sv-sidebar: #ffffff;
    --sv-card: #ffffff;
    --sv-card-soft: #f8fafc;
    --sv-border: #e2e8f0;
    --sv-text: #0f172a;
    --sv-muted: #64748b;
    --sv-muted-strong: #334155;
    --sv-success: #22c55e;
    --sv-warning: #f59e0b;
    --sv-danger: #ef4444;
    --sv-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    --sv-shadow-soft: 0 8px 24px rgba(15, 23, 42, .06);
    --sv-radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--sv-bg);
    color: var(--sv-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

.sv-dashboard-body {
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(rgba(37, 99, 235, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, .045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .42), transparent 70%);
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.sv-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.sv-container-narrow {
    width: min(860px, calc(100% - 32px));
    margin: 0 auto;
}

.sv-section { padding: 76px 0; }
.sv-section-tight { padding: 48px 0; }
.sv-main { min-height: calc(100vh - 152px); }
.sv-muted { color: var(--sv-muted); }

.sv-kicker {
    color: var(--sv-primary);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.sv-navbar,
.sv-footer {
    border-color: var(--sv-border);
    border-style: solid;
}

.sv-navbar {
    position: sticky;
    top: 0;
    z-index: 40;
    border-width: 0 0 1px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.sv-nav-inner,
.sv-footer-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.sv-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--sv-text);
    min-width: 0;
}

/* Public website typography refinement: Home, About, Features, and Pricing only. */
.sv-public-body :is(.sv-home-experience, .sv-about-redesign, .sv-features-redesign, .sv-pricing-redesign) {
    font-family: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sv-public-body :is(.sv-home-experience, .sv-about-redesign, .sv-features-redesign, .sv-pricing-redesign) :is(h1, h2, h3, h4, .sv-title, .sv-home-hero-title) {
    font-family: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

.sv-public-body .sv-home-experience .sv-home-hero-title {
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 700;
    line-height: 1.08;
}

.sv-public-body :is(.sv-about-redesign, .sv-features-redesign, .sv-pricing-redesign) .sv-page-hero :is(.sv-title, .sv-section-header h2) {
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.12;
}

.sv-public-body :is(.sv-home-experience, .sv-about-redesign, .sv-features-redesign, .sv-pricing-redesign) .sv-section-header h2 {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.18;
}

.sv-public-body :is(.sv-home-experience, .sv-about-redesign, .sv-features-redesign, .sv-pricing-redesign) :is(h3, .sv-feature-card h3, .sv-pricing-card h3) {
    font-size: clamp(20px, 1.7vw, 28px);
    font-weight: 600;
    line-height: 1.24;
}

.sv-public-body :is(.sv-home-experience, .sv-about-redesign, .sv-features-redesign, .sv-pricing-redesign) h4 {
    font-weight: 600;
    line-height: 1.3;
}

.sv-public-body :is(.sv-home-experience, .sv-about-redesign, .sv-features-redesign, .sv-pricing-redesign) :is(p, li, td, .sv-copy, .sv-section-header p) {
    font-weight: 400;
    line-height: 1.68;
}

.sv-public-body :is(.sv-home-experience, .sv-about-redesign, .sv-features-redesign, .sv-pricing-redesign) :is(strong, b, th, .sv-badge, .sv-kicker, .sv-button, button) {
    font-weight: 600;
    letter-spacing: 0;
}

.sv-public-body :is(.sv-home-experience, .sv-about-redesign, .sv-features-redesign, .sv-pricing-redesign) .sv-price {
    font-weight: 700;
    letter-spacing: 0;
}

@media (max-width: 768px) {
    .sv-public-body .sv-home-experience .sv-home-hero-title {
        font-size: clamp(36px, 10vw, 52px);
        line-height: 1.1;
    }

    .sv-public-body :is(.sv-about-redesign, .sv-features-redesign, .sv-pricing-redesign) .sv-page-hero :is(.sv-title, .sv-section-header h2) {
        font-size: clamp(32px, 9vw, 46px);
        line-height: 1.14;
    }

    .sv-public-body :is(.sv-home-experience, .sv-about-redesign, .sv-features-redesign, .sv-pricing-redesign) .sv-section-header h2 {
        font-size: clamp(26px, 7vw, 36px);
    }
}

@media (max-width: 520px) {
    .sv-public-body .sv-home-experience .sv-home-hero-title,
    .sv-public-body :is(.sv-about-redesign, .sv-features-redesign, .sv-pricing-redesign) .sv-page-hero :is(.sv-title, .sv-section-header h2) {
        font-weight: 600;
        line-height: 1.16;
    }
}

/* Home feature showcase refinement */
.sv-public-body .sv-home-experience .sv-home-feature-layout {
    grid-template-columns: minmax(320px, .78fr) minmax(0, 1.52fr);
    align-items: stretch;
    gap: clamp(28px, 4vw, 58px);
}

.sv-public-body .sv-home-experience .sv-home-feature-narrative {
    position: sticky;
    top: 112px;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 520px;
    overflow: hidden;
    padding: clamp(30px, 3.2vw, 46px);
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .97), rgba(248, 251, 255, .9)),
        radial-gradient(circle at 14% 8%, rgba(37, 99, 235, .12), transparent 32%);
    box-shadow: 0 30px 72px rgba(15, 23, 42, .075);
}

.sv-public-body .sv-home-experience .sv-home-feature-narrative::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #2563eb, rgba(96, 165, 250, .45), transparent);
    z-index: -1;
}

.sv-public-body .sv-home-experience .sv-home-feature-narrative::after {
    content: "";
    position: absolute;
    right: -88px;
    bottom: -88px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(37, 99, 235, .16), rgba(37, 99, 235, .04) 48%, transparent 70%);
    z-index: -1;
}

.sv-public-body .sv-home-experience .sv-home-feature-narrative span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 9px 14px;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 999px;
    background: rgba(219, 234, 254, .64);
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.sv-public-body .sv-home-experience .sv-home-feature-narrative h3 {
    max-width: 10.5em;
    margin: 28px 0 20px;
    color: var(--sv-home-ink);
    font-size: clamp(28px, 2.4vw, 38px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0;
}

.sv-public-body .sv-home-experience .sv-home-feature-narrative p {
    max-width: 32rem;
    margin: auto 0 0;
    padding-top: 22px;
    border-top: 1px solid rgba(37, 99, 235, .14);
    color: var(--sv-home-muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.72;
}

.sv-public-body .sv-home-experience .sv-feature-grid-premium {
    align-items: stretch;
    gap: clamp(22px, 2.8vw, 34px);
}

.sv-public-body .sv-home-experience .sv-feature-grid-premium .sv-home-feature-card {
    min-height: 310px;
    padding: clamp(28px, 3vw, 40px);
}

@media (max-width: 1120px) {
    .sv-public-body .sv-home-experience .sv-home-feature-layout {
        grid-template-columns: 1fr;
    }

    .sv-public-body .sv-home-experience .sv-home-feature-narrative {
        position: relative;
        top: auto;
        min-height: auto;
    }

    .sv-public-body .sv-home-experience .sv-home-feature-narrative h3 {
        max-width: 780px;
    }
}

@media (max-width: 640px) {
    .sv-public-body .sv-home-experience .sv-home-feature-narrative {
        padding: 26px;
        border-radius: 26px;
    }

    .sv-public-body .sv-home-experience .sv-home-feature-narrative h3 {
        font-size: clamp(26px, 8vw, 34px);
    }
}

/* Targeted public hero heading scale-down for Home, About, Features, and Pricing. */
.sv-public-body .sv-home-experience .sv-home-hero-title {
    font-size: clamp(36px, 4.15vw, 58px);
    line-height: 1.12;
}

.sv-public-body :is(.sv-about-redesign, .sv-features-redesign, .sv-pricing-redesign) .sv-page-hero :is(.sv-title, .sv-section-header h2) {
    font-size: clamp(30px, 3.25vw, 46px);
    line-height: 1.16;
}

@media (max-width: 768px) {
    .sv-public-body .sv-home-experience .sv-home-hero-title {
        font-size: clamp(32px, 8.5vw, 44px);
        line-height: 1.16;
    }

    .sv-public-body :is(.sv-about-redesign, .sv-features-redesign, .sv-pricing-redesign) .sv-page-hero :is(.sv-title, .sv-section-header h2) {
        font-size: clamp(28px, 7.5vw, 38px);
        line-height: 1.18;
    }
}

.sv-brand-name {
    display: inline-block;
    max-width: 180px;
    overflow: hidden;
    color: var(--sv-text);
    font-size: 20px;
    font-weight: 850;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv-demo-registration-dialog {
    width: min(780px, calc(100vw - 28px));
}

.sv-demo-registration-form {
    display: grid;
    gap: 18px;
}

.sv-demo-callout {
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(219, 234, 254, .55));
    color: var(--sv-muted-strong);
    font-weight: 700;
    line-height: 1.55;
    padding: 14px 16px;
}

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

.sv-demo-workspace-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--sv-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, .86);
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sv-demo-workspace-option:hover,
.sv-demo-workspace-option:has(input:checked) {
    border-color: rgba(37, 99, 235, .52);
    box-shadow: 0 16px 34px rgba(37, 99, 235, .12);
    transform: translateY(-1px);
}

.sv-demo-workspace-option input {
    margin-top: 4px;
    accent-color: var(--sv-primary);
}

.sv-demo-workspace-option strong,
.sv-demo-workspace-option small {
    display: block;
}

.sv-demo-workspace-option small {
    margin-top: 4px;
    color: var(--sv-muted);
    line-height: 1.45;
}

[data-demo-business-fields][hidden] {
    display: none !important;
}

@media (max-width: 640px) {
    .sv-demo-workspace-options {
        grid-template-columns: 1fr;
    }
}

.sv-demo-logo-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 14px;
    background: rgba(248, 251, 255, .92);
    color: var(--sv-muted-strong);
    font-size: 13px;
    font-weight: 750;
}

.sv-demo-logo-preview[hidden] {
    display: none;
}

.sv-demo-logo-preview img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid var(--sv-border);
}

.sv-field-error {
    display: block;
    margin-top: 6px;
    color: var(--sv-danger);
    font-size: 13px;
    font-weight: 750;
}

.sv-vault-secret-input {
    -webkit-text-security: disc;
}

.sv-required {
    color: var(--sv-danger);
    font-weight: 800;
}

.sv-organization-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 1px solid var(--sv-border);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(239, 246, 255, .86)),
        var(--sv-card);
    box-shadow: var(--sv-shadow-soft);
}

.sv-organization-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    overflow-x: hidden;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 18px;
    background: var(--sv-primary-light);
    color: var(--sv-dark-blue);
    font-size: 22px;
    font-weight: 850;
}

.sv-organization-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.sv-organization-brand-copy span {
    display: block;
    margin-bottom: 4px;
    color: var(--sv-primary);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sv-organization-brand-copy h2 {
    margin: 0;
    font-size: clamp(22px, 2vw, 30px);
}

@media (max-width: 640px) {
    .sv-organization-brand {
        align-items: flex-start;
        padding: 14px;
    }

    .sv-organization-brand-mark {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
    }
}

.sv-public-body .sv-competitor-section {
    background: linear-gradient(180deg, rgba(248, 251, 255, .9), #ffffff);
}

.sv-public-body .sv-competitor-table-wrap {
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .06);
    overflow-x: auto;
}

.sv-public-body .sv-competitor-table {
    border-collapse: collapse;
    color: var(--sv-text);
    min-width: 840px;
    width: 100%;
}

.sv-public-body .sv-competitor-table th {
    background: #f4f7fb;
    color: var(--sv-muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    padding: 17px 18px;
    text-align: left;
    text-transform: uppercase;
}

.sv-public-body .sv-competitor-table td {
    border-top: 1px solid rgba(15, 23, 42, .08);
    color: var(--sv-muted-strong);
    font-size: 15px;
    line-height: 1.58;
    padding: 17px 18px;
    vertical-align: top;
}

.sv-public-body .sv-competitor-table td:first-child {
    color: var(--sv-text);
    font-weight: 900;
    width: 22%;
}

.sv-public-body .sv-competitor-note {
    color: var(--sv-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 16px 0 0;
}

.sv-public-body .sv-feature-compare-list {
    display: grid;
    gap: 16px;
}

.sv-public-body .sv-feature-compare-row {
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 18px;
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 20px;
}

.sv-public-body .sv-feature-compare-row h3,
.sv-public-body .sv-feature-compare-row strong {
    color: var(--sv-text);
    display: block;
    margin: 0 0 8px;
}

.sv-public-body .sv-feature-compare-row p,
.sv-public-body .sv-feature-compare-row li {
    color: var(--sv-muted);
    font-size: 14px;
    line-height: 1.58;
}

.sv-public-body .sv-feature-compare-row ul {
    margin: 0;
    padding-left: 18px;
}

@media (max-width: 900px) {
    .sv-public-body .sv-feature-compare-row {
        grid-template-columns: 1fr;
    }
}

.sv-brand-logo {
    display: block;
    flex: 0 0 auto;
    width: 58px;
    height: 54px;
    object-fit: contain;
    object-position: left center;
}

.sv-mark {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(37, 99, 235, .2);
    border-radius: var(--sv-radius);
    display: grid;
    place-items: center;
    background: var(--sv-primary);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .2);
}

.sv-nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--sv-muted);
    font-size: 14px;
    font-weight: 650;
}

.sv-nav-links a { transition: color .18s ease; }
.sv-nav-links a:hover,
.sv-nav-links a[aria-current="page"] { color: var(--sv-primary-dark); }

.sv-public-nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.sv-public-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: #ffffff;
    color: var(--sv-text);
    box-shadow: var(--sv-shadow-soft);
    cursor: pointer;
}

.sv-public-nav-toggle span:not(.sv-sr-only) {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--sv-text);
    transition: transform .18s ease, opacity .18s ease;
}

.sv-public-nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.sv-public-nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.sv-public-nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.sv-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sv-nav-actions,
.sv-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sv-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: var(--sv-radius);
    border: 1px solid var(--sv-primary);
    background: #ffffff;
    color: var(--sv-primary);
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.sv-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, .16);
}

.sv-button-primary {
    border-color: var(--sv-primary);
    background: var(--sv-primary);
    color: #ffffff;
}

.sv-button-ghost {
    border-color: transparent;
    background: transparent;
    color: var(--sv-muted-strong);
}

.sv-button-danger {
    border-color: var(--sv-danger);
    background: #ffffff;
    color: var(--sv-danger);
}

.sv-button-danger:hover {
    background: #fef2f2;
    box-shadow: 0 12px 24px rgba(239, 68, 68, .14);
}

.sv-button-compact {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 13px;
}

.sv-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 999px;
    padding: 0 12px;
    color: var(--sv-primary-dark);
    background: var(--sv-primary-light);
    font-size: 13px;
    font-weight: 800;
}

.sv-card,
.sv-feature-card,
.sv-pricing-card,
.sv-form-panel {
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: var(--sv-card);
    box-shadow: var(--sv-shadow-soft);
}

.sv-card,
.sv-feature-card,
.sv-pricing-card {
    padding: 24px;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.sv-card:hover,
.sv-feature-card:hover,
.sv-pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, .34);
    box-shadow: var(--sv-shadow);
}

.sv-card h2,
.sv-card h3,
.sv-feature-card h3,
.sv-pricing-card h3 { margin: 0 0 10px; }

.sv-card p,
.sv-feature-card p,
.sv-pricing-card p {
    margin: 0;
    color: var(--sv-muted);
    line-height: 1.65;
}

.sv-grid { display: grid; gap: 18px; }
.sv-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sv-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sv-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.sv-section-header {
    max-width: 760px;
    margin-bottom: 34px;
}

.sv-section-header-centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sv-section-header h1,
.sv-section-header h2 {
    margin: 10px 0 14px;
    font-size: clamp(32px, 4.6vw, 56px);
    line-height: 1.04;
}

.sv-section-header p {
    margin: 0;
    color: var(--sv-muted);
    font-size: 18px;
    line-height: 1.7;
}

.sv-hero { padding: 72px 0 54px; }

.sv-home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 12px;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 28px;
    background:
        radial-gradient(circle at 18% 18%, rgba(37, 99, 235, .14), transparent 34%),
        radial-gradient(circle at 82% 22%, rgba(147, 197, 253, .22), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, .98) 0%, rgba(248, 251, 255, .96) 44%, rgba(219, 234, 254, .72) 100%);
    box-shadow: 0 26px 70px rgba(37, 99, 235, .10);
}

.sv-home-hero::before,
.sv-home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.sv-home-hero::before {
    background-image:
        linear-gradient(rgba(37, 99, 235, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, .055) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
    opacity: .68;
}

.sv-home-hero::after {
    background:
        linear-gradient(120deg, transparent 0 22%, rgba(37, 99, 235, .10) 22.15%, transparent 22.35% 100%),
        linear-gradient(32deg, transparent 0 64%, rgba(96, 165, 250, .12) 64.12%, transparent 64.32% 100%);
    opacity: .9;
}

.sv-home-hero > * {
    position: relative;
    z-index: 1;
}

.sv-title {
    margin: 16px 0 18px;
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 1.06;
    font-weight: 800;
}

.sv-copy {
    color: var(--sv-muted);
    font-size: 17px;
    line-height: 1.7;
}

.sv-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.sv-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.sv-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    justify-content: start;
    gap: 0;
    color: var(--sv-muted-strong);
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.45;
}

.sv-list li::before {
    content: none;
    display: none;
}

.sv-status-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--sv-border);
}

.sv-status-list li:last-child {
    border-bottom: 0;
}

.sv-status-list li::before {
    display: none;
}

.sv-status-list li > strong,
.sv-status-list li > span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    line-height: 1.3;
}

.sv-price {
    font-size: 42px;
    font-weight: 800;
    margin: 18px 0 4px;
}

.sv-price small {
    color: var(--sv-muted);
    font-size: 15px;
    font-weight: 600;
}

.sv-pricing-card-featured {
    border-color: rgba(37, 99, 235, .55);
    position: relative;
}

.sv-faq { display: grid; gap: 12px; }

.sv-faq details {
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: #ffffff;
    padding: 18px 20px;
    box-shadow: var(--sv-shadow-soft);
}

.sv-faq summary {
    cursor: pointer;
    font-weight: 800;
}

.sv-faq p {
    color: var(--sv-muted);
    line-height: 1.7;
}

.sv-form-panel {
    padding: 26px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.sv-form-grid { display: grid; gap: 16px; }

.sv-share-form-row {
    align-items: start;
}

.sv-share-resource-hidden {
    display: none !important;
}

.sv-share-card {
    padding: 30px 36px;
    min-width: 0;
    max-width: 100%;
}

.sv-share-card:hover {
    transform: none;
}

.sv-share-card-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--sv-border);
}

.sv-share-card-header h3 {
    margin: 10px 0 8px;
    font-size: 24px;
}

.sv-share-card-header p {
    max-width: 760px;
}

.sv-share-form {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.sv-share-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
    align-items: start;
    min-width: 0;
}

.sv-share-form-grid > *,
.sv-share-resource-field {
    min-width: 0;
}

.sv-share-form-grid > * {
    min-width: 0;
}

.sv-share-form-actions {
    justify-content: flex-end;
    padding-top: 8px;
    margin-top: 0;
}

.sv-share-form-actions .sv-button {
    min-width: 230px;
}

.sv-settings-page {
    display: grid;
    gap: 18px;
}

.sv-settings-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--sv-shadow-soft);
}

.sv-settings-header h2 {
    margin: 4px 0 8px;
    font-size: 30px;
    line-height: 1.15;
}

.sv-settings-header p:not(.sv-kicker) {
    max-width: 720px;
    margin: 0;
    color: var(--sv-muted);
    line-height: 1.6;
}

.sv-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
}

.sv-settings-grid > * {
    min-width: 0;
    max-width: 100%;
    height: 100%;
}

.sv-settings-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    height: 100%;
}

.sv-settings-card:hover,
.sv-settings-card .sv-card:hover {
    transform: none;
}

.sv-settings-card h2,
.sv-settings-card h3 {
    margin: 0;
    color: var(--sv-text);
    line-height: 1.2;
}

.sv-settings-card > .sv-muted,
.sv-settings-card > p {
    margin: 0;
    line-height: 1.65;
}

.sv-settings-card .sv-form-grid {
    gap: 14px;
}

.sv-settings-card .sv-form-actions {
    align-items: center;
    justify-content: flex-start;
    margin-top: 0;
    padding-top: 4px;
}

.sv-settings-card .sv-list {
    margin-top: 0;
}

.sv-settings-card .sv-list li {
    align-items: center;
}

.sv-settings-card form {
    min-width: 0;
}

.sv-settings-card .sv-button {
    min-width: 168px;
}

.sv-workspace-branding-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--sv-border);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(239, 246, 255, .72));
}

.sv-workspace-branding-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 16px;
    background: #ffffff;
}

.sv-workspace-branding-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.sv-workspace-branding-preview strong,
.sv-workspace-branding-preview small {
    display: block;
}

.sv-workspace-branding-preview strong {
    color: var(--sv-text);
    line-height: 1.2;
}

.sv-workspace-branding-preview small {
    margin-top: 4px;
    color: var(--sv-muted);
}

.sv-family-member-emergency-card {
    grid-column: 1 / -1;
    gap: 18px;
}

.sv-emergency-hero {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--sv-border);
}

.sv-emergency-hero h2 {
    margin: 4px 0 8px;
}

.sv-emergency-icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--sv-primary), #7c3aed);
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 18px 30px rgba(37, 99, 235, .22);
}

.sv-emergency-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.sv-emergency-summary {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--sv-border);
    border-radius: 14px;
    background: var(--sv-card-soft);
}

.sv-emergency-summary span {
    color: var(--sv-muted);
    font-size: 13px;
    font-weight: 800;
}

.sv-emergency-summary strong {
    color: var(--sv-text);
    font-size: 24px;
    line-height: 1;
}

.sv-emergency-request-panel {
    display: grid;
    gap: 14px;
    min-height: 0;
}

.sv-emergency-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.sv-emergency-panel-header h3,
.sv-emergency-panel-header p {
    margin: 0;
}

.sv-emergency-panel-header p {
    margin-top: 6px;
}

.sv-emergency-search {
    display: grid;
    gap: 8px;
}

.sv-emergency-search span {
    color: var(--sv-text);
    font-weight: 850;
}

.sv-emergency-search input {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--sv-border);
    border-radius: 14px;
    padding: 0 16px;
    background: #ffffff;
    color: var(--sv-text);
    font: inherit;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.sv-emergency-search input:focus {
    border-color: var(--sv-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.sv-emergency-request-list {
    display: grid;
    gap: 12px;
    max-height: 360px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 4px 8px 4px 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(37, 99, 235, .55) rgba(226, 232, 240, .85);
}

.sv-emergency-request-list::-webkit-scrollbar {
    width: 10px;
}

.sv-emergency-request-list::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, .85);
    border-radius: 999px;
}

.sv-emergency-request-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--sv-primary), #7c3aed);
    border: 2px solid rgba(226, 232, 240, .85);
    border-radius: 999px;
}

.sv-emergency-request-item[hidden],
.sv-emergency-empty[hidden] {
    display: none !important;
}

.sv-emergency-request-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--sv-border);
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.sv-emergency-request-main {
    display: flex;
    align-items: flex-start;
    min-width: 0;
    gap: 12px;
}

.sv-emergency-request-main > div:last-child {
    min-width: 0;
}

.sv-emergency-avatar {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    background: var(--sv-primary-light);
    color: var(--sv-primary-dark);
    font-weight: 900;
}

.sv-emergency-request-main strong,
.sv-emergency-request-main span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv-emergency-request-main strong {
    color: var(--sv-text);
}

.sv-emergency-request-main span,
.sv-emergency-request-meta span:last-child,
.sv-emergency-empty span {
    color: var(--sv-muted);
}

.sv-emergency-request-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    padding-left: 52px;
}

.sv-emergency-request-item form {
    display: flex;
    justify-content: flex-start;
    padding-left: 52px;
}

.sv-emergency-request-item .sv-button {
    width: min(100%, 220px);
    min-width: 0;
}

.sv-emergency-empty {
    display: grid;
    gap: 6px;
    padding: 22px;
    border: 1px dashed var(--sv-border);
    border-radius: 16px;
    background: var(--sv-card-soft);
    text-align: center;
}

.sv-emergency-empty strong {
    color: var(--sv-text);
}

.sv-mfa-card {
    gap: 18px;
}

.sv-mfa-status-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.sv-mfa-status-row strong {
    color: var(--sv-text);
}

.sv-mfa-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
}

.sv-mfa-actions form {
    min-width: 0;
}

.sv-mfa-actions .sv-button {
    width: 100%;
}

.sv-mfa-action-form {
    display: flex;
}

.sv-mfa-inline-form {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 10px;
    align-items: end;
    padding: 14px;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: var(--sv-card-soft);
}

.sv-mfa-inline-form input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    padding: 0 14px;
    background: #ffffff;
}

.sv-mfa-inline-form .sv-field {
    margin: 0;
}

.sv-mfa-inline-form .sv-field span {
    display: block;
    margin-bottom: 8px;
    color: var(--sv-muted-strong);
    font-weight: 800;
}

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

.sv-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.sv-profile-actions {
    justify-content: flex-start;
}

.sv-profile-submit {
    width: 228px;
}

.sv-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--sv-muted-strong);
    font-weight: 800;
}

.sv-field input,
.sv-field select,
.sv-field textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: #ffffff;
    color: var(--sv-text);
    padding: 0 14px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.sv-field textarea {
    min-height: 140px;
    padding-top: 12px;
    resize: vertical;
}

.sv-field input:focus,
.sv-field select:focus,
.sv-field textarea:focus {
    border-color: var(--sv-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.sv-password-toggle-field {
    position: relative;
}

.sv-password-toggle-field input {
    padding-right: 78px;
}

.sv-password-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    width: 66px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-left: 1px solid var(--sv-border);
    border-radius: 0 10px 10px 0;
    background: transparent;
    color: var(--sv-text);
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
    transform: translateY(-50%);
}

.sv-password-toggle:hover,
.sv-password-toggle:focus {
    background: rgba(37, 99, 235, .06);
    color: var(--sv-primary);
    outline: none;
}

.sv-password-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sv-field select[multiple] {
    min-height: 52px;
    height: auto;
    padding: 8px 12px;
}

.sv-field .select2-container {
    width: 100% !important;
    max-width: 100%;
}

.sv-field .select2-container--securevault .select2-selection--single {
    min-height: 46px;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: #ffffff;
    display: flex;
    align-items: center;
    outline: none !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.sv-field .select2-container--securevault .select2-selection--single:focus {
    outline: none !important;
}

.sv-field .select2-container--securevault.select2-container--focus .select2-selection--single,
.sv-field .select2-container--securevault.select2-container--open .select2-selection--single,
.sv-field .select2-container--securevault.select2-container--focus .select2-selection--multiple,
.sv-field .select2-container--securevault.select2-container--open .select2-selection--multiple {
    border-color: var(--sv-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.sv-field .select2-container--securevault .select2-selection__rendered {
    color: var(--sv-text);
    line-height: 46px;
    padding-left: 14px;
    padding-right: 42px;
}

.sv-field .select2-container--securevault .select2-selection__placeholder {
    color: var(--sv-muted);
}

.sv-field .select2-container--securevault .select2-selection__arrow {
    height: 44px;
    right: 12px;
}

.sv-field .select2-container--securevault .select2-selection__clear {
    color: var(--sv-muted);
    font-size: 20px;
    margin-right: 28px;
}

.sv-field .select2-container--securevault .select2-selection--multiple {
    min-height: 52px;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: #ffffff;
    display: block;
    padding: 7px 10px;
    cursor: text;
    outline: none !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.sv-field .select2-container--securevault .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-height: 36px;
    padding: 0;
    margin: 0;
    line-height: 1.2;
}

.sv-field .select2-container--securevault .select2-selection--multiple .select2-search--inline {
    display: flex;
    align-items: center;
    min-height: 32px;
    margin: 0;
}

.sv-field .select2-container--securevault .select2-selection--multiple .select2-search__field {
    width: 100% !important;
    min-width: min(260px, 100%);
    min-height: 32px;
    margin: 0;
    border: 0;
    padding: 0 4px;
    color: var(--sv-text);
    font: inherit;
}

.sv-field .select2-container--securevault .select2-selection--multiple .select2-search__field:focus {
    box-shadow: none;
}

.sv-field .select2-container--securevault .select2-selection--multiple .select2-selection__choice {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    margin: 0;
    border: 1px solid rgba(37, 99, 235, .22);
    border-radius: 999px;
    background: var(--sv-light-blue);
    color: var(--sv-dark-blue);
    padding: 0 10px;
    font-size: 13px;
    font-weight: 800;
}

.sv-field .select2-container--securevault .select2-selection--multiple .select2-selection__choice__remove {
    order: 2;
    border: 0;
    color: var(--sv-dark-blue);
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1;
}

.select2-container--securevault .select2-dropdown {
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    box-shadow: var(--sv-shadow-soft);
    overflow: hidden;
    z-index: 1200;
    max-width: min(720px, calc(100vw - 32px));
}

.select2-container--securevault .select2-dropdown.sv-family-member-dropdown,
.select2-container--securevault .select2-dropdown.sv-share-resource-dropdown {
    max-width: min(720px, calc(100vw - 32px));
}

.select2-container--securevault .select2-search--dropdown {
    padding: 10px;
}

.select2-container--securevault .select2-search--dropdown .select2-search__field {
    min-height: 40px;
    border: 1px solid var(--sv-border);
    border-radius: 10px;
    padding: 0 12px;
    outline: none !important;
}

.select2-container--securevault .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--sv-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

.select2-container--securevault .select2-results__option {
    padding: 10px 14px;
    color: var(--sv-text);
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
}

.select2-container--securevault .select2-results > .select2-results__options {
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
}

.select2-container--securevault .select2-results__option--highlighted[aria-selected] {
    background: var(--sv-primary);
    color: #ffffff;
}

.select2-container--securevault .select2-results__option[aria-selected="true"] {
    background: var(--sv-light-blue);
    color: var(--sv-dark-blue);
}

.sv-select2-fallback {
    min-height: 46px;
}

.sv-check-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--sv-muted-strong);
    line-height: 1.5;
}

.sv-check-field input { margin-top: 4px; }

.sv-alert {
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: #ffffff;
    padding: 14px 16px;
    margin: 16px auto;
    box-shadow: var(--sv-shadow-soft);
}

.sv-alert-success { border-color: rgba(34, 197, 94, .45); }
.sv-alert-danger { border-color: rgba(239, 68, 68, .45); }
.sv-alert-warning { border-color: rgba(245, 158, 11, .55); }

.sv-cta-band {
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: linear-gradient(135deg, #ffffff, var(--sv-primary-light));
    padding: 42px;
    box-shadow: var(--sv-shadow-soft);
}

.sv-footer {
    border-width: 1px 0 0;
    background: var(--sv-bg-secondary);
}

.sv-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(2, 1fr);
    gap: 28px;
    padding: 46px 0;
}

.sv-footer .sv-footer-inner {
    border-top: 1px solid var(--sv-border);
}

.sv-footer a { color: var(--sv-muted); }
.sv-footer a:hover { color: var(--sv-primary-dark); }

.sv-auth-shell {
    height: 100vh;
    height: 100dvh;
    display: grid;
    place-items: center;
    padding: 20px 16px;
    background: var(--sv-bg-secondary);
    overflow-x: hidden;
    overflow-y: auto;
}

.sv-auth-panel { width: min(480px, 100%); }

.sv-auth-panel > .sv-brand {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.sv-auth-panel > .sv-brand .sv-brand-logo {
    width: 64px;
    height: 60px;
    object-position: center;
}

.sv-auth-panel > .sv-brand .sv-brand-name {
    max-width: 100%;
    font-size: 24px;
}

.sv-auth-header {
    margin: 18px 0;
}

.sv-auth-header h1 {
    margin: 0 0 8px;
    font-size: 32px;
}

.sv-dashboard-shell {
    height: 100vh;
    display: grid;
    grid-template-columns: 284px 1fr;
    background: var(--sv-bg-secondary);
    overflow: hidden;
}

.sv-sidebar-backdrop {
    display: none;
}

.sv-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    background: #ffffff;
    border-right: 1px solid var(--sv-border);
    padding: 22px;
    box-shadow: 10px 0 30px rgba(15, 23, 42, .035);
    overflow-y: auto;
}

.sv-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sv-sidebar-head .sv-brand {
    flex: 1 1 auto;
}

.sv-sidebar-head .sv-brand-name {
    max-width: 150px;
}

.sv-sidebar-close,
.sv-sidebar-toggle {
    display: none;
}

.sv-sidebar-section { margin-top: 26px; }

.sv-sidebar-label {
    margin: 0 0 10px;
    color: var(--sv-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.sv-sidebar-nav { display: grid; gap: 7px; }

.sv-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 0 12px;
    border-radius: var(--sv-radius);
    color: var(--sv-muted-strong);
    transition: background .18s ease, color .18s ease;
    border-left: 3px solid transparent;
}

.sv-sidebar-link:hover,
.sv-sidebar-link[aria-current="page"] {
    background: var(--sv-primary-light);
    color: var(--sv-primary-dark);
    border-left-color: var(--sv-primary);
}

.sv-sidebar-download {
    border-color: rgba(37, 99, 235, .24);
    background: var(--sv-primary);
    color: #ffffff;
}

.sv-sidebar-download:hover {
    background: var(--sv-primary-dark);
    color: #ffffff;
}

.sv-dashboard-main {
    min-width: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 24px;
}

.sv-dashboard-topbar {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--sv-border);
    margin: -24px -24px 24px;
    padding: 0 24px;
    background: #ffffff;
}

.sv-dashboard-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sv-dropdown-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sv-dashboard-search {
    min-width: 220px;
}

.sv-icon-button {
    width: 42px;
    height: 42px;
    border-radius: var(--sv-radius);
    border: 1px solid var(--sv-border);
    background: #ffffff;
    color: var(--sv-primary-dark);
}

.sv-profile-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: #ffffff;
    padding: 7px 10px;
}

.sv-avatar {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--sv-primary);
    color: #ffffff;
    font-weight: 800;
}

.sv-auth-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--sv-primary-dark);
    font-weight: 700;
    font-size: 14px;
}

.sv-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.sv-toolbar-break {
    flex-basis: 100%;
    justify-content: flex-end;
}

.sv-create-panel {
    margin-bottom: 18px;
}

.sv-create-summary {
    display: none;
}

.sv-create-panel:not([open]) {
    display: none;
}

.sv-filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sv-filter-row .sv-field {
    min-width: min(220px, 100%);
}

.sv-team-toolbar {
    align-items: center;
}

.sv-team-toolbar-actions {
    margin-left: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.sv-team-toolbar-actions .sv-field {
    width: min(360px, 34vw);
    min-width: 280px;
}

.sv-team-toolbar-actions .sv-button {
    white-space: nowrap;
}

.sv-table-card {
    overflow-x: auto;
    overflow-y: visible;
    padding: 0;
    margin-top: 16px;
}

.sv-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.sv-table th,
.sv-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--sv-border);
    text-align: left;
    vertical-align: top;
}

.sv-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fafc;
    color: var(--sv-muted);
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.sv-table tbody tr {
    transition: background .16s ease;
}

.sv-table tbody tr:hover {
    background: #f8fafc;
}

.sv-table tr:last-child td {
    border-bottom: 0;
}

.sv-table-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 220px;
}

.sv-one-line {
    display: inline-block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.sv-shared-by-me-actions {
    align-items: center;
    min-width: 0;
    flex-wrap: nowrap;
}

.sv-shared-by-me-dialog .sv-dialog-panel {
    width: min(520px, calc(100vw - 32px));
}

.sv-shared-by-me-dialog .sv-form-grid {
    grid-template-columns: 1fr;
}

.sv-shared-by-me-table .sv-table {
    table-layout: fixed;
}

.sv-shared-by-me-table .sv-table th,
.sv-shared-by-me-table .sv-table td {
    vertical-align: middle;
}

.sv-shared-by-me-table .sv-table th:nth-child(1),
.sv-shared-by-me-table .sv-table td:nth-child(1) {
    width: 24%;
}

.sv-shared-by-me-table .sv-table th:nth-child(2),
.sv-shared-by-me-table .sv-table td:nth-child(2) {
    width: 24%;
}

.sv-shared-by-me-table .sv-table th:nth-child(3),
.sv-shared-by-me-table .sv-table td:nth-child(3),
.sv-shared-by-me-table .sv-table th:nth-child(4),
.sv-shared-by-me-table .sv-table td:nth-child(4) {
    width: 14%;
}

.sv-shared-by-me-table .sv-table th:nth-child(5),
.sv-shared-by-me-table .sv-table td:nth-child(5) {
    width: 12%;
}

.sv-shared-by-me-table .sv-table th:nth-child(6),
.sv-shared-by-me-table .sv-table td:nth-child(6) {
    width: 12%;
}

.sv-business-settings-grid,
.sv-business-workspace-summary,
.sv-employee-settings-grid,
.sv-employee-team-grid,
.sv-family-settings-grid {
    align-items: start;
}

.sv-business-settings-grid > *,
.sv-business-workspace-summary > *,
.sv-employee-settings-grid > *,
.sv-employee-team-grid > *,
.sv-family-settings-grid > * {
    min-width: 0;
}

.sv-business-settings-grid .sv-form-actions,
.sv-employee-settings-grid .sv-form-actions,
.sv-family-settings-grid .sv-form-actions {
    flex-wrap: wrap;
}

.sv-table-actions .sv-action-menu summary {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 13px;
}

.sv-field [type="search"] + select,
.sv-field select[data-employee-select] {
    margin-top: 10px;
}

.sv-employee-picker {
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.sv-employee-search {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--sv-border);
    border-radius: 12px;
    padding: 0 14px;
    outline: none;
}

.sv-employee-search:focus {
    border-color: var(--sv-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.sv-employee-options {
    display: grid;
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px;
    border: 1px solid var(--sv-border);
    border-radius: 14px;
    background: var(--sv-card-soft);
    min-width: 0;
}

.sv-employee-option {
    cursor: pointer;
    min-width: 0;
}

.sv-employee-option[hidden],
.sv-employee-empty[hidden] {
    display: none !important;
}

.sv-employee-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sv-employee-option-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid var(--sv-border);
    border-radius: 12px;
    background: #ffffff;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, color .16s ease;
    min-width: 0;
}

.sv-employee-option-body strong,
.sv-employee-option-body small {
    display: block;
    overflow-wrap: anywhere;
}

.sv-employee-option-body small {
    color: var(--sv-muted);
    margin-top: 2px;
    overflow-wrap: anywhere;
}

.sv-employee-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--sv-primary-light);
    color: var(--sv-primary);
    opacity: 0;
    transform: scale(.8);
    transition: opacity .16s ease, transform .16s ease;
    flex: 0 0 auto;
    font-weight: 900;
}

.sv-employee-option input:checked + .sv-employee-option-body {
    border-color: var(--sv-primary);
    background: var(--sv-primary);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(37, 99, 235, .18);
}

.sv-employee-option input:checked + .sv-employee-option-body small {
    color: rgba(255, 255, 255, .86);
}

.sv-employee-option input:checked + .sv-employee-option-body .sv-employee-check {
    background: #ffffff;
    color: var(--sv-primary);
    opacity: 1;
    transform: scale(1);
}

.sv-employee-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 32px;
    min-width: 0;
}

.sv-employee-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(37, 99, 235, .22);
    border-radius: 999px;
    background: var(--sv-primary-light);
    color: var(--sv-primary-dark);
    padding: 7px 10px;
    font-weight: 800;
    cursor: pointer;
    max-width: 100%;
}

.sv-employee-chip small {
    color: var(--sv-muted);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.sv-member-selection {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-height: min(320px, 46vh);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px;
    border: 1px solid var(--sv-border);
    border-radius: 14px;
    background: var(--sv-card-soft);
}

.sv-member-option {
    position: relative;
    min-width: 0;
    cursor: pointer;
}

.sv-member-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sv-member-option span {
    display: block;
    min-height: 62px;
    padding: 12px 14px;
    border: 1px solid var(--sv-border);
    border-radius: 12px;
    background: #ffffff;
    transition: border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

.sv-member-option strong,
.sv-member-option small {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.sv-member-option small {
    margin-top: 3px;
    color: var(--sv-muted);
}

.sv-member-option input:checked + span {
    border-color: var(--sv-primary);
    background: var(--sv-primary);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .18);
}

.sv-member-option input:checked + span::after {
    content: "Selected";
    display: inline-flex;
    margin-top: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.sv-member-option input:checked + span small {
    color: rgba(255, 255, 255, .82);
}

.sv-table-actions form {
    display: inline-flex;
    margin: 0;
}

.sv-action-menu {
    position: relative;
    display: inline-block;
}

.sv-action-menu summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid var(--sv-border);
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    color: var(--sv-primary-dark);
    font-weight: 800;
    list-style: none;
    white-space: nowrap;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.sv-action-menu summary::-webkit-details-marker {
    display: none;
}

.sv-action-menu summary:hover {
    border-color: var(--sv-primary);
    background: var(--sv-primary-light);
    box-shadow: 0 10px 22px rgba(37, 99, 235, .12);
}

.sv-action-panel {
    display: grid;
    gap: 10px;
    margin-top: 10px;
    padding: 14px;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: #ffffff;
    box-shadow: var(--sv-shadow-soft);
    min-width: min(360px, 78vw);
    max-width: 460px;
}

.sv-table .sv-action-panel {
    min-width: min(360px, 70vw);
}

.sv-action-menu form {
    margin: 0;
}

.sv-action-menu input,
.sv-action-menu select,
.sv-action-menu textarea {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--sv-border);
    border-radius: 10px;
    padding: 8px 10px;
}

.sv-admin-user-actions {
    min-width: 132px;
}

.sv-admin-manage-menu {
    width: 100%;
}

.sv-admin-manage-menu summary {
    width: 100%;
    min-width: 112px;
}

.sv-admin-manage-panel {
    gap: 8px;
    min-width: min(240px, 72vw);
    padding: 12px;
}

.sv-admin-manage-header {
    display: grid;
    gap: 3px;
    padding: 0 2px 8px;
    border-bottom: 1px solid var(--sv-border);
    margin-bottom: 2px;
}

.sv-admin-manage-header span {
    color: var(--sv-text);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
}

.sv-admin-manage-header small {
    color: var(--sv-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.sv-admin-manage-panel .sv-button,
.sv-admin-manage-panel form,
.sv-admin-manage-panel form .sv-button {
    width: 100%;
}

.sv-admin-manage-panel .sv-button {
    justify-content: center;
}

.sv-admin-actions-dialog {
    width: min(560px, calc(100vw - 32px));
}

.sv-admin-actions-panel {
    display: grid;
    gap: 18px;
    width: 100%;
}

.sv-admin-actions-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.sv-admin-actions-summary > div {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--sv-border);
    border-radius: 14px;
    background: var(--sv-card-soft);
}

.sv-admin-actions-summary span {
    color: var(--sv-muted);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.sv-admin-actions-summary strong {
    color: var(--sv-text);
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.sv-admin-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.sv-admin-actions-grid form {
    display: flex;
    margin: 0;
}

.sv-admin-actions-grid .sv-button,
.sv-admin-actions-grid form .sv-button {
    width: 100%;
    justify-content: center;
}

.sv-plan-actions {
    min-width: 260px;
}

.sv-dialog {
    width: min(720px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: transparent;
    overflow: visible;
}

.sv-dialog::backdrop {
    background: rgba(15, 23, 42, .45);
    backdrop-filter: blur(3px);
}

.sv-confirm-dialog {
    width: min(480px, calc(100vw - 32px));
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: transparent;
    overflow: visible;
}

.sv-confirm-dialog::backdrop {
    background: rgba(15, 23, 42, .52);
    backdrop-filter: blur(3px);
}

.sv-confirm-dialog-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    padding: 28px;
    border: 1px solid var(--sv-border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .26);
}

.sv-confirm-dialog-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--sv-primary-light);
    color: var(--sv-primary-dark);
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
}

.sv-confirm-dialog-icon.is-danger {
    background: #fef2f2;
    color: var(--sv-danger);
}

.sv-confirm-dialog h2 {
    margin: 3px 0 8px;
    color: var(--sv-text);
    font-size: 20px;
}

.sv-confirm-dialog p {
    margin: 0;
    color: var(--sv-muted-strong);
    line-height: 1.6;
}

.sv-confirm-dialog-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 6px;
}

.sv-share-master-panel {
    width: min(560px, calc(100vw - 32px));
}

.sv-share-master-field {
    display: grid;
    grid-column: 1 / -1;
    gap: 8px;
}

.sv-share-master-field label {
    color: var(--sv-text);
    font-weight: 850;
}

.sv-password-confirm-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.sv-password-confirm-wrap input {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--sv-border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--sv-text);
    font: inherit;
    padding: 0 16px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.sv-password-confirm-wrap input:focus {
    border-color: var(--sv-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.sv-share-master-error {
    margin: 0;
    color: var(--sv-danger);
    font-size: 14px;
    font-weight: 800;
}

.sv-share-form-error {
    margin: 0 0 18px;
}

.sv-button-danger-solid {
    border-color: var(--sv-danger);
    background: var(--sv-danger);
    color: #ffffff;
}

.sv-button-danger-solid:hover {
    background: #dc2626;
    box-shadow: 0 12px 24px rgba(239, 68, 68, .2);
}

.sv-dialog-panel {
    max-height: calc(100vh - 48px);
    overflow: auto;
    margin: 0;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .22);
}

.sv-dialog-panel.sv-form-panel {
    width: 100%;
}

.sv-dialog .sv-employee-options {
    max-height: min(260px, 38vh);
}

.sv-family-member-dialog {
    display: grid;
    gap: 18px;
}

.sv-family-member-dialog-actions {
    align-items: center;
    justify-content: flex-end;
}

.sv-family-member-dialog-actions .sv-button,
.sv-family-member-remove-form .sv-button {
    width: 168px;
}

.sv-family-member-remove-form {
    display: flex;
    justify-content: flex-end;
    padding-top: 16px;
    border-top: 1px solid var(--sv-border);
}

.sv-dashboard-section {
    margin-top: 18px;
}

.sv-employee-hero,
.sv-workspace-panel,
.sv-family-shared-panel,
.sv-family-personal-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 26px;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--sv-shadow-soft);
}

.sv-employee-hero h2,
.sv-workspace-panel h2,
.sv-family-shared-panel h2,
.sv-family-personal-panel h2 {
    margin: 12px 0 8px;
}

.sv-employee-hero p,
.sv-workspace-panel p,
.sv-family-shared-panel p,
.sv-family-personal-panel p {
    max-width: 760px;
    margin: 0;
    color: var(--sv-muted);
}

.sv-family-shared-panel {
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.sv-family-personal-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.sv-employee-hero-panel {
    min-width: 190px;
    padding: 18px;
    border: 1px solid rgba(37, 99, 235, .24);
    border-radius: 16px;
    background: var(--sv-primary-light);
    color: var(--sv-dark-blue);
}

.sv-employee-hero-panel span {
    display: block;
    margin-bottom: 6px;
    color: var(--sv-muted);
    font-size: .86rem;
    font-weight: 700;
    text-transform: uppercase;
}

.sv-employee-hero-panel strong {
    display: block;
    font-size: 1.1rem;
}

.sv-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 14px;
    background: #eef2ff;
    color: var(--sv-dark-blue);
    font-weight: 800;
    letter-spacing: 0;
}

.sv-info-icon-blue {
    background: var(--sv-primary-light);
    color: var(--sv-primary);
}

.sv-info-icon-green {
    background: #dcfce7;
    color: #15803d;
}

.sv-info-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.sv-info-card-title h3 {
    margin: 0;
}

.sv-empty-state {
    padding: 18px;
    border: 1px dashed var(--sv-border);
    border-radius: 14px;
    background: var(--sv-card-soft);
}

.sv-empty-state h3 {
    margin: 0 0 8px;
}

.sv-empty-state-compact {
    min-height: 0;
    padding: 18px;
}

.sv-empty-state-compact h3 {
    margin-bottom: 0;
}

.sv-responsive-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.sv-list-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--sv-border);
    border-radius: 14px;
    background: var(--sv-card-soft);
}

.sv-list-card div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.sv-list-card span:not(.sv-status-pill) {
    color: var(--sv-muted);
}

.sv-sharing-overview-grid {
    align-items: stretch;
}

.sv-sharing-table-section {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.sv-sharing-section-card {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.sv-sharing-section-card > .sv-card-header {
    padding: 22px 24px;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: #ffffff;
    box-shadow: var(--sv-shadow-soft);
}

.sv-sharing-section-card .sv-table-card {
    margin-top: 0;
}

.sv-sharing-table .sv-table {
    min-width: 900px;
}

.sv-family-sharing-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.sv-share-summary-card {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: #ffffff;
    box-shadow: var(--sv-shadow-soft);
}

.sv-share-summary-card span {
    color: var(--sv-muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.sv-share-summary-card strong {
    color: var(--sv-text);
    font-size: 34px;
    line-height: 1;
}

.sv-share-summary-card small {
    color: var(--sv-muted);
    line-height: 1.45;
}

.sv-family-sharing-tabs {
    display: grid;
    gap: 18px;
    min-width: 0;
    max-width: 100%;
}

.sv-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: #ffffff;
    box-shadow: var(--sv-shadow-soft);
    min-width: 0;
    max-width: 100%;
}

.sv-tab-button {
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 0 18px;
    background: transparent;
    color: var(--sv-muted-strong);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.sv-tab-button:hover {
    border-color: rgba(37, 99, 235, .22);
    color: var(--sv-primary);
}

.sv-tab-button.is-active {
    background: var(--sv-primary);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .20);
}

.sv-tab-panel {
    display: grid;
    gap: 18px;
    min-width: 0;
    max-width: 100%;
}

.sv-tab-panel[hidden] {
    display: none !important;
}

.sv-family-folder-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: end;
}

.sv-family-share-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
    align-items: start;
    min-width: 0;
    max-width: 100%;
}

.sv-family-share-form-grid > * {
    min-width: 0;
}

.sv-family-share-form-grid > .sv-family-member-select-field.sv-field {
    grid-column: 1 / -1;
}

.sv-family-share-form-grid > .sv-family-recipient-scope-field.sv-field {
    grid-column: 1 / -1;
}

.sv-family-share-form-grid > .sv-business-recipient-select-field.sv-field {
    grid-column: 1 / -1;
}

.sv-field-label {
    display: block;
    margin-bottom: 8px;
    color: var(--sv-text);
    font-weight: 700;
}

.sv-recipient-scope-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.sv-recipient-scope-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--sv-border);
    border-radius: 14px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.sv-recipient-scope-option:has(input:checked) {
    border-color: var(--sv-primary);
    background: var(--sv-light-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}

.sv-recipient-scope-option input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--sv-primary);
    flex: 0 0 auto;
}

.sv-recipient-scope-option strong,
.sv-recipient-scope-option small {
    display: block;
    min-width: 0;
}

.sv-recipient-scope-option strong {
    color: var(--sv-text);
    font-weight: 700;
    line-height: 1.25;
}

.sv-recipient-scope-option small {
    margin-top: 4px;
    color: var(--sv-muted);
    line-height: 1.35;
}

.sv-business-recipient-mode-options .sv-recipient-scope-option {
    min-height: 88px;
}

.sv-share-field-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.sv-share-field-heading label {
    margin: 0 0 4px;
}

.sv-share-field-heading small {
    display: block;
    color: var(--sv-muted);
    line-height: 1.4;
}

.sv-share-selected-preview {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid var(--sv-border);
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.sv-share-selected-preview[hidden] {
    display: none !important;
}

.sv-share-selected-preview > span {
    color: var(--sv-muted-strong);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.sv-share-selected-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.sv-share-selected-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    padding: 7px 9px;
    border: 1px solid rgba(37, 99, 235, .20);
    border-radius: 999px;
    background: var(--sv-light-blue);
    color: var(--sv-dark-blue);
}

.sv-share-selected-chip-avatar,
.sv-select2-recipient-avatar {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: #ffffff;
    color: var(--sv-primary);
    font-size: 12px;
    font-weight: 900;
    flex: 0 0 auto;
}

.sv-share-selected-chip-text,
.sv-select2-recipient-body {
    display: grid;
    min-width: 0;
}

.sv-share-selected-chip-text strong,
.sv-select2-recipient-body strong {
    color: var(--sv-text);
    font-size: 13px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv-share-selected-chip-text small,
.sv-select2-recipient-body small {
    color: var(--sv-muted);
    font-size: 12px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv-share-selected-chip-remove {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background: rgba(37, 99, 235, .12);
    color: var(--sv-dark-blue);
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.sv-select2-recipient-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.select2-container--securevault .select2-dropdown.sv-business-recipient-dropdown {
    max-width: min(760px, calc(100vw - 32px));
}

.sv-family-share-form-grid > .sv-share-resource-field.sv-field {
    grid-column: auto;
}

.sv-family-sharing-table .sv-table {
    min-width: 980px;
}

.sv-share-list-stack,
.sv-list-stack {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.sv-share-access-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--sv-border);
    border-radius: 14px;
    background: var(--sv-card-soft);
}

.sv-share-access-row > div:first-child {
    min-width: 0;
}

.sv-share-access-row strong {
    display: block;
    color: var(--sv-text);
    overflow-wrap: anywhere;
}

.sv-share-access-row p {
    margin-top: 4px;
}

.sv-feature-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.sv-feature-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--sv-border);
    border-radius: 999px;
    background: var(--sv-card-soft);
    color: var(--sv-muted);
    font-weight: 800;
}

.sv-feature-strip span.is-active {
    border-color: rgba(37, 99, 235, .34);
    background: var(--sv-primary-light);
    color: var(--sv-dark-blue);
}

.sv-dialog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.sv-dialog-header h3 {
    margin: 0 0 4px;
}

.sv-dialog-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--sv-border);
    border-radius: 999px;
    background: #fff;
    color: var(--sv-text);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.sv-dialog-close:hover {
    border-color: var(--sv-primary);
    color: var(--sv-primary);
    background: var(--sv-primary-light);
}

.sv-card-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.sv-tool-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.sv-tool-output,
.sv-tool-result {
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: var(--sv-bg-secondary);
    padding: 16px;
    min-height: 64px;
    overflow-wrap: anywhere;
}

.sv-tool-output code {
    color: var(--sv-text);
    font-weight: 800;
    line-height: 1.6;
}

.sv-tool-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.sv-character-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0;
    color: var(--sv-muted-strong);
    font-size: 14px;
}

.sv-strength-meter {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.sv-strength-meter span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--sv-danger);
    transition: width .2s ease, background .2s ease;
}

.sv-strength-meter span[data-strength="medium"] {
    background: var(--sv-warning);
}

.sv-strength-meter span[data-strength="strong"] {
    background: var(--sv-success);
}

.sv-permission-list {
    display: grid;
    gap: 10px;
    max-height: 360px;
    overflow: auto;
    margin: 14px 0;
    padding-right: 6px;
}

.sv-step-grid,
.sv-permission-grid {
    display: grid;
    gap: 12px;
}

.sv-step-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 16px 0 22px;
}

.sv-step-grid span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 12px;
    background: var(--sv-primary-light);
    color: var(--sv-dark-blue);
    font-size: 13px;
    font-weight: 800;
}

.sv-permission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
}

.sv-permission-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid var(--sv-border);
    border-radius: 12px;
    background: #ffffff;
    color: var(--sv-muted);
    font-size: 14px;
    font-weight: 700;
}

.sv-permission-card {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--sv-border);
    border-radius: 14px;
    background: var(--sv-card-soft);
}

.sv-permission-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin: -14px -14px 10px;
    padding: 14px;
    border-bottom: 1px solid var(--sv-border);
    background: var(--sv-card-soft);
}

.sv-permission-card h4 {
    margin: 0;
}

.sv-permission-card small {
    display: block;
    margin-top: 3px;
    color: var(--sv-muted);
    font-size: 12px;
    font-weight: 700;
}

.sv-link-button {
    border: 0;
    background: transparent;
    color: var(--sv-primary);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    padding: 3px 0;
}

.sv-link-button:hover {
    color: var(--sv-dark-blue);
}

.sv-permission-option {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 42px;
    margin-bottom: 8px;
    padding: 10px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #ffffff;
    color: var(--sv-muted-strong);
    font-weight: 750;
    line-height: 1.25;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.sv-permission-option:last-child {
    margin-bottom: 0;
}

.sv-permission-option:hover {
    border-color: rgba(37, 99, 235, .28);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.sv-permission-option.is-selected {
    border-color: rgba(37, 99, 235, .42);
    background: var(--sv-primary-light);
    color: var(--sv-dark-blue);
}

.sv-permission-option input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--sv-primary);
}

.sv-permission-option span {
    overflow-wrap: anywhere;
}

.sv-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: #ffffff;
    box-shadow: var(--sv-shadow-soft);
}

.sv-pagination-summary {
    margin: 0;
    color: var(--sv-muted);
    font-size: 14px;
    font-weight: 700;
}

.sv-pagination-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.sv-page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--sv-border);
    border-radius: 10px;
    background: #ffffff;
    color: var(--sv-muted-strong);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.sv-page-button:hover {
    border-color: var(--sv-primary);
    color: var(--sv-primary-dark);
    box-shadow: 0 10px 22px rgba(37, 99, 235, .12);
}

.sv-page-button.is-active {
    border-color: var(--sv-primary);
    background: var(--sv-primary);
    color: #ffffff;
}

.sv-page-button.is-disabled {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}

.sv-status-indicator,
.sv-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 28px;
    border-radius: 999px;
    padding: 5px 11px;
    background: var(--sv-primary-light);
    color: var(--sv-primary-dark);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    vertical-align: middle;
}

.sv-status-indicator::before,
.sv-status-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 999px;
    background: currentColor;
    opacity: .9;
}

.sv-status-success {
    background: #dcfce7;
    color: #15803d;
}

.sv-status-warning {
    background: #fef3c7;
    color: #b45309;
}

.sv-install-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
    gap: 24px;
    align-items: stretch;
}

.sv-install-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
}

.sv-extension-status-card {
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: var(--sv-card-soft);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sv-install-steps {
    display: grid;
    gap: 14px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.sv-install-steps li {
    border: 1px solid var(--sv-border);
    border-radius: 12px;
    background: var(--sv-card-soft);
    padding: 16px;
}

.sv-install-steps strong,
.sv-install-steps span {
    display: block;
}

.sv-install-steps strong {
    color: var(--sv-text);
    margin-bottom: 6px;
}

.sv-install-steps span {
    color: var(--sv-muted);
    line-height: 1.55;
}

.sv-install-steps code {
    color: var(--sv-primary-dark);
    font-weight: 800;
}

.sv-fade-in {
    animation: svFadeIn .5s ease both;
}

/* Presentation-only polish: tighter rhythm, cleaner hierarchy, and safer responsive sizing. */
.sv-dashboard-main {
    padding: 20px;
}

.sv-dashboard-topbar {
    min-height: 64px;
    margin: -20px -20px 20px;
    padding: 0 20px;
}

.sv-dashboard-title-row h1,
.sv-dashboard-topbar h1,
.sv-toolbar h2,
.sv-settings-header h2,
.sv-card h2,
.sv-form-panel h2 {
    font-size: clamp(24px, 2.1vw, 32px);
    line-height: 1.15;
    letter-spacing: 0;
}

.sv-card h3,
.sv-feature-card h3,
.sv-pricing-card h3,
.sv-form-panel h3,
.sv-share-card-header h3 {
    font-size: clamp(19px, 1.45vw, 24px);
    line-height: 1.22;
    letter-spacing: 0;
}

.sv-dashboard-topbar p,
.sv-toolbar p,
.sv-card p,
.sv-feature-card p,
.sv-pricing-card p,
.sv-form-panel p,
.sv-muted {
    line-height: 1.55;
}

.sv-grid {
    gap: 16px;
}

.sv-dashboard-section {
    margin-top: 16px;
}

.sv-card,
.sv-feature-card,
.sv-pricing-card {
    padding: 20px;
}

.sv-form-panel,
.sv-share-card {
    padding: 22px;
}

.sv-card,
.sv-form-panel,
.sv-table-card,
.sv-dialog-panel {
    min-width: 0;
}

.sv-card > :last-child,
.sv-form-panel > :last-child {
    margin-bottom: 0;
}

.sv-button {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 11px;
    font-size: 15px;
}

.sv-button-compact {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
}

.sv-form-row,
.sv-form-grid,
.sv-share-form,
.sv-settings-page {
    gap: 14px;
}

.sv-field label {
    margin-bottom: 7px;
    line-height: 1.3;
}

.sv-field input,
.sv-field select,
.sv-field textarea,
.sv-field .select2-container--securevault .select2-selection--single {
    min-height: 44px;
    border-radius: 11px;
}

.sv-field textarea {
    min-height: 112px;
}

.sv-toolbar {
    gap: 12px;
    margin-bottom: 16px;
}

.sv-filter-row {
    gap: 9px;
}

.sv-table-card {
    border-radius: var(--sv-radius);
}

.sv-table {
    min-width: min(720px, 100%);
}

.sv-table th,
.sv-table td {
    padding: 13px 16px;
    line-height: 1.45;
}

.sv-table th {
    font-size: 11px;
}

.sv-table-actions {
    gap: 7px;
    min-width: 0;
}

.sv-status-pill,
.sv-badge,
.sv-status-indicator {
    line-height: 1;
    white-space: nowrap;
}

.sv-settings-grid {
    gap: 16px;
}

.sv-settings-card {
    gap: 14px;
}

.sv-settings-card .sv-button {
    min-width: 150px;
}

.sv-sidebar {
    padding: 20px;
}

.sv-sidebar-section {
    margin-top: 22px;
}

.sv-sidebar-nav {
    gap: 6px;
}

.sv-sidebar-link {
    min-height: 46px;
}

@keyframes svFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1020px) {
    .sv-grid-4,
    .sv-grid-3,
    .sv-step-grid,
    .sv-permission-grid,
    .sv-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .sv-install-hero { grid-template-columns: 1fr; }
}

@media (max-width: 1180px) {
    .sv-dashboard-main {
        padding: 18px;
    }

    .sv-dashboard-topbar {
        margin: -18px -18px 18px;
        padding: 0 18px;
    }

    .sv-settings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1320px) {
    .sv-share-form-grid,
    .sv-family-share-form-grid {
        grid-template-columns: 1fr;
    }

    .sv-family-share-form-grid > .sv-family-member-select-field.sv-field,
    .sv-family-share-form-grid > .sv-family-recipient-scope-field.sv-field,
    .sv-family-share-form-grid > .sv-business-recipient-select-field.sv-field,
    .sv-family-share-form-grid > .sv-share-resource-field.sv-field {
        grid-column: 1 / -1;
    }
}

@media (max-width: 800px) {
    .sv-dashboard-body {
        overflow: auto;
    }

    .sv-section { padding: 56px 0; }
    .sv-hero { padding: 54px 0 42px; }
    .sv-home-hero {
        margin-top: 18px;
        border-radius: 22px;
    }

    .sv-home-hero::before {
        background-size: 56px 56px;
    }

    .sv-nav-inner {
        min-height: 68px;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 0;
    }

    .sv-footer-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 0;
    }

    .sv-public-nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .sv-public-nav-menu {
        display: none;
        order: 3;
        width: 100%;
        margin: 4px 0 0;
        padding: 14px;
        border: 1px solid var(--sv-border);
        border-radius: calc(var(--sv-radius) + 2px);
        background: rgba(255, 255, 255, .98);
        box-shadow: var(--sv-shadow-soft);
    }

    .sv-public-nav-menu.is-open {
        display: grid;
        gap: 12px;
    }

    .sv-nav-links,
    .sv-nav-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .sv-nav-links a {
        width: 100%;
        padding: 10px 12px;
        border-radius: 10px;
    }

    .sv-nav-links a:hover,
    .sv-nav-links a[aria-current="page"] {
        background: var(--sv-primary-light);
    }

    .sv-nav-actions .sv-button {
        width: 100%;
    }

    .sv-grid-2,
    .sv-grid-3,
    .sv-grid-4,
    .sv-step-grid,
    .sv-permission-grid,
    .sv-footer-grid,
    .sv-form-row,
    .sv-dashboard-shell { grid-template-columns: 1fr; }

    .sv-dashboard-shell {
        display: block;
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .sv-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        height: 100vh;
        z-index: 70;
        width: min(84vw, 320px);
        transform: translateX(-105%);
        transition: transform .22s ease;
        border-right: 1px solid var(--sv-border);
        border-bottom: 0;
    }

    .sv-sidebar-open .sv-sidebar {
        transform: translateX(0);
    }

    .sv-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 60;
        background: rgba(15, 23, 42, .38);
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease;
    }

    .sv-sidebar-open .sv-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .sv-sidebar-close,
    .sv-sidebar-toggle {
        display: inline-grid;
        place-items: center;
    }

    .sv-dashboard-main {
        min-height: 100vh;
        height: auto;
        overflow-y: visible;
        padding: 16px;
    }

    .sv-dashboard-topbar {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding: 16px;
        margin: -16px -16px 18px;
    }

    .sv-dropdown-row {
        width: 100%;
        flex-wrap: wrap;
    }

    .sv-dashboard-search {
        flex: 1 1 100%;
        min-width: 0;
    }

    .sv-profile-chip {
        max-width: 100%;
    }

    .sv-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .sv-filter-row,
    .sv-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .sv-button,
    .sv-filter-row .sv-field,
    .sv-actions .sv-button {
        width: 100%;
    }

    .sv-card,
    .sv-feature-card,
    .sv-pricing-card,
    .sv-form-panel,
    .sv-share-card {
        padding: 18px;
    }

    .sv-grid,
    .sv-grid-2,
    .sv-grid-3,
    .sv-grid-4 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .sv-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .sv-settings-card .sv-form-actions {
        flex-direction: column;
    }

    .sv-team-toolbar {
        align-items: stretch;
    }

    .sv-team-toolbar-actions {
        margin-left: 0;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sv-team-toolbar-actions .sv-field {
        flex: 1 1 260px;
        width: auto;
        min-width: 0;
    }

    .sv-team-toolbar-actions .sv-button {
        flex: 0 0 auto;
        width: auto;
    }

    .sv-settings-card .sv-form-actions form {
        width: 100%;
    }

    .sv-emergency-hero,
    .sv-emergency-panel-header {
        align-items: stretch;
        flex-direction: column;
    }

    .sv-emergency-summary-grid,
    .sv-emergency-request-item {
        grid-template-columns: 1fr;
    }

    .sv-emergency-request-meta,
    .sv-emergency-request-item form {
        justify-content: flex-start;
        padding-left: 0;
    }

    .sv-emergency-request-item .sv-button {
        width: 100%;
    }

    .sv-share-card {
        padding: 22px;
    }

    .sv-share-card-header {
        margin-bottom: 18px;
        padding-bottom: 16px;
    }

    .sv-share-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sv-family-sharing-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sv-tabs-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }

    .sv-tab-button {
        white-space: nowrap;
    }

    .sv-family-folder-form,
    .sv-family-share-form-grid {
        grid-template-columns: 1fr;
    }

    .sv-recipient-scope-options {
        grid-template-columns: 1fr;
    }

    .sv-family-folder-form .sv-button {
        width: 100%;
    }

    .sv-family-sharing-table .sv-table {
        min-width: 760px;
    }

    .sv-share-form-actions {
        justify-content: stretch;
    }

    .sv-share-form-actions .sv-button {
        width: 100%;
        min-width: 0;
    }

    .sv-mfa-actions,
    .sv-mfa-inline-form {
        grid-template-columns: 1fr;
    }

    .sv-mfa-status-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .sv-admin-actions-summary,
    .sv-admin-actions-grid {
        grid-template-columns: 1fr;
    }

    .sv-table-card {
        margin-left: -2px;
        margin-right: -2px;
        border-radius: 12px;
    }

    .sv-table {
        min-width: 680px;
    }

    .sv-table th,
    .sv-table td {
        padding: 13px 12px;
    }

    .sv-table-actions {
        min-width: 180px;
    }

    .sv-table-actions .sv-button,
    .sv-table-actions form {
        width: auto;
    }

    .sv-share-access-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .sv-share-access-row .sv-table-actions {
        width: 100%;
        min-width: 0;
    }

    .sv-action-panel {
        min-width: min(320px, 74vw);
    }

    .sv-employee-options {
        max-height: 240px;
        padding: 6px;
    }

    .sv-employee-option-body {
        align-items: flex-start;
        min-height: auto;
        padding: 10px;
    }

    .sv-employee-chip {
        width: 100%;
        justify-content: space-between;
    }

    .sv-member-selection {
        grid-template-columns: 1fr;
    }

    .sv-family-member-dialog-actions,
    .sv-family-member-remove-form {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .sv-family-member-dialog-actions .sv-button,
    .sv-family-member-remove-form .sv-button {
        width: 100%;
    }

    .sv-employee-hero,
    .sv-workspace-panel,
    .sv-family-shared-panel,
    .sv-family-personal-panel,
    .sv-list-card {
        align-items: stretch;
        flex-direction: column;
    }

    .sv-employee-hero-panel {
        min-width: 0;
        width: 100%;
    }

    .sv-feature-strip span {
        flex: 1 1 160px;
        justify-content: center;
    }

    .sv-pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .sv-pagination-links {
        justify-content: flex-start;
    }

    .sv-confirm-dialog-panel {
        gap: 14px;
        padding: 22px;
    }

    .sv-confirm-dialog-actions {
        flex-direction: column-reverse;
    }

    .sv-confirm-dialog-actions .sv-button {
        width: 100%;
    }

    .sv-password-confirm-wrap {
        grid-template-columns: 1fr;
    }

    .sv-password-confirm-wrap .sv-button {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .sv-container,
    .sv-container-narrow { width: min(100% - 24px, 1180px); }
    .sv-family-sharing-summary {
        grid-template-columns: 1fr;
    }
    .sv-share-summary-card strong {
        font-size: 28px;
    }
    .sv-title { font-size: 34px; }
    .sv-cta-band { padding: 26px; }
}

/* Premium UI refinement layer: presentation only, preserving the existing SecureVault theme. */
:where(.sv-main, .sv-dashboard-main) {
    font-size: 15px;
    line-height: 1.55;
}

:where(.sv-main, .sv-dashboard-main) h1,
:where(.sv-main, .sv-dashboard-main) h2,
:where(.sv-main, .sv-dashboard-main) h3,
:where(.sv-main, .sv-dashboard-main) h4 {
    letter-spacing: 0;
    text-wrap: balance;
}

:where(.sv-main, .sv-dashboard-main) h1 {
    font-size: clamp(26px, 2.2vw, 38px);
    font-weight: 750;
    line-height: 1.12;
}

:where(.sv-main, .sv-dashboard-main) h2 {
    font-size: clamp(22px, 1.65vw, 30px);
    font-weight: 740;
    line-height: 1.16;
}

:where(.sv-main, .sv-dashboard-main) h3 {
    font-size: clamp(17px, 1.15vw, 22px);
    font-weight: 720;
    line-height: 1.22;
}

:where(.sv-main, .sv-dashboard-main) p,
:where(.sv-main, .sv-dashboard-main) li,
:where(.sv-main, .sv-dashboard-main) small {
    line-height: 1.55;
}

.sv-container {
    width: min(1160px, calc(100% - 36px));
}

.sv-section {
    padding: 60px 0;
}

.sv-section-tight {
    padding: 40px 0;
}

.sv-section-header {
    margin-bottom: 28px;
}

.sv-section-header p,
.sv-copy {
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.62;
}

.sv-title {
    margin: 14px 0 16px;
    font-size: clamp(34px, 3.7vw, 50px);
    font-weight: 780;
    line-height: 1.08;
}

.sv-hero {
    padding: 62px 0 48px;
}

.sv-card,
.sv-feature-card,
.sv-pricing-card,
.sv-form-panel,
.sv-table-card,
.sv-share-card,
.sv-settings-header,
.sv-share-summary-card,
.sv-sharing-section-card > .sv-card-header {
    border-radius: 11px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .055);
}

.sv-card,
.sv-feature-card,
.sv-pricing-card {
    padding: 18px;
}

.sv-form-panel,
.sv-share-card {
    padding: 20px;
}

.sv-card:hover,
.sv-feature-card:hover,
.sv-pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, .07);
}

.sv-card h2,
.sv-card h3,
.sv-feature-card h3,
.sv-pricing-card h3,
.sv-form-panel h2,
.sv-form-panel h3 {
    margin-bottom: 8px;
}

.sv-grid,
.sv-settings-grid,
.sv-sharing-table-section,
.sv-family-sharing-tabs,
.sv-responsive-list {
    gap: 14px;
}

.sv-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.sv-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.sv-grid-2,
.sv-settings-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.sv-dashboard-main {
    padding: 18px;
}

.sv-dashboard-shell {
    grid-template-columns: 252px minmax(0, 1fr);
}

.sv-dashboard-topbar {
    min-height: 60px;
    margin: -18px -18px 18px;
    padding: 0 18px;
}

.sv-dashboard-title-row h1,
.sv-dashboard-topbar h1 {
    margin: 0;
    font-size: clamp(20px, 1.45vw, 26px);
    font-weight: 740;
}

.sv-dashboard-title-row p,
.sv-dashboard-topbar p {
    margin: 3px 0 0;
    font-size: 14px;
}

.sv-sidebar {
    padding: 16px;
}

.sv-sidebar-section {
    margin-top: 18px;
}

.sv-sidebar-label {
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: .03em;
}

.sv-sidebar-nav {
    gap: 5px;
}

.sv-sidebar-link {
    min-height: 38px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 14px;
}

.sv-sidebar {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: scrollbar-color .18s ease;
}

.sv-sidebar:hover,
.sv-sidebar:focus-within {
    scrollbar-color: rgba(37, 99, 235, .28) transparent;
}

.sv-sidebar::-webkit-scrollbar {
    width: 8px;
}

.sv-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sv-sidebar::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background-color: transparent;
    background-clip: padding-box;
    transition: background-color .18s ease;
}

.sv-sidebar:hover::-webkit-scrollbar-thumb,
.sv-sidebar:focus-within::-webkit-scrollbar-thumb {
    background-color: rgba(37, 99, 235, .28);
}

.sv-sidebar:hover::-webkit-scrollbar-thumb:hover,
.sv-sidebar:focus-within::-webkit-scrollbar-thumb:hover {
    background-color: rgba(30, 64, 175, .38);
}

.sv-toolbar {
    gap: 12px;
    margin-bottom: 14px;
}

.sv-filter-row {
    gap: 8px;
}

.sv-button,
.sv-page-button,
.sv-tab-button {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 720;
}

.sv-button:hover,
.sv-page-button:hover,
.sv-tab-button:hover {
    transform: translateY(-1px);
}

.sv-button-compact {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
}

.sv-actions,
.sv-nav-actions,
.sv-form-actions,
.sv-table-actions {
    gap: 8px;
}

.sv-badge,
.sv-status-pill,
.sv-status-indicator {
    min-height: 24px;
    padding: 0 10px;
    gap: 7px;
    font-size: 12px;
    font-weight: 720;
}

.sv-status-indicator::before,
.sv-status-pill::before {
    width: 8px;
    height: 8px;
}

.sv-table-card {
    margin-top: 14px;
    overflow-x: auto;
    overflow-y: visible;
}

.sv-table {
    min-width: 720px;
}

.sv-table th,
.sv-table td {
    padding: 12px 14px;
    vertical-align: middle;
}

.sv-table th {
    font-size: 11px;
    font-weight: 780;
    letter-spacing: .035em;
}

.sv-table-actions {
    align-items: center;
    min-width: 0;
}

.sv-field {
    min-width: 0;
}

.sv-field label,
.sv-mfa-inline-form .sv-field span {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 720;
    line-height: 1.25;
}

.sv-field input,
.sv-field select,
.sv-field textarea,
.sv-field .select2-container--securevault .select2-selection--single,
.sv-employee-search,
.sv-mfa-inline-form input {
    min-height: 42px;
    border-radius: 10px;
    padding-left: 13px;
    padding-right: 13px;
}

.sv-field textarea {
    min-height: 96px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.sv-form-row,
.sv-form-grid,
.sv-share-form,
.sv-settings-page {
    gap: 12px;
}

.sv-share-card-header,
.sv-card-header {
    gap: 12px;
}

.sv-share-card-header {
    margin-bottom: 16px;
    padding-bottom: 14px;
}

.sv-share-summary-card {
    gap: 6px;
    padding: 18px;
}

.sv-share-summary-card strong {
    font-size: clamp(26px, 2.1vw, 32px);
    font-weight: 760;
}

.sv-settings-header {
    align-items: center;
    padding: 18px 20px;
}

.sv-settings-header h2 {
    margin: 3px 0 6px;
    font-size: clamp(22px, 1.7vw, 28px);
}

.sv-settings-card {
    gap: 12px;
}

.sv-mfa-card {
    gap: 14px;
}

.sv-mfa-actions {
    gap: 10px;
}

.sv-mfa-inline-form {
    padding: 12px;
}

.sv-empty-state {
    padding: 16px;
    border-radius: 12px;
}

.sv-list-card,
.sv-employee-hero,
.sv-workspace-panel,
.sv-family-shared-panel,
.sv-family-personal-panel {
    padding: 18px;
    gap: 16px;
}

.sv-price {
    margin: 14px 0 4px;
    font-size: clamp(32px, 3vw, 38px);
    font-weight: 760;
}

@media (max-width: 1180px) {
    .sv-container {
        width: min(100% - 32px, 1160px);
    }

    .sv-dashboard-main {
        padding: 16px;
    }

    .sv-dashboard-topbar {
        margin: -16px -16px 16px;
        padding: 0 16px;
    }

    .sv-section {
        padding: 52px 0;
    }
}

@media (max-width: 800px) {
    .sv-container,
    .sv-container-narrow {
        width: min(100% - 24px, 1160px);
    }

    .sv-title {
        font-size: clamp(32px, 9vw, 42px);
    }

    .sv-section {
        padding: 44px 0;
    }

    .sv-dashboard-main {
        padding: 14px;
    }

    .sv-dashboard-topbar {
        margin: -14px -14px 16px;
        padding: 14px;
    }

    .sv-card,
    .sv-feature-card,
    .sv-pricing-card,
    .sv-form-panel,
    .sv-share-card {
        padding: 16px;
    }

    .sv-button,
    .sv-page-button,
    .sv-tab-button {
        min-height: 40px;
        width: auto;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    .sv-table {
        min-width: 640px;
    }

    .sv-table th,
    .sv-table td {
        padding: 11px 12px;
    }

    .sv-settings-header {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Dashboard overflow containment: UI-only safeguards for cards, sections, tables, and forms. */
.sv-dashboard-shell,
.sv-dashboard-main,
.sv-dashboard-section,
.sv-toolbar,
.sv-filter-row,
.sv-actions,
.sv-dropdown-row,
.sv-card,
.sv-feature-card,
.sv-pricing-card,
.sv-form-panel,
.sv-table-card,
.sv-share-card,
.sv-settings-header,
.sv-sharing-section-card,
.sv-tabs-nav,
.sv-tab-panel,
.sv-list-card,
.sv-empty-state {
    min-width: 0;
    max-width: 100%;
}

.sv-dashboard-main {
    overflow-x: clip;
}

@supports not (overflow-x: clip) {
    .sv-dashboard-main {
        overflow-x: hidden;
    }
}

.sv-card,
.sv-feature-card,
.sv-pricing-card,
.sv-form-panel,
.sv-share-card,
.sv-table-card,
.sv-settings-header,
.sv-list-card,
.sv-empty-state {
    overflow-wrap: anywhere;
}

.sv-grid > *,
.sv-form-row > *,
.sv-form-grid > *,
.sv-filter-row > *,
.sv-toolbar > *,
.sv-actions > *,
.sv-settings-grid > *,
.sv-share-form-grid > *,
.sv-family-share-form-grid > *,
.sv-share-selected-chip,
.sv-share-selected-chip-text,
.sv-family-folder-form > *,
.sv-business-settings-grid > *,
.sv-employee-settings-grid > *,
.sv-family-settings-grid > *,
.sv-dashboard-title-row > *,
.sv-dropdown-row > * {
    min-width: 0;
    max-width: 100%;
}

.sv-table-card {
    width: 100%;
    max-width: 100%;
}

.sv-table {
    width: 100%;
    min-width: 100%;
}

.sv-sharing-table .sv-table,
.sv-family-sharing-table .sv-table {
    min-width: 100%;
}

.sv-table th,
.sv-table td {
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
}

.sv-table td:nth-child(2),
.sv-table td a,
.sv-table td code {
    overflow-wrap: anywhere;
}

.sv-table-actions {
    max-width: 100%;
}

.sv-table-actions form,
.sv-table-actions .sv-button {
    max-width: 100%;
}

.sv-tabs-nav {
    overflow-x: visible;
    flex-wrap: wrap;
}

.sv-tab-button {
    white-space: normal;
}

.sv-field,
.sv-field input,
.sv-field select,
.sv-field textarea,
.sv-field .select2-container,
.sv-field .select2-container--securevault {
    width: 100%;
    max-width: 100%;
}

.sv-field .select2-container--securevault .select2-selection--multiple .select2-search__field {
    min-width: 0;
}

.select2-container--securevault .select2-dropdown {
    max-width: calc(100vw - 32px);
    overflow-x: hidden;
}

.sv-team-toolbar-actions {
    max-width: 100%;
    flex-wrap: wrap;
}

.sv-team-toolbar-actions .sv-field {
    width: min(100%, 340px);
    min-width: min(100%, 260px);
}

.sv-profile-chip,
.sv-sidebar-link,
.sv-button,
.sv-page-button {
    max-width: 100%;
}

.sv-profile-chip span,
.sv-sidebar-link,
.sv-button,
.sv-page-button {
    overflow-wrap: anywhere;
}

.sv-main img,
.sv-dashboard-main img,
.sv-main svg,
.sv-dashboard-main svg,
.sv-main canvas,
.sv-dashboard-main canvas,
.sv-main iframe,
.sv-dashboard-main iframe {
    max-width: 100%;
}

/* Input and filter restoration: compact SaaS controls without changing behavior. */
.sv-field input,
.sv-field select,
.sv-field textarea,
.sv-field .select2-container--securevault .select2-selection--single {
    min-height: 46px;
    border-radius: 12px;
    font-size: 15px;
}

.sv-field input,
.sv-field select {
    padding-left: 14px;
    padding-right: 14px;
}

.sv-field textarea {
    min-height: 118px;
}

.sv-card.sv-filter-row,
form.sv-filter-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.sv-card.sv-filter-row {
    padding: 16px;
}

.sv-filter-row .sv-field {
    flex: 1 1 220px;
    width: auto;
    min-width: min(220px, 100%);
    max-width: none;
}

.sv-card.sv-filter-row .sv-field:first-of-type,
form.sv-filter-row .sv-field:first-of-type {
    flex: 2 1 320px;
}

.sv-filter-row .sv-button,
.sv-filter-row button,
.sv-filter-row a.sv-button {
    flex: 0 0 auto;
    min-height: 46px;
}

.sv-dashboard-search,
.sv-toolbar .sv-field,
.sv-team-toolbar-actions .sv-field {
    width: auto;
}

.sv-dashboard-search {
    flex: 0 1 260px;
    min-width: min(220px, 100%);
}

.sv-toolbar .sv-field {
    flex: 1 1 240px;
    min-width: min(220px, 100%);
}

.sv-team-toolbar-actions .sv-field {
    flex: 1 1 300px;
    width: min(100%, 360px);
}

@media (max-width: 800px) {
    .sv-card.sv-filter-row,
    form.sv-filter-row {
        align-items: stretch;
        flex-direction: column;
    }

    .sv-filter-row .sv-field,
    .sv-card.sv-filter-row .sv-field:first-of-type,
    form.sv-filter-row .sv-field:first-of-type,
    .sv-filter-row .sv-button,
    .sv-filter-row button,
    .sv-filter-row a.sv-button,
    .sv-dashboard-search,
    .sv-toolbar .sv-field,
    .sv-team-toolbar-actions .sv-field {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
    }
}

/* Admin add-user permissions UI: keep checkboxes compact inside permission cards. */
.sv-permission-grid {
    align-items: start;
}

.sv-permission-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
}

.sv-permission-card-header {
    align-items: center;
    margin: -12px -12px 8px;
    padding: 12px;
}

.sv-permission-option {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 40px;
    margin: 0;
    padding: 9px 10px;
}

.sv-permission-option input[type="checkbox"],
.sv-check-field input[type="checkbox"],
.sv-field input[type="checkbox"],
.sv-field input[type="radio"] {
    width: 18px;
    min-width: 18px;
    max-width: 18px;
    height: 18px;
    min-height: 18px;
    flex: 0 0 18px;
    margin: 0;
    padding: 0;
    border-radius: 4px;
    accent-color: var(--sv-primary);
}

.sv-permission-option span {
    min-width: 0;
    color: var(--sv-muted-strong);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: normal;
    word-break: normal;
}

.sv-check-field {
    align-items: center;
}

.sv-check-field input[type="checkbox"] {
    margin-top: 0;
}

@media (max-width: 800px) {
    .sv-permission-card {
        padding: 10px;
    }

    .sv-permission-card-header {
        margin: -10px -10px 8px;
        padding: 10px;
    }
}

/* Admin Add User wizard */
.sv-admin-user-wizard {
    display: grid;
    gap: 18px;
}

.sv-wizard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.sv-wizard-header h3,
.sv-wizard-panel-heading h4 {
    margin: 0;
}

.sv-wizard-header .sv-muted,
.sv-wizard-panel-heading .sv-muted,
.sv-wizard-note p {
    margin-bottom: 0;
}

.sv-wizard-progress {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--sv-primary-light);
}

.sv-wizard-progress span {
    display: block;
    width: 33.333%;
    height: 100%;
    border-radius: inherit;
    background: var(--sv-primary);
    transition: width .22s ease;
}

.sv-wizard-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.sv-wizard-step {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 54px;
    padding: 10px 12px;
    border: 1px solid var(--sv-border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--sv-muted-strong);
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.sv-wizard-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: var(--sv-primary-light);
    color: var(--sv-primary);
    font-size: 13px;
    font-weight: 900;
}

.sv-wizard-step strong {
    min-width: 0;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.sv-wizard-step.is-active {
    border-color: rgba(37, 99, 235, .42);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: var(--sv-dark-blue);
    box-shadow: 0 14px 32px rgba(37, 99, 235, .10);
}

.sv-wizard-step.is-active span,
.sv-wizard-step.is-complete span {
    background: var(--sv-primary);
    color: #ffffff;
}

.sv-wizard-step.is-complete span::before {
    content: "✓";
}

.sv-wizard-step.is-complete span {
    font-size: 0;
}

.sv-wizard-step.is-complete span::before {
    font-size: 13px;
}

.sv-wizard-panel {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--sv-border);
    border-radius: 16px;
    background: #ffffff;
}

.sv-wizard-panel[hidden] {
    display: none;
}

.sv-wizard-panel-heading {
    display: grid;
    gap: 6px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--sv-border);
}

.sv-wizard-check-field {
    min-height: 46px;
    align-self: end;
    margin: 0 0 1px;
}

.sv-wizard-note {
    padding: 14px 16px;
    background: var(--sv-card-soft);
}

.sv-wizard-note strong {
    display: block;
    margin-bottom: 4px;
    color: var(--sv-dark-blue);
    font-size: 15px;
}

.sv-wizard-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
}

.sv-wizard-actions .sv-form-actions {
    margin: 0;
}

.sv-admin-user-wizard .sv-permission-grid {
    max-height: min(560px, 58vh);
    overflow: auto;
    padding-right: 4px;
}

@media (max-width: 900px) {
    .sv-wizard-header,
    .sv-wizard-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .sv-wizard-actions > span {
        display: none;
    }

    .sv-wizard-actions .sv-button,
    .sv-wizard-actions .sv-form-actions,
    .sv-wizard-actions .sv-form-actions .sv-button {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .sv-wizard-steps {
        grid-template-columns: 1fr;
    }

    .sv-wizard-panel {
        padding: 14px;
    }
}

/* Table text polish: keep long names, emails, owners, recipients, and labels tidy. */
.sv-table {
    table-layout: fixed;
}

.sv-table th,
.sv-table td {
    vertical-align: middle;
}

.sv-table td:not(:last-child),
.sv-table th:not(:last-child) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv-table td:not(:last-child) > strong,
.sv-table td:not(:last-child) > span,
.sv-table td:not(:last-child) > a,
.sv-table td:not(:last-child) > code,
.sv-table td:not(:last-child) .sv-muted {
    display: inline;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.sv-table td:not(:last-child) br {
    display: none;
}

.sv-table td:not(:last-child) br + .sv-muted::before,
.sv-table td:not(:last-child) br + span::before {
    content: " ";
}

.sv-table td[colspan],
.sv-table td:last-child,
.sv-table th:last-child {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

.sv-table td[colspan] {
    text-align: left;
}

/* Public website polish: scoped to public pages so dashboards keep their behavior. */
.sv-public-body {
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fbff 38%, #ffffff 100%);
    color: var(--sv-text);
}

.sv-public-body::before {
    background:
        linear-gradient(rgba(37, 99, 235, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, .035) 1px, transparent 1px),
        linear-gradient(135deg, rgba(219, 234, 254, .54), transparent 42%, rgba(239, 246, 255, .78));
    background-size: 86px 86px, 86px 86px, 100% 100%;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .58), transparent 76%);
}

.sv-public-body .sv-main {
    overflow-x: hidden;
}

.sv-public-body .sv-navbar {
    background: rgba(255, 255, 255, .9);
    border-bottom-color: rgba(148, 163, 184, .22);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .055);
}

.sv-public-body .sv-nav-inner {
    min-height: 82px;
}

.sv-public-body .sv-brand {
    gap: 12px;
    font-size: 18px;
}

.sv-public-body .sv-brand-name {
    font-size: 20px;
}

.sv-public-body .sv-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    box-shadow: 0 16px 32px rgba(37, 99, 235, .22);
}

.sv-public-body .sv-nav-links {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.sv-public-body .sv-nav-links a {
    border-radius: 999px;
    padding: 9px 11px;
    color: var(--sv-muted-strong);
    line-height: 1;
}

.sv-public-body .sv-nav-links a:hover,
.sv-public-body .sv-nav-links a[aria-current="page"] {
    background: rgba(219, 234, 254, .72);
    color: var(--sv-primary-dark);
}

.sv-public-body .sv-hero {
    position: relative;
    padding-top: 84px;
    padding-bottom: 72px;
}

.sv-public-body .sv-container.sv-hero:not(.sv-home-hero),
.sv-public-body .sv-container-narrow.sv-hero {
    margin-top: 24px;
    padding: clamp(56px, 6vw, 84px) clamp(28px, 4.5vw, 64px);
    border: 1px solid rgba(37, 99, 235, .12);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(248, 251, 255, .94) 54%, rgba(219, 234, 254, .48)),
        linear-gradient(90deg, rgba(37, 99, 235, .05) 1px, transparent 1px);
    background-size: auto, 74px 74px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, .07);
}

.sv-public-body .sv-home-hero {
    min-height: 640px;
    display: grid;
    place-items: center;
    isolation: isolate;
    padding-top: 112px;
    padding-bottom: 96px;
    background:
        radial-gradient(circle at 18% 20%, rgba(37, 99, 235, .16), transparent 28%),
        radial-gradient(circle at 82% 32%, rgba(147, 197, 253, .32), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, .99), rgba(248, 251, 255, .96) 42%, rgba(219, 234, 254, .78)),
        linear-gradient(118deg, transparent 0 24%, rgba(37, 99, 235, .085) 24.1%, transparent 24.32% 100%),
        linear-gradient(28deg, transparent 0 68%, rgba(96, 165, 250, .12) 68.1%, transparent 68.32% 100%);
}

.sv-public-body .sv-home-hero::before {
    background-image:
        linear-gradient(rgba(37, 99, 235, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, .05) 1px, transparent 1px);
    background-size: 76px 76px;
}

.sv-public-body .sv-home-hero::after {
    content: "";
    position: absolute;
    inset: auto 8% 48px;
    height: 120px;
    border: 1px solid rgba(37, 99, 235, .12);
    border-radius: 999px;
    background:
        linear-gradient(90deg, transparent, rgba(37, 99, 235, .06), transparent),
        repeating-linear-gradient(90deg, rgba(37, 99, 235, .11) 0 1px, transparent 1px 72px);
    opacity: .7;
    filter: blur(.1px);
    z-index: -1;
}

.sv-public-body .sv-home-hero .sv-container-narrow {
    max-width: 920px;
}

.sv-public-body .sv-title,
.sv-public-body .sv-section-header h1,
.sv-public-body .sv-section-header h2 {
    color: var(--sv-text);
    font-weight: 760;
    letter-spacing: 0;
}

.sv-public-body .sv-section-header h1,
.sv-public-body .sv-section-header h2 {
    margin-top: 10px;
    margin-bottom: 12px;
    font-size: 38px;
    line-height: 1.12;
}

.sv-public-body .sv-title {
    font-size: clamp(38px, 4.6vw, 58px);
    line-height: 1.06;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.sv-public-body .sv-section-header p,
.sv-public-body .sv-copy {
    color: var(--sv-muted);
    font-size: 17px;
    line-height: 1.66;
}

.sv-public-body .sv-home-hero .sv-copy {
    max-width: 720px;
    font-size: clamp(16px, 1.45vw, 19px);
}

.sv-public-body .sv-home-hero-grid {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(390px, 1.05fr);
    gap: clamp(36px, 5vw, 74px);
    align-items: center;
}

.sv-public-body .sv-home-hero {
    place-items: stretch;
    min-height: 560px;
    padding-top: 48px;
    padding-left: clamp(28px, 4.2vw, 64px);
    padding-right: clamp(28px, 4.2vw, 64px);
    padding-bottom: 48px;
    background:
        radial-gradient(circle at 18% 24%, rgba(37, 99, 235, .18), transparent 28%),
        radial-gradient(circle at 78% 16%, rgba(96, 165, 250, .28), transparent 26%),
        radial-gradient(circle at 86% 78%, rgba(219, 234, 254, .72), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, .99), rgba(248, 251, 255, .96) 44%, rgba(219, 234, 254, .72)),
        linear-gradient(90deg, rgba(37, 99, 235, .045) 1px, transparent 1px),
        linear-gradient(rgba(37, 99, 235, .045) 1px, transparent 1px);
    background-size: auto, auto, auto, auto, 82px 82px, 82px 82px;
}

.sv-public-body .sv-home-hero::after {
    inset: 44px 34px 34px auto;
    width: min(44%, 620px);
    height: auto;
    border-radius: 36px;
    background:
        linear-gradient(120deg, rgba(37, 99, 235, .12), transparent 24% 68%, rgba(147, 197, 253, .18)),
        repeating-linear-gradient(135deg, rgba(37, 99, 235, .12) 0 1px, transparent 1px 34px);
    opacity: .58;
    filter: none;
}

.sv-public-body .sv-home-hero::after {
    display: none;
}

.sv-public-body .sv-home-hero-copy {
    max-width: 660px;
}

.sv-public-body .sv-home-hero-title {
    max-width: 660px;
    margin: 16px 0 0;
    font-size: clamp(34px, 3.35vw, 48px);
    line-height: 1.12;
}

.sv-public-body .sv-home-hero-copy .sv-copy {
    max-width: 600px;
    margin-top: 20px;
    font-size: clamp(16px, 1.15vw, 18px);
}

.sv-public-body .sv-hero-rotator {
    position: relative;
    display: inline-grid;
    width: max-content;
    max-width: 100%;
    min-width: 0;
    min-height: 1.12em;
    color: var(--sv-primary);
    vertical-align: baseline;
}

.sv-public-body .sv-hero-rotator span {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(.38em);
    animation: svHeroRotate 15s infinite;
    will-change: opacity, transform;
}

.sv-public-body .sv-hero-rotator span:nth-child(2) { animation-delay: 3s; }
.sv-public-body .sv-hero-rotator span:nth-child(3) { animation-delay: 6s; }
.sv-public-body .sv-hero-rotator span:nth-child(4) { animation-delay: 9s; }
.sv-public-body .sv-hero-rotator span:nth-child(5) { animation-delay: 12s; }

@keyframes svHeroRotate {
    0%, 6% {
        opacity: 0;
        transform: translateY(.38em);
    }
    10%, 18% {
        opacity: 1;
        transform: translateY(0);
    }
    23%, 100% {
        opacity: 0;
        transform: translateY(-.34em);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sv-public-body .sv-hero-rotator span {
        animation: none;
    }

    .sv-public-body .sv-hero-rotator span:first-child {
        opacity: 1;
        transform: none;
    }
}

.sv-public-body .sv-home-hero-actions {
    margin-top: 30px;
    gap: 14px;
}

.sv-public-body .sv-home-hero-actions .sv-button {
    min-height: 50px;
    padding-inline: 26px;
    border-radius: 16px;
}

.sv-public-body .sv-home-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 28px;
    color: var(--sv-muted);
    font-size: 14px;
    font-weight: 720;
}

.sv-public-body .sv-home-trust-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sv-public-body .sv-home-trust-list span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--sv-primary);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, .12);
}

.sv-public-body .sv-home-product-visual {
    position: relative;
    min-height: 470px;
}

.sv-public-body .sv-home-logo-visual {
    display: grid;
    place-items: center;
    padding: clamp(28px, 5vw, 58px);
}

.sv-public-body .sv-home-logo-visual::before {
    display: none;
}

.sv-public-body .sv-home-product-visual::before {
    content: "";
    position: absolute;
    inset: 10% 0 auto 16%;
    height: 76%;
    border-radius: 42px;
    background:
        radial-gradient(circle at 50% 16%, rgba(37, 99, 235, .24), transparent 34%),
        linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(219, 234, 254, .66));
    filter: blur(10px);
    opacity: .72;
}

.sv-public-body .sv-hero-logo {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 520px);
    max-height: 430px;
    padding: clamp(20px, 3vw, 36px);
    object-fit: contain;
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 34px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 28px 70px rgba(37, 99, 235, .14), 0 14px 34px rgba(15, 23, 42, .08);
    backdrop-filter: blur(18px);
}

.sv-public-body .sv-product-window {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 30px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 34px 86px rgba(15, 23, 42, .14);
    backdrop-filter: blur(16px);
}

.sv-public-body .sv-product-window-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 0 20px;
    border-bottom: 1px solid rgba(148, 163, 184, .2);
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 251, 255, .88));
}

.sv-public-body .sv-product-window-bar span {
    width: 34px;
    height: 34px;
    border-radius: 13px;
    background: var(--sv-primary);
    box-shadow: 0 14px 24px rgba(37, 99, 235, .22);
}

.sv-public-body .sv-product-window-bar strong {
    color: var(--sv-text);
    font-size: 15px;
}

.sv-public-body .sv-product-window-bar em {
    margin-left: auto;
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(219, 234, 254, .88);
    color: var(--sv-primary-dark);
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
}

.sv-public-body .sv-product-dashboard {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
}

.sv-public-body .sv-product-sidebar {
    display: grid;
    gap: 14px;
    align-content: start;
    border-radius: 22px;
    padding: 16px;
    background: rgba(239, 246, 255, .76);
}

.sv-public-body .sv-product-sidebar span {
    height: 36px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(37, 99, 235, .12);
}

.sv-public-body .sv-product-sidebar span.is-active {
    background: var(--sv-primary);
    border-color: transparent;
    box-shadow: 0 14px 22px rgba(37, 99, 235, .22);
}

.sv-public-body .sv-product-content {
    display: grid;
    gap: 16px;
}

.sv-public-body .sv-product-header,
.sv-public-body .sv-product-credential-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sv-public-body .sv-product-header {
    min-height: 88px;
    border-radius: 22px;
    padding: 0 20px;
    background:
        radial-gradient(circle at 92% 20%, rgba(37, 99, 235, .16), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(239, 246, 255, .9));
    border: 1px solid rgba(148, 163, 184, .2);
}

.sv-public-body .sv-product-header small,
.sv-public-body .sv-extension-card small,
.sv-public-body .sv-product-metrics span {
    display: block;
    color: var(--sv-muted);
    font-size: 13px;
}

.sv-public-body .sv-product-header strong {
    display: block;
    margin-top: 4px;
    color: var(--sv-text);
    font-size: 22px;
}

.sv-public-body .sv-product-header b,
.sv-public-body .sv-product-credential-list b {
    border-radius: 999px;
    padding: 7px 10px;
    background: rgba(219, 234, 254, .9);
    color: var(--sv-primary-dark);
    font-size: 12px;
}

.sv-public-body .sv-product-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.sv-public-body .sv-product-metrics div,
.sv-public-body .sv-product-credential-list div {
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 18px;
    background: rgba(255, 255, 255, .82);
}

.sv-public-body .sv-product-metrics div {
    padding: 18px;
}

.sv-public-body .sv-product-metrics strong {
    display: block;
    color: var(--sv-text);
    font-size: 28px;
    line-height: 1;
}

.sv-public-body .sv-product-credential-list {
    display: grid;
    gap: 12px;
}

.sv-public-body .sv-product-credential-list div {
    min-height: 62px;
    padding: 0 18px;
}

.sv-public-body .sv-product-credential-list span {
    color: var(--sv-text);
    font-weight: 720;
}

.sv-public-body .sv-extension-card {
    position: absolute;
    z-index: 2;
    right: 10px;
    bottom: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
    width: min(310px, 76%);
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 22px;
    padding: 16px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 54px rgba(15, 23, 42, .16);
    backdrop-filter: blur(14px);
}

.sv-public-body .sv-extension-card > span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--sv-primary);
    color: #ffffff;
    font-weight: 800;
}

.sv-public-body .sv-mini-logo {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.sv-public-body .sv-extension-card strong {
    display: block;
    color: var(--sv-text);
}

.sv-public-body .sv-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 999px;
    padding: 0 12px;
    background: rgba(219, 234, 254, .72);
    font-size: 12px;
    letter-spacing: .02em;
}

.sv-public-body .sv-section {
    padding: 86px 0;
}

.sv-public-body .sv-section-tight {
    padding: 60px 0;
}

.sv-public-body .sv-grid {
    gap: 22px;
}

.sv-public-body .sv-card,
.sv-public-body .sv-feature-card,
.sv-public-body .sv-pricing-card,
.sv-public-body .sv-form-panel {
    position: relative;
    overflow: hidden;
    border-color: rgba(148, 163, 184, .26);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 251, 255, .92));
    box-shadow: 0 18px 48px rgba(15, 23, 42, .075);
}

.sv-public-body .sv-demo-registration-dialog {
    max-height: calc(100dvh - 28px);
    overflow: hidden;
}

.sv-public-body .sv-demo-registration-form {
    max-height: calc(100dvh - 28px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(37, 99, 235, .38) transparent;
}

.sv-public-body .sv-demo-registration-form::-webkit-scrollbar {
    width: 8px;
}

.sv-public-body .sv-demo-registration-form::-webkit-scrollbar-track {
    background: transparent;
}

.sv-public-body .sv-demo-registration-form::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: rgba(37, 99, 235, .34);
    background-clip: padding-box;
}

.sv-public-body .sv-card,
.sv-public-body .sv-feature-card,
.sv-public-body .sv-pricing-card {
    padding: 30px;
}

.sv-public-body .sv-feature-showcase {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(248, 251, 255, .82), rgba(255, 255, 255, .72));
}

.sv-public-body .sv-feature-grid-premium .sv-feature-card {
    min-height: 250px;
    display: flex;
    flex-direction: column;
}

.sv-public-body .sv-feature-grid-premium .sv-feature-card p {
    margin-top: 14px;
}

.sv-public-body .sv-feature-grid-premium .sv-feature-card:nth-child(1),
.sv-public-body .sv-feature-grid-premium .sv-feature-card:nth-child(4) {
    background:
        linear-gradient(180deg, #ffffff, rgba(239, 246, 255, .96)),
        radial-gradient(circle at 95% 12%, rgba(37, 99, 235, .12), transparent 34%);
}

.sv-public-body .sv-public-highlight-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.sv-public-body .sv-public-highlight-row .sv-card {
    min-height: 210px;
}

.sv-public-body .sv-proof-section {
    position: relative;
}

.sv-public-body .sv-public-trust-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 28px;
    padding: 42px;
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, .12), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(248, 251, 255, .92));
    box-shadow: 0 28px 72px rgba(15, 23, 42, .08);
}

.sv-public-body .sv-public-trust-panel .sv-section-header {
    max-width: 820px;
}

.sv-public-body .sv-public-depth-section {
    background:
        linear-gradient(180deg, rgba(248, 251, 255, .72), rgba(255, 255, 255, .92));
}

.sv-public-body .sv-card::before,
.sv-public-body .sv-feature-card::before,
.sv-public-body .sv-pricing-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, rgba(37, 99, 235, .86), rgba(147, 197, 253, .18));
    opacity: .82;
}

.sv-public-body .sv-card,
.sv-public-body .sv-feature-card,
.sv-public-body .sv-pricing-card {
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
    will-change: transform;
}

.sv-public-body .sv-card:hover,
.sv-public-body .sv-feature-card:hover,
.sv-public-body .sv-pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, .42);
    background: linear-gradient(180deg, #ffffff, rgba(248, 251, 255, .98));
    box-shadow: 0 30px 70px rgba(37, 99, 235, .16);
}

.sv-public-body .sv-card h2,
.sv-public-body .sv-card h3,
.sv-public-body .sv-feature-card h3,
.sv-public-body .sv-pricing-card h3 {
    color: var(--sv-text);
    font-size: 20px;
    font-weight: 760;
    line-height: 1.22;
}

.sv-public-body .sv-card p,
.sv-public-body .sv-feature-card p,
.sv-public-body .sv-pricing-card p {
    color: var(--sv-muted);
    line-height: 1.68;
}

.sv-public-body .sv-badge {
    min-height: 28px;
    border-color: rgba(37, 99, 235, .18);
    background: rgba(219, 234, 254, .78);
    color: var(--sv-primary-dark);
    font-size: 12px;
    font-weight: 760;
}

.sv-public-body .sv-button {
    min-height: 42px;
    border-radius: 14px;
    padding: 0 20px;
    font-weight: 760;
    box-shadow: 0 12px 26px rgba(37, 99, 235, .11);
}

.sv-public-body .sv-button-primary {
    box-shadow: 0 16px 32px rgba(37, 99, 235, .22);
}

.sv-public-body .sv-button:hover {
    transform: translateY(-2px);
}

.sv-public-body .sv-pricing-card {
    display: flex;
    flex-direction: column;
    min-height: 460px;
}

.sv-public-body .sv-pricing-card-featured {
    border-color: rgba(37, 99, 235, .5);
    background:
        linear-gradient(180deg, #ffffff, rgba(239, 246, 255, .94));
    box-shadow: 0 28px 70px rgba(37, 99, 235, .15);
}

.sv-public-body .sv-price {
    color: var(--sv-text);
    font-size: 46px;
    line-height: 1;
    margin: 18px 0 16px;
}

.sv-public-body .sv-pricing-card .sv-button {
    margin-top: auto !important;
}

.sv-public-body .sv-faq {
    gap: 14px;
}

.sv-public-body .sv-faq details {
    border-color: rgba(148, 163, 184, .28);
    border-radius: 18px;
    padding: 0;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 16px 42px rgba(15, 23, 42, .065);
    overflow: hidden;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.sv-public-body .sv-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    color: var(--sv-text);
    font-weight: 760;
    list-style: none;
    cursor: pointer;
    transition: color .2s ease, padding-bottom .2s ease;
}

.sv-public-body .sv-faq summary::-webkit-details-marker {
    display: none;
}

.sv-public-body .sv-faq summary::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--sv-primary-light);
    color: var(--sv-primary-dark);
    transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.sv-public-body .sv-faq details[open] summary::after {
    content: "-";
}

.sv-public-body .sv-faq p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--sv-muted);
    transition: opacity .24s ease, max-height .28s ease, transform .24s ease, padding .24s ease;
}

.sv-public-body .sv-faq details:not([open]) > p {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transform: translateY(-6px);
}

.sv-public-body .sv-faq details:not([open]):hover > p,
.sv-public-body .sv-faq details:not([open]):focus-within > p {
    max-height: 180px;
    opacity: 1;
    padding-bottom: 22px;
    transform: translateY(0);
}

.sv-public-body .sv-faq details:hover,
.sv-public-body .sv-faq details:focus-within,
.sv-public-body .sv-faq details[open] {
    border-color: rgba(37, 99, 235, .32);
    background:
        radial-gradient(circle at 94% 12%, rgba(37, 99, 235, .1), transparent 28%),
        #ffffff;
    box-shadow: 0 24px 56px rgba(37, 99, 235, .1);
    transform: translateY(-2px);
}

.sv-public-body .sv-faq details:hover summary,
.sv-public-body .sv-faq details:focus-within summary,
.sv-public-body .sv-faq details[open] summary {
    color: var(--sv-primary-dark);
}

.sv-public-body .sv-faq details:not([open]):hover summary::after,
.sv-public-body .sv-faq details:not([open]):focus-within summary::after,
.sv-public-body .sv-faq details[open] summary::after {
    background: var(--sv-primary);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(37, 99, 235, .2);
    transform: rotate(180deg);
}

.sv-public-body .sv-cta-band {
    position: relative;
    overflow: hidden;
    border-color: rgba(37, 99, 235, .16);
    border-radius: 24px;
    background:
        linear-gradient(135deg, #ffffff, rgba(239, 246, 255, .98) 48%, rgba(219, 234, 254, .72)),
        linear-gradient(90deg, rgba(37, 99, 235, .06) 1px, transparent 1px);
    background-size: auto, 72px 72px;
    padding: 48px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .08);
}

.sv-public-body .sv-footer {
    border-top-color: rgba(148, 163, 184, .24);
    background:
        radial-gradient(circle at 14% 20%, rgba(37, 99, 235, .12), transparent 28%),
        radial-gradient(circle at 82% 10%, rgba(96, 165, 250, .12), transparent 30%),
        linear-gradient(180deg, #f8fbff, #ffffff 58%, #f7fbff);
    position: relative;
    overflow: hidden;
}

.sv-public-body .sv-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(37, 99, 235, .035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(37, 99, 235, .03) 1px, transparent 1px);
    background-size: 84px 84px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 78%);
}

.sv-public-body .sv-footer > .sv-container {
    position: relative;
    z-index: 1;
}

.sv-public-body .sv-footer-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, .5fr);
    gap: clamp(48px, 8vw, 140px);
    align-items: start;
    padding: 62px 0 42px;
}

.sv-public-body .sv-footer-brand-panel {
    max-width: 680px;
}

.sv-public-body .sv-footer-links-panel {
    padding-top: 10px;
    border-top: 1px solid rgba(37, 99, 235, .16);
}

.sv-public-body .sv-footer strong {
    color: var(--sv-text);
    display: block;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.sv-public-body .sv-footer .sv-list {
    display: grid;
    gap: 13px;
}

.sv-public-body .sv-footer a {
    color: var(--sv-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: color .18s ease, transform .18s ease;
}

.sv-public-body .sv-footer a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .28);
    transition: background .18s ease, transform .18s ease;
}

.sv-public-body .sv-footer a:hover {
    color: var(--sv-primary-dark);
    transform: translateX(2px);
}

.sv-public-body .sv-footer a:hover::before {
    background: var(--sv-primary);
    transform: scale(1.25);
}

.sv-public-body .sv-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.sv-public-body .sv-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.sv-public-body .sv-footer-actions .sv-button {
    min-height: 46px;
    padding: 12px 20px;
    box-shadow: 0 16px 32px rgba(37, 99, 235, .18);
}

.sv-public-body .sv-social-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(239, 246, 255, .96), rgba(255, 255, 255, .9));
    color: var(--sv-primary-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.sv-public-body .sv-social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.sv-public-body .sv-social-icon:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, .38);
    background: #ffffff;
    box-shadow: 0 16px 30px rgba(37, 99, 235, .16);
}

.sv-public-body .sv-footer-inner {
    min-height: 74px;
    border-top: 1px solid rgba(37, 99, 235, .12);
    padding: 0;
}

.sv-public-body .sv-blog-grid .sv-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.sv-public-body .sv-blog-grid .sv-button {
    margin-top: auto !important;
}

.sv-public-body .sv-whatsapp-float {
    position: fixed;
    right: clamp(18px, 3vw, 32px);
    bottom: clamp(18px, 3vw, 32px);
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #ffffff;
    background: #25d366;
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: 0 18px 36px rgba(37, 211, 102, .24), 0 10px 28px rgba(15, 23, 42, .12);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.sv-public-body .sv-whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.sv-public-body .sv-whatsapp-float:hover {
    transform: translateY(-3px);
    filter: saturate(1.06);
    box-shadow: 0 22px 42px rgba(37, 211, 102, .28), 0 14px 34px rgba(15, 23, 42, .14);
}

.sv-public-body .sv-whatsapp-float:focus-visible {
    outline: 3px solid rgba(37, 211, 102, .28);
    outline-offset: 4px;
}

@media (max-width: 920px) {
    .sv-public-body .sv-section-header h1,
    .sv-public-body .sv-section-header h2,
    .sv-public-body .sv-title {
        font-size: 34px;
    }

    .sv-public-body .sv-home-hero {
        min-height: auto;
        padding-top: 78px;
        padding-bottom: 68px;
    }

    .sv-public-body .sv-home-hero-grid {
        grid-template-columns: 1fr;
    }

    .sv-public-body .sv-home-hero-copy {
        max-width: 760px;
    }

    .sv-public-body .sv-home-product-visual {
        width: min(100%, 720px);
        min-height: 430px;
        margin: 0 auto;
    }

    .sv-public-body .sv-hero-logo {
        width: min(100%, 440px);
    }

    .sv-public-body .sv-public-highlight-row {
        grid-template-columns: 1fr;
    }

    .sv-public-body .sv-public-trust-panel {
        padding: 28px;
    }

}

@media (max-width: 800px) {
    .sv-public-body .sv-nav-inner {
        min-height: 72px;
    }

    .sv-public-body .sv-public-nav-menu.is-open {
        display: grid;
        gap: 12px;
        border: 1px solid rgba(37, 99, 235, .14);
        border-radius: 18px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
        padding: 12px;
    }

    .sv-public-body .sv-public-nav-menu.is-open .sv-nav-links,
    .sv-public-body .sv-public-nav-menu.is-open .sv-nav-actions {
        width: 100%;
    }

    .sv-public-body .sv-nav-links a {
        width: 100%;
        padding: 12px 14px;
    }

    .sv-public-body .sv-section {
        padding: 58px 0;
    }

    .sv-public-body .sv-section-tight {
        padding: 44px 0;
    }

    .sv-public-body .sv-card,
    .sv-public-body .sv-feature-card,
    .sv-public-body .sv-pricing-card,
    .sv-public-body .sv-form-panel {
        padding: 20px;
    }

    .sv-public-body .sv-footer-grid {
        grid-template-columns: 1fr;
    }

    .sv-public-body .sv-pricing-card {
        min-height: auto;
    }
}

@media (max-width: 560px) {
    .sv-public-body .sv-container,
    .sv-public-body .sv-container-narrow {
        width: min(100% - 24px, 1160px);
    }

    .sv-public-body .sv-section-header h1,
    .sv-public-body .sv-section-header h2,
    .sv-public-body .sv-title {
        font-size: 30px;
        line-height: 1.14;
    }

    .sv-public-body .sv-section-header p,
    .sv-public-body .sv-copy {
        font-size: 15px;
    }

    .sv-public-body .sv-home-hero,
    .sv-public-body .sv-container.sv-hero:not(.sv-home-hero),
    .sv-public-body .sv-container-narrow.sv-hero {
        border-radius: 18px;
        padding: 44px 22px;
    }

    .sv-public-body .sv-cta-band {
        padding: 24px;
        border-radius: 18px;
    }

    .sv-public-body .sv-public-trust-panel {
        padding: 22px;
        border-radius: 20px;
    }

    .sv-public-body .sv-actions {
        align-items: stretch;
    }

    .sv-public-body .sv-actions .sv-button {
        width: 100%;
    }

    .sv-public-body .sv-home-hero-title {
        font-size: 32px;
    }

    .sv-public-body .sv-hero-rotator {
        display: grid;
        min-width: 100%;
        min-height: 1.22em;
    }

    .sv-public-body .sv-home-trust-list {
        gap: 12px;
    }

    .sv-public-body .sv-home-product-visual {
        min-height: auto;
    }

    .sv-public-body .sv-home-logo-visual {
        padding: 22px;
    }

    .sv-public-body .sv-hero-logo {
        width: min(100%, 320px);
        border-radius: 24px;
        padding: 18px;
    }

    .sv-public-body .sv-product-dashboard {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .sv-public-body .sv-product-sidebar {
        display: none;
    }

    .sv-public-body .sv-product-metrics {
        grid-template-columns: 1fr;
    }

    .sv-public-body .sv-product-header,
    .sv-public-body .sv-product-credential-list div {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 16px;
    }

    .sv-public-body .sv-extension-card {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 14px;
    }

    .sv-public-body .sv-whatsapp-float {
        width: 50px;
        height: 50px;
    }

    .sv-public-body .sv-whatsapp-float svg {
        width: 27px;
        height: 27px;
    }

}
/* Subscription invoice preview */
.sv-invoice-preview {
    display: grid;
    gap: 18px;
}

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

.sv-invoice-paper {
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    background: #ffffff;
    box-shadow: var(--sv-shadow-soft);
    overflow: hidden;
}

.sv-invoice-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #ffffff;
}

.sv-invoice-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.sv-invoice-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 14px;
    background: #ffffff;
    padding: 6px;
}

.sv-invoice-brand strong,
.sv-invoice-heading h1 {
    display: block;
    color: #ffffff;
    margin: 0;
}

.sv-invoice-brand strong {
    font-size: 22px;
}

.sv-invoice-brand span,
.sv-invoice-heading p {
    color: rgba(255, 255, 255, .82);
}

.sv-invoice-heading {
    text-align: right;
}

.sv-invoice-heading h1 {
    font-size: clamp(30px, 4vw, 44px);
}

.sv-invoice-heading p {
    margin: 4px 0 0;
    font-weight: 700;
}

.sv-invoice-meta,
.sv-invoice-grid {
    display: grid;
    gap: 16px;
    padding: 28px 30px 0;
}

.sv-invoice-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sv-invoice-meta > div,
.sv-invoice-grid > section,
.sv-invoice-summary {
    border: 1px solid var(--sv-border);
    border-radius: 14px;
    background: var(--sv-card-soft);
    padding: 18px;
}

.sv-invoice-meta span,
.sv-invoice-grid dt,
.sv-invoice-summary span {
    display: block;
    color: var(--sv-muted);
    font-size: 13px;
    font-weight: 750;
}

.sv-invoice-meta strong,
.sv-invoice-grid dd,
.sv-invoice-summary strong {
    color: var(--sv-text);
    font-weight: 800;
}

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

.sv-invoice-grid h2,
.sv-invoice-summary h2 {
    margin: 0 0 16px;
    font-size: 20px;
}

.sv-invoice-grid dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.sv-invoice-grid dd {
    margin: -6px 0 4px;
    overflow-wrap: anywhere;
}

.sv-invoice-summary {
    margin: 28px 30px 0;
}

.sv-invoice-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--sv-border);
}

.sv-invoice-summary > div:last-child {
    border-bottom: 0;
}

.sv-invoice-total span,
.sv-invoice-total strong {
    font-size: 18px;
    color: var(--sv-text);
}

.sv-invoice-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    margin-top: 28px;
    padding: 22px 30px 30px;
    border-top: 1px solid var(--sv-border);
    color: var(--sv-muted);
    font-size: 14px;
}

@media (max-width: 760px) {
    .sv-invoice-top,
    .sv-invoice-meta,
    .sv-invoice-grid,
    .sv-invoice-footer {
        grid-template-columns: 1fr;
    }

    .sv-invoice-top {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }

    .sv-invoice-heading {
        text-align: left;
    }

    .sv-invoice-meta,
    .sv-invoice-grid {
        padding-inline: 20px;
    }

    .sv-invoice-summary {
        margin-inline: 20px;
    }

    .sv-invoice-footer {
        padding-inline: 20px;
    }
}

/* Premium home page refresh: scoped to the home wrapper only. */
.sv-public-body:has(.sv-home-experience) .sv-navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 16px 42px rgba(15, 23, 42, .045);
}

.sv-public-body:has(.sv-home-experience) .sv-nav-inner {
    min-height: 78px;
}

.sv-public-body:has(.sv-home-experience) .sv-nav-links a {
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.sv-public-body:has(.sv-home-experience) .sv-nav-links a:hover {
    transform: translateY(-1px);
}

.sv-home-experience {
    --sv-home-blue: #2563eb;
    --sv-home-blue-dark: #143fb8;
    --sv-home-ink: #0f172a;
    --sv-home-muted: #64748b;
    --sv-home-line: rgba(37, 99, 235, .15);
    --sv-home-panel: rgba(255, 255, 255, .82);
    background:
        radial-gradient(circle at 12% 8%, rgba(37, 99, 235, .12), transparent 28%),
        radial-gradient(circle at 86% 8%, rgba(147, 197, 253, .22), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 42%, #ffffff 100%);
}

.sv-home-experience .sv-section {
    padding-top: clamp(76px, 8vw, 132px);
    padding-bottom: clamp(76px, 8vw, 132px);
}

.sv-home-hero-redesign {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 5vw, 68px) 0 clamp(48px, 6vw, 82px);
    border-bottom: 1px solid rgba(37, 99, 235, .1);
    background:
        linear-gradient(rgba(37, 99, 235, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, .04) 1px, transparent 1px),
        radial-gradient(circle at 72% 18%, rgba(96, 165, 250, .22), transparent 32%),
        radial-gradient(circle at 18% 42%, rgba(219, 234, 254, .92), transparent 34%);
    background-size: 78px 78px, 78px 78px, auto, auto;
}

.sv-home-hero-redesign::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0 34%, rgba(37, 99, 235, .08) 34.1%, transparent 34.5% 100%),
        linear-gradient(35deg, transparent 0 74%, rgba(147, 197, 253, .14) 74.1%, transparent 74.5% 100%);
    opacity: .8;
}

.sv-home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: clamp(36px, 5vw, 84px);
    min-height: min(720px, calc(100svh - 108px));
}

.sv-home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 999px;
    background: rgba(239, 246, 255, .9);
    color: var(--sv-home-blue-dark);
    font-size: 13px;
    font-weight: 800;
}

.sv-home-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--sv-home-blue);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, .12);
}

.sv-home-hero-title {
    max-width: 680px;
    margin: 20px 0 0;
    color: var(--sv-home-ink);
    font-size: clamp(42px, 5.4vw, 82px);
    line-height: .98;
    letter-spacing: 0;
    font-weight: 850;
}

.sv-home-hero-title .sv-hero-rotator {
    display: inline-grid;
    min-height: 1.05em;
    color: var(--sv-home-blue);
    text-shadow: 0 12px 34px rgba(37, 99, 235, .18);
}

.sv-home-hero-title .sv-hero-rotator span {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(.42em) scale(.98);
    animation: svHomeHeroWords 15s infinite;
}

.sv-home-hero-title .sv-hero-rotator span:nth-child(2) { animation-delay: 3s; }
.sv-home-hero-title .sv-hero-rotator span:nth-child(3) { animation-delay: 6s; }
.sv-home-hero-title .sv-hero-rotator span:nth-child(4) { animation-delay: 9s; }
.sv-home-hero-title .sv-hero-rotator span:nth-child(5) { animation-delay: 12s; }

@keyframes svHomeHeroWords {
    0%, 4% { opacity: 0; transform: translateY(.42em) scale(.98); }
    8%, 17% { opacity: 1; transform: translateY(0) scale(1); }
    22%, 100% { opacity: 0; transform: translateY(-.32em) scale(.98); }
}

.sv-home-hero-copy .sv-copy {
    max-width: 610px;
    margin-top: 24px;
    color: var(--sv-home-muted);
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.65;
}

.sv-home-hero-actions {
    margin-top: 34px;
    gap: 14px;
}

.sv-home-hero-actions .sv-button {
    min-height: 56px;
    padding-inline: 28px;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(37, 99, 235, .14);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.sv-home-hero-actions .sv-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 46px rgba(37, 99, 235, .2);
}

.sv-watch-demo-dialog {
    width: min(620px, calc(100vw - 28px));
    transition: width .18s ease;
}

.sv-watch-demo-dialog.is-playing {
    width: min(980px, calc(100vw - 28px));
}

.sv-watch-demo-panel {
    display: grid;
    gap: 22px;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 24px;
    background:
        radial-gradient(circle at 12% 0%, rgba(37, 99, 235, .12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 251, 255, .96));
    box-shadow: 0 34px 90px rgba(15, 23, 42, .24);
}

.sv-watch-demo-panel .sv-dialog-header {
    align-items: flex-start;
}

.sv-watch-demo-panel .sv-dialog-header h3 {
    margin: 4px 0 0;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
}

.sv-watch-demo-choice {
    display: grid;
    gap: 18px;
}

.sv-watch-demo-choice p {
    margin: 0;
    color: var(--sv-muted-strong);
    font-size: 17px;
    line-height: 1.6;
}

.sv-watch-demo-language {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sv-watch-demo-language button {
    display: grid;
    gap: 6px;
    border: 1px solid rgba(191, 219, 254, .95);
    border-radius: 18px;
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, .12), transparent 38%),
        #ffffff;
    color: var(--sv-text);
    cursor: pointer;
    font: inherit;
    padding: 22px;
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sv-watch-demo-language button strong {
    color: var(--sv-primary-dark);
    font-size: 22px;
    font-weight: 800;
}

.sv-watch-demo-language button span {
    color: var(--sv-muted-strong);
    font-size: 14px;
    font-weight: 700;
}

.sv-watch-demo-language button:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, .55);
    box-shadow: 0 18px 42px rgba(37, 99, 235, .16);
}

.sv-watch-demo-player-view {
    display: grid;
    gap: 14px;
}

.sv-watch-demo-choice[hidden],
.sv-watch-demo-player-view[hidden],
.sv-watch-demo-frame video[hidden],
.sv-watch-demo-empty[hidden] {
    display: none;
}

.sv-watch-demo-player-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.sv-watch-demo-player-bar span {
    color: var(--sv-text);
    font-weight: 850;
}

.sv-watch-demo-player-bar button {
    border: 1px solid rgba(37, 99, 235, .28);
    border-radius: 999px;
    background: #ffffff;
    color: var(--sv-primary-dark);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    padding: 10px 14px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sv-watch-demo-player-bar button:hover {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, .55);
    box-shadow: 0 12px 28px rgba(37, 99, 235, .14);
}

.sv-watch-demo-frame {
    display: grid;
    min-height: clamp(260px, 52vw, 520px);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .92), rgba(30, 64, 175, .9)),
        radial-gradient(circle at 20% 20%, rgba(96, 165, 250, .28), transparent 38%);
}

.sv-watch-demo-frame video {
    width: 100%;
    height: 100%;
    min-height: clamp(260px, 52vw, 520px);
    background: #020617;
    object-fit: contain;
}

.sv-watch-demo-empty {
    align-self: center;
    justify-self: center;
    width: min(520px, calc(100% - 40px));
    border: 1px solid rgba(191, 219, 254, .4);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    color: var(--sv-muted-strong);
    font-weight: 800;
    line-height: 1.6;
    padding: 26px;
    text-align: center;
}

.sv-demo-video-settings-card {
    grid-column: 1 / -1;
}

.sv-demo-video-admin-list {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.sv-demo-video-admin-item {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 18px;
    background: rgba(248, 251, 255, .78);
}

.sv-demo-video-admin-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.sv-demo-video-admin-heading h4 {
    margin: 0 0 4px;
    color: var(--sv-text);
    font-size: 18px;
}

.sv-demo-video-admin-heading p {
    margin: 0;
    color: var(--sv-muted-strong);
    line-height: 1.5;
}

.sv-badge-muted {
    background: rgba(226, 232, 240, .8);
    color: var(--sv-muted-strong);
}

.sv-demo-video-admin-preview,
.sv-demo-video-empty {
    width: 100%;
    min-height: 220px;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 16px;
    background: #ffffff;
}

.sv-demo-video-admin-preview {
    display: block;
    max-height: 320px;
    object-fit: contain;
}

.sv-demo-video-empty {
    display: grid;
    place-items: center;
    color: var(--sv-muted-strong);
    font-weight: 800;
    padding: 24px;
    text-align: center;
}

.sv-demo-video-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px;
}

.sv-demo-video-actions form {
    display: grid;
    gap: 10px;
}

.sv-demo-video-upload {
    display: grid;
    gap: 8px;
    color: var(--sv-text);
    font-weight: 850;
}

.sv-demo-video-upload input {
    width: 100%;
    border: 1px solid var(--sv-border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--sv-text);
    padding: 12px;
}

@media (max-width: 720px) {
    .sv-watch-demo-language,
    .sv-demo-video-admin-heading,
    .sv-demo-video-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .sv-watch-demo-language button,
    .sv-demo-video-actions .sv-button {
        width: 100%;
        justify-content: center;
    }
}

.sv-home-trust-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.sv-home-trust-list span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--sv-home-muted);
    font-size: 14px;
    font-weight: 800;
}

.sv-home-trust-list span::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--sv-home-blue);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, .11);
}

.sv-home-product-visual {
    position: relative;
    min-height: 590px;
}

.sv-home-product-visual::before {
    content: "";
    position: absolute;
    inset: 8% 4% 4% 10%;
    border-radius: 42px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .3), rgba(219, 234, 254, .72)),
        repeating-linear-gradient(135deg, rgba(37, 99, 235, .13) 0 1px, transparent 1px 32px);
    border: 1px solid rgba(37, 99, 235, .13);
    filter: drop-shadow(0 34px 70px rgba(37, 99, 235, .14));
}

.sv-home-product-shell {
    position: relative;
    margin: 34px 0 0 auto;
    max-width: 640px;
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 34px;
    overflow: hidden;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(22px);
    box-shadow: 0 36px 80px rgba(15, 23, 42, .13);
    animation: svHomeFloat 7s ease-in-out infinite;
}

@keyframes svHomeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.sv-home-product-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(148, 163, 184, .18);
}

.sv-home-product-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.sv-home-product-brand img,
.sv-home-extension-float img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 14px;
}

.sv-home-product-brand strong {
    color: var(--sv-home-ink);
    font-size: 18px;
}

.sv-home-product-topbar > span,
.sv-home-product-card em,
.sv-home-product-row span {
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-style: normal;
    font-size: 13px;
    font-weight: 850;
    padding: 9px 14px;
}

.sv-home-product-body {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 24px;
    padding: 30px;
}

.sv-home-product-rail {
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 22px;
    min-height: 410px;
    padding: 24px 0;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(239, 246, 255, .96), rgba(248, 251, 255, .9));
}

.sv-home-product-rail span {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(37, 99, 235, .13);
    border-radius: 16px;
    background: #ffffff;
}

.sv-home-product-rail span:first-child {
    background: #2563eb;
    border-color: #2563eb;
}

.sv-home-product-main {
    position: relative;
    display: grid;
    gap: 18px;
}

.sv-home-product-card,
.sv-home-product-row,
.sv-home-extension-float,
.sv-home-product-metrics > div {
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 22px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 18px 36px rgba(15, 23, 42, .055);
}

.sv-home-product-card {
    position: relative;
    min-height: 112px;
    padding: 24px;
}

.sv-home-product-card-accent {
    background:
        radial-gradient(circle at 88% 18%, rgba(37, 99, 235, .22), transparent 36%),
        linear-gradient(135deg, #ffffff, #eff6ff);
}

.sv-home-product-card span,
.sv-home-product-metrics span,
.sv-home-extension-float span {
    color: var(--sv-home-muted);
}

.sv-home-product-card strong {
    display: block;
    margin-top: 10px;
    color: var(--sv-home-ink);
    font-size: 27px;
}

.sv-home-product-card em {
    position: absolute;
    top: 24px;
    right: 24px;
}

.sv-home-product-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.sv-home-product-metrics > div {
    padding: 18px;
}

.sv-home-product-metrics strong {
    display: block;
    color: var(--sv-home-ink);
    font-size: 19px;
}

.sv-home-product-metrics span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.35;
}

.sv-home-product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 74px;
    padding: 18px 22px;
}

.sv-home-product-row strong {
    color: var(--sv-home-ink);
}

.sv-home-extension-float {
    position: absolute;
    right: -16px;
    bottom: -30px;
    display: flex;
    align-items: center;
    gap: 14px;
    width: min(360px, 88%);
    padding: 18px;
}

.sv-home-extension-float strong {
    display: block;
    color: var(--sv-home-ink);
}

.sv-home-marquee {
    overflow: hidden;
    border-block: 1px solid rgba(37, 99, 235, .12);
    background: rgba(255, 255, 255, .76);
    backdrop-filter: blur(18px);
}

.sv-home-marquee-track {
    display: flex;
    width: max-content;
    gap: 14px;
    padding: 16px 0;
    animation: svHomeMarquee 30s linear infinite;
}

.sv-home-marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid rgba(37, 99, 235, .15);
    border-radius: 999px;
    background: #ffffff;
    color: #1e40af;
    font-size: 13px;
    font-weight: 850;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .045);
}

.sv-home-marquee-track span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--sv-home-blue);
}

@keyframes svHomeMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.sv-home-feature-layout {
    display: grid;
    grid-template-columns: minmax(260px, .75fr) minmax(0, 1.5fr);
    gap: clamp(26px, 4vw, 52px);
    align-items: start;
    margin-top: 44px;
}

.sv-home-feature-narrative {
    position: sticky;
    top: 110px;
    padding: clamp(26px, 3vw, 38px);
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 30px;
    background:
        radial-gradient(circle at 20% 0%, rgba(37, 99, 235, .15), transparent 34%),
        linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 24px 58px rgba(15, 23, 42, .06);
}

.sv-home-feature-narrative span {
    color: var(--sv-home-blue);
    font-weight: 850;
    text-transform: uppercase;
    font-size: 12px;
}

.sv-home-feature-narrative h3 {
    margin: 18px 0 14px;
    color: var(--sv-home-ink);
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.14;
}

.sv-home-feature-narrative p {
    color: var(--sv-home-muted);
    line-height: 1.7;
}

.sv-home-feature-card,
.sv-home-trust-card,
.sv-home-step-card {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.sv-home-feature-card:hover,
.sv-home-trust-card:hover,
.sv-home-step-card:hover,
.sv-public-body:has(.sv-home-experience) .sv-pricing-card:hover {
    transform: translateY(-7px);
    border-color: rgba(37, 99, 235, .28);
    box-shadow: 0 28px 64px rgba(15, 23, 42, .11);
}

.sv-home-feature-card {
    min-height: 300px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 251, 255, .9)),
        radial-gradient(circle at 88% 10%, rgba(37, 99, 235, .12), transparent 28%);
}

.sv-home-feature-card .sv-badge {
    min-width: 100%;
    justify-content: center;
    border-radius: 999px;
}

.sv-home-proof-section .sv-public-trust-panel {
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(239, 246, 255, .84)),
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, .12), transparent 32%);
}

.sv-home-trust-grid {
    margin-top: 36px;
}

.sv-home-trust-card {
    border-radius: 24px;
}

.sv-home-trust-card h3,
.sv-home-step-card h3 {
    margin-top: 18px;
}

.sv-home-competitor-section {
    background:
        radial-gradient(circle at 16% 18%, rgba(37, 99, 235, .1), transparent 28%),
        linear-gradient(180deg, rgba(248, 251, 255, .92), rgba(255, 255, 255, .98));
}

.sv-home-comparison-panel {
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 251, 255, .92)),
        radial-gradient(circle at 88% 0%, rgba(37, 99, 235, .1), transparent 32%);
    box-shadow: 0 30px 80px rgba(15, 23, 42, .08);
}

.sv-home-comparison-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(28px, 4vw, 48px);
    border-bottom: 1px solid rgba(37, 99, 235, .12);
}

.sv-home-comparison-eyebrow {
    display: inline-flex;
    width: max-content;
    margin-bottom: 14px;
    padding: 8px 12px;
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 999px;
    background: rgba(219, 234, 254, .72);
    color: var(--sv-home-blue-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.sv-home-comparison-header h2 {
    margin: 0;
    color: var(--sv-home-ink);
    font-size: clamp(34px, 4.4vw, 58px);
    line-height: 1.02;
    letter-spacing: 0;
}

.sv-home-comparison-header p {
    max-width: 760px;
    margin: 16px 0 0;
    color: var(--sv-home-muted);
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.72;
}

.sv-home-comparison-notes {
    display: grid;
    gap: 10px;
    flex: 0 0 auto;
    min-width: 230px;
}

.sv-home-comparison-notes span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid rgba(37, 99, 235, .13);
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    color: #334155;
    font-size: 13px;
    font-weight: 850;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .045);
}

.sv-home-comparison-notes span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--sv-home-blue);
}

.sv-home-competitor-section .sv-competitor-table-wrap {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow-x: auto;
}

.sv-home-competitor-section .sv-competitor-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    border-bottom: 1px solid rgba(37, 99, 235, .12);
    background: rgba(239, 246, 255, .92);
    color: #475569;
    font-size: 12px;
    letter-spacing: .08em;
}

.sv-home-competitor-section .sv-competitor-table th span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
}

.sv-home-competitor-section .sv-competitor-table th:nth-child(2) span {
    padding: 8px 13px;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .18);
}

.sv-home-competitor-section .sv-competitor-table td {
    padding: clamp(22px, 2.2vw, 30px) clamp(20px, 2.6vw, 28px);
    border-top: 1px solid rgba(15, 23, 42, .075);
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
}

.sv-home-competitor-section .sv-competitor-table tr {
    transition: background .18s ease;
}

.sv-home-competitor-section .sv-competitor-table tbody tr:hover {
    background: rgba(239, 246, 255, .58);
}

.sv-home-competitor-section .sv-competitor-table td:first-child {
    color: var(--sv-home-ink);
    font-weight: 850;
    width: 22%;
}

.sv-home-compare-copy {
    display: block;
    max-width: 620px;
}

.sv-home-compare-copy-primary {
    position: relative;
    padding-left: 18px;
    color: #1e3a8a;
}

.sv-home-compare-copy-primary::before {
    content: "";
    position: absolute;
    top: .7em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--sv-home-blue);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, .1);
}

.sv-home-step-card {
    min-height: 260px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, #ffffff, #f8fbff);
}

.sv-public-body:has(.sv-home-experience) .sv-pricing-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    min-height: 520px;
    padding: clamp(28px, 3.2vw, 40px);
    background:
        linear-gradient(180deg, #ffffff, #f8fbff);
}

.sv-public-body:has(.sv-home-experience) .sv-pricing-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 85% 0%, rgba(37, 99, 235, .13), transparent 28%);
}

.sv-public-body:has(.sv-home-experience) .sv-pricing-card-featured {
    border-color: rgba(37, 99, 235, .4);
    box-shadow: 0 34px 72px rgba(37, 99, 235, .16);
}

.sv-home-security-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.sv-home-faq-section .sv-faq details {
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, .14);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .045);
}

.sv-home-faq-section .sv-faq details:hover {
    border-color: rgba(37, 99, 235, .28);
}

.sv-home-final-cta .sv-cta-band {
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 255, 255, .28), transparent 24%),
        linear-gradient(135deg, #1d4ed8, #2563eb 52%, #60a5fa);
    box-shadow: 0 36px 78px rgba(37, 99, 235, .22);
}

.sv-home-final-cta .sv-cta-band::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .65), transparent);
}

.sv-home-final-cta .sv-section-header,
.sv-home-final-cta .sv-actions {
    position: relative;
    z-index: 1;
}

.sv-home-final-cta .sv-section-header h2,
.sv-home-final-cta .sv-section-header p {
    color: #ffffff;
}

.sv-public-body:has(.sv-home-experience) .sv-footer {
    background:
        radial-gradient(circle at 14% 20%, rgba(37, 99, 235, .12), transparent 28%),
        radial-gradient(circle at 82% 10%, rgba(96, 165, 250, .12), transparent 30%),
        linear-gradient(180deg, #f8fbff, #ffffff 58%, #f7fbff);
    border-top: 1px solid rgba(37, 99, 235, .12);
}

.sv-public-body:has(.sv-home-experience) .sv-footer a {
    transition: color .2s ease, transform .2s ease;
}

.sv-public-body:has(.sv-home-experience) .sv-footer a:hover {
    transform: translateX(3px);
}

@media (max-width: 1120px) {
    .sv-home-hero-grid,
    .sv-home-feature-layout {
        grid-template-columns: 1fr;
    }

    .sv-home-product-visual {
        min-height: auto;
    }

    .sv-home-product-shell {
        margin-inline: auto;
    }

    .sv-home-feature-narrative {
        position: static;
    }
}

@media (max-width: 760px) {
    .sv-home-experience .sv-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .sv-home-hero-redesign {
        padding-top: 30px;
    }

    .sv-home-hero-grid {
        min-height: auto;
        gap: 34px;
    }

    .sv-home-hero-title {
        font-size: clamp(36px, 12vw, 52px);
    }

    .sv-home-hero-actions,
    .sv-home-trust-list {
        align-items: stretch;
    }

    .sv-home-hero-actions .sv-button {
        width: 100%;
        justify-content: center;
    }

    .sv-home-product-visual::before {
        inset: 0;
        border-radius: 30px;
    }

    .sv-home-product-shell {
        margin-top: 20px;
        border-radius: 28px;
    }

    .sv-home-product-body {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .sv-home-product-rail {
        display: none;
    }

    .sv-home-product-metrics {
        grid-template-columns: 1fr;
    }

    .sv-home-extension-float {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
    }

    .sv-home-product-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .sv-home-marquee-track {
        animation-duration: 22s;
    }

    .sv-home-comparison-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .sv-home-comparison-notes {
        min-width: 0;
        width: 100%;
    }

    .sv-home-competitor-section .sv-competitor-table {
        min-width: 820px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sv-home-hero-title .sv-hero-rotator span,
    .sv-home-marquee-track,
    .sv-home-product-shell {
        animation: none;
    }

    .sv-home-hero-title .sv-hero-rotator span {
        opacity: 0;
        transform: none;
    }

    .sv-home-hero-title .sv-hero-rotator span:first-child {
        opacity: 1;
    }
}

/* Premium public page refresh: About, Features, Why, Pricing */
.sv-public-redesign {
    --sv-page-ink: #0f172a;
    --sv-page-muted: #64748b;
    --sv-page-blue: #2563eb;
    --sv-page-blue-deep: #1d4ed8;
    --sv-page-blue-soft: #dbeafe;
    --sv-page-line: rgba(37, 99, 235, .14);
    --sv-page-shadow: 0 34px 80px rgba(15, 23, 42, .085);
    background:
        radial-gradient(circle at 8% 0%, rgba(37, 99, 235, .08), transparent 24%),
        radial-gradient(circle at 92% 12%, rgba(96, 165, 250, .12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 42%, #ffffff 100%);
}

.sv-public-redesign .sv-section {
    padding-top: clamp(78px, 7vw, 118px);
    padding-bottom: clamp(78px, 7vw, 118px);
}

.sv-public-redesign .sv-page-hero {
    padding-top: clamp(34px, 4vw, 58px);
    padding-bottom: clamp(58px, 6vw, 96px);
}

.sv-page-hero-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 34px;
    padding: clamp(36px, 5vw, 74px);
    background:
        linear-gradient(rgba(37, 99, 235, .052) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, .052) 1px, transparent 1px),
        radial-gradient(circle at 84% 18%, rgba(37, 99, 235, .16), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(248, 251, 255, .86));
    background-size: 48px 48px, 48px 48px, auto, auto;
    box-shadow: var(--sv-page-shadow);
}

.sv-page-hero-shell::before {
    content: "";
    position: absolute;
    inset: auto -12% -36% 48%;
    height: 420px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37, 99, 235, .18), transparent 68%);
    pointer-events: none;
}

.sv-page-hero-split {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(320px, .76fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.sv-page-hero-centered {
    max-width: 980px;
    margin-inline: auto;
    text-align: center;
}

.sv-page-hero .sv-section-header {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.sv-page-hero .sv-section-header h2,
.sv-page-hero .sv-title {
    margin: 18px 0 0;
    max-width: 960px;
    color: var(--sv-page-ink);
    font-size: clamp(42px, 4.8vw, 72px);
    line-height: .98;
    letter-spacing: -0.025em;
}

.sv-page-hero .sv-section-header p,
.sv-page-hero .sv-copy {
    max-width: 760px;
    margin-top: 24px;
    color: var(--sv-page-muted);
    font-size: clamp(18px, 1.55vw, 23px);
    line-height: 1.72;
}

.sv-about-redesign .sv-page-hero .sv-section-header h2,
.sv-features-redesign .sv-page-hero .sv-section-header h2,
.sv-pricing-redesign .sv-page-hero .sv-section-header h2 {
    font-size: clamp(34px, 3.75vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.018em;
}

.sv-about-redesign .sv-page-hero .sv-section-header p,
.sv-features-redesign .sv-page-hero .sv-section-header p,
.sv-pricing-redesign .sv-page-hero .sv-section-header p {
    max-width: 700px;
    margin-top: 18px;
    font-size: clamp(16px, 1.2vw, 20px);
    line-height: 1.65;
}

.sv-page-hero-centered .sv-copy,
.sv-page-hero-centered .sv-section-header p {
    margin-left: auto;
    margin-right: auto;
}

.sv-about-hero-visual,
.sv-feature-hero-stack {
    position: relative;
    z-index: 1;
}

.sv-security-orbit {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 360px;
    border-radius: 36px;
    background:
        radial-gradient(circle at 50% 50%, rgba(37, 99, 235, .2), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, .8), rgba(239, 246, 255, .78));
    border: 1px solid rgba(37, 99, 235, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 24px 58px rgba(37, 99, 235, .12);
}

.sv-security-orbit strong {
    display: grid;
    place-items: center;
    width: 118px;
    height: 118px;
    border-radius: 32px;
    background: linear-gradient(135deg, var(--sv-page-blue-deep), #60a5fa);
    color: #ffffff;
    font-size: 38px;
    box-shadow: 0 24px 54px rgba(37, 99, 235, .28);
}

.sv-security-orbit span {
    position: absolute;
    min-width: 116px;
    padding: 12px 16px;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    color: #1e3a8a;
    font-weight: 850;
    text-align: center;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .075);
}

.sv-security-orbit span:nth-child(1) { top: 42px; left: 50%; transform: translateX(-50%); }
.sv-security-orbit span:nth-child(2) { right: 28px; top: 48%; }
.sv-security-orbit span:nth-child(3) { left: 28px; top: 48%; }

.sv-about-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 34px);
}

.sv-about-story-card,
.sv-workflow-card,
.sv-plan-fit-card,
.sv-risk-card,
.sv-trust-model-grid .sv-card,
.sv-solution-grid .sv-card {
    min-height: 280px;
    border-radius: 28px;
    padding: clamp(28px, 3vw, 42px);
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, .09), transparent 32%),
        linear-gradient(180deg, #ffffff, #f8fbff);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.sv-about-story-card h3,
.sv-workflow-card h3,
.sv-plan-fit-card h3 {
    margin-top: 22px;
    font-size: clamp(25px, 2vw, 34px);
    line-height: 1.13;
}

.sv-about-story-card:hover,
.sv-workflow-card:hover,
.sv-plan-fit-card:hover,
.sv-risk-card:hover,
.sv-trust-model-grid .sv-card:hover,
.sv-solution-grid .sv-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, .3);
    box-shadow: 0 28px 68px rgba(15, 23, 42, .1);
}

.sv-about-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2.5vw, 32px);
}

.sv-about-timeline::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .26), transparent);
}

.sv-about-timeline .sv-feature-card {
    position: relative;
    min-height: 310px;
    border-radius: 30px;
    padding: clamp(28px, 3vw, 40px);
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(16px);
}

.sv-feature-hero-stack {
    display: grid;
    gap: 16px;
    padding: clamp(24px, 3vw, 36px);
    border-radius: 34px;
    border: 1px solid rgba(37, 99, 235, .16);
    background:
        radial-gradient(circle at 18% 12%, rgba(37, 99, 235, .12), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(239, 246, 255, .74));
    box-shadow: 0 28px 64px rgba(37, 99, 235, .12);
}

.sv-feature-hero-stack span {
    display: flex;
    align-items: center;
    min-height: 70px;
    padding: 18px 22px;
    border-radius: 22px;
    border: 1px solid rgba(37, 99, 235, .14);
    background: #ffffff;
    color: var(--sv-page-ink);
    font-weight: 850;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .055);
    transform: translateX(calc(var(--offset, 0) * 1px));
}

.sv-feature-hero-stack span:nth-child(2) { --offset: 28; }
.sv-feature-hero-stack span:nth-child(3) { --offset: 54; }
.sv-feature-hero-stack span:nth-child(4) { --offset: 18; }

.sv-feature-showcase-layout {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    gap: clamp(34px, 5vw, 76px);
    align-items: start;
}

.sv-feature-showcase-intro {
    position: sticky;
    top: 126px;
    padding: clamp(28px, 3vw, 42px);
    border-left: 4px solid var(--sv-page-blue);
    border-radius: 0 30px 30px 0;
    background: linear-gradient(90deg, rgba(37, 99, 235, .08), transparent);
}

.sv-feature-showcase-intro h2 {
    margin: 20px 0 16px;
    color: var(--sv-page-ink);
    font-size: clamp(32px, 3.5vw, 54px);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.sv-feature-showcase-intro p {
    color: var(--sv-page-muted);
    font-size: 18px;
    line-height: 1.75;
}

.sv-feature-grid-premium .sv-feature-card {
    min-height: 342px;
    border-radius: 30px;
    padding: clamp(28px, 3vw, 40px);
    background:
        linear-gradient(180deg, #ffffff, #f8fbff);
}

.sv-feature-grid-premium .sv-feature-card h3 {
    font-size: clamp(27px, 2.4vw, 38px);
    line-height: 1.12;
}

.sv-feature-grid-premium .sv-feature-card p {
    font-size: 18px;
    line-height: 1.8;
}

.sv-feature-compare-list {
    display: grid;
    gap: 18px;
}

.sv-public-redesign .sv-feature-compare-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(180px, .7fr) repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 42px);
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 28px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 20px 50px rgba(15, 23, 42, .055);
}

.sv-public-redesign .sv-feature-compare-row:hover {
    border-color: rgba(37, 99, 235, .28);
    box-shadow: 0 26px 64px rgba(15, 23, 42, .085);
}

.sv-compare-index {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--sv-page-blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .14em;
}

.sv-public-redesign .sv-feature-compare-row h3 {
    font-size: clamp(23px, 2vw, 32px);
    line-height: 1.15;
}

.sv-public-redesign .sv-feature-compare-row strong {
    display: block;
    margin-bottom: 14px;
    color: var(--sv-page-ink);
    font-size: 18px;
}

.sv-public-redesign .sv-feature-compare-row li {
    color: #475569;
    line-height: 1.72;
}

.sv-risk-grid,
.sv-solution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2.5vw, 30px);
}

.sv-solution-panel {
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    padding: clamp(34px, 5vw, 62px);
    background:
        radial-gradient(circle at 88% 10%, rgba(37, 99, 235, .18), transparent 30%),
        linear-gradient(145deg, #ffffff, #f4f8ff);
}

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

.sv-enterprise-table-panel {
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 32px;
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, .09), transparent 24%),
        #ffffff;
    box-shadow: var(--sv-page-shadow);
}

.sv-public-redesign .sv-competitor-table-wrap {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.sv-public-redesign .sv-competitor-table {
    min-width: 860px;
}

.sv-pricing-redesign .sv-pricing-comparison-table {
    min-width: 1120px;
}

.sv-public-redesign .sv-competitor-table th {
    padding: 24px 28px;
    background: linear-gradient(180deg, #f8fbff, #eef6ff);
    color: #334155;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.sv-public-redesign .sv-competitor-table td {
    padding: 26px 28px;
    border-top: 1px solid rgba(15, 23, 42, .07);
    color: #475569;
    font-size: 16px;
    line-height: 1.72;
    vertical-align: top;
}

.sv-public-redesign .sv-competitor-table td:first-child {
    color: var(--sv-page-ink);
    font-weight: 900;
}

.sv-public-redesign .sv-competitor-table tbody tr {
    transition: background .18s ease;
}

.sv-public-redesign .sv-competitor-table tbody tr:hover {
    background: rgba(239, 246, 255, .58);
}

.sv-public-redesign .sv-competitor-note {
    margin: 0;
    padding: 18px 28px 24px;
    border-top: 1px solid rgba(15, 23, 42, .06);
    color: #64748b;
    font-size: 15px;
}

.sv-premium-cta-band {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 36px;
    background:
        radial-gradient(circle at 80% 0%, rgba(37, 99, 235, .16), transparent 34%),
        linear-gradient(135deg, #ffffff, #eef6ff);
    box-shadow: var(--sv-page-shadow);
}

.sv-pricing-hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.sv-pricing-hero-badges span {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, .18);
    background: rgba(255, 255, 255, .8);
    color: #1e3a8a;
    font-weight: 850;
}

.sv-pricing-redesign .sv-pricing-section {
    padding-top: clamp(36px, 4vw, 64px);
}

.sv-pricing-redesign .sv-pricing-section .sv-grid-4 {
    gap: clamp(20px, 2.2vw, 30px);
    align-items: stretch;
}

.sv-pricing-redesign .sv-pricing-card {
    position: relative;
    overflow: hidden;
    min-height: 540px;
    border-radius: 30px;
    padding: clamp(28px, 3vw, 40px);
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, .1), transparent 28%),
        linear-gradient(180deg, #ffffff, #f8fbff);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.sv-pricing-redesign .sv-pricing-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, rgba(37, 99, 235, .35), rgba(96, 165, 250, .04));
}

.sv-pricing-redesign .sv-pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, .32);
    box-shadow: 0 34px 74px rgba(15, 23, 42, .11);
}

.sv-pricing-redesign .sv-pricing-card-featured {
    border-color: rgba(37, 99, 235, .42);
    box-shadow: 0 34px 80px rgba(37, 99, 235, .16);
}

.sv-pricing-redesign .sv-price {
    margin-top: 24px;
    font-size: clamp(42px, 4vw, 58px);
    letter-spacing: -0.035em;
}

.sv-pricing-faq {
    max-width: 980px;
    margin: 0 auto;
}

.sv-pricing-faq details {
    border-radius: 22px;
    border: 1px solid rgba(37, 99, 235, .14);
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .045);
}

.sv-pricing-faq details:hover {
    border-color: rgba(37, 99, 235, .28);
}

/* Final FAQ interaction pass: keep every public question hover consistent. */
.sv-public-body .sv-faq details {
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.sv-public-body .sv-faq details:hover,
.sv-public-body .sv-faq details:focus-within,
.sv-public-body .sv-faq details[open]:hover {
    border-color: rgba(37, 99, 235, .36);
    background:
        radial-gradient(circle at 94% 12%, rgba(37, 99, 235, .12), transparent 30%),
        #ffffff;
    box-shadow: 0 26px 62px rgba(37, 99, 235, .12);
    transform: translateY(-3px);
}

.sv-public-body .sv-faq details > summary {
    cursor: pointer;
}

.sv-public-body .sv-faq details:hover > summary,
.sv-public-body .sv-faq details:focus-within > summary {
    color: var(--sv-primary-dark);
}

.sv-public-body .sv-faq details:hover > summary::after,
.sv-public-body .sv-faq details:focus-within > summary::after,
.sv-public-body .sv-faq details[open]:hover > summary::after {
    background: var(--sv-primary);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(37, 99, 235, .2);
    transform: rotate(180deg);
}

.sv-public-body .sv-faq details:not([open]) > p {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transform: translateY(-6px);
}

.sv-public-body .sv-faq details:not([open]):hover > p,
.sv-public-body .sv-faq details:not([open]):focus-within > p {
    max-height: 220px;
    opacity: 1;
    padding-bottom: 22px;
    transform: translateY(0);
}

@media (max-width: 1120px) {
    .sv-page-hero-split,
    .sv-feature-showcase-layout {
        grid-template-columns: 1fr;
    }

    .sv-feature-showcase-intro {
        position: static;
    }

    .sv-risk-grid,
    .sv-solution-grid,
    .sv-about-timeline {
        grid-template-columns: 1fr;
    }

    .sv-about-timeline::before {
        display: none;
    }
}

@media (max-width: 860px) {
    .sv-about-story-grid,
    .sv-public-redesign .sv-feature-compare-row {
        grid-template-columns: 1fr;
    }

    .sv-feature-hero-stack span {
        transform: none;
    }

    .sv-page-hero .sv-section-header h2,
    .sv-page-hero .sv-title {
        font-size: clamp(34px, 10vw, 50px);
    }
}

@media (max-width: 640px) {
    .sv-public-redesign .sv-section {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .sv-page-hero-shell,
    .sv-solution-panel,
    .sv-enterprise-table-panel,
    .sv-premium-cta-band {
        border-radius: 24px;
    }

    .sv-page-hero-shell {
        padding: 28px;
    }

    .sv-security-orbit {
        min-height: 280px;
    }

    .sv-security-orbit strong {
        width: 92px;
        height: 92px;
        border-radius: 24px;
        font-size: 30px;
    }

    .sv-security-orbit span {
        position: static;
        transform: none !important;
        margin: 6px;
    }
}

/* Final public typography pass: keeps public hero headings elegant and consistent. */
.sv-public-body :is(.sv-home-experience, .sv-about-redesign, .sv-features-redesign, .sv-why-redesign, .sv-pricing-redesign) {
    font-family: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    letter-spacing: 0;
}

.sv-public-body :is(.sv-home-experience, .sv-about-redesign, .sv-features-redesign, .sv-why-redesign, .sv-pricing-redesign) :is(h1, h2, h3, h4, h5, h6, .sv-title, .sv-home-hero-title) {
    font-family: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 600;
    letter-spacing: 0;
}

.sv-public-body .sv-home-experience .sv-home-hero-title {
    font-size: clamp(38px, 3.7vw, 54px);
    font-weight: 600;
    line-height: 1.14;
}

.sv-public-body :is(.sv-about-redesign, .sv-features-redesign, .sv-why-redesign, .sv-pricing-redesign) .sv-page-hero :is(h1.sv-title, .sv-title, .sv-section-header h2) {
    font-size: clamp(32px, 3.2vw, 48px);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: 0;
}

.sv-public-body :is(.sv-home-experience, .sv-about-redesign, .sv-features-redesign, .sv-why-redesign, .sv-pricing-redesign) .sv-section-header h2 {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: 0;
}

.sv-public-body :is(.sv-home-experience, .sv-about-redesign, .sv-features-redesign, .sv-why-redesign, .sv-pricing-redesign) :is(h3, .sv-feature-card h3, .sv-pricing-card h3, .sv-feature-grid-premium .sv-feature-card h3, .sv-public-redesign .sv-feature-compare-row h3) {
    font-size: clamp(20px, 1.7vw, 28px);
    font-weight: 600;
    line-height: 1.24;
    letter-spacing: 0;
}

.sv-public-body :is(.sv-home-experience, .sv-about-redesign, .sv-features-redesign, .sv-why-redesign, .sv-pricing-redesign) :is(p, li, td, .sv-copy, .sv-section-header p, .sv-feature-grid-premium .sv-feature-card p) {
    font-weight: 400;
    line-height: 1.68;
    letter-spacing: 0;
}

.sv-public-body :is(.sv-home-experience, .sv-about-redesign, .sv-features-redesign, .sv-why-redesign, .sv-pricing-redesign) :is(strong, b, th, .sv-badge, .sv-kicker, .sv-button, button, .sv-compare-index, .sv-pricing-hero-badges span) {
    font-weight: 600;
    letter-spacing: 0;
}

.sv-public-body :is(.sv-home-experience, .sv-about-redesign, .sv-features-redesign, .sv-why-redesign, .sv-pricing-redesign) :is(.sv-price, .sv-public-redesign .sv-competitor-table td:first-child) {
    font-weight: 700;
    letter-spacing: 0;
}

@media (max-width: 768px) {
    .sv-public-body .sv-home-experience .sv-home-hero-title {
        font-size: clamp(36px, 6vw, 46px);
        line-height: 1.16;
    }

    .sv-public-body :is(.sv-about-redesign, .sv-features-redesign, .sv-why-redesign, .sv-pricing-redesign) .sv-page-hero :is(h1.sv-title, .sv-title, .sv-section-header h2) {
        font-size: clamp(34px, 5.6vw, 42px);
        line-height: 1.18;
    }
}

@media (max-width: 520px) {
    .sv-public-body .sv-home-experience .sv-home-hero-title,
    .sv-public-body :is(.sv-about-redesign, .sv-features-redesign, .sv-why-redesign, .sv-pricing-redesign) .sv-page-hero :is(h1.sv-title, .sv-title, .sv-section-header h2) {
        font-size: clamp(30px, 8.4vw, 38px);
        font-weight: 600;
        line-height: 1.2;
    }
}

.sv-payment-details {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.sv-payment-details div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 15px;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(239, 246, 255, .9), rgba(255, 255, 255, .96));
}

.sv-payment-details span {
    text-align: right;
    overflow-wrap: anywhere;
}

.sv-admin-payment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.sv-admin-payment-actions form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.sv-admin-payment-actions input {
    min-height: 42px;
    max-width: 220px;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 12px;
    padding: 8px 12px;
}

.sv-admin-payments-table-card {
    overflow-x: visible;
}

.sv-admin-payments-table {
    min-width: 0;
    table-layout: fixed;
}

.sv-admin-payments-table th,
.sv-admin-payments-table td {
    padding: 14px 16px;
    vertical-align: middle;
}

.sv-admin-payments-table th:nth-child(1),
.sv-admin-payments-table td:nth-child(1) {
    width: 100px;
}

.sv-admin-payments-table th:nth-child(3),
.sv-admin-payments-table td:nth-child(3),
.sv-admin-payments-table th:nth-child(4),
.sv-admin-payments-table td:nth-child(4),
.sv-admin-payments-table th:nth-child(5),
.sv-admin-payments-table td:nth-child(5),
.sv-admin-payments-table th:nth-child(6),
.sv-admin-payments-table td:nth-child(6) {
    width: 140px;
}

.sv-payment-user-cell strong,
.sv-payment-user-cell span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv-payment-manage-dialog {
    width: min(900px, calc(100vw - 32px));
}

.sv-payment-manage-panel {
    display: grid;
    gap: 20px;
}

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

.sv-payment-manage-grid div {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(239, 246, 255, .86), rgba(255, 255, 255, .98));
}

.sv-payment-manage-grid span,
.sv-payment-proof-header span,
.sv-payment-reviewed-note span {
    display: block;
    color: var(--sv-muted);
    font-size: 13px;
    font-weight: 750;
}

.sv-payment-manage-grid strong {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: var(--sv-text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv-payment-manage-grid small {
    display: block;
    margin-top: 4px;
    color: var(--sv-muted);
}

.sv-payment-proof-panel {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 18px;
    background: #f8fbff;
}

.sv-payment-proof-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.sv-payment-proof-header strong {
    color: var(--sv-text);
}

.sv-payment-proof-panel img {
    width: 100%;
    max-height: 280px;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 16px;
    background: #ffffff;
    object-fit: contain;
}

.sv-payment-modal-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sv-payment-reject-panel {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(239, 68, 68, .2);
    border-radius: 18px;
    background: #fff7f7;
}

.sv-payment-reject-panel[hidden] {
    display: none;
}

.sv-payment-reviewed-note {
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 16px;
    background: #f8fbff;
}

.sv-payment-reviewed-note strong {
    color: var(--sv-text);
}

@media (max-width: 640px) {
    .sv-payment-details div {
        display: block;
    }

    .sv-payment-details span {
        display: block;
        margin-top: 4px;
        text-align: left;
    }

    .sv-admin-payments-table,
    .sv-admin-payments-table thead,
    .sv-admin-payments-table tbody,
    .sv-admin-payments-table tr,
    .sv-admin-payments-table th,
    .sv-admin-payments-table td {
        display: block;
        width: 100% !important;
    }

    .sv-admin-payments-table thead {
        display: none;
    }

    .sv-admin-payments-table tr {
        padding: 14px 0;
        border-bottom: 1px solid var(--sv-border);
    }

    .sv-admin-payments-table td {
        border-bottom: 0;
    }

    .sv-payment-manage-grid {
        grid-template-columns: 1fr;
    }

    .sv-payment-proof-header,
    .sv-payment-modal-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .sv-payment-modal-actions form,
    .sv-payment-modal-actions .sv-button,
    .sv-payment-proof-header .sv-button {
        width: 100%;
    }
}
