/* Mobile workspace: task-first screens with a viewport-bound conversation. */
.mobile-navigation,.phone-label,.sidebar-return{display:none}.nav-backdrop{position:fixed;inset:0;background:#14223c70;backdrop-filter:blur(3px);border:0;z-index:29}.nav-backdrop[hidden]{display:none}.cad-viewer-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:0 40px 15px 0}.cad-viewer-tools h2{margin:0 auto 0 0;font-size:17px}.cad-viewer-tools output{min-width:45px;text-align:center;font-size:12px;color:#6e8099}.engineering-expanded{width:min(1250px,85vw);max-height:75vh;overflow:auto}.engineering-expanded .engineering-paper{min-width:0;width:var(--sheet-zoom,100%);max-width:none}.cad-viewer-help{font-size:12px;color:#8898ac;margin:12px 0 0}
@media(max-width:720px){
 :root{--radius:16px;--phone-nav-height:calc(62px + env(safe-area-inset-bottom));font-size:14px}body.phone-layout{overflow:hidden;background:#f4f6fa}.app{min-height:0;height:var(--app-height,100dvh)}.main-shell{position:fixed;top:var(--app-top,0px);left:0;right:0;width:100%;height:var(--app-height,100dvh);margin:0;display:flex;flex-direction:column;padding-bottom:var(--phone-nav-height)}.topbar{height:56px;min-height:56px;flex:0 0 56px;padding:0 14px;gap:8px;position:relative;z-index:20}.breadcrumb{gap:8px;min-width:0}.breadcrumb>span:not(#crumb),.demo-badge,.desktop-label,.company-return{display:none}.breadcrumb #crumb{font-size:14px;font-weight:650;white-space:nowrap}.menu-button{display:grid;width:36px;height:40px;font-size:22px;padding:0}.top-actions{gap:0}.top-actions .button.small{min-height:36px;padding:6px 9px;font-size:11px;gap:5px}.phone-label{display:inline}#content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;width:100%;max-width:none;margin:0;padding:0;scroll-padding:12px}.page-footer{display:none}.mobile-navigation{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;top:calc(var(--app-top,0px) + var(--app-height,100dvh) - var(--phone-nav-height));height:var(--phone-nav-height);padding:4px 8px calc(4px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid #e6eaf1;z-index:25;backdrop-filter:blur(16px)}.mobile-navigation button{border:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:10px;color:#7a869a;min-height:48px;border-radius:10px}.mobile-navigation svg{width:21px;height:21px}.mobile-navigation button[aria-current]{color:#3159e8;background:#edf2ff}.editing-field .mobile-navigation{display:none}.editing-field .main-shell{padding-bottom:0}.sidebar{width:min(310px,88vw);height:var(--app-height,100dvh);top:var(--app-top,0px);padding:25px 18px 18px;overflow:auto;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.nav-close{display:grid;position:absolute;right:6px;top:6px;width:40px;height:40px}.sidebar .brand{font-size:16px}.project{margin:20px 0 14px}.nav-caption{margin-bottom:7px}.nav-item{min-height:44px;padding:10px 12px;margin-bottom:3px}.side-note{display:none}.sidebar-return{display:block;font-size:12px;color:#5e6e85;padding:18px 12px;margin-top:auto}.sidebar-footer{padding-top:12px}.button{min-height:44px;font-size:13px;padding:10px 13px;gap:7px;border-radius:10px}.button.small{min-height:40px}.p-page{padding:14px 16px 22px}.p-page h1{font-size:21px;line-height:1.35;letter-spacing:-.5px;margin:0;font-weight:700}.p-page h2{font-size:17px;line-height:1.5;margin:0 0 8px}.p-page h3{font-size:14px}.p-page p{overflow-wrap:anywhere}.p-tabs{display:flex;gap:3px;border-radius:10px;padding:4px;background:#e9edf4;margin-bottom:16px}.p-tabs button{flex:1;min-width:0;min-height:38px;border:0;border-radius:7px;background:none;color:#6f7d92;font-size:12px;padding:5px 2px;white-space:nowrap}.p-tabs button.active{background:white;color:#233857;font-weight:650;box-shadow:0 1px 5px #17376312}.p-title{display:flex;justify-content:space-between;gap:9px;align-items:center;margin:0 0 14px}.p-title p{font-size:12px;color:#768398;margin:6px 0 0;line-height:1.6}.p-badge{display:inline-flex;align-items:center;white-space:nowrap;font-size:10px;padding:4px 7px;background:#edf2ff;color:#536fa9;border-radius:5px;line-height:1.5}.p-badge.amber{background:#fff2dc;color:#926c21}.p-card{border:1px solid #e3e8f0;border-radius:16px;overflow:hidden;background:white;margin-bottom:12px;box-shadow:0 3px 10px #27385803}.p-card-pad{padding:15px}.p-card-title{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 17px 0}.p-card-title small{font-size:9px;color:#8491a5;letter-spacing:1px}.p-card-title h1{margin-top:3px}.p-action{width:100%}.p-pair{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0}.p-caption{font-size:10px;color:#8a94a5;line-height:1.6;text-align:center;margin:9px 0}.p-body{font-size:13px;line-height:1.7;color:#728096;margin:6px 0 12px}.p-disclosure{border:1px solid #e4e9f1;background:#fff;border-radius:12px;margin-top:14px;overflow:hidden}.p-disclosure summary{display:flex;justify-content:space-between;align-items:center;padding:13px 14px;min-height:46px;font-size:12px;font-weight:600;list-style:none;cursor:pointer}.p-disclosure summary::-webkit-details-marker{display:none}.p-disclosure summary span{font-size:10px;font-weight:400;color:#8a95a5}.p-disclosure>div{padding:0 14px 14px;font-size:12px;color:#6e7b8f;line-height:1.8}.p-product-card{background:#f0f2f5}.p-product-stage{height:clamp(135px,25vh,220px);position:relative;display:flex;justify-content:center;overflow:hidden}.p-product-stage .product{height:100%;width:auto;aspect-ratio:1/2}.p-product-mark{position:absolute;left:17px;bottom:15px;display:flex;flex-direction:column;color:#8492a5}.p-product-mark strong{font-size:22px;font-weight:500}.p-product-mark small{font-size:11px}.p-product-mark>span{font-size:10px}.p-colors{display:flex;gap:7px;padding:4px 14px 12px}.p-colors button{flex:1;border:1px solid #dbe1e9;background:#ffffff85;border-radius:9px;font-size:11px;min-height:42px;display:flex;align-items:center;justify-content:center;gap:6px;padding:4px}.p-colors button.active{border-color:#7593e8;background:#fff;color:#3159e8}.p-colors i{width:16px;height:16px;border:1px solid #00000012;border-radius:50%}.p-product-footer{background:white;padding-top:10px}.p-product-footer p{margin:0 0 10px;font-size:11px;color:#8b95a6}.p-sheet-tabs{display:flex;padding:8px;gap:5px}.p-sheet-tabs button{flex:1;min-height:42px;padding:5px;border:0;background:#f1f4f8;font-size:10px;border-radius:7px}.p-sheet-tabs button.active{color:#3159e8;background:#eaf0ff}.p-drawing-preview{display:block;width:100%;padding:8px;border:0;background:#edf1f6;overflow:hidden}.p-drawing-preview .engineering-paper{min-width:0;width:100%;max-height:240px}.p-status-line{font-size:11px;color:#7d899b;margin-bottom:13px}.p-status-line i{display:inline-block;background:#d2a759;width:6px;height:6px;border-radius:50%;margin-right:6px}.p-step-list details{border-bottom:1px solid #e1e6ee;padding:12px 0}.p-step-list summary{display:flex;align-items:center;gap:10px;font-size:13px;list-style:none;min-height:40px}.p-step-list summary>span{color:#8296b3;font-size:11px}.p-step-list small{margin-left:auto;font-size:10px;color:#95a0b0}.p-step-list p{font-size:12px;color:#758298;padding-left:25px}.p-asset-grid{display:grid;grid-template-columns:1.1fr 1fr;grid-template-rows:repeat(2,115px);gap:9px;margin-bottom:15px}.p-asset-grid button{padding:0;border:1px solid #e1e6ed;border-radius:12px;overflow:hidden;background:white;text-align:left;position:relative}.p-asset-main{grid-row:span 2}.p-asset-main>div{height:183px;display:flex;justify-content:center;background:#f0f2f5}.p-asset-main>span{display:flex;flex-direction:column;padding:8px 12px}.p-asset-main b{font-size:12px}.p-asset-main small{font-size:10px;color:#8692a2;margin-top:2px}.p-asset-small img{display:block;width:100%;height:100%;object-fit:cover}.p-asset-small span{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#16283a90);color:white;font-size:11px;padding:20px 10px 8px}.p-detail>img,.p-store>img{display:block;width:100%;height:clamp(170px,30vh,250px);object-fit:cover}.p-detail h1,.p-store h1{margin:8px 0}.p-detail small,.p-store small{font-size:9px;letter-spacing:1px;color:#8d9cb0}.p-detail p,.p-store p{font-size:12px;color:#8190a4}.p-gift{display:flex;gap:12px;align-items:center;padding:12px;background:#f0f2f5}.p-gift-visual{height:240px;flex:1;display:flex;justify-content:center}.p-gift>div:last-child{flex:1}.p-gift h2{margin:12px 0}.p-gift p{font-size:12px;color:#8390a3;line-height:2}.p-listing-product{height:clamp(105px,21vh,170px);background:#f0f2f5;display:flex;justify-content:center;position:relative}.p-listing-product>span{position:absolute;left:14px;top:12px;color:#a4afbe;font-size:9px;letter-spacing:1.5px}.p-listing-preview h2{font-size:15px;margin:8px 0 4px}.p-price{font-size:14px;color:#3159e8;margin:0}.p-clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;margin:5px 0}.p-listing-preview .p-pair{margin-bottom:0}.p-video-card{border-radius:14px;overflow:hidden;background:#fff;border:1px solid #e0e6ef;margin-bottom:13px}.p-film{position:relative;height:clamp(185px,34vh,285px);background:#dce3e7;overflow:hidden}.p-film-image{height:100%;display:flex;justify-content:center}.p-film-image>img{width:100%;height:100%;object-fit:cover}.p-film-image>.product{width:40%;aspect-ratio:auto}.p-film-time{position:absolute;top:13px;left:13px;color:white;background:#1b2d435c;border-radius:5px;padding:3px 7px;font-size:10px}.p-film-caption{position:absolute;bottom:0;left:0;right:0;padding:35px 18px 18px;background:linear-gradient(transparent,#18263896);font-size:22px;font-weight:600;line-height:1.45;color:#fff}.p-film-play{position:absolute;right:16px;bottom:20px;border:1px solid #ffffff85;border-radius:50%;width:48px;height:48px;background:#ffffff26;backdrop-filter:blur(8px);color:#fff;font-size:19px}.p-shot-tabs{display:flex}.p-shot-tabs button{flex:1;min-height:54px;padding:8px 3px;font-size:10px;border:0;border-bottom:2px solid transparent;background:#fff;color:#8d98a9}.p-shot-tabs button span{display:block;font-size:9px}.p-shot-tabs button.active{border-bottom-color:#3159e8;color:#3159e8;background:#f4f7ff}
 .phone-chat #content{overflow:hidden;background:#fff}.p-conversation{height:100%;display:flex;flex-direction:column;min-height:0}.p-conversation-head{display:flex;align-items:center;gap:10px;padding:13px 16px;flex-shrink:0;border-bottom:1px solid #edf0f5}.p-ai-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#eaf0ff;color:#3159e8;font-size:15px;font-weight:650}.p-conversation-head h1{font-size:15px;line-height:1.5;margin:0}.p-conversation-head p{font-size:10px;color:#8593a6;margin:2px 0 0}.p-conversation-head p i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#6bbaa4;margin-right:5px}.p-icon-label{margin-left:auto;display:flex;align-items:center;gap:5px;border:0;background:#f4f6fa;border-radius:8px;font-size:10px;padding:8px;min-height:40px;color:#6d7c92}.p-icon-label svg{width:15px;height:15px}.p-chat-notice{flex-shrink:0;text-align:center;padding:6px 10px;background:#f9fafc;font-size:10px;color:#9aa3b3}.p-messages{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:17px 16px 14px}.p-message{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:16px}.p-message>small{font-size:10px;color:#93a0b1;margin:0 0 6px 2px}.p-message.user{align-items:flex-end}.p-message .bubble{max-width:92%;font-size:13px;line-height:1.9;padding:12px 14px;margin:0;background:#f0f3f8;border-radius:3px 13px 13px 13px;white-space:pre-line}.p-message .bubble.user{background:#3159e8;color:#fff;border-radius:13px 3px 13px 13px}.p-chat-starters{margin-top:20px}.p-chat-starters>span{display:block;font-size:11px;color:#96a0b1;margin-bottom:9px}.p-chat-starters button{display:flex;align-items:center;justify-content:space-between;width:100%;border:1px solid #e3e9f2;background:#fff;border-radius:10px;padding:10px 13px;font-size:12px;color:#506686;margin:7px 0;min-height:43px}.p-chat-starters svg{width:15px;height:15px;color:#92a5c4}.p-composer{flex-shrink:0;padding:8px 12px 12px;border-top:1px solid #e9edf4;background:#fff;box-shadow:0 -6px 18px #27395903}.p-quick-chips{display:flex;gap:6px;overflow:auto;scrollbar-width:none;margin-bottom:8px}.p-quick-chips button{border:1px solid #e6ebf3;background:#f7f9fc;min-height:32px;white-space:nowrap;border-radius:7px;font-size:10px;padding:4px 9px;color:#8190a5}.p-chat-form{display:flex;gap:8px;align-items:stretch}.p-chat-form input{width:0;flex:1;min-width:0;min-height:46px;border:1px solid #dde5ef;border-radius:10px;padding:10px 11px;background:#f8fafc;font-size:16px;outline-offset:-2px}.p-chat-form input::placeholder{font-size:12px;color:#9aa6b7}.p-chat-form .button{flex:0 0 74px;padding:10px;gap:5px;font-size:13px}.p-chat-form svg{width:15px}.editing-field .p-chat-notice{display:none}
 .p-section-line{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;gap:8px}.p-section-line h1{font-size:18px}.p-section-line h2{font-size:14px;margin:0}.p-section-line>span{font-size:9px;color:#8f9bab}.p-sales{background:linear-gradient(130deg,#edf3ff,#fff);border:1px solid #dfe7f5;border-radius:14px;padding:15px 17px 0;margin-bottom:17px;overflow:hidden}.p-sales>span{font-size:11px;color:#798a9f}.p-sales>strong{display:block;font-size:30px;font-weight:650;line-height:1.6;letter-spacing:-1px;color:#244276}.p-sales>div{display:flex;gap:15px;color:#8a99ad;font-size:10px}.p-sales svg{display:block;width:100%;height:45px;margin-top:6px}.p-task-list button{display:flex;gap:10px;align-items:center;width:100%;border:0;background:white;text-align:left;padding:13px 14px}.p-task-list button+button{border-top:1px solid #edf0f5}.p-task-list b{display:block;font-size:12px;font-weight:600}.p-task-list small{display:block;font-size:10px;color:#97a1b0;margin-top:2px}.p-task-list i{font-style:normal;margin-left:auto;color:#abb6c6}.p-task-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#eff3fd;color:#6483bc}.p-task-icon.amber{background:#fff6e7;color:#ba9b61}.p-task-icon svg{width:18px;height:18px}.p-channel-list>div{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #edf1f5}.p-admin-summary{display:flex;justify-content:space-between;gap:8px;background:#eaf0fa;border-radius:9px;font-size:10px;padding:11px 12px;margin-bottom:13px;color:#7c8ba2}.p-admin-summary b{font-weight:600;color:#425877;margin-left:5px}.p-approval-card .p-card-title{padding-top:13px}.p-quote{display:flex;gap:25px;margin:14px 0;border-bottom:1px solid #edf0f5;padding-bottom:13px}.p-quote>span{font-size:10px;color:#8b98aa}.p-quote strong{display:block;font-size:22px;line-height:1.8;color:#263b57;font-weight:600}.p-key-value{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;font-size:11px;margin:10px 0 18px;color:#94a0b0}.p-key-value b{font-weight:500;color:#60738c;text-align:right}.p-scope-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#eaf0ff;border:1px solid #dbe5fa;border-radius:12px;padding:12px 14px;margin-bottom:16px}.p-scope-summary>div{white-space:nowrap}.p-scope-summary strong{font-size:24px;color:#3159e8;margin-right:8px}.p-scope-summary span{font-size:11px;color:#8494ac}.p-scope-summary .button{width:auto;min-width:110px}.p-scope-list{border:1px solid #e4e9f0;border-radius:14px;overflow:hidden;background:#fff}.p-scope-list label{display:flex;gap:12px;padding:15px 14px;align-items:center}.p-scope-list label+label{border-top:1px solid #edf0f5}.p-scope-list input{width:19px;height:19px;accent-color:#3159e8;flex-shrink:0}.p-scope-list b{display:block;font-size:12px;font-weight:600}.p-scope-list small{display:block;font-size:10px;color:#8d99aa;margin-top:3px}
 /* Shared operational drill-downs become labeled record cards. */
 .ops-two,.ops-metrics,.ops-integration-grid,.ops-process{grid-template-columns:1fr}.ops-panel-head{padding:15px;gap:8px;flex-wrap:wrap}.ops-panel-head h2{font-size:16px}.ops-panel-head p{font-size:11px}.ops-panel-head .button{font-size:11px}.ops-filter{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px}.ops-filter label,.ops-filter input,.ops-filter select{min-width:0;width:100%}.ops-filter .ops-search,.ops-filter>.button{grid-column:1/-1}.ops-filter label{font-size:11px}.ops-table-wrap{overflow:visible}.mobile-record-table{display:block;width:100%;min-width:0}.mobile-record-table thead{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}.mobile-record-table tbody{display:block;padding:0 12px 12px}.mobile-record-table tbody tr{display:grid;grid-template-columns:1fr 1fr;gap:10px;border:1px solid #e4e9f1;border-radius:12px;padding:13px;margin-bottom:10px;background:#fff}.mobile-record-table tbody td{display:block;padding:0;border:0;font-size:12px;min-width:0;overflow-wrap:anywhere;white-space:normal}.mobile-record-table td:before{content:attr(data-column);display:block;color:#99a4b4;font-size:10px;margin-bottom:4px}.mobile-record-table td:first-child,.mobile-record-table td[data-column="商品"],.mobile-record-table td[data-column="操作"],.mobile-record-table.two-column-record td:last-child,.mobile-record-table td[data-column="建议操作范围"],.mobile-record-table td[data-column="数量与定制"],.mobile-record-table td[data-column="报价草稿"]{grid-column:1/-1}.mobile-record-table td[data-column="操作"] .text-link{min-height:40px;border:1px solid #dbe4f6;border-radius:8px;padding:6px 12px;margin-right:5px;font-size:12px}.ops-product-mini{min-width:0}.ops-product-mini .product{height:58px}.ops-rule,.ops-form{padding:14px}.ops-integration-grid article{padding:16px}.ops-rule{font-size:12px}.ops-demo-note{font-size:11px}.ops-empty{font-size:12px}.field{margin-bottom:14px}.field input,.field select,.field textarea,.ops-filter input,.ops-filter select{font-size:16px;min-height:44px}.field-title{font-size:12px}.field-grid{gap:10px}.micro-note,.body-copy{font-size:12px}.material-note{padding:15px;gap:10px}.material-note h3{font-size:14px}.material-note p{font-size:12px}.ops-process>div{padding:16px}.toast{bottom:calc(var(--phone-nav-height) + 12px);font-size:12px;max-width:calc(100vw - 32px);width:max-content;padding:10px 14px;z-index:50}.editing-field .toast{bottom:12px}dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(var(--app-height,100dvh) - 24px);padding:48px 18px 22px;margin:auto;border-radius:16px}dialog .dialog-close{width:44px;height:44px;top:4px;right:6px}.ops-dialog h2{font-size:19px;margin:6px 0 18px}.ops-dialog p{font-size:13px}.ops-dialog .eyebrow{font-size:9px}.ops-dialog .ops-form{padding:0}.ops-dialog .ops-form>.button{width:100%}#preview-dialog:has(.cad-viewer){width:100vw;max-width:100vw;height:var(--app-height,100dvh);max-height:var(--app-height,100dvh);border-radius:0;padding:52px 12px 15px}.cad-viewer-tools{padding:0 0 12px;gap:6px}.cad-viewer-tools h2{width:100%;font-size:17px;margin-bottom:4px}.cad-viewer-tools .button{min-height:44px;font-size:12px;padding:8px 10px}.engineering-expanded{width:100%;height:calc(var(--app-height,100dvh) - 220px);max-height:none;touch-action:pan-x pan-y pinch-zoom;overscroll-behavior:contain;background:#eef2f7;border-radius:7px}.engineering-expanded .engineering-paper{width:var(--sheet-zoom,100%);min-width:0;max-width:none}.cad-viewer-help{font-size:11px;line-height:1.8}
}
@media(max-width:350px){.p-page{padding:12px}.topbar{padding:0 8px}.breadcrumb #crumb{font-size:12px}.p-title h1{font-size:19px}.p-title{gap:5px}.p-title p{font-size:11px}.p-badge{font-size:9px}.p-card-pad{padding:12px}.p-card-title{padding:13px 13px 0}.p-product-stage{height:130px}.p-asset-grid{grid-template-rows:repeat(2,105px)}.p-asset-main>div{height:165px}.p-video-card .p-film{height:175px}.p-listing-product{height:105px}.p-listing-preview h2{font-size:14px}.p-quote{margin:10px 0;padding-bottom:8px}.p-quote strong{font-size:20px}.p-approval-card .p-key-value{margin:8px 0 12px}.p-sales{padding:12px 14px 0}.p-sales svg{height:35px}.p-task-list button{padding:11px}.p-composer{padding:7px 10px 10px}.p-tabs{margin-bottom:12px}.p-tabs button{font-size:11px}.p-action{font-size:12px}}
@media(prefers-reduced-motion:reduce){.sidebar,.button{transition:none}}
/* Compact browser windows (e.g. WeChat chrome) still keep the first action in view. */
@media(max-width:720px) and (max-height:620px){.p-tabs{margin-bottom:10px}.p-title{margin-bottom:10px}.p-title p{margin-top:4px}.p-listing-product{height:92px}.p-listing-preview .p-card-pad{padding:12px}.p-sales{padding:10px 14px 0;margin-bottom:12px}.p-sales>strong{font-size:27px}.p-sales svg{height:25px;margin-top:3px}.p-task-list button{padding:10px 12px}.p-section-line{margin-bottom:8px}.p-admin-summary{padding:8px 10px;margin-bottom:10px}.p-approval-card .p-card-pad{padding:12px}.p-approval-card .p-card-title{padding-top:10px}.p-quote{margin:8px 0;padding-bottom:7px}.p-quote strong{font-size:20px;line-height:1.6}.p-approval-card .p-key-value{margin:8px 0 12px;gap:6px 10px}}
