/* V6 cache-bypass guard. This file is loaded after the legacy theme so a CDN
   serving an older redesign.css cannot put the navigation back in the grid. */
@media (min-width: 821px) {
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner > .main-nav {
        position: fixed !important;
        z-index: 80 !important;
        top: 96px !important;
        right: auto !important;
        bottom: auto !important;
        max-height: calc(100dvh - 120px) !important;
        overflow-y: auto !important;
        justify-content: flex-start !important;
        left: var(--public-gutter) !important;
        display: flex !important;
        width: 196px !important;
        height: auto !important;
        min-height: 260px !important;
        margin: 0 !important;
        padding: 8px !important;
        border: 1px solid #ececec !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        box-shadow: 0 8px 24px rgba(20,20,20,.035) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px !important;
        transform: none !important;
    }
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a,
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a.active {
        display: flex !important;
        width: 100% !important;
        min-height: 44px !important;
        margin: 0 !important;
        padding: 0 13px !important;
        border: 0 !important;
        border-radius: 8px !important;
        color: #656565 !important;
        background: transparent !important;
        box-shadow: none !important;
        flex: 0 0 auto !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
    }
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a:hover,
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a.active { color: #181818 !important; background: #f4f4f4 !important; }
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a.nav-publish { margin: 7px 0 12px !important; color: #ffffff !important; background: #181818 !important; justify-content: center !important; }
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a.nav-publish:hover,
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a.nav-publish.active { color: #ffffff !important; background: #181818 !important; }
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a.nav-desktop-tool:first-of-type { margin-top: 17px !important; }
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a.nav-desktop-tool:first-of-type::before {
        position: absolute;
        top: -9px;
        right: 12px;
        left: 12px;
        height: 1px;
        background: #ececec;
        content: '';
    }
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a.nav-desktop-tool { position: relative !important; }
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .page-shell {
        width: calc(100% - var(--public-gutter) * 2 - 228px) !important;
        max-width: none !important;
        margin-right: var(--public-gutter) !important;
        margin-left: calc(var(--public-gutter) + 228px) !important;
    }
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .site-footer {
        width: calc(100% - var(--public-gutter) * 2 - 228px) !important;
        margin-left: calc(var(--public-gutter) + 228px) !important;
    }
}

@media (max-width: 820px) {
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner > .main-nav {
        position: fixed !important;
        z-index: 80 !important;
        top: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        display: flex !important;
        width: 100% !important;
        height: 64px !important;
        min-height: 64px !important;
        margin: 0 !important;
        padding: 4px 4px max(4px, env(safe-area-inset-bottom)) !important;
        border: 0 !important;
        border-top: 1px solid #ececec !important;
        border-radius: 0 !important;
        background: rgba(255,255,255,.98) !important;
        box-shadow: 0 -6px 22px rgba(0,0,0,.07) !important;
        flex-direction: row !important;
        gap: 0 !important;
        transform: none !important;
    }
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a.nav-desktop-tool { display: none !important; }
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a,
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a.active { min-height: 54px !important; padding: 3px 2px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; flex: 1 1 0 !important; flex-direction: column !important; justify-content: center !important; gap: 2px !important; font-size: 12px !important; }
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a.active { color: #181818 !important; }
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a.nav-publish { margin: 0 !important; color: #181818 !important; background: transparent !important; }
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a.nav-publish .nav-symbol { width: 34px !important; height: 34px !important; flex-basis: 34px !important; border-radius: 50% !important; color: #ffffff !important; background: #181818 !important; font-size: 22px !important; }
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .page-shell { width: calc(100% - 28px) !important; margin-right: 14px !important; margin-left: 14px !important; padding-bottom: 86px !important; }
    html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .site-footer { width: calc(100% - 28px) !important; margin-right: 14px !important; margin-left: 14px !important; }
}

html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) { --public-gutter: max(24px, calc((100vw - 1400px) / 2)); background: #f8f8f8 !important; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .xhs-feed-shell { display: block !important; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-main-layout { display: block !important; max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-intro { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-intro h1 { margin: 0 0 7px; font-size: 27px; letter-spacing: 0; line-height: 1.4; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-intro p { margin: 0; color: #808080; font-size: 14px; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-intro .feed-publish-action { min-height: 42px; padding: 10px 18px; border-radius: 12px; font-size: 14px; box-shadow: 0 4px 12px #18181820; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-channel-bar { background: #ffffff !important; min-height: 60px; padding: 8px 12px; border: 1px solid #eeeeee; border-radius: 14px; background: #ffffff; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-channel-bar .social-topic-tabs { justify-content: flex-start !important; display: flex !important; flex-wrap: nowrap !important; width: 100%; min-width: 0; gap: 6px !important; overflow-x: auto; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-channel-bar .social-topic-tabs a { flex: 0 0 auto; padding: 9px 18px !important; border-radius: 9px !important; font-size: 14px; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-channel-bar .social-topic-tabs a.active { background: #f3f3f3 !important; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-channel-bar .social-topic-tabs a.active::after { display: none !important; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-grid { display: grid !important; columns: auto !important; max-width: none !important; width: 100% !important; padding-top: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 22px 18px !important; align-items: start; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-card { min-width: 0; margin: 0 !important; border: 1px solid #eeeeee !important; border-radius: 16px !important; box-shadow: 0 3px 12px #25252504 !important; transition: transform .2s ease, box-shadow .2s ease; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-cover { aspect-ratio: 4 / 3 !important; height: auto !important; min-height: 0 !important; border-radius: 0 !important; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-cover-text { align-items: center !important; padding: 24px !important; background: linear-gradient(135deg, #f4f4f4, #f7f7f7) !important; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-card:nth-child(3n + 2) .discovery-cover-text { background: linear-gradient(135deg, #f1f1f1, #f4f4f4) !important; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-card:nth-child(3n) .discovery-cover-text { background: linear-gradient(135deg, #f2f2f2, #f6f6f6) !important; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-cover-text span { font-size: 18px !important; font-weight: 650 !important; line-height: 1.7 !important; color: #464646 !important; overflow-wrap: anywhere; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-card-body { padding: 14px !important; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-card-body h2 { min-height: 42px; margin: 0 0 14px !important; font-size: 14px !important; line-height: 1.55 !important; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-author-name { min-width: 0; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-author-name > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .note-card-actions { flex-shrink: 0; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) a:focus-visible, html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) button:focus-visible { outline: 3px solid #181818; outline-offset: 3px; }
@media (min-width: 821px) {
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner { grid-template-columns: 182px minmax(220px, 560px) minmax(0, 1fr) auto !important; width: calc(100% - var(--public-gutter) * 2) !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a.nav-desktop-tool:nth-last-child(2) { margin-top: 12px !important; border-top: 1px solid #eeeeee !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .brand > span:last-child { font-size: 14px !important; }
}
@media (min-width: 821px) and (max-width: 1150px) {
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px 12px !important; }
}
@media (max-width: 820px) {
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-intro { margin-bottom: 16px; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-intro h1 { font-size: 23px; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-intro p { font-size: 12px; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-intro .feed-publish-action { display: none; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-channel-bar { min-height: 52px; padding: 6px; border-radius: 12px; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-channel-bar .social-topic-tabs a { padding: 8px 14px !important; font-size: 13px; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px 10px !important; padding-top: 16px; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-cover { aspect-ratio: 1 / 1 !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-cover-text { padding: 16px !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-cover-text span { font-size: 15px !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-card-body { padding: 10px !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-card-body h2 { font-size: 13px !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner > .main-nav { height: calc(64px + env(safe-area-inset-bottom)) !important; }
}
@media (prefers-reduced-motion: reduce) { html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-card { transition: none; } }

/* Consistent vector navigation icons and readable labels. */
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a { align-items: center !important; line-height: 1.4 !important; letter-spacing: 0 !important; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a .nav-symbol { display: inline-flex !important; position: relative !important; width: 24px !important; height: 24px !important; flex: 0 0 24px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; color: currentColor !important; background: transparent !important; box-shadow: none !important; align-items: center !important; justify-content: center !important; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a .nav-symbol::before, html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a .nav-symbol::after { display: none !important; content: none !important; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .nav-symbol svg { display: block; width: 24px; height: 24px; flex: none; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-channel-bar .social-topic-tabs a { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; min-height: 44px !important; font-size: 15px !important; line-height: 1.4 !important; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .topic-icon, html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .topic-icon svg { display: block; width: 20px; height: 20px; flex: 0 0 20px; }
@media (min-width: 821px) {
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a, html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a.active { min-height: 52px !important; padding: 0 16px !important; gap: 12px !important; font-size: 16px !important; font-weight: 600 !important; border-radius: 10px !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a.nav-publish { justify-content: flex-start !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner > .main-nav { padding: 10px !important; gap: 6px !important; border-radius: 16px !important; }
}
@media (max-width: 820px) {
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a, html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a.active { font-size: 12px !important; font-weight: 600 !important; gap: 4px !important; min-height: 60px !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner > .main-nav { height: calc(72px + env(safe-area-inset-bottom)) !important; padding: 4px 4px calc(4px + env(safe-area-inset-bottom)) !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .main-nav > a.nav-publish .nav-symbol { width: 30px !important; height: 30px !important; flex-basis: 30px !important; border-radius: 10px !important; color: #ffffff !important; background: #181818 !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-channel-bar .social-topic-tabs a { min-height: 42px !important; padding: 8px 12px !important; font-size: 14px !important; gap: 6px !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .topic-icon, html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .topic-icon svg { width: 18px; height: 18px; flex-basis: 18px; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .page-shell { padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important; }
}

/* Admin workspace: grouped navigation and a readable account header. */
html body.redesign-body.admin-page-body { background: #f6f6f6 !important; }
html body.redesign-body.admin-page-body .admin-global-header { position: sticky !important; top: 0 !important; height: auto !important; background: #ffffff !important; border-bottom: 1px solid #ececec !important; box-shadow: 0 2px 12px #30303005 !important; z-index: 90 !important; }
html body.redesign-body.admin-page-body .admin-global-header .header-inner { display: flex !important; width: 100% !important; min-height: 72px !important; height: auto !important; padding: 12px 28px !important; gap: 24px !important; }
html body.redesign-body.admin-page-body .admin-global-header .brand { color: #282828 !important; font-size: 16px !important; gap: 10px !important; flex-shrink: 0; }
html body.redesign-body.admin-page-body .admin-global-header .brand-mark { width: 38px !important; height: 38px !important; flex-basis: 38px !important; box-shadow: none !important; }
html body.redesign-body.admin-page-body .admin-global-header .main-nav { width: auto !important; margin-left: auto !important; flex: none !important; }
html body.redesign-body.admin-page-body .admin-global-header .main-nav a { color: #606060 !important; font-size: 14px !important; padding: 9px 14px !important; background: #f6f6f6 !important; border-radius: 9px !important; }
html body.redesign-body.admin-page-body .admin-global-header .header-account { color: #606060 !important; gap: 16px !important; flex: none !important; }
html body.redesign-body.admin-page-body .admin-global-header .account-name, html body.redesign-body.admin-page-body .admin-global-header .link-button { color: #434343 !important; font-size: 14px !important; }
html body.redesign-body.admin-page-body .admin-layout { display: grid !important; grid-template-columns: 224px minmax(0, 1fr) !important; width: 100% !important; align-items: start !important; background: #f6f6f6 !important; }
html body.redesign-body.admin-page-body .admin-sidebar { position: sticky !important; top: 73px !important; width: 224px !important; height: calc(100dvh - 73px) !important; overflow-y: auto !important; padding: 20px 14px !important; border-right: 1px solid #ececec !important; border-bottom: 0 !important; }
html body.redesign-body.admin-page-body .admin-sidebar-head { display: flex !important; align-items: center !important; justify-content: space-between !important; width: 100% !important; margin: 0 0 16px !important; padding: 0 10px 18px !important; border-bottom: 1px solid #f0f0f0 !important; gap: 8px !important; }
html body.redesign-body.admin-page-body .admin-sidebar-head strong { font-size: 17px !important; }
html body.redesign-body.admin-page-body .admin-sidebar-head span { font-size: 12px !important; padding: 4px 7px !important; border-radius: 6px !important; }
html body.redesign-body.admin-page-body .admin-sidebar-nav { display: flex !important; flex-direction: column !important; align-items: stretch !important; width: 100% !important; margin: 0 !important; padding: 0 !important; gap: 18px !important; overflow: visible !important; }
html body.redesign-body.admin-page-body .admin-nav-group { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 4px !important; }
html body.redesign-body.admin-page-body .admin-nav-group p { margin: 0 !important; padding: 0 12px 5px !important; font-size: 12px !important; color: #919191 !important; font-weight: 500 !important; }
html body.redesign-body.admin-page-body .admin-nav-group a { display: flex !important; align-items: center !important; min-height: 44px !important; padding: 10px 12px !important; gap: 11px !important; color: #606060 !important; font-size: 14px !important; font-weight: 500 !important; border: 0 !important; border-radius: 9px !important; line-height: 1.4 !important; }
html body.redesign-body.admin-page-body .admin-nav-icon { width: 20px; height: 20px; flex: 0 0 20px; }
html body.redesign-body.admin-page-body .admin-nav-group a:hover { background: #f7f7f7 !important; color: #282828 !important; }
html body.redesign-body.admin-page-body .admin-nav-group a.active { color: #181818 !important; background: #f3f3f3 !important; font-weight: 650 !important; box-shadow: inset 3px 0 #181818 !important; }
html body.redesign-body.admin-page-body .admin-workspace { width: 100% !important; min-width: 0 !important; background: #f6f6f6 !important; }
html body.redesign-body.admin-page-body .admin-page-shell, html body.redesign-body.admin-page-body .admin-footer { width: calc(100% - 64px) !important; max-width: 1440px !important; margin: 0 auto !important; }
html body.redesign-body.admin-page-body .admin-page-shell { padding-top: 30px !important; }
html body.redesign-body.admin-page-body .page-heading h1 { font-size: 28px !important; letter-spacing: 0; }
html body.redesign-body.admin-page-body .page-heading > p:last-child { color: #828282 !important; }
html body.redesign-body.admin-page-body .stat-grid { grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)) !important; gap: 16px !important; }
html body.redesign-body.admin-page-body .stat-grid a { min-height: 142px !important; border: 1px solid #ececec !important; border-radius: 14px !important; padding: 20px !important; box-shadow: 0 3px 12px #30303003 !important; }
html body.redesign-body.admin-page-body .stat-grid a strong { font-size: 30px !important; color: #303030 !important; }
html body.redesign-body.admin-page-body .content-section { border-radius: 14px !important; }
html body.redesign-body.admin-page-body a:focus-visible, html body.redesign-body.admin-page-body button:focus-visible { outline: 3px solid #181818; outline-offset: 2px; }
@media (max-width: 900px) {
 html body.redesign-body.admin-page-body .admin-global-header .header-inner { padding: 12px 16px !important; gap: 12px !important; flex-wrap: wrap !important; }
 html body.redesign-body.admin-page-body .admin-global-header .header-account { gap: 10px !important; }
 html body.redesign-body.admin-page-body .admin-global-header .account-name { display: none !important; }
 html body.redesign-body.admin-page-body .admin-layout { display: block !important; }
 html body.redesign-body.admin-page-body .admin-sidebar { position: static !important; width: 100% !important; height: auto !important; padding: 16px !important; overflow: visible !important; border-right: 0 !important; border-bottom: 1px solid #ececec !important; }
 html body.redesign-body.admin-page-body .admin-sidebar-head { padding: 0 0 12px !important; margin-bottom: 12px !important; }
 html body.redesign-body.admin-page-body .admin-sidebar-nav { flex-direction: row !important; align-items: stretch !important; overflow-x: auto !important; flex-wrap: nowrap !important; gap: 16px !important; padding-bottom: 6px !important; }
 html body.redesign-body.admin-page-body .admin-nav-group { flex: 0 0 auto !important; min-width: 130px !important; }
 html body.redesign-body.admin-page-body .admin-nav-group a { min-height: 44px !important; white-space: nowrap; }
 html body.redesign-body.admin-page-body .admin-page-shell, html body.redesign-body.admin-page-body .admin-footer { width: calc(100% - 32px) !important; }
 html body.redesign-body.admin-page-body .admin-page-shell { padding-top: 24px !important; }
 html body.redesign-body.admin-page-body .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
}
@media (max-width: 480px) {
 html body.redesign-body.admin-page-body .admin-global-header .brand { font-size: 14px !important; }
 html body.redesign-body.admin-page-body .admin-global-header .main-nav a { padding: 8px 10px !important; font-size: 12px !important; }
 html body.redesign-body.admin-page-body .admin-global-header .header-account { width: 100% !important; justify-content: flex-end !important; }
 html body.redesign-body.admin-page-body .page-heading h1 { font-size: 24px !important; }
 html body.redesign-body.admin-page-body .stat-grid a { padding: 15px !important; }
}

/* Real SVG action icons replace font-dependent arrows and glyphs. */
html body.redesign-body .ui-action-icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 20px; vertical-align: middle; pointer-events: none; }
html body.redesign-body .back-link { display: inline-flex !important; align-items: center !important; gap: 8px !important; }
html body.redesign-body .back-link::before { display: none !important; content: none !important; }
html body.redesign-body .back-link .ui-action-icon { width: 20px; height: 20px; }
html body.redesign-body .note-like .ui-action-icon, html body.redesign-body .note-comment-count .ui-action-icon { width: 16px; height: 16px; flex-basis: 16px; }
html body.redesign-body .is-liked .ui-icon-heart { fill: currentColor; }
html body.redesign-body .dialog-close, html body.redesign-body .alert-close, html body.redesign-body .icon-danger { display: inline-flex; align-items: center; justify-content: center; }
html body.redesign-body .post-linked-survey .ui-icon-next { margin-left: 4px; }

/* Neutral theme and aligned search/account controls. */
html body.redesign-body { --ui-primary: #181818; --ui-primary-dark: #000; --ui-primary-soft: #f1f1f1; --v6-red: #181818; --ui-canvas: #f7f7f7; }
html body.redesign-body .site-header .header-account { align-items: center !important; gap: 10px !important; }
html body.redesign-body .site-header .header-account .header-action { display: inline-flex !important; align-items: center; justify-content: center; min-height: 38px; padding: 8px 14px; margin: 0; border: 1px solid #dedede; border-radius: 10px; background: #fff; color: #242424 !important; font: inherit; font-size: 13px; line-height: 20px; font-weight: 600; white-space: nowrap; cursor: pointer; text-decoration: none; }
html body.redesign-body .site-header .header-account .header-action-manage { background: #181818 !important; border-color: #181818 !important; color: #fff !important; }
html body.redesign-body .site-header .header-account .header-action:hover { background: #ededed; border-color: #aaa; }
html body.redesign-body .site-header .header-account .header-action-manage:hover { background: #383838 !important; }
html body.redesign-body .site-header .points-pill { border: 1px solid #e6e6e6 !important; color: #555 !important; background: #f6f6f6 !important; padding: 8px 11px !important; border-radius: 10px !important; }
html body.redesign-body .site-header .points-pill strong { color: #181818 !important; }
html body.redesign-body .site-header .account-name { max-width: 112px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .global-search { width: 100% !important; max-width: 620px !important; min-width: 0 !important; height: 44px !important; border: 1px solid #e5e5e5 !important; border-radius: 12px !important; background: #f7f7f7 !important; margin: 0 !important; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .global-search:focus-within { border-color: #777 !important; box-shadow: 0 0 0 3px #00000008; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .global-search input { min-width: 0 !important; font-size: 14px !important; }
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .global-search button { min-height: 34px !important; padding: 6px 17px !important; border-radius: 8px !important; background: #181818 !important; color: #fff !important; }
@media (min-width: 821px) {
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner { grid-template-columns: 204px minmax(180px, 1fr) auto !important; gap: 24px !important; min-height: 80px !important; height: auto !important; padding-top: 14px !important; padding-bottom: 14px !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner > .header-account { grid-column: 3 !important; grid-row: 1 !important; }
}
@media (min-width: 821px) and (max-width: 1100px) {
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner { grid-template-columns: 182px minmax(150px, 1fr) auto !important; gap: 14px !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .account-name { display: none !important; }
}
@media (max-width: 820px) {
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner { grid-template-columns: minmax(0, 1fr) auto !important; grid-template-rows: auto auto auto !important; height: auto !important; min-height: 0 !important; gap: 10px !important; padding: 12px 14px !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner > .mobile-survey-entry { grid-column: 2 !important; grid-row: 1 !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner > .header-account { grid-column: 1 / -1 !important; grid-row: 2 !important; justify-content: flex-end !important; width: 100% !important; gap: 8px !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner > .global-search { grid-column: 1 / -1 !important; grid-row: 3 !important; max-width: none !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-account .points-pill { display: inline-flex !important; margin-right: auto; }
}

/* Note detail: edge-to-edge photography, plain reading layout for text. */
html body.redesign-body .note-viewer-shell { width: 100%; max-width: 1280px; }
html body.redesign-body .note-viewer-toolbar { margin-bottom: 18px; }
html body.redesign-body .note-viewer-frame { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, 1fr); min-height: 0; border: 1px solid #e8e8e8; border-radius: 18px; background: #fff; overflow: hidden; align-items: stretch; }
html body.redesign-body .note-media-stage { display: block; position: relative; min-width: 0; min-height: 620px; max-height: none; background: #f2f2f2; overflow: hidden; }
html body.redesign-body .note-media-stage > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; }
html body.redesign-body .note-reading-panel { display: flex; min-width: 0; max-height: none; width: 100%; flex-direction: column; }
html body.redesign-body .note-reading-panel .post-detail { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 30px !important; background: transparent !important; }
html body.redesign-body .note-author-row { display: flex; align-items: center; gap: 12px; }
html body.redesign-body .note-author-row .circle-avatar { width: 42px; height: 42px; background: #f2f2f2; color: #333; }
html body.redesign-body .note-author-row small { display: block; margin-top: 4px; color: #888; font-size: 12px; }
html body.redesign-body .note-reading-panel .post-detail h1 { margin: 24px 0 14px !important; font-size: 25px !important; line-height: 1.45; overflow-wrap: anywhere; }
html body.redesign-body .note-reading-panel .post-detail-body { max-height: none; overflow: visible; color: #444; font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
html body.redesign-body .note-reading-panel .post-detail-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 24px; padding-top: 18px; border-top: 1px solid #eee; }
html body.redesign-body .note-primary-actions { display: flex; flex-wrap: wrap; gap: 8px; }
html body.redesign-body .note-action-button { min-height: 38px; padding: 8px 12px; border-radius: 9px; }
html body.redesign-body .note-reading-panel .community-comments { width: 100%; padding: 24px 30px 30px !important; overflow: visible; background: transparent; }
html body.redesign-body .note-reading-panel .comment-form { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
html body.redesign-body .note-reading-panel .comment-form textarea { min-height: 94px; width: 100%; border: 1px solid #e5e5e5; border-radius: 12px; background: #fafafa; padding: 12px 14px; font-size: 14px; resize: vertical; }
html body.redesign-body .note-reading-panel .comment-form > .button { justify-self: end; min-height: 38px; padding: 8px 20px; border-radius: 9px; background: #181818 !important; color: #fff !important; }
html body.redesign-body .note-reading-panel .comment-list { overflow: visible; }
html body.redesign-body .comment-empty { padding: 32px 0; color: #888; text-align: center; }
html body.redesign-body .comment-empty strong { color: #666; font-size: 14px; font-weight: 500; }
html body.redesign-body .note-viewer-frame.is-text-note { display: block; max-width: 900px; margin: 0 auto; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
html body.redesign-body .is-text-note .note-reading-panel .post-detail { padding: 20px 0 32px !important; }
html body.redesign-body .is-text-note .note-reading-panel .community-comments { padding: 26px 0 !important; }
html body.redesign-body .is-text-note .post-detail h1 { font-size: 32px !important; }
html body.redesign-body .is-text-note .post-detail-body { font-size: 16px; line-height: 2; }
@media (max-width: 1100px) {
 html body.redesign-body .note-viewer-frame { grid-template-columns: minmax(0,1fr) minmax(300px,1fr); }
 html body.redesign-body .note-reading-panel .post-detail, html body.redesign-body .note-reading-panel .community-comments { padding: 22px !important; }
}
@media (max-width: 820px) {
 html body.redesign-body .note-viewer-frame { display: block; border-radius: 14px; }
 html body.redesign-body .note-media-stage { min-height: 0; aspect-ratio: 4 / 3; max-height: none; }
 html body.redesign-body .note-reading-panel .post-detail, html body.redesign-body .note-reading-panel .community-comments { padding: 20px !important; }
 html body.redesign-body .note-reading-panel .post-detail h1 { font-size: 23px !important; }
 html body.redesign-body .is-text-note .post-detail h1 { font-size: 27px !important; }
}

/* Keep the header's flow height equal to its contents; clear legacy grid rows. */
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail { height: auto !important; min-height: 0 !important; overflow: visible !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: #fff !important; }
@media (min-width: 821px) {
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner { box-sizing: border-box !important; height: 80px !important; min-height: 80px !important; grid-template-rows: minmax(0, 1fr) !important; padding-top: 0 !important; padding-bottom: 0 !important; align-items: center !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner > .main-nav { top: 104px !important; max-height: calc(100dvh - 128px) !important; }
}
@media (max-width: 820px) {
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner { box-sizing: border-box !important; height: auto !important; min-height: 0 !important; grid-template-rows: auto auto auto !important; }
}

/* Legible Chinese typography; use platform UI fonts without external downloads. */
html body.redesign-body { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif !important; font-size: 15px !important; font-weight: 400; line-height: 1.75; letter-spacing: 0 !important; --ink: #242424; --ui-ink: #242424; --muted: #666; --ui-muted: #666; }
html body.redesign-body button, html body.redesign-body input, html body.redesign-body textarea, html body.redesign-body select { font-family: inherit !important; }
html body.redesign-body h1, html body.redesign-body h2, html body.redesign-body h3 { letter-spacing: 0 !important; font-weight: 700 !important; }
html body.redesign-body .discovery-card-body h2 { font-size: 15px !important; line-height: 1.65 !important; }
html body.redesign-body .discovery-author, html body.redesign-body .discovery-author-name, html body.redesign-body .note-card-actions { font-size: 12px !important; color: #666 !important; }
html body.redesign-body .note-like, html body.redesign-body .note-comment-count { font-size: 12px !important; }
html body.redesign-body .feed-intro p, html body.redesign-body .page-heading > p:last-child { color: #666 !important; font-size: 14px !important; }
html body.redesign-body .post-detail-body, html body.redesign-body .comment-content > p { font-size: 16px !important; line-height: 1.9 !important; color: #333 !important; }
html body.redesign-body .note-author-row small, html body.redesign-body .comment-head > span, html body.redesign-body .site-footer { color: #666 !important; font-size: 12px !important; }
html body.redesign-body input::placeholder, html body.redesign-body textarea::placeholder { color: #707070 !important; opacity: 1; }
html body.redesign-body table { font-size: 14px !important; line-height: 1.7; }
html body.redesign-body th { font-weight: 600 !important; color: #444 !important; }
html body.redesign-body .admin-nav-group p { color: #666 !important; font-size: 12px !important; }
html body.redesign-body .note-action-button, html body.redesign-body .table-link { font-size: 14px !important; }
@media (max-width: 820px) {
 html body.redesign-body .discovery-card-body h2 { font-size: 14px !important; }
 html body.redesign-body input, html body.redesign-body textarea, html body.redesign-body select { font-size: 16px !important; }
}

/* Account workspace: explicit surfaces, spacing and readable balance. */
html body.redesign-body .account-summary { display: grid !important; grid-template-columns: minmax(0,1fr) 220px !important; align-items: center !important; gap: 28px !important; padding: 30px 32px !important; margin-bottom: 24px !important; border: 1px solid #e5e5e5 !important; border-radius: 18px !important; background: #fff !important; box-shadow: 0 4px 20px #00000003 !important; }
html body.redesign-body .account-summary > div { min-width: 0; }
html body.redesign-body .account-summary h1 { color: #202020 !important; font-size: 28px !important; line-height: 1.45; margin: 6px 0 10px !important; overflow-wrap: anywhere; }
html body.redesign-body .account-summary p { color: #666 !important; margin: 0 !important; overflow-wrap: anywhere; }
html body.redesign-body .account-summary .eyebrow { color: #666 !important; font-size: 12px !important; letter-spacing: .1em !important; }
html body.redesign-body .account-summary .balance { display: flex !important; width: 100% !important; min-width: 0 !important; padding: 20px 24px !important; border: 0 !important; border-radius: 14px !important; background: #181818 !important; align-items: flex-start !important; flex-direction: column !important; gap: 8px !important; }
html body.redesign-body .account-summary .balance span { color: #ddd !important; font-size: 13px !important; }
html body.redesign-body .account-summary .balance strong { display: block !important; color: #fff !important; font-size: 36px !important; line-height: 1.2 !important; font-weight: 700 !important; overflow-wrap: anywhere; }
html body.redesign-body .account-summary .balance a { display: inline-flex; padding: 7px 12px; margin-top: 4px; border: 1px solid #666; border-radius: 8px; color: #fff !important; font-size: 13px; }
html body.redesign-body .account-workbench { display: grid !important; grid-template-columns: 200px minmax(0,1fr) !important; align-items: start !important; gap: 24px !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
html body.redesign-body .account-nav { display: flex !important; flex-direction: column !important; gap: 6px !important; width: 100% !important; padding: 10px !important; margin: 0 !important; border: 1px solid #e5e5e5 !important; border-radius: 14px !important; background: #fff !important; }
html body.redesign-body .account-nav a { display: flex !important; justify-content: space-between !important; align-items: center !important; gap: 12px !important; min-height: 46px !important; padding: 11px 12px !important; border: 0 !important; border-radius: 9px !important; color: #444 !important; background: transparent !important; font-size: 14px !important; box-shadow: none !important; }
html body.redesign-body .account-nav a:hover { background: #f5f5f5 !important; }
html body.redesign-body .account-nav a.active { background: #181818 !important; color: #fff !important; }
html body.redesign-body .account-nav a small { min-width: 24px; padding: 2px 6px; border-radius: 6px; background: #f0f0f0 !important; color: #444 !important; font-size: 12px !important; text-align: center; }
html body.redesign-body .account-nav a.active small { background: #fff !important; color: #181818 !important; }
html body.redesign-body .account-section { min-width: 0; padding: 26px !important; border: 1px solid #e5e5e5 !important; border-radius: 16px !important; background: #fff !important; }
html body.redesign-body .account-section .section-title { margin: 0 0 20px !important; padding: 0 0 18px !important; gap: 12px; border-bottom: 1px solid #eee; }
html body.redesign-body .account-section .section-title h2 { margin: 0; font-size: 21px; }
html body.redesign-body .account-section .section-title .eyebrow { display: none; }
html body.redesign-body .account-section .section-title > a { padding: 8px 12px; border: 1px solid #ddd; border-radius: 9px; font-size: 13px; white-space: nowrap; }
html body.redesign-body .account-notes-block { margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
html body.redesign-body .account-post-list > a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 !important; }
html body.redesign-body .account-post-list > a > span:first-child { min-width: 0; }
html body.redesign-body .account-post-list strong { display: block; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
html body.redesign-body .account-post-list small { display: block; margin-top: 6px; color: #666 !important; font-size: 12px; }
html body.redesign-body .account-post-list .status { flex-shrink: 0; }
@media (max-width: 1100px) {
 html body.redesign-body .account-workbench { grid-template-columns: minmax(0,1fr) !important; gap: 16px !important; }
 html body.redesign-body .account-nav { flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto !important; }
 html body.redesign-body .account-nav a { flex: 0 0 auto; }
}
@media (max-width: 600px) {
 html body.redesign-body .account-summary { grid-template-columns: minmax(0,1fr) !important; padding: 22px !important; gap: 20px !important; }
 html body.redesign-body .account-summary h1 { font-size: 23px !important; }
 html body.redesign-body .account-summary .balance { padding: 18px 20px !important; }
 html body.redesign-body .account-section { padding: 18px !important; }
 html body.redesign-body .account-section .section-title { flex-wrap: wrap; }
}

/* Mobile-only survey shortcut, immediately before Publish in DOM order. */
@media (min-width: 821px) {
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner > .main-nav > a.nav-mobile-surveys { display: none !important; }
}
@media (max-width: 820px) {
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner > .main-nav > a.nav-mobile-surveys { display: flex !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner > .main-nav > a { min-width: 0 !important; flex: 1 1 0 !important; }
}

/* Action controls retain their size and position when hovered or focused. */
html body.redesign-body :is(button, .button, .back-link, .header-action, .feed-publish-action, .note-action-button, .note-like, .table-link) { transition-property: color, background-color, border-color !important; }
html body.redesign-body :is(button, .button, .back-link, .header-action, .feed-publish-action, .note-action-button, .note-like, .table-link):is(:hover, :focus-visible, :active) { transform: none !important; scale: none !important; translate: none !important; box-shadow: none !important; }

/* Compact mobile header: brand/account row, then full-width search. */
@media (max-width: 820px) {
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner { grid-template-columns: minmax(0,1fr) auto !important; grid-template-rows: auto auto !important; padding: 12px 14px !important; gap: 12px 10px !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner > .brand { grid-column: 1 !important; grid-row: 1 !important; min-width: 0 !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .brand > span:last-child { font-size: 13px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .brand-mark { width: 32px !important; height: 32px !important; flex-basis: 32px !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner > .mobile-survey-entry { display: none !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner > .header-account { grid-column: 2 !important; grid-row: 1 !important; width: auto !important; min-width: 0 !important; gap: 6px !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-account .points-pill { display: none !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-account .header-action { min-height: 34px !important; padding: 6px 10px !important; border-radius: 8px !important; font-size: 12px !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .public-app-rail .header-inner > .global-search { grid-column: 1 / -1 !important; grid-row: 2 !important; height: 40px !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .global-search input { font-size: 14px !important; }
 html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .global-search button { min-height: 30px !important; padding: 4px 14px !important; font-size: 12px !important; }
}

html body.redesign-body.admin-page-body .admin-menu-toggle { display: none; }
@media (max-width: 900px) {
 html body.redesign-body.admin-page-body .admin-global-header .header-inner { display: grid !important; grid-template-columns: minmax(0,1fr) auto auto !important; grid-template-rows: auto !important; gap: 8px !important; padding: 12px 16px !important; }
 html body.redesign-body.admin-page-body .admin-global-header .brand { grid-column: 1 !important; min-width: 0 !important; }
 html body.redesign-body.admin-page-body .admin-global-header .brand > span:last-child { display: none !important; }
 html body.redesign-body.admin-page-body .admin-global-header .main-nav { position: static !important; grid-column: 2 !important; grid-row: 1 !important; margin: 0 !important; padding: 0 !important; width: auto !important; height: auto !important; min-height: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
 html body.redesign-body.admin-page-body .admin-global-header .header-account { position: static !important; grid-column: 3 !important; grid-row: 1 !important; width: auto !important; min-width: 0 !important; margin: 0 !important; }
 html body.redesign-body.admin-page-body .admin-global-header .points-pill { display: none !important; }
 html body.redesign-body.admin-page-body .admin-global-header .main-nav a, html body.redesign-body.admin-page-body .header-action { min-height: 38px !important; padding: 8px 12px !important; font-size: 13px !important; white-space: nowrap; }
 html body.redesign-body.admin-page-body .admin-sidebar { padding: 16px !important; }
 html body.redesign-body.admin-page-body .admin-sidebar-head { margin-bottom: 12px !important; }
 html body.redesign-body.admin-page-body .has-mobile-menu .admin-menu-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #e4e4e4; border-radius: 10px; background: #f6f6f6; color: #222; font-size: 14px; font-weight: 600; text-align: left; }
 html body.redesign-body.admin-page-body .admin-menu-label { margin-left: auto; color: #666; font-size: 12px; font-weight: 400; }
 html body.redesign-body.admin-page-body .has-mobile-menu .admin-menu-toggle[aria-expanded="false"] + .admin-sidebar-nav { display: none !important; }
 html body.redesign-body.admin-page-body .admin-sidebar-nav { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 18px 10px !important; padding: 16px 0 0 !important; overflow: visible !important; }
 html body.redesign-body.admin-page-body .admin-nav-group { min-width: 0 !important; gap: 4px !important; }
 html body.redesign-body.admin-page-body .admin-nav-group a { padding: 10px !important; gap: 8px !important; font-size: 13px !important; }
}

/* Historical official-review backfill queue. */
.official-backfill-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;margin:0 0 22px;padding:24px;border:1px solid #dedede;border-radius:16px;background:#fff}.official-backfill-panel h2{margin:4px 0 8px;font-size:20px}.official-backfill-panel p{margin:0;color:#666;line-height:1.7}.official-backfill-actions{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:10px}.official-backfill-actions>strong{color:#555;font-size:13px}.official-backfill-progress{grid-column:1/-1;padding-top:18px;border-top:1px solid #ececec}.official-backfill-progress-head,.official-backfill-stats{display:flex;align-items:center;justify-content:space-between;gap:12px}.official-backfill-progress progress{width:100%;height:10px;margin:12px 0;accent-color:#191919}.official-backfill-stats{justify-content:flex-start;flex-wrap:wrap;color:#666;font-size:13px}.official-backfill-stats span{padding:6px 10px;border-radius:8px;background:#f4f4f4}.official-backfill-stats b{color:#111}@media(max-width:720px){.official-backfill-panel{grid-template-columns:1fr;padding:18px}.official-backfill-actions{align-items:stretch}.official-backfill-actions .button{width:100%}.official-backfill-progress{grid-column:1}.official-backfill-progress-head{align-items:flex-start}}

/* Mobile admin: labels participate in normal flow instead of overlapping values. */
@media (max-width: 900px) {
 html body.redesign-body.admin-page-body .admin-page-shell .table-wrap table,
 html body.redesign-body.admin-page-body .admin-page-shell .table-wrap tbody,
 html body.redesign-body.admin-page-body .admin-page-shell .table-wrap tr { display: block !important; width: 100% !important; min-width: 0 !important; }
 html body.redesign-body.admin-page-body .admin-page-shell .table-wrap thead { display: none !important; }
 html body.redesign-body.admin-page-body .admin-page-shell .table-wrap tr { margin-bottom: 14px !important; border: 1px solid #e5e5e5; border-radius: 12px; overflow: hidden; }
 html body.redesign-body.admin-page-body .admin-page-shell .table-wrap td { display: block !important; position: static !important; width: 100% !important; min-width: 0 !important; max-width: none !important; padding: 12px 16px !important; text-align: left !important; white-space: normal !important; overflow-wrap: anywhere; }
 html body.redesign-body.admin-page-body .admin-page-shell .table-wrap td::before { display: block !important; position: static !important; inset: auto !important; width: auto !important; margin: 0 0 6px !important; padding: 0 !important; content: attr(data-label); color: #666 !important; font-size: 12px !important; font-weight: 400 !important; line-height: 1.5 !important; transform: none !important; }
 html body.redesign-body.admin-page-body .admin-page-shell .table-wrap td:not([data-label])::before { display: none !important; }
 html body.redesign-body.admin-page-body .admin-global-header .header-inner { align-items: center !important; }
 html body.redesign-body.admin-page-body .admin-global-header .header-inner > .main-nav,
 html body.redesign-body.admin-page-body .admin-global-header .header-inner > .header-account { position: static !important; inset: auto !important; transform: none !important; align-self: center !important; padding: 0 !important; margin: 0 !important; height: auto !important; min-height: 0 !important; }
 html body.redesign-body.admin-page-body .admin-global-header .header-account .inline-form { display: flex !important; align-items: center !important; position: static !important; margin: 0 !important; padding: 0 !important; }
 html body.redesign-body.admin-page-body .admin-global-header .header-action,
 html body.redesign-body.admin-page-body .admin-global-header .main-nav > a { display: inline-flex !important; position: static !important; inset: auto !important; transform: none !important; align-items: center !important; justify-content: center !important; box-sizing: border-box !important; height: 40px !important; min-height: 40px !important; margin: 0 !important; padding: 8px 12px !important; line-height: 22px !important; border: 1px solid #e5e5e5 !important; border-radius: 9px !important; }
}

@media (max-width: 900px) {
 html body.redesign-body.admin-page-body .admin-global-header .header-inner { display: flex !important; flex-wrap: nowrap !important; gap: 10px !important; }
 html body.redesign-body.admin-page-body .admin-global-header .header-inner > .brand { flex: 1 1 auto !important; min-width: 0 !important; }
 html body.redesign-body.admin-page-body .admin-global-header .header-inner > .main-nav,
 html body.redesign-body.admin-page-body .admin-global-header .header-inner > .header-account { display: flex !important; flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
}


/* Note detail refinement: focused reading rhythm and compact discussion area. */
html body.redesign-body .note-viewer-shell {
    max-width: 1180px;
    margin-inline: auto;
}
html body.redesign-body .note-viewer-toolbar {
    display: flex;
    max-width: 980px;
    min-height: 42px;
    margin: 0 auto 20px;
    align-items: center;
    justify-content: space-between;
}
html body.redesign-body .note-viewer-toolbar .back-link {
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    background: #fff;
    color: #444;
    font-weight: 600;
}
html body.redesign-body .note-viewer-toolbar > span {
    color: #777;
    font-size: 13px;
}
html body.redesign-body .note-viewer-frame.is-text-note {
    max-width: 980px;
}
html body.redesign-body .is-text-note .note-reading-panel {
    display: block;
}
html body.redesign-body .is-text-note .note-reading-panel .post-detail {
    padding: 34px 42px 32px !important;
    border: 1px solid #e9e9e9 !important;
    border-radius: 18px !important;
    background: #fff !important;
}
html body.redesign-body .is-text-note .note-author-row {
    gap: 13px;
}
html body.redesign-body .is-text-note .note-author-row .circle-avatar {
    width: 44px;
    height: 44px;
    border: 1px solid #e8e8e8;
    background: #f5f5f5;
    font-size: 17px;
    font-weight: 700;
}
html body.redesign-body .is-text-note .note-author-row strong {
    display: block;
    color: #222;
    font-size: 15px;
}
html body.redesign-body .is-text-note .post-detail h1 {
    max-width: 780px;
    margin: 30px 0 18px !important;
    color: #181818 !important;
    font-size: clamp(28px, 3vw, 38px) !important;
    line-height: 1.32 !important;
}
html body.redesign-body .is-text-note .post-detail-body {
    min-height: 0 !important;
    max-width: 780px;
    color: #383838 !important;
    font-size: 17px !important;
    line-height: 1.95 !important;
}
html body.redesign-body .is-text-note .post-detail-actions {
    margin-top: 34px;
    padding-top: 18px;
}
html body.redesign-body .is-text-note .note-action-button {
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #dedede;
    border-radius: 10px;
    background: #fff;
    color: #333;
    font-weight: 600;
}
html body.redesign-body .is-text-note .note-action-button:hover {
    border-color: #aaa;
    background: #f7f7f7;
}
html body.redesign-body .is-text-note .note-action-button.is-liked {
    border-color: #222;
    background: #222;
    color: #fff;
}
html body.redesign-body .is-text-note .note-reading-panel .community-comments {
    margin-top: 20px;
    padding: 28px 42px 34px !important;
    border: 1px solid #e9e9e9 !important;
    border-radius: 18px !important;
    background: #fff !important;
}
html body.redesign-body .is-text-note .community-section-head {
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ededed;
}
html body.redesign-body .is-text-note .community-section-head h2 {
    margin: 0;
    font-size: 18px;
}
html body.redesign-body .is-text-note .community-section-head h2 span {
    color: #888;
    font-size: 13px;
    font-weight: 500;
}
html body.redesign-body .is-text-note .comment-form {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0;
    align-items: end;
}
html body.redesign-body .is-text-note .comment-form textarea {
    min-height: 108px;
    border-radius: 12px;
    background: #fafafa;
}
html body.redesign-body .is-text-note .comment-form > .button {
    min-width: 76px;
    min-height: 42px;
}
html body.redesign-body .is-text-note .comment-empty {
    padding: 28px 0 8px;
}
html body.redesign-body .is-text-note .comment-empty p {
    margin: 6px 0 0;
}
@media (max-width: 820px) {
    html body.redesign-body .note-viewer-toolbar {
        margin-bottom: 14px;
    }
    html body.redesign-body .note-viewer-toolbar > span {
        display: none;
    }
    html body.redesign-body .is-text-note .note-reading-panel .post-detail,
    html body.redesign-body .is-text-note .note-reading-panel .community-comments {
        padding: 22px 18px !important;
        border-radius: 14px !important;
    }
    html body.redesign-body .is-text-note .post-detail h1 {
        margin-top: 24px !important;
        font-size: 27px !important;
    }
    html body.redesign-body .is-text-note .post-detail-body {
        font-size: 16px !important;
    }
    html body.redesign-body .is-text-note .post-detail-actions {
        align-items: center;
        flex-direction: row;
    }
    html body.redesign-body .is-text-note .comment-form {
        grid-template-columns: 1fr;
    }
    html body.redesign-body .is-text-note .comment-form > .button {
        width: 100%;
    }
}


/* Detail spacing and store balance polish. */
html body.redesign-body .is-text-note .note-reading-panel .community-comments {
    margin-top: 32px !important;
}
html body.redesign-body .heading-with-action .heading-balance {
    display: flex;
    min-width: 168px;
    min-height: 76px;
    padding: 14px 18px !important;
    border: 1px solid #e2e2e2 !important;
    border-left: 1px solid #e2e2e2 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .045) !important;
    text-align: left;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
html body.redesign-body .heading-with-action .heading-balance span {
    color: #666 !important;
    font-size: 13px !important;
    white-space: nowrap;
}
html body.redesign-body .heading-with-action .heading-balance strong {
    color: #181818 !important;
    font-size: 30px !important;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
@media (max-width: 820px) {
    html body.redesign-body .is-text-note .note-reading-panel .community-comments {
        margin-top: 20px !important;
    }
    html body.redesign-body .heading-with-action .heading-balance {
        width: 100%;
        min-width: 0;
        min-height: 64px;
        padding: 12px 15px !important;
    }
    html body.redesign-body .heading-with-action .heading-balance strong {
        font-size: 26px !important;
    }
}


/* User avatars and refined note actions. */
html body.redesign-body .circle-avatar,
html body.redesign-body .mini-avatar,
html body.redesign-body .standalone-avatar,
html body.redesign-body .header-user-avatar,
html body.redesign-body .account-avatar-preview,
html body.redesign-body .user-admin-avatar {
    overflow: hidden;
}
html body.redesign-body .circle-avatar > img,
html body.redesign-body .mini-avatar > img,
html body.redesign-body .standalone-avatar > img,
html body.redesign-body .header-user-avatar > img,
html body.redesign-body .account-avatar-preview > img,
html body.redesign-body .user-admin-avatar > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
html body.redesign-body .header-user-link {
    display: inline-flex;
    min-width: 0;
    color: inherit;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
html body.redesign-body .header-user-avatar {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid #e3e3e3;
    border-radius: 50%;
    background: #f3f3f3;
    place-items: center;
    font-size: 13px;
    font-weight: 700;
}
html body.redesign-body .avatar-upload {
    display: flex;
    padding: 18px;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    background: #fafafa;
    align-items: center;
    gap: 18px;
}
html body.redesign-body .account-avatar-preview {
    display: grid;
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    border: 1px solid #dedede;
    border-radius: 50%;
    background: #fff;
    place-items: center;
    font-size: 28px;
    font-weight: 700;
}
html body.redesign-body .avatar-upload > div {
    display: grid;
    min-width: 0;
    gap: 7px;
}
html body.redesign-body .avatar-upload label {
    margin: 0;
}
html body.redesign-body .avatar-upload input[type="file"] {
    margin-top: 7px;
}
html body.redesign-body .avatar-remove {
    display: inline-flex;
    color: #666;
    align-items: center;
    gap: 7px;
    font-size: 13px;
}
html body.redesign-body .user-admin-avatar {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    background: #f1f1f1;
    place-items: center;
    font-weight: 700;
}
html body.redesign-body .note-primary-actions {
    gap: 10px;
}
html body.redesign-body .note-primary-actions form {
    display: flex;
    margin: 0;
}
html body.redesign-body .note-action-button {
    display: inline-flex;
    min-height: 42px !important;
    padding: 9px 15px !important;
    border: 1px solid #dedede !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #333 !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
    transform: none !important;
}
html body.redesign-body .note-action-button .ui-action-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}
html body.redesign-body .note-action-button:hover {
    border-color: #aaa !important;
    background: #f6f6f6 !important;
    box-shadow: 0 5px 14px rgba(0,0,0,.06);
    transform: none !important;
}
html body.redesign-body .note-action-button.is-liked {
    border-color: #181818 !important;
    background: #181818 !important;
    color: #fff !important;
}
html body.redesign-body .note-action-button.is-liked:hover {
    border-color: #333 !important;
    background: #333 !important;
}
@media (max-width: 820px) {
    html body.redesign-body .header-user-avatar {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }
    html body.redesign-body .avatar-upload {
        align-items: flex-start;
        flex-direction: column;
    }
    html body.redesign-body .account-avatar-preview {
        width: 72px;
        height: 72px;
        flex-basis: 72px;
    }
    html body.redesign-body .note-action-button {
        min-height: 40px !important;
        padding: 8px 12px !important;
    }
}

/* Masonry discovery feed refinement */
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .xhs-feed-shell{width:100%!important;max-width:none!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-channel-bar{min-height:52px!important;padding:4px 0!important;border:0!important;border-bottom:1px solid #eee!important;border-radius:0!important;background:transparent!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-channel-bar .social-topic-tabs{gap:3px!important;padding:2px 0!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-channel-bar .social-topic-tabs a{min-height:36px!important;padding:7px 14px!important;border:0!important;border-radius:18px!important;color:#3f3f3f!important;background:transparent!important;font-size:14px!important;font-weight:500!important;gap:0!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-channel-bar .social-topic-tabs a:hover,html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-channel-bar .social-topic-tabs a.active{color:#171717!important;background:#f3f3f3!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-channel-bar .topic-icon{display:none!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-grid{display:block!important;width:100%!important;max-width:none!important;padding-top:20px!important;columns:5!important;column-gap:18px!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-card{display:inline-block!important;width:100%!important;margin:0 0 24px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;break-inside:avoid;page-break-inside:avoid;vertical-align:top;transition:none!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-card:hover{border:0!important;box-shadow:none!important;transform:none!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-cover{display:block!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;border:1px solid #ededed!important;border-radius:13px!important;background:#f5f5f5!important;overflow:hidden!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-cover img{position:static!important;display:block!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;transition:opacity .2s ease!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-cover:hover img{opacity:.94;transform:none!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-cover-text{position:relative!important;display:flex!important;min-height:238px!important;padding:28px 24px!important;aspect-ratio:4/5!important;align-items:center!important;background:#f0edfb!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-card:nth-child(4n + 2) .discovery-cover-text{background:#fcedf2!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-card:nth-child(4n + 3) .discovery-cover-text{background:#edf6f2!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-card:nth-child(4n) .discovery-cover-text{background:#eef4f8!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-cover-text:before{position:absolute;top:18px;left:20px;color:rgba(30,30,30,.12);font-family:Georgia,serif;font-size:52px;font-weight:700;line-height:1;content:"\201C"}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-cover-text span{position:relative;z-index:1;display:-webkit-box!important;max-height:none!important;color:#424242!important;font-size:19px!important;font-weight:700!important;line-height:1.55!important;overflow:hidden!important;-webkit-box-orient:vertical;-webkit-line-clamp:5}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-card-body{padding:10px 5px 0!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-card-body h2{min-height:0!important;margin:0 0 9px!important;color:#292929!important;font-size:14px!important;font-weight:500!important;line-height:1.45!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-card-body h2 a{display:-webkit-box;color:inherit!important;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-author{min-width:0;align-items:center!important;gap:8px!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-author-name{min-width:0;flex:1 1 auto;gap:6px!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-author-name>span:last-child{min-width:0;color:#777!important;font-size:12px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-author .mini-avatar{width:24px!important;height:24px!important;flex:0 0 24px!important;font-size:10px!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .note-card-actions{flex:0 0 auto;gap:7px!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .note-card-actions form{margin:0!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .note-card-actions .note-like,html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .note-card-actions .note-comment-count{min-width:0!important;min-height:26px!important;padding:2px 0!important;border:0!important;color:#777!important;background:transparent!important;box-shadow:none!important;font-size:12px!important;line-height:1!important;gap:3px!important;transform:none!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .note-card-actions .note-like:hover,html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .note-card-actions .note-comment-count:hover{color:#171717!important;background:transparent!important;transform:none!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .note-card-actions .note-like.is-liked{color:#171717!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .note-card-actions .ui-action-icon{width:16px!important;height:16px!important}
@media(max-width:1450px){html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-grid{columns:4!important}}
@media(max-width:1120px){html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-grid{columns:3!important;column-gap:14px!important}}
@media(max-width:820px){
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-channel-bar{margin-right:-14px!important;margin-left:-14px!important;padding:3px 14px!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .feed-channel-bar .social-topic-tabs a{min-height:34px!important;padding:6px 12px!important;font-size:13px!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-grid{columns:2!important;column-gap:10px!important;padding-top:14px!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-card{margin-bottom:17px!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-cover{border-radius:10px!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-cover-text{min-height:178px!important;padding:22px 16px!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-cover-text span{font-size:15px!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-card-body{padding:8px 2px 0!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .discovery-card-body h2{margin-bottom:7px!important;font-size:13px!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .note-card-actions{gap:5px!important}
html body.redesign-body:not(.admin-page-body):not(.standalone-survey-body):not(.maintenance-body) .note-card-actions .note-comment-count{display:none!important}
}
/* COS image storage status */
html body.redesign-body .storage-migration-panel{display:flex;margin-top:14px;padding:16px 18px;border:1px solid #e5e5e5;border-radius:12px;background:#fafafa;align-items:center;justify-content:space-between;gap:18px}
html body.redesign-body .storage-migration-panel>div{display:grid;gap:4px}
html body.redesign-body .storage-migration-panel small{display:block;color:#777;line-height:1.6}
html body.redesign-body .storage-migration-panel form{margin:0;flex:0 0 auto}
@media(max-width:700px){html body.redesign-body .storage-migration-panel{align-items:stretch;flex-direction:column}html body.redesign-body .storage-migration-panel .button{width:100%}}

/* Refined account avatar uploader */
html body.redesign-body .avatar-setting-card{display:grid!important;padding:22px!important;border:1px solid #e5e5e5!important;border-radius:16px!important;background:#fff!important;grid-template-columns:112px minmax(0,1fr)!important;align-items:stretch!important;gap:24px!important}
html body.redesign-body .avatar-setting-card .avatar-current{display:flex!important;min-width:0;padding:16px 12px;border:1px solid #ededed;border-radius:13px;background:#f7f7f7;align-items:center;justify-content:center;flex-direction:column;gap:10px!important}
html body.redesign-body .avatar-setting-card .account-avatar-preview{width:82px!important;height:82px!important;flex:0 0 82px!important;border:3px solid #fff!important;box-shadow:0 5px 16px rgba(0,0,0,.1)!important}
html body.redesign-body .avatar-current-badge{color:#777;font-size:12px;font-weight:600}
html body.redesign-body .avatar-setting-card .avatar-setting-content{display:grid!important;min-width:0;align-content:center;gap:13px!important}
html body.redesign-body .avatar-setting-heading{display:grid;gap:3px}
html body.redesign-body .avatar-setting-heading>strong{color:#181818;font-size:16px}
html body.redesign-body .avatar-setting-heading>small{color:#777;font-size:13px}
html body.redesign-body .avatar-file-picker{display:grid!important;min-height:76px!important;margin:0!important;padding:11px 13px!important;border:1px dashed #bdbdbd!important;border-radius:12px!important;background:#fafafa!important;grid-template-columns:48px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important}
html body.redesign-body .avatar-file-picker:hover{border-color:#181818!important;background:#f6f6f6!important}
html body.redesign-body .avatar-file-picker .image-file-picker-visual{width:48px;height:48px;border-radius:10px;color:#4c4c4c}
html body.redesign-body .avatar-file-picker .image-file-picker-copy strong{font-size:14px}
html body.redesign-body .avatar-file-picker .image-file-picker-copy small{font-size:12px}
html body.redesign-body .avatar-picker-action{display:inline-flex;min-height:34px;padding:7px 12px;border-radius:8px;color:#fff;background:#181818;align-items:center;justify-content:center;font-size:12px;font-weight:700;white-space:nowrap}
html body.redesign-body .avatar-setting-card .avatar-remove{display:flex!important;width:max-content!important;margin:0!important;padding:8px 10px!important;border-radius:9px!important;color:#555!important;background:#f7f7f7;align-items:flex-start!important;gap:9px!important}
html body.redesign-body .avatar-setting-card .avatar-remove input{width:16px;height:16px;margin:2px 0 0;flex:0 0 16px}
html body.redesign-body .avatar-setting-card .avatar-remove>span{display:grid;gap:1px}
html body.redesign-body .avatar-setting-card .avatar-remove strong{font-size:13px}
html body.redesign-body .avatar-setting-card .avatar-remove small{color:#888;font-size:11px;font-weight:400}
@media(max-width:700px){
 html body.redesign-body .avatar-setting-card{padding:15px!important;grid-template-columns:1fr!important;gap:15px!important}
 html body.redesign-body .avatar-setting-card .avatar-current{padding:14px;flex-direction:row;justify-content:flex-start}
 html body.redesign-body .avatar-setting-card .account-avatar-preview{width:68px!important;height:68px!important;flex-basis:68px!important}
 html body.redesign-body .avatar-file-picker{grid-template-columns:44px minmax(0,1fr)!important}
 html body.redesign-body .avatar-file-picker .image-file-picker-visual{width:44px;height:44px}
 html body.redesign-body .avatar-picker-action{display:none}
 html body.redesign-body .avatar-setting-card .avatar-remove{width:100%!important}
}
