.commerce-page{min-width:0;color:var(--brand-muted)}.commerce-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(120deg,var(--brand-paper-dim),var(--brand-paper));border:1px solid var(--brand-line);border-radius:12px;padding:24px 27px;margin-bottom:24px}.commerce-intro>div>span{font-size:12px;letter-spacing:1.5px;color:var(--brand-muted)}.commerce-intro h2{font-size:20px;font-weight:500;color:var(--brand-ink);margin:9px 0}.commerce-intro p{font-size:12px;line-height:1.9;color:var(--brand-muted);margin:0}.commerce-intro>svg{color:var(--brand-gold-deep);flex-shrink:0}.commerce-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:12px;min-width:0}.commerce-toolbar>.field{flex:1;min-width:138px;max-width:230px}.commerce-toolbar>.commerce-search{flex:1.5;min-width:200px;max-width:none}.commerce-toolbar>.commerce-spend{min-width:140px;max-width:185px}.commerce-filter-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px;line-height:1.8;color:var(--brand-muted);margin:12px 0 21px}.commerce-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin:22px 0 26px}.commerce-metric{padding:19px 20px;background:#fff;border:1px solid var(--line,var(--brand-line));border-radius:11px;min-width:0}.commerce-metric>div{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:var(--brand-muted)}.commerce-metric>div svg{color:var(--brand-gold-deep);flex-shrink:0}.commerce-metric>strong{display:block;color:var(--brand-ink);font-size:27px;font-weight:500;margin:16px 0 8px;line-height:1.3;overflow-wrap:anywhere}.commerce-metric>strong small{font-size:12px;font-weight:400;color:var(--brand-ink);margin-left:5px}.commerce-metric>small{font-size:12px;line-height:1.8;color:var(--brand-muted)}.commerce-metrics-three{grid-template-columns:repeat(3,minmax(0,1fr))}.commerce-page .card-header{gap:14px}.commerce-selection{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 21px;background:var(--brand-paper);border-top:1px solid var(--brand-line);border-bottom:1px solid var(--brand-line);font-size:12px;color:var(--brand-muted)}.commerce-selection>span{display:flex;align-items:center;gap:7px}.commerce-selection strong{color:var(--brand-ink);font-weight:500}.commerce-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.commerce-page .btn:disabled{opacity:.45;cursor:not-allowed}.commerce-member-table{min-width:1080px}.commerce-select-cell{width:40px;padding-right:3px!important}.commerce-page input[type=checkbox],.commerce-scope input[type=checkbox],.commerce-active-option input[type=checkbox]{width:15px;height:15px;accent-color:var(--brand-navy);vertical-align:middle;flex-shrink:0;cursor:pointer}.commerce-page input[type=checkbox]:focus-visible,.commerce-scope input[type=checkbox]:focus-visible{outline:2px solid var(--brand-focus);outline-offset:3px}.commerce-member-table td{vertical-align:middle}.commerce-member-link{border:0;background:transparent;padding:0;display:flex;align-items:center;gap:10px;text-align:left;color:var(--brand-ink);cursor:pointer}.commerce-member-link:hover strong{text-decoration:underline;text-underline-offset:3px}.commerce-member-link:focus-visible{outline:2px solid var(--brand-focus);outline-offset:5px;border-radius:3px}.commerce-member-link strong{font-size:12px;font-weight:500;display:block}.commerce-member-link small{font-size:12px;color:var(--brand-ink);display:block;margin-top:4px}.commerce-avatar{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:var(--brand-paper-dim);color:var(--brand-muted);border-radius:50%;flex-shrink:0;font-size:13px}.commerce-identity{display:flex;align-items:center;gap:8px;margin-top:8px;padding-left:42px;font-size:12px;color:var(--brand-muted)}.commerce-member-table .tag-list{max-width:200px;white-space:normal}.commerce-member-table .commerce-selected{background:var(--brand-paper-dim)}.commerce-muted{color:var(--brand-muted);font-size:12px}.commerce-member-profile{display:flex;gap:15px;align-items:center;margin-bottom:23px}.commerce-avatar.large{width:59px;height:59px;font-size:23px}.commerce-member-profile h3{font-size:18px;font-weight:500;color:var(--brand-ink);margin:0 0 6px}.commerce-member-profile p{font-size:12px;margin:0 0 9px;color:var(--brand-muted);overflow-wrap:anywhere}.commerce-profile-details{padding:19px 20px;background:var(--brand-paper);border:1px solid var(--brand-line);border-radius:9px;margin-bottom:22px}.commerce-break{overflow-wrap:anywhere}.commerce-detail-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0 29px}.commerce-detail-totals>div{min-width:0;border-left:2px solid var(--brand-line);padding-left:14px}.commerce-detail-totals span{display:block;font-size:12px;color:var(--brand-muted)}.commerce-detail-totals strong{display:block;font-size:21px;color:var(--brand-ink);font-weight:500;margin:8px 0;overflow-wrap:anywhere}.commerce-detail-totals small{font-size:12px;color:var(--brand-muted)}.commerce-detail-totals strong small{font-size:12px}.commerce-preferences{display:grid;gap:15px;margin-bottom:27px}.commerce-preferences>div>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:var(--brand-muted);margin-bottom:7px}.commerce-preferences strong{color:var(--brand-ink);font-size:12px;font-weight:500}.commerce-preference-track{height:6px;background:var(--brand-paper-dim);border-radius:6px;overflow:hidden}.commerce-preference-track>span{height:100%;display:block;background:var(--brand-navy-3);border-radius:6px}.commerce-inline-empty{background:var(--brand-paper);padding:16px;border-radius:7px;font-size:12px;line-height:1.8;color:var(--brand-muted);margin-bottom:25px}.commerce-history-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:24px 0 13px}.commerce-history-heading h3{margin:0}.commerce-history-heading>span{font-size:12px;color:var(--brand-muted)}.commerce-history-table{border:1px solid var(--brand-line);border-radius:8px}.commerce-history-table .data-table{min-width:650px}.commerce-history-table .data-table th,.commerce-history-table .data-table td{padding:12px 14px}.commerce-tag-targets{border:1px solid var(--brand-line);background:var(--brand-paper);border-radius:8px;padding:16px 18px;margin-bottom:22px}.commerce-tag-targets>strong{font-size:12px;font-weight:500;color:var(--brand-ink);display:block;margin-bottom:12px}.commerce-tag-targets .tag{overflow-wrap:anywhere;max-width:100%}.commerce-coupon-toolbar{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:10px}.commerce-coupon-toolbar>.commerce-toolbar{flex:1;max-width:620px}.commerce-coupon-toolbar>.btn{flex-shrink:0;margin-bottom:1px}.commerce-coupon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}.commerce-coupon-card{display:flex;flex-direction:column;min-width:0;padding:22px}.commerce-coupon-top{display:flex;align-items:center;gap:11px}.commerce-coupon-mark{width:39px;height:39px;border-radius:10px;background:var(--brand-paper-dim);color:var(--brand-gold-deep);display:flex;align-items:center;justify-content:center;margin-right:auto}.commerce-coupon-value{font-size:34px;color:var(--brand-ink);margin:24px 0 12px;line-height:1.25;overflow-wrap:anywhere}.commerce-coupon-value small{font-size:12px;color:var(--brand-ink);margin-left:8px;letter-spacing:.5px}.commerce-coupon-card h3{font-size:14px;font-weight:500;color:var(--brand-ink);margin:0 0 11px;line-height:1.8}.commerce-coupon-code{align-self:flex-start;display:inline-block;background:var(--brand-paper);border:1px dashed var(--brand-line);color:var(--brand-muted);padding:7px 12px;border-radius:5px;font-size:12px;letter-spacing:1.2px;overflow-wrap:anywhere;max-width:100%}.commerce-coupon-description{color:var(--brand-muted);font-size:12px;line-height:1.9;margin:16px 0 18px}.commerce-coupon-rules{display:grid;gap:13px;margin:0 0 20px;font-size:12px}.commerce-coupon-rules>div{display:grid;grid-template-columns:86px minmax(0,1fr);gap:11px}.commerce-coupon-rules dt{color:var(--brand-muted)}.commerce-coupon-rules dd{margin:0;color:var(--brand-muted);line-height:1.7;overflow-wrap:anywhere}.commerce-coupon-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:13px;border-top:1px solid var(--brand-line);padding-top:16px;margin-top:auto}.commerce-coupon-footer>span{font-size:12px;color:var(--brand-muted)}.commerce-coupon-card.inactive{background:#fff}.commerce-coupon-card.inactive .commerce-coupon-value{color:var(--brand-ink)}.commerce-active-option{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--brand-muted);margin:3px 0 17px}.commerce-scope{border:1px solid var(--brand-line);border-radius:8px;padding:15px 17px;margin:21px 0}.commerce-scope legend{font-size:12px;color:var(--brand-muted);padding:0 6px}.commerce-scope>p{font-size:12px;line-height:1.8;color:var(--brand-muted);margin:0 0 13px}.commerce-scope-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.commerce-scope-checks label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--brand-muted);line-height:1.8;cursor:pointer}.commerce-scope-checks small{font-size:12px;color:var(--brand-muted)}.commerce-page .empty-state p{margin:6px 0;line-height:1.8}
@media(max-width:1250px){.commerce-coupon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-metric{padding:17px}.commerce-metric>strong{font-size:24px}.commerce-toolbar>.commerce-spend{max-width:none}.commerce-metrics{gap:12px}}
@media(max-width:960px){.commerce-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-metrics-three{grid-template-columns:repeat(3,minmax(0,1fr))}.commerce-metrics-three .commerce-metric>strong{font-size:23px}}
@media(max-width:760px){.commerce-intro{padding:20px;gap:13px;align-items:flex-start;margin-bottom:22px}.commerce-intro>svg{width:30px;height:30px;margin-top:5px}.commerce-intro>div>span{font-size:12px;letter-spacing:1px}.commerce-intro h2{font-size:18px;line-height:1.7}.commerce-intro p{font-size:12px}.commerce-toolbar{gap:12px}.commerce-toolbar>.field{min-width:calc(50% - 6px);max-width:none;flex:1}.commerce-toolbar>.commerce-search{min-width:100%}.commerce-toolbar>.commerce-spend{min-width:calc(50% - 6px)}.commerce-filter-footer{align-items:flex-start;font-size:12px;gap:12px}.commerce-filter-footer>span{flex:1}.commerce-filter-footer>.btn{flex-shrink:0}.commerce-metrics,.commerce-metrics-three{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:20px 0}.commerce-metric{padding:15px}.commerce-metric>strong,.commerce-metrics-three .commerce-metric>strong{font-size:23px;margin:14px 0 7px}.commerce-metric>small{font-size:12px}.commerce-selection{padding:13px 15px;gap:12px;align-items:flex-start;flex-wrap:wrap}.commerce-selection>span{line-height:1.8}.commerce-selection .commerce-actions{width:100%}.commerce-page .table-footer{align-items:flex-start;gap:15px}.commerce-page .table-footer>span:first-child{max-width:80%;line-height:1.7}.commerce-detail-totals{gap:13px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:25px}.commerce-detail-totals strong{font-size:21px}.commerce-member-profile{align-items:flex-start}.commerce-avatar.large{width:47px;height:47px;font-size:19px}.commerce-profile-details{padding:16px 14px}.commerce-history-heading{align-items:flex-start}.commerce-history-heading>span{max-width:160px;text-align:right;line-height:1.8}.commerce-coupon-grid{grid-template-columns:1fr;gap:17px}.commerce-coupon-toolbar{align-items:stretch;flex-direction:column;gap:14px}.commerce-coupon-toolbar>.btn{align-self:flex-start}.commerce-coupon-toolbar .commerce-toolbar>.commerce-search{min-width:calc(60% - 6px)}.commerce-coupon-toolbar .commerce-toolbar>.field:not(.commerce-search){min-width:calc(40% - 6px)}.commerce-coupon-card{padding:23px}.commerce-coupon-value{font-size:34px;margin-top:22px}.commerce-coupon-description{font-size:12px}.commerce-coupon-rules{font-size:12px}.commerce-coupon-footer>span{font-size:12px}.commerce-scope-checks{grid-template-columns:1fr}.commerce-scope-checks label{font-size:12px}.commerce-tag-targets{padding:15px}.commerce-profile-details .detail-value{overflow-wrap:anywhere}.commerce-page .card-description{line-height:1.8}}

.commerce-checkbox-touch{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;min-width:28px;min-height:28px}@media(max-width:760px){.commerce-checkbox-touch{min-width:44px;min-height:44px}}

.commerce-tag-mode{margin-bottom:20px}.tag-picker-field{display:block;min-width:0;margin-bottom:22px}.tag-picker-label{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:29px;margin-bottom:6px}.tag-picker-label .field-label{margin:0}.tag-picker-clear{border:0;background:none;padding:5px 0;color:var(--brand-muted);font:inherit;font-size:12px;cursor:pointer}.tag-picker-clear:hover{text-decoration:underline}.tag-picker-control{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:48px;padding:7px 44px 7px 10px;border:1px solid var(--brand-line);background:var(--brand-paper);border-radius:8px;color:var(--brand-muted)}.tag-picker-control:focus-within{border-color:var(--brand-navy);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand-navy) 9%,transparent)}.tag-picker-chips{display:contents}.tag-picker-chip{display:inline-flex;align-items:center;max-width:100%;gap:4px;border-radius:4px;padding:4px 7px;font-size:12px;line-height:1.5;color:var(--brand-muted);background:var(--brand-paper-dim);overflow-wrap:anywhere;min-width:0}.tag-picker-chips>.tag-picker-chip{padding:0 0 0 8px}.tag-picker-chips>.tag-picker-chip>span{min-width:0;overflow-wrap:anywhere}.tag-picker-chip button{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;flex-shrink:0;min-width:28px;min-height:30px;padding:0 4px;border-radius:4px;cursor:pointer;color:inherit;font-size:18px;line-height:1}.tag-picker-chip button:hover{background:color-mix(in srgb,var(--brand-paper-dim) 24%,transparent)}.tag-color-0{background:#dae9f6;color:#315f80}.tag-color-1{background:#f1e8c6;color:#786426}.tag-color-2{background:#e5e0f2;color:#62527d}.tag-color-3{background:#dcebdc;color:#4d7052}.tag-color-4{background:#f2dedc;color:#875851}.tag-color-5{background:#e8e7e2;color:#62685f}.tag-picker-search{flex:1 1 130px;min-width:90px;width:100%;border:0;background:transparent;color:var(--brand-muted);font:inherit;font-size:12px;line-height:1.5;padding:7px 1px;outline:none;box-shadow:none!important}.tag-picker-search::placeholder{color:var(--brand-muted)}.tag-picker-open{position:absolute;top:8px;right:8px;display:inline-flex;align-items:center;justify-content:center;width:28px;height:30px;border:0;background:none;color:var(--brand-muted);font-size:21px;border-radius:4px;cursor:pointer}.tag-picker-open:hover{background:var(--brand-paper-dim)}.tag-picker-panel{margin-top:6px;padding:7px 5px;background:white;border:1px solid var(--brand-line);border-radius:8px;box-shadow:0 7px 20px color-mix(in srgb,var(--brand-navy) 9%,transparent)}.tag-picker-panel>p{margin:4px 8px 8px;font-size:12px;color:var(--brand-muted);line-height:1.7}.tag-picker-options{display:grid;gap:3px;max-height:220px;overflow-y:auto;overscroll-behavior:contain}.tag-picker-option{display:flex;align-items:center;gap:8px;width:100%;min-width:0;min-height:38px;border:0;border-radius:5px;background:white;text-align:left;padding:5px 9px;cursor:pointer;color:var(--brand-muted);font:inherit}.tag-picker-option:hover,.tag-picker-option.is-highlighted{background:var(--brand-paper)}.tag-picker-option[aria-selected=true]{background:var(--brand-paper)}.tag-picker-check{margin-left:auto;padding-left:5px;flex-shrink:0;font-size:15px;color:var(--brand-muted)}.tag-picker-create{font-size:12px;color:var(--brand-muted);flex-shrink:0}.tag-picker-empty{font-size:12px;color:var(--brand-muted);padding:8px;line-height:1.8;margin:0}.tag-picker-message{min-height:0;font-size:12px;line-height:1.7;margin:7px 0 0;color:var(--brand-muted)}.tag-picker-message:empty{display:none}.tag-picker-field.has-error .tag-picker-message{color:#a45240}.tag-picker-field.has-error .tag-picker-control{border-color:#be8b79}.tag-picker-field .form-help{margin:9px 0 0}.tag-picker-field [hidden]{display:none!important}.tag-picker-field button:focus-visible{outline:2px solid var(--brand-focus);outline-offset:2px}.tag-picker-field .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.tag-picker-control{padding:7px 56px 7px 7px;gap:6px}.tag-picker-search{font-size:16px;flex-basis:130px;min-height:44px;padding:7px 3px}.tag-picker-chip{font-size:12px}.tag-picker-chip button{min-width:44px;min-height:44px}.tag-picker-open{top:7px;right:5px;width:44px;height:44px}.tag-picker-option{min-height:44px;padding:5px 8px}.tag-picker-options{max-height:200px}.tag-picker-clear{min-height:44px;padding:8px 0}.tag-picker-field .form-help,.tag-picker-panel>p{font-size:12px}.tag-picker-label{margin-bottom:2px}.tag-picker-field{margin-bottom:20px}}
