:root { --ink: #1f1a16; --ink-soft: #50463f; --sand: #f5f1ff; --cream: #ffffff; --sun: #c7b1ff; --plum: #5b3fb3; --ink-10: rgba(31, 26, 22, 0.1); --ink-20: rgba(31, 26, 22, 0.2); --glass: rgba(255, 255, 255, 0.7); --split-bottom-gap: 18px; } * { box-sizing: border-box; } .hidden { display: none !important; } body { margin: 0; font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--sand); min-height: 100vh; position: relative; overflow-x: hidden; } .bg-grid { position: fixed; inset: 0; background: radial-gradient(circle at 25% 15%, #efe7ff 0%, transparent 45%), radial-gradient(circle at 75% 20%, #e9dcff 0%, transparent 40%), linear-gradient(135deg, #fff9f2 0%, #f2e9ff 100%); z-index: -2; } .page { width: min(1440px, 100%); margin: 0 auto; padding: 20px 18px 18px; display: grid; gap: 14px; align-content: start; min-height: 100vh; overflow: hidden; } body.split-active-mode .page { height: 100vh; min-height: 0; grid-template-rows: auto minmax(0, 1fr); align-content: stretch; } .mast { display: flex; align-items: center; justify-content: flex-start; padding-top: 10px; } .brand { display: inline-flex; align-items: center; gap: 12px; } .logo { display: inline-block; width: 42px; height: 42px; border-radius: 12px; object-fit: cover; } .brand-name { font-weight: 700; font-size: 18px; } .minimal { background: var(--sand); } .hero-intro { text-align: center; max-width: 560px; padding: 8px 4px 26px; margin: 0 auto; } .hero-intro h1 { margin: 0 0 12px; font-size: clamp(26px, 3.2vw, 38px); } .hero-intro p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.7; } .workspace { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-height: calc(100vh - 88px); height: auto; align-items: stretch; } .workspace.split-active { min-height: 0; height: 100%; padding-bottom: var(--split-bottom-gap); box-sizing: border-box; } .chat-pane { grid-column: 1 / -1; min-width: 0; width: min(760px, 94vw); margin: 0 auto; display: flex; flex-direction: column; gap: 8px; height: auto; padding-top: 36px; transition: width 0.45s ease, margin 0.45s ease; } .workspace.split-active .chat-pane { grid-column: 1; width: 100%; margin: 0; gap: 0; height: 100%; min-height: 0; padding-top: 0; } .workspace.split-active .hero-intro { display: none; } .chat-shell { width: 100%; background: var(--cream); border-radius: 24px; border: 1px solid var(--ink-10); box-shadow: 0 24px 50px rgba(31, 26, 22, 0.08); padding: 18px; display: flex; flex-direction: column; gap: 14px; min-height: 520px; height: auto; transition: min-height 0.35s ease; max-height: 70vh; } .chat-shell.compact { min-height: 300px; } .workspace.split-active .chat-shell { min-height: 0; height: 100%; max-height: none; overflow: hidden; border-radius: 24px; } .chat-header { display: flex; align-items: center; justify-content: space-between; } .chat-header { min-height: 6px; } .chat-thread { display: flex; flex-direction: column; gap: 12px; overflow-y: auto; scrollbar-gutter: stable; padding-right: 8px; padding-bottom: 18px; flex: 1; max-height: none; } .message { max-width: 80%; padding: 14px 18px; border-radius: 18px; font-size: 14px; line-height: 1.7; box-shadow: 0 12px 24px rgba(31, 26, 22, 0.06); animation: rise 0.4s ease; margin: 0; } .message.bot { align-self: flex-start; background: #fff; border: 1px solid var(--ink-10); } .message.user { align-self: flex-end; background: var(--plum); color: #fff; } .choice-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; } .choice-btn { border: 1px solid var(--ink-20); padding: 8px 14px; border-radius: 999px; background: #fff; cursor: pointer; font-size: 13px; opacity: 0; transform: translateY(6px); animation: choiceIn 0.28s ease forwards; } .choice-btn:hover { background: var(--sun); border-color: var(--sun); } .choice-btn.selected { background: var(--plum); border-color: var(--plum); color: #fff; } .choice-btn-buy-tokens { background: #efe7ff; border-color: #c7b1ff; color: #3f2a82; font-weight: 700; } .choice-btn-buy-tokens::after { content: " 💰"; } .choice-btn-continue { background: var(--plum); border-color: var(--plum); color: #fff; } .choice-btn-continue:disabled { opacity: 0.45; cursor: not-allowed; } .choice-helper { width: 100%; font-size: 11px; color: var(--plum); opacity: 0; transition: opacity 0.2s ease; } .choice-helper.visible { opacity: 0.9; } .chat-input { display: flex; gap: 14px; border-radius: 999px; padding: 12px; border: 1px solid var(--ink-10); background: #fff; } .chat-input input { border: none; flex: 1; font-size: 14px; padding: 10px 14px; font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif; } .chat-input input:focus { outline: none; } .send { border: none; border-radius: 999px; padding: 10px 18px; background: var(--plum); color: #fff; font-weight: 600; cursor: pointer; } .results-pane { min-width: 0; background: rgba(255, 255, 255, 0.82); border: 1px solid var(--ink-10); border-radius: 24px; padding: 0; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; min-height: 0; max-width: 0; opacity: 0; transform: translateX(22px); pointer-events: none; overflow: hidden; border-width: 0; transition: max-width 0.45s ease, opacity 0.35s ease, transform 0.45s ease, padding 0.45s ease, border-width 0.45s ease; } .workspace.split-active .results-pane { max-width: 2000px; opacity: 1; transform: translateX(0); pointer-events: auto; padding: 16px; border-width: 1px; height: 100%; min-height: 0; border-radius: 24px; } .results-head h2 { margin: 0; font-size: 18px; } .results-meta { margin-top: 4px; font-size: 12px; color: var(--ink-soft); } .results-list { overflow-y: auto; display: grid; gap: 10px; padding-right: 4px; } .property-card { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px; background: #fff; border: 1px solid var(--ink-10); border-radius: 14px; padding: 10px; min-height: 116px; cursor: pointer; } .property-thumb { width: 100%; height: 96px; border-radius: 10px; background: linear-gradient(135deg, #efe7ff 0%, #d4c6ff 100%); object-fit: cover; } .property-thumb-fallback { display: grid; place-items: center; font-size: 12px; color: var(--ink-soft); } .property-body { display: grid; gap: 6px; align-content: start; min-width: 0; } .property-price { font-size: 15px; font-weight: 700; color: var(--plum); } .property-meta { font-size: 12px; color: var(--ink-soft); overflow-wrap: anywhere; word-break: break-word; } .property-snippet { margin: 0; font-size: 12px; line-height: 1.45; color: var(--ink-soft); overflow-wrap: anywhere; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .pager { display: flex; align-items: center; justify-content: center; gap: 10px; } .pager-btn { border: 1px solid var(--plum); background: var(--plum); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 12px; cursor: pointer; } .pager-btn:hover:not(:disabled) { filter: brightness(1.08); } .pager-btn:disabled { opacity: 0.4; cursor: not-allowed; } .page-label { font-size: 12px; color: var(--ink-soft); } .property-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; } .property-modal.hidden { display: none; } .property-modal-backdrop { position: absolute; inset: 0; background: rgba(20, 16, 30, 0.5); backdrop-filter: blur(2px); } .property-modal-panel { position: relative; width: min(1100px, 94vw); max-height: 90vh; background: #fff; border: 1px solid var(--ink-10); border-radius: 18px; box-shadow: 0 28px 70px rgba(10, 10, 20, 0.25); padding: 20px; overflow: auto; } .property-modal-close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 1px solid var(--ink-20); border-radius: 999px; background: #fff; cursor: pointer; } .property-modal-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; } .property-modal-image-wrap { position: relative; } .property-modal-image { width: 100%; height: min(58vh, 420px); object-fit: cover; border-radius: 12px; background: linear-gradient(135deg, #efe7ff 0%, #d4c6ff 100%); } .modal-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 999px; background: rgba(30, 20, 45, 0.6); color: #fff; cursor: pointer; } #modal-prev-image { left: 10px; } #modal-next-image { right: 10px; } .modal-image-count { margin-top: 8px; font-size: 12px; color: var(--ink-soft); } .modal-price { font-size: 24px; font-weight: 700; color: var(--plum); } .modal-meta { margin-top: 6px; font-size: 13px; color: var(--ink-soft); } .modal-description { margin: 12px 0 0; font-size: 14px; line-height: 1.55; height: 270px; overflow-y: auto; scrollbar-gutter: stable; padding: 8px 10px; border: 1px solid var(--ink-10); border-radius: 10px; background: #fff; } .modal-description-text { margin: 0; } .modal-features { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; } .modal-feature { border: 1px solid var(--ink-20); border-radius: 999px; padding: 6px 10px; font-size: 12px; background: #fff; } .modal-rightmove-link { margin-top: 16px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--plum); background: var(--plum); color: #fff; text-decoration: none; border-radius: 999px; padding: 10px 14px; font-size: 13px; font-weight: 600; } @keyframes rise { from { transform: translateY(6px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } @keyframes choiceIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } @media (max-width: 900px) { .workspace { grid-template-columns: 1fr; min-height: auto; } .workspace.split-active .chat-pane { grid-column: 1; width: 100%; margin: 0; } .chat-shell { min-height: 420px; } .results-pane { min-height: 520px; } .workspace.split-active .results-pane { max-width: none; } } @media (max-width: 600px) { .chat-shell { min-height: 440px; } .message { max-width: 100%; } .property-card { grid-template-columns: 1fr; } .property-thumb { height: 148px; } .property-modal-grid { grid-template-columns: 1fr; } .property-modal-image { height: 240px; } }