.blocked-words-admin { display: grid; gap: 12px; color: var(--text); }
.blocked-words-admin.hidden { display: none; }
.bw-heading, .bw-actions, .bw-row-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bw-heading { justify-content: space-between; }
.bw-heading h3, .bw-card h3, .bw-dialog h3 { margin: 0; color: var(--gold); }
.bw-help { margin: 6px 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.bw-message { margin: 0; color: var(--gold); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.bw-message:empty { display: none; }
.bw-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 16px; align-items: start; }
.bw-card { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 18px; }
.bw-filters { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(130px, .7fr) minmax(115px, .6fr) auto; gap: 10px; align-items: end; margin-bottom: 16px; }
.blocked-words-admin label { display: grid; gap: 7px; min-width: 0; font-size: 13px; }
.blocked-words-admin label > span { color: var(--muted); }
.blocked-words-admin input, .blocked-words-admin select, .blocked-words-admin textarea { box-sizing: border-box; width: 100%; min-width: 0; }
.blocked-words-admin textarea { resize: vertical; line-height: 1.6; }
.bw-table-wrap { overflow-x: auto; }
.bw-table-wrap table { width: 100%; min-width: 600px; }
.bw-table-wrap th, .bw-table-wrap td { padding: 12px 9px; }
.bw-word { max-width: 220px; overflow-wrap: anywhere; }
.bw-date { color: var(--muted); font-size: 12px; white-space: nowrap; }
.bw-row-actions { gap: 6px; flex-wrap: nowrap; font-size: 12px; }
.bw-row-actions button { padding: 6px 9px; white-space: nowrap; }
.bw-state { display: inline-block; padding: 3px 7px; border-radius: 5px; font-size: 12px; white-space: nowrap; }
.bw-state.is-enabled { color: #95d3a6; background: #233d2a; }
.bw-state.is-disabled { color: var(--muted); background: var(--panel-2); }
.bw-empty { text-align: center; color: var(--muted); height: 120px; }
.bw-check-card form { display: grid; gap: 14px; margin-top: 16px; }
.bw-check-result { display: block; margin-top: 18px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.bw-check-result.is-matched { color: #f2b580; border-color: #815c35; }
.bw-dialog { width: min(560px, calc(100vw - 32px)); box-sizing: border-box; max-height: calc(100vh - 40px); overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--text); padding: 24px; }
.bw-dialog::backdrop { background: rgb(0 0 0 / 65%); }
.bw-dialog form { display: grid; gap: 18px; }
.bw-dialog header, .bw-dialog footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bw-dialog footer { justify-content: flex-end; flex-wrap: wrap; }
.bw-dialog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 1250px) { .bw-layout { grid-template-columns: minmax(0, 1fr); } .bw-check-card form { grid-template-columns: 170px minmax(0, 1fr) auto; align-items: end; } }
@media (max-width: 700px) { .bw-filters { grid-template-columns: 1fr 1fr; } .bw-filters label:first-child { grid-column: 1 / -1; } .bw-check-card form { grid-template-columns: 1fr; } .bw-dialog { padding: 18px; } .bw-dialog-grid { grid-template-columns: 1fr; } .bw-actions { width: 100%; } }
