.bt-body{min-width:0}.bt-preview{margin-bottom:18px}.bt-preview h3{font-size:15px;line-height:1.4;margin:0 0 8px}.bt-selected-assets{margin:12px 0 0;padding:0;list-style:none;max-height:150px;overflow:auto;border:1px solid var(--line);border-radius:8px;background:#171c13}.bt-selected-assets li{font-size:12px;line-height:1.6;padding:9px 12px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.bt-selected-assets li:last-child{border-bottom:0}.bt-guidance{padding:12px 14px;background:#292819;border:1px solid #55482a;border-radius:8px;margin-bottom:20px}.bt-guidance p{margin:0;color:#e8d899;font-size:12px;line-height:1.7}.bt-modes{padding:0;border:0;margin:20px 0;display:grid;gap:10px}.bt-modes legend{font-size:13px;font-weight:600;margin-bottom:12px}.bt-modes label{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);background:#1a2015;padding:12px;border-radius:8px;cursor:pointer;min-width:0}.bt-modes input{flex-shrink:0;margin-top:3px;accent-color:var(--gold);width:16px;height:16px}.bt-modes strong{display:block;font-size:13px}.bt-modes small{display:block;font-size:12px;color:var(--muted);line-height:1.6;margin-top:4px}.bt-modes label:has(input:checked){border-color:var(--gold);background:#282d1d}.bt-modes label:focus-within{outline:2px solid var(--gold);outline-offset:2px}.bt-replace-confirm{padding:12px 14px;border:1px solid #875e3f;border-radius:8px;background:#302219;margin-top:16px}.bt-replace-confirm[hidden]{display:none}.bt-replace-confirm .check-field{margin:0;font-size:13px}.bt-replace-confirm .small-note{margin-bottom:0}.bt-tags label{overflow-wrap:anywhere;min-width:0}.bt-body .error{overflow-wrap:anywhere}.bt-body [disabled]{cursor:default}@media(max-width:540px){.bt-selected-assets{max-height:125px}.bt-modes label{padding:10px}.bt-guidance,.bt-replace-confirm{padding:10px 12px}.bt-tags .tag-checkboxes{grid-template-columns:minmax(0,1fr)}}

/* Selection has its own card row/column, separate from preview and details. */
.bt-selection {
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:10px 14px;
 min-width:0;
 margin:0 0 16px;
 padding:12px;
 border:1px solid #4b4931;
 border-radius:8px;
 background:#242719;
}
.bt-selection > label {
 display:flex;
 align-items:center;
 gap:9px;
 min-height:38px;
 font-size:12px;
 cursor:pointer;
}
.bt-selection > span { margin-right:auto; font-size:12px; font-variant-numeric:tabular-nums; }
.bt-selection > small { flex:1 1 100%; color:var(--dam-muted,var(--muted)); font-size:11px; line-height:1.6; overflow-wrap:anywhere; }
.bt-selection .btn { white-space:nowrap; }
.dam-shell :is(.bt-selection,.bt-asset-select) input[type="checkbox"] {
 width:18px;
 height:18px;
 min-width:18px;
 min-height:18px;
 max-width:18px;
 padding:0;
 margin:0;
 flex:0 0 18px;
 accent-color:var(--gold,#e6bd62);
 cursor:pointer;
}
.dam-asset-card > .bt-asset-select {
 position:static;
 display:flex;
 align-items:center;
 gap:8px;
 width:100%;
 min-width:0;
 min-height:38px;
 padding:8px 11px;
 border-bottom:1px solid #36402d;
 background:#161d12;
 color:var(--dam-muted,var(--muted));
 cursor:pointer;
}
.dam-assets:not(.is-list) .bt-asset-select .sr-only {
 position:static;
 width:auto;
 height:auto;
 padding:0;
 margin:0;
 overflow:visible;
 clip:auto;
 white-space:normal;
 border:0;
 font-size:10px;
 line-height:1.4;
}
.dam-asset-card > .bt-asset-select:hover { background:#282e1e; color:#ece2c5; }
.dam-asset-card > .bt-asset-select:focus-within { box-shadow:inset 0 0 0 2px var(--gold,#e6bd62); }
/* References reserve the same selection row/column without a control. */
.dam-asset-card > .bt-asset-select-spacer { pointer-events:none; cursor:default; }
.dam-asset-card.bt-selected {
 border-color:var(--gold,#e6bd62);
 box-shadow:0 0 0 1px var(--gold,#e6bd62);
 background:#262b1c;
}
.dam-asset-card.bt-selected > .bt-asset-select { background:#38331f; color:#f1d187; border-color:#5f522e; }
.dam-assets.is-list .dam-asset-card > .bt-asset-select {
 flex:0 0 42px;
 align-self:stretch;
 justify-content:center;
 width:42px;
 min-height:82px;
 padding:8px;
 border-bottom:0;
 border-right:1px solid #36402d;
}
@media(max-width:540px) {
 .bt-selection { gap:8px 10px; padding:10px; }
 .bt-selection > label { flex:0 1 auto; }
 .bt-selection > span { flex:1 1 auto; text-align:right; margin-right:0; }
 .bt-selection > .btn { flex:1 1 calc(50% - 5px); padding:10px 8px; font-size:11px; min-width:0; }
 .dam-asset-card > .bt-asset-select { padding:8px 9px; }
 .dam-assets.is-list .dam-asset-card > .bt-asset-select { flex-basis:38px; width:38px; min-height:80px; padding:8px; }
}
