.tm-mobile-chat-open,.tm-mobile-chat-open body{overflow:hidden!important}
.tm-mobile-chat-open,
.tm-mobile-chat-open body,
.tm-mobile-chat-open body::before,
.tm-mobile-chat-open body::after,
.tm-mobile-chat-open .tim-makeup-app.tm-chat-page,
.tm-mobile-chat-open .tim-makeup-app.tm-chat-page .tm-shell,
.tm-mobile-chat-open .tim-makeup-app.tm-chat-page .tm-main,
.tm-mobile-chat-open .tim-makeup-app.tm-chat-page .tm-screen,
.tm-mobile-chat-open .tim-makeup-app.tm-chat-page .tm-mobile-chat-screen,
.tm-mobile-chat-open .tim-makeup-app.tm-chat-page .tm-messages,
.tm-mobile-chat-open .tim-makeup-app.tm-chat-page [data-chat-older]{background-color:#fff!important;background-image:none!important}
.tm-mobile-chat-open body::before,
.tm-mobile-chat-open body::after,
.tm-mobile-chat-open .tim-makeup-app.tm-chat-page .tm-screen::before,
.tm-mobile-chat-open .tim-makeup-app.tm-chat-page .tm-screen::after{display:none!important;content:none!important;background:none!important}
.tim-makeup-app.tm-mobile-chat{container-type:normal!important;transform:none!important}
.tim-makeup-app.tm-mobile-chat .tm-shell,.tim-makeup-app.tm-mobile-chat .tm-main{transform:none!important;contain:none!important}
.tim-makeup-app.tm-chat-detail-page.tm-inbox-reference.tm-mobile-chat .tm-mobile-chat-screen{height:var(--tm-chat-height,100dvh)!important;max-height:var(--tm-chat-height,100dvh)!important;min-height:0!important}
.tim-makeup-app.tm-mobile-chat .tm-message{flex-shrink:0}
.tim-makeup-app.tm-mobile-chat .tm-mobile-chat-screen{position:fixed;inset:var(--tm-chat-top,0px) 0 auto!important;height:var(--tm-chat-height,100dvh);width:100%;max-width:830px;margin-inline:auto;display:flex!important;flex-direction:column;overflow:hidden!important;background:#fff;z-index:100;box-sizing:border-box}
/* 0.9.784 — one continuous conversation canvas in mobile and desktop pane. */
.tim-makeup-app.tm-chat-detail-page.tm-inbox-reference,
.tim-makeup-app.tm-chat-detail-page.tm-inbox-reference .tm-shell,
.tim-makeup-app.tm-chat-detail-page.tm-inbox-reference .tm-main,
.tim-makeup-app.tm-chat-detail-page.tm-inbox-reference .tm-screen,
.tim-makeup-app.tm-chat-detail-page.tm-inbox-reference .tm-mobile-chat-screen,
.tim-makeup-app.tm-chat-detail-page.tm-inbox-reference .tm-messages{background:#fff!important;background-image:none!important}
.tim-makeup-app.tm-mobile-chat .tm-conversation-head{position:relative!important;top:auto!important;flex:none;min-height:64px;padding:8px 12px!important;padding-top:max(8px,env(safe-area-inset-top))!important;z-index:5}
.tim-makeup-app.tm-mobile-chat .tm-messages{flex:1;min-height:0!important;overflow-y:auto!important;overscroll-behavior-y:contain;padding:12px 14px!important;scrollbar-width:thin;overflow-anchor:none}
.tim-makeup-app.tm-mobile-chat .tm-composer{position:relative!important;inset:auto!important;transform:none!important;flex:none;display:flex!important;align-items:flex-end;gap:5px;width:100%!important;max-width:none!important;padding:8px 10px max(8px,env(safe-area-inset-bottom))!important;background:#fff;border-top:1px solid #edf1ef;box-sizing:border-box}
.tim-makeup-app.tm-mobile-chat .tm-composer[hidden]{display:none!important}
.tim-makeup-app.tm-mobile-chat .tm-composer input[hidden]{display:none!important}
.tim-makeup-app.tm-mobile-chat .tm-mobile-tools{display:flex;align-items:center;gap:3px;flex:none}
.tim-makeup-app.tm-mobile-chat .tm-composer button,.tim-makeup-app.tm-mobile-chat .tm-attach{display:grid;place-items:center;flex:none;width:44px!important;height:44px!important;min-height:44px!important;padding:9px!important;margin:0;border:0;background:transparent;color:var(--tm-color-primary,#008d59);border-radius:50%;box-sizing:border-box}
.tim-makeup-app.tm-mobile-chat .tm-composer svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tim-makeup-app.tm-mobile-chat .tm-mobile-input{display:block;flex:1;min-width:0;resize:none;min-height:44px;max-height:120px;padding:11px 12px;border:0;border-radius:22px;background:#f2f5f4;color:#243c34;font:16px/22px Arial,sans-serif;box-sizing:border-box}
.tim-makeup-app.tm-mobile-chat .tm-composer .tm-mobile-expand{display:none}
.tim-makeup-app.tm-mobile-chat .tm-composer.is-typing .tm-mobile-tools{display:none}
.tim-makeup-app.tm-mobile-chat .tm-composer.is-typing .tm-mobile-expand{display:grid}
.tim-makeup-app.tm-mobile-chat .tm-composer .tm-gps{display:none!important}
.tim-makeup-app.tm-mobile-chat .tm-chat-attachment-menu{position:absolute!important;bottom:calc(64px + env(safe-area-inset-bottom));left:12px;right:12px;width:auto;transform:none;z-index:10}
.tim-makeup-app.tm-mobile-chat [data-chat-older]:empty{display:none}
.tim-makeup-app.tm-mobile-chat [data-chat-older]{background:#fff!important;background-image:none!important}
.tim-makeup-app.tm-chat-detail-page .tm-chat-options{background:#fff!important;background-image:none!important}
.tim-makeup-app.tm-chat-detail-page .tm-chat-options::before,
.tim-makeup-app.tm-chat-detail-page .tm-chat-options::after{display:none!important;content:none!important;background:none!important}
.tim-makeup-app.tm-mobile-chat .tm-chat-interest,.tim-makeup-app.tm-mobile-chat .tm-nav{display:none!important}
.tm-mobile-latest{position:absolute;right:16px;bottom:calc(80px + env(safe-area-inset-bottom));z-index:6;display:inline-flex;align-items:center;gap:9px;max-width:calc(100% - 32px);min-height:42px;border:1px solid #cce5d9;background:#fff;color:#006b4d;padding:5px 6px 5px 15px;border-radius:999px;box-shadow:0 7px 24px #143c2924,0 1px 4px #143c2912;font-size:13px;font-weight:600;line-height:1.2;white-space:nowrap;cursor:pointer;animation:tm-mobile-latest-enter .24s cubic-bezier(.2,.8,.2,1) both;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.tm-mobile-latest:hover{transform:translateY(-2px);box-shadow:0 10px 28px #143c292b,0 2px 6px #143c2915;border-color:#a8d8bf}
.tm-mobile-latest:active{transform:scale(.96)}
.tm-mobile-latest:focus-visible{outline:2px solid #008d59;outline-offset:3px}
.tm-mobile-latest-icon{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e8f7ee;color:#008d59;flex:none}
.tm-mobile-latest-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
@keyframes tm-mobile-latest-enter{from{opacity:0;transform:translateY(9px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.tm-mobile-latest{animation:none;transition:none}}
.tm-mobile-latest[hidden]{display:none}
.tim-makeup-app.tm-mobile-chat .tm-composer .tm-chat-emoji{display:none!important}
.tim-makeup-app.tm-mobile-chat .tm-composer .tm-attach{display:none!important}
@media(max-width:380px){.tim-makeup-app.tm-mobile-chat .tm-composer{gap:0;padding-inline:4px!important}.tim-makeup-app.tm-mobile-chat .tm-mobile-tools{gap:0}}
@media(min-width:1024px){
  .tim-makeup-app.tm-chat-desktop-pane .tm-messages{scrollbar-width:thin!important;scrollbar-color:color-mix(in srgb,var(--tm-color-primary) 28%,transparent) transparent!important;scrollbar-gutter:stable!important}
  .tim-makeup-app.tm-chat-desktop-pane .tm-messages::-webkit-scrollbar{width:8px!important}
  .tim-makeup-app.tm-chat-desktop-pane .tm-messages::-webkit-scrollbar-track{margin-block:8px!important;background:transparent!important}
  .tim-makeup-app.tm-chat-desktop-pane .tm-messages::-webkit-scrollbar-thumb{border:2px solid transparent!important;border-radius:999px!important;background:color-mix(in srgb,var(--tm-color-primary) 28%,transparent)!important;background-clip:padding-box!important}
}
/* The desktop conversation iframe is narrower than the page breakpoint. */
.tim-makeup-app.tm-chat-desktop-pane .tm-messages{scrollbar-width:thin!important;scrollbar-color:color-mix(in srgb,var(--tm-color-primary) 28%,transparent) transparent!important;scrollbar-gutter:stable!important}
.tim-makeup-app.tm-chat-desktop-pane .tm-messages::-webkit-scrollbar{width:8px!important}
.tim-makeup-app.tm-chat-desktop-pane .tm-messages::-webkit-scrollbar-track{margin-block:8px!important;background:transparent!important}
.tim-makeup-app.tm-chat-desktop-pane .tm-messages::-webkit-scrollbar-thumb{border:2px solid transparent!important;border-radius:999px!important;background:color-mix(in srgb,var(--tm-color-primary) 28%,transparent)!important;background-clip:padding-box!important}
