.commerce{max-width:1128px;margin:auto;padding:30px 24px 60px;min-height:55vh}.commerce-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.commerce h1{font:400 clamp(27px,3vw,36px)/1.25 var(--tq-heading);color:var(--tq-navy);margin:0}.commerce h2{font:400 23px/1.3 var(--tq-heading);color:var(--tq-navy);margin:0 0 15px}.commerce h3{font-size:16px;margin:0 0 12px}.commerce .tq-eyebrow{margin-bottom:5px}.commerce-tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--tq-rule);padding-bottom:12px;margin-bottom:24px}.commerce-tabs a{padding:5px 10px;text-decoration:none;font-size:14px;border-radius:3px}.commerce-tabs a[aria-current]{background:var(--tq-wash);font-weight:700}.commerce-panel{padding:23px;border:1px solid var(--tq-rule);border-radius:4px;margin:20px 0;background:#fff}.commerce-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.commerce-field{display:grid;gap:5px;margin-bottom:14px;align-content:start;font-size:14px}.commerce-field span{font-weight:600}.commerce input:not([type=checkbox]),.commerce textarea,.commerce select{width:100%;min-width:0;border:1px solid #acbec9;border-radius:3px;padding:9px 11px;background:white;color:var(--tq-ink);line-height:1.5}.commerce textarea{resize:vertical}.commerce-check{display:flex;align-items:flex-start;gap:9px;margin:16px 0;font-size:14px}.commerce-check input{margin-top:6px;flex-shrink:0}.commerce-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:16px 0}.commerce .secondary{color:var(--tq-blue);background:#fff}.commerce-link{border:0;background:none;color:var(--tq-blue);text-decoration:underline;padding:4px;font-size:14px}.commerce-muted,.commerce small{color:var(--tq-muted)}.commerce-notice{padding:12px 16px;border-left:3px solid var(--tq-blue);background:var(--tq-wash);margin:16px 0;font-size:14px}.commerce-notice.error{border-color:#a32b35;background:#fff4f4;color:#78222a}.commerce-badge{display:inline-block;border:1px solid var(--tq-rule);border-radius:3px;padding:2px 8px;font-size:12px;white-space:nowrap;background:var(--tq-wash)}.commerce-table-wrap{overflow-x:auto;margin:18px 0}.commerce table{border-collapse:collapse;width:100%;font-size:14px}.commerce th,.commerce td{padding:12px;text-align:left;border-bottom:1px solid var(--tq-rule);vertical-align:top}.commerce th{background:var(--tq-wash);font-weight:650}.commerce td:last-child{white-space:nowrap}.commerce-login{max-width:470px;margin:25px auto}.commerce-line{padding:18px;background:var(--tq-wash);border:1px solid var(--tq-rule);margin-bottom:14px}.commerce-line-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px}.commerce pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px}.commerce .private-link{overflow-wrap:anywhere}.commerce dl{display:grid;grid-template-columns:150px 1fr;gap:6px 18px;font-size:14px}.commerce dt{font-weight:650}.commerce dd{margin:0}.commerce details{margin:12px 0}.commerce summary{cursor:pointer;font-weight:600}.commerce .empty{padding:25px 0;color:var(--tq-muted)}.commerce .inline-form{display:inline-block;margin:3px}.commerce .inline-form button{font-size:14px;min-height:44px;padding:8px 12px}.commerce .status-list{display:flex;gap:24px;flex-wrap:wrap;padding:0;list-style:none}.commerce .status-list a{font-size:15px}.commerce .policy{white-space:pre-wrap;max-width:78ch}.commerce .notice-test{border-color:#986317;background:#fff9ed}
@media(max-width:720px){.commerce{padding:24px 16px 45px}.commerce-grid,.commerce-line-grid{grid-template-columns:1fr}.commerce-panel{padding:17px}.commerce-heading{align-items:flex-start}.commerce-heading form{max-width:125px}.commerce-tabs a{padding:5px 7px}.commerce th,.commerce td{padding:9px}.commerce dl{grid-template-columns:1fr;gap:0}.commerce dd{margin-bottom:10px}}
@media print{.site-header,.siteFooter,.commerce-tabs,.commerce-actions,.commerce button{display:none!important}.commerce{max-width:none;padding:0}.commerce-panel{border:0;padding:0}.commerce-heading{margin-top:0}.commerce-table-wrap{overflow:visible}}

/* Native controls and GOV.UK action/error patterns, adapted to The Quill. */
.commerce [hidden]{display:none!important}.commerce a,.commerce button{touch-action:manipulation}.commerce .tq-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;line-height:1.4;font-size:14px;text-align:center;white-space:normal;cursor:pointer}.commerce .tq-button.secondary{border:1px solid #536f80;color:#23495d;background:#fff}.commerce button:disabled{cursor:wait;opacity:.7}.commerce label,.commerce legend{font-weight:600}.commerce input:not([type=checkbox]),.commerce select{min-height:44px}.commerce input[type=checkbox]{width:20px;height:20px;accent-color:#174d69}.commerce .commerce-check{min-height:44px;align-items:center}.commerce .commerce-check input{margin:0}.commerce :is(a,button,input,textarea,select,summary,.commerce-table-wrap):focus-visible{outline:3px solid #9b6200;outline-offset:3px}.commerce summary,.commerce-link,.commerce-tabs a,.settings-nav a{min-height:44px;display:inline-flex;align-items:center}.commerce details>summary{display:list-item;padding:10px 0}.commerce .commerce-hint{font-size:14px;color:#4a5d68;max-width:76ch}.commerce fieldset{border:1px solid var(--tq-rule);padding:16px;margin:20px 0;min-width:0}.commerce legend{font-size:16px;padding:0 8px}.commerce .settings-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px;border-bottom:1px solid var(--tq-rule);padding-bottom:8px}.settings-nav a{padding:7px 11px;text-decoration:none;font-size:14px}.settings-nav a[aria-current]{background:var(--tq-wash);font-weight:700;border-bottom:3px solid var(--tq-blue)}.commerce .setup-list{list-style:none;padding:0}.setup-list li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--tq-rule)}.setup-list a{font-weight:600}.commerce-error-summary{border:3px solid #a32b35;padding:18px;margin:20px 0;scroll-margin-top:120px}.commerce .commerce-error-summary h2{font-size:22px}.commerce-error-summary a,.commerce .field-error{color:#8f2029;font-weight:600}.commerce [aria-invalid=true]{border:2px solid #a32b35!important}.commerce .field-error{font-size:14px;display:block}.commerce .filter-form{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin-bottom:20px}.filter-form .commerce-field{flex:1 1 210px;margin:0}.filter-form>a{padding:10px 0}.commerce .quote-total{font-size:19px;font-weight:700;padding:15px 0}.commerce .backup-row,.commerce .review-note{border-top:1px solid var(--tq-rule);padding:16px 0}.commerce .backup-row form{max-width:470px}.commerce td:last-child{white-space:normal}.commerce td form{margin-bottom:8px}.commerce [id^=f-]{scroll-margin-top:120px}.commerce-error-summary:focus{outline:3px solid #9b6200;outline-offset:3px}.commerce form[data-admin-form]+form[data-admin-form]{margin-top:12px}
@media(max-width:720px){.commerce .setup-list li{align-items:flex-start;flex-direction:column;gap:8px}.commerce .commerce-actions{gap:16px}.commerce .filter-form{display:grid;grid-template-columns:minmax(0,1fr)}.commerce .commerce-badge{white-space:normal}.commerce-heading{gap:12px}.commerce .commerce-heading h1{font-size:27px}.commerce .settings-nav{gap:3px}.commerce .settings-nav a{padding:7px}.commerce dd{overflow-wrap:anywhere}}
