/* Payment configuration and order operations share the existing workspace theme. */
.commerce-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 22px}
.commerce-summary article{padding:19px 21px;background:#fff;border:1px solid var(--line);border-radius:10px;display:grid;grid-template-columns:1fr auto;gap:10px 12px;align-items:center}
.commerce-summary article>span{font-size:12px;color:#52665a}
.commerce-summary strong{font-size:27px;color:var(--teal);font-variant-numeric:tabular-nums;line-height:1}
.commerce-summary small{grid-column:1/-1;color:#738177;font-size:10px;line-height:1.7}
.commerce-order .order-card-title{flex-wrap:wrap;gap:8px}
.commerce-order .order-card-title>strong{font-size:13px;margin-right:4px;overflow-wrap:anywhere}
.commerce-order .order-items{align-content:start}
.commerce-order .order-item{font-size:12px}
.commerce-order .order-shipping{font-size:12px}
.commerce-order .order-shipping strong{font-size:12px}
.commerce-order .cell-sub{font-size:10px}
.commerce-order .badge{font-size:10px}
.order-financial-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:21px;border:1px solid var(--line);background:#f8faf5;border-radius:8px;padding:17px}
.order-financial-grid>div{min-width:0}
.order-financial-grid span{display:block;font-size:10px;color:#6d8071;margin-bottom:9px}
.order-financial-grid strong{font-size:14px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.order-financial-grid .payment-amount strong{color:var(--teal)}
.commerce-caption{font-size:11px;color:#718271;margin:11px 0;line-height:1.8}
.payment-report-box,.shipment-box{margin-top:15px;padding:16px 18px;border:1px solid #e2e8da;border-radius:8px;background:#fbfcf8;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.payment-report-box{background:#fffaf0;border-color:#eee1bf}
.payment-report-box strong{color:#785c2c}
.payment-report-box p{white-space:pre-wrap;margin:7px 0;color:#5f573f}
.payment-report-box small,.shipment-box small{font-size:11px;color:#7e8375}
.shipment-box>span{font-size:10px;color:#748673;display:block;margin-bottom:5px}
.shipment-box p{margin:6px 0}
.shipment-box b{font-weight:500;font-variant-numeric:tabular-nums}
.commerce-operation{border:1px solid var(--line);border-radius:9px;margin-top:15px;background:#fff;overflow:hidden}
.commerce-operation>summary{padding:15px 17px;color:#315443;font-size:12px;font-weight:600;cursor:pointer;line-height:1.8}
.commerce-operation>summary::marker{color:#6d9274}
.commerce-operation>summary>small{float:right;font-size:10px;font-weight:400;color:#7d8d7e;margin-left:12px}
.commerce-operation[open]>summary{background:#f2f6ec;border-bottom:1px solid var(--line)}
.payment-operation[open]>summary{background:#f9f3e5}
.commerce-form{padding:18px}
.commerce-hint{font-size:11px;color:#6d7e70;line-height:1.9;margin:0 0 17px}
.commerce-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 14px}
.commerce-form[data-order-form="quote"] .commerce-fields,.commerce-form[data-order-form="ship"] .commerce-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.commerce-form label,.payment-method-card label{font-size:12px;line-height:1.6;margin:0;min-width:0;color:#3e5b49}
.commerce-form label>input,.commerce-form label>select,.commerce-form label>textarea,.payment-method-card label>input,.payment-method-card label>textarea{display:block;width:100%;margin-top:8px;min-height:40px;font-family:inherit;font-size:12px;padding:10px 11px;background:#fff}
.commerce-form input[readonly]{background:#f1f5ef;color:#657a69;border-color:#e0e7db}
.commerce-form textarea,.payment-method-card textarea{min-height:76px;resize:vertical;line-height:1.8}
.commerce-form label>small,.payment-method-card label>small{display:block;margin-top:6px;color:#788879;font-size:10px;font-weight:400;line-height:1.7}
.commerce-wide{grid-column:1/-1}
.currency-input{text-transform:uppercase;font-variant-numeric:tabular-nums}
.commerce-form-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding-top:16px;border-top:1px solid #edf0e9}
.commerce-form-footer>span{font-size:10px;color:#71816f;line-height:1.8;max-width:68%}
.commerce-form-footer .button{flex-shrink:0;min-height:36px;font-size:11px}
.commerce-check{margin:17px 0 0!important;padding:13px;background:#f7f9f3;border:1px solid #e6ecdf;border-radius:7px;font-size:11px!important;align-items:flex-start;line-height:1.8!important}
.commerce-check>input{display:block!important;width:16px!important;min-height:16px!important;height:16px;flex-shrink:0;margin:3px 0 0!important;padding:0!important;accent-color:var(--teal)}
.commerce-form-error{font-size:12px;color:#ad4739;line-height:1.8;margin-top:14px;background:#fff4ef;border-radius:6px;padding:11px 13px;overflow-wrap:anywhere}
.commerce-form-error[hidden]{display:none}
.commerce-status-note{margin-top:14px;padding:12px 14px;border-radius:7px;background:#fbf5e8;color:#8a6c37;line-height:1.8;font-size:11px}
.commerce-status-note a{color:var(--teal);text-decoration:underline;margin-left:5px}
.commerce-status-note.success{background:#eef6eb;color:#4b7750}
.commerce-next-step{font-size:11px;color:#71836f;line-height:1.8;flex:1}
.commerce-order .order-actions{width:auto;flex-shrink:0}
.commerce-order .order-history{font-size:11px}
.commerce-order .order-history>div{padding:9px 12px}
.commerce-order .order-history p{white-space:pre-wrap;margin:5px 0;color:#61765a}
.commerce-order[aria-busy="true"]{opacity:.65;pointer-events:none}
.payment-methods-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.payment-method-card{min-width:0;margin-bottom:17px}
.payment-method-card .panel-heading{padding:22px 20px;align-items:flex-start}
.payment-method-card .panel-body{padding:0 20px 21px;display:grid;gap:20px}
.payment-method-card h2{font-size:17px;margin-top:9px}
.commerce-eyebrow{font-size:8px;color:#8d9c86;letter-spacing:1.3px}
.payment-method-card .payment-toggle{display:flex;align-items:center;gap:7px;font-size:11px;margin-top:5px;white-space:nowrap}
.payment-toggle>input{width:16px!important;min-height:16px!important;height:16px;margin:0!important;accent-color:var(--teal)}
.payment-method-card .commerce-hint{font-size:10px;margin:0}
.payment-settings-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:7px 0 22px}
.payment-settings-footer p{font-size:12px;line-height:1.8;color:#6f836f}
.payment-settings-footer .button{flex-shrink:0}
@media(max-width:1200px){.commerce-summary{gap:10px}.commerce-summary article{padding:17px 15px}.commerce-summary small{font-size:9px}.payment-methods-grid{grid-template-columns:1fr}.payment-method-card .panel-body{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-method-card .panel-body>label:last-of-type,.payment-method-card .panel-body>.commerce-hint{grid-column:1/-1}.payment-method-card textarea{min-height:100px}}
@media(max-width:900px){.order-financial-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.commerce-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-operation>summary>small{float:none;display:block;margin:4px 0 0 15px}.commerce-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-order .order-card-footer{align-items:flex-start;flex-wrap:wrap}.commerce-next-step{min-width:180px}}
@media(max-width:700px){.commerce-summary article{padding:16px}.commerce-summary strong{font-size:25px}.commerce-summary small{font-size:10px}.commerce-form{padding:16px 13px}.commerce-fields,.commerce-form[data-order-form="quote"] .commerce-fields,.commerce-form[data-order-form="ship"] .commerce-fields{grid-template-columns:1fr}.commerce-form-footer{flex-direction:column;align-items:stretch;gap:12px}.commerce-form-footer>span{max-width:none}.commerce-form-footer .button{width:100%;min-height:42px}.commerce-order .order-actions{width:100%;justify-content:flex-end}.commerce-order .order-actions .button{min-height:38px}.commerce-next-step{font-size:11px}.payment-method-card .panel-body{grid-template-columns:1fr}.payment-settings-footer{align-items:stretch;flex-direction:column;gap:12px}.payment-settings-footer .button{min-height:44px}.order-financial-grid{padding:14px;gap:19px 12px}.order-financial-grid strong{font-size:13px}.commerce-order .order-item{font-size:11px}.commerce-order .order-card-title>strong{flex-basis:100%;margin-bottom:3px}.commerce-operation>summary{padding:14px}.commerce-operation>summary>small{font-size:10px}.commerce-order .order-card-time{font-size:11px}}
