html:has(.folio-chat),html body:has(.folio-chat){overflow:hidden}html body:has(.folio-chat){background:transparent}html body:has(.folio-chat){padding:0}body:has(.folio-chat)>footer{display:none}body:has(.folio-chat)>main{max-width:none;margin:0;padding:0}.folio-chat{--chat-card: var(--site-card, #fffdf9);--chat-control: var(--site-control, #fffefb);--chat-fill: var(--site-fill, #f2ecf7);--chat-accent: var(--site-accent, #7150a1);--chat-primary: #7150a1;position:relative;top:var(--chat-top-offset, 0px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:var(--chat-viewport, 100dvh);width:100%;padding-bottom:env(safe-area-inset-bottom);color:var(--ink);background:transparent;font:15px/1.6 var(--font-ui)}.folio-chat [hidden]{display:none!important}.folio-chat :is(a,button,textarea,select,summary):focus-visible{outline:3px solid var(--chat-accent);outline-offset:4px}.folio-chat :is(button,textarea){font:inherit}.folio-chat button{cursor:pointer}.folio-chat button:disabled{cursor:default;opacity:.55}.folio-chat svg{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.folio-chat :is(.chat-sr-only,.sr-only){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.chat-icon-action{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:8px;border:1px solid var(--rule);border-radius:14px;color:var(--ink);background:var(--chat-fill)}.chat-voice{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:10px;border:0;border-radius:50%;color:var(--ink);background:transparent}.chat-voice .chat-voice-end,.chat-voice[aria-pressed=true] .chat-voice-mic{display:none}.chat-voice[aria-pressed=true] .chat-voice-end{display:block}.chat-voice[aria-pressed=true]{background:var(--chat-primary);color:#fff;border-color:var(--chat-primary)}.chat-voice:hover,.chat-icon-action:hover{border-color:var(--chat-accent)}.chat-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-padding-block:20px}.chat-scroll:focus{outline:none}.chat-content{width:min(100%,800px);padding:40px 24px 28px;margin:0 auto}.chat-welcome{position:relative;padding:28px;border-radius:28px;background:var(--chat-fill);border:1px solid var(--rule)}.chat-eyebrow{margin:0 100px 12px 0;font-size:12px;color:var(--chat-accent)}.chat-welcome h1{max-width:calc(100% - 100px);font-size:clamp(28px,4vw,42px);font-weight:600;line-height:1.12;letter-spacing:-.022em;margin:0 0 16px;text-wrap:pretty}.chat-welcome-copy{max-width:48ch;margin:0;color:var(--muted);font-size:14px;line-height:1.65}.chat-copy-mobile{display:none}.chat-welcome-image{position:absolute;right:26px;top:25px;display:grid;place-items:center;width:78px;height:112px;transform:rotate(8deg)}.chat-welcome-image img{display:block;width:60px;height:90px;object-fit:contain;border-radius:20px}.chat-prompts{margin:26px 0 0}.chat-prompts h2{font-size:16px;line-height:1.4;font-weight:600;margin:0 0 14px}.chat-prompt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.chat-prompt{display:flex;align-items:center;gap:12px;text-align:left;min-height:88px;padding:18px;border:1px solid var(--rule);border-radius:22px;background:var(--chat-card);color:var(--ink)}.chat-prompt>svg{color:var(--chat-accent)}.chat-prompt>span:not(.chat-prompt-arrow){min-width:0;flex:1}.chat-prompt strong{display:block;font-size:14px;font-weight:500;line-height:1.4}.chat-prompt small{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.4}.chat-prompt-arrow{color:var(--chat-accent);font-size:18px}.chat-prompt:hover{background:var(--chat-fill);border-color:var(--chat-accent)}.chat-messages{display:grid;gap:18px;margin-top:28px}.chat-messages:empty{margin:0}.folio-chat[data-started=true] .chat-prompts,.folio-chat[data-started=true] .chat-welcome{display:none}.folio-chat[data-started=true] .chat-messages{margin-top:0}.folio-chat[data-started=true] .chat-content{padding-block:20px}.chat-message{min-width:0;max-width:92%;padding:18px 20px;border:1px solid var(--rule);border-radius:24px 24px 24px 7px;background:var(--chat-card);overflow-wrap:anywhere}.chat-message--user{justify-self:end;background:var(--chat-primary);color:#fff;border-color:var(--chat-primary);border-radius:24px 24px 7px}.chat-message__label{display:block;margin:0 0 8px;color:var(--chat-accent);font-size:var(--type-caption);line-height:1.4;font-weight:500}.chat-message--user .chat-message__label{color:#eee2fc}.chat-message__content{margin:0;white-space:pre-wrap;line-height:1.65}.chat-message--error{background:var(--chat-fill);border-color:var(--chat-accent)}.chat-message--assistant[aria-busy=true] .chat-message__label:after{content:" ···"}.chat-sources{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.chat-sources summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:4px 0;color:var(--chat-accent);font-size:12px;cursor:pointer}.chat-sources summary:after{content:"⌄";font-size:18px;line-height:1}.chat-sources[open] summary{flex-basis:100%}.chat-sources[open] summary:after{transform:rotate(180deg)}.chat-retry{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;margin-top:12px;border:1px solid var(--chat-accent);border-radius:14px;background:var(--chat-fill);color:var(--chat-accent);font-size:13px!important}.chat-source{display:inline-flex;align-items:center;min-height:44px;max-width:100%;color:var(--chat-accent);font-size:12px;text-decoration-thickness:1px}.chat-oil-cards{display:grid;gap:6px;margin-top:8px}.chat-oil-cards>.chat-message__label{margin:0}.chat-oil-card{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--rule);border-radius:16px;background:var(--chat-fill)}.chat-oil-card:not(:has(img)){grid-template-columns:minmax(0,1fr)}.chat-oil-card img{display:block;width:36px;height:52px;object-fit:contain;background:transparent}.chat-oil-card>div{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px;align-items:center;min-width:0}.chat-oil-card h3{grid-column:1;margin:0;font-size:15px;line-height:1.2}.chat-oil-card h3 a{display:flex;align-items:center;min-height:44px;color:var(--ink);font-size:inherit;text-decoration:none}.chat-oil-card h3 a:hover{text-decoration:underline}.chat-oil-card p{grid-column:1;font-size:var(--type-caption);color:var(--muted);margin:0;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-oil-card .chat-image-note{grid-column:1 / -1;margin-top:4px;white-space:normal}.chat-oil-card button{grid-column:2;grid-row:1 / 3;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 10px;border:1px solid transparent;border-radius:12px;background:var(--chat-primary);color:#fff;font-size:12px}.chat-nojs{margin:20px 0;color:var(--muted)}.chat-composer{position:relative;z-index:10;padding:8px 24px;border-top:1px solid var(--rule);background:var(--page-bottom)}.chat-composer-inner{max-width:752px;margin:auto}.chat-voice-status{position:absolute;bottom:calc(100% + 4px);left:16px;max-width:calc(100% - 32px);margin:0;padding:4px 8px;border:1px solid var(--rule);border-radius:10px;background:var(--paper);font-size:var(--type-caption);color:var(--chat-accent)}.chat-voice-status:empty{display:none}.folio-chat[data-voice-state=idle] .chat-voice-status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.chat-form{display:flex;align-items:flex-end;gap:6px;padding:4px;border:1px solid var(--site-control-border, #d9cee6);border-radius:20px;background:var(--chat-control)}.chat-form:focus-within{border-color:var(--chat-accent)}.folio-chat .chat-form textarea{flex:1;min-width:0;width:100%;height:44px;min-height:44px;max-height:min(100px,24dvh);margin:0;padding:10px 4px;border:0;border-radius:12px;outline:none;resize:none;background:transparent;color:var(--ink);font-size:16px;line-height:1.45;caret-color:var(--chat-accent)}.chat-form textarea::placeholder{color:var(--muted);opacity:1}.folio-chat .chat-form textarea:focus-visible{outline:2px solid var(--chat-accent);outline-offset:0}.chat-send{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:0;border-radius:14px;background:var(--chat-primary);color:#fff}.folio-chat[data-busy=true] .chat-send,.folio-chat[data-voice-state=speaking] .chat-send{display:none}.folio-chat[data-voice-state=thinking] .chat-stop{display:none!important}.chat-info{flex:0 0 44px}.chat-info summary{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;color:var(--muted);cursor:pointer;list-style:none}.chat-info summary::-webkit-details-marker{display:none}.chat-info[open] summary{background:var(--chat-fill);color:var(--chat-accent)}.chat-info-panel{position:absolute;z-index:3;left:max(12px,calc((100% - 752px)/2));right:max(12px,calc((100% - 752px)/2));bottom:calc(100% + 8px);max-height:min(360px,50dvh);overflow-y:auto;overscroll-behavior:contain;padding:18px;border:1px solid var(--rule);border-radius:20px;background:var(--chat-card);color:var(--ink);box-shadow:0 12px 36px #30274326}.chat-info-panel h2{margin:0 0 10px;font-size:15px;line-height:1.4}.chat-info-panel p{margin:8px 0;font-size:12px;line-height:1.6}.chat-info-panel footer{margin-top:12px;padding:8px 0 0;border-top:1px solid var(--rule);color:var(--muted)}.chat-info-panel footer p{font-size:12px;line-height:1.6}.chat-send:hover,.chat-oil-card button:hover{background:#533477}@media(prefers-reduced-motion:no-preference){.chat-welcome,.chat-prompts{animation:chat-enter .35s ease both}.chat-prompts{animation-delay:.06s}.chat-message{animation:chat-enter .2s ease both}.chat-prompt,.chat-send,.chat-voice{transition:background-color .18s ease,border-color .18s ease}@keyframes chat-enter{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}}@media(max-width:600px){.chat-voice{width:44px;height:44px;padding:8px}.chat-voice [data-chat-voice-label]{display:none}.chat-content{padding:20px 16px}.chat-welcome{padding:18px 20px;border-radius:24px}.chat-welcome h1{max-width:calc(100% - 70px);font-size:28px}.chat-eyebrow{max-width:calc(100% - 70px);margin-right:0;font-size:var(--type-caption)}.chat-welcome-image{right:16px;top:22px;width:56px;height:88px}.chat-welcome-image img{width:46px;height:70px}.chat-welcome-copy{font-size:13px;line-height:1.6}.chat-copy-wide{display:none}.chat-copy-mobile{display:inline}.chat-prompts{margin-top:20px}.chat-prompts h2{font-size:14px;margin-bottom:12px}.chat-prompt-grid{gap:9px}.chat-prompt{display:block;min-height:100px;padding:12px;border-radius:20px}.chat-prompt>svg{width:20px;height:20px;margin-bottom:4px}.chat-prompt strong{font-size:13px}.chat-prompt small{font-size:var(--type-caption)}.chat-prompt-arrow{display:none}.chat-messages{gap:14px;margin-top:20px}.chat-message{max-width:94%;padding:16px;font-size:15px}.chat-composer{padding:8px 12px}}@media(max-width:760px){.folio-chat{padding-bottom:calc(86px + env(safe-area-inset-bottom))}}@media(max-width:359px){.chat-content{padding-top:16px}.chat-welcome{padding-block:16px}.chat-welcome h1{margin-bottom:12px}.chat-prompts{margin-top:16px}.chat-oil-card [data-chat-add]{width:44px;padding-inline:0}.chat-oil-card [data-chat-add]:not(:disabled){font-size:0}.chat-oil-card [data-chat-add]:not(:disabled):before{content:"+";font-size:22px;line-height:1}}@media(max-height:640px)and (max-width:600px){.chat-content{padding-top:14px}.chat-welcome{padding:18px}.chat-welcome h1{font-size:25px;margin-bottom:10px}.chat-prompt{min-height:98px}.chat-composer{padding-top:6px}}
