/* AP WINGS Orders Manager portal integration. Scoped to relevant shortcode pages. */
body:has(.apw-quotes),body:has(.apw-customer-orders){overflow-x:clip}
.apw-quotes,.apw-customer-orders{font-family:inherit;color:#10284a;max-width:1100px!important;margin:0 auto!important;padding:clamp(18px,3vw,36px)!important}
.apw-quotes h2,.apw-customer-orders h2{color:#10284a;font-weight:800;line-height:1.2}
.apw-quotes .apw-q-card{border:1px solid #e3d0a0!important;border-radius:16px!important;box-shadow:0 12px 32px rgba(10,34,66,.08)!important;overflow-wrap:anywhere}
.apw-quotes button,.apw-customer-orders button{background:linear-gradient(110deg,#f2c44b,#bd8613)!important;color:#10284a!important;border:0!important;border-radius:9px!important;font-weight:750!important;min-height:42px}
.apw-quotes textarea,.apw-quotes input,.apw-customer-orders textarea,.apw-customer-orders input{max-width:100%;box-sizing:border-box}
.apw-quotes a,.apw-customer-orders a{overflow-wrap:anywhere}
@media(max-width:767px){.apw-quotes,.apw-customer-orders{padding:14px!important}.apw-quotes .apw-q-card{padding:16px!important}.apw-quotes button{margin:4px 4px 4px 0}}

/* v1.0.0-rc3: quotation cards styled like spacious My Orders cards. */
.apw-quotes{width:100%!important;max-width:none!important;padding:clamp(12px,2vw,26px)!important;box-sizing:border-box!important}
.apw-quotes .apw-quote-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.apw-quotes .apw-q-card{min-width:0;margin:0!important;padding:22px!important;overflow-wrap:anywhere;word-break:normal}
.apw-quotes .apw-q-card h3{font-size:clamp(17px,1.4vw,21px);line-height:1.35;overflow-wrap:anywhere;margin:0 0 12px}
.apw-quotes .apw-q-card form{max-width:100%}
.apw-quotes .apw-q-card button{display:inline-block;min-width:155px;margin:4px 7px 4px 0!important}
@media(max-width:850px){.apw-quotes .apw-quote-grid{grid-template-columns:1fr}.apw-quotes .apw-q-card{padding:18px!important}}
