/* MIHNOVA Smart Match v1 — independent original UI */
#job-match{scroll-margin-top:28px}
.match-head{display:flex;justify-content:space-between;align-items:start;gap:20px;flex-wrap:wrap;margin-bottom:16px}
.match-intro{max-width:740px}
.match-label{display:inline-block;font-size:12px;font-weight:800;color:#087a74;border:1px solid #91d6c8;border-radius:20px;padding:4px 10px}
.match-form{background:#fff;border:1px solid #d9e9e7;border-radius:20px;padding:23px;box-shadow:0 5px 24px #0b30300a}
.match-form textarea{display:block;resize:vertical;min-height:165px;line-height:1.8;border-radius:12px;background:#fbfefd;direction:auto;text-align:start}
.match-form textarea:focus-visible{outline:3px solid #2eaaa0;outline-offset:2px}
.match-actions{display:flex;flex-wrap:wrap;align-items:center;gap:11px;margin-top:14px}
.match-muted{font-size:13px;color:#627983;line-height:1.85}
.match-muted a{color:#075f61;font-weight:750}
.match-status{font-size:14px;color:#165b59;line-height:1.85;margin:10px 0 0;min-height:22px}
#matchResults[hidden]{display:none!important}
.match-results{margin-top:18px;background:white;border:1px solid #d9e9e7;border-radius:20px;padding:24px}
.match-results h3{margin:0 0 8px}
.match-stats{display:grid;grid-template-columns:160px 1fr;align-items:center;gap:22px;margin:16px 0;padding:18px;background:#f1f9f7;border-radius:16px}
.match-score{font-size:45px;font-weight:800;color:#0b655e;text-align:center;line-height:1.2}
.match-score small{display:block;font-size:11px;font-weight:600;color:#416863;line-height:1.8}
.match-track{height:9px;background:#cfe5df;border-radius:10px;overflow:hidden;margin:10px 0}
.match-fill{width:0;height:100%;background:#098f8c;border-radius:10px;transition:width .25s ease}
.match-counts{display:flex;gap:10px;flex-wrap:wrap}
.match-counts span{font-size:12px;background:#ecf5f4;border:1px solid #d3e7e2;border-radius:999px;padding:6px 11px;color:#214c4e}
.match-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:17px}
.match-req{padding:17px;border:1px solid #dce8e5;border-radius:15px;background:#fff;min-width:0}
.match-req-title{display:flex;justify-content:space-between;align-items:start;gap:8px;flex-wrap:wrap}
.match-req-title strong{font-size:15px;color:#12313b}
.match-pill{font-size:11px;color:#566f72;border:1px solid #d4e7e6;padding:3px 8px;border-radius:22px;white-space:nowrap}
.match-flag{font-size:13px;margin:11px 0 6px;font-weight:750}
.match-found{color:#087457}
.match-unknown{color:#a46016}
.match-confirm{color:#815488}
.match-evidence{background:#f4faf8;border-inline-start:3px solid #0b8d80;padding:9px 12px;font-size:12px;color:#2c5b59;margin:9px 0 0;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}
.match-verify-btn{border:1px solid #81bfb8;color:#17695f;background:#f5fffd;font:inherit;font-size:12px;font-weight:700;border-radius:10px;padding:8px 11px;cursor:pointer;margin-top:7px}
.match-verify-btn[aria-pressed=true]{background:#e0f6ef}
.match-verify-btn:focus-visible{outline:3px solid #27b1a1;outline-offset:2px}
.match-attested{font-size:12px;line-height:1.7;color:#41635f}
.match-next{background:#f4faf8;border-radius:13px;padding:15px 17px;margin-top:16px}
.match-next p{margin:6px 0;font-size:13px;line-height:1.9}
@media(max-width:730px){.match-stats{grid-template-columns:1fr;text-align:center}.match-list{grid-template-columns:1fr}.match-form,.match-results{padding:17px}.match-score{font-size:39px}}
@media(prefers-reduced-motion:reduce){.match-fill{transition:none}}
@media print{#job-match{display:none!important}}
