.hero-description{white-space:pre-line}
.request-options:has(input:disabled){opacity:.7}
.development-page button:disabled{cursor:not-allowed}
.quote-tabs button:last-child{margin-left:0}
.quote-tabs [data-action="store"]{margin-left:auto}
.button.primary:hover{background:color-mix(in srgb,var(--blue),black 15%)}
.company-logo{width:44px;height:44px;object-fit:contain}
.service-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.engineer-note{white-space:pre-line}
.inquiry-box{padding:28px 32px;margin-bottom:12px;border-radius:12px;box-shadow:0 12px 36px #153e7210}
#quote-panel .field-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:end}
#quote-panel .quote-submit{grid-column:1/-1;justify-self:end;min-width:210px;height:46px;margin-top:4px}
#quote-panel .field-grid label,#quote-panel .field-label,#quote-panel legend{font-size:13px;color:#42566f}
#quote-panel input,#quote-panel .select-trigger{height:46px;border-radius:7px}
#quote-panel .layer-field{margin:0;padding:0;border:0;min-width:0}
#quote-panel .layer-options{min-height:46px;align-items:center}
.quote-foot{color:#52647b;font-size:12px;gap:24px;line-height:1.8}
.inquiry-heading p{color:#52647b}.factory-section{align-items:stretch}.factory-copy{align-self:center}
.case-photo img,.case-card img,.case-gallery img{aspect-ratio:16/10;object-fit:cover;border-radius:8px}
.ability-group-row th{background:#edf4fc;color:#23496f;padding:16px 20px!important;font-size:15px}.project-image img{aspect-ratio:16/10;object-fit:cover}.project-facts{display:grid;gap:8px;margin:16px 0;color:#52647b;font-size:12px}.project-facts div{padding-top:8px;border-top:1px solid #e5ecf4}.project-facts dt{font-weight:600;color:#263e59}.project-facts dd{margin:4px 0 0}
@media(max-width:767px){
 html:has(body[data-customer-page]),html:has(body[data-auth]),body[data-customer-page],body[data-auth]{min-width:0!important;width:100%;overflow-wrap:anywhere}
 body[data-customer-page] .container,body[data-auth] .container{width:calc(100% - 28px);min-width:0}
 .account-header{height:auto;min-height:76px;gap:10px;flex-wrap:wrap;padding:14px 0}.account-header .header-label{display:none}.account-header .brand strong,.auth-header .brand strong{font-size:18px;letter-spacing:.5px}.account-header>div{gap:14px}.account-layout{display:block;margin-top:12px}.account-identity,.sidebar-help{display:none}.account-sidebar nav{display:flex;overflow-x:auto;padding:6px}.account-sidebar nav a{flex-shrink:0;padding:10px 12px;font-size:12px;border:0}.account-sidebar{margin-bottom:20px}#account-content h1{font-size:23px}
 .customer-list-controls{padding:14px}.customer-list-search{gap:8px;flex-wrap:wrap}.customer-list-search label{flex-basis:100%}.customer-filter-options>span{min-width:100%}.customer-filter-options{gap:6px}.customer-filter-options button{font-size:12px;padding:7px 9px}
 .customer-request-layout{display:block}.request-title{display:block;padding:20px 0}.request-title h1{font-size:24px}.request-guide-link{display:inline-block;margin-top:14px}.request-steps li{padding:14px 8px;font-size:12px}.request-block{padding:18px}.request-field{margin-top:18px}.request-submit-bar{flex-wrap:wrap;gap:12px}.request-submit-bar .button{width:100%}.customer-help{margin-top:18px}.request-service-image{max-width:100%}.customer-parameters{min-width:0}.request-contact{grid-template-columns:1fr!important}
 .auth-layout{display:block;padding:24px 0;min-height:0}.auth-intro{display:none}.auth-card{padding:24px!important}.auth-header{gap:12px}.auth-header>a:last-child{font-size:12px}.auth-captcha{grid-template-columns:minmax(0,1fr) 128px;gap:10px}.auth-captcha img{width:118px}.auth-options{gap:12px;flex-wrap:wrap}
 .workflow-panel{margin:18px 0}.wf-hero{min-height:0;padding:18px;gap:10px}.wf-hero>img{width:82px;height:70px}.wf-hero h3{font-size:18px}.wf-origins,.wf-metrics,.wf-route{grid-template-columns:1fr;padding:14px;gap:12px}.wf-overview{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:8px}.wf-next{margin:0 14px 14px;flex-wrap:wrap}.wf-next-action{margin:0}.wf-logistics,.wf-confirmation-history{margin:14px;padding:14px}.wf-task-top{align-items:flex-start;flex-wrap:wrap}.wf-confirmation-thread>div{grid-template-columns:1fr;gap:4px}.wf-route-controls{flex-wrap:wrap}.wf-selection{flex-wrap:wrap}
 body[data-customer-page] .quote-section,body[data-customer-page] .project-section,body[data-customer-page] .materials-section{padding:14px;min-width:0}.quote-lines,.quote-table-wrap{overflow:auto;max-width:100%}.quote-line-fields{grid-template-columns:1fr!important}.customer-actions{gap:8px}.customer-actions button{max-width:100%}.security-panel{padding:20px}.security-panel input{max-width:100%}
 body[data-customer-page="inquiry"] #request-review{width:calc(100% - 20px);max-width:calc(100% - 20px)}.review-header,.review-footer,body[data-customer-page="inquiry"] #review-content{padding:16px}.review-grid,.review-contact-grid{grid-template-columns:1fr!important}.review-data>div{grid-template-columns:1fr;gap:6px}.confirm-action{width:calc(100% - 24px);max-width:calc(100% - 24px);padding:20px}
 body[data-customer-page="inquiry"] .brand-row{height:auto;min-height:78px;flex-wrap:wrap;padding:12px 0;gap:10px}body[data-customer-page="inquiry"] .brand-message{display:none}body[data-customer-page="inquiry"] .header-actions{gap:10px;flex-wrap:wrap;margin:0}body[data-customer-page="inquiry"] .main-nav{overflow-x:auto;gap:20px;font-size:12px}body[data-customer-page="inquiry"] .footer-main{grid-template-columns:1fr;gap:18px}body[data-customer-page="inquiry"] .footer-bottom{flex-wrap:wrap;gap:10px}body[data-customer-page="inquiry"] .side-tools{display:none}
}

/* ---------- 头部登录状态：未登录展示登录/注册，已登录展示账号名与退出 ---------- */
.header-account{display:inline-flex;align-items:center;gap:10px;font-size:13px;color:#7c8b9e;white-space:nowrap}
.header-hint{display:inline-flex;align-items:center;gap:7px;max-width:280px;overflow:hidden;text-overflow:ellipsis}
.header-hint.is-member{color:#2c4258;font-weight:600}
.header-hint.is-member:before{content:attr(data-initial);flex:none;width:24px;height:24px;border-radius:50%;background:var(--blue);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}
.header-auth-links{display:inline-flex;align-items:center;gap:10px}
.header-auth-links a{color:#2e6fb8}
.header-auth-links a:hover{color:var(--blue)}
.header-logout{font-size:13px;color:#5c7492;padding:0}
.header-logout:hover{color:var(--blue)}
.header-logout:disabled{opacity:.5;cursor:wait}
@media(max-width:767px){
 /* ---------- P1-1 修复：全站移动端头部适配 ----------
    此前该组规则只写给 home / 客户询价页，业务页与内容页无断点，
    390px 视口下整页横向溢出约 404px。以下为全局收口。 */
 html,body{min-width:0!important;width:100%}
 .container{width:calc(100% - 28px);min-width:0}
 .brand-row{height:auto;min-height:78px;flex-wrap:wrap;padding:12px 0;gap:12px}
 .brand-mark{width:34px;height:34px;font-size:29px;line-height:34px}
 .brand strong{font-size:18px;letter-spacing:0}
 .brand small{font-size:8px;letter-spacing:0}
 .brand-message{display:none}
 .header-actions{gap:10px;flex-wrap:wrap;margin-left:auto}
 .header-actions>a{font-size:11px}
 .header-actions .button{padding:8px 10px;font-size:11px;min-height:34px;border-radius:7px}
 .main-nav{width:100%;height:46px;gap:20px;overflow-x:auto;padding:0 16px;font-size:12px;scrollbar-width:none}
 .main-nav>*{flex-shrink:0;white-space:nowrap}
 .main-nav .nav-spacer{display:none}
 /* ---------- P1-1 续：正文组件的小屏适配 ---------- */
 /* 工艺页签（胶囊组）窄屏内滚动 */
 .stage-tabs{max-width:100%;overflow-x:auto}
 /* 规格表允许横向滚动，不再把整页撑开 */
 .dev-table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
 /* 服务支持 / 指南 / 案例：双栏收成单栏，目录跟随正文 */
 .support-hero,.support-layout,.guide-layout,.questions-layout{grid-template-columns:1fr}
 .guide-outline{position:static;border-left:0;padding-left:0}
 /* 开发页表单区：300px 侧栏 + 表格的网格在窄屏收成单栏，表单不再被压扁 */
 .request-layout,.deliverable-layout,.project-detail-body{grid-template-columns:1fr;gap:0}
 /* 图片轮播：窗口裁剪滑出屏外的幻灯片，箭头收进窗内 */
 .deck-window{overflow:hidden}
 .deck-arrow-prev{left:0}.deck-arrow-next{right:0}
 .footer-main{grid-template-columns:1fr;gap:18px}
 .footer-bottom{flex-wrap:wrap;gap:10px}
 /* 头部登录区与次要入口的小屏处理 */
 .header-account{gap:6px}.header-auth-links{gap:8px}
 /* 小屏收起次要入口：保留 登录/注册 与 提交询价，联系工程师走底部与服务工具条 */
 .header-actions{gap:10px}
 .header-actions .text-button,.header-actions .button{white-space:nowrap}
 .header-actions .vertical-line,.header-actions>[data-action="contact"],.header-actions>a[href="/account"]{display:none}
}
