.sfa-commerce{max-width:1480px;margin:auto;color:var(--ui-text);font-family:var(--field-font,inherit)}
.sfc-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px;border:1px solid var(--workspace-line,#bccdd8);border-radius:14px;background:linear-gradient(110deg,var(--workspace-tint,#edf6ff),var(--ui-surface,#fff))}.sfc-heading h2{margin:3px 0;font-size:22px}.sfc-heading p,.sfc-meta,.sfc-guide p{font-size:12px;line-height:1.5;color:var(--ui-muted)}
.sfc-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0;padding:12px;border:1px solid var(--ui-border,#b5c7ca);border-radius:14px;background:var(--ui-surface,#fff)}.sfc-filters .field,.sfc-form .field{display:flex;flex-direction:column;gap:5px}.sfc-filters input,.sfc-filters select,.sfc-form input:not([type=checkbox]),.sfc-form select,.sfc-form textarea{width:100%;min-height:44px;font-size:16px}.sfc-toolbar,.sfc-pager{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:12px 0;font-size:12px}.sfc-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}.sfc-product{padding:12px;border:1px solid var(--ui-border,#b5c7ca);border-left:3px solid var(--workspace-accent,#176a79);border-radius:14px;background:var(--ui-surface,#fff);min-width:0}.sfc-product-title{display:flex;justify-content:space-between;gap:8px}.sfc-product h3{font-size:15px;margin:3px 0;overflow-wrap:anywhere}.sfc-product-title p{margin:3px 0;font-size:12px;color:var(--ui-muted)}.sfc-code{font-size:11px;color:var(--ui-muted)}.sfc-focus,.sfc-tags span{font-size:11px;padding:4px 7px;border:1px solid var(--workspace-line,#a4b7c5);border-radius:6px;align-self:start;background:var(--workspace-tint,#eaf3fb);color:var(--ui-text)}.sfc-tags{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}.sfc-prices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}.sfc-prices dt{font-size:11px;color:var(--ui-muted)}.sfc-prices dd{margin:2px 0;font-size:14px;font-weight:700}.sfc-warning{border:1px solid #ba7b24;border-left:3px solid #ba7b24;padding:9px;border-radius:8px;font-size:12px}.sfc-guide{margin:16px 0}.sfc-guide summary{min-height:44px;cursor:pointer}.sfc-form{display:grid;gap:12px}.sfc-form p{margin:0;line-height:1.45}.sfc-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sfc-confirm{display:flex;gap:8px;align-items:start;font-size:13px;min-height:44px}.sfc-confirm input{min-width:20px;min-height:20px}.sfc-file{display:block;margin:5px 0;width:100%;text-align:left;overflow-wrap:anywhere}.sfc-preview-rows{max-height:240px;overflow:auto}.sfc-preview-rows p{padding:6px 0;border-bottom:1px solid var(--ui-border,#b5c7ca)}.sfc-preview{display:grid;gap:10px}.sfa-commerce [role=alert]:not(:empty),.sfc-form [role=alert]:not(:empty){color:var(--danger,#a52c39);padding:8px;border:1px solid currentColor;border-radius:8px}.sfa-commerce .btn,.sfc-form .btn{min-height:44px}.sfc-form [hidden]{display:none!important}
@media(max-width:760px){.sfc-heading{padding:10px;align-items:start}.sfc-heading h2{font-size:18px}.sfc-heading p{margin:3px 0}.sfc-heading{flex-wrap:wrap}.sfc-filters{grid-template-columns:1fr;gap:8px;padding:10px}.sfc-products{grid-template-columns:1fr;gap:8px}.sfc-product{padding:10px}.sfc-product h3{font-size:14px}.sfc-toolbar{align-items:start}.sfc-toolbar span{flex:1}.sfc-form-grid{grid-template-columns:1fr}.sfc-pager{flex-wrap:wrap}.sfc-prices{gap:6px 12px}.sfc-meta{margin:6px 0}.sfc-heading>.btn{width:100%}}
/* Price administration remains a comparison table on phones and desktop. */
.sfa-price-list{max-width:1480px;margin:auto;color:var(--ui-text);font-family:var(--field-font,inherit)}
.sfa-price-list .sfc-heading,.sfa-price-list .sfc-filters{border-radius:12px}
.sfa-price-list .sfc-heading{padding:12px 14px}
.sfa-price-list .sfc-heading h2{font-size:20px}
.sfa-price-list .sfc-heading p{margin:4px 0}
.sfa-price-list [role=alert]:not(:empty){color:var(--danger,#a52c39);border:1px solid currentColor;border-radius:8px;padding:8px}
.sfa-price-list nav{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.sfa-price-list nav [aria-pressed=true]{background:var(--workspace-tint);border-color:var(--workspace-accent);box-shadow:inset 0 -2px var(--workspace-accent)}
.sfa-price-list .btn{min-height:44px}
.sfc-filters [hidden],.sfa-price-list [hidden]{display:none!important}
.sfa-price-list [data-price-results],.sfa-commerce [data-results]{min-width:0;overflow-x:auto}
.sfa-price-list .table-wrap{border:1px solid var(--ui-border);border-radius:10px}
@media(max-width:760px){.sfa-price-list{max-width:100%;min-width:0}.sfa-price-list .sfc-heading{padding:10px}.sfa-price-list .sfc-heading h2{font-size:18px}.sfa-price-list .sfc-heading .btn{width:auto}.sfa-price-list .sfc-filters{gap:8px}.sfa-price-list nav{gap:6px}.sfa-price-list nav .btn{padding:6px 9px}.sfa-commerce .sfc-toolbar{flex-wrap:wrap}.sfa-commerce .sfc-toolbar>div{display:flex;flex-wrap:wrap;gap:6px}}
.sfc-template{display:grid;gap:8px;padding:10px;margin-bottom:12px;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-surface)}.sfc-template>.btn{justify-self:start}.sfc-template p{font-size:12px;color:var(--ui-muted)}.sfa-commerce .sfc-toolbar{flex-wrap:wrap}.sfa-commerce .sfc-toolbar>div{display:flex;flex-wrap:wrap;gap:8px}

.sfc-import-table{max-height:320px;overflow:auto;min-width:0;border:1px solid var(--ui-border);border-radius:8px}.sfc-import-table table{margin:0}.sfc-form:has(.sfc-import-table){min-width:0}
.sfc-import-help summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:600}.sfc-import-help p{padding:6px 0}
