/* Tube & pipe coping template (P0134) */
.tc-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; border-bottom: 2px solid #E5E0D5; }
.tc-tab { min-height: 46px; padding: 0 16px; border: 2px solid #E5E0D5; border-bottom: 0; border-radius: 10px 10px 0 0; background: #EFEBE3; color: #24334B; font: inherit; font-weight: bold; cursor: pointer; }
.tc-on { background: #FFFFFF; color: #3B6970; border-color: #3B6970; }
.tc-row { margin: 0 0 8px; }
.tc-row > label { display: inline-block; min-width: 13em; font-weight: bold; margin-right: 6px; }
.tc-row > label.tc-inl { min-width: 0; margin-left: 6px; }
.tc-num, .tc-sel, .tc-text { min-height: 46px; padding: 0 10px; border: 2px solid #8C96A6; border-radius: 10px; font: inherit; background: #FFFFFF; box-sizing: border-box; max-width: 100%; }
.tc-num { width: 7em; }
.tc-text { width: 12em; }
.tc-wide { width: 26em; }
.tc-check { width: 26px; height: 26px; vertical-align: middle; }
.tc-btn { min-height: 46px; padding: 0 16px; border: 2px solid #3B6970; border-radius: 10px; background: #3B6970; color: #FFFFFF; font: inherit; font-weight: bold; cursor: pointer; }
.tc-board { margin: 10px 0 2px; }
.tc-cap { margin: 0 0 10px; font-size: 0.9em; }
.tc-svg { width: 100%; height: auto; display: block; }
.tc-scroll { overflow-x: auto; margin: 8px 0; }
.tc-grid { border-collapse: collapse; }
.tc-grid th, .tc-grid td { padding: 6px 10px; border: 1px solid #E5E0D5; text-align: right; }
.tc-grid th { background: #EEF4F3; color: #24334B; }
.tc-map td { text-align: center; min-width: 2.2em; }
.tc-map td.tc-capo { background: #FBF1E4; font-weight: bold; text-decoration: underline; }
.tc-table { width: 100%; border-collapse: collapse; margin: 8px 0; }
.tc-table th { text-align: left; padding: 8px 10px 8px 0; width: 36%; border-bottom: 1px solid #E5E0D5; color: #24334B; }
.tc-table td { padding: 8px 0; border-bottom: 1px solid #E5E0D5; font-weight: bold; }
.tc-h { font-size: 1.15em; margin: 22px 0 8px; }
.tc-hint { color: #4A5568; }
.tc-open { margin: 8px 0; }
.tc-out { padding: 8px 12px; border-left: 6px solid #497C83; background: #EEF4F3; border-radius: 6px; font-weight: bold; }
.tc-out:empty { display: none; }
@media (max-width: 600px) { .tc-row > label { display: block; min-width: 0; } .tc-row > label.tc-inl { display: inline-block; margin-left: 0; } .tc-wide, .tc-text { width: 100%; } }
.tc-btn2 { min-height: 46px; padding: 0 14px; border: 2px solid #3B6970; border-radius: 10px; background: #FFFFFF; color: #3B6970; font: inherit; font-weight: bold; cursor: pointer; }
.tc-btn:disabled, .tc-btn2:disabled { opacity: 0.5; cursor: default; }
.tc-sheet { margin: 10px 0; border: 1px solid #C9CED6; box-shadow: 0 2px 8px rgba(36, 51, 75, .15); background: #FFFFFF; overflow-x: auto; }
.tc-sheet svg { display: block; width: 100%; height: auto; }
@media print {
  @page { margin: 0; }
  body * { visibility: hidden !important; }
  #tc-sheet, #tc-sheet * { visibility: visible !important; }
  #how, #keys, #tips, #about, .tc-form { display: none !important; }
  #tc-sheet { position: absolute; left: 0; top: 0; margin: 0; border: 0; box-shadow: none; overflow: visible; }
  #tc-sheet svg { width: auto !important; height: auto !important; }
}
