.reader-layout {display:grid;gap:20px;padding:0;width:100%;min-width:0;max-width:none;margin:0}
.reader-card {padding:20px;border:1px solid var(--line, #e2e8f0);border-radius:14px;background:var(--panel, #fff)}
.reader-fields {display:flex;gap:14px;flex-wrap:wrap;align-items:end;margin:16px 0}
.reader-fields label {display:flex;flex-direction:column;gap:7px;min-width:130px;margin:0}
.reader-fields .btn,.reader-fields input:not([type=checkbox]),.reader-fields select {height:40px}
.reader-run-controls {align-items:center}
.reader-run-controls .reader-check {flex-direction:row;align-items:center;min-width:0}
.reader-run-controls #readerProgress {line-height:40px}
.reader-editor {display:grid;gap:20px}
.reader-list-head,.reader-editor-head {display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.reader-editor-head {justify-content:flex-start;margin-bottom:0}
.reader-actions {display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.reader-actions a {text-decoration:none;white-space:nowrap}
.reader-table-wrap {overflow-x:auto}
.reader-table {border-collapse:collapse;width:100%;text-align:left}
.reader-table th,.reader-table td {padding:16px 12px;border-bottom:1px solid var(--line,#e2e8f0);vertical-align:middle}
.reader-table th {font-size:13px;color:var(--muted)}
.reader-table td:first-child {font-weight:600;min-width:180px;overflow-wrap:anywhere}
.reader-table td:nth-child(2),.reader-table td:nth-child(3) {white-space:nowrap}
.reader-fields input,.reader-fields select {padding:9px;border-radius:7px;max-width:100%}
.reader-fields input[type=checkbox] {width:16px;min-width:16px;margin:0}
#readerVoiceControls {display:grid;grid-template-columns:minmax(100px,1fr) minmax(210px,3fr) auto minmax(80px,.8fr) minmax(125px,1.2fr)}
#readerVoiceControls label {min-width:0}
#readerVoiceControls select,#readerVoiceControls input {width:100%;min-width:0}
@media(max-width:1100px){#readerVoiceControls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#readerVoiceControls{grid-template-columns:1fr}}
#readerText {width:100%;min-height:220px;resize:vertical;padding:14px;box-sizing:border-box;line-height:1.6}
.reader-chunk {padding:16px;border:1px solid var(--line, #e2e8f0);border-radius:10px;margin:12px 0}
.reader-chunk .toolbar {display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.reader-chunk .toolbar button {margin-left:auto}
.reader-text {white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;font:inherit;line-height:1.7}
.reader-error {color:var(--danger, #f87171);white-space:pre-wrap}
.reader-player,#readerFinal {display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:10px}
.reader-player audio,#readerFinal audio {max-width:100%}
@media(max-width:600px){.reader-card{padding:12px}.reader-fields label{width:100%}}
