.admin-content{max-width:none;margin:0;padding:clamp(20px,2vw,32px) clamp(16px,2vw,40px) 64px}
.content-settings-card{max-width:800px;padding:28px}
.content-fields{min-width:0;margin:0;padding:0;border:0}
.content-fields .field{margin-bottom:24px}
.content-fields [aria-invalid=true]{border-color:var(--error)}
.content-save-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:20px;border-top:1px solid var(--divider)}
.content-save-bar p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}
.content-save-bar .btn{flex:none;min-height:44px;white-space:nowrap}
.content-admin-note{margin:18px 0;color:var(--muted);font-size:13px;line-height:1.7}
.help-settings-card{max-width:1060px}
.help-editor-toolbar{display:grid;grid-template-columns:auto minmax(180px,1fr) auto auto;align-items:center;gap:12px}
.help-editor-toolbar p{margin:0;font-weight:600}
.help-editor-toolbar .help-search{width:100%;min-height:44px;padding:0 14px;border:1px solid var(--divider);border-radius:8px;background:var(--surface);color:var(--text-strong);font:inherit}
.help-editor-toolbar .help-search:focus{outline:2px solid var(--brand-300);outline-offset:1px}
.help-editor-entry{padding:24px 0 4px;border-top:1px solid var(--divider)}
.help-editor-entry>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:0}
.help-entry-heading{min-width:0}
.help-editor-entry h2{margin:0;font-size:17px}
.help-entry-heading p{overflow:hidden;margin:5px 0 0;color:var(--muted);font-size:14px;text-overflow:ellipsis;white-space:nowrap}
.help-entry-actions{display:flex;gap:4px}
.help-entry-actions .btn{min-height:44px}
.help-entry-actions .danger-link{color:var(--error)}
.help-editor-fields{padding-top:18px}
.help-editor-entry textarea{min-height:104px}
.help-editor-empty{padding:32px 8px;text-align:center;color:var(--muted)}
.help-editor-empty h2{font-size:19px}
.help-editor-empty p{font-size:14px;line-height:1.6}
#help-draft-message:not(:empty){margin:16px 0;padding:12px 16px;border-radius:8px;background:var(--brand-050);font-size:14px;line-height:1.7}
#support-save-message:not(:empty),#help-save-message:not(:empty){margin-top:20px}
.category-legacy-note{grid-column:1/-1;margin:0 0 20px;padding:12px 14px;border-left:3px solid var(--warning);background:#fff9e8;font-size:13px;line-height:1.7}
.category-modal{max-width:620px}
.category-modal-note{margin:0 0 20px;color:var(--muted);font-size:13px;line-height:1.7}
.category-editor-list{display:grid;border-top:1px solid var(--divider)}
.category-editor-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;border-bottom:1px solid var(--divider)}
.category-editor-row>span{min-width:0}
.category-editor-row strong,.category-editor-row small{display:block}
.category-editor-row strong{color:var(--text-strong);font-size:15px}
.category-editor-row small{margin-top:4px;color:var(--muted);font-size:12px}
.category-editor-row .btn{flex:none}
.category-add-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin-top:22px}
.category-add-row .field{margin:0}
.category-modal footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}
.merchant-edit-layout{grid-template-columns:minmax(0,1fr) minmax(320px,430px)}
.member-shell .help-answer{white-space:pre-line}
@media(max-width:1099px){.merchant-edit-layout{grid-template-columns:1fr}}
@media(max-width:1099px) and (min-width:800px){.merchant-filters{grid-template-columns:minmax(0,1fr) minmax(140px,1fr)}.merchant-filters .admin-search{grid-column:1/-1}.member-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.member-filter .field:first-child{grid-column:1/-1}.member-filter .btn{width:100%}}
@media(max-width:799px){.content-settings-card{padding:20px 16px}.content-save-bar{align-items:stretch;flex-direction:column;gap:14px}.content-save-bar .btn{width:100%}.help-editor-toolbar{grid-template-columns:1fr 1fr}.help-editor-toolbar p{grid-column:1/-1}.help-editor-toolbar .help-search{grid-column:1/-1;grid-row:2}.help-editor-toolbar #toggle-all-help,.help-editor-toolbar #add-help{width:100%}.help-editor-entry>header{align-items:flex-start;flex-direction:column;gap:8px}.help-entry-actions{width:100%;justify-content:flex-end}.help-entry-heading{width:100%}.category-add-row{grid-template-columns:1fr}.category-add-row>.btn{width:100%}}
@media(max-width:799px){.admin-content{padding:20px 16px 48px}}
