/* C020: the six live research tools in a phone-only, single-column layout. */
@font-face {
    font-family: FuuVoResearchCJK;
    src: url('/static/document-templates/editor-cjk.woff') format('woff');
    font-display: swap;
}
@layer fuuvo-mobile-design {
@media (max-width: 920px) {
    html body #research-app[data-research-page="home"] {
        --mr-ink: #171821;
        --mr-muted: #716d7d;
        --mr-language: #696473;
        --mr-copy: #877f8f;
        --mr-line: #e5e2e9;
        --mr-paper: #fff;
        --mr-card: #fff;
        --mr-tint: #ffffff90;
        --mr-blue: #3474d4;
        --mr-hover: #fcfbfe;
        --mr-hover-line: #bdb2d0;
        --mr-active: #f7f4fa;
        --mr-history: #655c71;
        --mr-chevron: #aaa2b3;
        --mr-legal: #a09aa7;
        --mr-link: #82768d;
        --mr-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, FuuVoResearchCJK, sans-serif;
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: var(--mresearch-viewport-height, 100dvh) !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        color: var(--mr-ink) !important;
        background: radial-gradient(ellipse 83% 30% at 50% -3%, #f6bbd9, transparent),
            radial-gradient(ellipse 94% 32% at 0 0, #ddd0fb, transparent), var(--mr-paper) !important;
    }
    /* Match the supplied font, including text with shared important font rules. */
    html body #research-app[data-research-page="home"] :is(
        [data-fuuvo-shared-topbar], [data-fuuvo-shared-topbar] *,
        [data-fuuvo-app-scroll], [data-fuuvo-app-scroll] *,
        .research-ai-disclaimer, .research-ai-disclaimer *
    ) {
        font-family: var(--mr-font) !important;
        font-synthesis: weight !important;
    }
    html body:not(.fuuvo-mobile-sidebar-open):not(.mobile-nav-open) #research-app[data-research-page="home"]
        aside[data-fuuvo-shared-sidebar="1"] {
        box-shadow: none !important;
    }
    html body:is([data-ui-theme="dark"], [data-theme="dark"]) #research-app[data-research-page="home"],
    html:is([data-ui-theme="dark"], [data-theme="dark"]) body #research-app[data-research-page="home"] {
        --mr-ink: #f1f1f5;
        --mr-muted: #b1a8bc;
        --mr-language: #b1a8bc;
        --mr-copy: #b1a8bc;
        --mr-line: #413b4b;
        --mr-paper: #191a22;
        --mr-card: #22232d;
        --mr-tint: #25222dcc;
        --mr-blue: #91b9fa;
        --mr-hover: #2b2937;
        --mr-hover-line: #74668b;
        --mr-active: #332c40;
        --mr-history: #c1b5ce;
        --mr-chevron: #afa3be;
        --mr-legal: #a8a0b3;
        --mr-link: #b9acc8;
        background: radial-gradient(ellipse 83% 30% at 50% -3%, #73334888, transparent),
            radial-gradient(ellipse 94% 32% at 0 0, #45386388, transparent), var(--mr-paper) !important;
    }
    html body #research-app[data-research-page="home"] > .creation-workspace {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: transparent !important;
    }
    html body #research-app[data-research-page="home"] [data-fuuvo-shared-topbar] {
        position: relative !important;
        inset: auto !important;
        display: flex !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        height: 58px !important;
        min-height: 58px !important;
        max-height: none !important;
        padding: 0 max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left)) !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        background: transparent !important;
        color: var(--mr-ink) !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    html body #research-app[data-research-page="home"] [data-fuuvo-shared-topbar]
        :is(.fuuvo-mobile-prototype-title, .fuuvo-mobile-prototype-new-chat) {
        display: none !important;
    }
    html body #research-app[data-research-page="home"] [data-fuuvo-shared-topbar] .shell-topbar-left {
        display: flex !important;
        flex: 0 0 44px !important;
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        margin: 0 !important;
        align-items: center !important;
        overflow: visible !important;
    }
    html body #research-app[data-research-page="home"] .shell-topbar-left > :not(.shell-history-back) {
        display: none !important;
    }
    html body #research-app[data-research-page="home"] .shell-history-back {
        display: flex !important;
        flex: 0 0 44px !important;
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 10px !important;
        margin: 0 !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0 !important;
        border: 0 !important;
        border-radius: 12px !important;
        color: var(--mr-ink) !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    html body #research-app[data-research-page="home"] .shell-history-back > span:not(.fuuvo-design-icon) {
        display: none !important;
    }
    html body #research-app[data-research-page="home"] .shell-history-back :is(.fuuvo-design-icon, svg) {
        display: block !important;
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        padding: 0 !important;
        margin: 0 !important;
        color: inherit !important;
        flex: 0 0 24px !important;
        line-height: 24px !important;
        stroke-width: 1.5 !important;
    }
    html body #research-app[data-research-page="home"] [data-fuuvo-shared-topbar] .shell-topbar-center {
        display: contents !important;
    }
    html body #research-app[data-research-page="home"] .shell-topbar-center > :not(.mresearch-brand) {
        display: none !important;
    }
    html body #research-app[data-research-page="home"] .mresearch-brand {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        display: flex !important;
        align-items: center !important;
        width: 99px !important;
        height: 36px !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        color: var(--mr-ink) !important;
        background: transparent !important;
    }
    html body #research-app[data-research-page="home"] .mresearch-brand img {
        display: block !important;
        width: 99px !important;
        max-width: 99px !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        filter: none !important;
        opacity: 1 !important;
        object-fit: contain !important;
    }
    html body #research-app[data-research-page="home"] .mresearch-brand span {
        position: absolute !important;
        left: calc(100% + 5px) !important;
        bottom: 6px !important;
        width: auto !important;
        height: 16px !important;
        color: var(--mr-ink) !important;
        font-size: 12px !important;
        line-height: 16px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }
    html body #research-app[data-research-page="home"] [data-fuuvo-shared-topbar] .shell-topbar-right {
        display: flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 0 0 auto !important;
        padding: 0 !important;
        justify-content: flex-end !important;
        overflow: visible !important;
    }
    html body #research-app[data-research-page="home"] .shell-topbar-right > :not(.mresearch-language) {
        display: none !important;
    }
    html body #research-app[data-research-page="home"] .mresearch-language {
        display: flex !important;
        flex: 0 0 auto !important;
        height: 36px !important;
        min-height: 36px !important;
        width: auto !important;
        padding: 2px !important;
        gap: 1px !important;
        border: 1px solid #ffffffa6 !important;
        border-radius: 10px !important;
        background: var(--mr-tint) !important;
    }
    html body #research-app[data-research-page="home"] .mresearch-language a {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex: 0 0 29px !important;
        width: 29px !important;
        min-width: 29px !important;
        max-width: 29px !important;
        height: 30px !important;
        min-height: 30px !important;
        margin: 0 !important;
        padding: 0 5px !important;
        border: 0 !important;
        border-radius: 7px !important;
        color: var(--mr-language) !important;
        background: transparent !important;
        text-decoration: none !important;
        font-size: 11px !important;
        line-height: 30px !important;
        font-weight: 400 !important;
    }
    html body #research-app[data-research-page="home"] .mresearch-language :is(.active, [aria-current="page"]) {
        color: var(--mr-ink) !important;
        background: var(--mr-card) !important;
        font-weight: 650 !important;
        box-shadow: 0 1px 4px #6551710d !important;
    }
    html body #research-app[data-research-page="home"] [data-fuuvo-app-scroll] {
        display: flex !important;
        flex: 1 1 0 !important;
        flex-direction: column !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 12px max(20px, env(safe-area-inset-right)) 10px max(20px, env(safe-area-inset-left)) !important;
        background: transparent !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior-y: contain !important;
        scrollbar-width: none !important;
    }
    html body #research-app[data-research-page="home"] [data-fuuvo-app-scroll]::-webkit-scrollbar {
        display: none !important;
    }
    html body #research-app[data-research-page="home"] .research-home-heading {
        display: grid !important;
        flex: 0 0 auto !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-rows: auto auto !important;
        align-items: center !important;
        gap: 5px 6px !important;
        margin: 0 0 21px !important;
        padding: 0 !important;
        text-align: left !important;
        background: transparent !important;
    }
    html body #research-app[data-research-page="home"] .research-home-heading h1 {
        grid-column: 1 !important;
        grid-row: 1 !important;
        margin: 0 !important;
        font-size: 28px !important;
        line-height: 38px !important;
        font-weight: 650 !important;
        letter-spacing: -.8px !important;
        color: var(--mr-ink) !important;
    }
    html body #research-app[data-research-page="home"] .research-home-heading p {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 21px !important;
        color: var(--mr-muted) !important;
    }
    html body #research-app[data-research-page="home"] .mresearch-history {
        display: flex !important;
        grid-column: 2 !important;
        grid-row: 1 !important;
        min-height: 44px !important;
        padding: 0 0 0 6px !important;
        gap: 6px !important;
        align-items: center !important;
        color: var(--mr-history) !important;
        text-decoration: none !important;
        font-size: 12px !important;
        line-height: 18px !important;
        white-space: nowrap !important;
    }
    html body #research-app[data-research-page="home"] .mresearch-history svg {
        display: block !important;
        flex: 0 0 18px !important;
        width: 18px !important;
        height: 18px !important;
        color: inherit !important;
    }
    html body #research-app[data-research-page="home"] :is(.research-tabs, .fuuvo-mobile-workspace-tabs) {
        display: none !important;
    }
    html body #research-app[data-research-page="home"] .research-tool-grid {
        display: grid !important;
        flex: 0 0 auto !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    html body #research-app[data-research-page="home"] .research-tool-card {
        display: grid !important;
        grid-template-columns: 27px minmax(0, 1fr) 15px !important;
        grid-template-rows: auto auto !important;
        align-content: center !important;
        align-items: center !important;
        justify-items: stretch !important;
        gap: 4px 13px !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 82px !important;
        margin: 0 !important;
        padding: 15px 14px !important;
        border: 1px solid var(--mr-line) !important;
        border-radius: 17px !important;
        background: var(--mr-card) !important;
        color: var(--mr-ink) !important;
        text-align: left !important;
        text-decoration: none !important;
        box-shadow: 0 3px 12px #38284103 !important;
        transform: none !important;
        transition: background .15s, border-color .15s !important;
    }
    html body #research-app[data-research-page="home"] .research-tool-card:hover {
        background: var(--mr-hover) !important;
        border-color: var(--mr-hover-line) !important;
        box-shadow: 0 3px 12px #38284103 !important;
        transform: none !important;
    }
    html body #research-app[data-research-page="home"] .research-tool-card:active {
        background: var(--mr-active) !important;
    }
    html body #research-app[data-research-page="home"] .research-tool-card :is(.research-tool-art, .fuuvo-mobile-row-icon),
    html body #research-app[data-research-page="home"] .research-tool-card::after {
        display: none !important;
        content: none !important;
    }
    html body #research-app[data-research-page="home"] .mresearch-service-icon {
        display: flex !important;
        grid-column: 1 !important;
        grid-row: 1 / 3 !important;
        justify-content: center !important;
        align-items: center !important;
        width: 27px !important;
        height: 30px !important;
        padding: 0 !important;
        margin: 0 !important;
        color: var(--mr-blue) !important;
        background: transparent !important;
    }
    html body #research-app[data-research-page="home"] .mresearch-service-icon svg {
        display: block !important;
        width: 24px !important;
        height: 24px !important;
        color: inherit !important;
        filter: none !important;
    }
    html body #research-app[data-research-page="home"] .research-tool-card h2 {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        align-self: end !important;
        color: var(--mr-ink) !important;
        font-size: 15px !important;
        line-height: 21px !important;
        font-weight: 550 !important;
        letter-spacing: -.12px !important;
    }
    html body #research-app[data-research-page="home"] .research-tool-card p {
        grid-column: 2 !important;
        grid-row: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        align-self: start !important;
        color: var(--mr-copy) !important;
        font-size: 12px !important;
        line-height: 18px !important;
        font-weight: 400 !important;
    }
    html body #research-app[data-research-page="home"] .mresearch-chevron {
        display: flex !important;
        grid-column: 3 !important;
        grid-row: 1 / 3 !important;
        width: 15px !important;
        height: 15px !important;
        padding: 0 !important;
        margin: 0 !important;
        color: var(--mr-chevron) !important;
    }
    html body #research-app[data-research-page="home"] .mresearch-chevron svg {
        display: block !important;
        width: 15px !important;
        height: 15px !important;
        color: inherit !important;
    }
    html body #research-app[data-research-page="home"] .research-home-heading h1:lang(zh-CN) {
        letter-spacing: 0 !important;
    }
    html body #research-app[data-research-page="home"] .research-tool-card h2:lang(zh-CN) {
        font-size: 16px !important;
        line-height: 23px !important;
    }
    html body #research-app[data-research-page="home"] .research-ai-disclaimer {
        display: flex !important;
        flex: 0 0 auto !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 12px max(20px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(20px, env(safe-area-inset-left)) !important;
        gap: 0 !important;
        align-items: center !important;
        border: 0 !important;
        background: transparent !important;
        font-size: 10px !important;
        line-height: 16px !important;
        color: var(--mr-legal) !important;
        text-align: center !important;
    }
    html body #research-app[data-research-page="home"]
        :is(.research-ai-disclaimer .fuuvo-ai-disclaimer-product, .mresearch-desktop-legal) {
        display: none !important;
    }
    html body #research-app[data-research-page="home"] .mresearch-mobile-legal {
        display: block !important;
        font-size: 10px !important;
        line-height: 16px !important;
        color: var(--mr-legal) !important;
    }
    html body #research-app[data-research-page="home"] .research-ai-disclaimer .fuuvo-ai-disclaimer-legal {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 0 !important;
    }
    html body #research-app[data-research-page="home"] .research-ai-disclaimer a {
        display: inline-flex !important;
        min-height: 27px !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 3px !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--mr-link) !important;
        font-size: 10px !important;
        line-height: normal !important;
        font-weight: 400 !important;
        text-decoration: none !important;
    }
    html body #research-app[data-research-page="home"] .research-ai-disclaimer a svg {
        width: 12px !important;
        height: 12px !important;
        color: inherit !important;
    }
    html body #research-app[data-research-page="home"] :is(a, button):focus-visible {
        outline: 2px solid #8d77bf !important;
        outline-offset: 3px !important;
    }
    html body #research-app[data-research-page="home"] :is(a, button) {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    /* Respect JS breakpoint teardown and all existing drawer visibility. */
    html body #research-app[data-research-page="home"] [hidden] {
        display: none !important;
    }
}
@media (max-width: 920px) and (prefers-reduced-motion: reduce) {
    html body #research-app[data-research-page="home"] .research-tool-card {
        transition: none !important;
    }
}
}
