/* TD-362: conservar diseño anterior; únicamente botón estrellas/Beta. */
.ses-smart-toggle{flex:0 0 98px;display:flex;align-items:center;justify-content:center;gap:7px;position:relative;border:0;background:#ededed;color:#005333;cursor:pointer;padding:0 8px 0 4px;font:13px 'Open Sans',Arial,sans-serif}

.ses-smart-toggle svg{width:23px;height:23px;flex-shrink:0;transition:transform .25s ease;transform-origin:center}
.ses-smart-toggle span{border-radius:15px;padding:4px 9px;background:#eaf1ec;margin-right:12px}
.ses-smart-toggle[aria-pressed=true] span{background:#005333;color:white}
.ses-smart-toggle[aria-pressed=true] svg{color:#005333}
@media(hover:hover){.ses-smart-toggle:hover svg{transform:scale(1.25)}}
.ses-smart-toggle:focus-visible{outline:2px solid #005333;outline-offset:-5px}
.ses-smart-review{box-sizing:border-box;background:#fff;color:#004929;padding:16px;border-radius:14px;margin-top:10px;font:14px/1.5 'Open Sans',Arial,sans-serif;box-shadow:0 3px 12px #002b2420}
.ses-smart-review[hidden]{display:none}
.ses-smart-review a{display:inline-block;background:#005333;color:white!important;padding:8px 14px;border-radius:8px;margin-top:8px;text-decoration:none}

@media(max-width:479px){.ses-smart-toggle{flex-basis:78px;gap:5px;padding-left:0;font-size:12px}.ses-smart-toggle svg{width:19px;height:19px}.ses-smart-toggle span{padding:3px 6px;margin-right:9px}}
@media(prefers-reduced-motion:reduce){.ses-smart-toggle svg{transition:none}.ses-smart-toggle:hover svg{transform:none}}
/* Keep animated examples visible even when the existing field is hovered. */
body.home #search #input_text[data-smart-active="true"]::placeholder{color:#888!important;opacity:1}

/* TD-367: únicamente IA, alineada al extremo derecho del campo. */
.ses-smart-toggle{flex:0 0 53px;justify-content:flex-end;gap:0;padding:0 7px 0 0}.ses-smart-toggle span{margin-right:0}
@media(max-width:479px){.ses-smart-toggle{flex-basis:44px;padding:0 5px 0 0;gap:0}.ses-smart-toggle span{margin-right:0}}

/* TD-374: discreet floating status, outside document flow. */
.ses-smart-review{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:10000;width:max-content;max-width:calc(100vw - 32px);margin:0;padding:9px 15px;border-radius:10px;background:rgba(255,255,255,.96);box-shadow:0 2px 12px #002b241c;font-size:13px;line-height:1.4;pointer-events:none}

/* TD-383: grow only the letters, keeping badge geometry unchanged. */
@media(hover:hover){.ses-smart-toggle:hover span{font-size:1.08em}}

/* TD-393: IA dentro del campo de búsqueda de resultados/avanzada. */
.ses-smart-advanced .ses-smart-field{position:relative}
.ses-smart-advanced #bus_manual{padding-right:58px!important}
.ses-smart-advanced .ses-smart-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);height:38px;width:48px;padding:0 4px;background:transparent;z-index:1}
.ses-smart-advanced #bus_manual[data-smart-active="true"]::placeholder{color:#888!important;opacity:1}

body.property #ses-property-detail .ses-smart-toggle{border:0;background:transparent;border-radius:0;padding:0 4px;min-width:0}

/* TD-408: lupa con destellos y etiqueta como único selector. */
.ses-smart-toggle{flex-basis:112px;gap:6px;justify-content:center;padding:0 6px}
.ses-smart-toggle svg{width:22px;height:22px;flex:none}
.ses-smart-toggle span{white-space:nowrap;padding:4px 7px}
.ses-smart-advanced #bus_manual{padding-right:122px!important}
.ses-smart-advanced .ses-smart-toggle{width:112px;gap:6px;justify-content:center}
@media(max-width:479px){
 .ses-smart-toggle{flex-basis:104px;gap:4px;padding:0 4px}
 .ses-smart-toggle svg{width:20px;height:20px}
 .ses-smart-toggle span{padding:3px 6px}
 .ses-smart-advanced #bus_manual{padding-right:114px!important}
 .ses-smart-advanced .ses-smart-toggle{width:104px;gap:4px}
}

/* TD-427: sin selector; el campo recupera su espacio completo. */
.ses-smart-advanced #bus_manual{padding-right:12px!important}
