:root{color:#16211b;font-synthesis:none;text-rendering:optimizelegibility;--ink:#16211b;--muted:#667068;--line:#dce2dc;--surface:#fff;--surface-soft:#f7f9f6;--green:#155f45;--green-dark:#0e4833;--green-soft:#e4f1eb;--amber:#996214;--red:#a33c35;--shadow:0 16px 45px #1e372914;background:#f3f5f1;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.button{cursor:pointer;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;min-height:44px;padding:.72rem 1rem;font-weight:750;text-decoration:none;transition:background-color .12s,border-color .12s;display:inline-flex}.button:disabled{cursor:wait;opacity:.65}.button-primary{background:var(--green);color:#fff}.button-primary:hover{background:var(--green-dark)}.button-secondary{color:var(--green-dark);background:#fff;border-color:#b9c8be}.button-secondary:hover{border-color:var(--green);background:var(--green-soft)}.button-ghost{border-color:var(--line);color:var(--ink);background:0 0}.eyebrow{color:var(--green);letter-spacing:.11em;text-transform:uppercase;margin:0 0 .35rem;font-size:.74rem;font-weight:850}.auth-page,.loading-screen,.config-error{background:radial-gradient(circle at 100% 0,#478b6938,#0000 38%),linear-gradient(145deg,#eef3ed,#f9faf8 58%,#edf2ec);place-items:center;min-height:100vh;padding:1.25rem;display:grid}.loading-screen{color:var(--muted);font-weight:700}.config-error{text-align:center;align-content:center}.config-error h1{margin-bottom:.5rem}.config-error p{color:var(--muted)}.auth-card{width:min(100%,430px);box-shadow:var(--shadow);background:#fffffff0;border:1px solid #d8e1dae6;border-radius:24px;padding:2rem 1.35rem}.brand-mark{background:var(--green);color:#fff;letter-spacing:-.04em;border-radius:16px;place-items:center;width:52px;height:52px;margin-bottom:1.5rem;font-weight:900;display:grid}.auth-card h1{margin:0;font-size:clamp(1.8rem,8vw,2.35rem);line-height:1.06}.auth-intro{color:var(--muted);line-height:1.55}.auth-form{gap:1rem;margin-top:1.65rem;display:grid}.auth-form label,.search-form label{gap:.45rem;font-size:.86rem;font-weight:750;display:grid}input,select{width:100%;min-height:48px;color:var(--ink);background:#fff;border:1px solid #cbd4cc;border-radius:11px;outline:none;padding:.72rem .8rem}input:focus,select:focus{border-color:var(--green);box-shadow:0 0 0 3px #155f451f}.privacy-note{color:var(--muted);text-align:center;margin:1.2rem 0 0;font-size:.77rem}.form-error{color:var(--red);margin:0;font-size:.86rem;font-weight:700}.app-shell{min-height:100vh}.app-header{border-bottom:1px solid var(--line);background:#ffffffeb;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem;display:flex}.app-header h1{margin:0;font-size:1.15rem}.account-actions{flex-direction:column;align-items:flex-end;gap:.4rem;display:flex}.account-actions span{text-overflow:ellipsis;white-space:nowrap;max-width:150px;color:var(--muted);font-size:.72rem;overflow:hidden}.account-actions .button{min-height:40px;padding:.55rem .75rem;font-size:.8rem}.main-content{gap:1rem;width:min(100%,1180px);margin:0 auto;padding:1rem;display:grid}.search-panel,.sources-section,.inmuebles24-panel,.results-section{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:1rem;box-shadow:0 8px 30px #1e372909}.section-heading h2,.results-heading h2,.inmuebles24-panel h2{margin:0;font-size:1.35rem}.section-heading{margin-bottom:1rem}.section-heading.compact{margin-bottom:.8rem}.search-form{gap:.9rem;display:grid}.price-input{border:1px solid #cbd4cc;border-radius:11px;grid-template-columns:auto 1fr;align-items:center;display:grid;overflow:hidden}.price-input:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #155f451f}.price-input span{color:var(--muted);padding-left:.8rem;font-size:.8rem;font-weight:800}.price-input input{box-shadow:none;border:0}.search-submit{width:100%}.source-grid{gap:.65rem;display:grid}.source-status{background:var(--surface-soft);border:1px solid #e5eae5;border-radius:13px;align-items:flex-start;gap:.75rem;min-height:78px;padding:.85rem;display:flex}.source-status strong{font-size:.94rem}.source-status p{color:var(--muted);margin:.25rem 0 0;font-size:.82rem;line-height:1.35}.status-dot{background:#a8b0aa;border-radius:50%;flex:none;width:10px;height:10px;margin-top:.33rem}.tone-success{background:#f0f8f4;border-color:#cce4d7}.tone-success .status-dot{background:#25845f}.tone-loading .status-dot{background:#3f7bca;box-shadow:0 0 0 5px #e5effc}.tone-warning,.tone-assisted{background:#fffaf0;border-color:#f0dfbb}.tone-warning .status-dot,.tone-assisted .status-dot{background:var(--amber)}.inmuebles24-panel{background:#fffdf8;gap:.9rem;display:grid}.inmuebles24-panel p{color:var(--muted);margin:.5rem 0 0;line-height:1.5}.inmuebles24-panel ol{color:var(--muted);margin:0;padding-left:1.3rem;font-size:.88rem;line-height:1.75}.assisted-hint{font-size:.82rem}.results-heading{justify-content:space-between;align-items:center;display:flex}.result-total{background:var(--green-soft);min-width:42px;height:42px;color:var(--green-dark);border-radius:13px;place-items:center;padding:0 .6rem;font-weight:900;display:grid}.result-filters{gap:.45rem;margin:1rem -.2rem;padding:.2rem;display:flex;overflow-x:auto}.result-filters button{border:1px solid var(--line);min-height:42px;color:var(--muted);cursor:pointer;background:#fff;border-radius:999px;flex:none;padding:.55rem .85rem;font-weight:750}.result-filters button.active{background:var(--green);border-color:var(--green);color:#fff}.listing-grid{gap:.8rem;display:grid}.listing-card{border:1px solid var(--line);background:#fff;border-radius:15px;flex-direction:column;min-height:220px;padding:1rem;display:flex}.listing-card h3{margin:.75rem 0 .4rem;font-size:1rem;line-height:1.4}.listing-card .button{margin-top:auto}.source-badge{letter-spacing:.04em;text-transform:uppercase;border-radius:999px;align-self:flex-start;padding:.3rem .55rem;font-size:.7rem;font-weight:900}.source-remax{color:#214b89;background:#e7eefb}.source-century21{color:#735c24;background:#f2ede1}.listing-price{color:var(--green-dark);margin:0 0 1rem;font-size:1.25rem;font-weight:900}.empty-state{text-align:center;background:var(--surface-soft);border:1px dashed #cbd4cc;border-radius:15px;padding:2.4rem 1rem}.empty-state span{color:#8ba294;font-size:2rem;display:block}.empty-state h3{margin:.6rem 0 .35rem}.empty-state p{color:var(--muted);margin:0;font-size:.88rem;line-height:1.5}@media (width>=680px){.app-header{align-items:center;padding:1rem 1.5rem}.app-header h1{font-size:1.35rem}.account-actions{flex-direction:row;align-items:center}.account-actions span{max-width:240px}.main-content{gap:1.25rem;padding:1.5rem}.search-panel,.sources-section,.inmuebles24-panel,.results-section{padding:1.35rem}.search-form{grid-template-columns:repeat(2,minmax(0,1fr))}.field-location,.form-error-wide,.search-submit{grid-column:1/-1}.source-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inmuebles24-panel{grid-template-columns:1.5fr 1fr;align-items:center}.inmuebles24-panel .button,.inmuebles24-panel .assisted-hint{grid-column:1/-1}}@media (width>=1020px){.search-form{grid-template-columns:.75fr 1fr 1.5fr 1fr auto;align-items:end}.field-location,.search-submit{grid-column:auto}.search-submit{white-space:nowrap;width:auto}.form-error-wide{grid-column:1/-1}.listing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-header{z-index:10;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);flex-wrap:wrap;align-items:center;padding:.75rem 1rem;position:sticky;top:0}.brand-button{color:var(--ink);cursor:pointer;background:0 0;border:0;align-items:center;gap:.6rem;padding:0;font-weight:900;display:flex}.brand-mini{background:var(--green);color:#fff;border-radius:11px;place-items:center;width:36px;height:36px;font-size:.78rem;display:grid}.app-header nav{order:3;gap:.25rem;width:100%;padding-top:.65rem;display:flex;overflow-x:auto}.app-header nav button{min-height:38px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;padding:.5rem .72rem;font-size:.82rem;font-weight:800}.app-header nav button.active{background:var(--green-soft);color:var(--green-dark)}.app-header nav button.secondary-nav{border-left:1px solid var(--line);border-radius:0 10px 10px 0}.assistant-page,.collection-page{width:min(100%,1040px);margin:0 auto;padding:2.5rem 1rem 8rem}.assistant-hero{text-align:center;max-width:760px;margin:0 auto 2rem}.assistant-hero h1,.page-heading h1{color:#10271d;letter-spacing:-.045em;margin:0;font-size:clamp(2rem,7vw,4rem);line-height:1.02}.assistant-hero>p:not(.eyebrow),.page-heading>p:not(.eyebrow){color:var(--muted);line-height:1.6}.prompt-examples{flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:1.25rem;display:flex}.prompt-examples span{border:1px solid var(--line);color:var(--muted);background:#ffffffb8;border-radius:999px;padding:.5rem .7rem;font-size:.78rem}.conversation{gap:1.2rem;margin-bottom:1.25rem;display:grid}.conversation-turn{gap:.7rem;display:grid}.message{border-radius:18px;line-height:1.55}.message>p,.assistant-response>p{margin:0}.message-user{background:var(--green);color:#fff;border-bottom-right-radius:5px;justify-self:end;max-width:min(86%,650px);padding:.8rem 1rem}.message-assistant{background:var(--surface);border:1px solid var(--line);border-bottom-left-radius:5px;width:100%;padding:1rem;box-shadow:0 10px 28px #1e37290d}.message-error{color:var(--red)}.assistant-source-row{flex-wrap:wrap;gap:.5rem;margin-top:.9rem;display:flex}.source-pill{background:var(--surface-soft);border:1px solid var(--line);color:var(--muted);border-radius:999px;padding:.42rem .62rem;font-size:.76rem}.source-pill.status-success{color:var(--green-dark);background:#edf8f2;border-color:#c9e4d5}.source-pill.status-error,.source-pill.status-blocked,.source-pill.status-partial{color:#7c5316;background:#fff8eb;border-color:#ecd7ad}.assistant-listings{margin-top:1rem}.i24-inline{background:#fffaf0;border:1px solid #eddeb9;border-radius:14px;gap:.8rem;margin-top:1rem;padding:.9rem;display:grid}.i24-inline p{color:var(--muted);margin:.25rem 0 0;font-size:.84rem}.assistant-composer{z-index:9;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff5;border:1px solid #cdd8d0;border-radius:19px;grid-template-columns:1fr;gap:.65rem;width:min(100% - 1.25rem,920px);padding:.7rem;display:grid;position:fixed;bottom:.8rem;left:50%;transform:translate(-50%);box-shadow:0 18px 55px #1a3a2933}.assistant-composer textarea{resize:vertical;width:100%;min-height:68px;color:var(--ink);background:0 0;border:0;outline:0;padding:.65rem;line-height:1.45}.assistant-composer textarea::placeholder{color:#87938b}.page-heading{margin-bottom:1.5rem}.page-heading h1{font-size:clamp(2rem,6vw,3.2rem)}.collection-page .listing-grid{align-items:stretch}.history-list{gap:.8rem;display:grid}.history-card{border:1px solid var(--line);background:#fff;border-radius:16px;gap:.8rem;padding:1rem;display:grid}.history-card h2{margin:.2rem 0 0;font-size:1rem;line-height:1.4}.history-date{color:var(--muted);margin:0;font-size:.75rem}.history-count{color:var(--green-dark)}.history-sources{flex-wrap:wrap;gap:.4rem;display:flex}.history-sources span{background:var(--surface-soft);color:var(--muted);border-radius:8px;padding:.35rem .5rem;font-size:.74rem}.advanced-page{padding-top:2rem}.advanced-page .search-panel h1{margin:0;font-size:clamp(1.7rem,5vw,2.5rem)}@media (width>=720px){.app-header{flex-wrap:nowrap;padding:.75rem 1.5rem}.app-header nav{order:initial;width:auto;padding-top:0}.assistant-page,.collection-page{padding:4rem 1.5rem 9rem}.assistant-composer{grid-template-columns:1fr auto;align-items:end}.assistant-composer .button{min-width:175px}.i24-inline{grid-template-columns:1fr auto;align-items:center}.history-card{grid-template-columns:1fr auto;align-items:start;padding:1.2rem}.history-sources{grid-column:1/-1}}@media (width<=520px){.brand-button>span:last-child,.account-actions>span{display:none}.account-actions .button{min-height:36px}}
