/*
 * View 样式：compact order style。
 * 源码：frontend/src/views/styles/004-compact-order-style.css
 * 依赖：页面 DOM 的既有 class/id；加载位置由 frontend/src/modules.json 决定。
 * 维护：保留选择器作用域及层叠顺序；修改后构建并检查桌面/手机布局。
 */

#orderForm.compact-order{padding:16px 18px}
#orderForm.compact-order>.intro{margin:4px 0 10px}
#orderForm.compact-order .cargo{padding:12px;margin:8px 0}
#orderForm.compact-order .fields{margin-top:10px;gap:9px 14px}
#orderForm.compact-order input:not([type=checkbox]),#orderForm.compact-order select{padding:7px 10px;margin-top:3px;min-height:36px}
#orderForm.compact-order textarea{min-height:44px;height:44px;padding:6px 10px;margin-top:3px}
#orderForm.compact-order output{padding:7px 10px!important}
#orderForm.compact-order .secondary,#orderForm.compact-order .primary{padding:7px 12px;min-height:34px}
#orderForm.compact-order [data-save-preset]{margin-top:8px}
#orderForm.compact-order .new-address{margin-top:4px;padding:8px}
#orderForm.compact-order .form-bottom{padding-top:10px;margin-top:12px}
#orderForm.compact-order .error:empty{display:none}
#orderForm.compact-order .review-group{padding:9px 0;min-width:0}
#orderForm.compact-order .review-group h3{margin:0 0 4px}
#orderForm.compact-order .review-group p{line-height:1.45;overflow-wrap:anywhere}
#orderForm.compact-order .tip{margin-top:10px;padding:8px 10px}
#orderForm.compact-order .check{margin:8px 0}
.content:has(.compact-order){padding-top:16px;padding-bottom:12px}
.content:has(.compact-order) .page-heading{margin-bottom:12px}
.content:has(.compact-order) .steps{padding:12px 10px;margin-bottom:12px}
@media(min-width:600px){#orderForm[data-order-step="2"] .fields{grid-template-columns:repeat(3,minmax(0,1fr))}.review-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.review-grid>.review-group:nth-child(3){grid-column:1/-1}}
@media(max-width:850px){.content:has(.compact-order) h1{font-size:22px;margin:2px 0}.content:has(.compact-order) .eyebrow{display:none}.content:has(.compact-order) .steps{grid-template-columns:repeat(6,minmax(0,1fr));overflow:visible}.content:has(.compact-order) .step{flex-direction:column;gap:3px;text-align:center;padding:0;font-size:10px}.content:has(.compact-order) .step b{width:22px;height:22px}}
