.sd-archive { max-width:1340px; margin:0 auto; padding:20px 20px 64px; color:var(--sd-ink); }
.sd-archive__hero { display:none; }
.sd-search-wrap { position:relative; display:flex; align-items:center; gap:10px; padding:10px; border:1px solid transparent; border-radius:18px; background:
linear-gradient(135deg, rgba(255,255,255,0.76) 0%, rgba(244,250,247,0.62) 100%) padding-box,
linear-gradient(135deg, rgba(0,209,80,0.20) 0%, rgba(0,209,80,0.10) 100%) border-box; box-shadow:0 20px 44px rgba(20,29,20,0.08), inset 0 1px 0 rgba(255,255,255,0.6); backdrop-filter:blur(18px) saturate(140%); -webkit-backdrop-filter:blur(18px) saturate(140%); outline:0; overflow:hidden; background-size:100% 100%, 200% 200%; background-position:0 0, 0% 50%; transition:box-shadow 0.22s ease, background 0.22s ease; }
.sd-archive.is-searching .sd-search-wrap { background:
linear-gradient(135deg, rgba(255,255,255,0.80) 0%, rgba(244,250,247,0.66) 100%) padding-box,
linear-gradient(120deg, rgba(0,209,80,0.14) 0%, rgba(0,209,80,0.94) 35%, rgba(142,255,196,0.86) 55%, rgba(0,209,80,0.94) 75%, rgba(0,209,80,0.14) 100%) border-box; background-size:100% 100%, 240% 240%; animation:sd-ai-outline 2.1s linear infinite; box-shadow:0 22px 48px rgba(0,209,80,0.12), 0 0 0 1px rgba(0,209,80,0.08), inset 0 1px 0 rgba(255,255,255,0.6); }
.sd-search-shell { display:flex; align-items:center; gap:12px; flex:1; min-width:0; padding:10px 14px; border-radius:14px; background:rgba(255,255,255,0.46); border:1px solid rgba(255,255,255,0.32); box-shadow:inset 0 1px 0 rgba(255,255,255,0.46); }
.sd-search-brand-wrap { position:relative; display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; margin-left:2px; padding:2px; flex:none; overflow:hidden; border:1px solid rgba(0,209,80,0.22); border-radius:10px; background:rgba(0,209,80,0.08); box-shadow:0 8px 18px rgba(0,209,80,0.12), inset 0 1px 0 rgba(255,255,255,0.28); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
.sd-search-brand-svg { display:block; width:100%; height:100%; overflow:visible; }
.sd-search-brand-base polygon { fill:rgba(24,38,31,0.88); }
.sd-search-brand-glow { display:none; }
.sd-search-brand-sweep { display:none; }
.sd-search-icon { width:18px; height:18px; fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.sd-search { width:100%; padding:0; border:0!important; font-size:15px; line-height:1.4; outline:none; background:transparent; box-shadow:none!important; box-sizing:border-box; appearance:none; }
.sd-search::placeholder { color:#6f7d78; }
.sd-search-submit { flex:none; height:50px; padding:0 22px; border:0; border-radius:14px; font-size:14px; font-weight:800; cursor:pointer; background:linear-gradient(135deg, #00d150 0%, #00b444 100%); color:#fff; box-shadow:0 10px 26px rgba(0,209,80,0.22); }
.sd-search-submit:hover { transform:translateY(-1px); }
.sd-search-submit:disabled,
.sd-sidebar__apply:disabled { opacity:0.75; cursor:wait; transform:none; }
.sd-archive.is-searching .sd-search-shell { background:rgba(255,255,255,0.60); }
.sd-archive.is-searching .sd-search-submit,
.sd-archive.is-searching .sd-sidebar__apply { position:relative; }
.sd-archive.is-searching .sd-search-brand-svg { animation:sd-xai-breathe 2.1s ease-in-out infinite; transform-origin:center; transform-box:fill-box; }
.sd-archive.is-searching .sd-search-brand-base polygon { animation:sd-xai-pulse 2.1s ease-in-out infinite; }

.sd-mobile-tools { display:none; grid-template-columns:minmax(0, 1fr) 88px; gap:10px; margin-bottom:14px; }
.sd-mobile-sort { display:none; margin-bottom:14px; }
.sd-mobile-filters-toggle,
.sd-mobile-search-toggle { width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px; border-radius:16px; font-size:14px; font-weight:700; cursor:pointer; }
.sd-mobile-search-toggle { justify-content:center; }
.sd-mobile-search-toggle svg { width:18px; height:18px; fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.sd-mobile-search-panel { display:none; margin-bottom:14px; }
.sd-mobile-search-panel.is-open { display:block; }
.sd-layout { display:grid; grid-template-columns:272px minmax(0, 1fr); gap:16px; align-items:start; }
.sd-sidebar { position:sticky; top:24px; }
.sd-sidebar__sort { margin-bottom:12px; padding:12px; }
.sd-sidebar__sort-grid { display:grid; grid-template-columns:minmax(0, 4fr) minmax(72px, 1fr); gap:10px; align-items:end; }
.sd-sidebar__sort-field,
.sd-sidebar__search-field { display:flex; flex-direction:column; gap:8px; min-width:0; }
.sd-sidebar__search-field { align-items:center; justify-content:flex-end; }
.sd-sidebar__search-field .sd-filter-label { text-align:center; width:100%; }
.sd-sidebar__panel { display:flex; flex-direction:column; max-height:calc(100vh - 24px); padding:16px; }
.sd-sidebar__head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:16px; }
.sd-sidebar__title { margin:0; font-size:18px; font-weight:800; }
.sd-sidebar__copy { margin:4px 0 0; font-size:12px; color:var(--sd-muted); line-height:1.45; }
.sd-sidebar__close { display:none; padding:0; border:0; background:none; font-size:26px; line-height:1; cursor:pointer; color:#333; }
.sd-sidebar__body { flex:1 1 auto; min-height:0; overflow-y:auto; padding-right:4px; padding-bottom:96px; margin-right:-4px; }
.sd-filter-stack { display:flex; flex-direction:column; gap:12px; }
.sd-filter-group { display:flex; flex-direction:column; gap:8px; }
.sd-filter-group--toggle { padding-top:2px; }
.sd-sidebar__more { width:100%; justify-content:center; min-height:42px; padding:0 16px; border:1px dashed rgba(0,209,80,0.25); border-radius:14px; background:#f6faf7; color:#16863f; font-size:13px; font-weight:700; cursor:pointer; transition:border-color 0.18s, transform 0.18s, background 0.18s, color 0.18s; }
.sd-sidebar__more:hover { border-color:rgba(0,209,80,0.4); transform:translateY(-1px); }
.sd-sidebar__more.is-open { background:#111; color:#fff; border-style:solid; border-color:#111; }
.sd-advanced-filters { display:none; flex-direction:column; gap:12px; }
.sd-advanced-filters.is-open { display:flex; }

.sd-dropdown { position:relative; }
.sd-dropdown__btn,
.sd-meta-sort,
.sd-sidebar__apply,
.sd-sidebar__clear { display:flex; align-items:center; gap:8px; min-height:46px; padding:0 14px; background:#fff; border:1px solid rgba(0,0,0,0.08); border-radius:14px; font-size:13px; font-weight:600; color:#444; cursor:pointer; white-space:nowrap; transition:border-color 0.18s, transform 0.18s, background 0.18s, color 0.18s; box-sizing:border-box; }
.sd-dropdown__btn:hover,
.sd-meta-sort:hover,
.sd-sidebar__clear:hover { border-color:rgba(0,209,80,0.35); background:#fbfefc; transform:translateY(-1px); }
.sd-dropdown__btn { width:100%; justify-content:space-between; }
.sd-dropdown__btn.has-value { background:#eef9f1; color:#155f31; border-color:rgba(0,209,80,0.24); }
.sd-dropdown__btn.has-value .sd-dropdown__arrow { border-top-color:#155f31; }
.sd-dropdown__meta { display:flex; align-items:center; gap:8px; min-width:0; }
.sd-dropdown__label { overflow:hidden; text-overflow:ellipsis; }
.sd-dropdown[data-filter="make"] .sd-dropdown__meta,
.sd-dropdown[data-filter="make"] .sd-dropdown__option { display:grid; grid-template-columns:minmax(52px, 30%) minmax(0, 1fr); align-items:center; gap:12px; }
.sd-dropdown[data-filter="make"] .sd-dropdown__label,
.sd-dropdown[data-filter="make"] .sd-dropdown__option-text { min-width:0; }
.sd-dropdown__arrow { width:0; height:0; border-left:4px solid transparent; border-right:4px solid transparent; border-top:5px solid #8f8f8f; flex-shrink:0; }
.sd-dropdown__menu { display:none; position:absolute; top:calc(100% + 8px); left:0; right:0; max-height:300px; overflow-y:auto; background:#fff; border:1px solid rgba(0,0,0,0.08); border-radius:14px; box-shadow:0 18px 34px rgba(0,0,0,0.12); z-index:1000; padding:8px; }
.sd-dropdown__menu.is-open { display:block; }
.sd-dropdown__option { padding:10px 12px; font-size:13px; color:#333; border-radius:12px; cursor:pointer; transition:background 0.12s, color 0.12s; display:flex; align-items:center; gap:10px; }
.sd-dropdown__option:hover { background:#f4fbf6; }
.sd-dropdown__option.is-selected { background:#eef9f1; color:#155f31; }
.sd-dropdown__option.is-selected .sd-dd-icon { filter:none; }
.sd-dropdown__option--clear { color:#d03030; font-weight:600; border-bottom:1px solid rgba(0,0,0,0.06); margin-bottom:4px; }
.sd-dropdown__option--clear:hover { background:#fff4f4; }
.sd-dd-icon { width:20px; height:20px; object-fit:contain; flex-shrink:0; }
.sd-dropdown__btn .sd-dd-icon-active { width:18px; height:18px; object-fit:contain; flex-shrink:0; display:none; }
.sd-dropdown__option--logo-only { justify-content:center; min-height:56px; }
.sd-dropdown__option--logo-only .sd-dd-icon { width:100%; height:32px; }
.sd-dropdown__option--logo-only .sd-dropdown__option-text { display:none; }
.sd-dropdown--location .sd-dropdown__menu { top:calc(100% + 8px); bottom:auto; padding:10px; }
.sd-location-menu__search { position:sticky; top:0; z-index:2; margin:-2px -2px 8px; padding:2px 2px 8px; background:#fff; }
.sd-location-menu__input { width:100%; min-height:42px; padding:0 12px; border:1px solid rgba(0,0,0,0.08); border-radius:12px; background:#fbfcfd; font-size:13px; color:#222; box-sizing:border-box; }
.sd-location-menu__crumbs { display:grid; gap:8px; padding:4px 0 8px; }
.sd-dropdown--location button.sd-dropdown__option,
.sd-location-menu__back,
.sd-location-menu__pick-parent,
.sd-location-menu__node,
.sd-location-menu__result { display:flex; width:100%; padding:10px 12px; border:0; border-radius:12px; background:#f7faf8; color:#223; font-size:13px; text-align:left; cursor:pointer; box-sizing:border-box; appearance:none; -webkit-appearance:none; }
.sd-dropdown--location button.sd-dropdown__option { align-items:center; gap:10px; }
.sd-dropdown--location button.sd-dropdown__option--clear { background:transparent; color:#d03030; font-weight:600; border-bottom:1px solid rgba(0,0,0,0.06); margin-bottom:4px; }
.sd-dropdown--location button.sd-dropdown__option--clear:hover { background:#fff4f4; }
.sd-location-menu__back:hover,
.sd-location-menu__pick-parent:hover,
.sd-location-menu__node:hover,
.sd-location-menu__result:hover { background:#eef9f1; }
.sd-location-menu__pick-parent { font-weight:700; color:#155f31; }
.sd-location-menu__node { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.sd-location-menu__node-arrow { color:#7b8794; font-size:18px; line-height:1; }
.sd-location-menu__result { display:grid; gap:3px; }
.sd-location-menu__result-main { font-weight:700; color:#1f2937; }
.sd-location-menu__result-meta { color:#6b7280; font-size:12px; }
.sd-location-menu__empty { padding:10px 12px; color:#6b7280; font-size:13px; }

.sd-range-group { display:flex; flex-direction:column; gap:8px; padding:12px; border-radius:14px; }
.sd-range-chip { font-size:12px; font-weight:800; letter-spacing:0.08em; text-transform:uppercase; }
.sd-range-fields { display:grid; grid-template-columns:minmax(0, 1fr) 16px minmax(0, 1fr); align-items:center; }
.sd-range-input { width:100%; padding:0 12px; border:1px solid rgba(0,0,0,0.07); border-radius:12px; font-size:13px; font-weight:600; background:#fff; outline:none; height:42px; box-sizing:border-box; color:#111; }
.sd-range-input:focus { border-color:rgba(0,209,80,0.38); background:#fff; }
.sd-range-input::placeholder { color:#a3a3a3; }
.sd-range-sep { display:flex; align-items:center; justify-content:center; color:#c2c2c2; font-size:12px; }

.sd-sidebar__actions { display:flex; flex-direction:column; gap:10px; padding-top:12px; margin-top:12px; border-top:1px solid rgba(0,0,0,0.06); background:inherit; position:sticky; bottom:0; }
.sd-sidebar__apply { justify-content:center; border:0; background:var(--sd-accent); color:#fff; font-size:14px; font-weight:800; }
.sd-sidebar__apply:hover { background:var(--sd-accent-strong); }
.sd-sidebar__clear { justify-content:center; }

.sd-active-filters { display:none; align-items:center; gap:10px; flex-wrap:wrap; padding:14px 16px; margin-bottom:14px; background:#fff; border:1px solid rgba(0,0,0,0.06); border-radius:16px; box-shadow:0 12px 22px rgba(20,29,20,0.05); }
.sd-active-filters.is-visible { display:flex; }
.sd-active-filters__label { font-size:12px; font-weight:700; color:#6a7470; text-transform:uppercase; letter-spacing:0.08em; }
.sd-active-filters__list { display:flex; flex:1 1 100%; flex-wrap:wrap; gap:8px; }
.sd-active-chip { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; background:#f4fbf6; border:1px solid rgba(0,209,80,0.18); border-radius:999px; color:#166436; font-size:12px; font-weight:700; }
.sd-active-chip button { padding:0; border:0; background:none; color:#166436; cursor:pointer; font-size:14px; line-height:1; }
.sd-active-chip--keywords { background:rgba(14,25,19,0.06); border-color:rgba(14,25,19,0.10); color:#0f4130; }
.sd-active-chip--keywords button { color:#0f4130; }
.sd-active-filters__clear { display:inline-flex; align-items:center; justify-content:center; height:20px; min-height:20px; margin-left:0; padding:0 7px; border:1px solid rgba(14,25,19,0.08); border-radius:999px; background:rgba(14,25,19,0.04); color:#244f3b; font-size:9px !important; font-weight:800; letter-spacing:0.04em; line-height:1; text-transform:uppercase; cursor:pointer; transition:background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease; vertical-align:middle; }
.sd-active-filters__clear:hover { background:rgba(14,25,19,0.09); border-color:rgba(14,25,19,0.18); color:#163426; transform:translateY(-1px); }

.sd-results { min-width:0; }
.sd-results .sd-search-panel { margin:0 0 14px; }
.sd-search-toggle { display:inline-flex; align-items:center; justify-content:center; gap:10px; width:46px; min-width:46px; min-height:46px; padding:0; border:1px solid rgba(0,0,0,0.08); border-radius:14px; background:#fff; color:#333; font-size:13px; font-weight:700; cursor:pointer; transition:border-color 0.18s, transform 0.18s, background 0.18s; }
.sd-search-toggle:hover { border-color:rgba(0,209,80,0.35); background:#fbfefc; transform:translateY(-1px); }
.sd-search-panel { display:none; min-width:0; }
.sd-search-panel.is-open { display:block; }
.sd-meta-row { margin:0 0 10px; }
.sd-meta-copy { display:block; width:100%; }
.sd-meta-kicker { display:block; margin-bottom:2px; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:0.1em; }
.sd-meta-count { display:block; font-size:13px; line-height:1.35; color:var(--sd-muted); font-weight:700; white-space:normal; }
.sd-meta-sort { width:100%; appearance:none; }
.sd-sidebar__body::-webkit-scrollbar { width:8px; }
.sd-sidebar__body::-webkit-scrollbar-thumb { background:rgba(0,0,0,0.12); border-radius:999px; }
.sd-sidebar__body::-webkit-scrollbar-track { background:transparent; }

.sd-arc-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:16px; }
.sd-arc-loader { text-align:center; padding:40px 0; display:none; }
.sd-arc-loader.is-loading { display:block; }
.sd-arc-loader__spinner { display:inline-block; width:30px; height:30px; border:3px solid #e8e8e8; border-top-color:var(--sd-accent); border-radius:50%; animation:sd-spin 0.6s linear infinite; }
@keyframes sd-spin { to { transform:rotate(360deg); } }
.sd-arc-empty { text-align:center; padding:80px 20px; color:#9b9b9b; font-size:15px; }
.sd-mobile-overlay { display:none; }

@keyframes sd-ai-outline {
    0% { background-position:0 0, 0% 50%; }
    50% { background-position:0 0, 100% 50%; }
    100% { background-position:0 0, 0% 50%; }
}

@keyframes sd-xai-pulse {
    0% { fill:rgba(24,38,31,0.88); }
    45% { fill:#00d150; }
    62% { fill:#8fffc4; }
    100% { fill:rgba(24,38,31,0.88); }
}

@keyframes sd-xai-breathe {
    0% { transform:scale(1); }
    50% { transform:scale(1.06); }
    100% { transform:scale(1); }
}

@media(max-width:1024px){
    .sd-layout{grid-template-columns:248px minmax(0, 1fr);}
    .sd-arc-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
}
@media(max-width:860px){
    .sd-mobile-tools{display:grid;}
    .sd-mobile-sort{display:none;}
    .sd-layout{grid-template-columns:1fr;}
    .sd-sidebar{position:static;display:none;}
    .sd-sidebar.is-open{display:block;position:fixed;inset:0 auto 0 0;width:min(90vw, 360px);padding:16px;z-index:1002;}
    .sd-sidebar.is-open .sd-sidebar__panel{height:100%;max-height:none;}
    .sd-sidebar__body{overflow-y:auto;}
    .sd-sidebar__close{display:block;}
    .sd-mobile-overlay.is-visible{display:block;position:fixed;inset:0;background:rgba(0,0,0,0.45);backdrop-filter:blur(2px);z-index:1001;}
    .sd-results{width:100%;}
    .sd-sidebar__sort{display:block;}
    .sd-sidebar__sort-grid{grid-template-columns:1fr;}
    .sd-sidebar__search-field{display:none;}
}
@media(max-width:640px){
    .sd-archive{padding:20px 16px 48px;}
    .sd-sidebar.is-open{width:100vw;padding:10px;}
    .sd-arc-grid{grid-template-columns:1fr;gap:12px;}
    .sd-active-filters__clear{margin-left:0;}
}
