/* Copyright 2026 Adnan Ersoy (ersoyx). Emlakonomi assistant. */
#eko-ai-root{font-family:Arial,Helvetica,sans-serif;color:#35465d}
.eko-ai-launcher{position:fixed;right:28px;bottom:28px;z-index:900;display:flex;align-items:center;gap:11px;min-height:54px;padding:10px 17px 10px 11px;border:1px solid #d8e2ee;border-radius:12px;background:#fff;color:#3d526f;box-shadow:0 5px 24px #263d5c24;font-size:14px;font-weight:600;cursor:pointer}.eko-ai-launcher:hover{border-color:#9bb4d4;box-shadow:0 7px 28px #263d5c30}.eko-ai-mark{position:relative;display:grid;place-items:center;background:#e8effa;color:#496fa3;width:34px;height:34px;border-radius:9px;font-size:16px;font-weight:700;letter-spacing:-.6px}.eko-ai-mark>span{position:absolute;right:-3px;top:-6px;font-size:16px;color:#7794c2}
.eko-ai-dialog{position:fixed;inset:auto 26px 26px auto;margin:0;width:440px;max-width:calc(100vw - 32px);height:650px;max-height:calc(100dvh - 52px);padding:0;border:1px solid #dbe3ee;border-radius:15px;background:#fff;color:#35465d;box-shadow:0 18px 80px #13263e42;overflow:hidden;z-index:2147483000;box-sizing:border-box}.eko-ai-dialog:not([open]){display:none}.eko-ai-dialog[open]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto}.eko-ai-dialog::backdrop{background:#1e2e4545}.eko-ai-dialog.is-expanded{inset:32px 0;margin:0 auto;width:850px;height:calc(100dvh - 64px);max-height:calc(100dvh - 64px)}
.eko-ai-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 12px 13px 17px;border-bottom:1px solid #e2e8f0;background:#f9fbfe;min-width:0}.eko-ai-brand{display:flex;align-items:center;gap:9px;min-width:0}.eko-ai-brand img{width:30px;height:30px;object-fit:contain}.eko-ai-brand strong{font-size:16px;color:#354f70;white-space:nowrap;font-weight:600}.eko-ai-brand strong>span{color:#6385b4}.eko-ai-brand small{display:block;font-size:11px;color:#8a9ab0;line-height:1.5;margin-top:3px}.eko-ai-controls{display:flex;gap:3px;flex-shrink:0}.eko-ai-controls button{width:34px;height:36px;padding:0;border:0;border-radius:6px;color:#8091a9;background:transparent;font:22px/1 Arial,sans-serif;cursor:pointer}.eko-ai-controls button:hover{color:#3c5b84;background:#e9f0fa}.eko-ai-controls [data-ai-close]{font-size:27px}.eko-ai-controls button:disabled{opacity:.45}
.eko-ai-scroll{min-width:0;min-height:0;overflow-y:auto;padding:19px 17px;overscroll-behavior:contain;scrollbar-width:thin;background:#fff}.eko-ai-messages{display:flex;flex-direction:column;gap:15px}.eko-ai-message{max-width:100%;min-width:0;box-sizing:border-box;border:1px solid #e1e8f1;border-radius:4px 12px 12px 12px;background:#f3f6fb;padding:13px 14px;font-size:14px;line-height:1.65;color:#536881;overflow-wrap:anywhere;align-self:flex-start}.eko-ai-message>p{margin:0;white-space:pre-line;font:inherit;line-height:inherit}.eko-ai-message.is-user{margin-left:26px;align-self:flex-end;background:#edf3fb;border-color:#d2dfef;border-radius:12px 4px 12px 12px;color:#395d8c}.eko-ai-message.is-pending{font-size:13px;color:#8496ad}.eko-ai-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}.eko-ai-suggestions[hidden]{display:none}.eko-ai-suggestions button,.eko-ai-more{min-height:36px;padding:8px 10px;border:1px solid #d7e2ef;border-radius:7px;background:#fff;color:#5a78a0;font-size:12px;line-height:1.4;cursor:pointer}.eko-ai-suggestions button:hover,.eko-ai-more:hover{background:#edf3fb}.eko-ai-more{margin-top:12px;width:100%}.eko-ai-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}.eko-ai-chips span{border:1px solid #dce5f0;border-radius:5px;background:#fff;padding:3px 6px;font-size:10px;color:#8091a9}
.eko-ai-cards{display:flex;flex-direction:column;gap:9px;margin-top:13px}.eko-ai-card{display:flex;gap:10px;min-width:0;padding:9px;border:1px solid #dce5ef;border-radius:7px;background:#fff;text-decoration:none!important;color:#415c7b}.eko-ai-card:hover{border-color:#a5bedf;box-shadow:0 3px 9px #34537c0c}.eko-ai-card>img{width:86px;height:72px;flex:0 0 86px;object-fit:cover;border-radius:4px}.eko-ai-card>div{min-width:0;flex:1}.eko-ai-card strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;font-weight:500;line-height:1.5;color:#415c7b}.eko-ai-card b{display:block;color:#287264;font-size:14px;line-height:1.5;margin-top:4px}.eko-ai-card small{display:block;color:#8393a9;font-size:10px;line-height:1.6;margin-top:3px}.eko-ai-links{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.eko-ai-links a{padding:8px 10px;border:1px solid #d6e1ef;border-radius:6px;color:#4b70a0;background:#fff;font-size:12px;text-decoration:none;min-height:36px}
.eko-ai-form{min-width:0;padding:13px 15px 12px;border-top:1px solid #e2e8f0;background:#fff}.eko-ai-compose{display:flex;align-items:flex-end;gap:9px;border:1px solid #cad9eb;border-radius:9px;padding:9px 8px 9px 12px;background:#fff}.eko-ai-compose:focus-within{border-color:#88a7d0;box-shadow:0 0 0 3px #809ec318}.eko-ai-compose textarea{border:0!important;box-shadow:none!important;outline:none!important;resize:none;flex:1;min-width:0;min-height:45px;max-height:110px;padding:2px 0;background:transparent;color:#425d7e;font:14px/1.6 Arial,sans-serif}.eko-ai-compose textarea::placeholder{color:#95a3b6;font-size:12px}.eko-ai-compose button{width:36px;height:36px;padding:0;border:0;border-radius:7px;background:#5779a9;color:#fff;font-size:24px;line-height:1;cursor:pointer;flex-shrink:0}.eko-ai-compose button:disabled{opacity:.4;cursor:wait}.eko-ai-form>p{font-size:10px;color:#9aa7b8;line-height:1.6;margin:8px 1px 0}.eko-ai-dialog button:focus-visible,.eko-ai-launcher:focus-visible,.eko-ai-dialog a:focus-visible{outline:3px solid #89b4ec;outline-offset:2px}
@media(max-width:767px){.eko-ai-launcher{right:14px;bottom:calc(16px + env(safe-area-inset-bottom));min-height:48px;padding:8px 13px 8px 8px;font-size:13px;border-radius:11px;gap:8px}.eko-ai-mark{width:31px;height:31px;font-size:15px}body:has(.mobil_fixed_iletisim) .eko-ai-launcher{bottom:calc(69px + env(safe-area-inset-bottom))}body:has(#eko-ai-root) .fixed-ekle-buton{bottom:calc(86px + env(safe-area-inset-bottom))}body:has(.mobil_fixed_iletisim):has(#eko-ai-root) .fixed-ekle-buton{bottom:calc(140px + env(safe-area-inset-bottom))}.eko-ai-dialog,.eko-ai-dialog.is-expanded{inset:8px;margin:0;width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.eko-ai-head{padding:9px 8px 9px 12px}.eko-ai-brand{gap:6px}.eko-ai-brand img{width:25px;height:25px}.eko-ai-brand strong{font-size:15px}.eko-ai-brand small{font-size:10px}.eko-ai-controls{gap:0}.eko-ai-controls button{width:38px;height:44px}.eko-ai-controls [data-ai-expand]{display:none}.eko-ai-scroll{padding:16px 12px}.eko-ai-message{font-size:14px;padding:12px;line-height:1.65}.eko-ai-suggestions button{min-height:42px;font-size:13px}.eko-ai-form{padding:10px 11px calc(10px + env(safe-area-inset-bottom))}.eko-ai-compose textarea{font-size:16px;line-height:1.5}.eko-ai-compose button{width:42px;height:42px}.eko-ai-form>p{font-size:10px}.eko-ai-card>img{width:76px;height:68px;flex-basis:76px}.eko-ai-card{padding:8px;gap:8px}.eko-ai-card strong{font-size:12px}.eko-ai-card small{font-size:11px}.eko-ai-links a,.eko-ai-more{min-height:42px;font-size:13px}.eko-ai-chips span{font-size:11px}}
