.custom-process-dialog{position:fixed;inset:0 12px auto auto;margin:0;width:400px;max-width:100vw;height:calc(100dvh - 24px);max-height:100dvh;border:0;padding:0;background:#fff;color:#111;overflow:hidden;font-family:'Noto Sans SC',sans-serif}.custom-process-dialog::backdrop{background:#0006;backdrop-filter:blur(10px)}
.custom-process-body{height:calc(100% - 48px);overflow:auto;overscroll-behavior:contain;scrollbar-width:none}.custom-process-body::-webkit-scrollbar{display:none}
.custom-process-body>header{height:56px;padding:0 90px 0 24px;display:flex;align-items:center}.custom-process-dialog h2{font:700 12px/20px 'Noto Sans SC',sans-serif;margin:0}
.custom-process-close{position:absolute;top:0;right:0;height:56px;padding:6px 24px;display:flex;align-items:center;pointer-events:none}.custom-process-close button{pointer-events:auto;border:0;background:transparent;color:#000;font:400 12px/22px 'Noto Sans SC',sans-serif;padding:0}.custom-process-close button:active{background:#000;color:#fff}
.custom-process-intro{display:flex;flex-direction:column;gap:20px;padding:24px 24px 32px}.custom-process-intro p{margin:0;color:#474747;font-size:12px;line-height:19px;font-weight:400}.custom-process-intro p+p{margin-top:-20px}.custom-process-intro h3,.custom-process-step h3{margin:0;font-size:14px;font-weight:500;line-height:22px;color:#141414}
.custom-process-step{border-top:2px solid #c7c7c7;padding:24px 12px 32px;display:flex;flex-direction:column;align-items:center;gap:20px}.custom-process-step>h3,.custom-process-step>img{width:352px;max-width:100%}.custom-process-step>img{display:block;height:auto}.custom-process-copy{width:100%;color:#474747;font-size:12px;font-weight:350;line-height:22px}.custom-process-copy p{margin:0 0 8px;font:inherit}.custom-process-copy p:last-child{margin-bottom:0}.custom-process-copy .custom-process-emphasis{font-weight:700}
.custom-process-download{display:flex;gap:4px;align-items:center;width:100%;height:44px;border:0;border-radius:2px;background:#f2f2f2;color:#4d4d4d;padding:0 8px;font:400 max(10px,var(--uxen-copy-min,0px))/normal 'Noto Sans SC',sans-serif;text-align:left}.custom-process-download svg{width:12px;height:12px;flex:none}
@media(max-width:800px){.custom-process-dialog{right:0;width:100vw;height:calc(100dvh - 48px)}.custom-process-body{height:100%}.custom-process-body>header{padding-left:12px}.custom-process-close{padding-right:12px}.custom-process-intro{padding-left:12px;padding-right:12px}.custom-process-step{align-items:stretch}.custom-process-step>h3,.custom-process-step>img{width:100%}}
/* Formal stone-process photo 5362:3192 / 5362:3485 uses a cropped frame. */
.custom-process-step>img[src$="/stone-img3.webp"]{aspect-ratio:352 / 248.9486846923828;object-fit:cover}
@media(max-width:800px){.custom-process-step>img[src$="/stone-img3.webp"]{aspect-ratio:366 / 258.8500671386719}}

/* VIS-117: 当前正式定制说明文字角色，保留正文与业务工期。 */
.custom-process-dialog h2{color:#000}
.custom-process-intro>p:first-of-type,.custom-process-intro>h3:first-of-type{color:#0e0e0e}
.custom-process-dialog .custom-process-download,.custom-process-dialog .custom-process-download span{font:400 max(10px,var(--uxen-copy-min,0px))/12px 'Noto Sans SC',sans-serif}

/* Download cards share the five-hole specification reference. */
.custom-process-dialog .custom-process-download{width:190px;max-width:100%;height:40px;min-height:40px;gap:4px;padding:0 8px;color:#4d4d4d;background:#f2f2f2;border:0;border-radius:2px;font:400 max(10px,var(--uxen-copy-min,0px))/12px 'Noto Sans SC',sans-serif}
.custom-process-download>svg:first-child{fill:none;stroke:currentColor;stroke-width:1}
.custom-process-download>span{margin-left:auto;flex:none;width:22px}
.custom-process-download>svg:last-child{fill:none;stroke:currentColor;stroke-width:1;width:12px;height:12px;flex:none}

/* Touch-opened guides must not outline their automatically focused PDF control. */
@media(max-width:800px){
 .custom-process-dialog .custom-process-download:focus{outline:none;box-shadow:none}
 .custom-process-dialog .custom-process-download:focus-visible{outline:1px solid #777;outline-offset:-3px}
}
@media(max-width:800px) and (hover:none){
 .custom-process-dialog .custom-process-download:focus-visible{outline:none}
}
