/* RHENAU visual layer: existing views, records and controls remain intact. */
:root{--ink:#17283b;--navy:#17283b;--paper:#f3f6f6;--white:#fff;--muted:#667585;--blue:#274b65;--soft:#eaf0f1;--line:#dfe6e9;--surface-border:#dfe6e9;--text-secondary:#667585;--radius:11px;--glass-opaque:#fff;--glass-text:#395366;--glass-light:#fff;--glass-panel:#fff;--glass-dark:#213e52;--glass-panel-depth:none;--glass-rim:none;--glass-dark-rim:none}
html,body,.app-intro,body[data-auth=ready]>main{background:#f3f6f6;color:#17283b}
.sidebar,.auth-brand-panel{background:#17283b;color:#fff;border:0;box-shadow:none}
.rhenau-sidebar-brand{display:flex;align-items:center;gap:11px;margin:0 15px 5px;min-width:0}.rhenau-sidebar-brand img:first-child{width:38px;height:38px;border:1px solid #ffffff38;border-radius:4px}.rhenau-sidebar-name{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;color:#fff;line-height:1}.rhenau-sidebar-name b{font-size:16px;font-weight:500;letter-spacing:.14em}.rhenau-sidebar-name small{font-size:6px;font-weight:500;letter-spacing:.31em;white-space:nowrap}
.side-label{margin-top:24px;color:#b6cad3}.nav button{color:#c6d5dc;border-radius:9px}.nav button.active{background:#ffffff19;border-color:#ffffff20;box-shadow:none}.nav button.active:before{display:none}
.topbar{background:#fff;border:1px solid #dfe6e9;box-shadow:none;color:#17283b}
.topbar :is(.breadcrumb,.breadcrumb span:first-child,.mobile-route-title,.mobile-back,.help-contact-button,.top-actions>button:not(.avatar),.clock){color:#263f52}
.topbar .top-actions>button:not(.avatar),.topbar .mobile-back{background:transparent;border-color:transparent;box-shadow:none}
.topbar .helpdesk-dot{border-color:#fff}.topbar .notification-dot{border-color:#fff}
.rhenau-mobile-name{display:none}
.heading h1,body[data-page=overview] .heading h1{font-weight:500;letter-spacing:-.035em;color:#17283b}
.card,.surface-card,.home-accounts .home-account,.home-accounts .home-account+.home-account,.transfer-card{border-color:#dfe6e9;background:#fff;box-shadow:none;border-radius:11px}
.home-accounts .home-account:hover,.activity-item:hover,.investment-position:hover,.trade-row:hover{background:#f9fbfb;border-color:#b5c9d1}
.home-accounts .home-account-balance{color:#17283b;font-weight:500;font-variant-numeric:tabular-nums}
.home-accounts .home-account-balance .amount-currency{color:#667585}
.home-products{border-color:#dfe6e9;color:#17283b}.home-products small{color:#667585}
.app-home .home-activity{border-radius:11px}
.auth-submit,.btn.primary{background:#213e52;border-color:#213e52;color:#fff;box-shadow:none}.auth-submit:hover:not(:disabled),.btn.primary:hover{background:#315870;border-color:#315870}
.transfer-card{padding:32px}.transfer-card h2{font-weight:500;letter-spacing:-.035em}.transfer-eyebrow{color:#667585}.transfer-intro{color:#667585}.transfer-card input:not([type=radio]):not([type=checkbox]),.transfer-card select{border-color:#bacad1;border-radius:7px}.transfer-card :is(input,select,button):focus-visible{outline-color:#315870}
.interactive-chart .chart-grid{stroke:#e1e9ec}.chart-refined{border-color:#dfe6e9}.card-type-control{background:#eef3f4;border-color:#dfe6e9}
:focus-visible{outline-color:#315870}
@media(max-width:760px){
 .topbar{margin:0;border-radius:0;border:0;border-bottom:1px solid #dfe6e9;background:#fff;padding:0 18px}
 .topbar :is(.mobile-route-title,.mobile-back,.top-actions>button:not(.avatar)){color:#17283b}
 .top-actions>.help-contact-button{color:#17283b!important}
 body[data-page=overview] .topbar .mobile-brand{width:auto;max-width:190px;gap:9px;justify-content:flex-start}
 .topbar .mobile-brand img{width:34px;height:34px;mix-blend-mode:normal;border-radius:3px}
 .rhenau-mobile-name{display:flex;flex-direction:column;align-items:flex-start;color:#17283b;line-height:1}
 .rhenau-mobile-name b{font-size:15px;letter-spacing:.16em;font-weight:500}.rhenau-mobile-name small{font-size:6px;letter-spacing:.31em;margin-top:4px}
 .mobile-tabs{left:0;right:0;bottom:0;max-width:none;width:100%;padding:7px 5px max(8px,env(safe-area-inset-bottom));border:0;border-top:1px solid #dfe6e9;border-radius:0;background:#fff;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
 .mobile-tabs:before{top:6px;bottom:max(7px,env(safe-area-inset-bottom));background:#eef3f5;border:0;border-radius:8px;box-shadow:none}
 .mobile-tabs button{color:#657987;border-radius:8px;min-height:48px}.mobile-tabs button.active{color:#17283b}.mobile-tabs button:focus-visible{outline-color:#315870}
 .transfer-card{padding:24px 20px}.app-home .home-activity{margin-top:0}
}
@media(max-width:340px){.rhenau-mobile-name b{font-size:13px}.rhenau-mobile-name small{font-size:5px}.topbar{padding-inline:14px}}
@media(forced-colors:active){.topbar,.sidebar,.mobile-tabs,.card,.surface-card,.transfer-card,.home-accounts .home-account{background:Canvas;color:CanvasText;border:1px solid CanvasText}.topbar :is(.breadcrumb,.mobile-route-title,.mobile-back,.help-contact-button){color:CanvasText}.mobile-tabs:before{background:Highlight}.mobile-tabs button{color:ButtonText}.mobile-tabs button.active{color:HighlightText}}

/* The wordmark carries the header; support status reflects real unread messages. */
@media(max-width:760px){body[data-page=overview] .topbar .mobile-brand{width:auto;max-width:190px;justify-content:flex-start}.topbar .helpdesk-dot{border-color:#fff}}
