/* Compact, scoped commercial workflows. Touch targets and all form content remain available. */
.commerce-page,.invoice-page,.editorial-page{--commerce-line:#e3e9df;--commerce-ink:#263328;--commerce-soft:#f6f8f3;--commerce-green:#396324;max-width:1120px;margin:0 auto;color:var(--commerce-ink)}
.commerce-form-page,.invoice-page,.editorial-page{max-width:940px}
.commerce-page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.commerce-page .hello,.invoice-heading,.editorial-heading{margin:8px 0 18px;padding:0}
.commerce-page h1,.invoice-heading h1,.editorial-heading h1{font-size:clamp(26px,2.6vw,33px);letter-spacing:-.04em;margin:2px 0 6px}
.commerce-page h2,.invoice-page h2,.editorial-page h2{font-size:17px;letter-spacing:-.02em;margin:0 0 10px}
.commerce-page h3{font-size:16px}
.commerce-page .lead,.invoice-page .lead,.editorial-page .lead{font-size:14.5px;color:#697068;margin:0;max-width:76ch;line-height:1.55}
.commerce-page .panel,.invoice-page .panel,.editorial-page .panel{background:#fff;border:1px solid var(--commerce-line);box-shadow:none;border-radius:12px;padding:18px}
.commerce-page .field,.invoice-page .field,.editorial-page .field{min-width:0;gap:5px}
.commerce-page .field>span,.invoice-page .field>span,.editorial-page .field>span{font-size:13.5px;font-weight:600;color:#354333;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.commerce-page input,.commerce-page select,.commerce-page textarea,.invoice-page input,.invoice-page select,.invoice-page textarea,.editorial-page input,.editorial-page select,.editorial-page textarea{font-size:16px;max-width:100%;min-height:44px;padding:9px 11px;border-radius:9px}
.commerce-page textarea,.invoice-page textarea,.editorial-page textarea{min-height:84px}
.commerce-page .form-grid,.invoice-page .form-grid,.editorial-page .form-grid{gap:12px 16px;align-items:start}
.commerce-page .button,.invoice-page .button,.editorial-page .button{min-height:44px;border-radius:9px;font-size:14px;white-space:normal;overflow-wrap:anywhere;padding:9px 14px}
.commerce-caption,.invoice-caption,.editorial-caption{font-size:13px!important;line-height:1.5!important;color:#5c655a!important;margin:5px 0}
.commerce-back,.commerce-text-link{display:inline-flex;align-items:center;min-height:44px;font-size:14.5px;color:#516649;text-decoration:none}
.commerce-period{display:flex;align-items:end;gap:10px;flex-shrink:0}
.commerce-period .field{margin:0}.commerce-period input{min-width:160px}
.commerce-balance{display:grid;grid-template-columns:1.1fr 1fr;gap:22px;margin-bottom:16px}
.commerce-balance-main{display:flex;flex-direction:column;gap:7px;padding:0}
.commerce-balance-main>span{font-size:14.5px;font-weight:600}
.commerce-balance-main>strong{font-size:clamp(32px,3.6vw,42px);line-height:1.1;letter-spacing:-.055em;font-weight:650}
.commerce-balance-main>small{font-size:13px;color:var(--muted,#6a6f64)}
.commerce-balance-other{border-left:1px solid var(--commerce-line);padding-left:22px;display:grid;gap:16px;align-content:center}
.commerce-balance-other>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.commerce-balance-other span{font-size:13.5px;color:#6b7466;max-width:24ch;line-height:1.5}
.commerce-balance-other strong{font-size:20px;white-space:nowrap;font-weight:600}
.commerce-section{margin-bottom:16px}.commerce-heading{gap:12px;align-items:center;margin:0 0 10px}.commerce-heading h2,.commerce-heading h3{margin-bottom:0}.commerce-heading>a:not(.button){font-size:13.5px;white-space:normal;line-height:1.4;color:var(--commerce-green);min-height:44px;display:inline-flex;align-items:center}
.commerce-ledger article>div>a{display:inline-flex;align-items:center;min-height:44px;font-size:13.5px;font-weight:650;color:var(--commerce-green);text-decoration:underline;text-underline-offset:3px}.commerce-ledger article>div>a::after{content:'\00a0→'}
.commerce-ledger article{padding:12px 0;border-color:var(--commerce-line)}.commerce-ledger article>div{min-width:0}.commerce-ledger article>div>p{font-size:13px;margin:4px 0}.commerce-ledger article>strong{white-space:nowrap;font-size:16px}
.commerce-empty{padding:16px 4px;color:#6c7568;line-height:1.55}.commerce-empty h3{font-weight:600;color:#3a4935;margin:0 0 8px}.commerce-empty p{margin:0;max-width:62ch}
.commerce-count{display:inline-flex;align-items:center;justify-content:center;border-radius:7px;background:var(--commerce-soft);color:#66735f;font-size:13.5px;min-width:28px;min-height:28px}
.commerce-service{padding:13px 0;gap:16px;color:inherit;border-color:var(--commerce-line);text-decoration:none}.commerce-service:hover{background:#fafbf8}.commerce-service-main{display:grid!important;gap:4px;min-width:0}.commerce-service-main>strong{font-size:16px}.commerce-service-main>.commerce-caption{margin:0}.commerce-service-end{display:grid;gap:7px;text-align:right;flex-shrink:0}.commerce-service-end>strong{font-size:17px;font-weight:600}.commerce-service-end>small{font-size:13.5px;color:var(--commerce-green)}
.commerce-status,.invoice-status{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border-radius:7px;background:#f1f4ed;color:#526248;font-size:12px;font-weight:600;line-height:1.35;width:max-content;max-width:100%}
.commerce-links{display:flex;gap:18px;flex-wrap:wrap}.commerce-links a{font-size:14px;min-height:44px;display:inline-flex;align-items:center}
.commerce-form{display:grid;gap:14px}.commerce-form-section{display:grid;gap:12px}.commerce-form-section h2{margin-bottom:0}.commerce-save{display:flex;align-items:center;gap:14px;padding-top:4px;flex-wrap:wrap}.commerce-save>span{font-size:13px;line-height:1.5;color:#6b7466}.commerce-save>a{font-size:14.5px}
.commerce-disclosure,.invoice-optional,.editorial-references{border-top:1px solid var(--commerce-line,#e3e9df);padding:0;background:transparent}
.commerce-disclosure>summary,.invoice-optional>summary,.editorial-references>summary{padding:11px 0;font-size:14px;font-weight:600;cursor:pointer;line-height:1.5;min-height:44px;white-space:normal;overflow-wrap:anywhere;color:#3e5036}
.commerce-disclosure>summary>span,.invoice-optional>summary>span,.editorial-references>summary>span{font-size:12.5px;color:var(--muted,#6a6f64);font-weight:400;margin-left:10px}
.commerce-disclosure[open]>summary,.invoice-optional[open]>summary,.editorial-references[open]>summary{margin-bottom:6px}
.commerce-disclosure .field,.invoice-optional .field{margin-bottom:10px}.commerce-disclosure .field:last-child,.invoice-optional .field:last-child{margin-bottom:0}
.commerce-secondary-section{margin-bottom:16px}.commerce-secondary-section>summary{font-size:16px}
.commerce-addon{border:1px solid var(--commerce-line);padding:12px;border-radius:10px;margin:12px 0}.commerce-addon legend{font-size:14px;font-weight:600;padding:0 6px}.commerce-addon-fields{margin-top:10px}.commerce-addon:not(:has(input[type="checkbox"]:checked)) .commerce-addon-fields{display:none}
.commerce-infographic-rate .commerce-infographic-package{display:none}
.commerce-infographic-rate:has(select[name="addon.infographic.model"] option:is([value="monthly_package"],[value="retainer"]):checked) .commerce-infographic-package{display:grid;margin-top:12px}
.commerce-infographic-rate:has(select[name="addon.infographic.model"] option:is([value="monthly_package"],[value="retainer"]):checked) .commerce-infographic-single{display:none}
.commerce-benefit{border:0;background:#f5f8f1;padding:16px;border-radius:12px;box-shadow:none}.commerce-benefit .commerce-heading{margin:0}.commerce-benefit .commerce-status{font-weight:400}.commerce-benefit-number{font-size:28px;font-weight:650;letter-spacing:-.04em;margin:12px 0}.commerce-benefit-number small{display:block;font-size:14px;font-weight:400;letter-spacing:0;margin-top:4px;color:#5e6b57}.commerce-benefit .commerce-metrics strong{font-size:18px}.commerce-benefit .commerce-caption{margin-bottom:0}
.invoice-steps{list-style:none;display:flex;gap:10px;padding:0;margin:16px 0;color:#7b8375}.invoice-steps li{display:flex;align-items:center;gap:8px;flex:1;font-size:13px;line-height:1.5}.invoice-steps li>span{display:inline-flex;width:27px;height:27px;align-items:center;justify-content:center;background:#ecefe7;border-radius:50%;flex-shrink:0;font-size:12.5px}.invoice-steps [aria-current="step"]{color:#385c29;font-weight:650}.invoice-steps [aria-current="step"]>span{background:#426d2e;color:#fff}
.invoice-heading>.invoice-status{margin-top:6px}.invoice-form{display:grid;gap:14px}.invoice-selection{border:0;padding:0;margin:0}.invoice-selection legend{font-size:16px;font-weight:650;margin-bottom:10px}.invoice-line{display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--commerce-line);padding:11px 0;margin:0!important}.invoice-line>span{flex:1;font-size:14.5px;line-height:1.55}.invoice-line>strong{font-size:14.5px;white-space:nowrap}.invoice-line small{display:block;font-size:12px;font-weight:400;color:#74806b}.invoice-line input{flex-shrink:0}.invoice-empty{padding:20px 0;color:#737b6e}
.invoice-section{padding-top:16px;margin-top:6px;border-top:1px solid var(--commerce-line)}.invoice-accordion{border:1px solid var(--commerce-line,#e3e9df);border-radius:10px;background:#fff;margin:7px 0;overflow:hidden}.invoice-accordion>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;cursor:pointer;font-size:14px;font-weight:600;min-height:52px}.invoice-accordion>summary::-webkit-details-marker{display:none}.invoice-accordion>summary:after{content:'+';font-size:18px;color:#6b7d5e;font-weight:400}.invoice-accordion[open]>summary:after{content:'−'}.invoice-accordion>summary>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}.invoice-accordion>summary small{display:block;font-size:12.5px;font-weight:400;color:#77826d;margin-top:5px}.invoice-accordion[open]>summary{background:var(--commerce-soft,#f6f8f3);border-bottom:1px solid var(--commerce-line,#e3e9df)}.invoice-fields{padding:16px;display:grid;gap:12px}.invoice-fields .form-grid{align-items:start}.invoice-missing{color:#92682d!important;background:#fff6e8}.invoice-total{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.invoice-total>div{display:grid;gap:8px}.invoice-total span{font-size:13.5px;color:#707b66}.invoice-total strong{font-size:34px;font-weight:650;letter-spacing:-.055em}.invoice-total p{font-size:13.5px;color:#727d68;line-height:1.9;text-align:right}.invoice-blockers{border:1px solid #e9d8b6;border-radius:12px;background:#fffbf2;padding:14px;margin:14px 0;color:#745c34;font-size:14px;line-height:1.75}.invoice-blockers h2{font-size:16px;color:#705527}.invoice-blockers ul{padding-left:20px;margin:0}.invoice-cancel>summary{color:#96675e}.invoice-settings{max-width:940px;margin:16px auto}.invoice-settings .button{white-space:normal}.invoice-page .check{font-size:14px;line-height:1.65;align-items:start}.invoice-page .table-wrap{margin:0 0 15px}.invoice-page .table-wrap th,.invoice-page .table-wrap td{font-size:14px;padding:12px}.invoice-tax-rate,.invoice-tax-reason{display:none}.invoice-fields:has(select[name="tax.mode"] option[value="vat"]:checked) .invoice-tax-rate,.invoice-fields:has(select[name="tax.mode"] option[value="exempt"]:checked) .invoice-tax-reason,.invoice-fields:has(select[name="tax.mode"] option[value="reverse_charge"]:checked) .invoice-tax-reason{display:block}
.editorial-form{display:grid;gap:16px}.editorial-section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.editorial-section h2{grid-column:1/-1;margin:0}.editorial-reference{border:1px solid var(--commerce-line);border-radius:10px;margin:10px 0;padding:0}.editorial-reference>summary{padding:11px 14px;min-height:44px;font-size:14.5px;cursor:pointer;overflow-wrap:anywhere}.editorial-reference>summary>small{display:block;color:#7d5f26;font-size:12.5px;margin-top:5px}.editorial-reference-fields{padding:14px;display:grid;gap:12px}.editorial-reference .check{font-size:14px;line-height:1.6}.editorial-findings{border:1px solid #e6e9e1;box-shadow:none}.editorial-findings>p{font-size:14.5px;line-height:1.65}.editorial-findings li{padding:12px 0;border-bottom:1px solid #e6e9e1}.editorial-findings li p{font-size:14px;line-height:1.6;margin:8px 0}
@media(max-width:700px){.commerce-page-heading{align-items:stretch;flex-direction:column;gap:12px}.commerce-page .hello,.invoice-heading,.editorial-heading{margin:6px 0 14px}.commerce-page .panel,.invoice-page .panel,.editorial-page .panel{padding:14px;border-radius:11px}.commerce-period{align-items:end;width:100%}.commerce-period .field{flex:1}.commerce-period input{min-width:0}.commerce-balance{grid-template-columns:1fr;gap:14px}.commerce-balance-main{padding:0}.commerce-balance-other{border-left:0;border-top:1px solid var(--commerce-line);padding:14px 0 0;gap:12px}.commerce-balance-other span{max-width:22ch}.commerce-balance-other strong{font-size:18px}.commerce-heading{align-items:flex-start;flex-wrap:wrap}.commerce-heading>.button{max-width:100%;width:auto}.commerce-service{align-items:flex-start;gap:12px}.commerce-service-main>strong{font-size:15px}.commerce-service-end>small{max-width:16ch}.commerce-service-end>strong{font-size:15px}.commerce-save{align-items:stretch;flex-direction:column;gap:8px}.commerce-save>span{text-align:center}.commerce-page .form-grid.two,.invoice-page .form-grid.two,.editorial-page .form-grid.two{grid-template-columns:1fr}.commerce-disclosure>summary>span,.editorial-references>summary>span{display:block;margin-left:0}.invoice-steps{gap:8px}.invoice-steps li{flex-direction:column;align-items:flex-start;font-size:12px;gap:7px}.invoice-accordion>summary{padding:11px 12px;gap:8px;flex-wrap:wrap}.invoice-accordion>summary>.invoice-status{font-size:11px}.invoice-fields{padding:12px;gap:12px}.invoice-total strong{font-size:32px}.invoice-total p{font-size:12px}.invoice-blockers{padding:12px}.invoice-line{flex-wrap:wrap}.invoice-line>strong{padding-left:32px}.invoice-line>span{flex-basis:70%}.invoice-page .form-actions .button,.editorial-save .button{width:100%}.invoice-settings{margin-top:14px}.invoice-settings>summary{font-size:13.5px}.commerce-benefit .commerce-heading{display:block}.commerce-benefit .commerce-status{margin-top:8px}}

.commerce-benefit-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:14px 0}.commerce-benefit-summary>div{display:grid;gap:7px;align-content:start}.commerce-benefit-summary strong{font-size:22px;font-weight:650;letter-spacing:-.025em}.commerce-benefit-summary span{font-size:13px;line-height:1.5;color:#64705c}@media(max-width:700px){.commerce-benefit-summary{grid-template-columns:1fr;gap:11px}.commerce-benefit-summary>div{grid-template-columns:1fr 1.2fr;align-items:baseline;gap:14px}.commerce-benefit-summary strong{font-size:18px}.commerce-benefit-summary span{font-size:12.5px}}

/* One spacing system per form; base .stack margins must not add a second gap. */
.commerce-form>*+*,.invoice-form>*+*,.editorial-form>*+*{margin-top:0}
.commerce-form>.field,.invoice-form>.field,.editorial-form>.field,.commerce-form .form-grid>.field,.invoice-form .form-grid>.field,.editorial-form .form-grid>.field{margin-bottom:0}
.commerce-page .check,.invoice-page .check,.editorial-page .check{min-height:44px;gap:9px;align-items:flex-start;font-size:13.5px;line-height:1.5;margin:0;padding:9px 0}
.commerce-page .check input,.invoice-page .check input,.editorial-page .check input{min-height:20px;width:20px;height:20px;padding:0;flex:0 0 20px;border-radius:5px}
.commerce-page .check span,.invoice-page .check span,.editorial-page .check span{min-width:0;white-space:normal;overflow-wrap:anywhere}
.commerce-page .service-copy{padding:12px 0}.commerce-page .service-copy h3{margin:0 0 8px}.commerce-page .prewrap{font-size:14.5px;line-height:1.6}
.commerce-invoice{min-height:44px;padding:12px 0;gap:14px}.commerce-invoice>span{min-width:0}.commerce-invoice>strong{white-space:nowrap}
.commerce-page .section-tabs{margin-bottom:16px;gap:20px}.commerce-page .section-tabs a{min-height:44px}
.commerce-request-core{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.commerce-request-core>h2,.commerce-request-core>.field:has(textarea){grid-column:1/-1}
.commerce-page :is(h1,h2,h3,legend,p,summary),.invoice-page :is(h1,h2,h3,legend,p,summary),.editorial-page :is(h1,h2,h3,legend,p,summary){overflow-wrap:anywhere}
.commerce-page fieldset,.invoice-page fieldset,.editorial-page fieldset{min-width:0}
.commerce-page .field small,.invoice-page .field small,.editorial-page .field small{font-size:12.5px;line-height:1.5}
.commerce-page .commerce-period .button{flex-shrink:0}
@media(max-width:700px){
 .commerce-request-core,.editorial-section{grid-template-columns:1fr}
 .commerce-page .hello{padding:0}
 .commerce-page h1,.invoice-heading h1,.editorial-heading h1{font-size:26px}
 .commerce-page h2,.invoice-page h2,.editorial-page h2{font-size:16px}
 .commerce-page .lead,.invoice-page .lead,.editorial-page .lead{font-size:14px}
 .commerce-page .button,.invoice-page .button,.editorial-page .button{min-height:44px}
 .commerce-page .commerce-period .button{width:auto;padding-inline:12px}
 .commerce-service{display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,auto)}
 .commerce-service-end{max-width:125px;min-width:0}.commerce-service-end small{line-height:1.5}
 .commerce-page .commerce-invoice{flex-wrap:wrap;align-items:baseline}
 .commerce-benefit-summary>div{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:10px}
 .commerce-benefit-summary strong{overflow-wrap:anywhere}
 .invoice-accordion>summary>span:first-child{flex-basis:48%}
 .invoice-page .form-actions{margin:0}.invoice-form .form-actions .button{width:100%}
 .editorial-reference-fields{padding:12px}
}
