/* PDF結合・分割ツール 専用スタイル */

.highlight {
  background: linear-gradient(transparent 62%, var(--accent-soft) 62%);
  padding: 0 2px;
}

/* ---------- ファイルの受け口 ---------- */

.dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 36px 20px;
  text-align: center;
  transition: border-color .15s, background .15s;
}

.dropzone.over { border-color: var(--accent); background: var(--accent-soft); }

.drop-icon { font-size: 2.2rem; line-height: 1; }
.drop-main { font-size: 1.05rem; font-weight: 700; margin: 10px 0 4px; }
.drop-sub { font-size: .82rem; color: var(--text-muted); margin-bottom: 12px; }
.drop-note { font-size: .78rem; color: var(--text-muted); margin-top: 14px; }

/* ---------- ファイル一覧 ---------- */

.flist { margin-top: 18px; }

.frow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  margin-bottom: 6px;
  font-size: .88rem;
}

.frow.err { border-color: var(--danger); color: var(--text-muted); }

.fno {
  flex: 0 0 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
}

.fname {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.fmeta {
  flex: 0 0 auto;
  font-size: .78rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fbtn {
  flex: 0 0 auto;
  padding: 3px 9px;
  font-size: .82rem;
  line-height: 1.5;
}

.fbtn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }

/* ---------- 結果 ---------- */

.verdict {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-left-width: 6px;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 28px 0 14px;
}

.verdict-label { font-size: .85rem; font-weight: 600; color: var(--text-muted); }

.verdict-value {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  margin: 3px 0;
}

.verdict-sub {
  font-size: .85rem;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

/* ---------- 出典 ---------- */

.credit {
  font-size: .78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 32px;
}

@media (max-width: 600px) {
  .dropzone { padding: 26px 14px; }
  .verdict-value { font-size: 1.4rem; }
  .frow { flex-wrap: wrap; font-size: .82rem; }
  .fname { flex: 1 1 100%; order: -1; }
}
