.kc-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.kc-heading .wt-panel-title, .kc-heading .wt-note { margin: 0; }
.kc-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kc-cards[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kc-cards[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kc-card { min-width: 0; display: block; }
.kc-card[hidden] { display: none; }
.kc-card-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 10px; }
.kc-count { font-size: 12px; color: var(--muted); }
.kc-count-error { color: var(--danger); font-weight: 700; }
.kc-input { min-height: 260px; resize: vertical; line-height: 1.75; }
.kc-card-controls, .kc-pages { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.kc-card-controls .wt-button { font-size: 13px; }
.kc-privacy { text-align: center; margin-top: 20px; }
.kc-downloads { display: flex; flex-wrap: wrap; gap: 12px; }
.kc-progress { margin-top: 18px; }
.kc-results-list { margin: 24px 0 0; padding-left: 48px; background: var(--alt); border-radius: var(--r-md); max-height: 480px; overflow-y: auto; list-style: decimal; }
.kc-result { border-bottom: 1px solid var(--border-soft); padding: 10px 16px 10px 6px; overflow-wrap: anywhere; white-space: pre-wrap; }
.kc-result::marker { color: var(--muted); font-size: 12px; }
@media (max-width: 900px) { .kc-cards, .kc-cards[data-count="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .kc-cards, .kc-cards[data-count="2"], .kc-cards[data-count="3"] { grid-template-columns: 1fr; } .kc-input { min-height: 170px; } .kc-downloads .wt-button { width: 100%; } }
