/* LinkedIn Comment Counter — tool-specific */
.page { padding: 40px 20px; max-width: 720px; margin: 0 auto; }
.page h1 { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.page .subtitle { color: #888; margin-bottom: 20px; font-size: 14px; }

.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 12px; color: #aaa; text-transform: uppercase; letter-spacing: 1px; }
.form-row textarea {
  background: #0d0d0d; border: 1px solid #2a2a2a; color: #fff;
  padding: 12px; border-radius: 6px; font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  resize: vertical; line-height: 1.5;
}

.counter-row { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.counter { font-size: 12px; color: #888; font-family: 'SF Mono', monospace; }
.counter.warn { color: #ffa726; }
.counter.over { color: #ff4444; font-weight: 600; }
.counter-bar { flex: 1; margin-left: 12px; height: 4px; background: #0d0d0d; border-radius: 2px; overflow: hidden; max-width: 200px; }
.counter-fill { display: block; height: 100%; width: 0%; background: #4caf50; transition: width 0.15s, background 0.15s; }
.counter-fill.warn { background: #ffa726; }
.counter-fill.over { background: #ff4444; }

.opt-label { font-size: 11px; color: #aaa; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; display: block; margin-bottom: 10px; }

.preview-comment {
  display: flex; gap: 10px; padding: 16px;
  background: #fff; color: #000; border-radius: 8px;
  border: 1px solid #2a2a2a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.preview-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: #0a66c2; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.preview-body { flex: 1; min-width: 0; }
.preview-name {
  font-size: 14px; font-weight: 600; color: #000;
}
.preview-time { color: #666; font-weight: 400; font-size: 12px; }
.preview-headline { font-size: 12px; color: #666; margin-top: 1px; }
.preview-text {
  font-size: 14px; color: #000; margin-top: 8px;
  line-height: 1.4; white-space: pre-wrap; word-break: break-word;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.preview-text.show-cut::after {
  content: ' …see more'; color: #0a66c2; font-weight: 500;
}

@media (max-width: 600px) {
  .page { padding: 24px 12px; }
  .page h1 { font-size: 22px; }
}
