:root{font:15px/1.55 system-ui,-apple-system,Segoe UI,sans-serif;color:#183e32;background:#ffffff;--ink:#183e32;--green:#145b44;--muted:#65796f;--line:#dce5dc}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}a{color:var(--green)}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{font-weight:650;border:1px solid var(--green);border-radius:10px;padding:11px 18px;background:var(--green);color:#fff;cursor:pointer;min-height:44px}button:disabled{opacity:.6;cursor:default}button.secondary{background:white;color:var(--green);padding:8px 14px;font-size:13px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #c48b3b;outline-offset:3px}.test{display:flex;justify-content:center;gap:14px;background:#f6edda;padding:7px 18px;color:#795c28;font-size:11px}.test b{letter-spacing:.06em}main{max-width:1320px;padding:0 36px;margin:auto}.portal-header{display:flex;align-items:center;gap:24px;min-height:98px;border-bottom:1px solid var(--line)}.brand{display:block;margin-right:auto}.brand img{display:block;width:190px;height:60px;object-fit:contain;object-position:left center}.portal-caption{font-size:13px;color:var(--muted)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:27px 0 18px}.eyebrow{font-size:10px;letter-spacing:.15em;font-weight:750;color:var(--muted);margin:0 0 8px}h1,h2,p{margin:0}h1{font-size:clamp(25px,3vw,33px);line-height:1.25;letter-spacing:-.035em;margin:0 0 7px}h2{font-size:19px;letter-spacing:-.02em;line-height:1.35}.page-heading p:not(.eyebrow){color:var(--muted);font-size:13px}.privacy-badge{font-size:11px;max-width:175px;padding-left:14px;border-left:2px solid #b9cbbd;color:var(--muted)}#status{font-size:13px;color:#83571e;background:#fff4de;border-radius:8px;padding:10px 14px;margin-bottom:14px;overflow-wrap:anywhere}#status:empty{display:none}.portal-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:20px;align-items:start}.trip-sidebar{display:grid;gap:14px}.trip-card,.advisor-card,.files-card,.conversation,.login-card{border:1px solid var(--line);border-radius:14px;background:white;overflow:hidden}.trip-card{padding:20px}.trip-card label{font-size:11px}.reference{font-size:11px;color:var(--muted);margin:10px 0 16px}.trip-details{border-top:1px solid var(--line);padding-top:14px}summary{cursor:pointer;font-weight:650;font-size:13px}dl{margin:12px 0 0}dl>div{display:grid;grid-template-columns:1fr 1.2fr;gap:12px;font-size:12px;padding:7px 0;border-bottom:1px solid #edf1eb}dt{color:var(--muted)}dd{margin:0;overflow-wrap:anywhere;font-weight:550}.advisor-card{display:flex;gap:11px;flex-wrap:wrap;padding:18px}.advisor-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#e8f0e9;font-weight:750;color:var(--green);font-size:13px}.advisor-card small,.advisor-card strong{display:block}.advisor-card small{font-size:10px;color:var(--muted)}.advisor-card strong{font-size:14px}.advisor-card p{font-size:12px;color:var(--muted);flex-basis:100%}.files-card{padding:17px 18px}.files-card summary{display:flex;justify-content:space-between}.files-card summary span{background:#edf3ed;border-radius:20px;padding:0 7px}#shared-files>div{margin-top:12px}.hint{font-size:12px;color:var(--muted);margin-top:12px}.conversation-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding:19px 22px}.conversation-heading p{font-size:12px;color:var(--muted);margin-top:4px}.conversation-label{background:#edf3ed;border-radius:20px;font-size:10px;padding:5px 9px;white-space:nowrap;color:var(--green)}.messages{height:clamp(260px,43vh,480px);min-height:260px;overflow:auto;padding:18px 22px;background:#fbfcfa;overscroll-behavior:auto;scrollbar-width:thin}.messages article{max-width:88%;border:1px solid #e0e8df;border-radius:12px 12px 12px 3px;background:white;padding:12px 15px;margin:0 0 14px;overflow-wrap:anywhere}.messages article.customer{margin-left:auto;background:#eaf3ed;border-color:#d7e7db;border-radius:12px 12px 3px 12px}.messages strong{display:block;font-size:10px;color:#65796f;font-weight:600;margin-bottom:6px}.messages p{white-space:pre-wrap;font-size:14px}.messages details{font-size:12px}.messages details p{font-size:12px;padding-top:7px}.messages summary{font-size:12px}#message-form{padding:16px 20px 12px;border-top:1px solid var(--line)}label{display:block;font-size:12px;font-weight:650}input,select,textarea{display:block;width:100%;min-width:0;padding:11px 12px;border:1px solid #bdcfbf;border-radius:8px;font:inherit;color:inherit;background:white}select{margin-top:7px;font-size:12px}input{margin:7px 0 14px}textarea{resize:vertical;min-height:84px;max-height:220px;font-size:14px}.composer-bottom{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-top:12px}.composer-bottom>button{white-space:nowrap;font-size:13px}.attachment-picker{min-width:0;flex:1}.attachment-picker label{font-size:11px}.attachment-picker input{padding:0;border:0;font-size:11px;max-width:100%;margin:5px 0}.attachment-picker input::file-selector-button{border:1px solid #c3d4c6;border-radius:6px;background:#f3f7f0;color:var(--green);padding:7px 9px;margin-right:8px;cursor:pointer;font:inherit}.attachment-picker small{font-size:10px;color:var(--muted);display:block}.attachment-picker p{font-size:11px;overflow-wrap:anywhere;margin-top:5px}.text-button{background:transparent;border:0;border-radius:0;min-height:30px;padding:3px 0;color:var(--green);font-size:11px;text-decoration:underline}#selected-files:empty+#clear-files{display:none}.attachment-link{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #cedcd0;border-radius:8px;padding:9px 11px;font-size:12px;text-decoration:none;color:var(--green);max-width:100%;overflow-wrap:anywhere}.attachment-link:hover{background:#f3f8f1;border-color:#86a88d}.attachment-link>span{min-width:0;flex:1}.attachment-link small{white-space:nowrap;font-size:10px;color:var(--muted)}.message-attachments{display:grid;gap:7px;margin-top:8px}.message-attachments:empty{display:none}.conversation-hint{padding:0 20px 15px;font-size:10px;color:var(--muted)}.portal-footer{text-align:center;padding:21px 0 25px;font-size:11px;color:var(--muted)}.login-card{display:grid;grid-template-columns:1fr 1fr;gap:55px;padding:35px;max-width:900px;margin:16px auto 40px}.login-card h2{font-size:24px;margin:8px 0 14px}.login-card p{font-size:13px;color:var(--muted)}.login-card form button{width:100%;margin-bottom:10px}.login-card input{font-size:15px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@media(max-width:900px){main{padding:0 22px}.portal-layout{grid-template-columns:230px minmax(0,1fr)}.privacy-badge,.portal-caption{display:none}.conversation-heading{padding:16px}.conversation-heading h2{font-size:17px}.conversation-label{display:none}.composer-bottom{align-items:start;flex-direction:column}.composer-bottom>button{align-self:flex-end}.trip-card{padding:16px}.messages{padding:16px;height:40vh}.login-card{gap:30px}}@media(max-width:650px){main{padding:0 14px}.test{justify-content:center;padding:6px 12px;font-size:10px}.test span{display:none}.portal-header{min-height:77px}.brand img{width:156px;height:52px}.page-heading{padding:20px 0 17px}h1{font-size:25px}.portal-layout{display:flex;flex-direction:column;gap:14px}.trip-sidebar{width:100%;grid-template-columns:1fr}.advisor-card{display:none}.trip-card{padding:14px}.trip-card>.eyebrow,.reference{display:none}.trip-card label{font-size:11px}.trip-card select{margin-top:5px}.trip-details{margin-top:12px;padding-top:10px}.trip-details:not([open]) dl{display:none}.trip-details dl{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.trip-details dl>div{display:block}.trip-details dd{margin-top:3px}.files-card{padding:13px 14px}.files-card summary{font-size:12px}.conversation{width:100%}.conversation-heading{padding:14px 16px}.messages{height:42vh;min-height:260px;padding:15px 12px}.messages article{max-width:94%;padding:11px 12px}#message-form{padding:13px 14px 10px}.composer-bottom{gap:10px}.composer-bottom>button{width:100%}.conversation-hint{padding:0 14px 14px}.login-card{display:block;margin:0 0 20px;padding:24px 20px}.login-card>div+div{margin-top:25px}.portal-footer{font-size:10px;padding:18px 0}.attachment-picker{width:100%}}

.shared-documents{min-width:0;padding:8px 10px 12px;background:#f6f7f4;border-radius:8px}
.shared-documents .shared-doc-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid #d5dfd8;margin-bottom:10px}
.shared-documents .shared-doc-tabs button{min-height:42px;padding:6px 4px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:inherit;font-size:12px}
.shared-documents .shared-doc-tabs button[aria-pressed=true]{border-bottom-color:currentColor;font-weight:750}
.shared-documents [data-shared-doc-panel][hidden]{display:none!important}
.shared-documents h3{margin:12px 0 5px;font-size:12px;color:inherit}
.shared-documents .shared-doc-row{padding:6px 8px;margin:0 0 5px;border-radius:7px;background:white;overflow-wrap:anywhere}
.shared-documents .shared-doc-row>a{margin:0;max-width:100%;overflow-wrap:anywhere}
.shared-documents .shared-doc-row>small{display:block;padding:2px 0;color:#596962;font-size:11px}
.shared-documents [data-shared-doc-panel]>p{font-size:12px;margin:8px 0}
#message-form .customer-format-tools{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:3px;padding:4px;background:#f4f7f5;border-radius:7px}
#message-form .customer-format-tools :is(button,summary){display:grid;place-items:center;width:34px;min-height:34px;padding:0;border:0;border-radius:5px;background:transparent;color:var(--ink);cursor:pointer;list-style:none}
#message-form .customer-format-tools :is(button,summary):hover{background:var(--line)}
#message-form .chat-emoji-picker summary::-webkit-details-marker{display:none}
#message-form .chat-emoji-picker[open]{flex-basis:100%}
#message-form .chat-emoji-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(34px,1fr));max-width:370px;padding:4px;border:1px solid var(--line);border-radius:7px;background:#fff}
#message-form .chat-emoji-list button{width:100%;font-size:17px}
.chat-rich-editor{display:block;box-sizing:border-box;width:100%;min-height:64px;max-height:165px;overflow:auto;padding:8px 10px;border:1px solid var(--compose-line,var(--line));border-radius:7px;background:#fff;color:inherit;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;font-weight:400;line-height:1.5}
.chat-rich-editor:focus{outline:2px solid var(--compose-accent,var(--green));outline-offset:-2px}
.chat-rich-editor:empty::before{content:attr(data-placeholder);color:#66767c;pointer-events:none}
.chat-emoji-panel{box-sizing:border-box;width:100%;max-height:165px;overflow:auto;padding:5px;background:#fff;border:1px solid var(--compose-line,var(--line));border-radius:7px}
#message-form .customer-format-tools .chat-emoji-picker[open]{min-width:0;flex:0 0 100%}
#message-form .customer-format-tools .chat-emoji-panel .chat-emoji-list{width:100%;max-width:none;grid-template-columns:repeat(auto-fill,minmax(34px,1fr))}
.chat-emoji-heading{padding:4px 5px;font-size:11px;font-weight:700}
.chat-emoji-panel .chat-emoji-list{border:0}
#message-form .chat-rich-editor{grid-column:1/-1}
.inline-file-preview{box-sizing:border-box;width:100%;min-width:0;margin:8px 0;padding:8px;border:1px solid var(--compose-line,var(--line));border-radius:8px;background:#fff;color:var(--ink,#243238);text-align:left}
.inline-file-preview>div:first-child{display:flex;align-items:center;gap:8px}
.inline-file-preview>div:first-child strong{flex:1;min-width:0;overflow-wrap:anywhere}
.inline-file-preview>div:first-child a{font-size:11px}
.inline-file-preview button{flex:none;min-height:36px;min-width:36px;padding:0}
.inline-file-content{overflow:auto;max-height:62dvh;margin-top:5px}
.inline-file-content img{display:block;max-width:100%;max-height:58dvh;object-fit:contain;margin:auto}
.inline-file-content iframe{display:block;width:100%;height:58dvh;border:0}
.inline-file-content table{border-collapse:collapse;font-size:12px}
.inline-file-content td{padding:4px 8px;border:1px solid #dce3e5;white-space:pre-wrap;min-width:55px}
.inline-file-content p{white-space:pre-wrap;overflow-wrap:anywhere}

.customer-file-preview{box-sizing:border-box;width:min(900px,calc(100% - 20px));max-height:90dvh;margin:auto;padding:0;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);overflow:auto}
.customer-file-preview::backdrop{background:#15272bb3}
.customer-file-preview header{display:flex;align-items:center;gap:10px;padding:8px 12px;border-bottom:1px solid var(--line)}
.customer-file-preview header strong{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px}
.customer-file-preview header a{font-size:13px}
.customer-file-preview header button{min-width:44px;min-height:44px;padding:0;font-size:22px}
.customer-preview-body{display:grid;place-items:center;min-height:110px;background:#f5f7f7}
.customer-preview-body img{display:block;max-width:100%;max-height:72dvh;object-fit:contain}
.customer-preview-body iframe{display:block;width:100%;height:72dvh;border:0}
.customer-preview-body p{padding:16px}


@media(max-width:650px){.portal-header{min-height:68px}.page-heading{padding:17px 0 15px}.page-heading h1{font-size:23px}.portal-layout{gap:12px}.trip-sidebar{display:contents}.trip-card{order:0;width:100%;padding:10px 12px}.trip-card>label{font-size:0}.trip-card select{font-size:12px;min-height:40px;margin-top:0}.trip-details{margin-top:8px;padding-top:8px}.conversation{order:1}.files-card{order:2;width:100%}.messages{height:37vh}.portal-footer{margin-top:8px}}

/* Selected files remain local until Send; each item can be removed independently. */
.selected-file-list{flex-basis:100%;width:100%;min-width:0}.selected-file-items{list-style:none;padding:0;margin:4px 0;border:1px solid #dce5de;border-radius:8px;overflow:hidden}.selected-file-row{display:flex;align-items:center;gap:8px;min-height:36px;padding:2px 8px;background:#fafcf9;border-bottom:1px solid #e5ebe5}.selected-file-row:last-child{border-bottom:0}.selected-file-info{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.selected-file-info strong{display:block;min-width:0;flex:1;font-size:12px;line-height:1.5;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#183e32}.selected-file-info small{display:block;flex:0 0 auto;font-size:10px;line-height:1.5;white-space:nowrap;color:#65796f;margin:0}.selected-file-row .remove-file{display:grid;place-items:center;flex:0 0 32px;width:32px;min-height:32px;padding:0;border:0;border-radius:6px;background:transparent;color:#76857b;font-size:21px;line-height:1;font-weight:400;cursor:pointer}.selected-file-row .remove-file:hover{background:#fff0eb;color:#913d34}.selected-file-row .remove-file:focus-visible{outline:2px solid #b78335;outline-offset:-2px}.selected-file-row .remove-file:disabled{cursor:wait;opacity:.55}.selected-file-row.invalid{background:#fff8f5}.selected-file-row.invalid .selected-file-info{flex-wrap:wrap;gap:0 12px;padding:4px 0}.selected-file-row.invalid small{flex-basis:100%;white-space:normal;color:#98392e}.selected-file-error{color:#98392e;font-size:12px;margin:5px 0}.attachment-picker>.selected-file-list{flex-basis:100%}
/* Localized file trigger; native browser chrome follows the device language. */
.attachment-picker>label{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto;width:fit-content;min-width:0;min-height:40px;padding:8px 12px;border:1px solid #bdd1c1;border-radius:7px;background:#f3f7f0;color:#145b44;cursor:pointer;gap:0}
.attachment-picker>label:focus-within{outline:3px solid #c48b3b;outline-offset:2px}
.attachment-picker input[type=file]{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:0;border:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}

/* Keep Send anchored to the attachment toolbar, independent of file count. */
#message-form .composer-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:4px 14px}
#message-form .attachment-picker{display:contents}
#message-form .attachment-picker>label{grid-column:1;grid-row:1;min-width:0}
#message-form .composer-bottom>button[type=submit]{grid-column:2;grid-row:1;align-self:center;width:auto;margin:0}
#message-form .attachment-picker>small{grid-column:1/-1}
#message-form .attachment-picker>.selected-file-list{grid-column:1/-1;width:100%;min-width:0}
#message-form #clear-files{grid-column:1/-1;justify-self:start}
@media(max-width:650px){#message-form .composer-bottom{gap:5px 8px}#message-form .composer-bottom>button[type=submit]{font-size:12px;padding:10px 12px;min-height:44px}#message-form .attachment-picker input{font-size:10px}}


/* Same sender colors in the customer portal; customer stays right, team left. */
.messages>article.customer{background:#fff;border:1px solid #cfdad2;color:#183e32;margin-left:auto;margin-right:0;border-radius:12px 12px 3px 12px}
.messages>article:not(.customer){background:#dcefe4;border:1px solid #b3d5c1;color:#143d2c;margin-left:0;margin-right:auto;border-radius:12px 12px 12px 3px}
.messages>article:not(.customer)>strong{color:#38614b}

/* VTF source only. Never recolor the three RA customer workspaces. */
html{--portal-accent:#237355;--portal-section:#e3f0e8;--portal-divider:#b5d2c1;--portal-paper:#f4f9f5;--portal-secondary:#edf5ef;--portal-tag:#e4f1e9}
html[data-brand="vtf"]{--portal-accent:#c35d32;--portal-section:#e5edf9;--portal-divider:#b8cbe5;--portal-paper:#f3f6fc;--portal-secondary:#fff1e7;--portal-tag:#ffeadc}
html #account .conversation{border-color:var(--portal-divider);border-top:3px solid var(--portal-accent)}
html #account .conversation .conversation-heading{background:var(--portal-heading,#c9e6d6);border-bottom:1px solid var(--portal-divider);color:var(--ink)}
html[data-brand="vtf"]{--portal-heading:#d2e1f6}
html #account .conversation #messages{background:var(--portal-paper)}
html #account .conversation #message-form{background:#fff;border-top:1px solid var(--portal-divider)}
html #account .conversation .customer-format-tools{background:var(--portal-section)}
html #account :is(.trip-card,.files-card,.trip-details){border-color:var(--portal-divider)}
html #account .files-card{background:var(--portal-secondary);border-inline-start:3px solid var(--portal-accent)}
html #account .files-card summary span,html #account .files-card .shared-doc-row::before{background:var(--portal-tag);color:var(--ink)}
html #account .files-card .shared-documents{background:#fff}
html #account .trip-details{background:var(--portal-paper);border-inline-start:3px solid var(--portal-accent)}
html #account .trip-details summary{color:var(--ink);font-weight:700}
html #account .trip-status{background:var(--portal-section);border-color:var(--portal-divider);color:var(--ink)}
html[data-brand="vtf"]{--ink:#112d55;--green:#112d55;--muted:#5b6b82;--line:#d6e0ef;color:#112d55;background:#f3f6fb}
html[data-brand="vtf"] .portal-header{border-top:3px solid #ff7955}
html[data-brand="vtf"] :is(input,select,textarea){border-color:#b7c9e2;accent-color:#112d55}
html[data-brand="vtf"] :is(button,a,input,select,textarea,summary):focus-visible{outline-color:#ff7955}
html[data-brand="vtf"] button:not(.text-button):not(.secondary):not(.remove-file):hover{background:#1c416f;border-color:#ff7955}
html[data-brand="vtf"] .privacy-badge{border-left-color:#ff7955}
html[data-brand="vtf"] :is(.advisor-avatar,.conversation-label,.files-card summary span){background:#e8eff9;color:#112d55}
html[data-brand="vtf"] .messages{background:#f6f8fc}
html[data-brand="vtf"] .messages>article.customer{background:#fff;border-color:#cfdaeb;color:#112d55}
html[data-brand="vtf"] .messages>article:not(.customer){background:#e4ecf8;border-color:#b7cbe5;color:#112d55}
html[data-brand="vtf"] .messages strong,html[data-brand="vtf"] .messages>article:not(.customer)>strong{color:#5b6b82}
html[data-brand="vtf"] .attachment-picker>label{background:#f0f4fa;border-color:#b7c9e2;color:#112d55}
html[data-brand="vtf"] .attachment-link{border-color:#c6d5e9;color:#112d55}
html[data-brand="vtf"] .attachment-link:hover{background:#f0f4fa;border-color:#ff7955}
html[data-brand="vtf"] .selected-file-row{background:#f6f8fc;border-color:#d6e0ef}
html[data-brand="vtf"] .selected-file-info strong{color:#112d55}
html[data-brand="vtf"] .selected-file-info small{color:#5b6b82}
html[data-brand="vtf"] .selected-file-items{border-color:#d6e0ef}
html[data-brand="vtf"] dl>div{border-color:#e8edf5}

.vtf-wordmark{font-size:18px;font-weight:800;letter-spacing:-.03em;color:#112d55;white-space:nowrap}.vtf-wordmark>span{color:#bf4726}.brand:has(.vtf-wordmark:not([hidden])){text-decoration:none}

/* Customer sign-in — focused, brand-aware layout, 2026-11-03. */
#login.login-card{max-width:none;width:100%}

body:has(#login:not([hidden])),body:has(#link-login:not([hidden])){background:#fff;min-height:100dvh}
body:has(#login:not([hidden])) main,body:has(#link-login:not([hidden])) main{max-width:1160px}
body:has(#login:not([hidden])) .portal-header,body:has(#link-login:not([hidden])) .portal-header{min-height:100px;border-bottom:1px solid var(--line)}
body:has(#login:not([hidden])) .brand img,body:has(#link-login:not([hidden])) .brand img{width:155px;height:57px}
body:has(#login:not([hidden])) .page-heading,body:has(#link-login:not([hidden])) .page-heading{display:block;text-align:center;max-width:720px;margin:0 auto;padding:38px 0 28px}
body:has(#login:not([hidden])) .page-heading h1,body:has(#link-login:not([hidden])) .page-heading h1{font-size:32px;line-height:1.25;margin-bottom:10px}
body:has(#login:not([hidden])) .page-heading .eyebrow,body:has(#link-login:not([hidden])) .page-heading .eyebrow{font-size:10px;letter-spacing:.16em;margin-bottom:12px;color:var(--green)}
body:has(#login:not([hidden])) .page-heading #welcome,body:has(#link-login:not([hidden])) .page-heading #welcome{font-size:14px;line-height:1.6}
body:has(#login:not([hidden])) .privacy-badge,body:has(#link-login:not([hidden])) .privacy-badge{display:none}
.login-card{--login-tone:#174d3b;--login-accent:#e2bc76;display:grid;grid-template-columns:1fr 1.1fr;gap:0;padding:0;margin:0 auto 24px;max-width:940px;border:1px solid #dce5df;border-radius:18px;box-shadow:0 14px 42px #173e3210;overflow:hidden;align-items:stretch}
.login-card>div:first-child{background:var(--login-tone);color:#fff;padding:40px 34px;position:relative;overflow:hidden}
.login-card>div:first-child:after{content:'';position:absolute;width:200px;height:200px;border:1px solid #ffffff13;border-radius:50%;right:-110px;bottom:-100px;pointer-events:none}
.login-card>div:first-child .eyebrow{color:#d0e2d6;font-size:10px;letter-spacing:.15em;margin:0 0 20px}
.login-card h2{font-size:27px;line-height:1.24;letter-spacing:-.035em;margin:0 0 18px;max-width:300px}
.login-card>div:first-child p{font-size:14px;line-height:1.8;color:#e0ece4}
.login-card>div:first-child p.hint{font-size:12px;margin-top:32px;padding-top:20px;border-top:1px solid #ffffff26}
.login-card>div:first-child a{color:#fff;text-decoration-color:var(--login-accent);text-underline-offset:4px;font-weight:650;line-height:2}
.login-card>div:nth-child(2),.login-card>form{padding:42px 36px;display:flex;flex-direction:column;justify-content:center;background:#fff;min-width:0}
.login-card label{font-size:13px;font-weight:650;color:var(--ink);line-height:1.5}
.login-card input{border:1px solid #b9cdc1;background:#fff;border-radius:9px;font-size:16px;min-height:50px;padding:12px 14px;margin:9px 0 16px;box-shadow:0 1px 2px #173e3203}
.login-card input::placeholder{color:#84928b;font-weight:400}
.login-card input:focus{border-color:var(--green);outline:3px solid #b9cdc14d;outline-offset:1px}
.login-card form button{border-radius:9px;min-height:50px;font-size:14px;letter-spacing:0;padding:12px 16px;margin:0;transition:background .15s ease}
.login-card form button:hover{background:#1f614a}
.login-card>div:nth-child(2)>.hint{font-size:11px;line-height:1.75;color:var(--muted);margin-top:18px;padding-top:17px;border-top:1px solid var(--line)}
.login-card #login-instructions:empty{display:none}
.login-card #login-instructions:not(:empty){background:#f1f7f3;border:1px solid #d6e6dc;border-radius:8px;padding:12px;color:var(--ink);font-size:12px}
.login-card #code-form{margin-top:18px}
.login-card #code-form input{font-size:23px;font-weight:650;letter-spacing:.35em;text-align:center}
.login-card #cancel-link{margin-top:9px}
body:has(#login:not([hidden])) #status:not(:empty),body:has(#link-login:not([hidden])) #status:not(:empty){max-width:940px;margin:0 auto 18px;font-size:13px}
body:has(#login:not([hidden])) .portal-footer,body:has(#link-login:not([hidden])) .portal-footer{font-size:11px;padding:12px 0 28px}
html[data-brand="vtf"] .login-card{--login-tone:#112d55;--login-accent:#ff7955;border-color:#d6e0ef}
html[data-brand="vtf"] .login-card>div:first-child .eyebrow,html[data-brand="vtf"] .login-card>div:first-child p{color:#e0e8f4}
html[data-brand="vtf"] .login-card>div:first-child a{color:#fff}
html[data-brand="vtf"] .login-card input:focus{outline-color:#ff79554d;border-color:#112d55}
html[data-brand="vtf"] .login-card #login-instructions:not(:empty){background:#f1f5fb;border-color:#d6e0ef}
@media(max-width:700px){
 body:has(#login:not([hidden])) .portal-header,body:has(#link-login:not([hidden])) .portal-header{min-height:76px}
 body:has(#login:not([hidden])) .page-heading,body:has(#link-login:not([hidden])) .page-heading{padding:26px 8px 22px}
 body:has(#login:not([hidden])) .page-heading h1,body:has(#link-login:not([hidden])) .page-heading h1{font-size:26px}
 body:has(#login:not([hidden])) .page-heading #welcome,body:has(#link-login:not([hidden])) .page-heading #welcome{font-size:13px}
 .login-card{display:block;border-radius:14px;margin-bottom:18px}
 .login-card>div:first-child{padding:25px 24px}
 .login-card>div:first-child .eyebrow{margin-bottom:12px;font-size:9px}
 .login-card h2{font-size:23px;max-width:none;margin-bottom:12px}
 .login-card>div:first-child p{font-size:13px;line-height:1.7}
 .login-card>div:first-child p.hint{margin-top:18px;padding-top:14px}
 .login-card>div:nth-child(2),.login-card>form{padding:26px 24px;margin-top:0}
 .login-card>div:nth-child(2)>.hint{margin-top:16px;font-size:11px}
 .login-card input,.login-card form button{min-height:50px}
}
@media(prefers-reduced-motion:reduce){.login-card form button{transition:none}}

.password-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;background:#f3f6f3;border:1px solid var(--line);padding:4px;border-radius:10px;margin-bottom:16px}
#login.login-card .password-tabs button { min-height:44px; padding:6px 3px; font-size:clamp(11px, 2.6vw, 13px); line-height:1.25; overflow-wrap:break-word; }
#login.login-card #code-form { border-top:1px solid var(--line); margin-top:16px; padding-top:14px; }
#login.login-card #code-form input { font-variant-numeric:tabular-nums; }

.login-card .password-tabs button{padding:8px;font-size:11px;line-height:1.5;min-height:40px;background:transparent;color:var(--muted);border:0;border-radius:6px}
.login-card .password-tabs button[aria-pressed=true]{background:var(--green);color:#fff;border:1px solid var(--green);box-shadow:0 2px 5px #173e321a}.login-card .password-tabs button[aria-pressed=false]{background:#fff;color:var(--ink);border:1px solid var(--line)}.login-card .password-tabs button[aria-pressed=false]:hover{background:#edf3ef;color:var(--ink)}
.password-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:12px}.password-links button{font-size:12px}
.password-panel h3{font-size:17px;color:var(--ink);line-height:1.5;margin:0 0 12px}.password-panel .hint{margin-bottom:16px}
.password-status{font-size:12px!important;line-height:1.7!important;color:var(--ink)!important;margin-top:14px!important;overflow-wrap:anywhere}.password-status:empty{display:none}
.password-reset-screen{margin:40px auto!important}
body:has(.password-reset-screen) :is(.page-heading,#login,#account,#link-login,#logout){display:none!important}
html[data-brand=vtf] .password-tabs{background:#f0f4fa}

/* Desktop sign-in fits a standard laptop viewport without clipping content. */
@media(min-width:900px){
 body:has(#login:not([hidden])) main,body:has(#link-login:not([hidden])) main{max-width:1160px}
 body:has(#login:not([hidden])) .portal-header,body:has(#link-login:not([hidden])) .portal-header{min-height:64px}
 body:has(#login:not([hidden])) .brand img,body:has(#link-login:not([hidden])) .brand img{width:132px;height:46px}
 body:has(#login:not([hidden])) .page-heading,body:has(#link-login:not([hidden])) .page-heading{padding:20px 0 18px}
 body:has(#login:not([hidden])) .page-heading h1,body:has(#link-login:not([hidden])) .page-heading h1{font-size:28px;margin-bottom:6px}
 body:has(#login:not([hidden])) .page-heading .eyebrow,body:has(#link-login:not([hidden])) .page-heading .eyebrow{margin-bottom:7px;font-size:9px}
 body:has(#login:not([hidden])) .page-heading #welcome,body:has(#link-login:not([hidden])) .page-heading #welcome{font-size:12px}
 .login-card{margin-bottom:10px;border-radius:14px}
 .login-card>div:first-child{padding:26px 30px}
 .login-card>div:first-child .eyebrow{margin-bottom:14px}
 .login-card h2{font-size:24px;max-width:350px;margin-bottom:14px}
 .login-card>div:first-child p{font-size:13px;line-height:1.7}
 .login-card>div:first-child p.hint{margin-top:22px;padding-top:15px;font-size:11px}
 .login-card>div:nth-child(2),.login-card>form{padding:26px 30px}
 .password-tabs{margin-bottom:16px}
 .login-card .password-tabs button{min-height:36px;padding:6px 8px}
 .login-card input{min-height:44px;padding:9px 12px;margin:7px 0 12px}
 .login-card form button{min-height:44px;padding:10px 14px;font-size:13px}
 .login-card>div:nth-child(2)>.hint{margin-top:13px;padding-top:12px;font-size:10px;line-height:1.6}
 .password-panel h3{font-size:16px;margin-bottom:8px}
 .password-panel .hint{font-size:12px;line-height:1.6;margin-top:0;margin-bottom:12px}
 .password-links{margin-top:8px}
 .password-status{font-size:11px!important;line-height:1.6!important;margin-top:10px!important}
 body:has(#login:not([hidden])) .portal-footer,body:has(#link-login:not([hidden])) .portal-footer{padding:10px 0 14px;font-size:10px}
}
@media(min-width:900px) and (max-height:700px){
 body:has(#login:not([hidden])) .page-heading,body:has(#link-login:not([hidden])) .page-heading{padding:14px 0}
 body:has(#login:not([hidden])) .page-heading h1,body:has(#link-login:not([hidden])) .page-heading h1{font-size:25px}
 .login-card>div:first-child,.login-card>div:nth-child(2),.login-card>form{padding:20px 26px}
}




.password-success{display:grid;gap:14px;text-align:center;color:var(--ink);outline:none}
.password-success-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto;border-radius:50%;background:#e8f3ec;color:var(--green);font-size:29px;font-weight:700}
.password-success h2{margin:0;max-width:none;font-size:25px}
.password-success p{font-size:15px;line-height:1.65;color:var(--muted)}
.password-success-email{font-weight:650;color:var(--ink)!important;overflow-wrap:anywhere}
.password-success button{width:100%;min-height:48px;margin-top:8px}
html[data-brand=vtf] .password-success-icon{background:#e8eff9;color:#112d55}


/* Customer conversation: clear sender contrast and branded workspace. */
#account .conversation .conversation-heading{background:#fff;color:#183e32;border-top:4px solid #145b44;border-bottom:1px solid #c7d5cc}
#account .conversation .conversation-heading h2{color:#183e32}
#account .conversation .conversation-heading p{color:#526b5c}
#account .conversation .conversation-label{background:#edf4ef;color:#174d3b;border-color:#c7d5cc}
html[data-brand="vtf"] #account .conversation .conversation-heading{background:#fff;color:#112d55;border-top:4px solid #ff7955;border-bottom:1px solid #c5d3e7}
html[data-brand="vtf"] #account .conversation .conversation-heading h2{color:#112d55}
html[data-brand="vtf"] #account .conversation .conversation-heading p{color:#516987}
html[data-brand="vtf"] #account .conversation .conversation-label{background:#edf2fa;color:#112d55;border-color:#c5d3e7}

#account .conversation{border:1px solid #bdcec4;box-shadow:0 6px 24px #173e320c;border-radius:16px}
#account .conversation-heading{background:var(--green);color:#fff;border-bottom:0;padding:20px 24px}
#account .conversation-heading h2{color:#fff;font-size:21px;font-weight:700}
#account .conversation-heading p{color:#e1eee7;font-size:13px;margin-top:6px}
#account .conversation-label{background:#ffffff1c;border:1px solid #ffffff45;color:#fff;font-size:11px;padding:6px 11px}
#account #messages{background:#eef2f0;padding:24px;scrollbar-color:#a5b8ad #eef2f0}
#account #messages>article{max-width:85%;padding:15px 18px;margin-bottom:18px;box-shadow:0 2px 5px #172b2010;line-height:1.65}
#account #messages>article.customer{background:#fff;border:1px solid #bdccc3;color:#20372d;margin-left:auto;margin-right:0;border-radius:15px 15px 4px 15px}
#account #messages>article.staff{background:#174d3b;border:1px solid #174d3b;color:#fff;margin-left:0;margin-right:auto;border-radius:15px 15px 15px 4px}
#account #messages>article>strong{font-size:12px;font-weight:650;line-height:1.5;margin-bottom:8px}
#account #messages>article.customer>strong{color:#4c6658}
#account #messages>article.staff>strong{color:#d7e9dd!important}
#account #messages p{font-size:15px;line-height:1.7}
#account #messages summary{font-size:13px;line-height:1.6}
#account #messages .attachment-link{padding:11px 13px;border-radius:9px;font-size:13px;box-shadow:none}
#account #messages>article.staff .attachment-link{background:#ffffff17!important;border-color:#ffffff4a!important;color:#fff!important}
#account #messages>article.staff .attachment-link small{color:#d7e9dd;font-size:11px}
#account #messages>article.staff .attachment-link:hover{background:#ffffff29;border-color:#ffffff9c}
#account #messages>article.customer .attachment-link{background:#f4f7f5;border-color:#cedbd3;color:#174d3b}
#account #message-form{padding:20px 24px 16px;background:#fff;border-top:1px solid #c7d5cc}
#account #message-text{font-size:16px;line-height:1.6;min-height:96px;border:1px solid #97b5a4;padding:13px 15px;background:#fff;border-radius:11px}
#account #message-text::placeholder{color:#62796c;opacity:1}
#account #message-text:focus{border-color:var(--green);outline:3px solid #145b441c;outline-offset:1px}
#account #message-form .attachment-picker>label{background:#edf4ef;border:1px solid #a9c2b3;color:#174d3b;font-size:12px}
#account #message-form .composer-bottom>button[type=submit]{min-height:46px;font-size:14px;padding:11px 20px;border-radius:9px}
#account .conversation-hint{font-size:12px;line-height:1.65;color:#526b5c;padding:0 24px 16px}
#account .trip-card,#account .advisor-card,#account .files-card{border-color:#c4d3ca}
#account .advisor-avatar{background:#174d3b;color:#fff}
html[data-brand="vtf"] #account .conversation{border-color:#bacbe2;box-shadow:0 6px 24px #112d550c}
html[data-brand="vtf"] #account .conversation-heading{background:#112d55;border-top:3px solid #ff7955}
html[data-brand="vtf"] #account .conversation-heading p{color:#dce6f5}
html[data-brand="vtf"] #account .conversation-label{background:#ffffff1c;color:#fff;border-color:#ffffff45}
html[data-brand="vtf"] #account #messages{background:#eef2f8;scrollbar-color:#a1b6d1 #eef2f8}
html[data-brand="vtf"] #account #messages>article.staff{background:#112d55;border-color:#112d55;color:#fff}
html[data-brand="vtf"] #account #messages>article.staff>strong{color:#dce6f5}
html[data-brand="vtf"] #account #messages>article.customer{background:#fff;border-color:#bacbe2;color:#112d55}
html[data-brand="vtf"] #account #messages>article.customer>strong{color:#516987}
html[data-brand="vtf"] #account #messages>article.staff .attachment-link{color:#fff;background:#ffffff17;border-color:#ffffff4a}
html[data-brand="vtf"] #account #messages>article.staff .attachment-link small{color:#dce6f5}
html[data-brand="vtf"] #account #messages>article.customer .attachment-link{background:#f3f6fb;border-color:#c5d3e7;color:#112d55}
html[data-brand="vtf"] #account #message-form{border-color:#c5d3e7}
html[data-brand="vtf"] #account #message-text{border-color:#93afd2}
html[data-brand="vtf"] #account #message-text:focus{border-color:#112d55;outline-color:#ff79554d}
html[data-brand="vtf"] #account #message-form .attachment-picker>label{background:#edf2fa;border-color:#b5c8e2;color:#112d55}
html[data-brand="vtf"] #account .conversation-hint{color:#516987}
html[data-brand="vtf"] #account .advisor-avatar{background:#112d55;color:#fff}
@media(max-width:650px){
 #account .conversation-heading{padding:17px 16px}
 #account .conversation-heading h2{font-size:19px}
 #account .conversation-heading p{font-size:12px}
 #account #messages{padding:18px 12px}
 #account #messages>article{max-width:94%;padding:13px 14px}
 #account #messages p{font-size:15px}
 #account #message-form{padding:16px 14px}
 #account .conversation-hint{padding:0 14px 14px;font-size:11px}
}

/* Comfortable desktop reading, including older travellers. */
@media(min-width:900px){
 body:has(#login:not([hidden])) .page-heading{padding:22px 0 20px}
 body:has(#login:not([hidden])) .page-heading h1{font-size:30px}
 body:has(#login:not([hidden])) .page-heading #welcome{font-size:15px}
 .login-card>div:first-child,.login-card>div:nth-child(2),.login-card>form{padding:28px 30px}
 .login-card h2{font-size:27px;max-width:400px}
 .login-card>div:first-child p{font-size:16px;line-height:1.65}
 .login-card>div:first-child .eyebrow{font-size:12px}
 .login-card>div:first-child p.hint{font-size:14px;margin-top:20px}
 .login-card label{font-size:15px}
 .login-card input{font-size:17px;min-height:48px}
 .login-card .password-tabs button{font-size:14px;min-height:44px}
 .login-card form button{font-size:16px;min-height:48px}
 .password-tabs{margin-bottom:18px}
 .password-links button,.password-panel .text-button{font-size:14px;min-height:36px}
 .password-panel h3{font-size:19px}
 .password-panel .hint{font-size:15px;line-height:1.6}
 .login-card>div:nth-child(2)>.hint,.password-status{font-size:13px!important;line-height:1.65!important}
 body:has(#login:not([hidden])) .portal-footer{font-size:12px}
}

/* Trip lifecycle and repeat enquiries. */
html body #new-trip-dialog{width:min(600px,calc(100vw - 32px));border-radius:18px;border-color:#d4e1d9;max-height:90dvh}
html body #new-trip-dialog #new-trip-form{padding:0 26px 24px;display:grid;gap:16px}
html body #new-trip-dialog #new-trip-form[hidden]{display:none}
html body #new-trip-dialog .new-trip-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 -26px;padding:20px 26px;background:#f4f8f5;border-bottom:1px solid #dfe8e2}
html body #new-trip-dialog #new-trip-title{font-size:22px;line-height:1.3;margin:0;color:#184d3b}
html body #new-trip-dialog #close-new-trip{display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:0;border:1px solid #ceddd3;border-radius:50%;background:#fff;color:#244c3b;font:26px/1 Arial;cursor:pointer}
html body #new-trip-dialog #new-trip-account{font-size:12px;line-height:1.5;padding:10px 12px;background:#f5f7f6;border-radius:7px;margin:0;color:#62756a;overflow-wrap:anywhere}
html body #new-trip-dialog #new-trip-form label{display:grid;gap:7px;font-size:13px;font-weight:600;margin:0}
html body #new-trip-dialog #new-trip-form input,html body #new-trip-dialog #new-trip-form textarea{font-size:14px;font-weight:400;line-height:1.5;padding:10px 12px;margin:0;border:1px solid #cbdcd1;border-radius:8px}
html body #new-trip-dialog #new-trip-form input{height:44px;min-height:44px}
html body #new-trip-dialog #new-trip-form textarea{min-height:120px;max-height:220px;resize:vertical}
html body #new-trip-dialog #new-trip-submit{margin:2px 0 0;min-height:42px;padding:10px 18px;border-radius:8px;font-size:14px}
html body #new-trip-dialog #cancel-new-trip{margin:0;min-height:36px;font-size:13px;color:#536d5e}
html body #new-trip-dialog :is(input,textarea,button):focus-visible{outline:2px solid #27845b;outline-offset:2px}

#new-trip-dialog{width:min(580px,calc(100% - 32px));max-height:90vh;overflow:auto;padding:0;border:1px solid #d8e1de;border-radius:16px;background:#fff;color:#24352f;box-shadow:0 20px 80px #102d3540}#new-trip-dialog::backdrop{background:#102d3559;backdrop-filter:blur(2px)}#new-trip-dialog #new-trip-form{margin:0;padding:28px;border:0;background:#fff}#new-trip-dialog #new-trip-form h3{font-size:24px}#new-trip-dialog #new-trip-form label{font-size:16px}#new-trip-dialog #new-trip-form textarea{min-height:140px}#new-trip-dialog #new-trip-form input,#new-trip-dialog #new-trip-form textarea{font-size:16px;padding:12px}#new-trip-dialog #new-trip-submit{margin-right:16px}
#trip-lifecycle{margin:12px 0;font-size:13px;line-height:1.6}#trip-lifecycle p{margin:8px 0;overflow-wrap:anywhere}.trip-status{display:inline-block;background:#edf4f0;color:#174d3b;border:1px solid #ccded4;border-radius:20px;padding:5px 11px}#new-trip{width:100%;margin:0 0 16px}#new-trip-form{margin:12px 0 20px;padding:14px;border:1px solid #d8e1de;border-radius:10px;background:#fafbfc}#new-trip-form h3{font-size:18px;margin:0 0 10px}#new-trip-form label{font-size:14px}#new-trip-form input,#new-trip-form textarea{width:100%;min-width:0;font-size:15px;padding:10px}#new-trip-form button{font-size:14px;padding:11px;margin-top:10px}html[data-brand="vtf"] .trip-status{background:#edf2fa;color:#112d55;border-color:#d1dced}
.past-trip-list{margin:14px 0;padding:12px 0;border-top:1px solid #e0e6e3;font-size:13px}.past-trip-list summary{font-weight:650;cursor:pointer}.past-trip-list>p{font-size:12px;color:#7a8982;margin:10px 0}.past-trip-entry{display:block;width:100%;margin-top:8px;padding:10px;text-align:left;border:1px solid #e0e6e3;border-radius:7px;background:#fff;color:inherit;cursor:pointer}.past-trip-entry:hover{background:#f7f9f8}.past-trip-entry strong,.past-trip-entry small{display:block;overflow-wrap:anywhere}.past-trip-entry small{margin-top:4px;color:#7a8982;font-size:11px}
/* Enquiry details shared by the sidebar and original chat receipt. */
#trip-overview dd{white-space:pre-line;overflow-wrap:anywhere}
html #account .conversation #messages .enquiry-summary{margin:14px 0 0;padding-left:22px;font-size:16px;line-height:1.65}
html #account .conversation #messages .enquiry-summary li{padding-left:3px;margin:8px 0}
html #account .conversation #messages .enquiry-summary span{white-space:pre-line;overflow-wrap:anywhere}
/* Evaneos-inspired conversation: white canvas, cream adviser and soft teal traveller bubbles. */
html #account .conversation{border:1px solid #d8dfe5;box-shadow:0 4px 18px #12273808;border-radius:14px}
html #account .conversation .conversation-heading{background:var(--portal-heading,#c9e6d6);border-top:0;border-bottom:1px solid var(--portal-divider);padding:18px 22px}
html #account .conversation .conversation-heading h2{color:#24352f;font-size:20px}
html #account .conversation .conversation-heading p{color:#5c6b65;font-size:13px}
html #account .conversation #messages{background:#fff;padding:24px 22px;scrollbar-color:#b8c3cb #fff}
html #account .conversation #messages>article{width:fit-content;max-width:82%;min-width:150px;padding:14px 17px;margin-bottom:20px;box-shadow:none}
html #account .conversation #messages>article.staff{background:#f7f5ec;border:1px solid #e8e4d7;color:#292e2c;border-radius:4px 16px 16px 16px;margin-left:0;margin-right:auto}
html #account .conversation #messages>article.customer{background:#e5f1ee;border:1px solid #cbdfd8;color:#253832;border-radius:16px 4px 16px 16px;margin-left:auto;margin-right:0}
html #account .conversation #messages>article.staff>strong,html #account .conversation #messages>article.customer>strong{color:#52616b!important;font-size:12px;font-weight:650;margin-bottom:7px}
html #account .conversation #messages>article p{font-size:16px;line-height:1.65}
html #account .conversation #messages>article .attachment-link{background:#fff!important;border:1px solid #cbd5df!important;color:#263b4b!important;padding:11px 13px;border-radius:9px;font-size:13px}
html #account .conversation #messages>article .attachment-link small{color:#5b6c78!important;font-size:11px}
html #account .conversation #messages>article .attachment-link:hover{background:#f8fafc!important;border-color:#829aaf!important}
html #account .conversation #message-form{background:#fafbfc;border-top:1px solid #dfe5eb;padding:18px 22px}
html #account .conversation #message-text{background:#fff;border-color:#b8c6d0;color:#24362f;font-size:16px;box-shadow:0 1px 3px #162c3b05}
html #account .conversation #message-text::placeholder{color:#687880}
html #account .conversation #message-form .attachment-picker>label{background:#fff;border-color:#c6d1d9;color:#344c43}
html #account .conversation .conversation-hint{background:#fafbfc;color:#5b6b66;font-size:12px;padding-bottom:14px}
html[data-brand="vtf"] #account .conversation .conversation-heading{background:var(--portal-heading,#c9e6d6);border-top:0;border-bottom:1px solid var(--portal-divider)}
html[data-brand="vtf"] #account .conversation #messages{background:#fff}
html[data-brand="vtf"] #account .conversation #messages>article.staff{background:#e1f2e7;border-color:#afd3bb;color:#214d35}
html[data-brand="vtf"] #account .conversation #messages>article.customer{background:#e3edf8;border-color:#c5d8ed;color:#24445c}
html[data-brand="vtf"] #account .conversation #messages>article.staff>strong{color:#52616b!important}
html[data-brand="vtf"] #account .conversation #messages>article .attachment-link{background:#fff!important;color:#263b4b!important;border-color:#cbd5df!important}
html[data-brand="vtf"] #account .conversation #message-form{background:#fafbfc}
html[data-brand="vtf"] #account .conversation #message-form .attachment-picker>label{background:#fff;color:#112d55;border-color:#c6d1d9}
@media(max-width:650px){
 html #account .conversation .conversation-heading{padding:15px 16px}
 html #account .conversation .conversation-heading h2{font-size:18px}
 html #account .conversation #messages{padding:20px 12px}
 html #account .conversation #messages>article{max-width:94%;min-width:130px;padding:12px 14px}
 html #account .conversation #message-form{padding:9px 12px}
 body:has(#account:not([hidden])) .page-heading{display:none}
 body:has(#account:not([hidden])) .portal-header{padding-block:6px}
 body:has(#account:not([hidden])) .portal-header .brand img{max-height:36px;width:auto;object-fit:contain}
 html #account:not([hidden]){display:flex;flex-direction:column;gap:12px;margin-top:8px}
 html #account .conversation{order:-1;width:100%}
 html #account .conversation .conversation-heading{padding:10px 12px}
 html #account .conversation .conversation-heading h2{font-size:16px;margin:0}
 html #account .conversation .conversation-heading p{display:none}
 html #account .conversation #messages{height:clamp(174px,38.4svh,360px);min-height:0;max-height:none;padding:10px}
 html #account .conversation .composer-bottom{align-items:start}
 html #account .conversation .composer-bottom>.attachment-picker>label,
 html #account .conversation .composer-bottom>button[type="submit"]{display:inline-flex;align-items:center;justify-content:center;height:44px;min-height:44px;margin:0;padding-block:0}
 html #account .conversation #messages>article{margin-bottom:8px;padding:8px 10px}
 html #account .conversation #message-text{min-height:48px;height:54px;padding:8px}
 html #account .conversation .conversation-hint{padding:0 12px 8px;margin:0;font-size:11px}
 html #account .trip-sidebar,html #account .trip-sidebar .trip-card{display:contents}
 html #account .files-card{order:0}
 html #account .files-card .shared-doc-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:6px;padding:5px 7px}
 html #account .files-card .shared-doc-row::before{content:attr(data-file-type);text-align:center;padding:4px 2px;border-radius:5px;background:#edf4f0;color:#205943;font-size:10px;font-weight:700}
 html #account .files-card .shared-doc-row>a{min-width:0;border:0;padding:6px 2px;font-size:12px}
 html #account .files-card .shared-doc-row>small{font-size:10px;white-space:nowrap}
 html #account .trip-card>.eyebrow,html #account .trip-card>label,html #account #trip-lifecycle,html #account #request-reference,html #account .trip-details{order:1}
 html #account .trip-details{margin:0;padding:8px 12px;border:1px solid #d8e4dd;border-radius:10px}
 html #account .current-trip-bar{order:-2;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;padding:6px 8px;border:1px solid var(--portal-divider);border-radius:10px;background:var(--portal-paper)}
 html #account .current-trip-bar label{min-width:0;margin:0}
 html #account .current-trip-bar #requests{box-sizing:border-box;width:100%;min-width:0;margin:0;padding:6px 4px;font-size:11px}
 html #account .current-trip-bar #trip-lifecycle{margin:0;align-self:end;min-height:32px;display:flex;align-items:center;justify-content:center}
 html #account .current-trip-bar #requests{display:block;height:32px;min-height:32px}
 html #account .current-trip-bar{box-sizing:border-box;width:100%;align-self:stretch;gap:0 8px;padding:8px 10px;background:#fff}
 html #account .current-trip-bar>label{display:contents}
 html #account .current-trip-bar>label>span{grid-column:1;grid-row:1;margin-bottom:4px}
 html #account .current-trip-bar>label>#requests{grid-column:1;grid-row:2;align-self:center}
 html #account .current-trip-bar #trip-lifecycle{align-self:center!important}
 html #account .current-trip-bar>label>span{font-size:11px;line-height:14px;color:var(--muted)}
 html #account .current-trip-bar #requests{height:34px;min-height:34px;padding-inline:6px}
 html #account .current-trip-bar #trip-lifecycle{grid-column:2;grid-row:2;height:34px;min-height:34px}
 html #account .current-trip-bar .trip-status{display:inline-flex;align-items:center;gap:5px;margin:0;padding:4px 7px;border:0;border-radius:6px;background:var(--portal-section);line-height:14px;font-weight:650}
 html #account .current-trip-bar .trip-status::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--portal-accent)}
 html #account .current-trip-bar .trip-status{padding:4px 6px;font-size:10px;white-space:nowrap}
 html #account .trip-details{width:100%;box-sizing:border-box;align-self:stretch;background:#fff;padding:10px 12px;border-inline-start:3px solid var(--portal-accent)}
 html #account .trip-details summary{background:var(--portal-section);padding:7px 9px;border-radius:6px}
 html #account .trip-details dl{width:100%;margin:8px 0 0}
 html #account .files-card.personal-info{order:6}
 html #account #past-trip-list{order:2;width:100%;box-sizing:border-box;padding:0;background:#fff;border:1px solid var(--portal-divider);border-radius:10px;overflow:hidden}
 html #account #past-trip-list>summary{display:flex;align-items:center;gap:8px;padding:10px 12px;background:var(--portal-paper);list-style:none}
 html #account #past-trip-list>summary::-webkit-details-marker{display:none}
 html #account #past-trip-list>summary::before{content:'›';font-size:16px}
 html #account #past-trip-list[open]>summary::before{transform:rotate(90deg)}
 html #account .past-trip-count{margin-inline-start:auto;padding:2px 8px;border-radius:20px;background:var(--portal-section);font-size:11px}
 html #account #past-trip-list>p{margin:0;padding:12px;color:var(--muted)}
 html #account #past-trip-list .past-trip-entry{box-sizing:border-box;width:calc(100% - 20px);margin:5px 10px;padding:8px 10px;text-align:start;background:var(--portal-paper);border:1px solid var(--portal-divider);color:var(--ink);overflow-wrap:anywhere}
 html #account #past-trip-list .past-trip-entry small{display:block;margin-top:3px;color:var(--muted)}
 html #account #new-trip{order:3}
 html #account .advisor-card{order:4}
 html #account:not([hidden])>*:not(.conversation):not(.trip-sidebar){order:5}
 html #account .trip-sidebar #trip-lifecycle,html #account .trip-sidebar .past-trip-list{margin:8px 0}
}

body:has(#login:not([hidden])) .portal-header{min-height:64px}
body:has(#login:not([hidden])) .page-heading{padding:16px 0 14px}
body:has(#login:not([hidden])) .page-heading .eyebrow{margin-bottom:4px}
body:has(#login:not([hidden])) .page-heading h1{font-size:clamp(22px,3vw,29px);margin-bottom:4px}
#login.login-card>div:first-child,#login.login-card>div:nth-child(2){padding:18px 22px}
#login.login-card>div:first-child p{line-height:1.5}
#login.login-card>div:first-child p.hint{margin-top:8px;padding-top:8px}
@media(max-width:650px){
  #login.login-card>div:first-child,#login.login-card>div:nth-child(2){padding:12px 16px}
}

.google-sign-in{margin-bottom:12px;text-align:center}
.google-sign-in>div{display:flex;justify-content:center;min-height:40px}
.google-sign-in>div svg{max-width:20px;max-height:20px;flex-shrink:0}
.google-sign-in-divider{display:flex;align-items:center;gap:12px;margin:12px 0 0}
.google-sign-in-divider::before,.google-sign-in-divider::after{content:'';height:1px;background:var(--line);flex:1}
/* Desktop sign-in uses a single, centered column. */
@media (min-width: 901px) {
  body:has(#login:not([hidden])) { background: #f7f9f6; }
  body:has(#login:not([hidden])) .portal-header { min-height: 68px; }
  body:has(#login:not([hidden])) .page-heading { padding: 30px 0 22px; }
  body:has(#login:not([hidden])) .page-heading h1 { font-size: clamp(27px, 2.6vw, 36px); margin-bottom: 7px; }
  body:has(#login:not([hidden])) #status:not(:empty) { max-width: 500px; }
  #login.login-card {
    display: block;
    max-width: 500px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 36px #173e320d;
  }
  #login.login-card > div:first-child { background: transparent; padding: 21px 26px 13px; }
  #login.login-card > div:first-child::after { display: none; }
  #login.login-card > div:first-child p { color: #456154; line-height: 1.5; }
  #login.login-card > div:first-child p.hint { margin-top: 5px; padding: 0; border: 0; }
  #login.login-card > div:first-child a { color: #145b44; text-decoration-color: currentColor; }
  #login.login-card > div:nth-child(2) { padding: 0 26px 22px; margin: 0; }
}
