/* tc-search v1 */
.tcs-wrap{display:grid;gap:.75rem;margin:0 0 1.4rem}
@media(min-width:760px){.tcs-wrap.two{grid-template-columns:1fr 1fr}}
.tcs{position:relative;background:#fffdf8;border:1px solid rgba(201,164,92,.55);border-radius:16px;padding:.75rem .85rem;box-shadow:0 10px 26px rgba(14,26,43,.08)}
.tcs[hidden]{display:none}
.tcs label{display:block;font-weight:600;color:#0e1a2b;margin:0 0 .4rem;font-size:.95rem}
.tcs-f{position:relative;margin:0}
.tcs-f svg{position:absolute;left:.8rem;top:50%;width:1.1rem;height:1.1rem;transform:translateY(-50%);fill:none;stroke:#a8843e;stroke-width:2.2;pointer-events:none}
.tcs .tcs-f input[type=search]{box-sizing:border-box;width:100%;font:inherit;font-size:1rem;padding:.75rem .9rem .75rem 2.4rem;border:1px solid #cbbfae;border-radius:12px;background:#fff;color:#1d2330;-webkit-appearance:none;appearance:none}
.tcs .tcs-f input[type=search]:focus{outline:2px solid #c9a45c;outline-offset:1px;border-color:#c9a45c}
.tcs ul[role=listbox]{position:absolute;left:.85rem;right:.85rem;top:calc(100% - .6rem);z-index:30;list-style:none;margin:0;padding:.3rem;background:#fff;border:1px solid rgba(201,164,92,.6);border-radius:12px;box-shadow:0 18px 40px rgba(14,26,43,.2);max-height:min(60vh,22rem);overflow:auto}
.tcs ul[role=listbox][hidden]{display:none}
.tcs li[role=option]{padding:.6rem .7rem;border-radius:8px;cursor:pointer;color:#1d2330;line-height:1.3;overflow-wrap:anywhere;border:0;margin:0}
.tcs li[role=option] span{color:#5c5348}.tcs li[role=option] em{color:#8a6a2c;font-style:normal;font-weight:600}
.tcs li[aria-selected=true],.tcs li[role=option]:hover{background:rgba(201,164,92,.18)}
.tcs li.tcs-none{cursor:default;color:#5c5348}
.tcs-st{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tcs-hit{outline:3px solid #c9a45c;outline-offset:4px;border-radius:10px;background:rgba(201,164,92,.14)!important;animation:tcsP 1s ease-out 3}
@keyframes tcsP{0%{box-shadow:0 0 0 0 rgba(201,164,92,.6)}100%{box-shadow:0 0 0 14px rgba(201,164,92,0)}}
@media(prefers-reduced-motion:reduce){.tcs-hit{animation:none}}
li[id^="c-"],li[id^="ag-"]{scroll-margin-top:7rem}
