#wbCopy { min-width: 0; }
.wb-copy-templates { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 8px; padding: 8px 12px; }
.wb-copy-templates > p { grid-column: 1 / -1; color: #475569; }
.wb-copy-template { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; min-width: 0; padding: 8px 10px; border: 1px solid #d4dfec; border-radius: 6px; }
.wb-copy-template > div:first-child { min-width: 0; }
.wb-copy-template p { margin: 3px 0 0; color: #475569; overflow-wrap: anywhere; }
.wb-copy-tabs { display: flex; gap: 6px; padding: 8px 12px 0; border-bottom: 1px solid #d4dfec; }
.wb-copy-tabs button { border-color: transparent; border-radius: 4px 4px 0 0; }
.wb-copy-tabs button[aria-pressed="true"] { background: #f5edf9; border-bottom: 2px solid #9b11af; color: #761388; }
.wb-copy-note { margin: 6px 12px 0; color: #334155; }
.wb-copy-note.is-error, .wb-copy-row-result .is-error { color: #a02420; }
.wb-copy-table { min-width: 1060px; }
.wb-copy-table th:first-child { width: 32px; }
.wb-copy-table th:nth-child(4), .wb-copy-table th:nth-child(5) { width: 17%; }
.wb-copy-table td { overflow-wrap: anywhere; }
.wb-copy-table td input:not([type="checkbox"]), .wb-copy-table td select { display: block; width: 100%; min-width: 0; margin: 3px 0; }
.wb-copy-table td:nth-child(7) input { display: inline-block; width: calc(50% - 3px); }
.wb-copy-table [data-images] { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.wb-copy-table [data-images] img { width: 30px; height: 40px; object-fit: cover; border-radius: 3px; }
.wb-copy-dialog { width: min(690px, calc(100vw - 24px)); }
.wb-copy-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.wb-copy-form label { display: grid; gap: 4px; min-width: 0; }
.wb-copy-form input, .wb-copy-form select { width: 100%; min-width: 0; }
.wb-copy-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(115px, 1fr)); gap: 8px; margin-bottom: 12px; }
.wb-copy-gallery figure { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.wb-copy-gallery img { display: block; width: 100%; height: 125px; object-fit: contain; background: #f4f7fb; }
