/* Settings uses the same controls and semantic palette at every viewport. */
.settings-tabs-page{max-width:1120px}
.settings-category-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:5px;margin-bottom:22px;background:var(--surface,#211e2a);border:1px solid var(--border,#494153);border-radius:12px}
.settings-category-tabs [role=tab]{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:10px 8px;border:0;border-radius:8px;background:transparent;color:var(--muted,#c0b7cb);font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.settings-category-tabs [role=tab] svg{width:20px;height:20px;flex:none}
.settings-category-tabs [aria-selected=true]{background:var(--soft-purple);color:var(--soft-purple-ink)}
.settings-category-tabs [role=tab]:focus-visible{outline:2px solid var(--soft-purple-ink);outline-offset:2px}
.settings-tab-panel{display:grid;gap:16px;min-width:0}.settings-tab-panel[hidden]{display:none!important}
.settings-tab-panel>.section{margin:0;min-width:0;padding:22px}
.settings-tab-panel>.section h2{font-size:16px;margin-bottom:15px}
.settings-tab-panel .muted{line-height:1.6}
.settings-tab-panel .settings-row{gap:16px}.settings-tab-panel .settings-row p{font-size:13px}
.settings-tab-panel [data-settings-store-appearance]{margin-top:18px;padding-top:18px;border-top:1px solid var(--border,#494153)}
.settings-catalog-section .product-catalog-manager{gap:27px}.settings-catalog-section .product-catalog-publications{padding-top:23px;border-top:1px solid var(--border,#494153)}
.settings-catalog-section .product-catalog-settings .form{margin-top:20px}.settings-catalog-section .product-catalog-settings h2{margin-bottom:10px}
.settings-catalog-section .product-catalog-settings>p{margin-top:0;font-size:13px}.settings-catalog-section .product-catalog-settings .form>.btn{justify-self:start}
.settings-tabs-page>.page-help-link{margin-top:20px}
.settings-store-section .profile-editor-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.settings-store-section .profile-editor-form>div{min-width:0}
.settings-store-section .profile-editor-form>[data-business-photo-editor],.settings-store-section .profile-editor-form>.email-preference,.settings-store-section .profile-editor-form>.actions,.settings-store-section .profile-editor-form>.profile-save-status{grid-column:1/-1}
@media(min-width:901px){
 .settings-store-section .profile-editor-form>[data-business-photo-editor]{
  grid-column:2;
  grid-row:1 / span 2;
  align-self:center;
  min-width:0;
 }
}
.settings-store-section .profile-editor-form>.actions{justify-content:flex-start;margin-top:2px}
.settings-store-section .profile-save-status{margin:0;color:var(--muted);font-size:14px;line-height:1.5}
.settings-store-save{display:grid;justify-items:start;gap:10px}.settings-store-save p{margin:0;font-size:14px}.settings-store-save [role=alert]{color:var(--soft-red-ink)}
body.light-theme .settings-category-tabs{background:#f7f5fa;border-color:#ded8e7}body.light-theme .settings-category-tabs [role=tab]:not([aria-selected=true]){color:#62586f}
@media(max-width:900px){
 .settings-category-tabs{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:4px;margin-bottom:18px;border-radius:10px}
 .settings-category-tabs [role=tab]{position:relative;min-width:44px;min-height:44px;gap:0;padding:10px}
 .settings-category-tabs [role=tab] svg{width:22px;height:22px}
 /* Keep each tab's name available to assistive technology. */
 .settings-category-tabs [role=tab]>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
}
@media(max-width:650px){
 .settings-tab-panel{gap:14px}.settings-tab-panel>.section{padding:17px}
 .settings-store-section .profile-editor-form{grid-template-columns:minmax(0,1fr);gap:16px}
 .settings-store-section .profile-editor-form>.actions .btn{width:100%}
 .settings-store-save>.btn{width:100%}
 .settings-catalog-section .product-catalog-manager{gap:22px}.settings-catalog-section .product-catalog-settings .form>.btn{width:100%}
}
.store-appearance-form [data-store-appearance-retry][hidden]{display:none}
