.chat-section{background:#fff;border:1px solid #dee2e6;border-radius:20px;padding:24px;margin-top:40px}.chat-section__title{font-size:24px;font-weight:600;margin-bottom:16px}.chat-section .chat-section__title{font-family:Poppins,sans-serif;font-weight:700;line-height:32px;color:rgb(var(--color-blue-primary));margin-bottom:16px}.chat-section__subtitle{font-size:16px;font-weight:600;margin-bottom:10px;margin-top:4px}.chat-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.chip{font-family:Poppins,sans-serif;font-size:14px;padding:8px 16px;border-radius:30px;border:1px solid rgb(var(--color-blue-primary));background:#fff;color:rgb(var(--color-blue-primary));cursor:pointer;transition:all 0.15s ease}.chip:hover{background:rgb(var(--color-blue-primary));color:#fff}.chip--active{background:rgb(var(--color-blue-primary));color:#fff}.chip--active:hover{background:#fff;color:rgb(var(--color-blue-primary))}.chat-chips .chip{font-size:13.5px;font-weight:500;line-height:1.3;padding:8px 14px;border:1px solid rgba(var(--color-blue-primary),0.16);background:rgba(var(--color-blue-primary),0.06);color:rgb(var(--color-blue-medium));transition:background 0.15s ease,border-color 0.15s ease,color 0.15s ease}.chat-chips .chip:hover:not(:disabled){background:rgba(var(--color-blue-primary),0.12);border-color:rgba(var(--color-blue-primary),0.35);color:rgb(var(--color-blue-medium))}.chat-chips .chip:focus-visible{outline:2px solid rgb(var(--color-blue-primary));outline-offset:2px}.chat-chips .chip:disabled{opacity:0.55;cursor:not-allowed}.chat-gate{border:1px solid rgb(var(--color-grey));border-radius:16px;background:rgba(var(--color-blue-primary),0.04);padding:18px 20px;margin-bottom:16px}.chat-gate__title{font-size:16px;font-weight:600;margin:0 0 6px}.chat-gate__text{font-size:14px;line-height:1.5;margin:0 0 10px}.chat-gate__fine{font-size:13px;line-height:1.5;color:rgb(var(--color-grey-placeholder));margin:0 0 10px}.chat-gate__step{margin-top:4px}.chat-gate__label{display:block;font-size:14px;font-weight:500;margin-bottom:6px}.chat-gate__row{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px}.chat-gate__row + .chat-gate__row{margin-top:8px}.chat-gate__input{font-family:Poppins,sans-serif;font-size:16px;height:40px;padding:7px 16px;border:1.5px solid rgb(var(--color-grey));border-radius:30px;background:#ffffff;color:#000;flex:1 1 220px;max-width:320px}.chat-gate__input:focus{outline:none;border-color:rgb(var(--color-blue-primary));box-shadow:0 0 0 3px rgba(var(--color-blue-primary),0.12)}.chat-gate__input--code{flex:0 0 auto;width:150px;max-width:150px;letter-spacing:0.28em;text-align:center;font-variant-numeric:tabular-nums}.chat-gate__btn{flex:0 0 auto}.chat-gate__btn.is-disabled{opacity:0.5;pointer-events:none}.chat-gate__link{border:0;padding:0;background:none;font-family:Poppins,sans-serif;font-size:14px;color:rgb(var(--color-blue-primary));text-decoration:underline;cursor:pointer}.chat-gate__link:hover{text-decoration:none}.chat-gate__link:disabled{color:rgb(var(--color-grey-placeholder));cursor:default;text-decoration:none}.chat-gate__error{font-size:14px;line-height:1.5;color:rgb(var(--color-red));margin:10px 0 0}.chat-conversation{position:relative;border:1px solid rgb(var(--color-grey));border-radius:16px;margin-bottom:16px;background:#ffffff}.chat-messages{position:relative;padding:20px 20px 4px;overflow-y:auto}.chat-messages--collapsed{max-height:200px}.chat-messages--expanded{max-height:60vh}.chat-expand-btn{position:sticky;top:0;float:right;z-index:2;background:rgba(255,255,255,0.85);backdrop-filter:blur(4px);border:1px solid rgb(var(--color-grey));border-radius:6px;padding:3px 6px;cursor:pointer;color:#666;line-height:0;transition:color 0.15s ease,border-color 0.15s ease}.chat-expand-btn:hover{color:rgb(var(--color-blue-primary));border-color:rgb(var(--color-blue-primary))}.chat-loading-bar{display:flex;align-items:center;gap:10px;padding:12px 20px;border-top:1px solid rgb(var(--color-grey));background:#f8f9fa;font-size:14px;color:#555}.chat-loading__spinner{display:inline-block;width:16px;height:16px;border:2px solid rgb(var(--color-grey));border-top-color:rgb(var(--color-blue-primary));border-radius:50%;animation:spin 0.6s linear infinite;vertical-align:middle;margin-right:8px}.chat-bottom-action{display:flex;justify-content:flex-end}.chat-notice{font-size:14px;color:rgb(var(--color-grey-placeholder));margin-top:8px}.chat-turn + .chat-turn{margin-top:14px}.chat-turn--user{display:flex;justify-content:flex-end}.chat-turn--user .chat-result{max-width:min(85%,480px);padding:10px 14px;border:1px solid rgba(var(--color-blue-primary),0.25);border-radius:14px 14px 4px 14px;background:rgba(var(--color-blue-primary),0.08);color:rgb(var(--color-blue-dark));font-weight:500}.chat-composer{display:flex;align-items:flex-end;gap:10px;padding:14px 14px 14px 20px}.chat-composer__input{flex:1;font-family:Poppins,sans-serif;font-size:14px;line-height:1.5;padding:10px 14px;border:1.5px solid rgb(var(--color-grey));border-radius:12px;background:#ffffff;resize:vertical;min-height:48px;transition:border-color 0.15s ease,box-shadow 0.15s ease}.chat-composer__input:focus{outline:none;border-color:rgb(var(--color-blue-primary));box-shadow:0 0 0 3px rgba(var(--color-blue-primary),0.12)}.chat-composer__input:disabled{background:rgb(var(--color-grey-light));border-color:rgba(var(--color-grey),0.6);color:rgb(var(--color-grey-placeholder))}.chat-composer__send.is-disabled{opacity:0.5;pointer-events:none}.chat-composer__spacer{flex:1}.chat-privacy{font-size:13px;line-height:1.5;color:rgb(var(--color-grey-placeholder));margin-top:10px}.chat-section .chat-conversation{border-color:rgb(var(--color-grey-medium));border-radius:16px;margin-bottom:0;overflow:hidden;transition:border-color 0.15s ease,box-shadow 0.15s ease}.chat-section .chat-conversation:has(.chat-composer__input:focus){border-color:rgb(var(--color-blue-primary));box-shadow:0 0 0 3px rgba(var(--color-blue-primary),0.12)}.chat-section .chat-messages{padding:18px 20px 14px;border-bottom:1px solid rgb(var(--color-grey))}.chat-section .chat-loading-bar{padding:10px 16px;border-top:0;border-bottom:1px solid rgb(var(--color-grey));background:rgb(var(--color-grey-soft));font-size:13px;color:#666}.chat-section .chat-composer{align-items:flex-end;gap:8px;padding:8px 8px 8px 16px;transition:background 0.15s ease}.chat-section .chat-composer:has(.chat-composer__input:disabled){background:rgb(var(--color-grey-soft))}.chat-section .chat-composer__input{font-size:15px;padding:8px 0;border:0;border-radius:0;background:transparent;min-height:44px;max-height:180px;resize:none;field-sizing:content}.chat-section .chat-composer__input::placeholder{color:#8a9296}.chat-section .chat-composer__input:focus,.chat-section .chat-composer__input:focus-visible{outline:none;box-shadow:none}@supports not selector(:has(*)){.chat-section .chat-composer__input:focus-visible{outline:2px solid rgb(var(--color-blue-primary));outline-offset:2px}}.chat-section .chat-composer__input:disabled{background:transparent;cursor:not-allowed}.chat-section .chat-composer__send{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;font-weight:600;line-height:1.3;padding:9px 14px;border-radius:12px}.chat-section .chat-composer__send svg{flex-shrink:0}.chat-section .chat-composer__send.is-disabled{opacity:1;background:rgb(var(--color-grey-light));border-color:rgb(var(--color-grey));color:#9aa3a7}.chat-section .chat-privacy{font-size:12px;color:#666;margin:10px 2px 0}.prose{font-size:15px;line-height:1.6;color:#1a1a18;max-width:720px;overflow-wrap:break-word}.prose p{margin:0 0 12px 0}.prose p:last-child{margin-bottom:0}.prose h1,.prose h2,.prose h3,.prose h4{font-family:'Poppins',sans-serif;color:#1a1a18;line-height:1.3}.prose h1{font-size:22px;font-weight:700;margin-top:28px;margin-bottom:8px}.prose h2{font-size:18px;font-weight:700;margin-top:28px;margin-bottom:8px}.prose h3{font-size:16px;font-weight:600;margin-top:24px;margin-bottom:6px}.prose h4{font-size:15px;font-weight:600;margin-top:20px;margin-bottom:4px}.prose>h1:first-child,.prose>h2:first-child,.prose>h3:first-child,.prose>h4:first-child{margin-top:0}.prose h1 + h2,.prose h1 + h3,.prose h2 + h3,.prose h2 + h4,.prose h3 + h4{margin-top:4px}.prose ul,.prose ol{margin:0 0 12px 0;padding-left:24px}.prose li{margin-bottom:4px;line-height:1.6}.prose li:last-child{margin-bottom:0}.prose li ul,.prose li ol{margin-top:4px;margin-bottom:4px}.prose strong{font-weight:700;color:#1a1a18}.prose em{font-style:italic}.prose a{color:rgb(var(--color-blue-primary));text-decoration:underline;text-decoration-color:rgba(var(--color-blue-primary),0.3)}.prose a:hover{text-decoration-color:rgb(var(--color-blue-primary))}.prose hr{border:none;border-top:1px solid #e8e8e8;margin:28px 0}.prose table{width:100%;border-collapse:collapse;margin:20px 0;font-size:14px;display:block;overflow-x:auto}.prose thead th{background:#f5f5f5;font-weight:600;text-align:left;padding:10px 14px;border-bottom:2px solid #ddd;white-space:nowrap;font-size:13px;color:#333}.prose tbody td{padding:9px 14px;border-bottom:1px solid #eee;vertical-align:top}.prose tbody tr:nth-child(even){background:#fafafa}.prose tbody tr:hover{background:#f0f4ff}.prose blockquote{border-left:3px solid rgb(var(--color-blue-primary));margin:16px 0;padding:10px 18px;background:#f8f9fa;color:#555}.prose blockquote p{margin:0}.prose code{background:#f0f0f0;padding:2px 6px;border-radius:4px;font-size:13px;font-family:'SF Mono','Fira Code',monospace}.prose pre{background:#1e1e1e;color:#d4d4d4;padding:16px;border-radius:8px;overflow-x:auto;margin:16px 0;font-size:13px;line-height:1.5}.prose pre code{background:none;padding:0;color:inherit;font-size:inherit}@media (max-width:768px){.chat-section{padding:16px;border-radius:16px;margin-top:20px}.chat-section__title{font-size:18px}.chat-section .chat-section__title{line-height:1.3;margin-bottom:12px}.chat-section__subtitle{font-size:14px}.chip{font-size:13px;padding:6px 12px}.chat-chips .chip{font-size:13px;padding:7px 12px}.chat-messages,.chat-section .chat-messages{padding:14px}.chat-gate{padding:14px;border-radius:12px}.chat-gate__input{max-width:100%}.prose{font-size:14px}}@media (max-width:560px){.chat-composer{flex-direction:column;align-items:stretch;padding:14px}.chat-composer__send{align-self:flex-end}.chat-section .chat-composer{gap:4px;padding:8px 8px 8px 14px}}