:root{--veyra-red:#bc2027;--veyra-bg:#f0f1f3;--veyra-surface:#fff;--veyra-raised:#f7f7f8;--veyra-line:#dce0e5;--veyra-text:#25272d;--veyra-muted:#656971;--veyra-selected:#f8e9e9}
html.dark-mode{--veyra-bg:#101114;--veyra-surface:#191b20;--veyra-raised:#202329;--veyra-line:#34373e;--veyra-text:#eeeeef;--veyra-muted:#a5a9b3;--veyra-selected:#342024}
html body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
html body,html.dark-mode body{background:var(--veyra-bg);color:var(--veyra-text)}
html body #layout-menu,html.dark-mode #layout-menu,html body #layout-sidebar,html.dark-mode #layout-sidebar,html body #layout-list,html.dark-mode #layout-list,html body #layout-content,html.dark-mode #layout-content,html body .header,html.dark-mode .header,html body .footer,html.dark-mode .footer,html body .popover-header,html.dark-mode .popover-header{background:var(--veyra-surface);color:var(--veyra-text);border-color:var(--veyra-line)}
html body .header a.button,html.dark-mode .header a.button,html body .toolbar a,html.dark-mode .toolbar a{color:var(--veyra-text)}
html body .header a.disabled,html.dark-mode .header a.disabled,html body .toolbar a.disabled,html.dark-mode .toolbar a.disabled{color:var(--veyra-muted);opacity:.55}
html body .btn-primary,html.dark-mode .btn-primary{background:var(--veyra-red);border-color:var(--veyra-red);color:#fff}
html body .btn-primary:hover,html.dark-mode .btn-primary:hover{background:#a01820;border-color:#a01820}
html body .btn-primary:focus,html.dark-mode .btn-primary:focus{box-shadow:0 0 0 3px rgb(188 32 39 / 25%)}
html body .form-control,html.dark-mode .form-control,html body .custom-select,html.dark-mode .custom-select{background-color:var(--veyra-raised);color:var(--veyra-text);border-color:var(--veyra-line)}
html body .form-control:focus,html.dark-mode .form-control:focus{border-color:#d73737;box-shadow:0 0 0 3px rgb(188 32 39 / 15%)}
html body #layout-menu a,html.dark-mode #layout-menu a{color:var(--veyra-muted)}
html body #layout-menu #taskmenu a:hover,html.dark-mode #layout-menu #taskmenu a:hover{color:var(--veyra-text);background:var(--veyra-raised)}
html body #layout-menu #taskmenu a.selected,html.dark-mode #layout-menu #taskmenu a.selected{color:var(--veyra-text);background:var(--veyra-selected);box-shadow:inset 3px 0 #d73737}
html body #layout-menu #taskmenu a.compose,html.dark-mode #layout-menu #taskmenu a.compose{margin:8px 6px 12px;border-radius:10px;background:var(--veyra-red);color:#fff}
html body #layout-menu #taskmenu a.logout,html.dark-mode #layout-menu #taskmenu a.logout{color:#e45b60}
html body .listing li a,html.dark-mode .listing li a{color:var(--veyra-text)}
html body .listing li.selected>a,html.dark-mode .listing li.selected>a,html body .listing li.selected,html.dark-mode .listing li.selected,html body .listing tr.selected td,html.dark-mode .listing tr.selected td{background:var(--veyra-selected);color:var(--veyra-text)}
html body .listing tr td,html.dark-mode .listing tr td{border-color:var(--veyra-line)}
html body .listing tr:hover td,html.dark-mode .listing tr:hover td{background-color:var(--veyra-raised)}
html body .listing tr.selected:hover td,html.dark-mode .listing tr.selected:hover td{background-color:var(--veyra-selected)}
html body #mailboxlist li a{margin:3px 8px;border-radius:7px;border-bottom:0;padding-top:10px;padding-bottom:10px}
html body #mailboxlist li.selected>a,html.dark-mode #mailboxlist li.selected>a{box-shadow:inset 3px 0 #d73737}
html body #mailboxlist .unreadcount,html.dark-mode #mailboxlist .unreadcount{color:var(--veyra-text);background:var(--veyra-raised);border-radius:5px}
html body #layout-sidebar .header-title.username{line-height:1.4;display:flex;flex-direction:column;min-width:0}
.veyra-sidebar-title{font-size:19px;font-weight:650;letter-spacing:-.5px}
.veyra-account{color:var(--veyra-muted);font-size:11px;font-weight:400;overflow:hidden;text-overflow:ellipsis}
.veyra-sidebar-credit{color:var(--veyra-muted);font-size:10px;padding:12px 16px;margin:0;border-top:1px solid var(--veyra-line)}
.veyra-folder-heading{padding:20px 18px 14px}
.veyra-folder-heading h2{margin:0;font-size:24px;font-weight:650;letter-spacing:-.7px;line-height:1.3}
html body #layout-list .searchbar,html.dark-mode #layout-list .searchbar{margin:0 12px 12px;min-height:42px;border:1px solid var(--veyra-line);border-radius:8px;background:var(--veyra-raised)}
html body .searchbar input,html.dark-mode .searchbar input{background:transparent;color:var(--veyra-text)}
html body .searchbar input::placeholder,html.dark-mode .searchbar input::placeholder{color:var(--veyra-muted);opacity:1}
html body .searchbar a,html.dark-mode .searchbar a{color:var(--veyra-muted)}
html body #messagelist td{height:76px;padding-top:12px;padding-bottom:12px}
html body #messagelist .subject{font-size:14px;line-height:1.5}
html body #messagelist .fromto,html.dark-mode #messagelist .fromto,html body #messagelist .date,html.dark-mode #messagelist .date{color:var(--veyra-muted);font-size:11px}
html body #messagelist tr.unread .subject{font-weight:650}
html body #messagelist tr.selected{box-shadow:inset 3px 0 #d73737}
html body .popupmenu,html.dark-mode .popupmenu,html body .popover,html.dark-mode .popover{background:var(--veyra-surface);color:var(--veyra-text);border-color:var(--veyra-line)}
html body .popupmenu a:hover,html.dark-mode .popupmenu a:hover{background:var(--veyra-selected)}
html body #layout-content .formcontent{max-width:760px}
html body .input-group-text,html.dark-mode .input-group-text{background:var(--veyra-raised);color:var(--veyra-muted);border-color:var(--veyra-line)}
@media(min-width:992px){html body:not(.task-login) #layout{padding:12px;gap:10px}html body:not(.task-login) #layout>div{border:1px solid var(--veyra-line);border-radius:12px;overflow:hidden}html body:not(.task-login) #layout-menu{width:82px;min-width:82px;border:0;background:transparent}html body #layout-sidebar>.header{min-height:80px}html body #layout-menu .popover-header{background:transparent;border:0;padding-bottom:6px}html body #layout-menu .popover-header img{width:44px;max-height:44px}}
@media(max-width:991px){.veyra-folder-heading{padding:14px 16px 10px}.veyra-folder-heading h2{font-size:22px}html body #layout-sidebar>.header{min-height:70px}}
/* The native form retains authentication, validation and session handling. */
html body.task-login,html.dark-mode body.task-login{background:#101114;color:#eeeef0}
html body.task-login #layout{display:block;overflow:auto}
html body.task-login #layout-content,html.dark-mode body.task-login #layout-content{display:flex;align-items:center;justify-content:center;min-height:100dvh;width:100%;padding:32px;background:transparent;text-align:left}
.veyra-login-shell{display:grid;grid-template-columns:1.1fr 1fr;width:min(900px,100%);border:1px solid #34363d;border-radius:18px;overflow:hidden;box-shadow:0 24px 70px rgb(0 0 0 / 22%)}
.veyra-login-intro{padding:52px;background:#181a1f;display:flex;flex-direction:column;align-items:flex-start;position:relative}
html body.task-login #logo{position:static;display:block;width:54px;height:54px;max-height:54px;margin:0 0 28px}
html body.task-login .veyra-wordmark{margin:0;color:#f4f4f5;font-size:clamp(36px,4vw,48px);font-weight:650;letter-spacing:-2px;line-height:1.1}
.veyra-login-intro>p{color:#b0b3bd;font-size:15px;line-height:1.7;margin:18px 0 0;max-width:240px}
.veyra-mail-art{margin:38px 0 0;width:100%;max-width:290px;color:#686d77}
.veyra-mail-art .accent{stroke:#df3333}
html body.task-login #login-form{margin:0;top:auto;position:static;width:100%;max-width:none;padding:52px 42px 30px;background:#202228}
.veyra-signin-title{margin:0 0 10px;color:#eeeef0;font-size:25px;font-weight:600;letter-spacing:-.5px}
.veyra-signin-help{color:#b3b6c0;font-size:13px;margin:0 0 28px;line-height:1.6}
html body.task-login .form-control,html.dark-mode body.task-login .form-control{min-height:48px;font-size:14px;background:#15171c;color:#f4f4f5;border-color:#666b77}
html body.task-login .form-control::placeholder{color:#afb3bd;opacity:1}
html body.task-login .input-group-text,html.dark-mode body.task-login .input-group-text{background:#15171c;color:#b2b6c0;border-color:#666b77}
html body.task-login .input-group{margin-bottom:18px}
html body.task-login #rcmloginsubmit,html.dark-mode body.task-login #rcmloginsubmit{min-height:48px;background:#b91f26;color:#fff;border:1px solid #b91f26;border-radius:7px;font-weight:600;font-size:14px}
html body.task-login #rcmloginsubmit:hover{background:#a51920}
html body.task-login .veyra-password-group{position:relative}
html body.task-login .veyra-password-group input{padding-right:58px}
.veyra-password-toggle{position:absolute;right:6px;top:5px;bottom:5px;z-index:5;color:#d8dae0;background:#15171c;border:0;border-radius:4px;font-size:12px;padding:0 9px;cursor:pointer}
.veyra-password-toggle:focus-visible{outline:2px solid #ef5555;outline-offset:1px}
html body.task-login #login-footer{border-top:1px solid #41454d;margin-top:34px;padding-top:20px;color:#b6b9c3}
.veyra-powered{margin:0;font-size:11px;text-align:left;line-height:1.6}
@media(max-width:680px){html body.task-login #layout-content{padding:20px}.veyra-login-shell{grid-template-columns:1fr;max-width:420px;border-radius:14px}.veyra-login-intro{padding:28px 26px}html body.task-login #logo{width:38px;height:38px;margin-bottom:16px}html body.task-login .veyra-wordmark{font-size:34px;letter-spacing:-1.3px}.veyra-login-intro>p{font-size:13px;margin-top:12px;max-width:none}.veyra-mail-art{display:none}html body.task-login #login-form{padding:28px 26px 24px}.veyra-signin-title{font-size:22px}.veyra-signin-help{margin-bottom:20px}html body.task-login #login-footer{margin-top:24px}}
@media(max-width:360px){html body.task-login #layout-content{padding:12px}html body.task-login #login-form,.veyra-login-intro{padding-left:20px;padding-right:20px}}
.veyra-delivery-note{margin:12px 12px 0;padding:10px 12px;border:1px solid var(--veyra-line);border-left:2px solid #d73737;border-radius:6px;font-size:12px;color:var(--veyra-text);background:var(--veyra-raised)}
.veyra-delivery-note strong{font-weight:600;font-size:12px}.veyra-delivery-note p{margin:4px 0 0;font-size:11px;line-height:1.5;color:var(--veyra-muted)}
html.dark-mode body.task-login .form-control:focus,html body.task-login .form-control:focus{border-color:#d73737;box-shadow:0 0 0 3px rgb(188 32 39 / 20%)}
/* App chrome, with a real folder search and native compose navigation. */
html body.veyra-shell #layout{height:calc(100dvh - 78px);margin-top:78px}
.veyra-appbar{position:fixed;inset:0 0 auto;height:78px;display:flex;align-items:center;gap:24px;padding:0 24px;background:var(--veyra-bg);color:var(--veyra-text);z-index:90}
.veyra-app-brand{display:flex;align-items:center;gap:12px;min-width:260px;color:var(--veyra-text)!important;text-decoration:none!important}
.veyra-app-mark{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--veyra-line);border-radius:12px;color:#e54141;background:var(--veyra-surface)}
.veyra-app-mark svg{width:28px;height:28px}
.veyra-app-words{display:flex;flex-direction:column;gap:3px}
.veyra-app-words strong{font-size:20px;line-height:1.2;font-weight:650;letter-spacing:-.7px}
.veyra-app-words small{color:var(--veyra-muted);font-size:10px}
.veyra-app-search{position:relative;flex:1;max-width:560px;min-width:0;margin-right:auto}
html body .veyra-app-search .searchbar,html.dark-mode .veyra-app-search .searchbar{height:42px;border:1px solid var(--veyra-line);border-radius:10px;background:var(--veyra-surface);box-shadow:0 2px 5px rgb(0 0 0 / 3%);padding-right:62px}
html body .veyra-app-search .searchbar input{height:40px;font-size:13px}
.veyra-search-shortcut{position:absolute;right:12px;top:11px;color:var(--veyra-muted);font-size:10px;line-height:18px;border:1px solid var(--veyra-line);border-radius:4px;padding:0 5px;pointer-events:none}
.veyra-app-tools{display:flex;align-items:center;gap:14px;flex-shrink:0}
.veyra-compose-button{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border-radius:8px;background:var(--veyra-red);color:#fff!important;text-decoration:none!important;font-weight:600;font-size:12px;border:1px solid #ca2a31;box-shadow:0 3px 10px rgb(0 0 0 / 12%)}
.veyra-compose-button svg{width:16px;height:16px}
.veyra-compose-button:hover{background:#a01820;transform:translateY(-1px)}
.veyra-profile{width:36px;height:36px;border-radius:50%;border:1px solid var(--veyra-line);background:var(--veyra-raised);color:var(--veyra-text)!important;display:grid;place-items:center;font-size:13px;font-weight:600;text-decoration:none!important}
.veyra-profile:hover{border-color:#d73737}
html body.veyra-shell #layout-menu #taskmenu a.compose{display:none}
html body.veyra-shell #layout-sidebar .username{align-items:flex-start;text-align:left;padding-left:6px}
html body.veyra-shell #layout-sidebar .veyra-sidebar-title{font-size:12px;text-transform:uppercase;letter-spacing:1.6px;color:var(--veyra-muted)}
html body.veyra-shell #layout-sidebar .veyra-account{font-size:11px;max-width:180px;margin-top:6px}
html body.veyra-shell #layout-menu #taskmenu>a{border-radius:9px;margin:4px 6px}
html body.veyra-shell #layout-menu #taskmenu a.selected{box-shadow:none;border:1px solid var(--veyra-line)}
html body.veyra-shell #mailboxlist li{border-bottom:0}
html body.veyra-shell #mailboxlist li>a{margin:5px 10px;padding:12px 14px}
html body.veyra-shell #layout-sidebar>.header{border-bottom:0;min-height:82px}
html body.veyra-shell #messagelist td{height:80px}
html body.veyra-shell #messagelist tr.focused>td:first-child{border-left:2px solid #d73737!important}
html body.veyra-shell #layout-list{min-width:320px}
html body.veyra-shell #layout-content>.header{height:66px}
html body.veyra-shell #layout-list>.header{height:66px}
html body.veyra-shell #layout-menu{overflow:visible;border-radius:0}
@media(min-width:992px){html body.veyra-shell #layout{padding:0 18px 18px;gap:12px}html body.veyra-shell #layout-menu{min-width:68px;width:68px}html body.veyra-shell #layout-menu .popover-header{display:none}html body.veyra-shell #layout-menu #taskmenu{padding-top:10px}.veyra-folder-heading{padding:24px 20px 20px}.veyra-sidebar-credit{display:none}}
@media(max-width:991px){html body.veyra-shell #layout{height:calc(100dvh - 62px);margin-top:62px}.veyra-appbar{height:62px;padding:0 16px;gap:12px;border-bottom:1px solid var(--veyra-line)}.veyra-app-brand{min-width:0;flex:1;gap:9px}.veyra-app-mark{width:32px;height:32px;border-radius:8px}.veyra-app-mark svg{width:23px;height:23px}.veyra-app-words strong{font-size:18px}.veyra-app-words small{font-size:8px}.veyra-app-search{display:none}.veyra-app-tools{gap:8px}.veyra-compose-button{padding:9px;border-radius:8px}.veyra-compose-button span{display:none}.veyra-compose-button svg{width:20px;height:20px}.veyra-profile{width:30px;height:30px;font-size:11px}html body.veyra-shell #layout-list{min-width:0}.veyra-delivery-note{margin-top:8px}}
@media(prefers-reduced-motion:no-preference){.veyra-login-shell{animation:veyra-entrance .35s ease both}.veyra-shell #layout>.listbox,.veyra-shell #layout>#layout-content{animation:veyra-entrance .24s ease both}.veyra-compose-button,.veyra-profile,.btn,button,#taskmenu a,#mailboxlist a{transition:background-color .16s ease,border-color .16s ease,transform .16s ease}.messagelist tr td{transition:background-color .14s ease}@keyframes veyra-entrance{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}
html body.veyra-shell{display:flow-root;overflow:hidden;height:100dvh}
html body.veyra-shell .recipient-input,html.dark-mode body.veyra-shell .recipient-input{color:var(--veyra-text);background:var(--veyra-raised);border-color:var(--veyra-line)}
html body.veyra-shell .recipient-input.focus,html.dark-mode body.veyra-shell .recipient-input.focus{color:var(--veyra-text);background:var(--veyra-raised);border-color:#d73737;box-shadow:0 0 0 3px rgb(188 32 39 / 18%)}
html body.veyra-shell .input-group-text,html.dark-mode body.veyra-shell .input-group-text,html body.veyra-shell .btn-secondary,html.dark-mode body.veyra-shell .btn-secondary{background:var(--veyra-raised);color:var(--veyra-text);border-color:var(--veyra-line)}
html body.veyra-shell .form-control:focus,html.dark-mode body.veyra-shell .form-control:focus{color:var(--veyra-text);background:var(--veyra-raised);border-color:#d73737;box-shadow:0 0 0 3px rgb(188 32 39 / 18%)}
@media(min-width:992px){html body.veyra-shell #layout-menu{width:78px;min-width:78px}html body.veyra-shell #layout-menu #taskmenu>a{margin:4px 0;padding-left:2px;padding-right:2px;font-size:11px}html body.veyra-shell #layout-menu #taskmenu a.selected{border-radius:8px}}
