.text-gaps-counter-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 9px; color: #71808c; font-size: 13px; }
.text-gaps-counter-row strong { color: #233445; }
.text-gaps-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: end; margin-top: 18px; }
.text-gaps-options .front-tools-help { grid-column: 1 / -1; margin: -7px 0 0; }
.text-gaps-options select { display: block; box-sizing: border-box; width: 100%; margin-top: 8px; padding: 10px 12px; border: 1px solid #bdcbd4; border-radius: 4px; background: #fff; font: inherit; }
.text-gaps-secondary { background: #fff; color: #247da8; border: 1px solid #3c9ac7; }
.text-gaps-error { min-height: 18px; margin: 10px 0 0; color: #b42318; }
.text-gaps-result h2 { margin-top: 0; color: #233445; font-size: 22px; }
.text-gaps-output { box-sizing: border-box; width: 100%; min-height: 180px; margin: 0; padding: 15px; overflow: auto; white-space: pre-wrap; word-break: normal; overflow-wrap: break-word; background: #fff; border: 1px solid #dce5eb; color: #233445; font: inherit; line-height: 1.6; }
.text-gaps-answers { margin-top: 22px; color: #465461; line-height: 1.6; }
.text-gaps-answers h2 { font-size: 20px; }
.text-gaps-answers ol { margin-bottom: 0; padding-left: 0; list-style: none; }
.text-gaps-status { min-height: 20px; margin: 12px 0 0; color: #247da8; }
.text-gaps-explanation { max-width: 760px; }
.text-gaps-explanation h3 { margin-top: 20px; color: #233445; font-size: 17px; }
@media (max-width: 700px) { .text-gaps-options { grid-template-columns: 1fr; } .text-gaps-options .front-tools-help { grid-column: auto; margin-top: -4px; } }
@media (max-width: 600px) { .text-gaps-counter-row { display: grid; grid-template-columns: 1fr 1fr; } }
@media print {
    .front-navbar, .front-footer, .front-breadcrumbs, .front-tools-sidebar, .front-tools-local-note, .text-gaps-form, .text-gaps-result-actions, .text-gaps-status, .text-gaps-explanation { display: none !important; }
    .front-tools-layout { display: block; }
    .text-gaps-result:not([hidden]) { display: block; border: 0; padding: 0; margin: 0; }
    .text-gaps-output { min-height: 0; border: 0; padding: 0; }
    .text-gaps-print-task .text-gaps-answers { display: none !important; }
    .text-gaps-print-task .text-gaps-output-block:after { content: ''; }
    .text-gaps-print-all .text-gaps-answers { page-break-before: always; }
}
