/* Text history stays optional: typed values change only when a suggestion is chosen. */
.suggestions-trigger{display:inline-flex;align-items:center;justify-content:flex-start;gap:.375rem;min-height:44px;max-width:100%;margin:.25rem 0 0;padding:.375rem .5rem;border:1px solid transparent;border-radius:.5rem;background:transparent;color:#315f43;font:inherit;font-size:.875rem;line-height:1.4;text-align:left;white-space:normal;cursor:pointer}
.suggestions-trigger[hidden]{display:none!important}
.suggestions-trigger:hover{border-color:#c4d6c1;background:#f0f6eb;color:#195b43}
.suggestions-trigger[aria-expanded="true"]{border-color:#a5c1a6;background:#eaf3e4;color:#195b43}
.suggestions-trigger:focus-visible,.suggestions-close:focus-visible{outline:3px solid #195b43;outline-offset:2px}
.suggestions-trigger svg{width:1rem;height:1rem;flex:0 0 1rem;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.suggestions-trigger span{min-width:0;overflow-wrap:anywhere}
.suggestions-chevron{margin-left:.125rem;font-size:1rem;line-height:1}
.suggestions-popup{position:fixed;inset:auto;display:none;z-index:1010;box-sizing:border-box;max-width:calc(100vw - 16px);max-height:min(23rem,calc(100dvh - 16px));margin:0;padding:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;border:1px solid #afc5b1;border-radius:.75rem;background:#fff;color:#294333;box-shadow:0 12px 36px #183b292b,0 2px 7px #183b2914;font:inherit;font-size:1rem;line-height:1.45;text-align:left;scrollbar-width:thin;scrollbar-color:#9bb29d #f2f6f0}
.suggestions-popup[data-open]:not([data-open="false"]){display:block}
.suggestions-popup:popover-open{display:block}
.suggestions-popup[hidden]{display:none!important}
.suggestions-popup::backdrop{background:transparent}
.suggestions-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-height:44px;padding:.375rem .5rem .375rem .875rem;border-bottom:1px solid #dce7d8;background:#f7faf4;color:#315740}
.suggestions-header strong{min-width:0;font-size:.875rem;line-height:1.4;font-weight:750;overflow-wrap:anywhere}
.suggestions-close{display:grid;place-items:center;width:44px;height:44px;min-height:44px;flex:0 0 44px;padding:0;border:1px solid transparent;border-radius:.5rem;background:transparent;color:#526b59;font:inherit;font-size:1.5rem;line-height:1;cursor:pointer}
.suggestions-close:hover{border-color:#c7d7c3;background:#eaf2e5;color:#195b43}
.suggestions-options{display:block;min-width:0;padding:.375rem;margin:0}
.suggestion-option{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:.25rem;min-width:0;min-height:44px;padding:.625rem .75rem;border:2px solid transparent;border-radius:.5rem;color:#294b35;font-size:1rem;line-height:1.45;cursor:pointer;scroll-margin-block:.375rem}
.suggestion-option+.suggestion-option{margin-top:.125rem}
.suggestion-option:hover{background:#f0f6eb;color:#194e36}
.suggestion-option.is-active{border-color:#195b43;background:#e3efdd;color:#16482f}
.suggestion-value{display:block;min-width:0;max-width:100%;font-size:1rem;font-weight:600;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.suggestion-meta{display:block;min-width:0;max-width:100%;color:#526358;font-size:.8125rem;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
@media(max-width:600px){.suggestions-trigger{padding:.375rem .25rem}.suggestions-header{padding-left:.625rem}.suggestion-option{padding:.625rem .5rem}}
