.lex-home .lx-label{font:650 .74rem/1.45 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.13em;color:#49655d;margin:0 0 .7rem}
.lex-home .lx-chat{min-width:0;overflow-wrap:anywhere;align-self:center}
.lex-home .lx-row{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem .85rem}
.lex-home .lx-top{justify-content:space-between;margin:0 0 .9rem}
.lex-home .lx-top .lx-label{margin:0}
.lex-home .lx-chat [data-lx-welcome] h2{margin:0 0 .45rem;color:#11283b;font:500 clamp(2.7rem,4.55vw,4.6rem)/1.06 Georgia,Baskerville,serif;letter-spacing:-.056em}
.lex-home .lx-chat [data-lx-welcome] p{font-size:clamp(1.08rem,1.42vw,1.34rem);line-height:1.42;max-width:32ch;margin:0;color:#314e5a}
.lex-home .lx-chat button,.lex-home .lx-config{font:600 .88rem/1.35 system-ui,sans-serif;color:#174853;text-transform:none;letter-spacing:normal;padding:.3rem .1rem;min-height:40px;background:none;border:0;text-decoration:underline;text-underline-offset:.2em;white-space:normal;box-shadow:none;cursor:pointer}
.lex-home .lx-chat button:hover,.lex-home .lx-config:hover{color:#125c54}
.lex-home .lx-chat button.lx-primary,.lex-home .lx-chat button[data-lx-end]{display:inline-flex;align-items:center;justify-content:center;gap:.7rem;color:#fff!important;background:#14394b!important;padding:.84rem 1.38rem;border-radius:2.6rem;min-height:48px;font-size:1rem;text-decoration:none}
.lex-home .lx-chat button.lx-primary:enabled:hover{background:#215869!important}
.lex-home .lx-chat button[data-lx-end]{background:#803833!important}
.lex-home .lx-chat button:disabled{opacity:.62;cursor:default}
.lex-home .lx-voice{margin:1.2rem 0 1rem}
.lex-home [data-lx-state]{color:#385761;font-size:.91rem;max-width:100%;line-height:1.42}
.lex-home [data-lx-state][data-error]{color:#913b30;font-weight:600}
.lex-home .lx-chat [data-lx-form]{display:flex;gap:.55rem;align-items:end;border:1px solid #9db1b3;background:#fff;border-radius:1rem;margin:0;padding:.53rem}
.lex-home .lx-chat [data-lx-form]:focus-within{outline:2px solid #9e7637;outline-offset:2px}
.lex-home .lx-chat [data-lx-question]{flex:1;min-width:0;align-self:center;height:auto;min-height:50px;max-height:10rem;resize:vertical;box-shadow:none;outline:0;border:0;margin:0;padding:.38rem;background:transparent;color:#153447;font:400 1rem/1.42 system-ui,sans-serif;letter-spacing:normal}
.lex-home [data-lx-question]::placeholder{color:#61707a}
.lex-home .lx-chat button[data-lx-send]{font-size:.94rem;min-height:44px;border-radius:.67rem;padding:.72rem 1.16rem}
.lex-home .lx-chat .lx-disclosure,.lex-home .lx-offline{font:400 .83rem/1.5 system-ui,sans-serif;color:#4c616b;margin:.85rem 0 0}
.lex-home .lx-chat a{color:#18545a;font-weight:580;text-decoration:underline;text-underline-offset:.16em}
.lex-home .lx-chat [data-lx-log]{overflow:auto;overscroll-behavior:contain;max-height:min(47vh,30rem);scrollbar-width:thin;padding:0 .4rem .2rem 0}
.lex-home .lx-message{padding:.6rem 0 1rem;line-height:1.5;color:#173440;font-size:1.03rem}
.lex-home .lx-message p{white-space:pre-wrap;font:inherit;color:inherit;margin:.16rem 0 0}
.lex-home .lx-message strong{font:600 .75rem/1.4 system-ui,sans-serif;letter-spacing:.09em;color:#436260;text-transform:uppercase}
.lex-home .lx-message.lx-user{padding:.7rem 1.05rem .85rem;background:#e6eeea;border-radius:.92rem .92rem .12rem .92rem;margin:0 0 .35rem auto;max-width:90%;width:fit-content;min-width:6rem}
.lex-home .lx-message a{display:block;font-size:.87rem;margin-top:.55rem}
.lex-home .lx-chat button.lx-open{display:block;margin-top:.4rem}
.lex-home .lx-utilities{justify-content:space-between}
.lex-home .lx-guide{grid-column:1/-1;margin:0;color:#f9f6ef;min-width:0}
.lex-home .lx-guide>summary{cursor:pointer;padding:.6rem 0 .8rem;color:inherit;font-weight:550}
.lex-home .lx-guide .lex-home__panel{margin-top:.55rem}
.lex-home .lx-guide .lex-home__panel .lex-home__greeting strong{font-size:2rem}
.lex-home .lx-chat[data-phase="listening"] [data-lx-state]::before{content:"";display:inline-block;background:#1d7564;border:3px solid #c4e6dc;width:8px;height:8px;border-radius:50%;margin-right:.46rem}
@media(max-width:760px){
.lex-home[data-lex-edition]{grid-template-columns:minmax(0,1fr);gap:1.1rem;padding:1.05rem}
.lex-home[data-lex-edition] .lex-home__intro{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap}
.lex-home[data-lex-edition] .lex-home__signature{font-size:3.15rem;margin:0 .3rem 0 0}
.lex-home[data-lex-edition] .lex-home__intro h1{font-size:1.32rem;max-width:14ch}
.lex-home[data-lex-edition] .lex-home__my-dashboard{margin:0 0 0 auto}
.lex-home .lx-chat{padding:1.15rem}
.lex-home .lx-chat [data-lx-form]{flex-wrap:wrap}
.lex-home .lx-chat [data-lx-question]{flex-basis:8rem;font-size:1rem}
.lex-home .lx-chat button[data-lx-send]{margin-inline-start:auto;padding:.6rem .8rem}
.lex-home .lx-row{gap:.35rem .75rem}
}
/* Give the conversation room to breathe in block themes with narrow article columns. */
.wp-block-post-content.is-layout-constrained>.lex-home[data-lex-edition]{width:100%;max-width:1280px;margin-inline:auto}
.lex-home[data-lex-edition]{padding:clamp(1.2rem,3.35vw,3.7rem);gap:clamp(1rem,2.4vw,2.25rem);container:lexsection / inline-size}
@container lexsection (max-width:740px){
  .lex-home[data-lex-edition]>.lex-home__intro,.lex-home[data-lex-edition]>.lex-home__panel{grid-column:1/-1}
  .lex-home[data-lex-edition]>.lex-home__intro{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap}
  .lex-home[data-lex-edition] .lex-home__signature{font-size:3.15rem;margin:0 .3rem 0 0}
  .lex-home[data-lex-edition] .lex-home__intro h1{font-size:1.32rem;max-width:14ch}
  .lex-home[data-lex-edition] .lex-home__my-dashboard{margin:0 0 0 auto}
  .lex-home .lx-chat [data-lx-welcome] h2{font-size:clamp(2.15rem,10cqw,3rem)}
}
.lex-home .lx-references{grid-column:1/-1;min-width:0;color:#fffdf7;margin:0}
.lex-home .lx-references>summary{cursor:pointer;padding:.55rem 0;color:inherit;font-weight:550}
.lex-home .lx-ref-body{color:#183a45;background:#fcfaf5;border-radius:.85rem;padding:clamp(1rem,2vw,2rem);margin-top:.7rem}
.lex-home .lx-ref-body label,.lex-home .lx-draft summary{font-weight:600;cursor:pointer}
.lex-home .lx-ref-body input,.lex-home .lx-draft textarea{display:block;width:100%;max-width:100%;background:#fff;color:#173748;font:400 1rem/1.5 system-ui,sans-serif;border:1px solid #9db1b3;border-radius:.5rem;padding:.65rem;margin:.5rem 0}
.lex-home .lx-ref-body ul{list-style:none;margin:0;padding:0;max-height:22rem;overflow:auto}
.lex-home .lx-ref-body li{display:block;padding:.7rem 0;margin:0;border-top:1px solid #c9d5d2;overflow-wrap:anywhere}
.lex-home .lx-ref-body li small,.lex-home .lx-ref-body p,.lex-home .lx-draft p{display:block;font-size:.87rem;line-height:1.5;color:#445f65;margin:.25rem 0 .6rem}
.lex-home .lx-ref-body li a{color:#135264;line-height:1.38;text-decoration:underline;text-underline-offset:.18em}
.lex-home .lx-draft{color:#183a45;margin:1rem 0 0;font-size:.93rem}

.lex-home [data-lex-written-only]{container:lexwritten / inline-size;overflow-wrap:anywhere}
.lex-home [data-lex-written-only] .lex-home__welcome:has([data-lex-opening][hidden]):has([data-lex-status]:empty):has([data-lex-stop][hidden]){margin:0}
.lex-home [data-lex-written-only] [data-lex-conversation-title]{margin-top:0}
.lex-home [data-lex-written-only] :is(.lex-home__starts,.lex-home__follow,.lex-home__topic-list) button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
@container lexsection (max-width:395px){
 .lex-home[data-lex-edition]>.lex-home__intro{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:.65rem;row-gap:0}
 .lex-home[data-lex-edition] .lex-home__intro h1{font-size:clamp(1rem,6.5cqw,1.25rem);margin:0}
 .lex-home[data-lex-edition] .lex-home__my-dashboard{grid-column:2;min-height:34px;font-size:.89rem;margin:0;justify-self:start}
 .lex-home[data-lex-edition] .lex-home__signature{grid-row:1 / span 2;font-size:clamp(2.45rem,15cqw,3.35rem)}
 .lex-home[data-lex-edition]>.lex-home__panel{padding:clamp(.82rem,4.8cqw,1.2rem)}
}
@container lexwritten (max-width:360px){
 .lex-home [data-lex-written-only] .lex-home__greeting strong{font-size:clamp(1.85rem,12cqw,2.5rem);letter-spacing:-.045em}
 .lex-home [data-lex-written-only] .lex-home__greeting{font-size:1rem;line-height:1.42}
 .lex-home [data-lex-written-only] .lex-home__starts button{width:100%;min-height:42px;text-align:center}
 .lex-home [data-lex-written-only] .lex-home__compose input{padding-inline:.35rem}
 .lex-home [data-lex-written-only] .lex-home__compose button[data-lex-send]{padding-inline:.7rem}
}
@container lexwritten (max-width:211px){
 .lex-home [data-lex-written-only] .lex-home__compose{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
}
