/* Dedicated full-screen chat layout for /expert/ only. Popup stays unchanged. */
html:has(body.e-fullchat){height:100%;overflow:hidden}
body.e-fullchat{--e-paper:#fcfaf6;--e-ink:#302518;display:flex;flex-direction:column;width:100%;height:100vh;height:100dvh;min-height:0;margin:0;overflow:hidden;background:var(--e-paper);color:var(--e-ink);font-family:"DM Sans",Arial,sans-serif}
.e-fullchat *,.e-fullchat *::before,.e-fullchat *::after{box-sizing:border-box}
.e-top{flex:0 0 65px;min-height:0;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px clamp(20px,3.4vw,55px);background:#fffdf8;border-bottom:1px solid #e6dbc8}
.e-brand{display:flex;align-items:center;gap:9px;color:#342417;text-decoration:none;min-width:0}
.e-brand-star{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;color:#ab7c39;border:1px solid #d7bd91;border-radius:50%;font-size:19px}
.e-brand span:last-child{display:flex;flex-direction:column;gap:2px}
.e-brand strong{font-family:"Cormorant Garamond",Georgia,serif;font-weight:600;letter-spacing:.055em;font-size:25px;line-height:1}
.e-brand small{color:#77654e;font-size:9px;letter-spacing:.014em}
.e-site-links{display:flex;align-items:center;gap:24px}
.e-site-links a{font-size:12px;font-weight:600;color:#62503c;text-decoration:none}
.e-site-links a:last-child{border:1px solid #d8c2a0;padding:9px 13px;border-radius:99px}
.e-site-links a:hover{text-decoration:underline}
.e-mobile-home{display:none}
.e-main{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;min-width:0;width:100%;overflow:hidden;background:linear-gradient(145deg,#fbf8f2,#fffdf9 55%,#f7f0e5)}
.e-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;flex:0 0 auto;width:min(1260px,100%);padding:16px 27px 12px;margin:0 auto}
.e-intro-copy{min-width:0}
.e-eyebrow{color:#896439;font-weight:700;letter-spacing:.14em;font-size:9px;line-height:1.3}
.e-intro h1{margin:2px 0 2px;font-family:"Cormorant Garamond",Georgia,serif;color:#332417;font-weight:600;font-size:33px;line-height:1.05}
.e-intro h1 em{font-weight:500;color:#97703c}
.e-intro p{font-size:11px;line-height:1.4;color:#736654;margin:0}
.e-new-chat{flex-shrink:0;display:inline-flex;gap:7px;align-items:center;padding:10px 14px;border:1px solid #d8be99;border-radius:12px;color:#6b4d29;background:#fffefa;cursor:pointer;font-family:"DM Sans",sans-serif;font-size:12px;font-weight:700}
.e-new-chat:hover{background:#f4e8d5}
.e-new-chat svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.e-chatspace{display:flex;flex:1 1 auto;min-width:0;min-height:0;width:min(1260px,100%);margin:0 auto;padding:0 20px 15px}
.e-chatspace>[data-mc-expert-page]{display:flex;flex:1;min-width:0;min-height:0;width:100%}
.e-fullchat #mcExpertApp.mc-expert--full{position:relative!important;top:auto!important;right:auto!important;left:auto!important;bottom:auto!important;display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-width:0!important;min-height:0!important;width:100%!important;max-width:none!important;height:100%!important;max-height:100%!important;margin:0!important;border:1px solid #ddc8a6!important;border-radius:15px!important;box-shadow:0 5px 24px rgba(79,52,22,.08)!important;overflow:hidden!important}
.e-fullchat #mcExpertApp .mc-expert-header{padding:12px 19px;min-height:62px}
.e-fullchat #mcExpertApp .mc-expert-brand-icon{height:38px;width:38px;flex-basis:38px;border-radius:12px}
.e-fullchat #mcExpertApp .mc-expert-brand-icon svg{width:23px;height:23px}
.e-fullchat #mcExpertApp .mc-expert-identity strong{font-size:23px}
.e-fullchat #mcExpertApp .mc-expert-feed{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:21px 28px 25px}
.e-fullchat #mcExpertApp .mc-expert-intro{max-width:710px;margin:0 auto;padding:10px 0 5px}
.e-fullchat #mcExpertApp .mc-expert-intro-emblem{height:49px;width:49px;border-radius:15px;margin-bottom:8px}
.e-fullchat #mcExpertApp .mc-expert-intro-emblem svg{width:26px;height:26px}
.e-fullchat #mcExpertApp .mc-expert-intro h2{font-size:29px;max-width:none;margin:6px 0}
.e-fullchat #mcExpertApp .mc-expert-intro p{max-width:550px;font-size:12px}
.e-fullchat #mcExpertApp .mc-expert-topics{max-width:750px;width:100%;margin:14px auto 12px;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.e-fullchat #mcExpertApp .mc-expert-topic{min-height:98px}
.e-fullchat #mcExpertApp .mc-expert-connect-banner{max-width:750px;margin:8px auto}
.e-fullchat #mcExpertApp .mc-expert-intro--compact{display:none}
.e-fullchat #mcExpertApp .mc-expert-topics--compact{display:flex;max-width:750px;overflow-x:auto;margin:0 auto 13px}
.e-fullchat #mcExpertApp .mc-expert-topics--compact .mc-expert-topic{min-height:0}
.e-fullchat #mcExpertApp .mc-expert-message{max-width:790px;margin:14px auto}
.e-fullchat #mcExpertApp .mc-expert-visuals{max-width:760px;margin:0 auto 14px}
.e-fullchat #mcExpertApp .mc-expert-message-body{max-width:90%;padding:13px 15px}
.e-fullchat #mcExpertApp .mc-expert-message-text{font-size:13.5px;line-height:1.7}
.e-fullchat #mcExpertApp .mc-expert-composer{flex:0 0 auto;padding:12px 20px 14px;background:#fffdfa}
.e-fullchat #mcExpertApp .mc-expert-compose-row,.e-fullchat #mcExpertApp .mc-expert-compose-meta,.e-fullchat #mcExpertApp .mc-expert-selected{max-width:830px;margin-left:auto;margin-right:auto}
.e-fullchat #mcExpertApp .mc-expert-compose-row{border-radius:17px;min-height:56px}
.e-fullchat #mcExpertApp .mc-expert-compose-row textarea{font-size:14px!important}
.e-fullchat #mcExpertApp .mc-expert-compose-meta{margin-top:8px}
@media(max-width:760px){
 .e-top{flex:0 0 54px;padding:6px 15px;gap:8px}
 .e-brand-star{width:29px;height:29px;font-size:17px}
 .e-brand strong{font-size:22px}
 .e-brand small{font-size:8px}
 .e-site-links{display:none}
 .e-mobile-home{display:inline-flex;flex-shrink:0;color:#674725;font-size:11px;font-weight:700;text-decoration:none;border:1px solid #ddcba9;padding:7px 10px;border-radius:99px}
 .e-fullchat .mc-section-nav{flex:0 0 auto;padding:5px 8px;box-shadow:none}
 .e-fullchat .mc-section-nav a{min-height:29px;padding:5px 10px}
 .e-intro{padding:9px 13px 8px;gap:9px}
 .e-eyebrow{font-size:8px;letter-spacing:.095em}
 .e-intro h1{font-size:25px;line-height:1.05;margin:1px 0 3px}
 .e-intro p{max-width:330px;font-size:10px;line-height:1.3}
 .e-new-chat{padding:8px 10px;border-radius:10px;font-size:10px;gap:4px}
 .e-new-chat svg{width:15px;height:15px}
 .e-chatspace{padding:0;max-width:none}
 .e-fullchat #mcExpertApp.mc-expert--full{position:relative!important;flex:1 1 auto!important;min-height:0!important;height:100%!important;max-height:100%!important;width:100%!important;max-width:none!important;border-radius:0!important;border:0!important;box-shadow:none!important}
 .e-fullchat #mcExpertApp .mc-expert-header{padding:8px 12px;min-height:60px;gap:8px}
 .e-fullchat #mcExpertApp .mc-expert-brand-icon{width:37px;height:37px;flex-basis:37px}
 .e-fullchat #mcExpertApp .mc-expert-identity strong{font-size:22px}
 .e-fullchat #mcExpertApp .mc-expert-feed{padding:13px 11px 16px}
 .e-fullchat #mcExpertApp .mc-expert-intro{padding:1px 3px 0}
 .e-fullchat #mcExpertApp .mc-expert-intro-emblem{display:none}
 .e-fullchat #mcExpertApp .mc-expert-intro h2{font-size:26px;margin:6px auto 4px}
 .e-fullchat #mcExpertApp .mc-expert-intro p{font-size:11px;max-width:320px;line-height:1.45}
 .e-fullchat #mcExpertApp .mc-expert-topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px auto 9px}
 .e-fullchat #mcExpertApp .mc-expert-topic{min-height:73px;padding:10px;gap:5px}
 .e-fullchat #mcExpertApp .mc-expert-topic-icon{width:25px;height:25px}
 .e-fullchat #mcExpertApp .mc-expert-topic-icon svg{width:15px;height:15px}
 .e-fullchat #mcExpertApp .mc-expert-topic-text b{font-size:11px}
 .e-fullchat #mcExpertApp .mc-expert-topic-text small{font-size:9px}
 .e-fullchat #mcExpertApp .mc-expert-topic-arrow{bottom:8px;right:7px}
 .e-fullchat #mcExpertApp .mc-expert-topics--compact{display:flex;margin:0 auto 10px}
 .e-fullchat #mcExpertApp .mc-expert-topics--compact .mc-expert-topic{min-height:0;padding:6px 10px}
 .e-fullchat #mcExpertApp .mc-expert-connect-banner{margin:7px auto}
 .e-fullchat #mcExpertApp .mc-expert-message{margin:12px auto}
 .e-fullchat #mcExpertApp .mc-expert-message-body{padding:10px 12px}
 .e-fullchat #mcExpertApp .mc-expert-message-text{font-size:12.5px}
 .e-fullchat #mcExpertApp .mc-expert-composer{padding:8px 9px calc(9px + env(safe-area-inset-bottom))}
 .e-fullchat #mcExpertApp .mc-expert-compose-row{min-height:53px}
 .e-fullchat #mcExpertApp .mc-expert-compose-row textarea{font-size:13px!important}
 .e-fullchat #mcExpertApp .mc-expert-compose-meta{font-size:9px;margin-top:6px}
}
@media(max-width:390px){
 .e-eyebrow{display:none}
 .e-intro{padding:8px 10px}
 .e-intro h1{font-size:24px}
 .e-intro p{font-size:9.5px}
 .e-new-chat{padding:8px 8px}
}
@media(max-height:660px) and (max-width:760px){
 .e-top{flex-basis:44px}
 .e-fullchat .mc-section-nav{padding-top:3px;padding-bottom:3px}
 .e-intro{padding:6px 11px}
 .e-intro p{display:none}
 .e-fullchat #mcExpertApp .mc-expert-header{min-height:54px;padding:6px 10px}
 .e-fullchat #mcExpertApp .mc-expert-intro h2{font-size:23px}
 .e-fullchat #mcExpertApp .mc-expert-intro p{font-size:10px}
 .e-fullchat #mcExpertApp .mc-expert-topic{min-height:67px}
}
@media(min-width:761px) and (max-height:660px){
 .e-top{flex-basis:54px}
 .e-intro{padding-top:6px;padding-bottom:7px}
 .e-intro h1{font-size:29px}
 .e-chatspace{padding-bottom:7px}
 .e-fullchat #mcExpertApp .mc-expert-intro-emblem{display:none}
}

/* Once a message is sent, behave like a dedicated conversation screen. */
.e-fullchat.e-has-chat .e-intro{justify-content:flex-end;min-height:0;padding:5px 20px 5px;border-bottom:1px solid #eee3d2}
.e-fullchat.e-has-chat .e-intro-copy{display:none}
.e-fullchat.e-has-chat .e-new-chat{padding:6px 11px;font-size:11px}
.e-fullchat.e-has-chat #mcExpertApp .mc-expert-topics{display:none!important}
.e-fullchat.e-has-chat #mcExpertApp .mc-expert-connect-banner{display:none!important}
@media(max-width:760px){
 .e-fullchat.e-has-chat .e-intro{padding:4px 12px}
 .e-fullchat.e-has-chat .e-new-chat{padding:5px 9px;font-size:10px}
}
