/* Regex tester (P0102) */
.rx-row { margin: 0 0 8px; }
.rx-row > label { font-weight: bold; margin-right: 6px; }
.rx-code { font-family: Consolas, "Courier New", monospace; }
.rx-in { min-height: 46px; padding: 0 10px; border: 2px solid #8C96A6; border-radius: 10px; font-size: 1em; background: #FFFFFF; box-sizing: border-box; }
.rx-patrow { display: flex; flex-wrap: wrap; align-items: center; }
.rx-patrow > label { flex: 0 0 100%; margin-bottom: 4px; }
.rx-patrow .rx-in { flex: 1 1 200px; margin: 0 4px; }
.rx-slash { font-size: 1.6em; color: #4A5568; font-family: Consolas, "Courier New", monospace; }
.rx-sel { min-height: 46px; max-width: 100%; padding: 0 10px; border: 2px solid #8C96A6; border-radius: 10px; font: inherit; background: #FFFFFF; }
.rx-flags { border: 0; padding: 0; margin: 4px 0 10px; }
.rx-flags legend { font-weight: bold; padding: 0; margin-bottom: 4px; }
.rx-flags label { display: inline-flex; align-items: center; min-height: 44px; margin: 0 14px 0 0; font-family: Consolas, "Courier New", monospace; font-weight: bold; }
.rx-flags input, .rx-check input { width: 24px; height: 24px; margin: 0 6px 0 0; }
.rx-check { display: inline-flex; align-items: center; min-height: 44px; }
.rx-flags .rx-hint { margin-left: 5px; }
.rx-hint { color: #4A5568; font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; font-weight: normal; }
.rx-area { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 2px solid #8C96A6; border-radius: 10px; font-size: 1em; background: #FFFFFF; }
.rx-hl { white-space: pre-wrap; word-wrap: break-word; margin: 6px 0 10px; padding: 10px 12px; background: #F7F5F0; border: 1px solid #E5E0D5; border-radius: 10px; font-family: Consolas, "Courier New", monospace; min-height: 2em; max-height: 360px; overflow: auto; }
.rx-m { color: #24334B; border-radius: 3px; padding: 0 1px; }
.rx-m0 { background: #F3D9B1; }
.rx-m1 { background: #BFDCDF; }
.rx-zero { display: inline-block; width: 2px; height: 1.1em; vertical-align: text-bottom; background: #8A5A1F; }
.rx-error { padding: 8px 14px; background: #FBF1E4; border-left: 4px solid #8A5A1F; border-radius: 8px; font-weight: bold; }
.rx-scroll { overflow-x: auto; max-height: 360px; overflow-y: auto; }
.rx-table { border-collapse: collapse; min-width: 480px; margin: 6px 0; }
.rx-table th, .rx-table td { text-align: left; vertical-align: top; padding: 5px 12px 5px 0; border-bottom: 1px solid #E5E0D5; }
.rx-table thead th { color: #4A5568; }
.rx-table td.rx-code { white-space: pre-wrap; word-break: break-all; }
.rx-explain { padding-left: 1.2em; }
.rx-explain li { margin: 0 0 6px; }
.rx-tok { display: inline-block; min-width: 2em; padding: 1px 6px; margin-right: 4px; border-radius: 6px; background: #EEF4F3; color: #24334B; font-weight: bold; }
.rx-k-qty .rx-tok { background: #FBF1E4; }
.rx-k-grp .rx-tok { background: #E5E0D5; }
.rx-parts { font-family: Consolas, "Courier New", monospace; max-height: 260px; overflow: auto; }
.rx-btn { min-height: 46px; padding: 0 18px; border: 2px solid #3B6970; border-radius: 10px; background: #3B6970; color: #FFFFFF; font: inherit; font-weight: bold; cursor: pointer; }
@media print { .rx-btn, .rx-flags, #rx-lib { display: none; } .rx-hl, .rx-scroll { max-height: none; } }
