/* WorkToolSet: scoped layout for local text cleanup, FREE review and PRO batch. */
.tc74-shell .tool-header{gap:14px}.tc74-shell .tool-header-badges{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.tc74-input-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.tc74-input-grid .field{min-width:0}.tc74-input-grid textarea{min-height:210px;resize:vertical;font-size:13px;line-height:1.62}
.tc74-rules{padding:15px 16px;margin:8px 0 14px;border:1px solid #dce6f0;border-radius:13px;background:#f8fbff}.tc74-rules legend{font-weight:850;font-size:12px;padding:0 6px;color:#213d58}.tc74-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 16px}.tc74-rule-grid label{display:flex;gap:8px;align-items:flex-start;color:#25425d;font-size:12px;line-height:1.45}.tc74-rule-grid input{accent-color:#1963ad;flex:0 0 auto;margin-top:3px}.tc74-rule-help{margin:9px 0 0;color:#50657b;font-size:11px;line-height:1.55}
.tc74-main-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:9px}.tc74-main-actions>.mini-button{min-height:37px}.tc74-case-actions{display:flex;flex-wrap:wrap;align-items:center;gap:5px;border-left:1px solid #dce6ef;padding-left:11px}.tc74-case-actions span{font-size:10px;font-weight:850;color:#3e5870}.tc74-case-actions .mini-button.active{background:#eaf3ff;border-color:#7daee1;color:#155799}.tc74-main-actions button:focus-visible,.tc74-pro button:focus-visible,.tc74-pro input:focus-visible,.tc74-pro select:focus-visible{outline:3px solid #3c85d0;outline-offset:2px}
.tc74-status{margin:13px 0 2px;padding:10px 13px;background:#edf6ff;border-left:3px solid #196ab8;border-radius:9px;color:#214760;font-size:12px;line-height:1.55}.tc74-review{margin:12px 0 20px;padding:15px;border:1px solid #d4e7dd;border-radius:13px;background:#f7fcf9}.tc74-review[hidden]{display:none}.tc74-review h2{margin:0 0 10px;font-size:14px;color:#245341}.tc74-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tc74-review-grid>div{min-width:0;padding:10px 11px;border:1px solid #dbeae2;border-radius:10px;background:#fff}.tc74-review-grid span,.tc74-review-grid strong{display:block;overflow-wrap:anywhere}.tc74-review-grid span{color:#426552;font-size:10px;line-height:1.5}.tc74-review-grid strong{font-size:15px;color:#173e2e;margin-top:4px}.tc74-review p{margin:11px 0 0;color:#456757;font-size:10px;line-height:1.5}
.tc74-pro{margin-top:22px;border-color:#d6deef;background:#fbfcff}.tc74-pro-head{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:14px}.tc74-pro-head h2{margin:4px 0 5px;font-size:17px;color:#22375a}.tc74-pro-head p{margin:0;font-size:12px;color:#4c5f79;line-height:1.6}.tc74-pro-head>.pro-badge{flex:0 0 auto}.tc74-pro .field{display:grid;gap:5px;font-size:12px;font-weight:750;color:#294766}.tc74-pro .field>input,.tc74-pro .field>select{max-width:100%;padding:9px;border:1px solid #c9d8ea;border-radius:9px;background:#fff;color:#26374c}.tc74-batch-case{max-width:290px}.tc74-pro-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.tc74-pro-bottom .field-help{flex:1 1 280px;margin:0;color:#4c617b;font-size:11px;line-height:1.5}.tc74-pro-bottom .mini-button{min-height:38px}
@media(max-width:880px){.tc74-input-grid{grid-template-columns:1fr}.tc74-review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tc74-case-actions{border:0;padding-left:0}}
@media(max-width:560px){.tc74-shell .tool-header{flex-direction:column}.tc74-rule-grid,.tc74-review-grid{grid-template-columns:1fr}.tc74-main-actions>.mini-button{flex:1 1 auto}.tc74-pro-bottom .mini-button{width:100%}}

/* Lot535: same renderer inside Language Studio, without a second page layout. */
#languageCleaner535 .tc74-shell{margin:0;max-width:none;min-width:0;width:100%;box-shadow:none;border:0;background:transparent}
#languageCleaner535 .tc74-shell .tool-header,#languageCleaner535 .tc74-shell .tool-body{padding:0}
#languageCleaner535 .tc74-shell .tool-header h2{margin:6px 0;font-size:1.35rem}
#languageCleaner535 input[type=file]{max-width:100%}
#languageCleaner535 .tc74-input-grid textarea{width:100%;box-sizing:border-box}
.language-studio-main:has([data-language-panel="cleaner"]:not(.hidden))>.language-studio-pair,.language-studio-main:has([data-language-panel="cleaner"]:not(.hidden))>.language-terminology-box{display:none}
