/* Towing setup guides: layers on top of /assets/site.css */
.chip { display: inline-block; font-size: 12px; font-weight: 700; line-height: 1; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); white-space: nowrap; }
.chip.ok { background: var(--accent-soft); border-color: #b9dccd; color: var(--accent-2); }
.chip.warn { background: var(--warn-bg); border-color: var(--warn-line); color: #8a4b08; }
.chip.info { background: #eef3f8; border-color: #cbd7e4; color: #2c4a66; }
.chip.none { background: var(--gold-soft); border-color: var(--gold); color: #6d5516; }
.muted { color: var(--muted); font-size: 12.5px; font-weight: 400; }
.tow-flags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.tow-page .card, .card.tow-glance, .card.tow-section, .card.tow-how { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.tow-section h3, .tow-faq h3 { margin: 16px 0 6px; font-size: 1rem; }
.tow-section h3:first-child, .tow-faq h3:first-child { margin-top: 0; }
.tow-section p { line-height: 1.6; margin: 0 0 12px; }
.tow-faq p { margin: 0 0 4px; color: var(--ink-soft); line-height: 1.6; }
.tow-list { margin: 0 0 12px; padding-left: 20px; line-height: 1.65; }
.tow-list li { margin-bottom: 6px; }
.tow-specs { font-size: 13.5px; margin: 6px 0; color: var(--ink-soft); }
.cite { font-size: 11px; line-height: 0; margin-left: 1px; }
.cite a { color: var(--accent); text-decoration: none; font-weight: 700; padding: 0 1px; }
.cite a:hover { text-decoration: underline; }
.tow-note { border-radius: 10px; padding: 12px 14px; margin: 12px 0; font-size: 14px; line-height: 1.55; border: 1px solid var(--line); }
.tow-note.warn { background: var(--warn-bg); border-color: var(--warn-line); }
.tow-note.info { background: #eef3f8; border-color: #cbd7e4; }
.tow-note.ok { background: var(--accent-soft); border-color: #b9dccd; }
.tow-table-wrap { overflow-x: auto; margin: 10px 0 14px; }
.tow-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tow-table caption { text-align: left; font-size: 12.5px; color: var(--muted); padding: 0 0 6px; }
.tow-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 8px 10px; border-bottom: 2px solid var(--line); }
.tow-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.tow-table-glance th { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink); width: 30%; padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tow-table-glance tr:last-child th, .tow-table-glance tr:last-child td { border-bottom: 0; }
.tow-toc { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 18px 0 0; font-size: 13.5px; }
.tow-toc strong { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.tow-toc a { color: var(--accent-2); }
.tow-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 18px; }
.tow-card { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); }
.tow-card:hover { border-color: var(--accent); color: var(--ink); }
.tow-card strong { font-size: 1.2rem; letter-spacing: -0.02em; }
.tow-card-lead { grid-column: 1 / -1; background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 100%); border-color: #b9dccd; }
.tow-card-maker { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.tow-card-text { color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.tow-card-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; }
.tow-legend { font-size: 13px; color: var(--muted); line-height: 2.1; margin: 8px 0 0; }
.tow-links { display: flex; flex-wrap: wrap; gap: 8px; }
.tow-prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 12px 0; }
.tow-prod { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fffdf9; display: flex; flex-direction: column; gap: 6px; }
.tow-prod p { margin: 0; }
.tow-prod strong { font-size: 15px; line-height: 1.35; }
.tow-prod-role { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.tow-prod-link { margin-top: auto !important; padding-top: 4px; }
.aff-disc { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.tow-sources { margin: 0 0 10px; padding-left: 22px; line-height: 1.6; }
.tow-sources li { margin-bottom: 10px; }
.tow-sources li:target { background: var(--gold-soft); border-radius: 6px; }
@media (max-width: 760px) {
  .tow-grid, .tow-prod-grid { grid-template-columns: 1fr; }
  .tow-table-glance th { width: 38%; }
  .tow-table:not(.tow-table-glance) thead { display: none; }
  .tow-table caption { display: block; width: 100%; }
  .tow-table:not(.tow-table-glance), .tow-table:not(.tow-table-glance) tbody, .tow-table:not(.tow-table-glance) tr, .tow-table:not(.tow-table-glance) td { display: block; width: 100%; }
  .tow-table:not(.tow-table-glance) tr { border-bottom: 2px solid var(--line); padding: 8px 0; }
  .tow-table:not(.tow-table-glance) td { border-bottom: 0; padding: 4px 10px; }
  .tow-table:not(.tow-table-glance) td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .03em; display: block; }
}
