body{background:#f4f7f3;color:#233c30}body main{max-width:1280px;padding:0 28px 30px}body .portal-header{padding:16px 0;min-height:72px}body .page-heading{padding:26px 0 20px;margin:0;gap:20px}body .page-heading h1{font-size:28px;line-height:1.25;letter-spacing:-.025em;margin:8px 0 10px}body .page-heading .eyebrow{font-size:10px;letter-spacing:.15em}body #welcome{font-size:14px}body .privacy-badge{font-size:11px}body #account{grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}body .trip-sidebar{gap:16px}body .trip-card,body .advisor-card{padding:20px;background:white;border:1px solid #d8e4da;border-radius:13px;box-shadow:0 4px 16px #163d2906}body .trip-card>.eyebrow{font-size:10px;letter-spacing:.12em;margin:0 0 14px}body .current-trip-bar label{font-size:12px}body #requests{height:44px;padding:10px;font-size:12px;border-radius:8px}body .trip-status{font-size:11px;padding:6px 10px}body #new-trip{font-size:12px;padding:10px;min-height:40px;border-radius:8px}body #request-reference{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.04em;color:#775519;background:#fff1cb;border:1px solid #e8d297;padding:5px 9px;border-radius:6px;margin:16px 0}body .trip-details{border:1px solid #dce7dd;border-left:3px solid #28845c;border-radius:0 9px 9px 0;background:#f7faf6;padding:0 13px;overflow:hidden}body .trip-details summary{display:flex;align-items:center;gap:8px;padding:13px 0;font-size:12px;font-weight:650;cursor:pointer;border:0;background:none}body .trip-details summary svg{width:17px;height:17px;flex:0 0 17px;color:#378363}body .trip-details summary:after{content:'⌄';margin-left:auto;color:#6a8272}body #trip-overview{margin:0 0 7px}body #trip-overview>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:10px;padding:9px 0;border-bottom:1px solid #e6ede4;font-size:11px;line-height:1.55}body #trip-overview>div:last-child{border-bottom:0}body #trip-overview dt{color:#768477}body #trip-overview dd{margin:0;color:#294d36;font-weight:500;overflow-wrap:anywhere}body .advisor-card{border-left:3px solid #c8a858}body .advisor-avatar{width:88px;height:88px;flex:0 0 88px;font-size:20px;overflow:hidden;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #cbded1}body .advisor-avatar.advisor-avatar-team{width:100px;height:76px;flex-basis:100px;border-radius:10px}body .advisor-avatar img{display:block;width:100%;height:100%;object-fit:cover}@media(max-width:640px){body .advisor-avatar{width:72px;height:72px;flex-basis:72px}body .advisor-avatar.advisor-avatar-team{width:90px;height:68px;flex-basis:90px}}body .advisor-card small{font-size:10px}body #advisor-name{font-size:13px}body .advisor-card p{font-size:12px;line-height:1.65;margin-bottom:0}
body:not(.auth-design) .portal-header{position:relative;isolation:isolate;background:linear-gradient(90deg,rgba(247,250,246,.78) 0%,rgba(247,250,246,.08) 28%,rgba(247,250,246,.04) 70%,rgba(247,250,246,.75) 100%),url("https://www.realisticasia.de/wp-content/uploads/2026/10/Home-Halong-Bucht-Panorama.jpg") center 48%/cover no-repeat;border-radius:14px;padding:16px 24px;margin-top:12px;border:1px solid #d8e4da}
body:not(.auth-design) .portal-header .brand{margin-left:14px}body:not(.auth-design) .portal-header .rau-menu,body:not(.auth-design) .portal-header .rau-chat-faq{position:relative;z-index:2}
@media(max-width:640px){body:not(.auth-design) .portal-header{padding:12px 14px;background-position:center 48%;border-radius:10px}}
body #account .advisor-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px 12px;padding:16px}body #account .advisor-card>.advisor-avatar{grid-column:1;grid-row:1;margin:0}body #account .advisor-card>div{grid-column:2;grid-row:1;min-width:0}body #account .advisor-card small,body #account .advisor-card #advisor-name{display:block;line-height:1.45;overflow-wrap:anywhere}body #account .advisor-card #advisor-name{margin-top:4px}body #account .advisor-card .advisor-brand-name{white-space:nowrap;overflow-wrap:normal}body #account .advisor-card>p{grid-column:1/-1;margin:0;line-height:1.5}body #account .trip-card{display:flex;flex-direction:column;gap:12px;padding:18px}
body #account .trip-card>.eyebrow{margin:0 0 2px}
body .customer-file-library section{margin:0 0 22px;padding:20px;background:#f5f8f6;border:1px solid #e4ece6;border-radius:12px;box-sizing:border-box}
body .customer-file-library h3{font-size:14px;margin:0 0 16px;padding:0;color:#234b3b}
body .customer-file-library section:last-child{margin-bottom:0}
@media(max-width:640px){body .customer-file-library section{padding:14px;border-radius:10px}body .customer-file-library h3{margin-bottom:12px}}
body .customer-file-library ul{list-style:none;padding:0;margin:0;border:1px solid #c7ddd2;border-radius:8px;overflow:hidden}
body .customer-file-library li{margin:0;padding:0;border-bottom:1px solid #c7ddd2}
body .customer-file-library li:last-child{border-bottom:0}
body .customer-file-library .customer-library-file{display:flex;align-items:center;gap:12px;padding:12px;background:#f5f8f6;text-decoration:none;color:#244b3b;min-width:0}
body .customer-file-library .customer-library-file:hover{background:#eaf3ee}
body .customer-file-library .customer-library-type{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;background:#fff;border-radius:6px;font-size:10px;font-weight:700}
body .customer-file-library .customer-library-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}
body .customer-file-library strong{font-size:14px;overflow-wrap:anywhere}
body .customer-file-library small{font-size:11px;color:#64786c}
body .customer-file-library .customer-library-category{font-size:10px;padding:4px 8px;border-radius:12px;background:#e7f2ec;max-width:210px}
body .customer-file-library .customer-library-download{font-size:20px;padding:4px 8px}
@media(max-width:640px){body .customer-file-library .customer-library-file{flex-wrap:wrap;gap:8px;padding:10px}body .customer-file-library .customer-library-category{order:4;margin-left:50px;max-width:calc(100% - 50px)}body .customer-file-library strong{font-size:13px}}

body #account .current-trip-bar{display:block;margin:0}
body #account .current-trip-bar label{display:block;font-size:11px;margin:0}
body #account #requests{display:block;width:100%;max-width:100%;height:42px;margin:7px 0 0;padding:9px 32px 9px 12px;font-size:12px;font-weight:650;letter-spacing:.025em;border:1px solid #bfd3c5;background-color:#fff;border-radius:8px;box-shadow:none}
body #account #requests:focus-visible{outline:2px solid #28845c;outline-offset:2px}
body #account #current-trip-title{font-size:12px;font-weight:500;line-height:1.55;color:#526b5a;margin:8px 0 0;overflow-wrap:anywhere}
body #account #trip-lifecycle{margin:9px 0 0}
body #account .trip-status{font-size:10px;padding:4px 9px;line-height:1.5}
body #account .past-trip-list{margin:0;padding:11px 0;border-top:1px solid #e3ebe3;border-bottom:1px solid #e3ebe3}
body #account .past-trip-list summary{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:500;cursor:pointer;list-style:none}
body #account .past-trip-list summary:before{content:'›';font-size:16px;color:#66816e}
body #account .past-trip-list[open] summary:before{transform:rotate(90deg)}
body #account .past-trip-count{margin-left:auto;display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;background:#edf3eb;border-radius:12px;font-size:10px}
body #account .past-trip-list p{font-size:11px;line-height:1.5;margin:10px 0 0}
body #account #new-trip{width:100%;min-height:38px;padding:8px 12px;margin:0;font-size:11px;border:1px solid #b5d0be;background:#f2f7f0;color:#246247;border-radius:7px}
body #account #request-reference{align-self:flex-start;margin:0;font-size:10px;padding:4px 8px}
body #account .trip-details{margin:0;padding:0 11px;border-left-width:2px}
body #account .trip-details summary{font-size:11px;padding:10px 0}
body #account .trip-details[open] summary:after{transform:rotate(180deg)}
body #account #trip-overview>div{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);align-items:start;padding:8px 0;gap:12px;font-size:13px;line-height:1.5;border-bottom:1px solid #e2e7ec}body #account #trip-overview dt{font-size:12px;font-weight:500;color:#64748b;overflow-wrap:normal}body #account #trip-overview dd{margin:0;min-width:0;font-weight:500;color:#293f50;overflow-wrap:break-word}body #account #trip-overview>div:last-child{border-bottom:0}body #account #travel-preference-controls button{width:100%;min-height:40px;padding:9px 12px;font-size:13px;margin-top:10px}
body .conversation #shared-files{display:block;width:100%;max-height:420px;overflow:auto;padding:0 0 14px}
body .conversation #shared-files .shared-documents{width:100%;max-width:none;padding:14px;background:white;border:1px solid #dce7dd;border-radius:10px}
body .conversation .shared-doc-tabs{display:flex;gap:8px;padding:0 0 12px;border-bottom:1px solid #e3ebe2}
body .conversation .shared-doc-tabs button{flex:1;min-height:36px;padding:9px 12px;font-size:12px;font-weight:600;background:#f2f6ef;color:#587260;border:1px solid transparent;border-radius:7px;cursor:pointer}
body .conversation .shared-doc-tabs button[aria-pressed=true]{background:#165b43;color:white;border-color:#165b43}
body .conversation [data-shared-doc-panel][hidden]{display:none!important}
body .conversation .shared-documents h3{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.5;margin:18px 0 9px;color:#294d36}
body .conversation .shared-doc-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:12px;background:#edf3e9;color:#56745f;font-size:10px}
body .conversation .shared-doc-empty{font-size:11px;color:#89958b;margin:0;padding:10px 12px;background:#fafbf8;border-radius:6px}
body .conversation .shared-doc-row{margin:6px 0;padding:9px 12px;background:#f8faf6;border:1px solid #e2e9df;border-radius:8px}
body .conversation .shared-doc-row .attachment-link{margin:0;padding:0;border:0;background:transparent;font-size:12px;min-height:24px}
body .conversation .shared-doc-row>small{font-size:10px;color:#819184;display:block;margin-top:4px}
/* Compact portal heading: keep the conversation near the top. */
body main .portal-header{min-height:0;padding:9px 0;gap:16px;margin:0}
body main .portal-header .brand{display:flex;align-items:center;min-height:0}
body main .portal-header .brand img{width:100px;height:42px;max-height:42px;object-fit:contain;object-position:left center}
body main .portal-caption{font-size:11px;line-height:1.4}
body main #logout{min-height:32px;padding:7px 13px;border-radius:7px;font-size:11px;line-height:1.4}
body main .page-heading{padding:14px 0 16px;margin:0;align-items:center;gap:18px}
body main .page-heading .eyebrow{display:none}
body main .page-heading h1{font-size:21px;line-height:1.25;letter-spacing:-.02em;margin:0 0 5px}
body main #welcome{font-size:12px;line-height:1.5;margin:0}
body main .privacy-badge{font-size:10px;line-height:1.5;padding:0 0 0 12px;max-width:190px}
body main #status:empty{display:none}
body main #status:not(:empty){margin:0 0 10px;font-size:12px}
@media(max-width:640px){body main .portal-header{padding:8px 0;gap:10px}body main .portal-header .brand img{width:86px;height:36px}body main .portal-caption{display:none}body main .page-heading{padding:12px 0}body main .page-heading h1{font-size:18px}body main #welcome{font-size:11px}body main .privacy-badge{display:none}}
body .conversation>.customer-files-open{display:flex;align-items:center;gap:10px;width:100%;padding:12px 22px;min-height:44px;border:0;border-bottom:1px solid #dce6dd;border-radius:0;background:#eff5ed;color:#265c41;text-align:left;font-size:12px;font-weight:600;cursor:pointer}
.customer-files-open svg{width:18px;height:18px}.customer-files-open #file-count{margin-left:auto}
#customer-files-dialog{width:min(760px,calc(100vw - 32px));max-height:85dvh;padding:0;border:1px solid #d3e1d6;border-radius:15px;background:#fff;color:#263e30;box-shadow:0 24px 80px #09291d38}
#customer-files-dialog::backdrop{background:#10291f80}
.customer-files-dialog-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;background:#165b43;color:white}
#customer-files-dialog h2{font-size:19px;margin:0;color:white}.customer-files-close{background:transparent;border:0;color:white;font-size:27px;padding:0 7px;min-width:36px;min-height:36px;cursor:pointer}
.customer-files-dialog-body{padding:20px;max-height:calc(85dvh - 75px);overflow:auto}
#customer-files-dialog #shared-files{display:block;max-height:none;overflow:visible;width:100%}
#customer-files-dialog .shared-documents{width:100%;padding:0;border:0}
#customer-files-dialog .shared-doc-tabs{display:flex;gap:8px;margin-bottom:16px}
#customer-files-dialog .shared-doc-tabs button{flex:1;padding:11px;font-size:13px;border:1px solid #d5e1d6;border-radius:8px;background:#f1f6ee;color:#355e43;cursor:pointer}
#customer-files-dialog .shared-doc-tabs button[aria-pressed=true]{background:#165b43;color:#fff;border-color:#165b43}
#customer-files-dialog [data-shared-doc-panel][hidden]{display:none!important}
#customer-files-dialog h3{display:flex;gap:9px;align-items:center;font-size:13px;margin:19px 0 10px}
#customer-files-dialog .shared-doc-count{font-size:11px;padding:2px 7px;background:#edf3e9;border-radius:12px}
#customer-files-dialog .shared-doc-empty,#customer-files-dialog #no-files{font-size:12px;color:#7a897e}
#customer-files-dialog .shared-doc-row{padding:11px 13px;border:1px solid #dfe8dc;background:#f8faf6;border-radius:8px;margin-bottom:8px}
#customer-files-dialog .attachment-link{display:flex;justify-content:space-between;gap:15px;padding:0;margin:0;background:transparent;border:0;font-size:13px}
#customer-files-dialog .shared-doc-row>small{display:block;font-size:10px;color:#809084;margin-top:5px}
body main .page-heading #request-reference{display:table;margin:0 0 9px;padding:5px 11px;font-size:12px;font-weight:750;letter-spacing:.04em;line-height:1.4;background:#fff1cb;border:1px solid #e6ce86;border-radius:7px;color:#775519}
body main .page-heading #request-reference:empty{display:none}
body main .portal-trip-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:0 0 9px}
body main .portal-trip-meta #request-reference{margin:0}
body main .portal-trip-meta #trip-lifecycle{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0}
body main .portal-trip-meta .trip-status{font-size:11px;line-height:1.4;padding:5px 10px;margin:0;border-radius:20px;background:#e0efdf;color:#205c36;border:1px solid #c8dfc8}
body main .portal-trip-meta #trip-lifecycle p{font-size:11px;margin:0;color:#617b68}
body main .portal-trip-meta:has(#request-reference:empty):has(#trip-lifecycle:empty){display:none}
body .conversation{border:1px solid #d4e2d7;border-radius:14px;background:white;box-shadow:0 8px 30px #153c2b09;overflow:hidden}
body .conversation-heading{padding:20px 24px;background:#165b43;color:white;border-bottom:0}
body .conversation-heading h2{font-size:18px;line-height:1.35;letter-spacing:-.02em;color:white;margin:0 0 6px}
body .conversation-heading p{font-size:12px;color:#d3e5db;margin:0}body .conversation-label{font-size:10px;background:#ffffff18;color:#e7f4eb;border:1px solid #ffffff33;padding:6px 10px}
body .conversation>.files-card{margin:0;padding:0 22px;border:0;border-bottom:1px solid #dce6dd;border-radius:0;background:#f1f6f0;box-shadow:none}
body .conversation>.files-card summary{display:flex;align-items:center;gap:8px;padding:12px 0;font-size:12px;font-weight:600;cursor:pointer}
body .conversation>.files-card summary svg{width:17px;height:17px;color:#397855}
body #file-count{margin-left:auto;min-width:24px;text-align:center;background:#dcebdd;color:#205c39;border-radius:20px;padding:2px 7px;font-size:11px}
body #shared-files{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:210px;overflow:auto}body #no-files{font-size:12px}
body #messages{height:clamp(320px,48vh,600px);min-height:320px;padding:22px;background:#fcfdfa;gap:16px}
body #messages article{padding:14px 17px;border-radius:12px;max-width:85%;font-size:14px;line-height:1.65;box-shadow:0 2px 6px #193f2a04}
body #messages article.customer{background:#e4f0e8;border:1px solid #c8dfd1;border-top-right-radius:4px}
body #messages article.staff{background:#fff;border:1px solid #e1e6db;border-top-left-radius:4px}
body #messages article>strong{font-size:10px;font-weight:600;color:#6a7d70;display:block;margin-bottom:7px}
body #messages article p{font-size:14px;line-height:1.65;margin:0}
body .attachment-link{font-size:12px;padding:10px 12px;border-radius:8px;background:#fff}
body #message-form{padding:18px 22px;background:#fff;border-top:1px solid #dce6dd}
body .customer-format-tools{padding:7px 10px;background:#f0f5ef;border-radius:8px 8px 0 0;gap:5px}
body .customer-format-tools button{font-size:12px;padding:5px 9px;min-height:28px}
body #message-form textarea,body #message-form [contenteditable]{min-height:82px;font-size:14px;line-height:1.6;border:1px solid #d5e1d6;border-radius:0 0 8px 8px;padding:12px}
body .composer-bottom{gap:14px;margin-top:12px;align-items:start}
body #message-form button[type=submit]{font-size:12px;min-height:42px;padding:11px 17px;border-radius:8px;background:#146b49}
body .attachment-picker label{font-size:11px;padding:8px 11px;border-radius:7px}
body .attachment-picker small{font-size:10px;line-height:1.5}
body .past-trip-list summary{font-size:12px}body .personal-info summary{font-size:12px}
/* Mobile portal contrast and compact travel editor. */
@media(max-width:640px){
body:not(.auth-design) main .portal-header{padding:12px!important;gap:10px;min-height:112px;background-image:linear-gradient(90deg,rgba(9,43,37,.62),rgba(9,43,37,.08) 48%,rgba(9,43,37,.42)),url("https://www.realisticasia.de/wp-content/uploads/2026/10/Home-Halong-Bucht-Panorama.jpg")!important;border:1px solid #d5e1dc!important}
body:not(.auth-design) main .portal-header .brand{margin:0!important;filter:brightness(0) invert(1)}body:not(.auth-design) main .portal-header .brand img{filter:drop-shadow(0 1px 3px #143e38)}
body:not(.auth-design) main .portal-header .brand img{width:124px!important;height:88px!important;max-height:88px!important}
body .portal-header .rau-chat-faq,body .portal-header .rau-menu>button{background:#174d40!important;color:#fff!important;border:1px solid #ffffffb3!important;border-radius:10px!important;padding:10px!important;box-shadow:0 2px 7px #193e2920;text-shadow:0 1px 2px #123f38}body .portal-header .rau-menu>button svg{color:#fff!important}
body dialog.travel-preferences-dialog{width:calc(100% - 20px)!important;max-width:520px!important;max-height:calc(100dvh - 28px)!important;padding:0!important;border:1px solid #d6e1dc!important;border-radius:18px!important;overflow-y:auto!important}
body .travel-preferences-dialog form{padding:0 16px 12px!important;margin:0!important}
body .travel-preferences-head{position:sticky;top:0;z-index:3;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0!important;margin:0 0 12px!important;border-bottom:1px solid #e1e8e4}
body .travel-preferences-head h2{font-size:20px!important;line-height:1.3!important;margin:0!important}
body .travel-preferences-close{flex:0 0 36px;width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;font-size:25px!important;border-radius:50%!important;background:#f0f5f2!important;color:#245a46!important;border:1px solid #cedfd5!important}
body .travel-preferences-note{font-size:12px!important;line-height:1.5!important;padding:10px 12px!important;margin:0 0 16px!important;border-radius:8px;background:#f3f6f5}
body .travel-preferences-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 12px!important}
body .travel-preferences-grid label{font-size:12px!important;line-height:1.4!important;margin:0!important;min-width:0}
body .travel-preferences-grid label:has([name=customer_title]),body .travel-preferences-grid label:has([name=countries]),body .travel-preferences-grid label:has([name=preferred_places]),body .travel-preferences-grid label:has([name=travel_month]),body .travel-preferences-grid label:has([name=wishes]){grid-column:1/-1}
body .travel-preferences-grid label[hidden]{display:none!important}
body .travel-preferences-grid input,body .travel-preferences-grid select,body .travel-preferences-grid textarea{width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important;height:44px!important;padding:9px 10px!important;margin:6px 0 0!important;font-size:16px!important;font-weight:400!important;border:1px solid #cbd9d2!important;border-radius:9px!important;box-sizing:border-box!important;background:#fff}
body .travel-preferences-grid textarea{height:88px!important}
body .travel-preferences-actions{position:sticky;bottom:-12px;background:#fff;display:flex!important;gap:10px!important;padding:12px 0!important;margin:14px 0 0!important;border-top:1px solid #dce6e0;z-index:2}
body .travel-preferences-actions button{flex:1;min-height:44px!important;padding:10px!important;font-size:13px!important;border-radius:9px!important}
}
@media(max-width:850px){body main{padding:0 16px 24px}body #account{grid-template-columns:1fr}body .page-heading h1{font-size:24px}body .privacy-badge{display:none}body .trip-sidebar{display:grid;grid-template-columns:1fr 1fr}body .trip-card{grid-column:1/-1}body .conversation-heading{padding:18px}body #messages{padding:16px}body #message-form{padding:16px}}
@media(max-width:520px){body .trip-sidebar{grid-template-columns:1fr}body .conversation-label{display:none}body #shared-files{grid-template-columns:1fr}body #messages article{max-width:94%}body .composer-bottom{flex-direction:column}body #message-form button[type=submit]{width:100%}}
