/* Scope every native design rule away from enterprise pages. */
.px-stage{width:100%;max-width:430px;margin:0 auto;position:relative;font-family:'Noto Sans SC','PingFang SC',sans-serif;color:#213e34;line-height:1.5;background:#fff}
.px-stage *{box-sizing:border-box}.px-stage svg{display:block;overflow:visible}
.px-stage button,.px-stage input,.px-stage textarea,.px-stage select{font-family:inherit;box-shadow:none;margin:0;min-width:0;max-width:none}
.px-stage .px-hit{cursor:pointer;touch-action:manipulation}.px-stage .px-hit:focus-visible{outline:2px solid #58cc02;outline-offset:2px}
.px-stage .px-input{display:block;flex:1;width:100%;height:100%;min-height:24px;border:0;border-radius:0;padding:0;background:transparent;color:inherit;font:inherit;resize:vertical;line-height:inherit}
.px-stage .px-input:focus{outline:none}.px-stage .px-input::placeholder{color:#7f8984}
.px-stage .px-selected{outline:1.5px solid #58cc02;outline-offset:-1.5px}
.px-stage .px-send{width:44px;height:30px;min-height:30px;flex:none;padding:0 6px;border:0;background:#58cc02;color:#213e34;font-size:13px;font-weight:600;line-height:30px;white-space:nowrap;border-radius:15px}
.px-stage .px-send[hidden]{display:none!important}
.px-stage .px-submit-slot.px-ready-send>[data-pencil-name]{display:none}
.px-stage .px-screen{flex-shrink:0}
.px-stage [data-pencil-name='问答输入栏']{flex-shrink:0}
body:not(.admin){background:#fff}
@media(prefers-reduced-motion:reduce){.px-stage *{animation:none!important;scroll-behavior:auto!important}}
.px-stage .px-native-reminder{position:fixed;inset:0;width:100%;height:100dvh;background:#0006;z-index:90;display:flex;align-items:center;justify-content:center;padding:20px}
.px-stage [data-pencil-name='消息列表']{min-height:0;overflow-y:auto}
.px-stage .px-image-preview{width:100%;height:180px;object-fit:contain;border-radius:12px}
.px-stage .px-raster{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}.px-stage .px-raster-contain{object-fit:contain}.px-stage .px-raster-cover{object-fit:cover}.px-stage .px-raster-fill{object-fit:fill}

.px-stage [data-pencil-id]{isolation:isolate}

.px-stage .px-raster{border-radius:inherit}.px-stage .px-screen>[data-pencil-name='页面内容']{min-height:0}
.px-stage [data-pencil-id]{max-width:100%;min-width:0}
.px-stage .px-screen{width:100%!important;height:100dvh!important;min-height:100dvh;overflow:hidden!important}
.px-stage .px-screen>[data-pencil-name='页面导航'],.px-stage [data-pencil-name='首页固定导航']{width:100%;flex-shrink:0}
.px-stage .px-screen>[data-pencil-name='页面内容'],.px-stage .px-screen>[data-pencil-name='首页会话滚动区']{height:auto!important;flex:1 1 0;min-height:0;overflow-y:auto}
.px-stage [data-pencil-name='底部操作区'],.px-stage [data-pencil-name='底部操作栏'],.px-stage [data-pencil-name='底部输入区']{flex-shrink:0;background:#fff;padding-bottom:max(var(--px-design-bottom,16px),env(safe-area-inset-bottom))}
.px-stage [data-pencil-name='状态栏'],.px-stage [data-pencil-name$='状态栏']{display:none!important}
.px-stage .px-hit[aria-disabled='true']{opacity:.5;cursor:default}
.px-stage .px-hit[aria-pressed='true'],.px-stage [role='switch'][aria-checked='true']{outline:1.5px solid #58cc02;outline-offset:-1.5px}
.px-stage .px-input::placeholder{color:#53675b}
.px-stage [data-pencil-name='导航平衡区']{flex-shrink:0}
.px-stage [data-pencil-name='本轮完善_宿主状态遮罩'],.px-stage [data-pencil-name='强提醒全屏遮罩']{height:100%!important}
.px-stage [data-pencil-name='本轮完善_状态面板']{max-height:calc(100dvh - 40px);overflow:auto}
.px-stage .px-chat-home{height:100dvh!important;min-height:0;overflow:hidden!important}
.px-stage .px-chat-home .px-chat-scroll{flex:1 1 0!important;min-height:0;height:auto!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;padding-bottom:16px}
.px-stage .px-chat-footer{flex:none;width:100%;padding:0 12px max(16px,env(safe-area-inset-bottom));background:#fff}
.px-stage .px-chat-footer .px-composer{width:100%!important;height:56px;min-height:56px}
.px-stage .px-live-transcript{display:flex;flex-direction:column;gap:20px;width:100%;padding:12px 20px}
.px-stage .px-live-message{width:100%;height:auto!important;flex:none;overflow-wrap:anywhere}
.px-stage .px-live-message [data-pencil-name='回答内容'],.px-stage .px-live-message [data-pencil-name='问题内容'],.px-stage .px-live-message [data-pencil-name='来源与版本']{height:auto!important;white-space:pre-wrap;overflow-wrap:anywhere}
.px-stage .px-live-message [data-pencil-name='本条回答来源']{height:auto!important}
.px-processing summary{list-style:none;cursor:pointer;outline-offset:-3px}
.px-processing summary::-webkit-details-marker{display:none}
.px-processing summary:focus-visible{outline:2px solid #2479eb;border-radius:12px}
.px-processing-chevron{flex:none;transition:transform .2s}
.px-processing[open] .px-processing-chevron{transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){.px-processing-chevron{transition:none}}
.px-stage .px-secondary-action{border:1px solid #d7e3d8;border-radius:10px;min-height:36px;padding:6px 12px;background:#fff;color:#2b5d12}
.px-stage .px-attachment{display:flex;align-items:center;gap:12px;padding:8px 0}
.px-stage .px-attachment img,.px-stage .px-message-image{display:block;width:96px;height:96px;object-fit:contain;border-radius:10px}
.px-stage .px-attachment button{color:#2b5d12;background:#fff;border:1px solid #d7e3d8;border-radius:10px}
.px-stage .px-voice-feedback{font-size:12px;text-align:center;color:#53675b;line-height:1.6}
.px-stage #hold-to-talk{width:100%;min-height:40px;border:0;background:#f3f7ef;color:#213e34;border-radius:10px;touch-action:none;user-select:none}
.px-stage .px-live-list{height:auto!important}
.px-stage .px-sku-options{display:flex;flex-wrap:wrap;gap:8px;height:auto!important}
.px-stage .px-sku-options>.px-live-row{flex:1 1 90px;min-width:80px;max-width:none}
.px-stage .px-live-row{height:auto!important;flex-shrink:0}
.px-stage .px-live-image{background-image:none!important;position:relative}
.px-stage .px-live-image img{display:block;width:100%;height:100%;object-fit:contain}
.px-stage .px-live-image>.px-raster{display:none}
.px-stage .px-no-image{display:none!important}
.px-stage .px-task-empty{padding:28px 16px;text-align:center;font-size:14px;line-height:1.7;color:#53675b}
.px-stage .px-task-error{padding:12px 16px;margin:12px 20px;background:#fff4ed;border:1px solid #efd9c9;border-radius:12px;color:#83451c;line-height:1.6}
.px-stage .px-live-text{height:auto!important;white-space:pre-wrap;overflow-wrap:anywhere;flex-shrink:0}
.px-stage .px-task-confirm{position:fixed;inset:0;z-index:100;background:#0006;display:flex;align-items:center;justify-content:center;padding:20px}
.px-stage .px-confirm-panel{position:relative!important;left:auto!important;top:auto!important;transform:none!important;max-width:100%;max-height:calc(100dvh - 40px);height:auto!important;overflow:auto}
.px-stage .px-form-row{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.px-stage .px-form-row input{width:100%;padding:10px 12px;border:1px solid #d7e3d8;border-radius:10px;background:#fff;color:#213e34;min-height:44px}
dialog .copy-field{width:100%;min-height:160px;font:inherit;line-height:1.6;color:#213e34;background:#fff;border:1px solid #d7e3d8;border-radius:10px;padding:12px}
@media(max-width:389px){.px-stage [data-pencil-name='首页固定导航']{padding-left:0;padding-right:0}.px-stage [data-pencil-name='左侧导航触控组'],.px-stage [data-pencil-name='右侧导航触控组']{width:80px!important;flex-shrink:0}.px-stage [data-pencil-name='首页产品服务入口']{gap:6px;padding-left:12px;padding-right:12px}.px-stage [data-pencil-name='首页产品服务入口'] [data-pencil-name$='文字']{font-size:12px!important}.px-stage [data-pencil-name='首页主标题']{font-size:20px!important}.px-stage [data-pencil-name='首页副标题']{font-size:14px!important}}
.px-stage [role="switch"][aria-checked="true"] [data-pencil-name$="开关轨道"]{background:#58cc02;justify-content:flex-end}
.px-stage [role="switch"][aria-checked="false"] [data-pencil-name$="开关轨道"]{background:#d7e3d8;justify-content:flex-start}
.px-stage .px-wide-action{width:100%;min-height:44px}
@media(max-width:389px){.px-stage [data-pencil-name='左侧导航触控组'],.px-stage [data-pencil-name='右侧导航触控组']{width:88px!important}.px-stage [data-pencil-name='产品上下文']{font-size:11px!important}}

/* P01–P07 / Pencil process-state v3. */
.px-stage .px-process-home [data-pencil-name='左侧导航触控组'] svg path,.px-stage .px-process-home [data-pencil-name='右侧导航触控组'] svg path{fill:#47515d!important}
.px-stage .px-process-home .px-live-transcript{padding:20px 16px 12px;gap:24px}
.px-stage .px-process-home .px-user-message [data-pencil-name='问题气泡']{background:#f3f4f5!important;border-radius:16px!important;padding:12px 14px!important;max-width:300px}
.px-stage .px-process-home .px-user-message [data-pencil-name='问题内容']{font-size:15px!important;line-height:1.65!important;color:#20242c!important}
.px-stage .px-process-home .px-chat-progress{width:100%;margin:0;padding:0;border:0;border-radius:12px;background:#f7f8fa;box-shadow:none}
.px-process-v3 summary{display:flex;gap:8px;min-height:0;padding:14px;line-height:1.65;color:#47515d;align-items:center}
.px-process-v3 summary>strong{flex:1;font-size:14px;font-weight:600;min-width:0}
.px-process-status-icon{width:17px;height:17px;flex:none}
.px-process-activity{display:inline-flex;align-items:center;gap:3px;height:1em;margin-left:8px;vertical-align:middle}
.px-process-activity>span{width:3px;height:3px;border-radius:50%;background:currentColor}
@media(prefers-reduced-motion:no-preference){
 .px-process-v3[data-state='active'] .px-process-status-icon{animation:px-process-breathe 1.6s ease-in-out infinite;transform-origin:center}
 .px-process-v3[data-state='active'] .px-process-activity>span{animation:px-process-dot 1.2s ease-in-out infinite}
 .px-process-v3[data-state='active'] .px-process-activity>span:nth-child(2){animation-delay:.16s}
 .px-process-v3[data-state='active'] .px-process-activity>span:nth-child(3){animation-delay:.32s}
}
@keyframes px-process-breathe{0%,100%{opacity:.5;transform:scale(.9) rotate(-6deg)}50%{opacity:1;transform:scale(1.08) rotate(6deg)}}
@keyframes px-process-dot{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
.px-process-v3 .px-processing-chevron{width:16px;height:16px;color:#68737f}
.px-process-v3>.px-process-source{display:flex;align-items:center;gap:7px;width:100%;height:30px;padding:0 14px;border:0;background:transparent;color:#2479eb;font-size:13px;text-align:left;font-weight:400}
.px-process-source svg{width:16px;height:16px;flex:none}
.px-process-source>span:first-of-type{flex:1}
.px-process-source>span:last-child{font-size:24px;color:#89939d}
.px-process-records{display:flex;flex-direction:column;gap:12px;padding:14px}
.px-process-records>p{margin:0;color:#68737f;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.px-process-actions{display:flex;gap:10px;padding:0 14px 14px}
.px-process-actions button{min-height:40px;padding:7px 14px;background:#fff;border:1px solid #e3e6ea;border-radius:12px;color:#47515d;font-size:13px}
.px-stage .px-process-home .px-chat-footer{padding:8px 12px max(16px,env(safe-area-inset-bottom))}
.px-chat-draft-hint{margin:0 0 8px;color:#6c757e;font-size:11px;line-height:1.65}
.px-stage .px-process-home .px-chat-footer .px-composer{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:4px;height:100px!important;min-height:100px!important;padding:12px 12px 6px!important;border:0!important;outline:0!important;background:#f5f6f7!important;border-radius:16px!important}
.px-stage .px-process-home .px-composer>[data-pencil-name='输入占位']{flex:none!important;width:100%!important;min-height:25px;height:25px!important;line-height:25px!important}
.px-stage .px-process-home .px-composer .px-input{height:25px;min-height:25px;padding:0;border:0;border-radius:0;font-size:15px;line-height:25px;color:#20242c;background:transparent;box-shadow:none}
.px-stage .px-process-home .px-process-toolbar{display:flex;align-items:center;gap:4px;width:100%;height:44px;margin-top:auto}
.px-stage .px-process-home .px-process-toolbar>[data-pencil-name]{flex:none!important;width:40px!important;height:44px!important;padding:0!important}
.px-stage .px-process-home .px-process-toolbar svg path{fill:#3f4752!important}
.px-composer-control{display:grid;place-items:center;flex:none;width:32px;height:32px;margin-left:auto;border:0;border-radius:50%;background:#272c33;color:#fff}
.px-composer-control svg{width:21px;height:21px}
.px-composer-control:disabled{background:#e5e8ec;color:#b8bfc7}
.px-stage .px-process-home .px-process-toolbar .px-composer-control svg path{fill:none!important}
.px-process-v3 button:focus-visible,.px-composer-control:focus-visible{outline:2px solid #2479eb;outline-offset:2px}
.px-stage .px-process-home .px-chat-scroll{gap:0}
.px-stage .px-process-home [data-pencil-name='首页产品服务入口']{width:100%!important}
.px-stage .px-process-home .px-process-toolbar>.px-composer-control{box-sizing:border-box;margin-left:auto;flex:0 0 44px;min-width:44px;width:44px;height:44px;min-height:44px;aspect-ratio:1;padding:0;border:0}
.px-stage .px-process-home .px-process-toolbar>.px-composer-control[data-px='send']{flex-basis:52px;width:52px;min-width:52px;border-radius:16px;font-size:13px;font-weight:600;line-height:1}
.px-stage .px-answer-action{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:6px}
.px-stage .px-answer-action>[data-pencil-name]{flex:none!important;width:auto!important;min-width:0}
.px-stage .px-answer-action .px-answer-icon{display:block;width:16px;height:16px;flex:none;fill:none;stroke:currentColor}
.px-stage .px-process-home .px-user-message [data-pencil-name='问题气泡']{max-width:min(300px,100%)}

/* Latest v16: services stay above the composer, outside the transcript. */
.px-stage .px-chat-footer>[data-pencil-name='首页产品服务入口']{width:100%!important;height:44px!important;flex:none;padding:0 8px!important;margin:0 0 10px;gap:8px;display:flex}
.px-stage .px-chat-footer>[data-pencil-name='首页产品服务入口']>[data-pencil-name]{flex:1;min-width:0;height:44px!important;padding:0 8px!important}
.px-stage .px-chat-scroll>[data-pencil-name='护肤场景图']{flex-shrink:0}
.px-stage .px-login-ready[data-px='otp-verify']{background:#58cc02!important;color:#142c10}
.px-stage .px-login-ready[data-px='otp-verify']>*{color:#142c10!important}
.px-stage .px-login-ready[data-px='otp']>*{color:#2b5d12!important}
.px-stage [data-pencil-name='v7 验证码']{flex:1;min-width:0}
.px-stage [data-pencil-name='v7 协议勾选触控'][aria-pressed='true']{background:#eff8e8;border-radius:8px}
.px-stage .px-agreement-checkbox.px-selected{outline:none}
.px-stage .px-agreement-mark{display:block;width:24px;height:24px;color:#7d8d81;flex:none}
.px-stage .px-agreement-check{display:none}
.px-stage .px-agreement-checkbox[aria-checked='true'] .px-agreement-mark rect{fill:#58cc02;stroke:#58cc02}
.px-stage .px-agreement-checkbox[aria-checked='true'] .px-agreement-check{display:block;stroke:#213e34}
.px-stage [data-pencil-name='v7 协议确认说明'].px-selected{outline:none}
.px-stage [data-pencil-name='v7 协议确认说明']{display:inline-flex;align-items:center;min-height:24px}
.px-stage [data-pencil-name='v7 协议阅读入口']>[data-px='policy']{display:inline-flex;align-items:center;min-height:44px}
.px-stage .px-capture-overlay{position:fixed;inset:0;z-index:100;background:#0006;display:flex;align-items:flex-end;justify-content:center}
.px-stage .px-capture-sheet{width:100%;max-width:430px}
.px-stage .px-capture-sheet>[data-pencil-name]{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;padding-bottom:max(20px,env(safe-area-inset-bottom))}


.px-stage .px-sku-options>.px-live-row{background:#fff!important;color:#213e34}.px-stage .px-sku-options>.px-live-row>[data-pencil-name]{color:inherit!important;white-space:pre-line}.px-stage .px-sku-options>.px-live-row[aria-disabled='true']{color:#9ba49e;opacity:.55}

/* Native B05/B06/B07 voice controls and feedback. */
.px-stage .px-chat-footer[data-chat-mode='voice']{position:relative;padding:0 12px max(16px,env(safe-area-inset-bottom));background:#fafaf9}
.px-stage .px-chat-footer[data-chat-mode='voice']>[data-pencil-name='首页产品服务入口']{margin-bottom:10px;background:#fff}
.px-stage .px-chat-footer[data-chat-mode='voice'] .px-composer{height:62px!important;min-height:62px!important;flex-direction:row!important;gap:2px!important;padding:6px!important;border:1px solid #e8ebe8!important;border-radius:18px!important;background:#fff!important}
.px-stage .px-chat-footer[data-chat-mode='voice'] [data-pencil-name='按住说话按钮']{flex:1;min-width:0;height:50px}
.px-stage .px-chat-footer[data-chat-mode='voice'] #hold-to-talk{display:block;height:50px;min-height:50px;background:#fff;border-radius:12px;font-size:18px;font-weight:600;padding:0}
.px-stage .px-chat-footer[data-chat-mode='voice'] .px-composer>[data-pencil-name]:not([data-pencil-name='按住说话按钮']){flex:none;width:44px!important;height:44px!important}
.px-stage .px-voice-feedback:empty{display:none}
.px-stage .px-voice-panel{display:none;width:calc(100% + 24px)!important;margin:0 -12px;height:160.5px!important;position:relative!important;left:auto!important;top:auto!important}
.px-stage .px-chat-footer[data-voice-state='recording'] [data-voice-panel='recording'],.px-stage .px-chat-footer[data-voice-state='canceling'] [data-voice-panel='canceling']{display:flex}
.px-stage .px-chat-footer[data-voice-state='recording'] .px-composer,.px-stage .px-chat-footer[data-voice-state='canceling'] .px-composer{position:absolute;inset:auto 12px 0;height:160px!important;opacity:0;z-index:1}
.px-stage [data-voice-panel='recording'] [data-pencil-name^='v7 音浪短柱']{height:2px}
.px-stage .px-chat-footer[data-chat-mode='voice'][data-voice-state='idle'],.px-stage .px-chat-footer[data-chat-mode='voice'][data-voice-state='pending']{padding-bottom:max(32px,env(safe-area-inset-bottom))}
.px-stage .px-chat-footer[data-voice-state='recording'],.px-stage .px-chat-footer[data-voice-state='canceling']{padding-bottom:env(safe-area-inset-bottom)}
.px-stage .px-chat-footer[data-voice-state='recording']>[data-pencil-name='首页产品服务入口'],.px-stage .px-chat-footer[data-voice-state='canceling']>[data-pencil-name='首页产品服务入口']{margin-bottom:0}

.px-stage [data-pencil-name]{overflow-wrap:anywhere}

/* Consultation management extends the existing native history list. */
.px-stage .px-history-screen{background:#f7f9f8}
.px-stage .px-history-screen [data-pencil-name='页面导航']{position:relative;background:#fff;border-bottom:1px solid #edf1ee}
.px-stage .px-history-screen [data-pencil-name='页面标题']{left:68px;top:0;width:calc(100% - 136px);height:100%!important;display:flex;align-items:center;justify-content:center;font-size:17px;pointer-events:none}
.px-stage .px-history-screen [data-pencil-name='页面内容']{padding:20px 20px 24px;background:#f7f9f8;gap:18px}
.px-stage .px-history-screen [data-pencil-name='记录页操作行']{min-height:58px;padding:0 0 2px}
.px-stage .px-history-screen [data-pencil-name='记录主标题']{font-size:22px;font-weight:650;line-height:30px;letter-spacing:-.4px;color:#243c2e}
.px-stage .px-history-screen [data-pencil-name='记录副标题']{font-size:12px;font-weight:400;line-height:20px;color:#68766c}
.px-stage .px-history-screen [data-pencil-name='记录标题组']{gap:3px}
.px-stage .px-history-screen [data-pencil-name='咨询记录列表']{gap:10px;height:auto;flex-shrink:0}
.px-stage [data-pencil-name='记录页操作行']{justify-content:space-between;align-items:center}
.px-stage .px-history-manage{background:transparent;border:0;padding:8px 4px;min-height:44px;color:#2b5d12;font-size:14px;font-weight:600;white-space:nowrap}
.px-stage .px-history-nav-action{position:absolute;right:16px;top:8px;z-index:2;display:flex;align-items:center;gap:5px;min-height:40px;padding:0 10px;background:#f3f7f1;border:1px solid #e8eee5;border-radius:12px;color:#43663d;font-size:13px}
.px-stage .px-history-nav-action svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.px-stage .px-history-screen[data-history-mode='manage'] .px-history-chevron{display:none}
.px-stage .px-history-screen[data-history-mode='manage'] .px-history-controls{display:none}
.px-stage .px-history-screen[data-history-mode='manage'] .px-history-row:has(.is-selected){border-color:#a4ce91}
.px-stage .px-history-open.is-selected,.px-stage .px-history-open.is-selected:hover{background:#f2f8ef}
.px-stage .px-history-controls{display:flex;gap:14px;align-items:center}
.px-stage .px-history-archive-link{display:flex;align-items:center;gap:6px;min-height:40px;padding:0 10px;border:1px solid #e3eae4;border-radius:12px;background:#fff;color:#607366;font-size:12px;font-weight:500;white-space:nowrap}
.px-stage .px-history-archive-link svg{width:15px;height:15px}
.px-stage .px-history-row{position:relative;display:block;overflow:hidden;isolation:isolate;padding:0;border:1px solid #e7ede8;border-radius:18px;background:#fff;box-shadow:0 2px 8px #294a3305}
.px-stage .px-history-open{position:relative;z-index:1;display:flex;flex-direction:column;gap:10px;min-width:0;width:100%;min-height:104px;align-items:stretch;justify-content:center;border:0;padding:14px 16px;background:#fff;color:inherit;font:inherit;text-align:left;cursor:pointer;touch-action:pan-y;user-select:none;transform:translateX(var(--history-offset,0px));transition:transform .2s cubic-bezier(.2,.7,.2,1)}
.px-stage .px-history-open:hover{background:#fff}
.px-stage .px-history-topic{display:flex;align-items:center;gap:14px;min-height:44px}
.px-stage .px-history-screen .px-history-title{flex:1;min-width:0;min-height:44px;max-height:44px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;font-size:15px;font-weight:550;line-height:22px;color:#2a4033;letter-spacing:.1px}
.px-stage .px-history-chevron{flex:none;width:14px;height:14px;opacity:.35}
.px-stage .px-history-chevron svg{width:14px;height:14px}
.px-stage .px-history-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.px-stage .px-history-screen .px-history-product{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400;line-height:18px;color:#68766c}
.px-stage .px-history-screen .px-history-time{flex:none;font-size:11px;font-weight:400;line-height:18px;color:#68766c;white-space:nowrap;font-variant-numeric:tabular-nums}
.px-stage .px-history-row.is-open{--history-offset:-152px}
.px-stage .px-history-row.is-swiping .px-history-open{transition:none}
.px-stage .px-history-actions{position:absolute;inset:0 0 0 auto;display:flex;width:152px;z-index:0;padding:8px;gap:6px;background:#f5f8f5}
.px-stage .px-history-actions button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:44px;border:0;border-radius:13px;padding:8px 0;background:#e6f0e8;color:#477054;font:500 12px/1.5 'Noto Sans SC',sans-serif;cursor:pointer}
.px-stage .px-history-actions [data-px='history-delete']{background:#fbeceb;color:#a94d48}
.px-stage .px-history-actions svg,.px-stage .px-history-archive-link svg,.px-stage .px-history-cta-icon svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.px-stage .px-history-actions svg{width:20px;height:20px}
.px-stage .px-history-row:not(.is-open):not(.is-swiping) .px-history-actions{visibility:hidden;pointer-events:none}
.px-stage .px-history-open[role='checkbox']{padding-left:48px}
.px-stage .px-history-open[role='checkbox']::before{content:'';position:absolute;left:16px;top:50%;transform:translateY(-50%);width:20px;height:20px;border:1.5px solid #aab7ae;border-radius:5px;background:#fff}
.px-stage .px-history-open.is-selected::before{content:'✓';display:grid;place-items:center;border-color:#58cc02;background:#58cc02;color:#142c10;font:bold 14px/1 system-ui,sans-serif}
.px-stage .px-history-bulk{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.px-stage .px-history-bulk-selection{display:flex;align-items:center;justify-content:space-between;min-height:32px}
.px-stage .px-history-bulk-selection .px-history-manage{min-height:32px;padding:0 4px}
.px-stage .px-history-bulk-actions{display:flex;gap:12px}
.px-stage .px-history-bulk-actions>button{flex:1;min-width:0;min-height:46px;border-radius:12px;font:600 14px/1.5 'Noto Sans SC',sans-serif}
.px-stage .px-history-bulk-archive{background:#e6f0e8;border:1px solid #c9ddcd;color:#355e40;cursor:pointer}
.px-stage .px-history-bulk-archive:disabled{background:#eff3ef;border-color:#e4eae4;color:#86958a;cursor:default}
.px-stage .px-history-bulk [role='status']{font-size:14px;color:#53675b;white-space:nowrap}
.px-stage .px-history-remove,#modal .px-history-remove{border:1px solid #dcb8b2;border-radius:10px;background:#fff5f2;color:#a53627;padding:10px 14px;font:600 14px/1.5 'Noto Sans SC',sans-serif;cursor:pointer}
.px-stage .px-history-remove:disabled{opacity:.4;cursor:default}
.px-stage .px-history-screen [data-pencil-name='底部记录操作区']{height:auto;padding:12px 20px max(20px,env(safe-area-inset-bottom));background:#f7f9f8;flex-shrink:0}
.px-stage .px-history-screen [data-pencil-name='底部记录操作区'].px-history-bulk{background:#fff;border-top:1px solid #e3eae4}
.px-stage .px-history-bulk .px-history-remove{min-width:112px;min-height:46px;background:#b44e48;border-color:#b44e48;color:#fff;border-radius:12px}
.px-stage .px-history-bulk .px-history-remove:disabled{background:#f2e6e4;border-color:#f2e6e4;color:#936c67;opacity:1}
.px-stage .px-history-screen [data-pencil-name='开始新咨询']{height:50px;min-height:50px;flex-direction:row;border-radius:16px;gap:8px;background:#58cc02;box-shadow:0 5px 16px #58cc021a}
.px-stage .px-history-screen [data-pencil-name='开始新咨询文字']{font-size:15px;font-weight:600;line-height:22px}
.px-stage .px-history-cta-icon{display:flex;flex:none;width:18px;height:18px;align-items:center}
.px-stage .px-history-cta-icon svg{width:18px;height:18px}
#modal:has(.px-history-dialog){width:calc(100vw - 40px);max-width:380px;border-radius:22px;padding:24px}
#modal .px-history-dialog h2{font-size:19px;font-weight:650;color:#263f30}
#modal .px-history-dialog p{font-size:14px;line-height:1.7;color:#68766c}
#modal .px-history-delete-title{font-weight:600;overflow-wrap:anywhere}
#modal .px-history-dialog .px-history-delete-title{padding:12px 14px;margin:16px 0;background:#f4f7f4;border-radius:12px;font-size:14px;line-height:1.6;color:#435b49}
#modal .px-history-dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:20px}
#modal .px-history-dialog-actions button{min-height:44px}
#modal .px-history-dialog .px-history-dialog-actions button{flex:1;min-height:46px;border-radius:12px;font-size:14px}
#modal .px-history-dialog .secondary{border:1px solid #e2e9e3;background:#fff;color:#6c7e71}
#modal .px-history-dialog .px-history-remove{background:#b44e48;border:1px solid #b44e48;color:#fff}
#modal .px-history-error{color:#a53627;font-size:14px;line-height:1.5;margin:8px 0}
#modal .px-history-error:empty{display:none}
@media(prefers-reduced-motion:reduce){.px-stage .px-history-open{transition:none}}

/* v1 account forms share the native H5 shell. */
.px-stage .px-contract-form{gap:16px;padding:24px 20px;overflow-y:auto}
.px-stage .px-contract-form .px-form-row{display:flex;flex-direction:column;gap:8px;width:100%;font-size:14px}
.px-stage .px-contract-form input{width:100%;min-width:0;min-height:48px;border:1px solid #d7e3d8;border-radius:12px;padding:12px;background:#fff;box-sizing:border-box}
.px-stage .px-contract-form button{min-height:46px}
.px-stage .px-contract-local{display:flex;align-items:center;gap:12px;padding:14px;background:#fff;border:1px solid #e7ede8;border-radius:14px;font-size:14px}
.px-stage .px-contract-local input{width:22px;height:22px;min-height:22px;flex:none}
.px-stage .px-contract-error{color:#a53627;font-size:14px;line-height:1.6}
.px-stage .px-contract-regions{display:flex;gap:6px;height:auto!important}
.px-stage .px-contract-regions select{flex:1;min-width:0;min-height:44px;border:1px solid #d7e3d8;border-radius:8px;background:#fff;color:#213e34;font-size:13px}

.px-stage .px-message-audio{display:block;width:100%;max-width:280px;height:40px;margin-top:8px}
.px-stage .px-contract-form{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:16px!important;padding:24px 20px!important}
.px-stage .px-contract-form>p{font-size:14px;line-height:1.7;margin:0 0 8px;color:#53675b}
.px-stage .px-contract-form>button{width:100%;border-radius:12px;margin:0;justify-content:center}
.px-stage .px-contract-form>[data-px='v1-verify'],.px-stage .px-contract-form>[data-px='v1-import'],.px-stage .px-contract-form>[data-px='v1-account-feedback']{background:#58cc02;border-color:#58cc02;color:#142c10;font-weight:600}
.px-stage .px-contract-policy{white-space:pre-wrap}
.px-stage .px-contract-receipts{display:flex;flex-direction:column;gap:10px;min-width:0;width:100%;padding:12px 0;font-size:14px;color:#213e34;box-sizing:border-box}
.px-stage .px-contract-receipts label{display:flex;flex-direction:column;gap:8px}
.px-stage .px-contract-receipts input{max-width:100%;min-height:36px;font-size:13px}
.px-stage .px-contract-receipts>div{display:flex;align-items:center;justify-content:space-between;gap:8px;overflow-wrap:anywhere}
.px-stage .px-contract-receipts button{flex:none;min-height:36px;padding:6px 12px;border:1px solid #d7e3d8;border-radius:8px;background:#fff;color:#53675b;font-size:13px}

/* Approved full-bleed, multigenerational login design, 2026-11-03. */
.px-stage .bp-login-screen{position:relative;display:block;width:100%;height:auto!important;min-height:max(calc(min(100vw,430px) * 2),100svh);container-type:inline-size;background:#fff url('/assets/pencil-h5/login-background-430.webp') center top/100% auto no-repeat;background-image:image-set(url('/assets/pencil-h5/login-background-430.webp') 1x,url('/assets/pencil-h5/login-background-860.webp') 2x);color:#282b29;padding:0 0 max(50px,env(safe-area-inset-bottom));overflow:visible}
.px-stage .bp-login-screen button{font:inherit;border:0;box-shadow:none;cursor:pointer;touch-action:manipulation}
.px-stage .bp-login-header{position:absolute;top:15px;left:14px;display:flex;align-items:flex-start;gap:8px;color:#111}
.px-stage .bp-login-screen .bp-login-back{display:grid;place-items:center;flex:none;width:26px;height:26px;min-height:26px;margin-top:5px;padding:5px;border-radius:50%;background:#fff;color:inherit}
.px-stage .bp-login-back img{display:block;width:16px;height:16px}
.px-stage .bp-login-brand{display:flex;flex-direction:column;letter-spacing:0}
.px-stage .bp-login-brand strong{font-size:20px;font-weight:500;line-height:29px}
.px-stage .bp-login-brand span{font-size:9px;line-height:13px;color:#426d62;margin-top:-4px}
.px-stage .bp-login-content{padding:95.6410256% 10.5128205% 0;text-align:center}
.px-stage .bp-login-content h1{font-size:28px;line-height:41px;font-weight:500;letter-spacing:0;margin:0;color:#292d2a}
.px-stage .bp-login-subtitle{font-size:14px;line-height:24px;margin:-5px 0 11px;color:#5b5b5b}
.px-stage .bp-login-fields{display:grid;gap:11px;margin:0 2px}
.px-stage .bp-login-field{display:flex;align-items:center;height:40px;background:#f4f1edeb;border-radius:12px;padding:0 17px;font-size:16px;font-weight:400;text-align:left}
.px-stage .bp-login-field:last-child{height:39px}
.px-stage .bp-login-field>[data-pencil-name]{flex:1;min-width:0;height:100%;display:flex;align-items:center}
.px-stage .bp-login-country{padding-right:16px;margin-right:15px;border-right:1px solid #92928d;line-height:19px}
.px-stage .bp-login-field .px-input{font-size:16px;font-weight:400;color:#343936;line-height:1.5;min-width:0}
.px-stage .bp-login-field [data-pencil-name='v7手机号'] .px-input{font-size:15px}
.px-stage .bp-login-field .px-input::placeholder{color:#81837f}
.px-stage .bp-login-otp{flex:none!important;padding:0 0 0 15px;margin-left:10px!important;height:20px!important;border-left:1px solid #999b96!important;border-radius:0;background:transparent;color:#27816c;white-space:nowrap;font-size:13px!important;font-weight:400}
.px-stage .bp-login-otp[aria-disabled='true']{color:#27816c;opacity:1}
.px-stage .bp-login-agreement{display:grid;grid-template-columns:26px 87px 75px 15px 72px;align-items:center;justify-content:start;gap:0;margin:14px 0 0 3px;white-space:nowrap;font-size:12px;line-height:17px}
.px-stage .bp-login-agreement button{display:inline-flex;align-items:center;justify-content:flex-start;padding:0;min-height:32px;background:transparent;color:inherit;white-space:nowrap;letter-spacing:0;font-weight:400}
.px-stage .bp-login-agreement [role='checkbox']{flex:none;justify-content:center;width:22px;min-height:32px;margin-right:0;padding:0}
.px-stage .bp-login-agreement .px-agreement-mark{width:14px;height:14px;color:#619789}
.px-stage .bp-login-agreement .px-agreement-checkbox[aria-checked='true'] .px-agreement-mark rect{fill:#39866e;stroke:#39866e}
.px-stage .bp-login-agreement .px-agreement-checkbox[aria-checked='true'] .px-agreement-check{stroke:#fff}
.px-stage .bp-login-agreement [data-px='policy']{color:#27816c}
.px-stage .bp-login-agreement [data-pencil-name='v7协议确认说明']{border:0;outline:none;box-shadow:none;background:transparent}
.px-stage .bp-login-screen .bp-login-agreement [data-pencil-name='v7协议确认说明']:focus-visible{outline:none!important;text-decoration:underline;text-underline-offset:3px}
.px-stage .bp-login-status{font-size:12px;color:#a34c42;line-height:1.6;margin:12px 0 0;text-align:left}
.px-stage .bp-login-status[hidden]{display:none}
.px-stage .bp-login-submit{display:block;width:100%;height:38px;margin-top:30px!important;border-radius:12px;background:#ae5e70;color:#fff;font-size:18px!important;font-weight:400;letter-spacing:0}
.px-stage .bp-login-submit[aria-disabled='true']{background:#e9d5da;color:#a17d87}
.px-stage .bp-login-submit.px-login-ready[data-px='otp-verify']{background:#ae5e70!important;color:#fff}
.px-stage .bp-login-guest{display:block;margin:12px auto 0!important;padding:0 8px;min-height:38px;background:transparent;color:#242a26;font-size:12px!important;font-weight:400}
.px-stage .bp-login-screen :focus-visible{outline:2px solid #327c67!important;outline-offset:3px}
@media(min-width:431px){.px-stage .bp-login-screen{min-height:max(860px,100svh)}}

.px-stage .bp-login-submit[aria-disabled='true']{opacity:1}

/* Current v017 account canvas and data-bound coupon wallet. */
.px-stage .px-account-screen{max-width:390px;overflow:auto!important;display:block!important;margin:0 auto}
.px-stage .px-account-canvas{position:relative!important;left:0!important;top:0!important;width:390px!important;max-width:none!important;height:816px!important;transform:scale(var(--px-canvas-scale,1));transform-origin:top left}
.px-stage .px-account-canvas [data-pencil-id]{max-width:none}
.px-stage .px-account-canvas .px-input{text-align:right;min-height:44px;cursor:text}
.px-stage .px-profile-avatar{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.px-stage .px-account-canvas .px-live-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.px-stage .px-wallet-screen{display:flex!important;flex-direction:column;max-width:390px;margin:0 auto}
.px-wallet-tabs{display:flex;flex:none;gap:44px;min-height:68px;padding:16px 24px}
.px-wallet-tabs button{position:relative;border:0;border-radius:0;background:transparent;color:#52685e;padding:8px 0;font-size:15px}
.px-wallet-tabs button[aria-pressed='true']{color:#104f3b;border-bottom:2px solid #104f3b;outline:0}
.px-wallet-list{flex:1;overflow:auto;padding:8px 16px 24px;min-height:0}
.px-stage .px-wallet-card{position:relative!important;left:0!important;top:0!important;width:100%!important;min-height:192px;margin-bottom:12px}
.px-wallet-list article{margin-bottom:20px}
.px-wallet-actions{display:flex;gap:12px;justify-content:flex-end}
.px-wallet-actions button{min-height:44px;border:1px solid #d9e7df;background:white;color:#104f3b;border-radius:12px;padding:8px 16px}
.px-wallet-actions button[data-px='coupon-use']{background:#104f3b;color:white;border-color:#104f3b}
.px-stage .px-wallet-empty-art{position:relative!important;left:0!important;top:0!important;margin:40px auto 0;max-width:100%}
.px-stage .px-wallet-screen>[data-pencil-name='页面导航']{position:relative!important;top:auto!important;left:auto!important}
.px-stage .px-wallet-card [data-pencil-name='¥20']{width:110px!important;font-size:38px!important;line-height:1.1!important;white-space:nowrap!important}
.px-stage .px-account-canvas .px-account-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.px-wallet-screen>.px-wallet-actions{flex:none;justify-content:stretch;padding:12px 16px max(20px,env(safe-area-inset-bottom));background:#fff}
.px-wallet-screen>.px-wallet-actions button{flex:1}
.px-wallet-list article[aria-pressed='true']{outline:0}
/* Keep consumer label fields compact without changing document export layouts. */
.px-manual-fields .structured-manual{width:100%;--manual-gap:0px}
.px-manual-fields .manual-section{padding:12px 0}
.px-manual-fields .manual-section:first-child{padding-top:0}
.px-manual-fields .manual-section:last-child{padding-bottom:0}
.px-manual-fields .manual-section h2{margin-bottom:8px}
