.tb-screen { color:#213c31; min-width:0; }
.tb-screen button,.tb-screen select,.tb-screen input {font:inherit}
.tb-screen button {color:#244c3c;background:#fffefa;border:1px solid #baced0;border-radius:7px;padding:7px 12px;cursor:pointer}
.tb-screen button.primary,.tb-tabs [aria-pressed=true] {background:#245841;color:white;border-color:#245841}
.tb-screen button:disabled {color:#6c7d72;background:#f0f3ee;cursor:default}
.tb-screen :is(button,input,select):focus-visible,.tb-paragraph:focus-visible {outline:3px solid #ad7d2c;outline-offset:2px}
.tb-filters,.tb-card,.tb-book,.tb-hit {box-sizing:border-box;margin:0 0 14px;border:1px solid #d9e2d7;border-radius:12px;background:#fffefa;padding:clamp(14px,2vw,24px)}
.tb-filters,.tb-fields,.tb-book,.tb-actions,.tb-tabs {display:flex;align-items:center;flex-wrap:wrap;gap:10px 15px}
.tb-filters {align-items:flex-end}
.tb-screen :is(.tb-filters,.tb-fields,.tb-import,.tb-card)>label,.tb-chapter-field {display:grid;grid-template-columns:minmax(0,1fr);gap:5px;min-width:0;color:#42584c;font-size:.93em}
.tb-screen :is(input:not([type=checkbox]),select) {border:1px solid #bccbc2;padding:6px 10px;border-radius:7px;min-height:39px;min-width:0;box-sizing:border-box;max-width:100%;background:white;color:#20392e}
.tb-wide {flex:1 1 160px}.tb-books {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:13px}.tb-book {justify-content:space-between;align-items:flex-start;margin:0;min-width:0}
.tb-book h2,.tb-card h2 {margin:.25em 0;color:#203c30;font-size:1.2em;overflow-wrap:anywhere}
.tb-card p,.tb-book p,.tb-hit p {margin:.4em 0;overflow-wrap:anywhere}
.tb-screen small,.tb-empty {color:#566c5e}.tb-import {display:grid;gap:11px;margin-top:15px}.tb-import>button {justify-self:start}
.tb-tabs {margin:0 0 14px}.tb-tabs button {flex:0 1 auto}
.tb-chapter-field {margin:0 0 12px;width:fit-content;max-width:100%}
.tb-paragraph {border-radius:6px;margin:.8em 0;padding:.35em .45em;min-width:0}
.tb-paragraph p {white-space:pre-wrap;font-size:1.05em;line-height:1.95;overflow-wrap:anywhere}
.tb-screen button.tb-word {display:inline;vertical-align:baseline;font:inherit;padding:.04em .2em;margin:0 .04em;line-height:1.35;color:#255744;background:#edf4eb;border:0;border-bottom:1px dotted #55806a;min-height:0;white-space:normal;overflow-wrap:anywhere}
.tb-screen button.tb-word[aria-expanded=false] {display:inline-block;min-width:2.7em;color:#37694e;background:#deeadc;border:1px dashed #64846d;letter-spacing:.1em}
.tb-choose label {display:inline-flex!important;align-items:center;gap:5px;margin:7px 15px 0 0}.tb-choose input {width:17px;height:17px}.tb-actions {margin:0 0 3px}
.tb-point {padding:9px 0;border-top:1px solid #e0e6dd}.tb-point dt {font-weight:700}.tb-point dd {margin:5px 0;overflow-wrap:anywhere}
.tb-screen .tb-source {color:#285d45;padding:.18em .5em;font-size:.9em;border-color:#c8d4c9;background:#f4f8f1}
.tb-notice,.tb-target {background:#f8efda;padding:10px 12px;border-left:3px solid #b08a45}
.tb-progress-summary,.tb-progress-weak,.tb-progress-chapter {background:#fffefa;border:1px solid #d9e2d7;padding:12px 16px;border-radius:10px;margin:0 0 12px}
@media(max-width:560px){.tb-filters>label,.tb-fields>label {flex:1 1 40%}.tb-tabs {gap:6px}.tb-tabs button{padding:7px 9px}.tb-book{gap:8px}.tb-chapter-field{width:100%}}
