body.tm-search-open { overflow: hidden; }
.tm-header-actions { display:flex; align-items:center; justify-self:end; gap:10px; }
.tm-search-trigger { display:inline-flex; width:46px; height:46px; align-items:center; justify-content:center; border:1px solid var(--tm-border); border-radius:999px; background:#fff; color:var(--tm-text); cursor:pointer; transition:.18s ease; }
.tm-search-trigger:hover,.tm-search-trigger:focus-visible { color:var(--tm-primary); border-color:rgba(37,99,235,.35); box-shadow:0 10px 28px rgba(15,23,42,.08); }
.tm-search-trigger svg,.tm-search-submit svg { width:21px; height:21px; }
.tm-search-overlay[hidden] { display:none; }
.tm-search-overlay { position:fixed; inset:0; z-index:20000; padding:clamp(22px,6vh,70px) 20px; background:rgba(15,23,42,.54); backdrop-filter:blur(14px); opacity:0; transition:opacity .18s ease; overflow-y:auto; }
.tm-search-overlay.is-open { opacity:1; }
.tm-search-dialog { width:min(900px,100%); margin:0 auto; padding:clamp(22px,4vw,38px); border:1px solid rgba(255,255,255,.7); border-radius:30px; background:#fff; box-shadow:0 30px 100px rgba(15,23,42,.25); transform:translateY(-12px); transition:transform .22s ease; }
.tm-search-overlay.is-open .tm-search-dialog { transform:translateY(0); }
.tm-search-dialog__header { display:flex; justify-content:space-between; gap:20px; margin-bottom:22px; }
.tm-search-dialog__eyebrow { color:var(--tm-primary); font-size:.78rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.tm-search-dialog h2 { margin-top:5px; font-size:clamp(2rem,5vw,3.4rem); }
.tm-search-close { width:44px; height:44px; border:0; border-radius:999px; background:#f1f5f9; cursor:pointer; font-size:1.5rem; }
.tm-live-search { position:relative; }
.tm-search-field { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px; padding:7px 7px 7px 18px; border:1px solid var(--tm-border); border-radius:18px; background:#fff; box-shadow:0 12px 36px rgba(15,23,42,.06); }
.tm-search-field:focus-within { border-color:rgba(37,99,235,.55); box-shadow:0 0 0 4px rgba(37,99,235,.1); }
.tm-search-field input { width:100%; min-height:48px; border:0; outline:0; background:transparent; color:var(--tm-text); font:inherit; font-size:1.06rem; }
.tm-search-submit { display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; border:0; border-radius:13px; background:var(--tm-primary); color:#fff; cursor:pointer; }
.tm-search-hint { margin:10px 3px 0; color:#64748b; font-size:.84rem; }
.tm-search-status { min-height:24px; margin:14px 3px 6px; color:#64748b; font-size:.9rem; }
.tm-search-results { display:grid; gap:8px; }
.tm-search-result { position:relative; display:grid; gap:5px; padding:15px 48px 15px 16px; border:1px solid var(--tm-border); border-radius:16px; background:#fff; transition:.16s ease; }
.tm-search-result:hover,.tm-search-result:focus-visible { border-color:rgba(37,99,235,.3); background:#f8fbff; transform:translateY(-1px); outline:none; }
.tm-search-result__meta { display:flex; gap:10px; flex-wrap:wrap; color:var(--tm-primary); font-size:.76rem; font-weight:800; text-transform:uppercase; letter-spacing:.045em; }
.tm-search-result__terms { color:#64748b; font-weight:650; text-transform:none; letter-spacing:0; }
.tm-search-result__title { color:var(--tm-text); font-size:1.08rem; line-height:1.2; }
.tm-search-result__excerpt { color:#64748b; font-size:.9rem; line-height:1.45; }
.tm-search-result__arrow { position:absolute; right:17px; top:50%; color:var(--tm-primary); font-size:1.25rem; transform:translateY(-50%); }
.tm-search-all[hidden] { display:none !important; }
.tm-search-all { display:flex; justify-content:center; margin-top:14px; padding:13px; border-radius:14px; background:#eff6ff; color:var(--tm-primary); font-weight:800; }
.tm-mobile-search { margin-bottom:12px; }
.tm-mobile-search .tm-search-field { border-radius:20px; }
.tm-mobile-search .tm-search-results { margin-top:8px; }
.tm-mobile-search .tm-search-result { padding-block:12px; }
.tm-mobile-search .tm-search-result__excerpt { display:none; }
@media (max-width:1080px) { .tm-header-actions { display:none; } }
@media (max-width:600px) { .tm-search-overlay { padding:12px; } .tm-search-dialog { padding:20px 16px; border-radius:24px; } .tm-search-dialog h2 { font-size:2rem; } .tm-search-hint { display:none; } }
@media (prefers-reduced-motion:reduce) { .tm-search-overlay,.tm-search-dialog,.tm-search-result,.tm-search-trigger { transition:none; } }
.tm-search-answer{display:grid;gap:7px;padding:18px;border:1px solid rgba(37,99,235,.28);border-radius:18px;background:linear-gradient(135deg,#eff6ff 0%,#fff 72%);box-shadow:0 12px 30px rgba(37,99,235,.07)}
.tm-search-answer__label{width:max-content;padding:4px 9px;border-radius:999px;background:#dbeafe;color:var(--tm-primary);font-size:.72rem;font-weight:850;letter-spacing:.045em;text-transform:uppercase}
.tm-search-answer__title{color:var(--tm-text);font-size:1.15rem;line-height:1.2}
.tm-search-answer__text{color:#475569;font-size:.94rem;line-height:1.5}
.tm-search-answer__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:5px}
.tm-search-answer__action{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 13px;border-radius:11px;background:var(--tm-primary);color:#fff;font-size:.86rem;font-weight:800}
.tm-search-answer__action:nth-child(n+2){border:1px solid rgba(37,99,235,.22);background:#fff;color:var(--tm-primary)}
.tm-mobile-search .tm-search-answer{padding:14px}.tm-mobile-search .tm-search-answer__text{font-size:.88rem}.tm-mobile-search .tm-search-answer__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
