.demo-page{max-width:1000px;padding-top:36px;padding-bottom:64px}.demo-banner{border-left:4px solid #2563eb;background:#f4f7fb;padding:24px;margin-bottom:24px}.demo-banner h1{font-size:clamp(1.7rem,4vw,2.7rem);letter-spacing:-.03em;line-height:1.15;margin:12px 0}.demo-banner p{max-width:70ch}.demo-steps{display:flex;flex-wrap:wrap;gap:10px 24px;padding-left:24px}.demo-steps [aria-current]{font-weight:700;color:#1d4ed8}.demo-card{border:1px solid #d7dfe9;border-radius:8px;padding:28px;background:#fff}.demo-card h2{margin-top:0}.demo-card label:not(.demo-check){display:block;margin:18px 0 7px;font-weight:600}.demo-card select,.demo-card input[type=text]{width:100%;min-height:44px;min-width:0;border:1px solid #9aa8b9;background:#fff;color:#16202c;border-radius:4px;padding:10px;font:inherit}.demo-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.demo-identity{display:grid;gap:5px;background:#f0f5fc;padding:18px}.demo-check{display:flex;align-items:flex-start;gap:12px;margin:20px 0;line-height:1.5}.demo-check input{flex:none;width:20px;height:20px;margin-top:3px}.demo-policies,.demo-actions,.demo-footer{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:22px}.demo-policies button{border:0;background:none;text-decoration:underline;cursor:pointer;color:#174ea6;padding:8px 0;font:inherit}.demo-code-row{display:flex;gap:12px}.demo-code-row input{flex:1}.demo-code-row button{flex-shrink:0}.demo-totals{margin:22px 0}.demo-totals div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #e1e6ed}.demo-totals dd{margin:0;text-align:right;font-weight:600}.demo-affiliate{padding:18px;background:#f2f6fc;border-left:3px solid #2563eb}.demo-affiliate h3{margin-top:0}.demo-footer p{width:100%;font-size:.875rem}.demo-page :focus-visible{outline:3px solid #2563eb;outline-offset:3px}.demo-page button:disabled{cursor:not-allowed;opacity:.58}.demo-page p,.demo-page dd{overflow-wrap:anywhere}.demo-entry{margin:18px 0}.demo-entry p{font-size:.85rem}@media(max-width:600px){.demo-card,.demo-banner{padding:18px}.demo-fields{grid-template-columns:1fr;gap:0}.demo-code-row{flex-direction:column}.demo-totals div{display:block}.demo-totals dd{text-align:left;margin-top:6px}.demo-actions .button{width:100%;text-align:center}.demo-steps{font-size:.85rem}.demo-page{padding-top:20px}.demo-card{min-width:0}}

.demo-shortcut{white-space:normal;overflow-wrap:anywhere;max-width:100%;text-align:center;line-height:1.4}

/* Override catalog select caps only inside the demonstration. */
.demo-card select{display:block;width:100%;max-width:100%;box-sizing:border-box}.demo-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.demo-fields>div{min-width:0}.demo-selection-summary{white-space:normal;overflow-wrap:anywhere;max-width:100%;line-height:1.5}@media(max-width:600px){.demo-fields{grid-template-columns:1fr}}
