/* Bluesky Thread Splitter -- page-specific layout on top of the shared
   .ic-tool / .ic-split-plain / cm-* framework (sc-image-checker.css,
   sc-image-compressor.css). */

.pub-site .ts-field { margin-bottom: 1rem; }
.pub-site .ts-field-label {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  color: var(--pub-text);
  margin-bottom: .4rem;
}
.pub-site .ts-textarea {
  width: 100%;
  min-height: 220px;
  resize: vertical;
  padding: .75rem .85rem;
  border: 1px solid var(--pub-border-strong);
  border-radius: var(--pub-radius-md);
  background: var(--pub-surface);
  color: var(--pub-text);
  font: inherit;
  font-size: .9375rem;
  line-height: 1.55;
}
.pub-site .ts-textarea:focus-visible { outline: none; box-shadow: var(--pub-ring); border-color: var(--pub-accent); }
.pub-site .ts-input-count {
  display: block;
  margin-top: .35rem;
  font-size: .8125rem;
  color: var(--pub-text-muted);
}

.pub-site .ts-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.1rem; }

.pub-site .ts-result-summary {
  margin: 0 0 .85rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--pub-text);
}

.pub-site .ts-post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-height: 60vh;
  overflow-y: auto;
}
.pub-site .ts-post-card {
  border: 1px solid var(--pub-border);
  border-radius: var(--pub-radius-md);
  background: var(--pub-surface);
  padding: .75rem .85rem;
}
.pub-site .ts-post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .4rem;
}
.pub-site .ts-post-n { font-size: .75rem; font-weight: 800; color: var(--pub-text-muted); text-transform: uppercase; letter-spacing: .04em; }
.pub-site .ts-post-count { font-size: .75rem; font-weight: 700; color: var(--pub-success); }
.pub-site .ts-post-count.is-over { color: var(--pub-danger, #dc2626); }
.pub-site .ts-post-text {
  margin: 0 0 .6rem;
  font-size: .875rem;
  line-height: 1.55;
  color: var(--pub-text);
  white-space: pre-wrap;
  word-break: break-word;
}
.pub-site .ts-post-copy { font-size: .8125rem; padding: .4rem .75rem; min-height: 0; }

.pub-site .ts-copy-status {
  display: block;
  margin-top: .6rem;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--pub-success);
}
