.smartSearch{text-align:left;width:100%;max-width:760px;margin:0 auto;position:relative}.smartSearchForm{background:var(--white);border:1px solid var(--gray-dark);box-shadow:var(--shadow);transition:var(--transition);border-radius:999px;align-items:center;gap:.5rem;padding:.4rem .4rem .4rem 1.1rem;display:flex}.smartSearch--hero .smartSearchForm{border-color:#0000;padding:.5rem .5rem .5rem 1.25rem;box-shadow:0 14px 40px #001f3f47}.smartSearchForm:focus-within{border-color:var(--primary);box-shadow:0 0 0 4px #004c911f, var(--shadow-hover)}.smartSearchIcon{color:var(--primary);flex-shrink:0;font-size:1.05rem}.smartSearchInput{min-width:0;color:var(--text);appearance:none;background:0 0;border:none;outline:none;flex:1;padding:.7rem .25rem;font-family:inherit;font-size:1rem}.smartSearchInput::-webkit-search-cancel-button{appearance:none}.smartSearchInput::placeholder{color:var(--text-lighter)}.smartSearchClear{background:var(--gray);width:32px;height:32px;color:var(--text-light);cursor:pointer;transition:var(--transition-fast);border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.smartSearchClear:hover{background:var(--gray-dark);color:var(--text)}.smartSearchSubmit{background:var(--accent);color:var(--primary);cursor:pointer;transition:var(--transition);border:none;border-radius:999px;flex-shrink:0;align-items:center;gap:.55rem;padding:.8rem 1.6rem;font-family:inherit;font-size:.95rem;font-weight:700;display:inline-flex}.smartSearchSubmit:hover{background:var(--accent-dark)}.smartSearchChips{flex-wrap:wrap;align-items:center;gap:.45rem;margin-top:.9rem;display:flex}.smartSearchChipsLabel{color:var(--text-light);font-size:.82rem;font-weight:600}.smartSearch--hero .smartSearchChipsLabel{color:#ffffffc7}.smartSearchChip{border:1px solid var(--gray-dark);background:var(--white);color:var(--primary);cursor:pointer;transition:var(--transition-fast);border-radius:999px;align-items:center;gap:.35rem;padding:.3rem .85rem;font-family:inherit;font-size:.84rem;font-weight:600;display:inline-flex}.smartSearchChip:hover{border-color:var(--primary);background:#004c910f}.smartSearch--hero .smartSearchChip{color:var(--white);background:#ffffff24;border-color:#ffffff52}.smartSearch--hero .smartSearchChip:hover{border-color:var(--accent);background:#ffffff3d}.smartSearchChip--recent{padding-right:.3rem}.smartSearchChip--recent a{color:inherit;text-decoration:none}.smartSearchChip--recent button{width:24px;height:24px;color:var(--text-lighter);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;font-size:.7rem;display:inline-flex}.smartSearchChip--recent button:hover{background:var(--gray-dark);color:var(--text)}.smartSearch--hero .smartSearchChip--recent button{color:#ffffffb3}.smartSearchPanel{z-index:60;background:var(--white);border:1px solid var(--gray-dark);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);max-height:min(70vh,520px);position:absolute;top:calc(100% + .6rem);left:0;right:0;overflow:hidden auto}.smartSearchNotice{border-bottom:1px solid var(--gray-dark);color:var(--text);background:#ffc10724;align-items:center;gap:.5rem;margin:0;padding:.7rem 1.1rem;font-size:.85rem;display:flex}.smartSearchNotice i{color:var(--accent-dark)}.smartSearchList{margin:0;padding:.35rem;list-style:none}.smartSearchItem{border-radius:var(--radius);text-align:left;cursor:pointer;width:100%;transition:var(--transition-fast);background:0 0;border:none;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem .85rem;font-family:inherit;display:flex}.smartSearchItem.isActive,.smartSearchItem:hover{background:var(--gray)}.smartSearchItemMain{flex-direction:column;gap:.15rem;min-width:0;display:flex}.smartSearchItemMain strong{color:var(--primary);font-size:.98rem;font-weight:700}.smartSearchItemMain small{color:var(--text-light);font-size:.82rem}.smartSearchAll{border:none;border-top:1px solid var(--gray-dark);background:var(--gray-light);width:100%;color:var(--primary);cursor:pointer;transition:var(--transition-fast);justify-content:center;align-items:center;gap:.5rem;padding:.9rem;font-family:inherit;font-size:.9rem;font-weight:700;display:flex}.smartSearchAll:hover{background:var(--gray)}.smartSearchEmpty{color:var(--text-light);text-align:center;padding:1.5rem 1.25rem;font-size:.92rem}.smartSearchEmpty strong{color:var(--text);margin-bottom:.35rem;display:block}.smartSearchDidYouMean{margin-top:.35rem;font-size:.88rem}.smartSearchDidYouMean button{color:var(--primary);font-family:inherit;font-size:inherit;cursor:pointer;background:0 0;border:none;padding:0;font-weight:600;text-decoration:underline}.smartSearchDeclare{background:var(--primary);color:var(--white);border-radius:999px;align-items:center;gap:.45rem;margin-top:1rem;padding:.6rem 1.25rem;font-size:.88rem;font-weight:600;text-decoration:none;display:inline-flex}.smartSearchDeclare:hover{background:var(--primary-dark)}.searchMark{color:inherit;background:#ffc1076b;border-radius:3px;padding:0 .1em}.matchBadge{font-size:var(--micro-lg);letter-spacing:.01em;white-space:nowrap;border:1px solid #0000;border-radius:999px;flex-shrink:0;align-items:center;gap:.4rem;padding:.22rem .6rem;font-weight:700;display:inline-flex}.matchBadge--exact{color:#2b7a2f;background:#43a04724;border-color:#43a04759}.matchBadge--strong{color:var(--primary);background:#004c911a;border-color:#004c914d}.matchBadge--probable{color:#8a6100;background:#ffc10733;border-color:#e6ac0073}.matchBadge--loose{background:var(--gray);border-color:var(--gray-dark);color:var(--text-light)}.matchBadgeLabel{font-weight:600}@media (max-width:600px){.smartSearchForm{border-radius:var(--radius-lg);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.6rem;padding:.75rem;display:grid}.smartSearchIcon{display:none}.smartSearchInput{background:var(--gray);border-radius:var(--radius);grid-area:1/1;padding:.7rem .85rem;font-size:1rem}.smartSearchClear{grid-area:1/2;width:36px;height:36px}.smartSearchSubmit{grid-area:2/1/auto/-1;justify-content:center;padding:.8rem 1rem}.matchBadgeLabel{display:none}}.smartSearchInput:focus-visible{outline:none}.smartSearchForm:has(.smartSearchInput:focus-visible){outline:3px solid var(--accent);outline-offset:2px}
