.customer-product-tag { display:block; padding:10px 14px; margin:10px 0; border:1px solid #d8aaa3; border-inline-start:4px solid #a44336; border-radius:10px; background:#fcf0ed; color:#87382e; font-size:15px; font-weight:700; line-height:1.65; overflow-wrap:anywhere; white-space:pre-wrap; text-align:start; }
.customer-product-tag::before { content:"✓"; display:inline-block; margin-inline-end:8px; color:#a44336; font-weight:800; }
.detail-summary .customer-product-tag { font-size:18px; padding:14px 16px; margin:12px 0 16px; }
.product-tag-settings { padding:16px; border:1px solid #d8dee5; border-radius:10px; }
.product-tag-settings legend { font-size:16px; font-weight:700; }
.product-tag-settings .product-tag-toggle { display:flex; align-items:center; gap:10px; margin-bottom:12px; cursor:pointer; }
.product-tag-settings input[role=switch] { appearance:none; width:46px; height:26px; padding:0; border:2px solid #687580; border-radius:20px; background:#687580; flex:none; cursor:pointer; }
.product-tag-settings input[role=switch]::before { content:""; display:block; width:18px; height:18px; margin:2px; border-radius:50%; background:white; transition:transform .15s; }
.product-tag-settings input[role=switch]:checked { background:#08634c; border-color:#08634c; }
.product-tag-settings input[role=switch]:checked::before { transform:translateX(20px); }
.product-tag-settings input[role=switch]:focus-visible { outline:3px solid #126bd1; outline-offset:3px; }
.product-tag-toggle b { margin-inline-start:8px; }
.product-tag-toggle .tag-on,.product-tag-toggle input:checked + span .tag-off { display:none; }
.product-tag-toggle input:checked + span .tag-on { display:inline; }
.product-tag-settings small { display:block; margin-top:8px; color:#4b5967; }

/* Keep homepage reassurance secondary to the product and its photo. */
.owner-panel .customer-product-tag { display:inline-block; max-width:100%; padding:3px 6px; margin:4px 0; border-inline-start-width:2px; border-radius:5px; font-size:10px; line-height:1.35; white-space:normal; overflow-wrap:normal; }
.owner-panel .customer-product-tag::before { margin-inline-end:4px; }
.owner-panel .owner-product-image { height:200px; overflow:hidden; }
.owner-panel .owner-panel-product-photo { display:block; width:100%; height:100%; min-height:0; object-fit:contain; padding:8px; }
.owner-panel .owner-product-mini { display:grid; grid-template-columns:88px minmax(0,1fr) 26px; gap:12px; align-items:center; }
.owner-panel .owner-mini-photo-link,.owner-panel .owner-product-mini .mini-visual { width:88px; height:88px; flex:none; }
.owner-panel .owner-mini-photo { width:100%; height:100%; object-fit:contain; padding:3px; background:#f5f8f5; }
.owner-panel .owner-product-mini > span { min-width:0; }
@media(max-width:360px) {
 .owner-panel .owner-product-mini { grid-template-columns:76px minmax(0,1fr) 24px; gap:8px; }
 .owner-panel .owner-mini-photo-link,.owner-panel .owner-product-mini .mini-visual { width:76px; height:76px; }
}
