/* Final customer typography and navigation specification, shared by all editions. */
:root{--jc-heading:#0c3054;--jc-font:"Microsoft YaHei","Microsoft YaHei UI","微软雅黑","Noto Sans SC",sans-serif}
/* Two-ID specificity keeps the final specification above legacy panel-scoped important rules. */
html body,html body :is(#jc-font-final#jc-font-spec,*){font-family:var(--jc-font)!important}
html body :is(#jc-title-final#jc-title-spec,h1,h2,h3,h4,h5,h6,.home-hero-title,.module-title,.wash-case-title,.studio-title,.help-head,.cm-title,.m-section-title,.m-record-title>strong,.m-tools-caption>span:first-child,.m-menu-item strong,.m-menu-group strong,.hv-stat-title,.dialog-title,.card-title),html body :is(#jc-title-final#jc-title-spec,h1,h2,h3,h4,h5,h6,.help-head) *{color:var(--jc-heading)!important;-webkit-text-fill-color:currentColor!important;background-clip:initial!important;background-image:none!important}
body[data-junchi] nav.tabs.sidebar .sb-scroll :is(.p-nav-home,.p-nav-mini,.p-nav-mod,#rechargeNavBtn,#pAboutBtn){box-sizing:border-box!important;min-height:48px!important;height:48px!important;margin:0!important;padding:12px 14px!important;display:flex!important;align-items:center!important;gap:12px!important;font-size:16px!important;line-height:24px!important;font-weight:700!important;color:var(--jc-heading)!important;text-align:left!important;border:0!important;border-radius:12px!important}
body[data-junchi] nav.tabs.sidebar .sb-scroll :is(.tb-txt,.pn-copy,.pn-copy b,.p-nav-mini span,#rechargeNavBtn span,#pAboutBtn span){font-size:16px!important;line-height:24px!important;font-weight:700!important;color:var(--jc-heading)!important;-webkit-text-fill-color:currentColor!important;letter-spacing:0!important}
body[data-junchi] nav.tabs.sidebar .sb-scroll :is(.p-nav-home,.p-nav-mini,.p-nav-mod,#rechargeNavBtn,#pAboutBtn):is(.active,[aria-current=page]){background:linear-gradient(110deg,#ebe9ff,#eef4ff)!important;box-shadow:inset 3px 0 #7563e6!important;color:var(--jc-heading)!important}
body[data-junchi] nav.tabs.sidebar .sb-scroll :is(.p-nav-home,.p-nav-mini,.p-nav-mod,#rechargeNavBtn,#pAboutBtn):hover{background:#edf1fb!important}
body[data-junchi] nav.tabs.sidebar .sb-scroll :is(.p-nav-home,.p-nav-mini,.p-nav-mod,#rechargeNavBtn,#pAboutBtn):focus-visible{outline:2px solid #7563e6!important;outline-offset:2px}
body[data-junchi] nav.tabs.sidebar .sb-scroll :is(.p-nav-extra,.p-nav-mods){padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important}
body[data-junchi] nav.tabs.sidebar .sb-scroll :is(#jc-nav-icon-final#jc-nav-icon-spec,.tb-ico,svg){width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;min-height:20px!important;max-height:20px!important;flex:0 0 20px!important}
body[data-junchi] .footer,body[data-junchi] .hv-footer{display:flex!important;justify-content:center!important;align-items:center;gap:0;padding:24px 16px!important;color:#667997!important;font-size:13px!important;letter-spacing:1px!important}
body[data-junchi] .footer .footer-author,body[data-junchi] .footer .footer-divider{display:none!important}
#junchi-intro{background:#d6e4f0!important}
#junchi-intro .jc-intro-player{position:absolute;inset:0;display:grid;place-items:center}
#junchi-intro video{width:100%;height:100%;object-fit:contain}
#junchi-intro .jc-intro-skip{position:absolute;right:max(28px,env(safe-area-inset-right));bottom:max(28px,env(safe-area-inset-bottom));background:rgba(255,255,255,.94)!important;color:#0c3054!important;border:1px solid #bdcedf!important;box-shadow:0 8px 28px #19395920!important;font-size:14px!important;padding:12px 22px!important;border-radius:999px!important}
body[data-junchi] #panel-reference-human img[hidden]{display:none!important}
.jc-about{position:fixed!important;inset:0!important;margin:auto!important;width:min(860px,calc(100vw - 32px));max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);padding:0;border:1px solid #d8e4f1;border-radius:24px;background:#f7faff;color:#405a76;box-shadow:0 28px 90px #16324d26}
.jc-about::backdrop{background:#142e4a55;backdrop-filter:blur(8px)}
.jc-about-head{position:sticky;top:0;z-index:2;padding:24px 30px;background:#f7fafff5;border-bottom:1px solid #dde7f1;display:flex;align-items:center;justify-content:space-between;gap:12px}
.jc-about-head h2{margin:0 0 6px;font-size:24px}.jc-about-head p{margin:0;font-size:13px;letter-spacing:1px}
.jc-about-close{border:1px solid #d5e1ee;background:white;color:#0c3054;border-radius:10px;padding:8px 14px;cursor:pointer}
.jc-about-content{padding:24px 30px;display:grid;grid-template-columns:1fr 1fr;gap:18px}
.jc-about-section{padding:22px;background:white;border:1px solid #e0e8f4;border-radius:18px}.jc-about-section.wide{grid-column:1/-1}.jc-about-section h3{margin:0 0 14px;font-size:18px}.jc-about-section h4{margin:18px 0 8px;font-size:15px}.jc-about-section p,.jc-about-section li{font-size:14px;line-height:1.9;margin:8px 0}.jc-about-section ul{padding-left:20px;margin:10px 0}.jc-about-section a{color:#6255ce;text-decoration:none}.jc-about-footer{text-align:center;padding:0 24px 24px;font-size:13px;letter-spacing:1px}
body[data-junchi] :is(#jc-fab-final#jc-fab-spec,#helpFab){display:flex!important;width:auto!important;max-width:calc(100vw - 32px);padding:11px 17px!important;gap:8px!important;white-space:nowrap!important}
body[data-junchi] #helpPanel:not(.hidden){display:flex!important;width:min(390px,calc(100vw - 32px))!important;max-height:calc(100vh - 120px)!important;max-height:calc(100dvh - 120px)!important;background:#f9fcff!important;border-radius:18px!important;border:1px solid #d4e0f0!important;box-shadow:0 18px 55px #1c3b5b25!important;bottom:78px!important}
body[data-junchi] #helpPanel.hidden{display:none!important}
body[data-junchi] #helpPanel .help-head{background:#f5f8ff!important;padding:15px 16px!important;border-bottom:1px solid #e1e9f4!important}
body[data-junchi] #helpClose{color:#54728f!important;border-radius:8px;min-width:32px;min-height:32px}
body[data-junchi] #helpBody{color:#405d7a!important;min-height:160px!important;max-height:420px!important;flex:1;overflow:auto;padding:16px!important}
body[data-junchi] #helpBody :is(.placeholder,.help-a,.help-q){color:#405d7a!important;line-height:1.85!important;white-space:pre-wrap!important;overflow-wrap:anywhere}
body[data-junchi] #helpBody .help-q{background:#eceaff!important;border:1px solid #e0def3!important;padding:10px 12px!important;border-radius:12px;margin:12px 0}
body[data-junchi] #helpBody .help-a{padding:8px 4px!important}.jc-chat-state{font-size:12px;color:#6b819a;padding:8px 16px;border-top:1px solid #e2eaf3}
body[data-junchi] #helpPanel .help-upload{display:none!important}body[data-junchi] #helpPanel .help-input{display:flex!important;gap:8px;padding:12px!important;border-top:1px solid #e1e9f4;flex-shrink:0}
body[data-junchi] #helpQ{flex:1;min-width:0;background:white!important;border:1px solid #d3dff0!important;border-radius:10px!important;min-height:42px!important;color:#29496f!important;padding:9px 12px!important}
body[data-junchi] #helpSend{min-width:64px;padding:9px 14px!important;border-radius:10px!important;background:#7964ef!important;color:white!important}
body[data-mobile-app] :is(#jc-fab-final#jc-fab-spec,#helpFab){display:none!important}body[data-mobile-app] #helpPanel:not(.hidden){inset:auto 16px calc(90px + env(safe-area-inset-bottom))!important;max-height:calc(100vh - 150px)!important;max-height:calc(100dvh - 150px)!important;width:calc(100vw - 32px)!important;z-index:35000!important}
body[data-mobile-app] #helpBody{max-height:calc(100vh - 310px)!important;max-height:calc(100dvh - 310px)!important;min-height:140px!important}
@media(max-width:600px){.jc-about{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border-radius:18px}.jc-about-head{padding:20px}.jc-about-content{padding:18px;grid-template-columns:1fr}.jc-about-section{padding:18px}.jc-about-head h2{font-size:20px}}
