@import url("document-content.css?v=20261030-note-font5-v1&media=20261030-video-v1");

/* Help center: shared by the public guide and its template entry. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body.help-guide-page {
    --guide-sidebar-width: max(247.5px, calc((100vw - 820px + 236.5px) / 2 - 55px));
    --guide-mobile-sidebar-width: 255px;
    --guide-outline-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Tahoma, "PingFang SC", "Microsoft Yahei", Arial, "Hiragino Sans GB", sans-serif;
    --guide-content-inset: 55px;
    --guide-header-height: 64px;
    --guide-anchor-offset: 88px;
    margin: 0;
    background: var(--guide-background);
    color: var(--guide-text);
    font-family: var(--guide-body-font);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.help-guide-page a { color: var(--guide-blue); text-decoration: none; text-underline-offset: 4px; }
.help-guide-page a:hover { color: var(--guide-blue-hover); }
.help-guide-page button { font: inherit; cursor: pointer; }
.help-guide-page button, .help-guide-page a { -webkit-tap-highlight-color: transparent; }
.help-guide-page :focus-visible { outline: 2px solid var(--guide-blue); outline-offset: 4px; }
.help-guide-page ::selection { background: #dce8ff; color: #163d80; }
.help-guide-page svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.guide-skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 6px; background: #fff; }
.guide-skip-link:focus { top: 10px; }

/* Keep the navigation at the viewport edge and the prose beside it. */
.help-guide-page .header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--guide-header-height);
    background: var(--guide-surface);
    border-bottom: 1px solid var(--guide-line);
}
.help-guide-page .header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    height: 100%;
    margin-inline: auto;
    padding-inline: 24px;
}
.guide-brand { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.help-guide-page .header .logo { display: block; width: 118px; height: 34px; background: url("logo.webp") no-repeat left center / auto 34px; text-indent: -9999px; overflow: hidden; }
.guide-brand-divider { height: 22px; width: 1px; background: var(--guide-line); }
.help-guide-page .guide-brand-title { color: var(--guide-heading); font-size: 15px; font-weight: 600; white-space: nowrap; }
.guide-primary-nav { display: flex; align-items: center; gap: 24px; height: 100%; }
.help-guide-page .guide-primary-nav > a { display: inline-flex; align-items: center; height: 100%; color: #475467; font-size: 13px; white-space: nowrap; position: relative; }
.help-guide-page .guide-primary-nav > a:hover,
.help-guide-page .guide-primary-nav > a.selected { color: var(--guide-blue); }
.guide-primary-nav > .selected::after { position: absolute; content: ""; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--guide-blue); }
.help-guide-page .guide-primary-nav > .btn-apply { height: 34px; padding: 0 14px; border-radius: 6px; background: var(--guide-blue); color: #fff; font-weight: 500; }
.help-guide-page .guide-primary-nav > .btn-apply:hover { background: var(--guide-blue-hover); color: #fff; }
.menu-toggle { display: none; }
.guide-mobile-bar { display: none; }

.help-guide-page .guide-layout {
    display: grid;
    grid-template-columns: var(--guide-sidebar-width) minmax(0, 1fr);
    align-items: start;
    width: 100%;
    margin: 0;
    background: var(--guide-surface);
}
.guide-sidebar {
    position: sticky;
    top: var(--guide-header-height);
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    height: calc(100vh - var(--guide-header-height));
    height: calc(100dvh - var(--guide-header-height));
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 54px 11px 20px 4px;
    background: #fff;
    color: #646a73;
    font-family: var(--guide-outline-font);
    overflow: hidden;
}
.guide-sidebar-toolbar { flex-shrink: 0; height: 40px; padding: 10px 0 6px 10px; }
.guide-sidebar-toggle { display: grid; place-items: center; width: 24px; height: 24px; padding: 3px; border: 0; border-radius: 4px; background: transparent; color: #646a73; }
.guide-sidebar-toggle:hover { color: #3370ff; }
.guide-sidebar-toggle svg { width: 18px; height: 18px; stroke-width: 1.5; }
.guide-sidebar-toggle[aria-expanded="true"] .guide-sidebar-expand-icon,
.guide-sidebar-toggle[aria-expanded="false"] .guide-sidebar-collapse-icon { display: none; }
.guide-sidebar .sidebar-menu {
    flex: 1;
    min-height: 0;
    margin: 0;
    padding: 0 0 50px;
    list-style: none;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: none;
}
.guide-sidebar .sidebar-menu::-webkit-scrollbar { display: none; }
.guide-outline { margin: 0; padding: 0; list-style: none; font-family: var(--guide-outline-font); }
.guide-sidebar [hidden], .guide-outline [hidden] { display: none; }
.guide-outline .menu-group { margin: 0; }
.guide-outline .group-items { list-style: none; margin: 0; padding: 0 0 0 14px; }
.guide-toc-row { position: relative; }
.help-guide-page .guide-outline .guide-toc-link {
    display: block;
    height: 22px;
    margin: 0 0 8px;
    padding: 0 0 0 16px;
    border-radius: 0;
    background: transparent;
    color: #646a73;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.guide-toc-label { display: inline; }
.help-guide-page .guide-outline .guide-toc-root > a { font-size: 15px; font-weight: 600; }
.help-guide-page .guide-outline .group-title { font-weight: 600; }
.help-guide-page .guide-outline .guide-toc-link:hover,
.guide-outline .guide-toc-row:hover { background: #f5f6f7; }
.help-guide-page .guide-outline .guide-toc-link:hover,
.help-guide-page .guide-outline .guide-toc-link.active { color: #1456f0; }
.guide-group-toggle { position: absolute; top: 0; left: 0; z-index: 1; display: grid; place-items: center; width: 16px; height: 22px; padding: 6px 3px; border: 0; border-radius: 0; background: transparent; color: #8f959e; }
.guide-group-toggle svg { width: 10px; height: 10px; fill: currentColor; stroke: none; opacity: .8; }
.guide-group-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.guide-toc-row:hover .guide-group-toggle svg,
.guide-toc-row:focus-within .guide-group-toggle svg,
.guide-group-toggle[aria-expanded="false"] svg { opacity: 1; }
.guide-sidebar :focus-visible, .guide-outline :focus-visible { outline-color: #1456f0; outline-offset: 1px; }

/* A continuous reading surface, with one consistent prose measure. */
.main-content {
    min-width: 0;
    min-height: calc(100vh - var(--guide-header-height));
    padding: 44px var(--guide-content-inset) 32px;
    background: var(--guide-surface);
    border-left: 0;
}
.main-content > * { max-width: var(--guide-reading-width); margin-inline: 0; }
.main-content[id], .main-content [id], #guide-top { scroll-margin-top: var(--guide-anchor-offset); }
.main-content:focus { outline: none; }
.content-header { padding-bottom: 30px; border-bottom: 1px solid var(--guide-line); }
.content-header > p { color: var(--guide-muted); line-height: 1.8; }
.content-header .guide-meta { margin-top: 14px; color: var(--guide-muted); font-size: 12px; line-height: 1.8; }
.guide-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 13px; line-height: 1.8; }
.guide-links a:hover { text-decoration: underline; }
.guide-faq-disclosure { border: 1px solid var(--guide-line); border-radius: 6px; background: var(--guide-surface); }
.guide-faq-disclosure > summary { display: block; min-height: 72px; padding: 20px 22px; border-radius: 5px; list-style: none; cursor: pointer; }
.guide-faq-disclosure > summary::-webkit-details-marker { display: none; }
.guide-faq-disclosure > summary:hover { background: #f8fafc; }
.faq-item .guide-faq-disclosure > summary h3 { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0; font-size: 18px; line-height: 1.65; }
.guide-faq-question { flex: 1; min-width: 0; }
.guide-faq-actions { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; color: var(--guide-blue); font-size: 12px; font-weight: 400; white-space: nowrap; }
.guide-faq-disclosure > summary svg { width: 18px; height: 18px; }
.guide-faq-close-label { display: none; }
.guide-faq-disclosure[open] > summary .guide-faq-open-label { display: none; }
.guide-faq-disclosure[open] > summary .guide-faq-close-label { display: inline; }
.guide-faq-disclosure[open] > summary svg { transform: rotate(180deg); }
.guide-faq-disclosure[open] > summary { border-bottom: 1px solid var(--guide-line); border-radius: 5px 5px 0 0; }
.guide-faq-answer { padding: 20px 22px 22px; }
.faq-item + .faq-item { margin-top: 12px; }
.guide-scroll-hint { display: none; }
.section-content .guide-scroll-hint.is-visible { display: block; margin: 8px 0 22px; color: var(--guide-muted); font-size: 12px; }
.guide-table-wrap.is-overflowing .rate-table tr > :first-child { position: sticky; left: 0; z-index: 1; background: #fafbfc; }
.guide-table-wrap.is-overflowing .rate-table thead tr > :first-child { z-index: 2; background: #f4f6f9; }
#payment-options .rate-table tr:first-child > th:nth-child(2) .guide-text-link,
#settlement .rate-table tr:first-child > th:nth-child(2) .guide-text-link,
#settlement > p .guide-text-link { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 4px; background: var(--guide-blue); color: #fff; font-size: 12px; line-height: 1.7; white-space: nowrap; vertical-align: middle; }
.contact-info { margin: 18px 0; overflow-wrap: anywhere; }
.guide-document-footer { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--guide-line); }
.guide-footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.guide-footer-nav a { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.guide-footer-nav a:last-child { justify-content: flex-end; text-align: right; }
.guide-footer-nav svg { width: 18px; height: 18px; }
.guide-footer-nav span { display: block; }
.guide-footer-label { color: var(--guide-muted); font-size: 12px; }
.guide-footer-title { font-size: 15px; font-weight: 500; }
.guide-bottom-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; color: var(--guide-muted); font-size: 12px; }
.guide-bottom-line a { display: inline-flex; align-items: center; gap: 5px; color: var(--guide-muted); }
.guide-bottom-line svg { width: 14px; height: 14px; }
.help-guide-page > .footer { margin: 0; width: 100%; padding: 18px var(--guide-content-inset) 22px calc(var(--guide-sidebar-width) + var(--guide-content-inset) + 1px); color: var(--guide-muted); text-align: center; font-size: 12px; }
.help-guide-page > .footer p { max-width: var(--guide-reading-width); }
.help-guide-page > .footer:empty { display: none; }

/* Local document search shares the help center's native dialog behavior. */
.help-guide-page .guide-search-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; width: 100%; padding: 9px 12px; border: 1px solid #d3dae5; border-radius: 6px; background: var(--guide-surface); color: #475467; text-align: left; font-size: 13px; line-height: 20px; }
.guide-search-trigger:hover { border-color: #a8bbdc; color: var(--guide-blue); background: #f9fbff; }
.guide-search-trigger kbd { flex-shrink: 0; color: var(--guide-muted); font: inherit; font-size: 11px; white-space: nowrap; }
.help-guide-page .guide-primary-nav .guide-header-search { width: auto; min-height: 32px; padding: 0; border: 0; border-radius: 0; background: transparent; gap: 8px; white-space: nowrap; }
.guide-primary-nav .guide-header-search:hover { color: var(--guide-blue); }
.guide-header-search kbd { font-size: 10px; }
.guide-search { width: min(640px, calc(100% - 40px)); max-height: min(720px, calc(100dvh - 80px)); margin: 10vh auto auto; padding: 0; border: 0; border-radius: 12px; background: var(--guide-surface); color: var(--guide-text); box-shadow: 0 18px 64px rgba(24, 34, 48, .2); overflow: hidden; }
.guide-search:not([open]) { display: none; }
.guide-search[open] { display: flex; flex-direction: column; }
.guide-search::backdrop { background: rgba(24, 34, 48, .38); }
.guide-search-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--guide-line); flex-shrink: 0; }
.guide-search-header h2 { color: var(--guide-heading); font-size: 17px; line-height: 1.5; font-weight: 600; }
.help-guide-page .guide-search-close { min-width: 44px; min-height: 44px; padding: 8px; border: 0; border-radius: 6px; background: transparent; color: var(--guide-muted); font-size: 13px; }
.guide-search-close:hover { background: var(--guide-background); color: var(--guide-heading); }
.guide-search-field { display: flex; flex-shrink: 0; margin: 20px 20px 12px; border: 1px solid #c6cfdd; border-radius: 6px; background: #fff; }
.guide-search-field:focus-within { outline: 2px solid var(--guide-blue); outline-offset: 2px; }
.guide-search-input { width: 100%; min-width: 0; min-height: 46px; padding: 10px 13px; border: 0; border-radius: inherit; background: transparent; color: var(--guide-heading); font: inherit; font-size: 16px; line-height: 1.6; caret-color: var(--guide-blue); }
.guide-search-input::placeholder { color: #667085; opacity: 1; }
.guide-search-input:focus-visible { outline: 0; }
.guide-search-meta { flex-shrink: 0; padding: 0 20px 14px; color: var(--guide-muted); font-size: 12px; line-height: 1.7; }
.guide-search-results { min-height: 0; margin: 0; padding: 0; list-style: none; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c2cad7 transparent; }
.guide-search-results > li { border-top: 1px solid var(--guide-line); }
.help-guide-page .guide-search-result { display: block; padding: 15px 20px; color: var(--guide-text); text-decoration: none; }
.help-guide-page .guide-search-result:hover,
.help-guide-page .guide-search-result:focus-visible { background: var(--guide-blue-soft); color: var(--guide-text); }
.guide-search-result:focus-visible { outline-offset: -3px; }
.guide-search-result-title { display: block; color: var(--guide-heading); font-size: 14px; font-weight: 600; line-height: 1.65; }
.guide-search-result .guide-search-result-snippet { margin-top: 6px; color: #475467; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
.guide-search-result mark { padding: 0; background: #dbe8ff; color: #174b99; font-weight: 600; }

/* Native dialog keeps focus and keyboard navigation inside the mobile menu. */
.mobile-menu { position: fixed; inset: 0 auto 0 0; width: min(var(--guide-mobile-sidebar-width), calc(100% - 32px)); height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; color: #646a73; font-family: var(--guide-outline-font); overflow: hidden; }
.mobile-menu:not([open]) { display: none; }
.mobile-menu[open] { display: flex; flex-direction: column; }
.mobile-menu::backdrop { background: rgba(24, 34, 48, .38); }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-shrink: 0; height: 64px; padding: 0 11px 0 20px; color: #646a73; font-size: 14px; font-weight: 600; }
.mobile-menu-header button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 6px; background: transparent; color: var(--guide-muted); }
.mobile-menu-header button:hover { background: var(--guide-background); }
.mobile-menu-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px 11px 20px 4px; scrollbar-width: none; }
.mobile-menu-scroll::-webkit-scrollbar { display: none; }
.guide-mobile-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 24px 0 0 16px; padding-top: 20px; border-top: 1px solid var(--guide-line); font-size: 13px; }
.mobile-menu-bottom { flex-shrink: 0; padding: 16px 20px max(20px, env(safe-area-inset-bottom)); border-top: 1px solid var(--guide-line); }
.mobile-login-btn { width: 100%; min-height: 42px; border: 0; border-radius: 6px; background: var(--guide-blue); color: #fff; }
.mobile-login-btn:hover { background: var(--guide-blue-hover); }

/* Existing image viewer: fit, original-size zoom, keyboard and backdrop close. */
.help-image-trigger { cursor: zoom-in; }
.help-image-viewer { position: fixed; inset: 0; width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #fff; overflow: hidden; }
.help-image-viewer:not([open]) { display: none; }
.help-image-viewer[open] { display: block; }
.help-image-viewer::backdrop { background: rgba(15, 23, 42, .7); }
.help-image-viewer__toolbar { position: absolute; top: max(20px, env(safe-area-inset-top)); right: max(24px, env(safe-area-inset-right)); z-index: 1; display: flex; align-items: center; gap: 12px; }
.help-image-viewer__toolbar button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #344054; cursor: pointer; }
.help-image-viewer__toolbar button:hover { color: var(--guide-blue); background: #eef4ff; }
.help-image-viewer__toolbar svg { width: 22px; height: 22px; }
.help-image-viewer.is-zoomed .help-image-viewer__zoom-plus { display: none; }
.help-image-viewer__stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: auto; overscroll-behavior: contain; padding: max(80px, calc(env(safe-area-inset-top) + 64px)) 40px max(32px, env(safe-area-inset-bottom)); cursor: zoom-out; }
.help-image-viewer__stage img { display: block; flex: 0 0 auto; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 12px 48px rgba(0, 0, 0, .22); cursor: zoom-in; }
.help-image-viewer.is-zoomed .help-image-viewer__stage { display: block; }
.help-image-viewer.is-zoomed .help-image-viewer__stage img { max-width: none; max-height: none; cursor: zoom-out; }

@media (min-width: 1425px) {
    body.help-guide-page { --guide-sidebar-width: calc((100vw - 820px) / 2 - 55px); }
}
@media (max-width: 1199px) {
    .help-guide-page .header .wrap { gap: 16px; }
    .guide-primary-nav { gap: 18px; }
    .guide-brand { gap: 12px; }
    .main-content { padding: 40px var(--guide-content-inset) 28px; }
}
@media (max-width: 959px) {
    body.help-guide-page { --guide-anchor-offset: 136px; }
    .help-guide-page .header .wrap { width: 100%; padding-inline: 24px; }
    .guide-primary-nav { display: none; }
    .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 8px; border: 0; border-radius: 6px; background: transparent; color: #475467; }
    .menu-toggle:hover { background: var(--guide-background); }
    .guide-mobile-bar { position: sticky; top: var(--guide-header-height); z-index: 40; display: flex; height: 48px; border-bottom: 1px solid var(--guide-line); background: #fff; }
    .guide-mobile-bar button { display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; padding: 0 24px; border: 0; background: transparent; color: #475467; text-align: left; }
    .guide-mobile-bar button > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
    .guide-mobile-bar button > svg:last-child { width: 16px; height: 16px; margin-left: auto; }
    .guide-mobile-bar.has-search { gap: 12px; padding-inline: 24px; }
    .guide-mobile-bar.has-search > #guideTocToggle { flex: 1; width: auto; padding-inline: 0; }
    .guide-mobile-bar .guide-search-trigger { flex: 0 0 auto; width: auto; min-height: 36px; margin: 6px 0; padding: 0 12px; border: 1px solid #d3dae5; border-radius: 6px; color: var(--guide-blue); }
    .help-guide-page .guide-layout { width: 100%; display: block; }
    .guide-sidebar { display: none; }
    .main-content { border: 0; padding: 36px 40px 28px; }
    .main-content > * { margin-inline: auto; }
    .help-guide-page > .footer { width: 100%; padding: 18px 24px; }
    .help-guide-page > .footer p { margin-inline: auto; }
}
@media (max-width: 600px) {
    .help-guide-page .header .wrap { padding-inline: 20px; }
    .help-guide-page .header .logo { width: 108px; height: 31px; background-size: auto 31px; }
    .guide-brand { gap: 12px; }
    .guide-brand-title { font-size: 14px; }
    .guide-mobile-bar button { padding-inline: 20px; }
    .guide-mobile-bar.has-search { padding-inline: 20px; }
    .guide-search { width: calc(100% - 24px); max-height: calc(100dvh - 40px); margin-top: max(20px, env(safe-area-inset-top)); }
    .guide-search-header { padding-inline: 16px; }
    .guide-search-field { margin-inline: 16px; }
    .guide-search-meta { padding-inline: 16px; }
    .help-guide-page .guide-search-result { padding-inline: 16px; }
    .main-content { padding: 30px 20px 24px; }
    .content-header { padding-bottom: 26px; }
    .content-header > p { font-size: 15px; }
    .content-header .guide-meta { font-size: 12px; }
    .guide-links { gap: 10px 18px; margin-top: 20px; }
    .guide-faq-disclosure > summary { padding: 16px; }
    .faq-item .guide-faq-disclosure > summary h3 { gap: 12px; font-size: 16px; }
    .guide-faq-answer { padding: 16px; }
    .guide-footer-nav { gap: 16px; }
    .guide-footer-title { font-size: 14px; }
    .guide-footer-nav a { gap: 8px; }
    .help-image-viewer__toolbar { top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); gap: 8px; }
    .help-image-viewer__stage { padding: max(72px, calc(env(safe-area-inset-top) + 56px)) max(12px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
