#heyrinBulkSection{border:1px solid #d6d0c8;background:#fff;margin:14px 0;border-radius:6px}
#heyrinBulkSection>summary{padding:17px 18px;cursor:pointer;background:#f7f4f0;font-weight:bold;font-size:16px;list-style:none}
#heyrinBulkSection[open]>summary{border-bottom:1px solid #e5ded8}
#heyrinBulkSection .bulk-body{padding:18px}
#heyrinBulkSection .bulk-note{font-size:13px;line-height:1.65;color:#716960;margin:8px 0 16px}
#heyrinBulkSection .bulk-line{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:12px 0}
#heyrinBulkSection .bulk-line label{display:flex;align-items:center;gap:5px;font-size:13px;margin:0}
#heyrinBulkSection button{background:#282522;border:0;color:#fff;padding:10px 14px;border-radius:5px;cursor:pointer}
#heyrinBulkSection button.alt{background:#ece7e1;color:#24211d}
#heyrinBulkSection button:disabled{opacity:.4;cursor:not-allowed}
#heyrinBulkSection #heyrinBulkFile{max-width:100%;padding:12px;background:#f9f7f5;border:1px dashed #ccc}
#heyrinBulkSection .bulk-table-wrap{overflow-x:auto;max-height:410px;overflow-y:auto;border:1px solid #e8e2db}
#heyrinBulkSection table{border-collapse:collapse;width:100%;min-width:750px;background:white;font-size:13px}
#heyrinBulkSection th,#heyrinBulkSection td{border-bottom:1px solid #ebe7e1;padding:9px 7px;text-align:left;vertical-align:middle}
#heyrinBulkSection th{background:#f8f5f0;position:sticky;top:0;z-index:1}
#heyrinBulkSection input[type=text],#heyrinBulkSection input[type=number]{border:1px solid #d2ccc5;border-radius:3px;padding:8px;min-width:0;width:100%;font:inherit}
#heyrinBulkSection input[type=checkbox]{width:18px;height:18px;accent-color:#342e29}
#heyrinBulkSection #heyrinBulkStatus{font-size:13px;line-height:1.7;white-space:pre-wrap;margin:12px 0;background:#faf8f6;padding:12px;border-radius:5px}
#heyrinBulkSection .bulk-warn{color:#ab4d25;font-size:12px}
#heyrinBulkSection .bulk-okay{color:#296346;font-size:12px}
#heyrinBulkSection a{color:#5c453c}
@media(max-width:650px){#heyrinBulkSection .bulk-body{padding:12px}#heyrinBulkSection .bulk-note{font-size:12px}}

#heyrinBulkSection .bulk-photo-review{margin-top:7px;padding:6px;border:1px solid #ddd4cb;border-radius:5px;max-width:225px;background:#faf8f4}
#heyrinBulkSection .bulk-photo-review summary{cursor:pointer;font-size:12px;font-weight:600}
#heyrinBulkSection .bulk-photo-review small{display:block;font-size:11px;color:#736b64;margin:5px 0}
#heyrinBulkSection .bulk-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:6px}
#heyrinBulkSection .bulk-photo-item{position:relative;display:block;cursor:pointer;border:1px solid #ddd;background:#fff}
#heyrinBulkSection .bulk-photo-item img{display:block;width:100%;height:72px;object-fit:cover}
#heyrinBulkSection .bulk-photo-item input{position:absolute;top:2px;left:2px;margin:0;z-index:1}
#heyrinBulkSection .bulk-photo-item.excluded img{opacity:.25;filter:grayscale(1)}
/* Opt-in correction of existing supplier product size surcharges. */
#heyrinBulkRepair{margin-top:20px;padding:12px;border:1px solid #d3c6b9;border-radius:6px;background:#faf9f7}
#heyrinBulkRepair>summary{cursor:pointer;font-weight:700;padding:5px}
#heyrinBulkRepair .bulk-repair-form{display:flex;flex-wrap:wrap;align-items:end;gap:9px;margin-top:12px}
#heyrinBulkRepair .bulk-repair-form label{display:flex;flex-direction:column;gap:5px;font-size:13px}
#heyrinBulkRepair select,#heyrinBulkRepair input{border:1px solid #d2ccc5;border-radius:4px;background:white;padding:9px;font:inherit;max-width:220px}
#heyrinBulkRepair .bulk-repair-list{max-height:290px;overflow:auto;margin:8px 0}
#heyrinBulkRepair .bulk-repair-item{display:flex;align-items:center;gap:9px;margin-bottom:7px;font-size:12px;line-height:1.5;background:#fff;border:1px solid #e4ded6;padding:9px}
#heyrinBulkRepair .bulk-repair-item input{flex:none;width:18px;height:18px}

/* v2.5: option auto-sync summary; detailed exceptions remain expandable. */
#heyrinBulkSyncOptions{background:#594738!important;font-weight:700}
#heyrinBulkSection .bulk-auto-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 18px}
#heyrinBulkSection .bulk-auto-count{border:1px solid #e4ddd5;background:#fcfaf7;padding:13px 10px;display:flex;flex-direction:column;gap:3px;text-align:center}
#heyrinBulkSection .bulk-auto-count strong{font-size:24px;color:#322b24}
#heyrinBulkSection .bulk-auto-count span{font-size:12px;color:#776c60}
#heyrinBulkSection .bulk-auto-preview{border:1px solid #e6dfd7;margin:9px 0;padding:13px;background:#fff}
#heyrinBulkSection .bulk-auto-preview summary{font-weight:600;cursor:pointer}
#heyrinBulkSection .bulk-auto-preview p{white-space:pre-line;border-top:1px solid #f2ede7;padding-top:8px}
@media(max-width:600px){#heyrinBulkSection .bulk-auto-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
