/* Tools, plugin, support and legal page templates. Layout is inline in the templates; this file holds states and content styles. */
.tsx { color: var(--body); }
.tsx a { color: var(--brand-rust); }
.tsx a:hover { color: var(--ink); }
.tsx a.tsx-amber { color: var(--forest-deep); }
.tsx a.tsx-amber:hover { background: var(--amber-deep) !important; color: var(--forest-deep); }
.tsx a.tsx-outline { color: var(--on-forest); }
.tsx a.tsx-outline:hover { border-color: var(--on-forest) !important; color: var(--on-forest); }
.tsx section h1, .tsx section h2, .tsx section h3 { text-wrap: pretty; }
.tsx nav[aria-label="On this page"] a:hover,
.tsx nav[aria-label="Breadcrumb"] a:hover { text-decoration: underline !important; text-underline-offset: 4px; }

/* FAQ */
.tsx-faq summary { list-style: none; }
.tsx-faq summary::-webkit-details-marker { display: none; }
.tsx-chev { flex: none; width: 9px; height: 9px; border-right: 1.8px solid var(--brand-rust); border-bottom: 1.8px solid var(--brand-rust); transform: rotate(45deg); transition: transform 0.2s; }
.tsx-faq[open] .tsx-chev { transform: rotate(-135deg); }

/* Contact Form 7 inside the support card */
.tsx-cf7 .wpcf7-form { display: flex; flex-direction: column; gap: 18px; }
.tsx-cf7 .wpcf7-form p { margin: 0; }
.tsx-cf7 label { display: block; font-weight: 600; font-size: 13.5px; color: var(--ink); }
.tsx-cf7 .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.tsx-cf7 input[type="text"], .tsx-cf7 input[type="email"], .tsx-cf7 input[type="url"], .tsx-cf7 input[type="tel"], .tsx-cf7 select, .tsx-cf7 textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper-raised);
  border: 1px solid #d6caae; border-radius: 10px; padding: 12px 14px; outline: none;
}
.tsx-cf7 textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.tsx-cf7 input:focus, .tsx-cf7 select:focus, .tsx-cf7 textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(33,50,38,0.12); }
.tsx-cf7 input[type="submit"] { align-self: flex-start; font: 600 16px/1 Inter, sans-serif; padding: 16px 26px; border: 0; border-radius: 10px; background: var(--amber); color: var(--forest-deep); cursor: pointer; }
.tsx-cf7 input[type="submit"]:hover { background: var(--amber-deep); }
.tsx-cf7 .wpcf7-spinner { margin: 0 0 0 12px; }
.tsx-cf7 .wpcf7-not-valid-tip { font-size: 13.5px; color: var(--sev-high); margin-top: 4px; }
.tsx-cf7 .wpcf7-response-output { margin: 0 !important; border-radius: 10px; padding: 12px 16px !important; font-size: 15px; }

/* Legal documents */
.tsx-legal { font-size: 16.5px; line-height: 1.7; }
.tsx-legal h2 { font-size: 22px; line-height: 1.25; color: var(--ink); margin: 36px 0 10px; scroll-margin-top: 90px; }
.tsx-legal > h2:first-child { margin-top: 0; }
.tsx-legal p { margin: 0 0 14px; }
.tsx-legal ul { margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.tsx-legal strong { color: var(--ink); font-weight: 600; }

/* Footer legal row */
.ts-footer-legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; }
.ts-footer-legal a { color: var(--muted-on-forest); }
.ts-footer-legal a:hover { color: var(--on-forest); }
