.smart-search{width:100%;max-width:36rem;color:var(--foreground);text-align:left;font-family:var(--font-sans);position:relative}.smart-search-full-width{max-width:none}.smart-search-input-row{background:var(--background);border:1px solid var(--border);box-shadow:var(--shadow-sm);color:var(--brand);border-radius:2rem;align-items:center;gap:1rem;padding:.6rem .7rem .6rem 1.3rem;display:flex}.smart-search-input-row:focus-within{outline:2px solid var(--brand-lilac);outline-offset:3px}.smart-search-input-row input{min-width:0;color:var(--foreground);background:0 0;border:0;outline:none;flex:1;font-size:1rem;line-height:1.6}.smart-search-input-row input::placeholder{color:var(--muted)}.smart-search-input-row button{cursor:pointer;flex-shrink:0;justify-content:center;align-items:center;display:flex}.smart-search-submit{background:var(--brand);color:#fff;border-radius:50%;width:2.65rem;height:2.65rem}.smart-search-brand .smart-search-input-row{background:var(--brand);color:#fff;border-color:#0000}.smart-search-brand .smart-search-input-row input{color:#fff;caret-color:#fff}.smart-search-brand .smart-search-input-row input::placeholder{color:#ffffffbf}.smart-search-brand .smart-search-submit{color:var(--brand);background:#fff}.smart-search-brand .smart-search-submit:hover{background:var(--brand-lilac-soft)}.smart-search-chips{flex-wrap:wrap;gap:.5rem;margin-top:.75rem;display:flex}.smart-search-chips button,.smart-search-choices button{background:var(--brand-lilac-soft);color:var(--brand);cursor:pointer;border-radius:1.5rem;align-items:center;gap:.5rem;padding:.35rem .8rem;font-size:.85rem;display:flex}.smart-search-suggestions{z-index:70;border:1px solid var(--border);background:var(--background);width:max(100%,min(46rem,100vw - 3rem));max-width:calc(100vw - 3rem);box-shadow:var(--shadow-lg);color:var(--foreground);border-radius:1.5rem;position:absolute;top:calc(100% + .75rem);left:0;overflow:hidden}.smart-search-status{color:var(--muted);border-bottom:1px solid var(--border);align-items:center;gap:.6rem;padding:1.25rem 1.5rem;font-size:.85rem;display:flex}.smart-search-status button{color:var(--brand);text-decoration:underline}.smart-search-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;max-height:55vh;padding:1.5rem;display:grid;overflow:auto}.smart-search-groups:empty{display:none}.smart-search-group-label{letter-spacing:.12em;text-transform:uppercase;color:var(--brand);justify-content:space-between;padding:0 .65rem .65rem;font-size:.7rem;font-weight:700;display:flex}.smart-search-group-label span{font-variant-numeric:tabular-nums;color:var(--muted)}.smart-search-option{cursor:pointer;border-radius:.7rem;justify-content:space-between;align-items:center;gap:.5rem;padding:.7rem;line-height:1.25;display:flex}.smart-search-option[aria-selected=true],.smart-search-option:hover{background:var(--brand-lilac-soft)}.smart-search-option strong{font-size:.95rem;font-weight:600;display:block}.smart-search-option small{-webkit-line-clamp:2;color:var(--muted);-webkit-box-orient:vertical;margin-top:.3rem;font-size:.78rem;display:-webkit-box;overflow:hidden}.smart-search-option svg{color:var(--brand);flex-shrink:0}.smart-search-all{border-top:1px solid var(--border);width:100%;color:var(--brand);text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.5rem;font-size:.9rem;font-weight:600;display:flex}.smart-search-all:hover{background:var(--brand-lilac-soft)}.smart-search-choices{flex-wrap:wrap;gap:.5rem;padding:1rem;display:flex}.smart-search-dialog{width:100%;max-width:none;height:100dvh;max-height:none;padding:1rem 1rem max(1rem, env(safe-area-inset-bottom));background:var(--background);color:var(--foreground);border:0;margin:0;position:fixed;inset:0;overflow:auto}.smart-search-dialog::backdrop{background:var(--foreground)}.smart-search-sheet-title{font-family:var(--font-display);justify-content:space-between;align-items:center;margin:.5rem 0 1.5rem;font-size:2rem;display:flex}.smart-search-sheet-title button{padding:.5rem}.smart-search-dialog .smart-search-suggestions{width:100%;max-width:none;box-shadow:none;border:0;margin-top:1rem;position:static}.smart-search-dialog .smart-search-groups{grid-template-columns:1fr;gap:1rem;max-height:none;padding:1rem 0}.smart-search-dialog .smart-search-status,.smart-search-dialog .smart-search-all{padding:1rem 0}.smart-search-dialog .smart-search-input-row{gap:.5rem;padding-left:1rem}@media (prefers-reduced-motion:reduce){.smart-search .animate-spin,.smart-search-dialog .animate-spin{animation:none}}
