/* Shared wide sidebar treatment used by the landing page and information pages. */
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.shell-topbar-left,
.shell-topbar-center,
.shell-topbar-right {
    min-width: 0;
}

.shell-topbar-left {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shell-topbar-center {
    justify-self: center;
    display: grid;
    justify-items: center;
    text-align: center;
}

.shell-topbar-right {
    justify-self: end;
}

aside[data-fuuvo-shared-sidebar="1"] a,
aside[data-fuuvo-shared-sidebar="1"] a:hover,
aside[data-fuuvo-shared-sidebar="1"] a:focus,
aside[data-fuuvo-shared-sidebar="1"] a:active,
aside[data-fuuvo-shared-sidebar="1"] a:visited {
    text-decoration: none !important;
}

[data-fuuvo-app-workspace="1"] a,
[data-fuuvo-app-workspace="1"] a:hover,
[data-fuuvo-app-workspace="1"] a:focus,
[data-fuuvo-app-workspace="1"] a:active,
[data-fuuvo-app-workspace="1"] a:visited {
    text-decoration: none !important;
}

.fuuvo-design-icon {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.fuuvo-topbar-menu-icon,
.fuuvo-topbar-menu-icon > img { width: 22px; height: 22px; display: block; }

aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-row {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-row > .fuuvo-sidebar-brand {
    min-width: 0;
    flex: 1 1 auto;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-toggle-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-top: 6px;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-toggle-slot .desktop-history-toggle {
    position: static !important;
    inset: auto !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-toggle-slot .desktop-history-toggle:hover {
    background: rgba(15, 23, 42, 0.05) !important;
}

.shell-topbar-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0d72f5;
    font-size: 15px;
    font-weight: 600;
}

.shell-topbar-back svg,
.shell-topbar-back > img {
    width: 20px;
    height: 20px;
}

.creation-app .sidebar-shell {
    display: grid;
    flex: 0 0 auto;
}

.creation-app .sidebar-nav-btn {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.creation-app .sidebar-nav-btn .rail-icon {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.creation-app .sidebar-nav-btn .rail-glyph {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}
.sidebar-nav-btn picture.rail-glyph > img { width: 100%; height: 100%; }

.creation-app .sidebar-nav-btn .rail-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Canonical public sidebar appearance. Keep this after page-specific rules. */
@media (min-width: 921px) {
    aside[data-fuuvo-shared-sidebar="1"] .fuuvo-sidebar-brand {
        min-height: 70px !important;
        margin-bottom: 8px !important;
        padding: 0 10px !important;
        display: grid !important;
        align-content: start !important;
        gap: 6px !important;
        text-decoration: none !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-logo {
        width: 118px !important;
        height: 32px !important;
        min-width: 118px !important;
        flex: 0 0 118px !important;
        overflow: visible !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-logo img {
        width: 118px !important;
        height: 32px !important;
        max-width: 118px !important;
        max-height: 32px !important;
        display: block !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-copy {
        display: flex !important;
        align-items: center !important;
        gap: 3px !important;
        padding-top: 4px !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-name-image {
        width: 52px !important;
        height: auto !important;
        max-width: 52px !important;
        display: block !important;
        flex: 0 0 auto !important;
        border: 0 !important;
        background: transparent !important;
        object-fit: contain !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .fuuvo-sidebar-brand.is-chinese {
        min-height: 54px !important;
        gap: 2px !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .fuuvo-sidebar-brand.is-chinese .sidebar-brand-logo {
        width: 68px !important;
        height: 29px !important;
        min-width: 68px !important;
        flex-basis: 68px !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .fuuvo-sidebar-brand.is-chinese .sidebar-brand-logo img.sidebar-brand-zh-logo {
        width: 68px !important;
        height: auto !important;
        max-width: 68px !important;
        max-height: 29px !important;
        background: transparent !important;
        object-fit: contain !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .fuuvo-sidebar-brand.is-chinese .sidebar-brand-copy {
        display: none !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-copy strong,
    aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-copy .sidebar-brand-suffix {
        display: inline !important;
        overflow: visible !important;
        color: #0a70e5 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-copy strong {
        font-size: 16px !important;
        font-weight: 700 !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-copy .sidebar-brand-suffix {
        color: #0d72f5 !important;
        font-size: 13px !important;
        font-weight: 600 !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-nav {
        gap: 2px !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-nav-btn {
        min-height: 42px !important;
        padding: 0 14px !important;
        border-radius: 10px !important;
        font-size: 16px !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-nav-btn .rail-icon {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-nav-btn .rail-glyph {
        width: 22px !important;
        height: 22px !important;
        flex: 0 0 22px !important;
        display: block !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] #sidebar-new-chat,
    aside[data-fuuvo-shared-sidebar="1"] .portal-new-chat {
        min-height: 54px !important;
        justify-content: center !important;
        border: 1px solid #126fff !important;
        border-radius: 10px !important;
        background: #fff !important;
        color: #0b6ff0 !important;
        box-shadow: none !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] #sidebar-new-chat .rail-icon,
    aside[data-fuuvo-shared-sidebar="1"] .portal-new-chat .rail-icon {
        width: auto !important;
        justify-content: center !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] #sidebar-new-chat .rail-icon::before {
        content: none !important;
        display: none !important;
    }
}

.portal-shell {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    transition: grid-template-columns .2s ease;
}

.portal-shell.sidebar-collapsed,
.creation-app.sidebar-collapsed,
.feature-shell.sidebar-collapsed {
    grid-template-columns: 0 minmax(0, 1fr);
}

.portal-shell.sidebar-collapsed > aside[data-fuuvo-shared-sidebar="1"],
.creation-app.sidebar-collapsed > aside[data-fuuvo-shared-sidebar="1"],
.feature-shell.sidebar-collapsed > aside[data-fuuvo-shared-sidebar="1"] {
    width: 0;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
    opacity: 0;
    overflow: hidden !important;
    pointer-events: none;
}

.portal-content {
    height: auto;
    min-height: 100vh;
    overflow: visible;
}

.portal-topbar {
    min-height: 86px;
    padding: 0 38px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 0;
}

.portal-sidebar-toggle {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #71809a;
    cursor: pointer;
}

.portal-sidebar-toggle:hover {
    background: #f4f8ff;
    color: #0d72f5;
}

.portal-sidebar-toggle svg,
.portal-sidebar-toggle img { width: 22px; height: 22px; display: block; }
.portal-back { display: none; }
.portal-subpage-back { justify-self: start; display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-size: 15px; font-weight: 600; }
.portal-subpage-back svg,
.portal-subpage-back > img { width: 20px; height: 20px; }
.portal-topbar-title { color: #111827; font-size: 20px; font-weight: 700; }
.portal-top-safety-link { display: inline-flex; align-items: center; gap: 7px; color: #71809a; font-size: 15px; font-weight: 600; }
.portal-top-safety-link svg,
.portal-top-safety-link > img { width: 21px; height: 21px; }
.portal-topbar-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }

.portal-main {
    flex: none;
    height: auto;
    min-height: calc(100vh - 86px);
    overflow: visible;
}

@media (min-width: 921px) {
    .portal-shell { --sidebar: 370px; }

    .portal-sidebar {
        position: sticky;
        top: 0;
        width: var(--sidebar);
        align-self: start;
        height: 100vh;
        padding: 30px 22px 18px;
        background: #fff;
        border-right: 1px solid #edf1f7;
    }

    .portal-sidebar .sidebar-brand {
        display: grid;
        gap: 2px;
        align-items: start;
        padding: 0 10px;
    }

    .portal-sidebar .sidebar-brand img {
        display: block;
        width: 160px;
        height: auto;
        max-height: 46px;
        border: 0;
        border-radius: 0;
        background: transparent;
        object-fit: contain;
        object-position: left center;
    }

    .portal-sidebar .sidebar-brand-wordmark {
        display: block;
        color: #0b73e8;
        font: 800 43px/.92 Arial, sans-serif;
        letter-spacing: -2px;
    }

    .portal-sidebar .sidebar-brand-wordmark span {
        display: inline-block;
        margin-left: 4px;
        color: #0688ea;
        font-size: 22px;
        letter-spacing: -4px;
        transform: translateY(-6px);
    }

    .portal-sidebar .sidebar-brand-copy {
        display: flex;
        align-items: baseline;
        gap: 2px;
        padding-top: 3px;
    }

    .portal-sidebar .sidebar-brand-copy strong,
    .portal-sidebar .sidebar-brand-copy .sidebar-brand-suffix {
        display: inline;
        overflow: visible;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.2;
        white-space: nowrap;
    }

    .portal-sidebar .sidebar-brand-copy strong { color: #0a70e5; }
    .portal-sidebar .sidebar-brand-copy .sidebar-brand-suffix { color: #0d72f5; font-size: 13px; font-weight: 600; }

    .portal-sidebar .portal-search {
        min-height: 40px;
        margin-top: 22px;
        padding: 0 10px;
        border-radius: 8px;
        box-shadow: none;
    }

    .portal-sidebar .portal-new-chat {
        width: calc(100% + 8px);
        min-height: 54px;
        margin: 22px 0 0 -4px;
        justify-content: center;
        border: 1px solid #126fff;
        border-radius: 10px;
        color: #0b6ff0;
        background: #fff;
        font-size: 18px;
    }

    .portal-sidebar .portal-new-chat .plus { font-size: 30px; }

    .portal-sidebar .portal-nav { gap: 8px; margin-top: 12px; }
    .portal-sidebar .portal-nav a {
        min-height: 48px;
        padding: 0 14px;
        border-radius: 10px;
        color: #182b4c;
        font-size: 16px;
    }
    .portal-sidebar .portal-nav a:hover { background: #f4f8ff; color: #0b6ff0; }
    .portal-sidebar .portal-nav svg { width: 22px; height: 22px; }

    .portal-sidebar .portal-recent {
        margin-top: 18px;
        padding-top: 14px;
        border-top-color: #edf1f7;
    }
    .portal-sidebar .portal-recent h2 { padding: 0 10px; color: #7b8ba5; font-size: 14px; }
    .portal-sidebar .portal-recent-list a,
    .portal-sidebar .portal-recent-empty {
        min-height: 48px;
        padding: 8px 10px;
        border-radius: 9px;
        color: #273447;
        font-size: 13px;
    }
    .portal-sidebar .portal-recent-item {
        display: flex;
        align-items: center;
        gap: 4px;
        border-radius: 9px;
    }
    .portal-sidebar .portal-recent-link {
        min-width: 0;
        flex: 1 1 auto;
    }
    .portal-sidebar .portal-recent-delete {
        width: 28px;
        height: 28px;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #8b98ab;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 28px;
        opacity: 0;
        pointer-events: none;
        cursor: pointer;
    }
    .portal-sidebar .portal-recent-delete:hover {
        background: #fff1f1;
        color: #dc2626;
    }
    .portal-sidebar .portal-recent-delete svg {
        width: 16px;
        height: 16px;
    }
    .portal-sidebar .portal-recent-item:hover .portal-recent-delete,
    .portal-sidebar .portal-recent-delete:focus-visible {
        opacity: 1;
        pointer-events: auto;
    }
    .portal-sidebar .portal-recent-list a:hover,
    .portal-sidebar .portal-recent-item:hover { background: #f6f9ff; }
    .portal-sidebar .portal-recent-icon { width: 22px; height: 22px; }
    .portal-sidebar .portal-recent-icon svg { width: 20px; height: 20px; }
    .portal-sidebar .portal-recent-time { min-width: 42px; color: #7d899e; font-size: 12px; }

    .portal-sidebar .portal-safety-link { margin-top: 18px; padding: 0 10px; color: #71809a; }
.portal-sidebar .portal-account { min-height: 68px; margin-top: 8px; }
.portal-sidebar .portal-account-chevron { display: none; }

.portal-toc {
    position: sticky;
    top: 22px;
}

.portal-toc h2 { display: none; }

.safe-use-article { min-width: 0; }
.safe-use-risk-list { border-color: #f0c36d; background: #fffaf0; }
.safe-use-risk-list .portal-risk-item { min-height: 79px; padding: 0 25px; gap: 22px; color: #172033; font-size: 17px; font-weight: 600; }
.safe-use-risk-list .portal-risk-item + .portal-risk-item { border-top-color: #f0d9a9; }
.safe-use-risk-list .portal-risk-item svg { width: 30px; height: 30px; flex: 0 0 30px; color: #df8400; }
.safe-use-section-title { margin: 28px 0 14px; color: var(--ink); font-size: 22px; }
.safe-use-guidance { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 20px 0; border: 1px solid var(--line); border-radius: 12px; background: #fbfdff; }
.safe-use-guidance .portal-action-card { min-height: 132px; padding: 8px 24px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; transform: none; text-align: left; align-items: flex-start; justify-content: flex-start; }
.safe-use-guidance .portal-action-card:last-child { border-right: 0; }
.safe-use-guidance .portal-icon-circle { width: 44px; height: 44px; flex-basis: 44px; }
.safe-use-guidance .portal-action-card strong { margin-top: 12px; color: var(--brand); font-size: 16px; }
.safe-use-guidance .portal-action-card span:not(.portal-icon-circle) { margin-top: 7px; color: #53627a; font-size: 13px; line-height: 1.65; }
.safe-use-actions { margin-top: 28px; }

.capabilities-article { min-width: 0; }
.capabilities-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.capability-card { min-height: 214px; padding: 25px 18px 22px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; border: 1px solid #d7e4f5; border-radius: 12px; background: #fff; color: var(--text); text-align: center; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.capability-card:hover { border-color: #8ab9fb; box-shadow: 0 10px 24px rgba(28,85,160,.08); transform: translateY(-1px); }
.capability-card-icon { width: 76px; height: 76px; display: inline-flex; align-items: center; justify-content: center; color: var(--brand); }
.capability-card-icon svg { width: 100%; height: 100%; display: block; }
.capability-card strong { margin-top: 10px; color: #10294e; font-size: 22px; line-height: 1.25; }
.capability-card > span:last-child { margin-top: 7px; color: #53627a; font-size: 15px; line-height: 1.5; }
.capabilities-note { margin-top: 26px; padding-top: 17px; border-top: 1px solid var(--line); color: #53627a; font-size: 15px; line-height: 1.6; }
.capabilities-actions { margin-top: 22px; }

.privacy-data-article { min-width: 0; }
.privacy-data-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 290px;
    padding: 34px 22px;
    border: 1px solid #bdd7ff;
    border-radius: 12px;
    background: linear-gradient(112deg, #f3f8ff 0%, #fbfdff 100%);
}
.privacy-data-item {
    min-width: 0;
    padding: 0 24px;
    border-right: 1px solid #c8dcfb;
}
.privacy-data-item:first-child { padding-left: 22px; }
.privacy-data-item:last-child { padding-right: 12px; border-right: 0; }
.privacy-data-icon {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
}
.privacy-data-icon svg { width: 100%; height: 100%; display: block; }
.privacy-data-item h3 {
    margin: 22px 0 10px;
    color: var(--ink);
    font-size: 19px;
    line-height: 1.3;
}
.privacy-data-item p {
    margin: 0;
    color: #53627a;
    font-size: 15px;
    line-height: 1.85;
}
.privacy-data-note {
    margin: 30px 0 0;
    color: #53627a;
    font-size: 15px;
    line-height: 1.75;
}
.privacy-data-actions { margin-top: 26px; }

.report-overview-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; margin-top: 20px; }
.report-overview-article { min-width: 0; }
.report-contact { min-height: 31px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-bottom: 12px; color: #53627a; font-size: 14px; }
.report-contact svg { width: 22px; height: 22px; color: #53627a; }
.report-contact a { color: var(--brand); }
.report-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.report-feature-card { min-height: 300px; padding: 28px 28px 24px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; border: 1px solid #d3e1f3; border-radius: 13px; background: #fff; text-align: center; }
.report-feature-icon { width: 84px; height: 84px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #edf4ff; color: var(--brand); }
.report-feature-icon svg { width: 56px; height: 56px; display: block; }
.report-feature-card h2 { margin: 22px 0 10px; color: var(--ink); font-size: 22px; line-height: 1.3; }
.report-feature-card p { max-width: 330px; margin: 0; color: #53627a; font-size: 15px; line-height: 1.75; }
.report-feature-card-action .portal-button { min-width: 190px; margin-top: auto; }
.report-process { margin-top: 22px; padding: 24px 28px 19px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 18px; border: 1px solid #d3e1f3; border-radius: 13px; background: #fff; }
.report-process-step { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--ink); font-size: 16px; }
.report-process-icon { width: 58px; height: 58px; flex: 0 0 58px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #edf4ff; color: var(--brand); }
.report-process-icon svg { width: 34px; height: 34px; display: block; }
.report-process-arrow { color: #10294e; font-size: 31px; font-weight: 300; }
.report-process-caption { grid-column: 1 / -1; margin: 0; color: #53627a; font-size: 14px; line-height: 1.5; text-align: center; }
.report-overview-actions { justify-content: center; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }

.account-data-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; margin-top: 46px; }
.account-data-article { min-width: 0; }
.account-data-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.account-data-number { width: 56px; height: 56px; flex: 0 0 56px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #9ec5ff; border-radius: 50%; background: #edf5ff; color: var(--brand); font-size: 25px; }
.account-data-heading h1 { margin: 0; color: var(--ink); font-size: 31px; line-height: 1.2; }
.account-data-heading p { margin: 8px 0 0; color: #53627a; font-size: 15px; line-height: 1.6; }
.account-controls-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.account-control-card { min-height: 350px; padding: 34px 22px 26px; display: flex; flex-direction: column; align-items: center; border: 1px solid #d3e1f3; border-radius: 13px; background: #fff; text-align: center; }
.account-control-icon { width: 84px; height: 84px; display: inline-flex; align-items: center; justify-content: center; color: var(--brand); }
.account-control-icon svg { width: 100%; height: 100%; display: block; }
.account-control-card h2 { margin: 23px 0 9px; color: var(--ink); font-size: 19px; line-height: 1.35; }
.account-control-card p { margin: 0; color: #53627a; font-size: 14px; line-height: 1.65; }
.account-email-link { margin-top: 11px; color: var(--brand); font-size: 15px; }
.account-control-link { margin-top: auto; padding-top: 20px; color: var(--brand); font-size: 15px; font-weight: 700; }
.account-policy-links { min-height: 57px; display: flex; align-items: center; justify-content: center; gap: 22px; border-bottom: 1px solid var(--line); color: var(--brand); font-size: 15px; }
.account-policy-links a { color: var(--brand); }
.account-policy-links span { color: var(--ink); }
.account-contact-box { margin-top: 20px; padding: 20px 24px 16px; border: 1px solid #d3e1f3; border-radius: 13px; background: #fff; }
.account-contact-box h2 { margin: 0 0 18px; color: var(--ink); font-size: 18px; }
.account-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); align-items: center; gap: 28px; }
.account-contact-item { display: flex; align-items: center; gap: 18px; }
.account-contact-icon { width: 52px; height: 52px; flex: 0 0 52px; display: inline-flex; align-items: center; justify-content: center; color: var(--brand); }
.account-contact-icon svg { width: 100%; height: 100%; display: block; }
.account-contact-item strong { display: block; color: var(--ink); font-size: 15px; }
.account-contact-item a { display: block; margin-top: 7px; color: var(--brand); font-size: 15px; }
.account-contact-divider { width: 1px; height: 59px; background: #d7e3f4; }
.account-contact-box > p { margin: 18px 0 0; color: #53627a; font-size: 14px; line-height: 1.6; }
}

@media (max-width: 920px) {
    .capabilities-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .capability-card { min-height: 180px; }
    .capability-card-icon { width: 64px; height: 64px; }
    .capability-card strong { font-size: 19px; }
    .capability-card > span:last-child, .capabilities-note { font-size: 13px; }
    .privacy-data-overview { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; padding: 10px 16px; }
    .privacy-data-item, .privacy-data-item:first-child, .privacy-data-item:last-child { padding: 22px 4px; border-right: 0; border-bottom: 1px solid #c8dcfb; }
    .privacy-data-item:last-child { border-bottom: 0; }
    .privacy-data-icon { width: 58px; height: 58px; display: inline-flex; color: var(--brand); }
    .privacy-data-icon svg { width: 100%; height: 100%; display: block; }
    .privacy-data-item h3 { margin-top: 13px; font-size: 18px; }
    .privacy-data-item p, .privacy-data-note { font-size: 14px; }
    .portal-subpage-back { font-size: 14px; }
    .report-overview-layout { display: block; margin-top: 18px; }
    .report-contact { min-height: 31px; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 12px; font-size: 13px; }
    .report-contact svg { width: 22px; height: 22px; flex: 0 0 22px; display: block; }
    .report-feature-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .report-feature-card { min-height: 250px; padding: 23px 18px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
    .report-feature-icon { width: 70px; height: 70px; display: inline-flex; align-items: center; justify-content: center; }
    .report-feature-icon svg { width: 48px; height: 48px; display: block; }
    .report-feature-card h2 { font-size: 20px; }
    .report-feature-card p { max-width: 330px; margin: 0; font-size: 14px; }
    .report-feature-card-action .portal-button { margin-top: auto; }
    .report-process { margin-top: 14px; padding: 20px 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .report-process-arrow { transform: rotate(90deg); font-size: 24px; }
    .report-process-step { display: flex; align-items: center; justify-content: flex-start; padding-left: 18%; }
    .report-process-icon { width: 50px; height: 50px; flex-basis: 50px; display: inline-flex; align-items: center; justify-content: center; }
    .report-process-icon svg { width: 30px; height: 30px; display: block; }
    .report-process-caption { grid-column: auto; }
    .account-data-layout { display: block; margin-top: 18px; }
    .account-data-heading { gap: 11px; margin-bottom: 18px; }
    .account-data-number { width: 45px; height: 45px; flex-basis: 45px; font-size: 20px; }
    .account-data-heading h1 { font-size: 24px; }
    .account-data-heading p { margin-top: 5px; font-size: 13px; }
    .account-controls-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .account-control-card { min-height: 270px; padding: 25px 18px 21px; }
    .account-control-icon { width: 70px; height: 70px; flex: 0 0 70px; display: inline-flex; align-items: center; justify-content: center; color: var(--brand); }
    .account-control-icon svg { width: 100%; height: 100%; display: block; }
    .account-control-card h2 { margin-top: 15px; font-size: 18px; }
    .account-control-card p { font-size: 13px; }
    .account-policy-links { min-height: 0; padding: 15px 0; flex-wrap: wrap; gap: 7px 12px; font-size: 13px; }
    .account-contact-box { padding: 17px 16px 15px; }
    .account-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
    .account-contact-divider { width: 100%; height: 1px; }
    .account-contact-item { gap: 13px; }
    .account-contact-icon { width: 44px; height: 44px; flex-basis: 44px; }
    .account-contact-item strong, .account-contact-item a { font-size: 13px; }
    .portal-topbar { min-height: 64px; padding: 0 16px; grid-template-columns: auto 1fr auto; }
    .portal-topbar-title { justify-self: center; max-width: 45vw; overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
    .portal-topbar-actions { gap: 7px; }
    .portal-top-safety-link span { display: none; }
    .portal-top-safety-link svg { width: 19px; height: 19px; }
}

/* Canonical conversation search drawer used by the home page and every public
   feature/safety page. Keep this in the shared shell stylesheet only. */
.fuuvo-shell-search {
    position: fixed;
    inset: 0;
    z-index: 4100;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    background: rgba(15, 23, 42, .16);
    backdrop-filter: blur(6px);
}
.fuuvo-shell-search.hidden { display: none !important; }
.fuuvo-shell-search-dialog {
    width: min(368px, calc(100vw - 12px));
    height: 100vh;
    height: 100dvh;
    max-height: none;
    overflow: hidden;
    border: 0;
    border-right: 1px solid rgba(15, 23, 42, .06);
    border-radius: 0 26px 26px 0;
    background: rgba(255, 255, 255, .98);
    box-shadow: 20px 0 48px rgba(15, 23, 42, .12);
}
.fuuvo-shell-search-head {
    min-height: 72px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(15, 23, 42, .05);
}
.fuuvo-shell-search-input-wrap {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 46px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    background: #f8fafc;
    color: #6b778c;
}
.fuuvo-shell-search-input-wrap svg,
.fuuvo-shell-search-input-wrap > img { width: 20px; height: 20px; flex: 0 0 20px; }
.fuuvo-shell-search-input-wrap input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #172033;
    font: inherit;
    font-size: 15px;
}
.fuuvo-shell-search-close {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #6b778c;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.fuuvo-shell-search-close:hover { background: #f1f4f8; color: #172033; }
.fuuvo-shell-search-body {
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    max-height: none;
    padding: 12px;
    overflow-y: auto;
}
.fuuvo-shell-search-section-title {
    padding: 7px 8px;
    color: #8a94a6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
}
.fuuvo-shell-search-create,
.fuuvo-shell-search-results a {
    width: 100%;
    min-height: 56px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    border: 0;
    background: transparent;
    color: #172033;
    font: inherit;
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
}
.fuuvo-shell-search-create:hover,
.fuuvo-shell-search-results a:hover { background: #f4f7fb; }
.fuuvo-shell-search-create-icon,
.fuuvo-shell-search-result-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eaf3ff;
    color: #1672e8;
    font-size: 17px;
}
.fuuvo-shell-search-result-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}
.fuuvo-shell-search-create-icon img { width: 22px; height: 22px; }
.fuuvo-shell-search-create > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.fuuvo-shell-search-create strong,
.fuuvo-shell-search-results strong { overflow: hidden; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.fuuvo-shell-search-create small { color: #8490a4; font-size: 12px; }
.fuuvo-shell-search-create b { margin-left: auto; color: #9aa4b5; font-size: 14px; }
.fuuvo-shell-search-results { display: grid; gap: 2px; }
.fuuvo-shell-search-results a { min-height: 50px; }
.fuuvo-shell-search-results p { margin: 10px 8px 18px; color: #8a94a6; font-size: 13px; }

@media (min-width: 921px) {
    /* High-specificity shell guard: page-specific safety/detail CSS must never
       be allowed to resize the shared home shell. */
    header[data-fuuvo-shared-topbar="1"] {
        width: 100% !important;
        height: 86px !important;
        min-height: 86px !important;
        max-height: 86px !important;
        padding: 12px 22px 8px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }
    header[data-fuuvo-shared-topbar="1"]:has(.shell-topbar-back) {
        grid-template-columns: minmax(0, 1fr) auto !important;
    }
    header[data-fuuvo-shared-topbar="1"]:has(.shell-topbar-back) .shell-topbar-center {
        display: none !important;
    }
    header[data-fuuvo-shared-topbar="1"]:has(.shell-topbar-back) .shell-topbar-right {
        grid-column: 2 !important;
    }
    header[data-fuuvo-shared-topbar="1"] .shell-topbar-left {
        min-width: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        align-self: center !important;
        flex-wrap: nowrap !important;
    }
    header[data-fuuvo-shared-topbar="1"] .shell-topbar-back,
    header[data-fuuvo-shared-topbar="1"] .shell-topbar-middle,
    header[data-fuuvo-shared-topbar="1"] .shell-topbar-suffix,
    header[data-fuuvo-shared-topbar="1"] .shell-topbar-separator {
        white-space: nowrap !important;
    }
}

@media (max-width: 920px) {
    .fuuvo-shell-search-dialog { width: 100%; height: 100dvh; border-right: 0; border-radius: 0; }
    .fuuvo-shell-search-head { min-height: 64px; padding: 9px 10px 9px 12px; }
    .fuuvo-shell-search-body { height: calc(100dvh - 64px); padding: 10px; }
}

@media (min-width: 921px) {
    .portal-shell:has(.ai-info-overview),
    .portal-shell:has(.capabilities-page),
    .portal-shell:has(.community-rules-page),
    .portal-shell:has(.portal-layout),
    .portal-shell:has(.report-overview-layout),
    .portal-shell:has(.account-data-layout) { height: 100vh; min-height: 100vh; overflow: hidden; }
    .portal-shell:has(.ai-info-overview) .portal-content,
    .portal-shell:has(.capabilities-page) .portal-content,
    .portal-shell:has(.community-rules-page) .portal-content,
    .portal-shell:has(.portal-layout) .portal-content,
    .portal-shell:has(.report-overview-layout) .portal-content,
    .portal-shell:has(.account-data-layout) .portal-content { height: 100vh; min-height: 0; overflow: hidden; }
    .portal-shell:has(.ai-info-overview) .portal-main,
    .portal-shell:has(.capabilities-page) .portal-main,
    .portal-shell:has(.community-rules-page) .portal-main,
    .portal-shell:has(.portal-layout) .portal-main,
    .portal-shell:has(.report-overview-layout) .portal-main,
    .portal-shell:has(.account-data-layout) .portal-main { flex: 1 1 auto; height: calc(100vh - 86px); min-height: 0; overflow-y: auto; overflow-x: hidden; }
}

@media (min-width: 921px) {
    .portal-shell:has(.capabilities-page) { height: 100vh; min-height: 100vh; overflow: hidden; }
    .portal-shell:has(.capabilities-page) .portal-content { height: 100vh; min-height: 0; overflow: hidden; }
    .portal-shell:has(.capabilities-page) .portal-main { flex: 1 1 auto; height: calc(100vh - 86px); min-height: 0; overflow-y: auto; overflow-x: hidden; }
}

.capabilities-framework { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 42px; margin: 22px auto 0; align-items: start; }
.capabilities-toc { position: sticky; top: 20px; padding: 16px 9px 20px; border: 1px solid #d8e3f1; border-radius: 10px; background: #fff; }
.capabilities-toc a { min-height: 51px; padding: 0 15px; display: flex; align-items: center; gap: 14px; border-radius: 9px; color: #293957; font-size: 16px; line-height: 1.3; }
.capabilities-toc a:hover, .capabilities-toc a.active { background: #eff5ff; color: var(--brand); }
.capabilities-toc a span { width: 30px; flex: 0 0 30px; font-size: 17px; }
.capabilities-content { min-width: 0; }
.capabilities-content-heading { margin: 7px 0 34px; }
.capabilities-content-heading h1 { margin: 0; color: var(--ink); font-size: 43px; line-height: 1.18; }
.capabilities-content-heading p { margin: 17px 0 0; color: #53627a; font-size: 18px; line-height: 1.6; }
.capabilities-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.capabilities-card { min-height: 214px; padding: 25px 18px 21px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; border: 1px solid #d5e2f4; border-radius: 12px; background: #fff; color: var(--text); text-align: center; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.capabilities-card:hover { border-color: #8ab9fb; box-shadow: 0 10px 24px rgba(28,85,160,.08); transform: translateY(-1px); }
.capabilities-card-icon { width: 76px; height: 76px; display: inline-flex; align-items: center; justify-content: center; color: var(--brand); }
.capabilities-card-icon svg { width: 100%; height: 100%; display: block; }
.capabilities-card strong { margin-top: 12px; color: var(--ink); font-size: 22px; line-height: 1.25; }
.capabilities-card > span:last-child { margin-top: 7px; color: #53627a; font-size: 15px; line-height: 1.5; }
.capabilities-page-note { margin: 25px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: #53627a; font-size: 15px; line-height: 1.6; }
.capabilities-page-actions { margin-top: 23px; }

@media (max-width: 1050px) and (min-width: 921px) {
    .capabilities-framework { grid-template-columns: 220px minmax(0, 1fr); gap: 22px; }
    .capabilities-toc a { padding: 0 10px; gap: 9px; font-size: 14px; }
    .capabilities-card-grid { gap: 12px; }
    .capabilities-card { min-height: 190px; padding-left: 10px; padding-right: 10px; }
    .capabilities-card strong { font-size: 18px; }
    .capabilities-card > span:last-child { font-size: 13px; }
}

@media (max-width: 920px) {
    .portal-shell:has(.capabilities-page) .portal-topbar-title { display: none; }
    .portal-shell:has(.capabilities-page) .portal-subpage-back { min-width: 0; max-width: 52vw; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
    .capabilities-framework { display: block; margin-top: 16px; }
    .capabilities-toc { position: static; padding: 10px 7px; }
    .capabilities-toc a { min-height: 37px; padding: 0 10px; font-size: 13px; }
    .capabilities-toc a span { width: 24px; flex-basis: 24px; font-size: 14px; }
    .capabilities-content { margin-top: 20px; }
    .capabilities-content-heading { margin: 0 0 20px; }
    .capabilities-content-heading h1 { font-size: 28px; }
    .capabilities-content-heading p { margin-top: 9px; font-size: 14px; }
    .capabilities-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .capabilities-card { min-height: 170px; padding: 18px 8px 15px; }
    .capabilities-card-icon { width: 58px; height: 58px; }
    .capabilities-card strong { margin-top: 9px; font-size: 17px; }
    .capabilities-card > span:last-child { font-size: 12px; }
    .capabilities-page-note { margin-top: 18px; padding-top: 14px; font-size: 13px; }
    .capabilities-page-actions { margin-top: 17px; }
}

@media (min-width: 921px) {
    .portal-shell:has(.community-rules-page) { height: 100vh; min-height: 100vh; overflow: hidden; }
    .portal-shell:has(.community-rules-page) .portal-content { height: 100vh; min-height: 0; overflow: hidden; }
    .portal-shell:has(.community-rules-page) .portal-main { flex: 1 1 auto; height: calc(100vh - 86px); min-height: 0; overflow-y: auto; overflow-x: hidden; }
}

/* Safety home icons use the larger blue line-art proportions from the design. */
.portal-main:has(.portal-hero) .portal-featured-icon { width: 64px; height: 64px; flex-basis: 64px; color: var(--brand); }
.portal-main:has(.portal-hero) .portal-help-card .portal-icon-circle { width: 64px; height: 64px; flex-basis: 64px; border-radius: 0; background: transparent; color: var(--brand); }
.portal-main:has(.portal-hero) .portal-help-card .portal-icon-circle svg,
.portal-main:has(.portal-hero) .portal-help-card .portal-icon-circle img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 920px) {
    .portal-main:has(.portal-hero) .portal-featured-icon { width: 50px; height: 50px; flex-basis: 50px; }
    .portal-main:has(.portal-hero) .portal-help-card .portal-icon-circle { width: 50px; height: 50px; flex-basis: 50px; }
}

.ai-info-overview { margin-top: 23px; padding: 19px 23px 18px; border: 1px solid #c9ddff; border-radius: 11px; background: linear-gradient(110deg, #f3f8ff 0%, #fbfdff 100%); }
.ai-info-overview h2 { margin: 0 0 13px; color: var(--ink); font-size: 18px; }
.ai-info-overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ai-info-overview-item { min-width: 0; padding: 0 22px; display: flex; align-items: center; gap: 13px; border-right: 1px solid #cbdcf4; }
.ai-info-overview-item:first-child { padding-left: 0; }
.ai-info-overview-item:last-child { padding-right: 0; border-right: 0; }
.ai-info-overview-icon { width: 58px; height: 58px; flex: 0 0 58px; display: inline-flex; align-items: center; justify-content: center; color: var(--brand); }
.ai-info-overview-icon svg { width: 100%; height: 100%; display: block; }
.ai-info-overview-item strong { display: block; color: var(--ink); font-size: 16px; line-height: 1.35; }
.ai-info-overview-item div > span { display: block; margin-top: 4px; color: #53627a; font-size: 13px; line-height: 1.45; }
.ai-info-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 28px; margin-top: 20px; align-items: start; }
.ai-info-toc { position: sticky; top: 20px; padding: 14px 8px 17px; border: 1px solid #dce5f1; border-radius: 11px; background: #fff; }
.ai-info-toc h2 { margin: 0 12px 10px; color: var(--ink); font-size: 18px; }
.ai-info-toc a { min-height: 42px; padding: 0 13px; display: flex; align-items: center; gap: 12px; border-radius: 8px; color: #53627a; font-size: 15px; }
.ai-info-toc a:hover, .ai-info-toc a.active { background: #eff5ff; color: var(--brand); }
.ai-info-toc a span { width: 28px; flex: 0 0 28px; font-size: 17px; }
.ai-info-content { min-width: 0; }
.ai-info-section { scroll-margin-top: 20px; }
.ai-info-section + .ai-info-section { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.ai-info-section-heading { display: flex; align-items: center; gap: 12px; }
.ai-info-section-heading h2 { margin: 0; color: var(--ink); font-size: 25px; line-height: 1.3; }
.ai-info-section-number { width: 40px; height: 40px; flex: 0 0 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 17px; }
.ai-info-section-number.blue { border: 1px solid #a8ccff; background: #edf5ff; color: var(--brand); }
.ai-info-section-number.amber { border: 1px solid #f2ca76; background: #fff6e4; color: #df8500; }
.ai-info-section p { margin: 10px 0 0 52px; color: #53627a; font-size: 15px; line-height: 1.75; }
.ai-info-capability-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 14px 0 0 52px; }
.ai-info-capability-grid a { min-height: 64px; padding: 9px 12px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid #8fb9ff; border-radius: 10px; color: var(--ink); font-size: 16px; font-weight: 700; white-space: nowrap; }
.ai-info-capability-grid a:hover { border-color: var(--brand); background: #f6faff; color: var(--brand); }
.ai-info-capability-icon { width: 34px; height: 34px; flex: 0 0 34px; display: inline-flex; align-items: center; justify-content: center; color: var(--brand); }
.ai-info-capability-icon svg { width: 100%; height: 100%; display: block; }
.ai-info-risk-section { margin-left: 0; }
.ai-info-risk-list { margin: 14px 0 0; overflow: hidden; border: 1px solid #f3d18d; border-radius: 10px; background: #fffaf0; }
.ai-info-risk-list > div { min-height: 47px; padding: 0 17px; display: flex; align-items: center; gap: 12px; color: #293957; font-size: 15px; }
.ai-info-risk-list > div + div { border-top: 1px solid #f2dfb4; }
.ai-info-risk-icon { width: 28px; height: 28px; flex: 0 0 28px; display: inline-flex; color: #df8500; }
.ai-info-risk-icon svg { width: 100%; height: 100%; display: block; }
.ai-info-next { margin: 23px 0 0; padding-top: 16px; display: flex; align-items: center; justify-content: center; gap: 12px; border-top: 1px solid var(--line); color: var(--brand); font-size: 16px; font-weight: 600; }
.ai-info-next span { font-size: 28px; line-height: .7; }

@media (max-width: 1050px) and (min-width: 921px) {
    .ai-info-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 20px; }
    .ai-info-capability-grid { gap: 8px; margin-left: 0; }
    .ai-info-section p { margin-left: 0; }
    .ai-info-capability-grid a { padding: 8px 6px; font-size: 14px; }
    .ai-info-capability-icon { width: 30px; height: 30px; flex-basis: 30px; }
}

@media (max-width: 1300px) and (min-width: 1051px) {
    .ai-info-capability-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
    .portal-shell:has(.ai-info-overview) .portal-topbar-title { display: none; }
    .portal-shell:has(.ai-info-overview) .portal-subpage-back { min-width: 0; max-width: 52vw; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
    .ai-info-overview { margin-top: 17px; padding: 14px; }
    .ai-info-overview h2 { font-size: 16px; }
    .ai-info-overview-grid { grid-template-columns: minmax(0, 1fr); }
    .ai-info-overview-item, .ai-info-overview-item:first-child, .ai-info-overview-item:last-child { min-height: 63px; padding: 9px 0; border-right: 0; border-bottom: 1px solid #d7e4f7; }
    .ai-info-overview-item:last-child { border-bottom: 0; }
    .ai-info-overview-icon { width: 48px; height: 48px; flex-basis: 48px; }
    .ai-info-overview-item strong { font-size: 14px; }
    .ai-info-overview-item div > span { font-size: 12px; }
    .ai-info-layout { display: block; margin-top: 15px; }
    .ai-info-toc { position: static; padding: 10px 7px; }
    .ai-info-toc h2 { margin: 0 10px 7px; font-size: 16px; }
    .ai-info-toc a { min-height: 36px; font-size: 13px; }
    .ai-info-content { margin-top: 18px; }
    .ai-info-section-heading { gap: 9px; }
    .ai-info-section-heading h2 { font-size: 21px; }
    .ai-info-section-number { width: 35px; height: 35px; flex-basis: 35px; font-size: 15px; }
    .ai-info-section p { margin-left: 0; font-size: 13px; }
    .ai-info-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-left: 0; }
    .ai-info-capability-grid a { min-height: 56px; padding: 7px 8px; font-size: 14px; }
    .ai-info-capability-icon { width: 30px; height: 30px; flex-basis: 30px; }
    .ai-info-risk-list > div { min-height: 49px; padding: 5px 11px; font-size: 13px; }
    .ai-info-next { font-size: 14px; }
}

@media (max-width: 920px) {
    .portal-sidebar .sidebar-brand { display: none; }
}

.portal-toc h2 { display: none !important; }

/* Community Rules follows the policy-page layout shown in the product designs. */
.community-rules-page { color: var(--text); }
.community-rules-header { padding: 2px 8px 0; }
.community-rules-header h1 { margin: 0; color: var(--ink); font-size: 38px; line-height: 1.2; }
.community-rules-meta { margin: 8px 0 0; color: #53627a; font-size: 15px; line-height: 1.5; }
.community-rules-intro { margin: 8px 0 0; color: var(--ink); font-size: 16px; line-height: 1.6; }
.community-policy-tabs { min-height: 58px; margin-top: 18px; padding: 0 8px; display: flex; align-items: center; gap: 0; border-bottom: 1px solid var(--line); }
.community-policy-tabs a { min-height: 58px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; border-bottom: 3px solid transparent; color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; }
.community-policy-tabs a:first-child { padding-left: 10px; }
.community-policy-tabs a.active { border-bottom-color: var(--brand); color: var(--brand); }
.community-rules-layout { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 36px; margin-top: 18px; padding: 0 8px 34px; align-items: start; }
.community-rules-toc { position: sticky; top: 22px; padding: 18px 12px 20px; border: 1px solid #dbe5f2; border-radius: 11px; background: #fff; }
.community-rules-toc h2 { margin: 0 10px 13px; color: var(--ink); font-size: 16px; }
.community-rules-toc a { min-height: 38px; padding: 0 10px; display: flex; align-items: center; gap: 10px; border-radius: 8px; color: #293957; font-size: 14px; line-height: 1.35; }
.community-rules-toc a:hover, .community-rules-toc a.active { background: #eff5ff; color: var(--brand); }
.community-rules-toc a span { width: 22px; flex: 0 0 22px; }
.community-rules-content { min-width: 0; }
.community-rule-section { scroll-margin-top: 20px; }
.community-rule-section + .community-rule-section { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.community-rule-section h2 { margin: 0 0 9px; color: var(--ink); font-size: 23px; line-height: 1.35; }
.community-rule-section > p { margin: 0; color: #53627a; font-size: 15px; line-height: 1.7; }
.community-rule-section > p + p { margin-top: 2px; }
.community-standard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 15px; }
.community-standard-card { min-height: 100px; padding: 16px 17px; display: flex; align-items: center; gap: 16px; border: 1px solid #d1dff1; border-radius: 10px; background: #fff; }
.community-standard-icon { width: 54px; height: 54px; flex: 0 0 54px; display: inline-flex; align-items: center; justify-content: center; color: var(--brand); }
.community-standard-icon svg { width: 100%; height: 100%; display: block; }
.community-standard-card h3 { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.35; }
.community-standard-card p { margin: 5px 0 0; color: #53627a; font-size: 13px; line-height: 1.5; }
.community-prohibited-list { margin-top: 15px; overflow: hidden; border: 1px solid #f3d38e; border-radius: 10px; background: #fffaf0; }
.community-prohibited-list > div { min-height: 40px; padding: 0 14px; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; color: #293957; font-size: 14px; }
.community-prohibited-list > div + div { border-top: 1px solid #f2dfb4; }
.community-prohibited-icon { width: 27px; height: 27px; display: inline-flex; align-items: center; justify-content: center; color: #ec920d; }
.community-prohibited-icon svg { width: 27px; height: 27px; display: block; }
.community-prohibited-list b { color: #8b6d38; font-size: 23px; font-weight: 400; line-height: 1; }
.community-responsible-list { margin-top: 14px; overflow: hidden; border: 1px solid #c7dcff; border-radius: 10px; background: #f4f8ff; }
.community-responsible-list > div { min-height: 54px; padding: 8px 16px; display: grid; grid-template-columns: 38px 126px minmax(0, 1fr); align-items: center; gap: 12px; }
.community-responsible-list > div + div { border-top: 1px solid #d7e5fa; }
.community-responsible-icon { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #0d72f5; color: #fff; }
.community-responsible-icon svg { width: 23px; height: 23px; display: block; }
.community-responsible-list strong { color: var(--ink); font-size: 16px; }
.community-responsible-list span:last-child { color: #53627a; font-size: 14px; line-height: 1.5; }
.community-enforcement-flow { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.community-enforcement-flow > div { min-height: 64px; padding: 10px 12px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid #aecdff; border-radius: 9px; background: #f5f9ff; color: #293957; font-size: 14px; text-align: center; }
.community-flow-icon { width: 30px; height: 30px; flex: 0 0 30px; color: var(--brand); }
.community-flow-icon svg { width: 100%; height: 100%; display: block; }
.community-flow-arrow { color: var(--brand); font-size: 28px; font-weight: 300; }
.community-enforcement-flow + p { margin-top: 10px; }
.community-report-box { margin-top: 14px; padding: 17px 18px; display: flex; align-items: center; gap: 17px; border: 1px solid #aecdff; border-radius: 10px; background: #fff; }
.community-report-icon { width: 62px; height: 62px; flex: 0 0 62px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #eaf2ff; color: var(--brand); }
.community-report-icon svg { width: 46px; height: 46px; display: block; }
.community-report-box p { margin: 0; color: #53627a; font-size: 14px; line-height: 1.6; }
.community-report-actions { margin-top: 11px; display: flex; align-items: center; flex-wrap: wrap; gap: 13px; color: #53627a; font-size: 13px; }
.community-report-actions .portal-button { min-height: 36px; padding: 0 18px; }
.community-report-actions > span + span { padding-left: 13px; border-left: 1px solid #d6e2f2; }
.community-report-actions a { color: var(--brand); }
.community-rule-note { margin-top: 9px !important; color: #7a879c !important; font-size: 12px !important; }
.community-contact-box { margin-top: 14px; padding: 18px 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; align-items: center; gap: 20px; border: 1px solid #d1dff1; border-radius: 10px; background: #fff; }
.community-contact-box strong { display: block; color: var(--ink); font-size: 14px; }
.community-contact-box a:not(.portal-button) { display: block; margin-top: 6px; color: var(--brand); font-size: 14px; }
.community-contact-box .portal-button { white-space: nowrap; }

@media (max-width: 920px) {
    .portal-shell:has(.community-rules-page) .portal-topbar-title { display: none; }
    .portal-shell:has(.community-rules-page) .portal-subpage-back { min-width: 0; max-width: 52vw; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
    .community-rules-header { padding: 0; }
    .community-rules-header h1 { font-size: 29px; }
    .community-rules-meta { font-size: 13px; }
    .community-rules-intro { font-size: 14px; }
    .community-policy-tabs { margin-top: 14px; padding: 0; overflow: visible; flex-wrap: wrap; justify-content: flex-start; }
    .community-policy-tabs a, .community-policy-tabs a:first-child { min-height: 49px; padding: 0 11px; font-size: 13px; }
    .community-rules-layout { display: block; margin-top: 14px; padding: 0 0 24px; }
    .community-rules-toc { position: static; padding: 13px 9px; }
    .community-rules-toc h2 { margin: 0 9px 8px; font-size: 15px; }
    .community-rules-toc a { min-height: 35px; font-size: 13px; }
    .community-rules-content { margin-top: 18px; }
    .community-rule-section + .community-rule-section { margin-top: 20px; padding-top: 17px; }
    .community-rule-section h2 { font-size: 20px; }
    .community-rule-section > p { font-size: 14px; }
    .community-standard-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .community-standard-card { min-height: 84px; padding: 13px; }
    .community-standard-icon { width: 46px; height: 46px; flex-basis: 46px; }
    .community-standard-card h3 { font-size: 15px; }
    .community-standard-card p { font-size: 12px; }
    .community-prohibited-list > div { min-height: 47px; grid-template-columns: 27px minmax(0, 1fr) auto; padding: 5px 10px; font-size: 13px; }
    .community-responsible-list > div { grid-template-columns: 34px minmax(0, 1fr); gap: 8px 10px; padding: 10px 12px; }
    .community-responsible-list span:last-child { grid-column: 2; font-size: 13px; }
    .community-responsible-list strong { font-size: 14px; }
    .community-enforcement-flow { grid-template-columns: minmax(0, 1fr); gap: 7px; }
    .community-flow-arrow { justify-self: center; transform: rotate(90deg); font-size: 23px; }
    .community-report-box { align-items: flex-start; padding: 14px; gap: 11px; }
    .community-report-icon { width: 48px; height: 48px; flex-basis: 48px; }
    .community-report-icon svg { width: 36px; height: 36px; }
    .community-report-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
    .community-report-actions > span + span { padding-left: 0; border-left: 0; }
    .community-contact-box { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 15px; }
    .community-contact-box .portal-button { justify-self: start; }
}

/*
 * Canonical application shell behavior.
 * Public feature and safety pages use the browser scrollbar. The shared
 * sidebar and topbar stay pinned while the document itself scrolls, avoiding
 * a second scrollbar inside the right-hand content pane.
 */
@media (min-width: 921px) {
    html:has(body > .creation-app),
    html:has(body > .portal-shell),
    html:has(body > .feature-shell) {
        height: auto !important;
        min-height: 100% !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    body:has(> .creation-app),
    body:has(> .portal-shell),
    body:has(> .feature-shell) {
        height: auto !important;
        min-height: 100% !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .creation-app,
    .portal-shell,
    .feature-shell {
        height: auto !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .creation-app > aside[data-fuuvo-shared-sidebar="1"],
    .portal-shell > aside[data-fuuvo-shared-sidebar="1"],
    .feature-shell > aside[data-fuuvo-shared-sidebar="1"] {
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        position: sticky !important;
        top: 0 !important;
        align-self: start !important;
        overflow: hidden !important;
    }

    .creation-workspace,
    .portal-content,
    .feature-shell > .workspace,
    .creation-app [data-fuuvo-app-workspace="1"],
    .portal-shell [data-fuuvo-app-workspace="1"],
    .feature-shell [data-fuuvo-app-workspace="1"] {
        width: 100%;
        height: auto !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        min-width: 0;
        overflow: visible !important;
    }

    .creation-topbar,
    .portal-topbar,
    .feature-shell .workspace-chat-header,
    .creation-app [data-fuuvo-shared-topbar="1"],
    .portal-shell [data-fuuvo-shared-topbar="1"],
    .feature-shell [data-fuuvo-shared-topbar="1"] {
        flex: 0 0 auto;
        position: sticky !important;
        top: 0 !important;
        z-index: 30;
    }

    .creation-main,
    .food-main,
    .analysis-main,
    .fortune-main,
    .portal-main,
    .feature-shell .main,
    .creation-app [data-fuuvo-app-scroll="1"],
    .portal-shell [data-fuuvo-app-scroll="1"],
    .feature-shell [data-fuuvo-app-scroll="1"] {
        height: auto !important;
        min-height: 0 !important;
        flex: 0 0 auto !important;
        overflow: visible !important;
        overscroll-behavior: auto;
    }
}

/* Keep every public right-hand content pane on the same left alignment line. */
@media (min-width: 921px) {
    [data-fuuvo-app-scroll="1"] {
        margin-left: 56px !important;
        margin-right: 40px !important;
    }

    .creation-main,
    .food-main,
    .analysis-main {
        width: min(1120px, calc(100% - 96px)) !important;
    }

    .fortune-main {
        width: min(1180px, calc(100% - 96px)) !important;
    }

    .portal-main,
    .feature-shell .main {
        width: min(1220px, calc(100% - 96px)) !important;
    }
}

/*
 * Final desktop shell invariants.
 * The shared partials must render with the same proportions as the chat home,
 * regardless of legacy feature/safety styles loaded by an individual page.
 */
@media (min-width: 921px) {
    body.chat-landing[data-mode="chat"] {
        --chat-sidebar-width: 272px !important;
    }

    body.chat-landing[data-mode="chat"] .app {
        grid-template-columns: 272px 1px minmax(0, 1fr) !important;
    }

    body.sidebar-collapsed.chat-landing[data-mode="chat"] .app {
        grid-template-columns: 0 0 minmax(0, 1fr) !important;
    }

    .creation-app,
    .portal-shell,
    .feature-shell {
        grid-template-columns: 272px minmax(0, 1fr) !important;
    }

    .creation-app > aside[data-fuuvo-shared-sidebar="1"],
    .portal-shell > aside[data-fuuvo-shared-sidebar="1"],
    .feature-shell > aside[data-fuuvo-shared-sidebar="1"],
    [data-fuuvo-app-shell="1"] > aside[data-fuuvo-shared-sidebar="1"] {
        width: 272px !important;
        min-width: 272px !important;
        max-width: 272px !important;
        padding: 12px 8px 10px 10px !important;
        gap: 8px !important;
        border: 0 !important;
        border-right: 1px solid rgba(15, 23, 42, .06) !important;
        border-radius: 0 !important;
        background: #f8f8f8 !important;
        box-shadow: none !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-shell {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        display: grid !important;
        align-content: start !important;
        gap: 8px !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-row,
    aside[data-fuuvo-shared-sidebar="1"] .sidebar-nav {
        margin: 0 !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-copy {
        margin-top: 0 !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-search-trigger {
        min-height: 44px !important;
        margin: 0 !important;
        padding: 0 12px 0 14px !important;
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        gap: 10px !important;
        border: 1px solid rgba(15, 23, 42, .06) !important;
        border-radius: 16px !important;
        background: rgba(255, 255, 255, .96) !important;
        color: #637086 !important;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .04) !important;
        font: inherit !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-search-trigger-label {
        font-size: 14px !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-search-trigger-shortcut {
        min-height: 24px !important;
        padding: 0 8px !important;
        border-radius: 999px !important;
        background: rgba(15, 23, 42, .05) !important;
        color: #8c97aa !important;
        font-size: 11px !important;
        font-weight: 700 !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-safety-link {
        min-height: 40px !important;
        display: flex !important;
    }

    header[data-fuuvo-shared-topbar="1"] {
        min-height: 86px !important;
        padding: 12px 22px 8px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 10px !important;
        border: 0 !important;
        background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 82%, rgba(255,255,255,0) 100%) !important;
        backdrop-filter: blur(14px) !important;
    }

    header[data-fuuvo-shared-topbar="1"]:has(.shell-topbar-back) {
        grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr) !important;
    }

    header[data-fuuvo-shared-topbar="1"]:has(.shell-topbar-back) .shell-topbar-center {
        display: grid !important;
    }

    header[data-fuuvo-shared-topbar="1"]:has(.shell-topbar-back) .shell-topbar-right {
        grid-column: auto !important;
    }

    header[data-fuuvo-shared-topbar="1"] .shell-topbar-back,
    header[data-fuuvo-shared-topbar="1"] .shell-topbar-back span {
        min-width: 0;
        white-space: nowrap !important;
    }

    header[data-fuuvo-shared-topbar="1"] .portal-top-safety-link svg,
    header[data-fuuvo-shared-topbar="1"] .portal-top-safety-link > img,
    header[data-fuuvo-shared-topbar="1"] .creation-top-safety svg,
    header[data-fuuvo-shared-topbar="1"] .creation-top-safety > img {
        display: none !important;
    }

    header[data-fuuvo-shared-topbar="1"] .workspace-chat-header-center,
    header[data-fuuvo-shared-topbar="1"] #feature-shell-title,
    header[data-fuuvo-shared-topbar="1"] .portal-top-safety-link {
        display: flex !important;
    }

    header[data-fuuvo-shared-topbar="1"] #feature-shell-title {
        color: #111827 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
    }

    header[data-fuuvo-shared-topbar="1"] .workspace-header-login,
    header[data-fuuvo-shared-topbar="1"] .creation-login,
    header[data-fuuvo-shared-topbar="1"] .portal-login {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        min-width: 96px !important;
        min-height: 44px !important;
        padding: 0 22px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #102746 !important;
        color: #fff !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        text-decoration: none !important;
        cursor: pointer;
    }
}

/* Mobile shared navigation drawer. */
.fuuvo-mobile-sidebar-close,
.fuuvo-mobile-sidebar-auth,
.fuuvo-mobile-explore,
.fuuvo-mobile-powered,
.fuuvo-mobile-sidebar-backdrop {
    display: none;
}

@media (max-width: 920px), (hover: none) and (pointer: coarse) and (max-width: 1366px) {
    body.mobile-nav-open,
    body.fuuvo-mobile-sidebar-open {
        overflow: hidden !important;
    }

    aside[data-fuuvo-shared-sidebar="1"],
    [data-fuuvo-app-shell="1"] > aside[data-fuuvo-shared-sidebar="1"] {
        position: fixed !important;
        inset: 0 auto 0 0 !important;
        z-index: 230 !important;
        width: min(calc(var(--mobile-viewport-width, 100vw) * .76), 340px) !important;
        height: 100dvh !important;
        min-height: 100dvh !important;
        max-height: 100dvh !important;
        padding: 22px 20px 18px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: 18px 0 42px rgba(20, 37, 64, .16) !important;
        transform: translateX(-105%) !important;
        transition: transform .24s ease !important;
        overscroll-behavior: contain;
        align-self: auto !important;
    }

    body.mobile-nav-open aside[data-fuuvo-shared-sidebar="1"],
    body.fuuvo-mobile-sidebar-open aside[data-fuuvo-shared-sidebar="1"] {
        transform: translateX(0) !important;
    }

    .fuuvo-mobile-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 225;
        padding: 0;
        border: 0;
        background: rgba(20, 33, 53, .42);
        backdrop-filter: blur(3px);
    }

    body.mobile-nav-open .fuuvo-mobile-sidebar-backdrop,
    body.fuuvo-mobile-sidebar-open .fuuvo-mobile-sidebar-backdrop {
        display: block;
    }

    body.mobile-nav-open #mobile-backdrop {
        display: none !important;
    }

    .fuuvo-mobile-sidebar-close {
        position: absolute;
        top: 32px;
        right: 19px;
        z-index: 4;
        width: 40px;
        height: 40px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 10px;
        background: transparent;
        color: #10284c;
        cursor: pointer;
    }

    .fuuvo-mobile-sidebar-close svg {
        width: 27px;
        height: 27px;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-shell {
        width: 100% !important;
        flex: 0 0 auto !important;
        display: block !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .fuuvo-sidebar-brand {
        width: calc(100% - 48px) !important;
        min-height: 72px !important;
        margin: 0 0 24px !important;
        padding: 0 4px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-logo img {
        width: auto !important;
        max-width: 116px !important;
        height: 42px !important;
        object-fit: contain !important;
        object-position: left center !important;
        background: transparent !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-copy {
        margin-left: -116px !important;
        padding-top: 43px !important;
        min-width: 116px !important;
        display: block !important;
        color: #0877f9 !important;
        text-align: center !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-name {
        color: #0877f9 !important;
        font-size: 15px !important;
        font-weight: 650 !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-name-image {
        width: 52px !important;
        height: auto !important;
        max-width: 52px !important;
        margin: 0 auto !important;
        display: block !important;
        background: transparent !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-name::after {
        content: "鈩?;
        margin-left: 2px;
        font-size: 9px;
        vertical-align: top;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-suffix,
    aside[data-fuuvo-shared-sidebar="1"] .sidebar-search-trigger {
        display: none !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-nav {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 0 20px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
        border-bottom: 1px solid #dce3ed !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-nav-btn {
        width: 100% !important;
        min-height: 42px !important;
        padding: 0 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        border: 0 !important;
        border-radius: 10px !important;
        background: transparent !important;
        color: #10284c !important;
        font-size: 17px !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        box-shadow: none !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-nav-btn:first-child {
        min-height: 40px !important;
        margin-bottom: 8px !important;
        justify-content: center !important;
        border: 1.5px solid #0877f9 !important;
        color: #0877f9 !important;
        font-size: 14px !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-nav-btn .rail-icon {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 15px !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-nav-btn:first-child .rail-icon {
        width: auto !important;
        justify-content: center !important;
        gap: 13px !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-nav-btn .rail-glyph {
        width: 25px !important;
        height: 25px !important;
        flex: 0 0 25px !important;
        color: #0877f9 !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-nav-btn:first-child .rail-glyph {
        width: 22px !important;
        height: 22px !important;
        flex-basis: 22px !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .history-main,
    aside[data-fuuvo-shared-sidebar="1"] .portal-recent {
        width: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 19px 4px 12px !important;
        display: block !important;
        flex: 0 0 auto !important;
        overflow: visible !important;
        border: 0 !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .history-head,
    aside[data-fuuvo-shared-sidebar="1"] .history-composer-slot,
    aside[data-fuuvo-shared-sidebar="1"] .history-actions,
    aside[data-fuuvo-shared-sidebar="1"] .history-search,
    aside[data-fuuvo-shared-sidebar="1"] .pagination,
    aside[data-fuuvo-shared-sidebar="1"] .recent-empty,
    aside[data-fuuvo-shared-sidebar="1"] .conversation-preview,
    aside[data-fuuvo-shared-sidebar="1"] .conversation-meta {
        display: none !important;
    }

    /* Keep the more/delete button visible on mobile */
    aside[data-fuuvo-shared-sidebar="1"] .conversation-actions {
        display: inline-flex !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .conversation-more-btn {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-section-label,
    aside[data-fuuvo-shared-sidebar="1"] .portal-recent > h2 {
        margin: 0 0 6px !important;
        display: block !important;
        color: #6f809b !important;
        font-size: 14px !important;
        font-weight: 500 !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .conversation-list,
    aside[data-fuuvo-shared-sidebar="1"] .task-list,
    aside[data-fuuvo-shared-sidebar="1"] .portal-recent-list {
        display: block !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .conversation-item,
    aside[data-fuuvo-shared-sidebar="1"] .task-item,
    aside[data-fuuvo-shared-sidebar="1"] .portal-recent-item,
    aside[data-fuuvo-shared-sidebar="1"] .portal-recent-list > a,
    aside[data-fuuvo-shared-sidebar="1"] .portal-recent-link {
        min-height: 32px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        border: 0 !important;
        border-radius: 8px !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #10284c !important;
        text-decoration: none !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .conversation-item:nth-child(n+4),
    aside[data-fuuvo-shared-sidebar="1"] .task-item:nth-child(n+4),
    aside[data-fuuvo-shared-sidebar="1"] .portal-recent-list > :nth-child(n+4) {
        display: none !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .portal-recent-item {
        gap: 6px !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .portal-recent-link {
        min-width: 0 !important;
        flex: 1 1 auto !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .portal-recent-delete {
        width: 28px !important;
        height: 28px !important;
        flex: 0 0 28px !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .conversation-head {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 20px minmax(0, 1fr) auto auto !important;
        gap: 7px !important;
        align-items: center !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .conversation-item-icon {
        width: 20px !important;
        height: 20px !important;
        color: #10284c !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .conversation-item-icon svg {
        width: 20px !important;
        height: 20px !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .conversation-title {
        overflow: hidden !important;
        color: #10284c !important;
        font-size: 13px !important;
        font-weight: 450 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .conversation-time {
        min-width: 34px !important;
        padding: 0 !important;
        color: #7788a3 !important;
        font-size: 12px !important;
        text-align: right !important;
    }

    .fuuvo-mobile-sidebar-auth {
        width: 100%;
        padding: 14px 4px 19px;
        display: block;
        border-bottom: 1px solid #dce3ed;
    }

    .fuuvo-mobile-sidebar-auth p {
        margin: 0 0 8px;
        color: #7888a2;
        font-size: 13px;
        line-height: 1.5;
    }

    .fuuvo-mobile-sidebar-auth a,
    .fuuvo-mobile-sidebar-auth button,
    .fuuvo-mobile-sidebar-auth strong {
        padding: 0;
        border: 0;
        background: transparent;
        color: #0877f9 !important;
        font: inherit;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none !important;
        cursor: pointer;
    }

    .fuuvo-mobile-explore {
        width: 100%;
        padding: 19px 4px 10px;
        display: block;
    }

    .fuuvo-mobile-explore h2 {
        margin: 0 0 12px;
        color: #6f809b;
        font-size: 14px;
        font-weight: 500;
    }

    .fuuvo-mobile-explore a {
        min-height: 45px;
        display: flex;
        align-items: center;
        gap: 13px;
        color: #10284c !important;
        font-size: 15px;
        font-weight: 450;
        text-decoration: none !important;
    }

    .fuuvo-mobile-explore svg {
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
        color: #0877f9;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-safety-link,
    aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-area {
        display: none !important;
    }

    .fuuvo-mobile-powered {
        margin-top: auto;
        padding: 34px 4px 4px;
        display: block;
        color: #7f90aa;
        font-size: 13px;
    }

    body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] {
        background: #fff !important;
        color: #10284c !important;
    }
}

/* Shared settings drawer opened by the top-right sign-in button. */
a.workspace-header-login,
a.creation-login,
a.portal-login,
button.creation-login,
button.portal-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 0;
    font-family: inherit;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

/* Desktop explore menu opened by the top-left menu button. */
.topbar-explore-menu.hidden {
    display: none !important;
}

.topbar-explore-menu {
    position: fixed;
    width: 208px;
    padding: 15px 14px 0;
    overflow: hidden;
    border: 1px solid #d7dee9;
    border-radius: 12px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 10px 24px rgba(24, 43, 72, .13);
    color: #2c4263;
    z-index: 150;
}

.topbar-explore-menu section {
    margin: 0;
    padding: 0 0 10px;
}

.topbar-explore-menu section + section {
    padding-top: 12px;
    border-top: 1px solid #e1e6ee;
}

.topbar-explore-menu h2 {
    margin: 0 8px 7px;
    color: #50627d;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
}

.topbar-explore-menu a {
    min-height: 41px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    border-radius: 7px;
    color: #2f4667 !important;
    font-size: 15px;
    font-weight: 450;
    line-height: 1.4;
    text-decoration: none !important;
    white-space: nowrap;
}

.topbar-explore-menu a:hover,
.topbar-explore-menu a:focus-visible {
    background: #f2f6fb;
    color: #0877f9 !important;
    outline: 0;
}

.topbar-explore-menu .topbar-explore-powered {
    min-height: 48px;
    margin: 0 -14px;
    padding: 0 22px;
    border-top: 1px solid #e1e6ee;
    border-radius: 0;
    color: #8b99ad !important;
    font-size: 13px;
}

body[data-ui-theme="dark"] .topbar-explore-menu {
    border-color: #334155;
    background: rgba(22, 32, 51, .98);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .32);
}

body[data-ui-theme="dark"] .topbar-explore-menu section + section,
body[data-ui-theme="dark"] .topbar-explore-menu .topbar-explore-powered {
    border-color: #334155;
}

body[data-ui-theme="dark"] .topbar-explore-menu h2 {
    color: #aab8cb;
}

body[data-ui-theme="dark"] .topbar-explore-menu a {
    color: #e6edf8 !important;
}

body[data-ui-theme="dark"] .topbar-explore-menu a:hover,
body[data-ui-theme="dark"] .topbar-explore-menu a:focus-visible {
    background: #202b3d;
    color: #5ca8ff !important;
}

body[data-ui-theme="dark"] .topbar-explore-menu .topbar-explore-powered {
    color: #8fa0b8 !important;
}

@media (max-width: 920px) {
    .topbar-explore-menu {
        display: none !important;
    }
}

.topbar-settings-backdrop {
    position: fixed;
    inset: 84px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    z-index: 139;
}

.topbar-settings-backdrop.hidden,
.topbar-settings-drawer.hidden,
.topbar-settings-choice-panel.hidden,
.topbar-settings-drawer [data-settings-drawer-main].hidden {
    display: none !important;
}

.topbar-settings-drawer {
    position: fixed;
    top: 84px;
    right: 0;
    bottom: 0;
    width: 360px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #e1e7f0;
    background: #fff;
    box-shadow: -10px 0 30px rgba(27, 45, 74, .08);
    color: #10213d;
    z-index: 140;
}

.topbar-settings-drawer-head {
    min-height: 70px;
    padding: 0 27px 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e1e7f0;
}

.topbar-settings-drawer-head h2 {
    margin: 0;
    color: #10213d;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.topbar-settings-drawer-head button {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #10213d;
    cursor: pointer;
}

.topbar-settings-drawer-head button:hover {
    background: #f3f6fa;
}

.topbar-settings-drawer-head svg {
    width: 25px;
    height: 25px;
}

.topbar-settings-drawer-body {
    min-height: 0;
    flex: 1 1 auto;
    padding: 19px 22px 20px 30px;
    overflow-x: hidden;
    overflow-y: auto;
}

.topbar-settings-drawer [data-settings-drawer-main] {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.topbar-settings-group {
    padding: 8px 0 15px;
    border-bottom: 1px solid #e1e7f0;
}

.topbar-settings-group + .topbar-settings-group {
    padding-top: 24px;
}

.topbar-settings-group h3 {
    margin: 0 0 12px;
    color: #7b8ba5;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.topbar-settings-row {
    width: 100%;
    min-height: 54px;
    padding: 0 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #182b4c !important;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
}

.topbar-settings-row:hover {
    background: #f5f8fc;
    color: #0877f9 !important;
}

.topbar-settings-row > span:last-child {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    color: #314463;
}

.topbar-settings-row b {
    max-width: 112px;
    overflow: hidden;
    font-size: 15px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar-settings-row svg,
.topbar-settings-panel-back svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.topbar-settings-account-action {
    min-height: 57px;
    margin-top: auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #9cafcc;
    border-radius: 8px;
    background: #fff;
    color: #233a5d !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    text-decoration: none !important;
}

.topbar-settings-account-action:hover {
    border-color: #0877f9;
    color: #0877f9 !important;
}

.topbar-settings-choice-panel {
    min-height: 100%;
}

.topbar-settings-panel-back {
    width: 100%;
    min-height: 52px;
    margin-bottom: 13px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-bottom: 1px solid #e1e7f0;
    background: transparent;
    color: #10213d;
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.topbar-settings-option {
    width: 100%;
    min-height: 52px;
    padding: 0 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #233a5d;
    font: inherit;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}

.topbar-settings-option:hover {
    background: #f5f8fc;
}

.topbar-settings-option i {
    width: 17px;
    height: 17px;
    border: 1px solid #b9c5d5;
    border-radius: 50%;
}

.topbar-settings-option.is-selected {
    color: #0877f9;
    font-weight: 600;
}

.topbar-settings-option.is-selected i {
    border-color: #0877f9;
    background: #0877f9;
    box-shadow: inset 0 0 0 4px #fff;
}

body[data-ui-theme="dark"] .topbar-settings-drawer {
    border-left-color: #334155;
    background: #101a2b;
    color: #edf4ff;
}

body[data-ui-theme="dark"] .topbar-settings-drawer-head,
body[data-ui-theme="dark"] .topbar-settings-group,
body[data-ui-theme="dark"] .topbar-settings-panel-back {
    border-color: #334155;
}

body[data-ui-theme="dark"] .topbar-settings-drawer-head h2,
body[data-ui-theme="dark"] .topbar-settings-drawer-head button,
body[data-ui-theme="dark"] .topbar-settings-row,
body[data-ui-theme="dark"] .topbar-settings-row > span:last-child,
body[data-ui-theme="dark"] .topbar-settings-panel-back,
body[data-ui-theme="dark"] .topbar-settings-option {
    color: #edf4ff !important;
}

body[data-ui-theme="dark"] .topbar-settings-row:hover,
body[data-ui-theme="dark"] .topbar-settings-option:hover,
body[data-ui-theme="dark"] .topbar-settings-drawer-head button:hover {
    background: #1e293b;
}

body[data-ui-theme="dark"] .topbar-settings-account-action {
    border-color: #52637e;
    background: #162033;
    color: #edf4ff !important;
}

@media (max-width: 920px) {
    .topbar-settings-backdrop {
        inset: 64px 0 0;
    }

    .topbar-settings-drawer {
        top: 64px;
        width: min(360px, 100vw);
    }

    .topbar-settings-drawer-head {
        min-height: 62px;
        padding: 0 18px 0 22px;
    }

    .topbar-settings-drawer-body {
        padding: 14px 18px 18px 22px;
    }
}

/* Quick settings opened by the standalone gear button. */
aside[data-fuuvo-shared-sidebar="1"] {
    overflow: visible !important;
    z-index: 80 !important;
}

[data-fuuvo-app-shell="1"] > aside[data-fuuvo-shared-sidebar="1"],
.creation-app > aside[data-fuuvo-shared-sidebar="1"],
.portal-shell > aside[data-fuuvo-shared-sidebar="1"],
.feature-shell > aside[data-fuuvo-shared-sidebar="1"] {
    overflow: visible !important;
    z-index: 80 !important;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-settings.is-active {
    border: 2px solid #79b5ff;
    border-radius: 50%;
    background: #fff;
    color: #0877f9;
    box-shadow: 0 0 0 3px #e8f2ff;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings {
    position: absolute;
    right: -92px;
    bottom: calc(100% + 18px);
    width: 240px;
    padding: 15px 20px 12px;
    border: 1px solid #d7e0ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(29, 47, 77, .15);
    color: #10213d;
    z-index: 110;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings::before,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings::after {
    content: "";
    position: absolute;
    right: 105px;
    bottom: -10px;
    width: 18px;
    height: 18px;
    transform: rotate(45deg);
    border-right: 1px solid #d7e0ec;
    border-bottom: 1px solid #d7e0ec;
    background: #fff;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings::before {
    bottom: -12px;
    box-shadow: 5px 5px 12px rgba(29, 47, 77, .08);
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings.hidden,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-panel.hidden,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-main.hidden {
    display: none !important;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-title {
    display: block;
    margin: 0 0 10px;
    color: #10213d;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-row {
    width: 100%;
    min-height: 31px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #263958 !important;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-row:hover {
    background: #f4f7fb;
    color: #0877f9 !important;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-row > svg,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-value svg,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-back svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-value {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: #425472;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-value b {
    max-width: 82px;
    overflow: hidden;
    font-size: 13px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-divider {
    height: 1px;
    margin: 10px 0 8px;
    background: #dfe5ee;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-footer {
    width: calc(100% + 4px);
    min-height: 33px;
    margin: 9px -2px -3px;
    padding: 8px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border: 0;
    border-top: 1px solid #edf0f5;
    background: transparent;
    color: #8b98ad !important;
    font: inherit;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-footer:hover {
    color: #0877f9 !important;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-back {
    width: 100%;
    min-height: 33px;
    margin: -4px 0 8px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    border: 0;
    border-bottom: 1px solid #edf0f5;
    background: transparent;
    color: #10213d;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-option {
    width: 100%;
    min-height: 35px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #263958;
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-option:hover {
    background: #f4f7fb;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-option i {
    width: 15px;
    height: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b9c5d5;
    border-radius: 50%;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-option.is-selected {
    color: #0877f9;
    font-weight: 600;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-option.is-selected i {
    border-color: #0877f9;
    box-shadow: inset 0 0 0 4px #fff;
    background: #0877f9;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-explore-links {
    display: grid;
    gap: 2px;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-explore-links a {
    width: 100%;
    min-height: 34px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 7px;
    color: #263958 !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none !important;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-explore-links a:hover {
    background: #f4f7fb;
    color: #0877f9 !important;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-explore-links svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-powered {
    margin-top: 9px;
    padding-top: 10px;
    border-top: 1px solid #edf0f5;
    color: #8b98ad;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
}

body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings::before,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings::after {
    border-color: #334155;
    background: #162033;
    color: #eef4ff;
}

body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-title,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-back,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-row,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-option,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-explore-links a {
    color: #eef4ff !important;
}

body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-row:hover,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-option:hover,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-explore-links a:hover {
    background: #202b3d;
}

body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-divider,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-footer,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-back,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-powered {
    border-color: #334155;
}

body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings-powered {
    color: #94a3b8;
}

/* Final shared collapse contract; legacy page styles must not reopen the rail. */
@media (min-width: 921px) {
    .creation-app.sidebar-collapsed,
    .feature-shell.sidebar-collapsed,
    .portal-shell.sidebar-collapsed {
        grid-template-columns: 0 minmax(0, 1fr) !important;
    }

    .creation-app.sidebar-collapsed > aside[data-fuuvo-shared-sidebar="1"],
    .feature-shell.sidebar-collapsed > aside[data-fuuvo-shared-sidebar="1"],
    .portal-shell.sidebar-collapsed > aside[data-fuuvo-shared-sidebar="1"] {
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-right-width: 0 !important;
        opacity: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }
}

@media (max-width: 1180px) and (min-width: 921px) {
    aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings {
        right: -56px;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings::before,
    aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings::after {
        right: 69px;
    }
}

@media (max-width: 920px) {
    aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings {
        right: 0;
        width: min(240px, calc(100vw - 36px));
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings::before,
    aside[data-fuuvo-shared-sidebar="1"] .sidebar-quick-settings::after {
        right: 13px;
    }
}

/* Shared account launcher and upward-opening account card. */
aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-area {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    margin-top: 8px !important;
    padding: 0 !important;
    z-index: 70;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-menu {
    position: relative;
    width: 100%;
    display: block;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-card {
    width: 100%;
    min-height: 56px;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-toggle {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 0 15px 0 8px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 11px;
    border: 0 !important;
    border-radius: 999px !important;
    background: #f1f4f8 !important;
    color: #10213d !important;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background .18s ease, box-shadow .18s ease;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-toggle:hover,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-menu.is-open .sidebar-account-toggle {
    background: #eaf0f8 !important;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-toggle::after {
    content: none !important;
    display: none !important;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-toggle > img,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-toggle .workspace-header-user-fallback,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-toggle .workspace-header-user-fallback.guest-avatar {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    object-fit: cover;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-toggle .workspace-header-user-fallback.guest-avatar {
    border: 1px solid #e3e9f2;
    background: #f7f9fc !important;
    color: #10213d !important;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-toggle .guest-avatar svg,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-toggle .guest-avatar img {
    width: 25px !important;
    height: 25px !important;
    display: block;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-name {
    min-width: 0;
    overflow: hidden;
    color: #10213d;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-chevron {
    width: 18px;
    height: 18px;
    display: block;
    color: #10213d;
    transition: transform .18s ease;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-menu.is-open .sidebar-account-chevron {
    transform: rotate(-90deg);
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-settings {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: #10213d;
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-settings:hover {
    background: #f1f4f8;
    color: #0b6ff0;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-settings svg,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-settings img {
    width: 25px;
    height: 25px;
    display: block;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-dropdown {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: calc(100% + 8px) !important;
    width: 100%;
    min-width: 0 !important;
    padding: 0;
    display: block;
    overflow: hidden;
    border: 1px solid #e3e8f0;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(22, 39, 68, .16);
    color: #10213d;
    z-index: 100;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-dropdown.hidden {
    display: none !important;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-welcome,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-profile {
    padding: 17px 24px 13px;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-welcome > strong,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-profile > strong {
    display: block;
    margin: 0;
    color: #10213d;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-welcome > p,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-profile > p {
    margin: 5px 0 13px;
    color: #71809a;
    font-size: 12px;
    line-height: 1.45;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-primary,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-guest,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-logout {
    width: 100%;
    min-height: 34px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-primary {
    background: #0877f9;
    color: #fff !important;
    box-shadow: 0 5px 12px rgba(8, 119, 249, .18);
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-primary:hover {
    background: #006be8;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-guest,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-logout {
    min-height: 31px;
    margin-top: 2px;
    background: transparent;
    color: #0877f9 !important;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-guest:hover,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-logout:hover {
    background: #f3f7ff;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-links {
    margin: 0 24px;
    padding: 8px 0 9px;
    border-top: 1px solid #dfe5ee;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-links > a {
    min-height: 34px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 7px;
    color: #10213d !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-links > a:hover {
    background: #f6f8fb;
    color: #0877f9 !important;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-links svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: block;
}

body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-toggle,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-menu.is-open .sidebar-account-toggle {
    background: #202b3d !important;
    color: #eef4ff !important;
}

body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-name,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-chevron {
    color: #eef4ff;
}

body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-dropdown {
    border-color: #334155;
    background: #162033;
    color: #eef4ff;
}

body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-welcome > strong,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-profile > strong,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-links > a {
    color: #eef4ff !important;
}

body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-links {
    border-top-color: #334155;
}

@media (max-width: 920px) {
    aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-card {
        grid-template-columns: minmax(0, 1fr) 42px;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-dropdown {
        max-height: min(360px, calc(100dvh - 90px));
        overflow-y: auto;
    }
}

/* Final mobile drawer invariants. Account/settings styles above deliberately
 * allow desktop overflow, so the mobile drawer must reassert its own stacking
 * and scrolling behavior after them. */
@media (max-width: 920px) {
    body.mobile-nav-open,
    body.fuuvo-mobile-sidebar-open {
        touch-action: pan-y !important;
    }

    body aside[data-fuuvo-shared-sidebar="1"],
    body [data-fuuvo-app-shell="1"] > aside[data-fuuvo-shared-sidebar="1"],
    body .creation-app > aside[data-fuuvo-shared-sidebar="1"],
    body .portal-shell > aside[data-fuuvo-shared-sidebar="1"],
    body .feature-shell > aside[data-fuuvo-shared-sidebar="1"] {
        position: fixed !important;
        inset: 0 auto 0 0 !important;
        z-index: 260 !important;
        width: min(72vw, 330px) !important;
        height: 100dvh !important;
        min-height: 100dvh !important;
        max-height: 100dvh !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch;
        backdrop-filter: none !important;
        scrollbar-width: none;
        touch-action: pan-y;
    }

    body aside[data-fuuvo-shared-sidebar="1"] .conversation-item,
    body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-list > a {
        cursor: pointer;
        touch-action: manipulation !important;
    }

    body aside[data-fuuvo-shared-sidebar="1"]::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    body .fuuvo-mobile-sidebar-backdrop {
        z-index: 250 !important;
    }

    body aside[data-fuuvo-shared-sidebar="1"] .fuuvo-sidebar-brand {
        min-height: 58px !important;
        margin-bottom: 24px !important;
        align-items: flex-start !important;
    }

    body aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-logo,
    body aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-logo img {
        width: 116px !important;
        height: 42px !important;
        max-width: 116px !important;
        max-height: 42px !important;
        background: transparent !important;
    }

    body aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-copy,
    body aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-suffix,
    body aside[data-fuuvo-shared-sidebar="1"] .task-list .empty-state {
        display: none !important;
    }

    body aside[data-fuuvo-shared-sidebar="1"] .fuuvo-sidebar-brand.is-chinese {
        min-height: 48px !important;
    }

    body aside[data-fuuvo-shared-sidebar="1"] .fuuvo-sidebar-brand.is-chinese .sidebar-brand-logo,
    body aside[data-fuuvo-shared-sidebar="1"] .fuuvo-sidebar-brand.is-chinese .sidebar-brand-logo img.sidebar-brand-zh-logo {
        width: 68px !important;
        height: 29px !important;
        max-width: 68px !important;
        max-height: 29px !important;
        min-width: 68px !important;
    }

    body aside[data-fuuvo-shared-sidebar="1"] .fuuvo-sidebar-brand.is-chinese .sidebar-brand-copy {
        display: none !important;
    }

    body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-list > a:not(:has(.portal-recent-icon))::before,
    body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-link:not(:has(.portal-recent-icon))::before {
        content: "";
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
        display: block;
        background: #10284c;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.75 7.5h10.5a2.25 2.25 0 0 1 2.25 2.25v4.5a2.25 2.25 0 0 1-2.25 2.25h-6.19L8.25 19.13V16.5h-1.5a2.25 2.25 0 0 1-2.25-2.25v-4.5A2.25 2.25 0 0 1 6.75 7.5Z' stroke='%23000' stroke-width='1.6'/%3E%3Ccircle cx='9' cy='12' r='.8' fill='%23000'/%3E%3Ccircle cx='12' cy='12' r='.8' fill='%23000'/%3E%3Ccircle cx='15' cy='12' r='.8' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.75 7.5h10.5a2.25 2.25 0 0 1 2.25 2.25v4.5a2.25 2.25 0 0 1-2.25 2.25h-6.19L8.25 19.13V16.5h-1.5a2.25 2.25 0 0 1-2.25-2.25v-4.5A2.25 2.25 0 0 1 6.75 7.5Z' stroke='%23000' stroke-width='1.6'/%3E%3Ccircle cx='9' cy='12' r='.8' fill='%23000'/%3E%3Ccircle cx='12' cy='12' r='.8' fill='%23000'/%3E%3Ccircle cx='15' cy='12' r='.8' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
    }
}

/* Final desktop shared-navigation sizing invariant. Some legacy safety styles
 * add horizontal margins to the first item; together with width:100% that
 * pushed New Chat beyond the shared sidebar edge. */
@media (min-width: 921px) {
    aside[data-fuuvo-shared-sidebar="1"] .sidebar-nav {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] #sidebar-new-chat,
    aside[data-fuuvo-shared-sidebar="1"] .portal-new-chat,
    aside[data-fuuvo-shared-sidebar="1"] .sidebar-nav-btn:first-child {
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        justify-self: stretch !important;
        box-sizing: border-box !important;
    }
}

/* Final shared navigation typography. Page-specific legacy rules must not
 * change the sidebar label size between routes or responsive states. */
html body aside[data-fuuvo-shared-sidebar="1"] .sidebar-nav .sidebar-nav-btn .rail-text {
    font-size: 14px !important;
    line-height: 20px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
}

/* Keep the Chinese and English brand assets mutually exclusive even when
 * legacy sidebar rules force logo images or bylines to display. */
html body aside[data-fuuvo-shared-sidebar="1"] [data-fuuvo-brand-language][hidden] {
    display: none !important;
}

/* The account launcher is the only fixed sidebar section. Logo, navigation,
 * history and safety links share one scroll surface above it. */
aside[data-fuuvo-shared-sidebar="1"] {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-scroll-region {
    width: 100%;
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(118, 132, 153, .42) transparent;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-scroll-region::-webkit-scrollbar {
    width: 5px;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-scroll-region::-webkit-scrollbar-track {
    background: transparent;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-scroll-region::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(118, 132, 153, .42);
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-scroll-region .sidebar-shell,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-scroll-region .history-main,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-scroll-region .portal-recent,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-scroll-region .conversation-list,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-scroll-region .task-list,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-scroll-region .portal-recent-list,
aside[data-fuuvo-shared-sidebar="1"] .sidebar-scroll-region .sidebar-safety-link {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
}

aside[data-fuuvo-shared-sidebar="1"] .sidebar-account-area,
aside[data-fuuvo-shared-sidebar="1"] .fuuvo-mobile-sidebar-auth {
    flex: 0 0 auto !important;
    background: inherit;
}

@media (max-width: 920px) {
    body aside[data-fuuvo-shared-sidebar="1"],
    body [data-fuuvo-app-shell="1"] > aside[data-fuuvo-shared-sidebar="1"],
    body .creation-app > aside[data-fuuvo-shared-sidebar="1"],
    body .portal-shell > aside[data-fuuvo-shared-sidebar="1"],
    body .feature-shell > aside[data-fuuvo-shared-sidebar="1"] {
        overflow: hidden !important;
    }

    aside[data-fuuvo-shared-sidebar="1"] .sidebar-scroll-region {
        padding-right: 4px;
    }

    aside[data-fuuvo-shared-sidebar="1"] .fuuvo-mobile-sidebar-auth {
        padding: 12px 4px 4px;
        border-top: 1px solid #dce3ed;
        border-bottom: 0;
    }
}

/* English sidebar brand lockup: transparent symbol + wordmark. Keep these
 * final overrides after legacy desktop and mobile image sizing rules. */
html body aside[data-fuuvo-shared-sidebar="1"] .fuuvo-sidebar-brand.is-english {
    min-height: 54px !important;
    gap: 0 !important;
}

html body aside[data-fuuvo-shared-sidebar="1"] .fuuvo-sidebar-brand.is-english .sidebar-brand-logo {
    width: 112px !important;
    height: 34px !important;
    min-width: 112px !important;
    max-width: 112px !important;
    flex: 0 0 112px !important;
    overflow: visible !important;
}

html body aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-en-lockup {
    width: 112px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: #079aa6;
    background: transparent !important;
    white-space: nowrap;
}

html body aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-en-lockup[hidden] {
    display: none !important;
}

html body aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-logo img.sidebar-brand-en-symbol {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    flex: 0 0 32px !important;
    display: block !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    object-fit: contain !important;
    object-position: center !important;
}

html body aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-en-word {
    display: inline-block !important;
    color: #079aa6 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: -0.45px !important;
}

@media (max-width: 920px) {
    html body aside[data-fuuvo-shared-sidebar="1"] .fuuvo-sidebar-brand.is-english {
        min-height: 50px !important;
        margin-bottom: 20px !important;
        align-items: center !important;
    }

    html body aside[data-fuuvo-shared-sidebar="1"] .fuuvo-sidebar-brand.is-english .sidebar-brand-logo,
    html body aside[data-fuuvo-shared-sidebar="1"] .fuuvo-sidebar-brand.is-english .sidebar-brand-en-lockup {
        width: 108px !important;
        height: 32px !important;
        min-width: 108px !important;
        max-width: 108px !important;
        flex-basis: 108px !important;
    }

    html body aside[data-fuuvo-shared-sidebar="1"] .fuuvo-sidebar-brand.is-english .sidebar-brand-logo img.sidebar-brand-en-symbol {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        max-width: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;
        flex-basis: 30px !important;
    }

    html body aside[data-fuuvo-shared-sidebar="1"] .sidebar-brand-en-word {
        font-size: 21px !important;
    }
}

/* Creation history belongs to the compact/mobile navigation only. Keep this
 * final so older shared sidebar display rules cannot expose it on desktop. */
html body aside[data-fuuvo-shared-sidebar="1"] .sidebar-mobile-only {
    display: none !important;
}

@media (max-width: 920px), (hover: none) and (pointer: coarse) and (max-width: 1366px) {
    html body aside[data-fuuvo-shared-sidebar="1"] .sidebar-mobile-only {
        display: flex !important;
    }
}

html.fuuvo-compact-mobile body aside[data-fuuvo-shared-sidebar="1"] .sidebar-mobile-only {
    display: flex !important;
}

/* Final shared recent-list invariant. Keep home, active chat, and feature
 * pages visually aligned even when chat or feature styles load different
 * history/sidebar rules. */
html body aside[data-fuuvo-shared-sidebar="1"] .history-main,
html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent {
    margin-top: 16px !important;
    padding-top: 12px !important;
    border-top: 1px solid #edf1f7 !important;
}

html body aside[data-fuuvo-shared-sidebar="1"] .sidebar-section-label,
html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent > h2 {
    margin: 0 10px 7px !important;
    padding: 0 !important;
    color: #7b8ba5 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
    letter-spacing: 0 !important;
}

html body aside[data-fuuvo-shared-sidebar="1"] .conversation-list,
html body aside[data-fuuvo-shared-sidebar="1"] .task-list,
html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-list {
    display: grid !important;
    align-content: start !important;
    gap: 2px !important;
}

html body aside[data-fuuvo-shared-sidebar="1"] .conversation-item,
html body aside[data-fuuvo-shared-sidebar="1"] .task-item,
html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-list > a,
html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-link,
html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-empty {
    min-height: 36px !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    color: #273447 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    letter-spacing: 0 !important;
}

html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-item {
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    border-radius: 8px !important;
    color: #273447 !important;
}

html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-item .portal-recent-link {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 7px !important;
}

html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-icon {
    width: 20px !important;
    height: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #273447 !important;
}

html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-icon svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
}

html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-copy {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-time {
    min-width: 34px !important;
    color: #7788a3 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 18px !important;
    text-align: right !important;
    white-space: nowrap !important;
}

html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-delete {
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #8b98ab !important;
    opacity: 0 !important;
    pointer-events: none !important;
    cursor: pointer !important;
}

html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-delete svg {
    width: 16px !important;
    height: 16px !important;
}

html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-item:hover .portal-recent-delete,
html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-delete:focus-visible {
    opacity: 1 !important;
    pointer-events: auto !important;
}

html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-delete:hover {
    background: #fff1f1 !important;
    color: #dc2626 !important;
}

html body aside[data-fuuvo-shared-sidebar="1"] .conversation-title,
html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-link {
    color: #273447 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
}

html body aside[data-fuuvo-shared-sidebar="1"] .conversation-item:hover,
html body aside[data-fuuvo-shared-sidebar="1"] .task-item:hover,
html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-item:hover,
html body aside[data-fuuvo-shared-sidebar="1"] .portal-recent-list > a:hover {
    background: #f6f9ff !important;
}

body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .sidebar-section-label,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .portal-recent > h2 {
    color: #9eacc0 !important;
}

body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .conversation-item,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .task-item,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .portal-recent-item,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .portal-recent-list > a,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .portal-recent-link,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .portal-recent-empty,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .conversation-title {
    color: #d9e4f2 !important;
}

body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .portal-recent-icon {
    color: #d9e4f2 !important;
}

body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .portal-recent-time,
body[data-ui-theme="dark"] aside[data-fuuvo-shared-sidebar="1"] .portal-recent-delete {
    color: #9eacc0 !important;
}
