.lk{display:grid;gap:7px;min-width:0;padding:10px 12px;border-radius:9px;background:#F1EDE3;color:#4A4B42;font-size:12.5px;line-height:1.5}
.lk .lk-head{display:flex;align-items:baseline;gap:8px;min-width:0;color:#262720;font-weight:500}
.lk-head small{min-width:0;flex:1;font-size:12px;font-weight:400;color:#7D7D70;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lk .lk-steps{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.lk-steps li{display:flex;align-items:center;gap:8px;color:#7D7D70}
.lk-mark{position:relative;width:12px;height:12px;flex:none;border-radius:50%;border:1.5px solid #CFC8B8;box-sizing:border-box}
.lk-steps li.on{color:#262720}
.lk-steps li.on .lk-mark{border-color:#4F5B3E;border-right-color:transparent;animation:lookup-spin .75s linear infinite}
.lk-steps li.ok .lk-mark,.lk-result .lk-mark{background:#4F5B3E;border-color:#4F5B3E}
.lk-steps li.ok .lk-mark::after,.lk-result .lk-mark::after{content:"";position:absolute;left:2px;top:2px;width:5px;height:3px;border:solid #FFFEFA;border-width:0 0 1.5px 1.5px;transform:rotate(-45deg)}
.lk-dots{display:none}
.on .lk-dots{display:inline-block;width:0;overflow:hidden;vertical-align:bottom;animation:lookup-dots 1.2s steps(4) infinite}
.lk-more,.lk-result>span{color:#7D7D70}
.lk .lk-bar{height:2px;background:#DBD5C7;border-radius:2px;overflow:hidden}
.lk-bar i{display:block;height:100%;background:#4F5B3E;transition:width .12s linear}
.lk-wait .lk-mark{border-style:dashed}
.lk-result{display:flex;align-items:center;flex-wrap:wrap;gap:3px 8px;color:#262720;min-width:0}
.lk-result b{min-width:0;overflow-wrap:anywhere;font-weight:700}
.lk-meta{display:flex;flex-wrap:wrap;gap:2px 10px;color:#7D7D70;font-size:12px}
.lk a,.lk button{color:#2E3623;text-decoration:underline;text-underline-offset:3px}
.lk .lookup-suggest{display:block;width:100%;height:46px;border:0;margin:2px 0 0;background:transparent}
.onboarding-start-submit.lookup-pending,.site-pop-done.lookup-pending{background:#E3E6D8;color:#2E3623;white-space:normal}
#site-pop-hint{flex:1;min-width:0;font-size:11px;color:#7D7D70}
.site-pop-actions:has(#site-pop-hint){flex-wrap:wrap}
.site-pop-actions:has(.lookup-pending) #site-pop-hint{flex-basis:100%}
#lookup-notice{position:absolute;z-index:13;top:12px;right:12px;width:min(330px,calc(100% - 24px));box-sizing:border-box;display:grid;gap:6px;padding:10px 12px;background:#F7F4EE;border:1px solid #DBD5C7;border-radius:10px;box-shadow:0 10px 30px #26272024;font-size:12.5px;pointer-events:auto}
#lookup-notice[hidden]{display:none}
#lookup-notice .lk{padding:0;background:transparent}
.lookup-next{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7D7D70;font-size:12px}
.lookup-actions{display:flex;gap:16px;justify-content:flex-end}
.lookup-actions button{padding:6px 0;border:0;background:transparent;color:#2E3623;text-decoration:underline;text-underline-offset:3px;font:inherit;cursor:pointer}
@media(max-width:1280px){.packing-open #lookup-notice{top:60px;left:12px;right:auto}}
@media(max-width:700px){#lookup-notice,.packing-open #lookup-notice{top:auto;bottom:128px;left:10px;right:58px;width:auto;z-index:36}}
@keyframes lookup-spin{to{transform:rotate(360deg)}}
@keyframes lookup-dots{to{width:1.15em}}
@media(prefers-reduced-motion:reduce){.lk-steps li.on .lk-mark{animation:none;border-right-color:#4F5B3E}.on .lk-dots{animation:none;width:1.15em}.lk-bar i{transition:none}}
/* Keep the brief fill cue across catalog/card rerenders using the original timestamp. */
.lookup-filled{animation:lookup-fill 1.4s ease-out}
@keyframes lookup-fill{from{background-color:#F7E2B3}to{background-color:transparent}}
#lookup-notice{height:auto;min-height:0;max-height:calc(100% - 150px);overflow:auto;transform:none;transition:none}
@media(prefers-reduced-motion:reduce){.lookup-filled{animation:none;outline:2px solid #F7E2B3;outline-offset:1px}}
.lk-uncertain{display:grid;gap:4px;color:#7D7D70}
.lk-uncertain button{justify-self:start;min-height:32px;padding:2px 0;border:0;background:none;font:inherit;cursor:pointer}

.lk [hidden]{display:none!important}
.lk-fallback{display:grid;gap:6px;padding-top:7px;border-top:1px solid #DBD5C7;color:#7D7D70}
.lk-fallback button{justify-self:start;min-height:40px;border:1px solid #CFC8B8;border-radius:7px;background:#E3E6D8;padding:7px 12px;color:#2E3623;font:inherit;font-weight:500;text-decoration:none;cursor:pointer}
/* The editor's generic aside rules use two columns; lookup notices stay in one. */
#lookup-notice{grid-template-columns:minmax(0,1fr);align-content:start}

.onboarding-lookup{scroll-margin-block:12px 110px}
.site-pop-lookup{scroll-margin-block:12px 80px}
.lk-choices{display:flex;flex-direction:column;gap:6px;max-height:280px;overflow:auto;overscroll-behavior:contain;margin:8px 0}
.lk-camp-name{font-weight:700;margin-top:8px;line-height:1.5;overflow-wrap:anywhere}
.lk .lk-choice{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;min-height:56px;margin:0;padding:10px 12px;border:1px solid #d1ccbe;border-radius:8px;background:#f7f4ee;color:#262720;text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.lk .lk-choice span,.lk .lk-choice small{font-weight:400;color:#66685d}
.lk .lk-choice{text-decoration:none}
.lk .lk-choice[aria-pressed=true]{border-color:#4f5b3e;background:#e3e6d8;box-shadow:inset 3px 0 #4f5b3e}
.lk .lk-choice:focus-visible{outline:2px solid #4f5b3e;outline-offset:2px}
.onboarding-search-help{font-size:12px!important;color:#73766a!important;margin:8px 0!important}
.lk-retry{margin-top:8px;font-size:12px;color:#2e3623;text-decoration:underline;background:none;border:0;padding:8px 0}
@media(max-width:700px){.lk-choices{max-height:220px}}
.site-pop-lookup .lk-choices{max-height:220px}
.lk-candidates{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:10px 0}
.lk-candidates button{white-space:normal;text-align:left;padding:8px;min-height:36px}
