/* Mailto link generator (/tools/mailto-link-generator). Builds on .tool in /docs.css. */
.mt form { display: grid; gap: 16px; }
.mt .t-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.mt .t-field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.mt textarea#mt-body { min-height: 150px; font: 15px/1.5 var(--sans); }
.mt .mt-result { display: grid; gap: 8px; }
.mt .mt-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.mt .mt-head span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.mt .mt-head small { font-size: 12.5px; color: var(--ink-3); }
.mt .out { display: block; margin: 0; min-height: 48px; user-select: all; -webkit-user-select: all; }
.mt .mt-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mt .mt-actions .b { height: 38px; }
.mt .mt-actions .grow { flex: 1 1 0; }
.mt .mt-actions a.b.quiet { color: var(--ink); text-decoration: none; }
.prose ul.mt-checks { margin: 0; padding-left: 1.15em; list-style: disc; }
.prose ul.mt-checks li { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.prose ul.mt-checks li::marker { color: var(--cr-amber); }
.mt-status { margin-top: -8px; min-height: 1.4em; font-size: 14px; color: var(--cr-green); }
.mt details { background: none; border-radius: 0; }
.mt details summary { display: inline-flex; gap: 8px; padding: 2px 0; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.mt details summary::after { content: "+"; font-weight: 400; color: var(--ink-4); }
.mt details[open] summary::after { content: "–"; }
.mt .mt-readwrap { margin-top: 8px; border-radius: 10px; background: var(--sub); overflow-x: auto; }
.prose .mt table.mt-read { width: 100%; font-size: 14px; }
.prose .mt table.mt-read th, .prose .mt table.mt-read td { padding: 7px 12px; border-bottom: 1px solid var(--line); background: transparent; overflow-wrap: anywhere; }
.prose .mt table.mt-read th { width: 76px; color: var(--ink-3); font-weight: 600; }
.prose .mt table.mt-read tr:last-child th, .prose .mt table.mt-read tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) { .mt .mt-actions .grow { display: none; } }
