.psy-srch-btn{width:46px;height:46px;border-radius:50%;border:1px solid #e4e6df;background:#fff;
  display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;flex:0 0 auto}
.psy-srch-btn:hover{border-color:#445723}
.psy-srch-btn svg{width:22px;height:22px;stroke:#445723;fill:none;stroke-width:2;
  stroke-linecap:round}
.psy-srch-btn.on{background:#445723;border-color:#445723}
.psy-srch-btn.on svg{stroke:#fff}

.psy-srch-veil{position:fixed;inset:0;background:rgba(28,32,20,.42);opacity:0;visibility:hidden;
  transition:opacity .22s;z-index:9998}
.psy-srch-veil.open{opacity:1;visibility:visible}

.psy-srch-panel{position:fixed;left:0;right:0;top:0;background:#fff;z-index:9999;
  box-shadow:0 18px 44px rgba(38,44,28,.16);max-height:0;overflow:hidden;
  transition:max-height .26s ease}
.psy-srch-panel.open{max-height:88vh;overflow-y:auto}
.psy-srch-inner{max-width:1240px;margin:0 auto;padding:24px 20px 30px}

.psy-srch-field{display:flex;align-items:center;gap:14px;border:2px solid #445723;
  border-radius:12px;padding:0 18px;background:#fff}
.psy-srch-field svg{width:22px;height:22px;stroke:#445723;fill:none;stroke-width:2;flex:0 0 auto}
.psy-srch-field input{flex:1;border:0;outline:0;font:400 18px/1.4 inherit;color:#333;
  padding:16px 0;background:transparent;-webkit-appearance:none}
.psy-srch-field input::placeholder{color:#a8a89c}
.psy-srch-field input::-webkit-search-cancel-button{display:none}
.psy-srch-close{border:0;background:none;cursor:pointer;color:#8a8a7e;font-size:28px;
  line-height:1;padding:2px 4px}
.psy-srch-close:hover{color:#333}

.psy-srch-hint{margin-top:20px}
.psy-srch-hint-t{font:600 12px/1 inherit;letter-spacing:.06em;color:#8a8a7e;margin-bottom:10px}
.psy-srch-chips{display:flex;gap:9px;flex-wrap:wrap}
.psy-srch-chip{border:1px solid #e4e6df;background:#f9fafb;border-radius:20px;
  padding:8px 16px;font-size:14px;cursor:pointer;color:#333}
.psy-srch-chip:hover{border-color:#6b7e49;background:#e7f0da}

.psy-srch-grp{margin-bottom:4px}
.psy-srch-grp-t{font:600 11px/1 inherit;letter-spacing:.08em;color:#8a8a7e;
  text-transform:uppercase;padding:14px 0 6px;border-bottom:1px solid #e4e6df}
.psy-srch-row{display:flex;align-items:center;gap:14px;padding:11px 10px;border-radius:9px;
  cursor:pointer;text-decoration:none;color:inherit}
.psy-srch-row:hover,.psy-srch-row.sel{background:#f9fafb}
.psy-srch-ic{width:44px;height:44px;border-radius:9px;flex:0 0 auto;background:#e7f0da;
  display:flex;align-items:center;justify-content:center}
.psy-srch-ic svg{width:22px;height:22px;stroke:#445723;fill:none;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round}
.psy-srch-b{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}
.psy-srch-n{font-size:15px;line-height:1.4;display:block}
.psy-srch-n mark{background:#fdf3c8;color:inherit;padding:0 1px;border-radius:2px}
.psy-srch-m{font-size:13px;color:#8a8a7e;display:block;line-height:1.4}
.psy-srch-p{font:600 15px/1 inherit;color:#445723;white-space:nowrap}
.psy-srch-more{display:block;text-align:center;margin-top:14px;padding:14px;border-radius:10px;
  background:#445723;color:#fff;font:600 15px/1 inherit;text-decoration:none;cursor:pointer;
  border:0;width:100%}
.psy-srch-more:hover{background:#6b7e49;color:#fff}
.psy-srch-empty{padding:26px 10px;color:#8a8a7e;font-size:15px;line-height:1.6}
.psy-srch-empty b{color:#333;font-weight:600}
.psy-srch-empty a{color:#445723}

@media(max-width:700px){
  .psy-srch-inner{padding:16px 14px 22px}
  .psy-srch-field input{font-size:16px;padding:13px 0}
  .psy-srch-p{display:none}
}

/* ── страница результатов ── */
.psy-res-h1{font:600 30px/1.25 inherit;margin:0 0 6px;color:#2b2b26}
.psy-res-h1 span{color:#445723}
.psy-res-count{color:#8a8a7e;font-size:15px;margin:0 0 26px}
.psy-res-count a{color:#445723}
.psy-res-cols{display:flex;gap:34px;align-items:flex-start}
.psy-res-side{flex:0 0 240px;background:#f9fafb;border:1px solid #e4e6df;border-radius:12px;
  padding:18px;position:sticky;top:20px}
.psy-res-side h3{font:600 13px/1 inherit;margin:0 0 12px;color:#2b2b26}
.psy-res-filt{display:flex;justify-content:space-between;align-items:center;padding:9px 11px;
  border-radius:8px;font-size:15px;margin-bottom:2px;text-decoration:none;color:#333}
.psy-res-filt:hover{background:#eef0e9;color:#333}
.psy-res-filt.on{background:#445723;color:#fff}
.psy-res-filt i{font-style:normal;font-size:13px;opacity:.65}
.psy-res-list{flex:1;min-width:0}
.psy-res-card{display:flex;gap:18px;align-items:center;padding:16px;border:1px solid #e4e6df;
  border-radius:12px;margin-bottom:12px;text-decoration:none;color:inherit;background:#fff}
.psy-res-card:hover{border-color:#6b7e49;box-shadow:0 5px 18px rgba(60,72,40,.07)}
.psy-res-th{flex:0 0 72px}
.psy-res-th img{width:72px;height:72px;object-fit:cover;border-radius:9px;display:block}
.psy-res-b{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.psy-res-n{font:600 17px/1.35 inherit;display:block}
.psy-res-d{font-size:14px;color:#8a8a7e;line-height:1.5;display:block}
.psy-res-tags{display:flex;gap:7px;flex-wrap:wrap}
.psy-res-tag{background:#e7f0da;color:#3d4d1f;font-size:12px;padding:3px 10px;border-radius:11px}
.psy-res-tag.alt{background:#f0f3ee;color:#6b7e49}
.psy-res-p{font:600 17px/1 inherit;color:#445723;white-space:nowrap}
.psy-res-empty{padding:30px 0;color:#8a8a7e;font-size:16px;line-height:1.7}
.psy-res-empty a{color:#445723}
@media(max-width:900px){
  .psy-res-cols{flex-direction:column}
  .psy-res-side{position:static;width:100%;flex:none}
  .psy-res-h1{font-size:24px}
  .psy-res-th{display:none}
}
.psy-srch-sub{margin-top:10px;font-size:13px;color:#8a8a7e;line-height:1.5}
.psy-srch-fixed{background:#fbf6e6;border:1px solid #efe0b0;border-radius:9px;padding:10px 14px;
  font-size:14px;color:#6d5a1c;margin:14px 0 4px}
@media(max-width:700px){
  .psy-srch-n{font-size:14px}
  .psy-srch-m{font-size:12px}
  .psy-srch-row{padding:9px 6px;gap:11px}
  .psy-srch-ic{width:36px;height:36px}
  .psy-srch-ic svg{width:18px;height:18px}
  .psy-srch-chip{font-size:13px;padding:6px 12px}
  .psy-srch-grp-t{font-size:10px}
  .psy-srch-more{font-size:14px;padding:12px}
}
