/* Line tools - a single editable area with chained line operations and live counts.
   Reuses base .btn-outline / .seg; colors come from theme tokens only. */

.lt-intro { color: var(--muted); max-width: 62ch; margin: 8px 0 20px; }

.lt-toolbar {
    display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center;
    justify-content: space-between; margin-bottom: 16px;
}
.lt-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lt-control { display: flex; align-items: center; gap: 10px; }
.lt-control-label { font-size: 14px; color: var(--muted); font-weight: 600; }

.lt-pane-label { display: block; font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }

.lt-area {
    width: 100%; box-sizing: border-box; min-height: 300px; resize: vertical;
    font-family: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;
    font-size: 14px; line-height: 1.5; padding: 12px;
    color: var(--text); background: var(--surface);
    border: 1px solid var(--border); border-radius: 12px;
    white-space: pre; overflow: auto;
}
.lt-area:focus { outline: 2px solid var(--accent); border-color: var(--accent); }

.lt-footer {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
    justify-content: space-between; margin-top: 12px;
}
.lt-stats { margin: 0; color: var(--muted); font-size: 14px; }
.lt-footer-actions { display: flex; gap: 10px; align-items: center; }

.lt-copy {
    font: inherit; font-size: 13px; padding: 7px 14px; cursor: pointer;
    border: 1px solid var(--border-strong); border-radius: 8px;
    background: var(--surface); color: var(--text);
    transition: border-color .15s, background .15s, color .15s;
}
.lt-copy:hover:not(:disabled) { border-color: var(--accent); color: var(--accent-strong); }
.lt-copy:disabled { opacity: .5; cursor: not-allowed; }
