body main .portal-back-trips:not([hidden]){display:inline-flex;align-items:center;flex-shrink:0;gap:6px;margin-left:14px;padding:8px 12px;border:1px solid #b7d2c1;border-radius:7px;background:#fff;color:#185b40;font-size:13px;font-weight:650;text-decoration:none;line-height:1.4}body main .portal-back-trips:hover{background:#e4f0e7}body main .portal-back-trips:focus-visible{outline:2px solid #185b40;outline-offset:3px}@media(max-width:640px){body main .portal-back-trips:not([hidden]){font-size:12px;margin-left:0;padding:7px 9px}}
body main #account .conversation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
body main #account .conversation-heading>div{min-width:0}
body main #account .conversation-heading p,body main #account .conversation-heading .conversation-label{display:none!important}
body main #account .conversation-heading h2{margin:0!important}
body main #account .trip-sidebar{display:flex;flex-direction:column;gap:14px}
html body main #account .trip-sidebar>.advisor-card{order:-1!important;margin:0;flex:0 0 auto}
body:has(#account:not([hidden])) main .page-heading{padding-top:18px!important;padding-bottom:20px!important}
body:has(#account:not([hidden])) main .page-heading>div{row-gap:10px!important}
@media(max-width:640px){body:has(#account:not([hidden])) main .page-heading{padding-top:14px!important;padding-bottom:16px!important}}
body main #account #messages{overscroll-behavior:auto!important}
body main #account .conversation-heading .customer-files-open{display:inline-flex!important;align-items:center;gap:8px;width:auto!important;min-height:36px!important;margin:0 0 0 auto!important;padding:7px 12px!important;border:1px solid #9fc8b1!important;border-radius:8px!important;background:#fff!important;color:#14583e!important;font-size:12px!important;font-weight:700;white-space:nowrap;box-shadow:none}
body main #account .conversation-heading .customer-files-open:hover{background:#f4f9f6!important}
body main #account .conversation-heading .customer-files-open:focus-visible{outline:2px solid #14583e;outline-offset:2px}
body main #account .conversation-heading .customer-files-open svg{width:17px;height:17px}
body main #account .conversation>.customer-files-open{background:#dbeee2;color:#14583e;border-left:4px solid #23835a;border-bottom:1px solid #b4d5c0;font-weight:700;font-size:13px;box-shadow:inset 0 1px 0 #ffffff80}
body main #account .conversation>.customer-files-open:hover{background:#cce5d6}
body main #account .conversation>.customer-files-open:focus-visible{outline:2px solid #146b49;outline-offset:-3px}
body main #account .customer-files-open #file-count{background:#196c4c;color:white;min-width:24px;height:24px;display:grid;place-items:center;border-radius:20px;font-size:12px}
body main #account #messages article.customer,body main #account #messages article.staff{display:flex!important;flex-direction:column;width:fit-content;max-width:82%;padding:0!important;margin-top:0!important;margin-bottom:12px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body main #account #messages article:before,body main #account #messages article:after{display:none!important}
body main #account #messages article.customer{margin-left:auto;align-items:flex-end}
body main #account #messages article.staff{margin-right:auto;align-items:flex-start}
body main #account #messages .chat-message-body{min-width:0;max-width:100%;padding:10px 14px;border:1px solid #dfe6df;border-radius:14px 14px 14px 4px;background:#f5f6f1;color:#243e33;overflow-wrap:anywhere}
body main #account #messages .customer .chat-message-body{background:#e0f0e9;border-color:#bedbcd;border-radius:14px 14px 4px 14px}
body main #account #messages .chat-message-body p{font-size:14px;line-height:1.5;margin:0}
/* Shared VTF sender palette, matching the staff conversation. */
html[data-brand="vtf"] body main #account #messages article.staff .chat-message-body{background:#e1f2e7!important;border-color:#afd3bb!important;color:#214d35!important}
html[data-brand="vtf"] body main #account #messages article.customer .chat-message-body{background:#e3edf8!important;border-color:#c5d8ed!important;color:#24445c!important}
body main #account #messages .chat-message-body summary{font-size:13px;line-height:1.5}
body main #account #messages article .chat-message-meta{display:block!important;font-size:11px!important;line-height:1.4!important;font-weight:500!important;color:#64796e!important;margin:4px 3px 0!important;padding:0!important;background:transparent!important;border:0!important}
body main #account #messages .message-attachments{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0 0}
body main #account #messages .attachment-link{display:flex;align-items:center;gap:8px;width:auto;max-width:100%;min-width:0;padding:6px 9px;margin:0;border:1px solid #d7e1dc;border-radius:7px;background:#ffffffed;font-size:12px;line-height:1.4;text-decoration:none}
body main #account #messages .chat-file-type{display:grid;place-items:center;flex:0 0 32px;height:32px;background:#edf2f5;color:#647b8e;border-radius:5px;font-size:9px;font-weight:700}
body main #account #messages .attachment-link{flex:0 1 auto!important;width:max-content!important;max-width:100%!important;box-sizing:border-box}
body main #account #messages .attachment-link .chat-file-name{flex:1 1 auto!important;width:auto!important;min-width:0;max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
body main #account #messages .attachment-link small,body main #account #messages .chat-file-download{flex:0 0 auto!important}
body main #account #messages .chat-file-type{width:32px!important;min-width:32px!important}
body main #account #messages .attachment-link small{font-size:10px;white-space:nowrap;color:#78897f}
body main #account #messages .chat-file-download{font-size:19px;color:#547568}
body main #account #messages .chat-day-divider{display:flex;align-items:center;justify-content:center;gap:12px;clear:both;width:100%;margin:16px 0 18px;flex:0 0 auto}
body main #account #messages .chat-day-divider:first-child{margin-top:0}
body main #account #messages .chat-day-divider:before,body main #account #messages .chat-day-divider:after{content:'';height:1px;background:#dce7df;flex:1}
body main #account #messages .chat-day-divider time{padding:5px 12px;border:1px solid #dce7df;border-radius:20px;background:#f3f7f4;color:#536f60;font-size:11px;font-weight:600;line-height:1.4;text-align:center}
@media(max-width:640px){body main #account #messages article{max-width:94%}body main #account #messages .chat-message-body{padding:9px 11px}}
body:has(#account:not([hidden])) main .portal-header .brand img{width:170px!important;height:90px!important;max-height:none!important;object-fit:contain;object-position:left center}
@media(max-width:640px){body:has(#account:not([hidden])) main .portal-header .brand img{width:120px!important;height:70px!important}body:has(#account:not([hidden])) main .portal-header{flex-wrap:wrap}}
@media(min-width:901px) and (min-height:600px){
html:has(#account:not([hidden])){min-height:100%;height:auto;overflow-y:auto}
body:has(#account:not([hidden])){height:calc(100dvh + 190px);min-height:740px!important;margin:0;display:flex;flex-direction:column;overflow:visible}
body:has(#account:not([hidden]))>.test{flex:0 0 auto;padding:4px 12px;font-size:10px;line-height:1.4;min-height:0}
body:has(#account:not([hidden]))>main{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;width:100%;box-sizing:border-box;padding:0 24px 10px;margin:0 auto}
body:has(#account:not([hidden])) main .portal-header{flex:0 0 auto;min-height:0;padding:11.2px 0}
body:has(#account:not([hidden])) main .portal-header .brand img{height:90px!important;width:170px!important;max-height:none!important;object-fit:contain;object-position:left center}
body:has(#account:not([hidden])) main .page-heading{flex:0 0 auto;padding:9px 0 12px}
body:has(#account:not([hidden])) main .page-heading>div{display:flex;align-items:center;flex-wrap:wrap;gap:5px 14px}
body:has(#account:not([hidden])) main .page-heading h1{font-size:18px;margin:0}
body:has(#account:not([hidden])) main .portal-trip-meta{margin:0}
body:has(#account:not([hidden])) main #welcome{width:100%;font-size:12px;font-weight:500;line-height:1.55;color:#405e50;margin:0}
body:has(#account:not([hidden])) main .privacy-badge{display:none}
body:has(#account:not([hidden])) main .portal-footer{display:none}
body main #account:not([hidden]){flex:1 1 auto;min-height:0;height:auto;overflow:hidden;align-items:stretch;margin:0;grid-template-columns:clamp(290px,25vw,320px) minmax(0,1fr);gap:28px}
body main #account .trip-sidebar{min-height:0;overflow:auto;overscroll-behavior:contain;padding-right:3px;display:flex;flex-direction:column;gap:12px}
body main #account .trip-sidebar>*{flex-shrink:0}
body main #account .trip-sidebar{height:100%;box-sizing:border-box}
body main #account .trip-sidebar .trip-card{flex:1 0 auto}
body main #account .trip-sidebar .advisor-card{margin-top:0;margin-bottom:0;flex:0 0 auto}
body main #account .conversation{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}
body main #account .conversation-heading{flex:0 0 auto;padding:12px 18px}
body main #account .conversation-heading h2{font-size:16px;margin:0 0 3px}
body main #account .conversation-heading p{font-size:11px}
body main #account .customer-files-open{flex:0 0 auto;min-height:34px;padding:7px 18px;font-size:11px}
body main #account #messages{flex:1 1 0;height:auto!important;min-height:0!important;max-height:none;overflow-y:auto;overscroll-behavior:auto;padding:16px}
body main #account #message-form{flex:0 0 auto;padding:14px 18px;max-height:43vh;overflow:auto}
body main #account .customer-format-tools{padding:3px 7px}
body main #account #message-form textarea,body main #account #message-form [contenteditable]{min-height:54px!important;height:54px;max-height:110px;padding:8px 10px;overflow:auto;resize:vertical}
body main #account .composer-bottom{margin-top:7px;gap:10px}
body main #account .attachment-picker small{font-size:9px;line-height:1.3}
body main #account #message-form button[type=submit]{min-height:36px;padding:8px 14px}
body main #account .conversation-hint{margin:0}
}

/* RADE: neutral chat frame and distinct message colours. */
html:not([data-brand="vtf"]) body main #account .conversation{background:#f4f6f8!important;border-color:#cbd3dc!important}
html:not([data-brand="vtf"]) body main #account .conversation .conversation-heading{background:#edf0f4!important;border-bottom:1px solid #cbd3dc!important}
html:not([data-brand="vtf"]) body main #account .conversation .conversation-heading h2{color:#253342!important}
html:not([data-brand="vtf"]) body main #account .conversation #messages{background:#f5f7fa!important;scrollbar-color:#b5bec9 #f5f7fa}
html:not([data-brand="vtf"]) body main #account #messages .chat-message-body{background:#fff!important;border-color:#d2dae3!important;color:#243342!important;box-shadow:0 2px 4px #24334206}
html:not([data-brand="vtf"]) body main #account #messages .customer .chat-message-body{background:#e3effb!important;border-color:#b8d2eb!important;color:#203c55!important}
html:not([data-brand="vtf"]) body main #account #messages article .chat-message-meta{color:#647182!important}
html:not([data-brand="vtf"]) body main #account #messages .chat-day-divider time{background:#e9edf2;color:#526173;border-color:#d4dce5}
html:not([data-brand="vtf"]) body main #account #messages .chat-day-divider:before,html:not([data-brand="vtf"]) body main #account #messages .chat-day-divider:after{background:#d4dce5}
html:not([data-brand="vtf"]) body main #account .conversation #message-form,html:not([data-brand="vtf"]) body main #account .conversation .conversation-hint{background:#fff!important;border-color:#cbd3dc!important;color:#647182}
html:not([data-brand="vtf"]) body main #account .customer-format-tools{background:#edf0f4!important;border-color:#d2dae3!important}
html:not([data-brand="vtf"]) body main #account .customer-format-tools :is(button,summary){color:#405267!important}
html:not([data-brand="vtf"]) body main #account #message-text{border-color:#bbc7d4!important;color:#243342!important;background:#fff!important}

