.akb-ai-entry { min-height: 44px; border: 1px solid #d9e7fa; border-radius: 12px; background: #f5f9ff; color: #176dcc; font-size: 14px; padding: 10px 14px; }
.afilter > .akb-ai-entry { width: 100%; margin-top: 10px; }
.akb-vehicle-bar__actions > .akb-ai-entry { width: auto; }
.filter-switcher-btn[data-type="vin"], .filter-switcher-btn[data-type="params"] { display: none; }
.akb-ai-dialog[hidden] { display: none !important; }
.akb-ai-dialog { position: fixed; inset: 0; z-index: 10020; background: rgba(20,43,69,.46); display: flex; align-items: center; justify-content: center; padding: 16px; }
.akb-ai-panel { width: 600px; max-width: 100%; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: 24px; border-radius: 24px; background: #fff; color: #142b45; box-shadow: 0 16px 60px rgba(20,43,69,.18); }
.akb-ai-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.akb-ai-heading h2 { font-size: 24px; line-height: 1.3; margin: 0; }
.akb-ai-close { border: 0; border-radius: 50%; width: 44px; height: 44px; flex-shrink: 0; background: #f3f5f7; color: #142b45; font-size: 28px; }
.akb-ai-intro { font-size: 14px; line-height: 1.5; color: #5f6d7e; margin-bottom: 20px; }
.akb-ai-messages { display: grid; gap: 12px; margin-bottom: 16px; }
.akb-ai-message { margin: 0; padding: 12px 14px; background: #f3f5f7; border-radius: 14px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.akb-ai-message.is-user { background: #eef5ff; }
.akb-ai-candidates { display: grid; gap: 8px; }
.akb-ai-candidates button { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid #d9e7fa; border-radius: 12px; text-align: left; background: #fff; color: #142b45; font-size: 14px; }
.akb-ai-candidates button span { color: #5f6d7e; font-size: 13px; line-height: 1.4; }
.akb-ai-form label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 8px; }
.akb-ai-form textarea { display: block; width: 100%; min-height: 90px; resize: vertical; padding: 12px; background: #f8f9fb; color: #142b45; border: 1px solid #e5e9ee; border-radius: 12px; font-size: 16px !important; line-height: 1.5; }
.akb-ai-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.akb-ai-submit { padding: 12px 18px; min-height: 44px; border: 0; border-radius: 12px; background: #2787f5; color: #fff; font-size: 15px; }
.akb-ai-submit:disabled { opacity: .6; }
.akb-ai-actions a { color: #176dcc; font-size: 14px; }
.akb-ai-dialog :focus-visible, .akb-ai-entry:focus-visible { outline: 3px solid #2787f5; outline-offset: 3px; }
.akb-ai-open { overflow: hidden !important; }
@media (max-width: 767px) { .akb-ai-dialog { padding: 12px; } .akb-ai-panel { padding: 20px 16px; max-height: calc(100dvh - 24px); } .akb-ai-heading h2 { font-size: 21px; } }

/* Vehicle selector: use the storefront's blue primary action and quiet fields. */
#content .afilter { padding: 24px; border-color: #e5e9ee; border-radius: 20px; color: #142b45; }
#content .afilter h3 { color: #142b45; font-weight: 600; letter-spacing: 0; text-align: left; font-size: 22px; line-height: 1.3; margin: 0 0 20px; }
#content .afilter .filter-switcher { display: none; }
#content .afilter .filter-horizontal { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)) minmax(130px,.8fr); gap: 14px; align-items: end; }
#content .afilter .filter-horizontal > div { margin: 0; min-width: 0; width: auto; }
#content .afilter .filter-label { display: block; color: #63758a; font-size: 12px; line-height: 1.4; margin: 0 0 7px; }
#content .afilter .filter_brand::after, #content .afilter .filter_model::after,
#content .afilter .filter_year::after, #content .afilter .filter_engines::after { content: none; }
#content .afilter select.form-control { height: 48px; border: 1px solid #e5e9ee; border-radius: 12px; padding: 0 38px 0 14px; color: #142b45; font-size: 16px; line-height: normal; box-shadow: none; appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2363758a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center; }
#content .afilter select.form-control:disabled { color: #8492a6; background-color: #f3f5f7; opacity: 1; cursor: default; }
#content .afilter select.form-control:focus { border-color: #2787f5; outline: 2px solid #d9e7fa; outline-offset: 1px; }
#content .afilter #filter_button { height: 48px; min-height: 48px; margin: 0; border-radius: 12px; background: #2787f5; border: 1px solid #2787f5; color: #fff; font-weight: 500; font-size: 16px; text-transform: none; box-shadow: none; }
#content .afilter #filter_button:hover:not(:disabled) { background: #176dcc; border-color: #176dcc; }
#content .afilter #filter_button:disabled { background: #e9eef4; border-color: #e9eef4; color: #8492a6; opacity: 1; cursor: default; }
#content .afilter > .akb-ai-entry { display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 44px; margin-top: 16px; padding: 10px 16px; background: #fff; border-color: #d9e7fa; color: #2787f5; }
#content .afilter > .akb-ai-entry:hover { background: #eef5ff; border-color: #2787f5; }
#content .homepage-hero__filter .afilter .filter-horizontal { grid-template-columns: minmax(0,1fr); }
#content .homepage-hero__filter .afilter > .akb-ai-entry { width: 100%; }
@media (max-width: 991px) {
  #content .afilter { padding: 20px 16px; }
  #content .afilter h3 { font-size: 20px; margin-bottom: 18px; }
  #content .afilter .filter-horizontal { grid-template-columns: minmax(0,1fr); gap: 12px; }
  #content .afilter > .akb-ai-entry { width: 100%; margin-top: 12px; }
}
