/* RT-TXT-070 — Hokkien POJ ↔ Tâi-lô Converter.
 * Light surfaces throughout: --rt-ink / --rt-ink-soft on --rt-surface. No
 * navy result box, so no --rt-result-* tokens (docs/contrast-conventions.md). */

.hk-form { display: flex; flex-direction: column; gap: var(--rt-s-4); min-width: 0; }
.hk-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hk-label { margin: 0; font-family: var(--rt-font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; color: var(--rt-ink-muted); }
.hk-input {
    width: 100%; box-sizing: border-box; resize: vertical; padding: 10px 14px;
    border: 1px solid var(--rt-hairline); border-radius: var(--rt-r-button);
    background: var(--rt-surface); color: var(--rt-ink); font-size: 19px; line-height: 1.6;
}
.hk-input:focus { outline: none; border-color: var(--rt-accent); box-shadow: 0 0 0 3px var(--rt-accent-soft); }
.hk-samples { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hk-samples-label { font-size: 11px; color: var(--rt-ink-soft); margin-right: 2px; }
.hk-chip { padding: 5px 11px; border-radius: var(--rt-r-chip); cursor: pointer; border: 1px solid var(--rt-hairline); background: var(--rt-surface-2); color: var(--rt-ink); font-size: 14px; }
.hk-chip:hover { border-color: var(--rt-accent); background: var(--rt-surface); }
.hk-dir { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.hk-radio { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; color: var(--rt-ink); cursor: pointer; }

/* Rendered synchronously from the default text on load; the floor matches it. */
.hk-out { min-width: 0; min-height: 150px; border: 1px solid var(--rt-hairline); border-radius: var(--rt-r-card); background: var(--rt-surface); padding: var(--rt-s-3) var(--rt-s-4); }
.hk-result { display: flex; flex-direction: column; gap: 8px; }
.hk-text { margin: 0; font-size: 22px; line-height: 1.6; color: var(--rt-ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.hk-note { margin: 0; font-size: 13px; color: var(--rt-ink-soft); }
.hk-flag { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--rt-ink); }
.hk-copy { align-self: flex-start; padding: 5px 14px; border-radius: var(--rt-r-chip); cursor: pointer; font-size: 13.5px; border: 1px solid var(--rt-hairline); background: var(--rt-surface-2); color: var(--rt-ink); }
.hk-copy:hover { border-color: var(--rt-accent); }
.hk-ack { font-size: 11.5px; color: var(--rt-ink-soft); line-height: 1.6; margin: 0; }
