.cast-registry-workspace{display:flex;flex-direction:column;gap:12px;min-width:0}
.cast-registry-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
.cast-registry-toolbar label{flex:1 1 220px;min-width:0;font-size:12px;color:var(--muted,#69717e)}
.cast-registry-toolbar input,.cast-registry-toolbar select{display:block;width:100%;margin-top:4px;font-size:14px}
.cast-registry-toolbar button{flex:0 0 auto}
.cast-registry-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid var(--line);border-radius:8px}
.cast-registry-table-scroll table{width:100%;min-width:940px;border-collapse:collapse;font-size:13px}
.cast-registry-table-scroll th,.cast-registry-table-scroll td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;overflow-wrap:anywhere}
.cast-registry-table-scroll th{position:sticky;top:0;background:var(--surface,#fff);font-size:12px;color:var(--muted,#69717e);z-index:1}
.cast-registry-table-scroll tbody tr:last-child td{border-bottom:0}
.cast-registry-label{font-weight:600}
.cast-registry-pending{margin-top:5px;color:#855b22}
.cast-registry-count,.cast-registry-status{display:inline-block;border-radius:5px;padding:3px 7px;background:#f0f1f4;line-height:1.4}
.cast-registry-count.is-unknown,.cast-registry-status.is-pending{background:#fff3dc;color:#765218}
.cast-registry-status.is-verified{background:#e8f2e8;color:#315a36}
.cast-registry-footnote{margin:0;color:var(--muted,#69717e)}
.cast-registry-error{padding:10px 12px;background:#fff1ed;border-radius:6px;color:#963a32}
@media(max-width:760px){
 .cast-registry-toolbar{align-items:stretch;flex-direction:column}
 .cast-registry-toolbar button{width:100%;min-height:44px}
 .cast-registry-table-scroll{overflow:visible;border:0}
 .cast-registry-table-scroll table{min-width:0;border-collapse:separate;border-spacing:0 8px}
 .cast-registry-table-scroll thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .cast-registry-table-scroll tbody,.cast-registry-table-scroll tr,.cast-registry-table-scroll td{display:block;width:auto}
 .cast-registry-table-scroll tr{padding:4px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface,#fff)}
 .cast-registry-table-scroll td{display:grid;grid-template-columns:minmax(105px,34%) minmax(0,1fr);gap:8px;padding:7px 0;border:0}
 .cast-registry-table-scroll td::before{content:attr(data-label);font-size:11px;color:var(--muted,#69717e)}
 .cast-registry-table-scroll td[colspan]::before{content:none}
}
