/* Preserve v51 colors and clockwise cycle; keep new fields inside phone width. */
.tx-tools{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.tx-tools .btn{flex:1;min-width:130px}.tx-check{display:flex;align-items:flex-start;gap:10px;margin:12px 0;overflow-wrap:anywhere}.tx-check input{width:22px;height:22px;flex:none;accent-color:#164b67}.tx-file{display:block;margin:20px 0}.tx-file input{display:block;max-width:100%;margin-top:8px}.tx-image{display:block;max-width:100%;max-height:500px;object-fit:contain;border-radius:12px;margin:14px auto}.tx-record{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.65}#txDialog{width:min(760px,calc(100vw - 24px));max-height:88dvh;overflow:auto;box-sizing:border-box}#txInput{min-height:180px;scroll-margin-top:20px}#txDialog .actions{display:flex;flex-wrap:wrap;gap:8px}select.field,#headerLevel,#practiceMode{min-width:0;max-width:100%;text-overflow:ellipsis;white-space:nowrap}#main .two-col{margin:20px 0;gap:16px}#main .two-col label{min-width:0}.brand-text small{letter-spacing:.03em}.tx-check span{min-width:0}#txReview .section{margin-top:20px}.summary-row b{overflow-wrap:anywhere}@media(max-width:600px){#txDialog{padding:18px 14px}.tx-tools .btn{font-size:14px;padding:12px 8px}#txDialog input,#txDialog textarea,#txDialog select{font-size:16px}#main h2{font-size:24px}.brand-text small{font-size:12px}.tx-check{font-size:16px}#main .two-col{grid-template-columns:1fr}}
