/* WiseChecker mini tools (article sidebar). Everything under .wcm; fixed colours for every button state because the theme recolours buttons. */
.wcm{margin:0 0 14px;padding:14px;border:1px solid #d9dfe8;border-radius:14px;background:#fff;box-shadow:0 8px 22px -18px rgba(15,23,42,.4);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#0f172a}
.wcm *{box-sizing:border-box}
.wcm .wcm-h{margin:0 0 10px;font-size:.78rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#55627a;text-align:left;line-height:1.3}
.wcm-pad{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;min-height:118px;padding:10px;border-radius:14px;cursor:pointer;user-select:none;-webkit-user-select:none;touch-action:manipulation;text-align:center;color:#fff;
  background:linear-gradient(160deg,#2563eb,#4f46e5 55%,#7c3aed);box-shadow:0 5px 0 #1e3a8a,inset 0 2px 0 rgba(255,255,255,.3);outline:none}
.wcm-pad:focus-visible{box-shadow:0 0 0 3px rgba(147,197,253,.8),0 5px 0 #1e3a8a}
.wcm-pad.is-hit{animation:wcm-press .09s}
@keyframes wcm-press{50%{transform:translateY(3px);box-shadow:0 2px 0 #1e3a8a,inset 0 2px 0 rgba(255,255,255,.3)}}
.wcm-pad b{font-size:1.12rem;font-weight:800;line-height:1.25;font-variant-numeric:tabular-nums;pointer-events:none}
.wcm-pad.is-run b{font-size:1.7rem}
.wcm-pad span{font-size:.8rem;color:#dbeafe;min-height:1.2em;pointer-events:none}
.wcm-pad.is-done{background:linear-gradient(160deg,#0d9488,#15803d);box-shadow:0 5px 0 #14532d,inset 0 2px 0 rgba(255,255,255,.3)}
.wcm-row{display:grid;grid-template-columns:1.2fr 1fr;gap:6px;margin-bottom:8px}
.wcm input{width:100%;min-width:0;height:38px;padding:5px 8px;border:1px solid #d9dfe8;border-radius:9px;background:#fff;color:#0f172a;font:inherit;font-size:.9rem}
.wcm-code{display:flex;align-items:center;gap:8px;margin-bottom:6px;padding:7px 8px;border:1px solid #e3e8f0;border-radius:10px;background:#f8fafc}
.wcm-code span{flex:1;min-width:0}
.wcm-code small{display:block;font-size:.68rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#55627a}
.wcm-code code{display:block;font:600 .8rem ui-monospace,Menlo,Consolas,monospace;background:none;padding:0;color:#0f172a;overflow-wrap:anywhere}
.wcm .wcm-code button,.wcm .wcm-code button:hover,.wcm .wcm-code button:focus{flex:0 0 auto;padding:6px 10px;border:1px solid #1d4ed8;border-radius:8px;background:#2563eb;color:#fff;font-size:.78rem;font-weight:650;cursor:pointer}
.wcm .wcm-code button:hover{background:#3b82f6}
.wcm .wcm-text{display:block;width:100%;height:auto;min-height:76px;padding:8px 10px;border:1px solid #d9dfe8;border-radius:10px;background:#fff;color:#0f172a;font:inherit;font-size:.92rem;line-height:1.45;resize:vertical}
.wcm-nums{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}
.wcm-nums span{padding:6px 4px;border:1px solid #e3e8f0;border-radius:9px;background:#f8fafc;text-align:center;font-size:.68rem;font-weight:700;color:#55627a;line-height:1.2}
.wcm-nums b{display:block;font-size:1.15rem;color:#0f172a;font-variant-numeric:tabular-nums}
.wcm-hint{margin:2px 0 6px;font-size:.78rem;color:#55627a}
.wcm-more{display:inline-block;margin-top:8px;font-size:.88rem;font-weight:650;color:#1d4ed8;text-decoration:none}
.wcm-more:hover{text-decoration:underline}
@media (prefers-reduced-motion:reduce){.wcm *{animation:none!important}}
