/* Shared dialog structure: fixed title/actions, scrollable content. */
html:root body .el-overlay-dialog{padding:16px!important;box-sizing:border-box;overflow:hidden!important}
html:root body .el-dialog{display:flex!important;flex-direction:column!important;padding:0!important;margin:0!important;min-width:0;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 32px)!important;overflow:hidden!important;border:2px solid #fff!important;border-radius:18px!important;background:#f7fcff!important;box-sizing:border-box;box-shadow:0 6px 0 #15587c,0 22px 60px #10365145!important}
html:root body .el-dialog .el-dialog__header{position:relative!important;flex:none!important;margin:0!important;padding:18px 100px 18px 20px!important;min-height:64px!important;box-sizing:border-box!important;border:0!important;border-bottom:3px solid #ffd252!important;border-radius:0!important;background:linear-gradient(110deg,#1466b4,#159acb)!important;background-image:linear-gradient(110deg,#1466b4,#159acb)!important}
html:root body .el-dialog .el-dialog__title{display:block!important;font-size:19px!important;line-height:1.35!important;font-weight:850!important;color:#fff!important;text-shadow:none!important;overflow-wrap:anywhere}
html:root body .el-dialog .el-dialog__header::after{right:58px!important;bottom:14px!important;width:34px!important;height:34px!important;background-size:contain!important}
html:root body .el-dialog .el-dialog__headerbtn{position:absolute!important;top:14px!important;right:14px!important;width:34px!important;height:34px!important;border-radius:9px!important;background:#ffffff24!important;display:grid!important;place-items:center!important}
html:root body .el-dialog .el-dialog__headerbtn .el-dialog__close{color:white!important;font-size:21px!important}
html:root body .el-dialog .el-dialog__headerbtn:focus-visible{outline:2px solid #fff;outline-offset:2px}
html:root body .el-dialog .el-dialog__body{flex:1 1 auto!important;min-height:0!important;min-width:0;padding:18px 20px!important;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;box-sizing:border-box;line-height:1.5;color:#294d67!important}
html:root body .el-dialog .el-dialog__footer{flex:none!important;display:flex!important;align-items:center;justify-content:flex-end;gap:10px!important;flex-wrap:wrap;margin:0!important;padding:14px 20px!important;border-top:1px solid #ccdfeb!important;background:#edf7fc!important;box-sizing:border-box}
html:root body .el-dialog .el-dialog__footer>*{margin:0!important}
html:root body .el-dialog .el-dialog__footer .checkout-button.primary{flex:none!important}
html:root body .el-dialog .el-form-item{min-width:0;margin-bottom:16px!important}
html:root body .el-dialog .el-form-item__label{height:auto!important;line-height:1.5!important;padding:0 0 7px!important;margin:0!important;font-size:13px!important;font-weight:700!important;color:#305c76!important;white-space:normal}
html:root body .el-dialog .el-form-item__content{min-width:0;line-height:normal!important}
html:root body .el-dialog .el-input__wrapper{min-height:40px!important;box-sizing:border-box}
html:root body .el-dialog .el-input-number .el-input__wrapper{min-height:38px!important}
html:root body .runner-checkout-dialog .el-dialog__header{padding-right:64px!important}
html:root body .runner-checkout-dialog .el-dialog__header::after{display:none!important}
html:root body .runner-checkout-dialog .runner-checkout{display:flex;flex-direction:column;gap:12px;min-width:0}
html:root body .runner-checkout-dialog .runner-checkout>.checkout-amount,
html:root body .runner-checkout-dialog .runner-checkout>.checkout-quantity-grid,
html:root body .runner-checkout-dialog .runner-checkout>.checkout-caption{margin:0!important}
html:root body .checkout-generate .checkout-quantity-grid{gap:12px!important}
html:root body .checkout-generate .checkout-quantity-grid .el-form-item{margin:0!important}
html:root body .checkout-generate .checkout-amount{min-height:66px;box-sizing:border-box}
html:root body .checkout-child .child-account-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;margin-bottom:16px}
html:root body .checkout-child .child-tier-field{grid-column:1/-1;min-width:0}
html:root body .checkout-child .child-tier-field>label{display:block;font-size:13px;font-weight:700;color:#305c76;margin-bottom:8px}
html:root body .checkout-child .child-select{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0!important}
html:root body .checkout-child .child-select button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;position:relative;white-space:normal!important;min-width:0;padding:10px 8px!important;border:1px solid #bcd7e8!important;border-radius:9px!important;background:#fff!important;color:#305c76!important;box-shadow:none!important;font-size:12px;line-height:1.5}
html:root body .checkout-child .child-select button.active{background:#e2f4ff!important;border:2px solid #1688c5!important;padding:9px 7px!important;color:#096695!important}
html:root body .checkout-child .child-select button strong{display:block;font-size:19px;font-variant-numeric:tabular-nums;color:#825510}
html:root body .checkout-child .el-dialog__footer{display:block!important}
html:root body .checkout-child .el-dialog__footer .checkout-channels{margin:0!important}
html:root body .checkout-child .el-dialog__footer .checkout-caption{margin:8px 0 0!important}
html:root body .el-dialog .v1-console-entry{display:flex;flex-direction:column;gap:16px}
html:root body .el-dialog .v1-console-entry section{padding:0 0 16px!important;border-bottom:1px solid #cddfea;min-width:0}
html:root body .el-dialog .v1-console-entry section:last-child{border:0;padding-bottom:0!important}
html:root body .el-dialog .v1-console-entry h3{margin:0 0 10px;font-size:14px;color:#285b79}
html:root body .el-dialog .v1-console-entry p{margin:10px 0 0;line-height:1.5}
html:root.zw-desktop body .el-dialog{border-color:#d6e4ee!important;box-shadow:0 20px 85px #15395133!important;border-radius:14px!important}
html:root.zw-desktop body .el-dialog .el-dialog__header{background:#f1f8fd!important;border-bottom-width:2px!important}
html:root.zw-desktop body .el-dialog .el-dialog__title{color:#234f6d!important}
html:root.zw-desktop body .el-dialog .el-dialog__headerbtn{background:#e2edf5!important}
html:root.zw-desktop body .el-dialog .el-dialog__headerbtn .el-dialog__close{color:#3c6680!important}
@media(max-width:540px){
 html:root body .el-overlay-dialog{padding:12px!important}
 html:root body .el-dialog{max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;border-radius:16px!important}
 html:root body .el-dialog .el-dialog__header{padding:16px 92px 16px 16px!important;min-height:60px!important}
 html:root body .el-dialog .el-dialog__title{font-size:18px!important}
 html:root body .el-dialog .el-dialog__headerbtn{top:11px!important;right:11px!important}
 html:root body .el-dialog .el-dialog__body{padding:16px!important}
 html:root body .el-dialog .el-dialog__footer{padding:12px 16px!important;gap:8px!important}
 html:root body .checkout-child .child-account-form{gap:0 10px}
 html:root body .checkout-child .child-select{gap:6px}
 html:root body .checkout-child .child-select button{font-size:11px}
}
@media(prefers-reduced-motion:reduce){html:root body .el-dialog,html:root body .el-overlay-dialog{animation:none!important}}

html:root body .checkout-child .child-select button>span{font-size:10px;line-height:1.2;color:#096695}
html:root body .checkout-child .child-select button:not(.active)::after{content:"点击选择";font-size:10px;line-height:1.2;color:#6c8594}
