.ss-box { position: relative; width: 100%; }
.ss-box form { margin: 0; }
.ss-field { position: relative; display: flex; align-items: center; background: #fff; border: 1px solid #dfe1e5; border-radius: 28px; box-shadow: 0 1px 6px rgba(32, 33, 36, .08); transition: box-shadow .15s, border-color .15s; }
.ss-field:hover, .ss-box.ss-open .ss-field, .ss-field:focus-within { box-shadow: 0 2px 10px rgba(32, 33, 36, .18); border-color: transparent; }
.ss-box.ss-open .ss-field { border-radius: 24px 24px 0 0; }
.ss-field-icon { padding: 0 6px 0 20px; color: #9aa0a6; font-size: 1rem; }
.ss-input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 14px 8px; font-size: 1.05rem; color: #202124; }
.ss-input::-webkit-search-cancel-button { display: none; }
.ss-clear { border: 0; background: none; color: #70757a; padding: 0 10px; font-size: 1.1rem; cursor: pointer; }
.ss-submit { border: 0; background: #00B074; color: #fff; border-radius: 22px; margin: 5px; padding: 9px 20px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ss-submit:hover { background: #009963; }
.ss-box.ss-loading .ss-field-icon i { animation: ss-pulse .8s infinite alternate; }
@keyframes ss-pulse { from { opacity: .35; } to { opacity: 1; } }

.ss-dropdown { position: absolute; left: 0; right: 0; top: 100%; z-index: 1060; background: #fff; border-radius: 0 0 24px 24px; box-shadow: 0 8px 18px rgba(32, 33, 36, .22); padding: 6px 0 10px; max-height: 70vh; overflow-y: auto; text-align: left; }
.ss-dropdown[hidden] { display: none; }
.ss-best { display: flex; align-items: center; gap: 12px; margin: 4px 10px 6px; padding: 10px 12px; border-radius: 12px; background: #EFFDF5; color: #1f2a37; text-decoration: none; }
.ss-best-icon { width: 38px; height: 38px; border-radius: 10px; background: #00B074; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ss-best-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ss-best-title { font-weight: 700; font-size: 1rem; }
.ss-best-sub { font-size: .82rem; color: #4b5563; }
.ss-best-go { font-size: .75rem; color: #047a52; white-space: nowrap; font-weight: 600; }
.ss-group { padding: 2px 0; }
.ss-group-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #9aa0a6; padding: 8px 20px 4px; }
.ss-clear-recent { border: 0; background: none; color: #9aa0a6; font-size: .7rem; text-transform: none; letter-spacing: 0; cursor: pointer; }
.ss-item { display: flex; align-items: center; gap: 12px; padding: 7px 20px; color: #202124; text-decoration: none; }
.ss-item-icon { width: 18px; text-align: center; color: #9aa0a6; flex-shrink: 0; }
.ss-item-body { display: flex; flex-direction: column; min-width: 0; }
.ss-item-title { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-item-sub { font-size: .78rem; color: #70757a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-item-title strong, .ss-best-title strong { font-weight: 700; color: #000; }
.ss-item:hover, .ss-item.is-active, .ss-best:hover, .ss-best.is-active, .ss-all:hover, .ss-all.is-active { background: #f1f3f4; }
.ss-best.is-active { outline: 2px solid #00B074; }
.ss-all { display: block; padding: 10px 20px 4px; font-size: .88rem; font-weight: 600; color: #047a52; text-decoration: none; border-top: 1px solid #f1f3f4; margin-top: 4px; }
.ss-empty { padding: 14px 20px; color: #4b5563; font-size: .9rem; }

.ss-hero { background: linear-gradient(135deg, #00B074 0%, #009963 50%, #007a4f 100%); padding: 48px 16px 40px; margin-bottom: 3rem; }
.ss-hero-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.ss-hero h2 { color: #fff; font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 18px; }
.ss-hero .ss-input { padding: 17px 8px; font-size: 1.12rem; }
.ss-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.ss-chip { border: 1px solid rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .12); border-radius: 999px; padding: 5px 14px; font-size: .86rem; text-decoration: none; cursor: pointer; }
.ss-chip:hover { background: rgba(255, 255, 255, .25); color: #fff; }


.ss-listbar { background: linear-gradient(135deg, #00B074 0%, #009963 50%, #007a4f 100%); padding: 28px 16px; }
.ss-listbar-inner { max-width: 760px; margin: 0 auto; }

.ss-results { max-width: 900px; margin: 0 auto; }
.ss-results-head { margin: 24px 0 18px; }
.ss-result-best { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; background: #EFFDF5; border: 1px solid #c9f0dd; text-decoration: none; color: #1f2a37; margin-bottom: 22px; }
.ss-result-best .ss-best-icon { width: 46px; height: 46px; font-size: 1.1rem; }
.ss-result-best-title { font-size: 1.2rem; font-weight: 700; }
.ss-result-group { margin-bottom: 26px; }
.ss-result-group h2 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #70757a; margin-bottom: 8px; }
.ss-result { display: flex; gap: 12px; padding: 10px 4px; border-bottom: 1px solid #f1f3f4; text-decoration: none; color: #202124; }
.ss-result:hover .ss-result-title { text-decoration: underline; }
.ss-result-title { font-size: 1.02rem; color: #1a0dab; }
.ss-result-sub { font-size: .85rem; color: #4d5156; }
.ss-result-url { font-size: .75rem; color: #188038; }

@media (max-width: 575px) {
    .ss-submit { padding: 9px 14px; }
    .ss-submit span { display: none; }
    .ss-hero { padding: 32px 12px 28px; }
    .ss-listbar { padding: 18px 12px; }
    .ss-dropdown { max-height: 60vh; }
}
