/* Trees & graphs explorer (P0118) */
.tg-h { font-size: 1.15em; margin: 18px 0 8px; }
.tg-h:first-child { margin-top: 0; }
.tg-row { margin: 0 0 8px; }
.tg-row > label { font-weight: bold; margin-right: 6px; }
.tg-inl { margin-left: 10px; }
.tg-in, .tg-sel { min-height: 46px; padding: 0 10px; border: 2px solid #8C96A6; border-radius: 10px; font: inherit; background: #FFFFFF; box-sizing: border-box; }
.tg-in { width: 16em; max-width: 100%; }
.tg-area { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 2px solid #8C96A6; border-radius: 10px; font-family: ui-monospace, Consolas, monospace; font-size: 15px; }
.tg-check { display: inline-flex; align-items: center; min-height: 44px; margin-left: 6px; font-weight: normal !important; }
.tg-check input { width: 22px; height: 22px; margin: 0 6px 0 0; }
.tg-btn { min-height: 46px; padding: 0 14px; margin: 0 8px 8px 0; border: 2px solid #3B6970; border-radius: 10px; background: #3B6970; color: #FFFFFF; font: inherit; font-weight: bold; cursor: pointer; }
.tg-light { background: #FFFFFF; color: #3B6970; }
.tg-svg { display: block; width: 100%; max-width: 640px; height: auto; background: #FBF9F4; border: 1px solid #E5E0D5; border-radius: 8px; }
.tg-edge { stroke: #8C96A6; stroke-width: 2; }
.tg-gedge { stroke: #8C96A6; stroke-width: 2; }
.tg-ghl { stroke: #C38B4A; stroke-width: 5; }
.tg-arr { fill: #8C96A6; }
.tg-node { fill: #FFFFFF; stroke: #3B6970; stroke-width: 2.5; }
.tg-hl { fill: #F2D8B5; stroke: #8A5A1F; }
.tg-txt { font: bold 13px sans-serif; text-anchor: middle; fill: #24334B; }
.tg-w { font: 12px sans-serif; text-anchor: middle; fill: #4A5568; }
.tg-lab { font: bold 12px sans-serif; text-anchor: middle; fill: #8A5A1F; }
.tg-out { white-space: pre-wrap; background: #F4F1EA; border-radius: 8px; padding: 10px 12px; font-size: 14px; overflow-wrap: anywhere; }
@media (max-width: 600px) { .tg-inl { margin-left: 0; } }
