/* mobile-brand.css */
/* LiveFracht 3.0.7: the selected road mark replaces only platform branding. */
.lf-logo .lf-brand-icon{display:block;width:48px;height:48px;object-fit:contain;flex-shrink:0;border-radius:10px}
.lf-logo em{color:#ffd02b!important}
@media(max-width:480px){.lf-logo .lf-brand-icon{width:40px;height:40px}.lf-logo{gap:8px}}


/* mobile-chat-layout.css */
/* Website 3.0.2: ChatDrawer is rendered through a React portal into document.body. */
.lf-cht-bg{
 position:fixed!important;inset:0!important;z-index:900!important;
 display:flex!important;align-items:center!important;justify-content:flex-end!important;
 padding:20px!important;box-sizing:border-box;overflow:hidden!important;
}
.lf-cht-bg .lf-cht{
 width:min(480px,calc(100vw - 40px))!important;max-width:100%!important;
 height:min(760px,calc(100vh - 40px))!important;
 height:min(760px,calc(100dvh - 40px))!important;
 max-height:100%!important;min-width:0;min-height:0;flex-shrink:0;
 border:1px solid var(--lf-bd);border-radius:16px;overflow:hidden;
 box-shadow:0 18px 70px #0009;white-space:normal;text-align:left;
}
.lf-cht-bg .lf-cht-h,.lf-cht-bg .lf-cht-f,.lf-cht-bg .lf-chat-top,
.lf-cht-bg .lf-chat-in,.lf-cht-bg .lf-cst{flex-shrink:0}
.lf-cht-bg .lf-cht-body{flex:1;min-height:0;min-width:0;max-width:100%;overflow:hidden}
.lf-cht-bg .lf-chat{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;min-height:0;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.lf-cht-bg .lf-chat-sys{white-space:normal;overflow-wrap:anywhere;max-width:100%}
.lf-cht-bg .lf-chat-in{min-width:0;max-width:100%;padding:12px;gap:8px}
.lf-cht-bg .lf-chat-in textarea{min-width:0;flex:1;resize:none;max-height:140px}
.lf-cht-bg .lf-bubble{min-width:0;overflow-wrap:anywhere}
.lf-cht-bg [data-testid="button-chat-close"]{flex-shrink:0;min-width:40px;min-height:40px}
@media(max-width:640px){
 .lf-cht-bg{padding:8px!important}
 .lf-cht-bg .lf-cht{width:calc(100vw - 16px)!important;height:calc(100vh - 16px)!important;height:calc(100dvh - 16px)!important;border-radius:12px}
 .lf-cht-bg .lf-cht-h{padding:12px}
 .lf-cht-bg .lf-chat-in{padding:10px;gap:6px}
}
body:has(>.lf-cht-bg){overflow:hidden}

