/* Practice tools (rendered by /tools.js). Brand colours via the site variables, with fallbacks. */
.wec-tool{margin:1.4em 0 1.8em;padding:18px 18px 14px;background:#fff;border:1px solid var(--line,#e4e7ee);box-shadow:0 1px 2px rgba(29,36,51,.04),0 6px 20px -12px rgba(15,123,108,.35);border-radius:12px;font-size:16px;line-height:1.5;color:var(--ink,#1d2433)}
.wec-tool-fb{margin:0;color:var(--soft,#5b6475)}
.wec-tool-fb a{display:inline-block;margin:6px 8px 0 0;padding:4px 12px;border:1px solid var(--accent,#0f7b6c);border-radius:999px;text-decoration:none;font-weight:600}
.wec-title{margin:0 0 12px;font-weight:700;font-size:17px;color:var(--accent,#0f7b6c)}
.wec-tool p{margin:.4em 0}
.wec-row{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:flex-end;margin:8px 0}
.wec-row>.wec-field{flex:1 1 180px;margin:0}
.wec-field{margin:10px 0}
.wec-field label{display:block;font-weight:600;font-size:14px;margin:0 0 4px}
.wec-tool select,.wec-tool input[type=text],.wec-tool textarea{width:100%;font:inherit;font-size:16px;color:inherit;background:var(--bg,#fbfbf8);border:1px solid #c9ced8;border-radius:8px;padding:8px 10px}
.wec-tool textarea{resize:vertical;min-height:2.6em}
.wec-tool select{max-width:100%}
.wec-btn,.wec-chip,.wec-tab,.wec-choice{font:inherit;font-size:15px;cursor:pointer;border-radius:8px;border:1px solid var(--accent,#0f7b6c);background:#fff;color:var(--accent,#0f7b6c);padding:7px 14px;line-height:1.3}
.wec-btn:hover,.wec-chip:hover,.wec-tab:hover,.wec-choice:hover{background:var(--accent-bg,#e8f4f1)}
.wec-primary{background:var(--accent,#0f7b6c);color:#fff;font-weight:600}
.wec-primary:hover{background:#0b6457}
.wec-link{display:inline-block;text-decoration:none}
.wec-copy{font-size:13px;padding:3px 10px;flex:none}
.wec-chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.wec-chip{border-radius:999px;font-size:14px;padding:4px 12px}
.wec-chip[aria-pressed=true],.wec-tab[aria-pressed=true]{background:var(--accent,#0f7b6c);color:#fff}
.wec-tabs{display:flex;gap:6px;margin:0 0 4px}
.wec-tool :focus-visible{outline:3px solid var(--warm-strong,#e2a640);outline-offset:2px}
.wec-out{margin:12px 0 4px;padding:12px 14px;background:var(--accent-bg,#e8f4f1);border-radius:10px}
.wec-label{font-weight:700;font-size:14px;margin:.2em 0 .4em!important}
.wec-hint{font-size:14px;color:var(--soft,#5b6475)}
.wec-tool .wec-list{list-style:none;margin:0;padding:0}
.wec-ph{display:flex;gap:10px;align-items:flex-start;justify-content:space-between;padding:6px 0;border-bottom:1px solid rgba(15,123,108,.15);margin:0}
.wec-ph:last-child{border-bottom:0}
.wec-ph small{color:var(--soft,#5b6475)}
.wec-answer,.wec-card{font-size:17px;background:#fff;border-radius:8px;padding:10px 12px;white-space:pre-line}
.wec-card{font-weight:600}
.wec-reveal{margin-top:8px;padding:8px 12px;background:var(--warm,#fff6e5);border:1px solid #f1d9a8;border-radius:6px}
.wec-sw{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;margin:12px 0 4px;padding:10px 12px;background:var(--warm,#fff6e5);border-radius:10px}
.wec-sw-time{font-size:22px;font-weight:700;font-variant-numeric:tabular-nums;min-width:3.5em}
.wec-sw p{flex:1 1 100%;margin:0}
.wec-sample summary{cursor:pointer;font-weight:600;color:var(--accent,#0f7b6c);margin-top:10px}
.wec-sample p{white-space:pre-line;background:var(--warm,#fff6e5);padding:10px 12px;border-radius:8px}
.wec-prompt{margin:4px 0!important;white-space:pre-wrap;font-size:14px!important}
.wec-results{list-style:none;margin:0;padding:0}
.wec-res{padding:8px 10px;margin:6px 0;background:#fff;border-radius:8px;border:1px solid #e4e7ee;font-size:15px}
.wec-res.wec-fix{background:#fdf0ee;border-color:#f3c7c0}
.wec-res.wec-check{background:#fff6e5;border-color:#f1d9a8}
.wec-res.wec-ok{background:#e8f4f1;border-color:#b9dfd6}
.wec-choices{display:grid;gap:8px;margin:8px 0}
.wec-choice{text-align:left;color:var(--ink,#1d2433);border-color:#c9ced8;font-size:16px;padding:10px 12px}
.wec-choice.wec-good{border-color:var(--accent,#0f7b6c);background:var(--accent-bg,#e8f4f1);border-width:2px}
.wec-choice.wec-bad{opacity:.65;text-decoration:line-through}
.wec-ok-msg{color:var(--accent,#0f7b6c);font-weight:700}
.wec-bad-msg{color:#b03a2e;font-weight:700}
.wec-small{font-size:14px}
.wec-offscreen{position:fixed;left:-9999px;top:0}
@media (max-width:600px){.wec-tool{padding:14px 12px 10px}.wec-ph{flex-wrap:wrap}}
