.commerce{margin:0;background:#f4f7f2;color:#20382c;font:16px/1.65 system-ui,-apple-system,sans-serif}.commerce *{box-sizing:border-box}.commerce header,.commerce main,.commerce footer{max-width:1120px;margin:auto;padding:28px 24px}.commerce header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #cad7cb}.commerce a,.commerce-links a,.commerce-account a{color:#225d3b;text-underline-offset:4px}.commerce nav,.commerce-links nav{display:flex;flex-wrap:wrap;gap:12px 24px}.commerce .brand{font-size:23px;font-weight:750;text-decoration:none}.commerce h1{font-size:clamp(30px,5vw,48px);line-height:1.2;letter-spacing:-1px}.commerce h2{line-height:1.3}.commerce .lead{font-size:20px;max-width:700px}.commerce .plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:32px 0}.commerce .plan,.commerce .checkout,.commerce section{border:1px solid #cad7cb;border-radius:18px;padding:26px;background:#fff;margin-bottom:20px;min-width:0}.commerce .plan{margin:0;display:flex;flex-direction:column}.commerce .plan ul{padding-left:22px}.commerce .price{font-size:28px;font-weight:750;margin:12px 0}.commerce .badge{color:#3c5c46;font-size:14px;margin:0}.commerce .muted{color:#536258}.commerce .button,.commerce button{display:inline-block;border:0;background:#225d3b;color:#fff;border-radius:9px;padding:12px 18px;text-decoration:none;font:inherit;align-self:flex-start}.commerce .plan .button{margin-top:auto}.commerce button:disabled{background:#dfe7df;color:#46574b;cursor:not-allowed}.commerce .review{background:#fff0bd;color:#593f00;padding:12px 24px;text-align:center}.commerce footer{border-top:1px solid #cad7cb;font-size:14px}.commerce a:focus-visible,.commerce-links a:focus-visible{outline:3px solid #b27116;outline-offset:4px}.commerce .skip{position:absolute;left:12px;top:-80px;background:white;padding:8px;z-index:10}.commerce .skip:focus{top:8px}.commerce main{overflow-wrap:anywhere}.commerce-links{padding:24px;margin:24px auto;max-width:1120px;font:14px/1.6 system-ui}.commerce-account{background:#f4f7f2;color:#20382c;border:1px solid #cad7cb;border-radius:12px;padding:20px;margin:20px 0}.commerce-account dd{margin:0 0 12px}.commerce-account dt{font-weight:bold}@media(max-width:600px){.commerce .plans{grid-template-columns:1fr}.commerce header,.commerce main,.commerce footer{padding:20px 16px}.commerce .plan,.commerce section{padding:20px}.commerce nav{gap:12px 18px}.commerce .price{font-size:25px}}

/* Cabinet legal links belong to the sidebar, inside the existing app shell. */
.cabinet-page .commerce-links{max-width:100%;margin:12px 0 0;padding:12px 8px;border-top:1px solid var(--border);font-size:12px}
.cabinet-page .commerce-links nav{flex-direction:column;gap:8px}
.cabinet-page .commerce-links a{color:var(--text-muted);overflow-wrap:anywhere}

.commerce .checkout label{display:block;max-width:760px}.commerce .checkout input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin:0 8px 0 0}.commerce #payment-refresh,.commerce #payment-new,.commerce #payment-continue{margin:8px 12px 8px 0}.commerce [data-payment-history] p{overflow-wrap:anywhere}.commerce #payment-mode{font-weight:600}
