/* Writing Style Smoother — tool-specific styles */
.ws-input { width: 100%; min-height: 26vh; resize: vertical; background: var(--bg-soft); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; font-size: 1rem; line-height: 1.7; font-family: inherit; }
.ws-input:focus { outline: none; border-color: var(--accent); }
.ws-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.ws-stat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 8px; text-align: center; }
.ws-stat span { display: block; font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ws-stat small { display: block; color: var(--muted-2); font-size: .72rem; margin-top: 3px; text-transform: uppercase; letter-spacing: .03em; }
.ws-stat.hi { border-color: rgba(92,217,138,.5); background: rgba(92,217,138,.08); }
.ws-stat.hi span { color: #5cd98a; }
.ws-rhythm { display: flex; align-items: flex-end; gap: 2px; height: 40px; margin-top: 14px; padding: 0 2px; }
.ws-rhythm-bar { flex: 1 1 auto; min-width: 2px; max-width: 10px; background: color-mix(in srgb, var(--accent) 55%, var(--card-2)); border-radius: 2px 2px 0 0; }
.ws-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.ws-panel h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-2); margin: 0 0 10px; }
.ws-list { display: flex; flex-direction: column; gap: 8px; max-height: 360px; overflow-y: auto; }
.ws-item { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; }
.ws-item-ctx { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.ws-item-ctx b { color: var(--text); background: rgba(255,206,92,.18); border-radius: 3px; padding: 0 2px; }
.ws-item-sug { margin: 6px 0 0; font-size: .8rem; color: var(--muted-2); }
.ws-item-sug b { color: #5cd98a; font-weight: 700; }
.ws-fix { margin-top: 8px; background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 999px;
  padding: 5px 11px; font-size: .76rem; font-weight: 600; font-family: inherit; cursor: pointer; }
.ws-fix:hover { border-color: var(--accent); color: var(--text); }
.ws-empty, .ws-more { color: var(--muted-2); font-size: .84rem; font-style: italic; margin: 0; }
.ws-bar { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.ws-bar .spacer { flex: 1; }
@media (max-width: 760px) { .ws-stats { grid-template-columns: repeat(2, 1fr); } .ws-panels { grid-template-columns: 1fr; } }
