/* Hootech Mail: brand colours for the Elastic skin. This first part is generated from the skin own rules (gen.py). */
a{color:#1A44C2}
a:hover{color:#1E3A8A}
html{scrollbar-color:#c1c1c1 #F6F8FE}
html:not(.touch) ::-webkit-scrollbar-track{background-color:#F6F8FE}
body{color:#0B1533}
#layout>div>.header{border-bottom:1px solid #E2E8F3;color:#0B1533;background-color:#F6F8FE}
#layout>div>.header a.button{color:#0B1533}
#layout>div>.footer{border-top:1px solid #E2E8F3}
#layout-sidebar{border-right:1px solid #E2E8F3}
#layout-sidebar.sidebar-right{border-left:1px solid #E2E8F3}
#layout-list{border-right:1px solid #E2E8F3}
@media screen and (min-width:481px){#layout-menu .popover-header{background-color:#17255A!important}}
@media screen and (max-width:768px){#layout>div>.header{background-color:#F6F8FE}#layout>div>.footer{background-color:#F6F8FE}}
@media screen and (min-width:481px){#layout-menu{background-color:#17255A}}
#rcmdraglayer{background-color:#17255A;box-shadow:3px 3px 5px #F6F8FE}
.popup .listbox .footer{border-top:1px solid #E2E8F3;background-color:#FAFBFF}
p.image-attachment{background-color:rgba(29,78,216,.05)}
p.image-attachment span{color:#64748B}
fieldset.image-attachment legend{color:#64748B}
.iframe-loader .spinner-border{color:#F6F8FE;border-color:currentColor #64748B currentColor currentColor}
.quota-widget{color:#64748B}
.quota-widget .bar{border:1px solid #E2E8F3}
.quota-widget .value{background-color:#1D4ED8}
.image-tools{background-color:rgba(29,78,216,.4)}
.image-tools a:focus,.image-tools a:hover{background-color:rgba(29,78,216,.5)!important}
.quota-info .root{color:#64748B;background-color:#F6F8FE}
.table-widget{border:1px solid #E2E8F3}
.table-widget>.footer{border-top:1px solid #E2E8F3}
.table-widget table.options-table tr:last-child td{border-bottom:1px solid #E2E8F3}
.table-widget table.options-table tr.selected td{background-color:#EEF3FF;color:#0B1533}
table.table tr.deleted td{color:rgba(11,21,51,.5)!important}
.floating-action-buttons a.button{background:#1D4ED8}
.btn:focus{box-shadow:0 0 0 .2rem rgba(29,78,216,.3)}
.btn-link{color:#1A44C2}
.btn-secondary{background:#8A97B4;border-color:#8A97B4}
.btn-secondary:focus{background:#64748B;border-color:#64748B}
.btn-secondary:hover{background:#64748B;border-color:#64748B}
.btn-secondary.disabled,.btn-secondary:disabled{background:#8A97B4;border-color:#8A97B4}
.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active{background:#64748B;border-color:#64748B}
.btn-primary{background:#1D4ED8;border-color:#1D4ED8}
.btn-primary:focus{background:#1A44C2;border-color:#1A44C2;box-shadow:0 0 0 .2rem rgba(29,78,216,.5)}
.btn-primary:hover{background:#1A44C2;border-color:#1A44C2}
.btn-primary.disabled,.btn-primary:disabled{background:#1D4ED8;border-color:#1D4ED8}
.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active{background:#1A44C2;border-color:#1A44C2}
.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(29,78,216,.53)}
.ui-widget-overlay{background-color:rgba(11,21,51,.5)}
.ui-widget{border:1px solid #E2E8F3;box-shadow:3px 3px 5px #F6F8FE}
.ui-menu .ui-state-active{background-color:#1D4ED8!important}
.ui-dialog .ui-dialog-title{color:#0B1533}
.ui-dialog .ui-dialog-titlebar-close{color:#0B1533}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset a.btn-link{color:#0B1533}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset a.btn-link:focus{background-color:rgba(29,78,216,.5)}
@media screen and (max-width:480px){.ui-dialog .ui-dialog-titlebar{background-color:#F6F8FE}.ui-dialog .ui-dialog-buttonpane{background-color:#F6F8FE}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button.btn-primary,.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button.btn-secondary{color:#0B1533}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset a.btn-link{color:#0B1533}}
.ui-slider .ui-slider-range{background:#DCE6FF}
.ui-slider .ui-slider-handle.ui-state-active{background:#1D4ED8;border-color:#1E3A8A}
.ui-datepicker .ui-datepicker-next,.ui-datepicker .ui-datepicker-prev{color:#0B1533}
.ui-datepicker .ui-state-default,.ui-datepicker.ui-widget-content .ui-state-default{color:#0B1533}
.ui-datepicker .ui-datepicker-days-cell-over a,.ui-datepicker .ui-datepicker-days-cell-over a.ui-state-default,.ui-datepicker .ui-state-highlight,.ui-datepicker.ui-widget-content .ui-state-highlight{background:#DCE6FF;color:#1D4ED8}
.ui-datepicker a.ui-state-active{background:#1D4ED8!important}
.minicolors-panel{border:1px solid #E2E8F3;box-shadow:3px 3px 5px #F6F8FE}
.popover{box-shadow:3px 3px 5px #F6F8FE;border-color:#E2E8F3}
html.layout-phone .popover:not(.select-menu) .listing li:last-child,html.layout-small .popover:not(.select-menu) .listing li:last-child{border-bottom:1px solid #F6F8FE}
html.layout-phone .popover-overlay,html.layout-small .popover-overlay{background-color:rgba(11,21,51,.5)}
html.layout-phone .popover-header,html.layout-small .popover-header{background-color:#1E3A8A}
.pgpkeyimport div.key.disabled,.pgpkeyimport div.key.revoked{color:#64748B}
.menu a:not(.disabled):focus,.menu a:not(.disabled):hover{background-color:#E9EEF8}
.menu.toolbar a{color:#0B1533}
.menu.toolbar .dropbutton:not(.disabled):hover{background-color:#E9EEF8}
.menu.pagenav a{color:#0B1533}
.menu.pagenav .pagenav-text{color:#64748B}
.menu.pagenav.pagenav-list{background-color:#FAFBFF;border-bottom:1px solid #F6F8FE}
.menu.pagenav.pagenav-list+.navlist{background-color:#FAFBFF}
.menu.pagenav.pagenav-list.expanded+.navlist{border-bottom:1px solid #E2E8F3}
.menu .buttons button{color:#0B1533}
.popover .menu li.separator{color:#64748B;background-color:#F6F8FE}
.popover .menu li a:not(.disabled):hover{background-color:#1D4ED8}
.popover .menu li a[aria-haspopup]:after{color:#64748B}
.popover .menu li a[aria-haspopup].dropdown:after{color:#0B1533}
.popover .menu .dropbutton:not(.disabled):hover{background-color:#F6F8FE}
.popover .menu .dropbutton a.dropdown{background-color:#F6F8FE}
.popover .menu .dropbutton a.dropdown:hover{background-color:#1D4ED8}
@media screen and (min-width:769px){.header a.button.icon:not(.disabled):focus,.header a.button.icon:not(.disabled):hover{background-color:#E9EEF8}}
@media screen and (max-width:768px){.menu.listing a{color:#0B1533}}
.searchbar{background-color:#FAFBFF;border-bottom:1px solid #F6F8FE}
.searchbar form:before{color:#64748B}
.searchbar a{color:#0B1533}
@media screen and (max-width:480px){#taskmenu a{border-bottom:1px solid #F6F8FE!important;color:#0B1533}}
@media screen and (min-width:481px){#taskmenu a.selected{background:#17255A}#taskmenu a.selected:hover{background:#17255A}#taskmenu a:hover{background:#17255A}#taskmenu .special-buttons{background-color:#17255A}#taskmenu .action-buttons a{color:#1D4ED8}#taskmenu .action-buttons a:hover{color:#1D4ED8;background:#17255A}}
@media screen and (min-width:1025px){#taskmenu a:focus{background-color:#17255A}}
.ui.alert{color:#0B1533;background-color:rgba(29,78,216,.05)}
.ui.alert.loading{color:#64748B}
.ui.alert a:not(.btn){color:#1D4ED8}
.ui.alert.boxinformation{background-color:rgba(29,78,216,.2)}
#messagestack div{background-color:#0B1533}
#messagestack .loading{background-color:#64748B}
#messagestack .alert-info.information{background-color:#1D4ED8}
#messagestack .alert-warning{color:#0B1533}
#messagestack .alert-warning>i.icon:before{color:#0B1533}
.listing li,.listing tbody td{border-bottom:1px solid #F6F8FE}
.listing li a,.listing tbody td{color:#0B1533}
.listing tbody td a{color:#0B1533}
.listing li.selected,.listing tr.selected td{color:#0B1533;background-color:#EEF3FF}
.listing li.disabled,.listing tr.disabled td{color:rgba(11,21,51,.5)}
.listing span.secondary{color:#64748B}
ul.listing li ul{border-top:1px solid #F6F8FE}
.listing-info{color:#64748B}
.listing-hover-menu a.button{color:#0B1533}
.listing-hover-menu span.txt{color:#64748B}
@media screen and (max-width:1200px){.listing.selection-large-only li.selected{color:#0B1533}}
.popupmenu .listing li>a:not(.disabled):hover{background-color:#1D4ED8}
.popupmenu .listing li.selected{background-color:#1D4ED8}
ul.treelist li.selected>a,ul.treelist li.selected>div>a{color:#0B1533;background-color:#EEF3FF}
.folderlist li.mailbox .unreadcount{background:#1D4ED8}
.folderlist li.mailbox.recent>a>.unreadcount{background:#1D4ED8}
.messagelist td.subject span.date,.messagelist td.subject span.size{color:#64748B}
.messagelist td.subject span.fromto{color:#64748B}
.messagelist tr.deleted td,.messagelist tr.deleted td.subject span.date,.messagelist tr.deleted td.subject span.fromto,.messagelist tr.deleted td.subject span.subject a{color:rgba(11,21,51,.5)}
.contactlist span.email{color:#64748B}
.attachmentslist{background-color:#FAFBFF;border:1px solid #F6F8FE}
.attachmentslist li .attachment-name{color:#0B1533}
.attachmentslist li .attachment-size{color:#64748B}
.propform .form-text{color:#64748B}
.formcontent .hint{color:#64748B}
.formcontent.raweditor .CodeMirror{border:1px solid #D5DDEC;color:#0B1533}
.formcontent.raweditor .CodeMirror-focused{border-color:#1D4ED8;box-shadow:0 0 0 .2rem rgba(29,78,216,.25)}
.input-group a:focus{background-color:rgba(29,78,216,.25)}
.proplist li.with-sublist>a.dropdown{color:#0B1533}
.multi-input>.content{border:1px solid #D5DDEC}
.multi-input>.content.focused{border-color:#1D4ED8;box-shadow:0 0 0 .2rem rgba(29,78,216,.25)}
.multi-input .input-group-text,.multi-input input,.multi-input input:focus{border-bottom:1px solid #D5DDEC}
.multi-input .input-group-text{border-left:1px solid #D5DDEC}
.file-upload{border:.2rem dashed #E2E8F3}
.file-upload .hint{color:#64748B}
.file-upload.droptarget.hover{background-color:#E9EEF8}
.recipient-input.focus{border-color:#1D4ED8;box-shadow:0 0 0 .2rem rgba(29,78,216,.25)}
.recipient-input li.recipient,body>li.recipient.ui-sortable-helper{border:1px solid #D5DDEC;background-color:#F6F8FE}
.recipient-input li.recipient a.button.icon,body>li.recipient.ui-sortable-helper a.button.icon{color:#0B1533}
.tagedit-list[tabindex="-1"]{border-color:#1D4ED8;box-shadow:0 0 0 .2rem rgba(29,78,216,.25)}
.tagedit-list li.tagedit-listelement-old{border:1px solid #D5DDEC;background-color:#F6F8FE}
.skinselection .skinthumbnail{border:1px solid #D5DDEC}
.image-upload{background-color:#F6F8FE}
.form-control{color:#0B1533}
.form-control:focus{color:#0B1533;border-color:#1D4ED8;box-shadow:0 0 0 .2rem rgba(29,78,216,.25)}
.input-group-text{color:#0B1533;background-color:#F6F8FE}
.input-group-text input:focus{border-color:#1D4ED8!important}
.custom-switch .custom-control-input:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem rgba(29,78,216,.25)}
.custom-switch .custom-control-input:focus:not(:checked)~.custom-control-label::before{border-color:#1D4ED8}
.custom-switch .custom-control-input:checked~.custom-control-label::before{border-color:#1D4ED8;background-color:#1D4ED8}
.custom-file-input:focus~.custom-file-label{border-color:#1D4ED8;box-shadow:0 0 0 .2rem rgba(29,78,216,.25)}
div.tox.tox-tinymce{border:1px solid #D5DDEC}
div.tox.focused{border-color:#1D4ED8!important;box-shadow:0 0 0 .2rem rgba(29,78,216,.25)!important}
div.tox .tox-toolbar-overlord>div{background-color:#F6F8FE}
div.tox .tox-toolbar{background-color:#F6F8FE}
div.tox .tox-dialog{border-color:#E2E8F3}
div.tox .tox-dialog .tox-dialog__body-nav-item--active{color:#1A44C2}
div.tox .tox-dialog .tox-dialog__body-nav-item--active:hover{color:#1E3A8A}
div.tox .tox-dialog-wrap__backdrop{background-color:rgba(11,21,51,.5)}
div.tox .tox-dialog__header .tox-button{color:#0B1533}
div.tox .tox-dialog__footer .tox-button{background:#1D4ED8;border-color:#1D4ED8}
div.tox .tox-dialog__footer .tox-button:focus{background:#1A44C2;border-color:#1A44C2;box-shadow:0 0 0 .2rem rgba(29,78,216,.5)}
div.tox .tox-dialog__footer .tox-button:hover{background:#1A44C2;border-color:#1A44C2}
div.tox .tox-dialog__footer .tox-button.disabled,div.tox .tox-dialog__footer .tox-button:disabled{background:#1D4ED8;border-color:#1D4ED8}
div.tox .tox-dialog__footer .tox-button:not(:disabled):not(.disabled).active,div.tox .tox-dialog__footer .tox-button:not(:disabled):not(.disabled):active{background:#1A44C2;border-color:#1A44C2}
div.tox .tox-dialog__footer .tox-button:not(:disabled):not(.disabled).active:focus,div.tox .tox-dialog__footer .tox-button:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(29,78,216,.53)}
div.tox .tox-dialog__footer .tox-button:focus:not(:disabled){background:#1D4ED8;border-color:#1D4ED8}
div.tox .tox-dialog__footer .tox-button.tox-button--secondary{background:#8A97B4;border-color:#8A97B4}
div.tox .tox-dialog__footer .tox-button.tox-button--secondary:focus{background:#64748B;border-color:#64748B}
div.tox .tox-dialog__footer .tox-button.tox-button--secondary:hover{background:#64748B;border-color:#64748B}
div.tox .tox-dialog__footer .tox-button.tox-button--secondary.disabled,div.tox .tox-dialog__footer .tox-button.tox-button--secondary:disabled{background:#8A97B4;border-color:#8A97B4}
div.tox .tox-dialog__footer .tox-button.tox-button--secondary:not(:disabled):not(.disabled).active,div.tox .tox-dialog__footer .tox-button.tox-button--secondary:not(:disabled):not(.disabled):active{background:#64748B;border-color:#64748B}
div.tox .tox-dialog__footer .tox-button.tox-button--secondary:focus:not(:disabled){background:#8A97B4;border-color:#8A97B4}
div.tox .tox-dialog__title{color:#0B1533}
div.tox .tox-label{color:#0B1533}
div.tox .tox-color-input>input,div.tox .tox-listboxfield .tox-listbox--select,div.tox .tox-textarea,div.tox .tox-textfield{color:#0B1533}
div.tox .tox-color-input>input:focus,div.tox .tox-listboxfield .tox-listbox--select:focus,div.tox .tox-textarea:focus,div.tox .tox-textfield:focus{border-color:#1D4ED8;box-shadow:0 0 0 .2rem rgba(29,78,216,.25)}
div.tox .image-selector button{background:#8A97B4;border-color:#8A97B4}
div.tox .image-selector button:focus{background:#64748B;border-color:#64748B}
div.tox .image-selector button:hover{background:#64748B;border-color:#64748B}
div.tox .image-selector button.disabled,div.tox .image-selector button:disabled{background:#8A97B4;border-color:#8A97B4}
div.tox .image-selector button:not(:disabled):not(.disabled).active,div.tox .image-selector button:not(:disabled):not(.disabled):active{background:#64748B;border-color:#64748B}
@media screen and (max-width:480px){div.tox .tox-dialog__header{background-color:#F6F8FE}div.tox .tox-dialog__footer{background-color:#F6F8FE}div.tox .tox-dialog__footer .tox-button{color:#0B1533!important}div.tox .tox-dialog__footer .tox-button:active,div.tox .tox-dialog__footer .tox-button:focus,div.tox .tox-dialog__footer .tox-button:hover{color:#0B1533}}
.image-selector.droptarget{border:.2rem dashed #E2E8F3}
.image-selector .attachmentslist li:focus,.image-selector .attachmentslist li:hover{background:#EEF3FF}
.image-selector .attachmentslist li span.img{border:1px solid #F6F8FE}
.html-editor .editor-toolbar{border-bottom:1px solid #D5DDEC;background-color:#F6F8FE}
.html-editor>iframe{border:1px solid #D5DDEC}
.googie_edit_layer{border:1px solid #D5DDEC}
.googie_list li.googie_list_onhover{background-color:#1D4ED8}
#login-footer{color:#64748B}
#login-footer>div{background:#F6F8FE}
#contactpic{background-color:#F6F8FE}
#contacthead.readonly .source.row{color:#64748B}
#message-header>.header img.contactphoto{background:#F6F8FE}
#message-header .header-headers .header-title{color:#64748B}
.message-partheaders{border-top:1px solid #F6F8FE;background-color:#FAFBFF}
.message-partheaders table.headers-table{color:#64748B}
.message-htmlpart:not(:first-child),.message-part:not(:first-child){border-top:1px solid #F6F8FE}
.message-htmlpart blockquote,.message-part blockquote{color:#1E3A8A;border-left:2px solid #1E3A8A;border-right:2px solid #1E3A8A}
.message-htmlpart blockquote span.blockquote-link,.message-part blockquote span.blockquote-link{color:#64748B;background:#F6F8FE;border:1px solid #E2E8F3}
.message-part span.sig{color:#64748B}
html.dark-mode{scrollbar-color:#2B5BE6 #24345F}
html.dark-mode:not(.touch) ::-webkit-scrollbar-track{background-color:#24345F}
html.dark-mode:not(.touch) ::-webkit-scrollbar-thumb{background-color:#2B5BE6}
html.dark-mode body{color:#D5DEF5;background-color:#0B1330}
html.dark-mode #layout-content,html.dark-mode #layout-list,html.dark-mode #layout-sidebar,html.dark-mode #layout>div>.footer,html.dark-mode #layout>div>.header,html.dark-mode .menu.pagenav.pagenav-list,html.dark-mode .menu.pagenav.pagenav-list+.navlist,html.dark-mode .menu.pagenav.pagenav-list.expanded+.navlist,html.dark-mode .popup .listbox .footer{border-color:#24345F}
html.dark-mode #layout>div>.footer a.button,html.dark-mode #layout>div>.header a.button{color:#D5DEF5}
html.dark-mode #layout-menu{border-right:1px solid #24345F}
@media screen and (max-width:480px){html.dark-mode #layout-menu .popover-header{border-bottom:1px solid #24345F}}
html.dark-mode #layout-menu .special-buttons a:not(:focus){background:#0B1330}
html.dark-mode.layout-phone #layout-menu{background:#070C1D}
html.dark-mode .searchbar{border-color:#24345F}
html.dark-mode #messagestack div{color:#D5DEF5}
html.dark-mode #messagestack div i.icon:before{color:#D5DEF5}
html.dark-mode #messagestack .alert-info,html.dark-mode .ui.alert.boxinformation{background-color:#1D4ED8}
html.dark-mode #messagestack .loading{background-color:#16234A}
html.dark-mode .ui.alert.boxconfirmation,html.dark-mode .ui.alert.boxerror,html.dark-mode .ui.alert.boxinformation,html.dark-mode .ui.alert.boxwarning{color:#D5DEF5}
html.dark-mode .ui.alert.boxconfirmation i.icon:before,html.dark-mode .ui.alert.boxerror i.icon:before,html.dark-mode .ui.alert.boxinformation i.icon:before,html.dark-mode .ui.alert.boxwarning i.icon:before{color:#D5DEF5}
html.dark-mode .ui.alert a:not(.btn){color:#D5DEF5}
html.dark-mode .iframe-loader{background-color:rgba(11,19,48,.9)}
html.dark-mode .iframe-loader .spinner-border{color:#3A4C7C;border-color:currentColor #1C2B55 currentColor currentColor}
html.dark-mode #taskmenu a,html.dark-mode .menu.toolbar a{color:#D5DEF5}
html.dark-mode #taskmenu a.selected,html.dark-mode .menu.toolbar a.selected{background-color:#16234A}
html.dark-mode #taskmenu .action-buttons a{color:#7FA2FF}
@media screen and (max-width:480px){html.dark-mode #taskmenu a{border-color:#16224D!important}}
html.dark-mode.layout-phone .popover,html.dark-mode.layout-small .popover{border-left:1px solid #24345F}
html.dark-mode.layout-phone .popover:not(.select-menu) .listing li:last-child,html.dark-mode.layout-small .popover:not(.select-menu) .listing li:last-child{border-color:#16224D}
html.dark-mode.layout-phone .popover-header,html.dark-mode.layout-small .popover-header{background:#070C1D;border-bottom:1px solid #24345F}
html.dark-mode #taskmenu a:hover,html.dark-mode .header a.button.icon:not(.disabled):focus,html.dark-mode .header a.button.icon:not(.disabled):hover,html.dark-mode .menu a:not(.disabled):focus,html.dark-mode .menu a:not(.disabled):hover,html.dark-mode .menu.toolbar .dropbutton:not(.disabled):hover,html.dark-mode .popupmenu .listing li>a:not(.disabled):hover{background-color:#16234A}
html.dark-mode .menu.toolbar .dropbutton a.dropdown:hover{background-color:#1C2B55}
html.dark-mode .listing li a,html.dark-mode .listing tbody td,html.dark-mode .listing tbody td a,html.dark-mode .proplist li.with-sublist>a.dropdown{color:#D5DEF5}
html.dark-mode .listing li,html.dark-mode .listing li ul,html.dark-mode .listing tbody td{border-color:#16224D}
html.dark-mode .listing li.selected,html.dark-mode .listing li.selected>a,html.dark-mode .listing li.selected>div>a,html.dark-mode .listing tr.selected td{color:#7FA2FF;background-color:#16234A}
html.dark-mode .listing li.selected ul{background-color:#0B1330}
html.dark-mode .listing li.selected ul div.treetoggle{color:#D5DEF5}
html.dark-mode .listing li.disabled,html.dark-mode .listing tr.disabled td{color:#3A4C7C}
html.dark-mode .messagelist{color:#D5DEF5}
html.dark-mode .messagelist tr:not(.flagged):not(.deleted) td.subject span.date,html.dark-mode .messagelist tr:not(.flagged):not(.deleted) td.subject span.fromto,html.dark-mode .messagelist tr:not(.flagged):not(.deleted) td.subject span.size{color:#8FA0CF}
html.dark-mode .messagelist tr:not(.flagged):not(.deleted) td.subject span.msgicon.status{color:#D5DEF5}
html.dark-mode .messagelist tr:not(.flagged):not(.deleted) span.flag{color:#D5DEF5}
html.dark-mode .messagelist tr:not(.flagged):not(.deleted).selected td.subject a,html.dark-mode .messagelist tr:not(.flagged):not(.deleted).selected td.subject span.msgicon.status{color:#7FA2FF}
html.dark-mode .messagelist tr.deleted td span.attachment span,html.dark-mode .messagelist tr.deleted td span.flag,html.dark-mode .messagelist tr.deleted td.subject span.date,html.dark-mode .messagelist tr.deleted td.subject span.fromto,html.dark-mode .messagelist tr.deleted td.subject span.msgicon.status,html.dark-mode .messagelist tr.deleted td.subject span.msgicon.status.unread:before,html.dark-mode .messagelist tr.deleted td.subject span.subject a{color:#3A4C7C}
html.dark-mode .messagelist span.attachment span{color:#8FA0CF}
html.dark-mode .folderlist li.mailbox .unreadcount{background-color:#24345F;color:#F1F5FF}
html.dark-mode .attachmentslist{background-color:#16234A}
html.dark-mode .attachmentslist a{color:#D5DEF5}
html.dark-mode .attachmentslist li .attachment-name{color:#D5DEF5}
html.dark-mode .attachmentslist li .attachment-size{color:#8FA0CF}
html.dark-mode .btn{color:#D5DEF5}
html.dark-mode .btn:focus,html.dark-mode .btn:hover{color:#F1F5FF}
html.dark-mode .btn-primary{background-color:#1D4ED8;color:#F1F5FF}
html.dark-mode .btn-primary:hover:not(:disabled){background-color:#2B5BE6}
html.dark-mode .btn-secondary{background-color:#24345F;color:#F1F5FF}
html.dark-mode .btn-secondary:hover:not(:disabled){background-color:#3A4C7C}
html.dark-mode .btn-danger{color:#F1F5FF}
html.dark-mode .floating-action-buttons a.button{background:#1D4ED8}
html.dark-mode .custom-file-label,html.dark-mode .form-control{background-color:#0B1330;color:#D5DEF5}
html.dark-mode .custom-file-label:not(.is-invalid),html.dark-mode .form-control:not(.is-invalid){border-color:#3A4C7C}
html.dark-mode .custom-file-label:focus,html.dark-mode .form-control:focus{background-color:#16224D}
html.dark-mode .custom-file-label:focus:not(.is-invalid),html.dark-mode .form-control:focus:not(.is-invalid){color:#F1F5FF!important;border-color:#7FA2FF}
html.dark-mode .custom-file-label::after{color:#D5DEF5;background-color:#16234A}
html.dark-mode .custom-switch .custom-control-label::before{background-color:#24345F}
html.dark-mode .custom-switch .custom-control-label::after{background-color:#D5DEF5}
html.dark-mode .custom-switch .custom-control-input:checked~.custom-control-label::before{background-color:#1D4ED8}
html.dark-mode .custom-switch .custom-control-input:checked~.custom-control-label::after{background-color:#D5DEF5}
html.dark-mode .multi-input:not(.is-invalid)>.content{border-color:#3A4C7C}
html.dark-mode .multi-input:not(.is-invalid)>.content.focused{border-color:#7FA2FF}
html.dark-mode .input-group-text{color:#D5DEF5;background-color:#16234A;border-color:#3A4C7C}
html.dark-mode .input-group a:focus{border-color:#7FA2FF;box-shadow:0 0 0 .2rem rgba(127,162,255,.25)}
html.dark-mode .recipient-input.focus{color:#F1F5FF;background-color:#16224D;border-color:#7FA2FF}
html.dark-mode .recipient-input a.button.icon,html.dark-mode .recipient-input input{color:#D5DEF5}
html.dark-mode .recipient-input .recipient{background-color:#16234A;border-color:#3A4C7C}
html.dark-mode .file-upload{border-color:#24345F}
html.dark-mode .file-upload.droptarget.active{border-color:#D5DEF5}
html.dark-mode .file-upload.droptarget.hover{border-color:#D5DEF5;background-color:#16234A}
html.dark-mode .image-upload{background-color:#16234A}
html.dark-mode .image-upload a.button{background-color:rgba(11,19,48,.25)}
html.dark-mode .formcontent.raweditor .CodeMirror{color:#D5DEF5;background-color:#0B1330;border-color:#3A4C7C}
html.dark-mode .formcontent.raweditor .CodeMirror-focused{background-color:#16224D;border-color:#7FA2FF}
html.dark-mode .CodeMirror-line::selection,html.dark-mode .CodeMirror-line>span::selection,html.dark-mode .CodeMirror-line>span>span::selection,html.dark-mode .CodeMirror-selected{background:#16234A}
html.dark-mode .CodeMirror-gutters{background-color:#0B1330}
html.dark-mode .CodeMirror-activeline-background{background:#16234A}
html.dark-mode .CodeMirror-cursor{border-left-color:#D5DEF5}
html.dark-mode .skinselection .skinthumbnail{border-color:#3A4C7C}
html.dark-mode .html-editor .editor-toolbar{background-color:#16234A;border-color:#3A4C7C}
html.dark-mode .html-editor .editor-toolbar .mce-i-html:focus,html.dark-mode .html-editor .editor-toolbar .mce-i-html:hover{background-color:#3A4C7C}
html.dark-mode .tox.tox-tinymce{border-color:#3A4C7C}
html.dark-mode .tox .tox-toolbar{background-color:#16234A;border-color:#3A4C7C}
html.dark-mode .tox .tox-pop.tox-pop--top:after,html.dark-mode .tox .tox-pop.tox-pop--top:before{border-bottom-color:#8FA0CF}
html.dark-mode .tox .tox-pop__dialog{border-color:#8FA0CF}
html.dark-mode .tox .tox-split-button,html.dark-mode .tox .tox-swatches__picker-btn,html.dark-mode .tox .tox-tbtn{color:#D5DEF5}
html.dark-mode .tox .tox-split-button svg,html.dark-mode .tox .tox-swatches__picker-btn svg,html.dark-mode .tox .tox-tbtn svg{fill:#D5DEF5!important}
html.dark-mode .tox .tox-split-button:focus,html.dark-mode .tox .tox-split-button:hover,html.dark-mode .tox .tox-swatches__picker-btn:focus,html.dark-mode .tox .tox-swatches__picker-btn:hover,html.dark-mode .tox .tox-tbtn:focus,html.dark-mode .tox .tox-tbtn:hover{color:#D5DEF5;background:#3A4C7C}
html.dark-mode .tox .tox-tbtn--enabled{background:#3A4C7C}
html.dark-mode .tox .tox-button--naked.tox-button--icon:hover:not(:disabled),html.dark-mode .tox .tox-button--naked:focus:not(:disabled){background-color:#3A4C7C}
html.dark-mode .tox .tox-selectfield select{color:#D5DEF5}
html.dark-mode .tox .tox-selectfield svg{fill:#D5DEF5}
html.dark-mode .tox .tox-color-input span::before{background-color:#D5DEF5}
html.dark-mode .tox .tox-toolbar__group:not(:last-of-type){border-color:#3A4C7C}
html.dark-mode .tox .tox-dialog,html.dark-mode .tox .tox-dialog__body,html.dark-mode .tox .tox-dialog__footer,html.dark-mode .tox .tox-dialog__header,html.dark-mode .tox .tox-dialog__title{color:#D5DEF5;border-color:#24345F;background-color:#0B1330}
html.dark-mode .tox .tox-button--naked,html.dark-mode .tox .tox-color-input>input,html.dark-mode .tox .tox-dialog__body-nav-item,html.dark-mode .tox .tox-dialog__header .tox-button,html.dark-mode .tox .tox-insert-table-picker__label,html.dark-mode .tox .tox-label,html.dark-mode .tox .tox-textfield{color:#D5DEF5}
html.dark-mode .tox .tox-dialog__footer .tox-button{background-color:#1D4ED8;color:#F1F5FF}
@media screen and (max-width:480px){html.dark-mode .tox .tox-dialog__footer .tox-button{color:#D5DEF5!important}}
html.dark-mode .tox .tox-dialog__footer .tox-button:focus:not(:disabled){background-color:#1D4ED8}
html.dark-mode .tox .tox-dialog__footer .tox-button:hover:not(:disabled){background-color:#2B5BE6}
html.dark-mode .tox .tox-dialog__footer .tox-button.tox-button--secondary{background-color:#24345F;color:#F1F5FF}
html.dark-mode .tox .tox-dialog__footer .tox-button.tox-button--secondary:focus:not(:disabled){background-color:#24345F}
html.dark-mode .tox .tox-dialog__footer .tox-button.tox-button--secondary:hover:not(:disabled){background-color:#3A4C7C}
html.dark-mode .tox .tox-dialog__body-nav-item--active{color:#7FA2FF}
html.dark-mode .tox .tox-menu{background-color:#070C1D;border-color:#8FA0CF}
html.dark-mode .tox .tox-collection__item-caret svg{fill:#D5DEF5}
html.dark-mode .tox .tox-collection__item{color:#D5DEF5}
html.dark-mode .tox .tox-collection__item:not(:last-child){border-bottom:1px solid #16224D}
html.dark-mode .tox .tox-collection__item--active,html.dark-mode .tox .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#D5DEF5;background-color:#16234A}
html.dark-mode .tox .tox-collection__item--enabled{color:#7FA2FF;background-color:#16234A}
html.dark-mode .message-part{border-color:#24345F}
html.dark-mode .message-part blockquote{background-color:#0B1330;border-color:#A5BEFF;color:#A5BEFF}
html.dark-mode .message-part blockquote span.blockquote-link{background:#0B1330}
html.dark-mode .message-part span.sig{color:#8FA0CF}
html.dark-mode .message-htmlpart{color:#0B1330}
html.dark-mode #message-header .header-headers .header-title{color:#D5DEF5}
html.dark-mode .message-partheaders{background-color:#16234A}
html.dark-mode .message-partheaders table.headers-table{color:#D5DEF5}
html.dark-mode p.image-attachment{border-color:#24345F;background-color:#16234A}
html.dark-mode p.image-attachment span{color:#8FA0CF}
html.dark-mode fieldset.image-attachment legend{color:#8FA0CF;border-color:#24345F}
html.dark-mode .ui-widget{border-color:#24345F}
html.dark-mode .ui-widget-content,html.dark-mode .ui-widget-header{background-color:#0B1330}
html.dark-mode .ui-dialog .ui-dialog-titlebar{border-color:#24345F}
html.dark-mode .ui-dialog .ui-dialog-title,html.dark-mode .ui-dialog .ui-dialog-titlebar-close{color:#D5DEF5}
html.dark-mode .ui-dialog .ui-dialog-buttonpane{border-color:#24345F}
html.dark-mode .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset a.btn-link{color:#D5DEF5}
@media screen and (max-width:480px){html.dark-mode .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button.btn-primary:not(.btn-danger),html.dark-mode .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button.btn-secondary{color:#D5DEF5}}
html.dark-mode .ui-datepicker .ui-datepicker-header{border-color:#24345F}
html.dark-mode .ui-datepicker th{color:#8FA0CF}
html.dark-mode .ui-datepicker .ui-datepicker-next,html.dark-mode .ui-datepicker .ui-datepicker-prev,html.dark-mode .ui-datepicker .ui-state-default,html.dark-mode .ui-datepicker.ui-widget-content .ui-state-default{color:#D5DEF5}
html.dark-mode .ui-datepicker .ui-state-highlight,html.dark-mode .ui-datepicker.ui-widget-content .ui-state-highlight{color:#7FA2FF;background-color:#16234A}
html.dark-mode .ui-datepicker .ui-datepicker-days-cell-over a{background-color:#24345F}
html.dark-mode .ui-menu{background-color:#070C1D;border-color:#8FA0CF}
html.dark-mode .ui-menu .ui-menu-item{border-bottom:1px solid #16224D}
html.dark-mode .ui-menu .ui-state-active{background-color:#16234A!important}
html.dark-mode .minicolors-panel{border-color:#24345F;background:#070C1D}
html.dark-mode #contacthead.readonly .source.row,html.dark-mode #login-footer,html.dark-mode .contactlist span.email,html.dark-mode .file-upload .hint,html.dark-mode .formcontent .hint,html.dark-mode .listing span.secondary,html.dark-mode .listing-info,html.dark-mode ::-webkit-input-placeholder,html.dark-mode ::placeholder{color:#8FA0CF}
html.dark-mode .popover{background-color:#070C1D;border-color:#8FA0CF}
html.dark-mode .popover .menu li.separator{color:#8FA0CF}
html.dark-mode .popover .menu ul+li.separator{border-top:1px solid #16224D}
html.dark-mode .popover-body{color:#D5DEF5}
html.dark-mode .bs-popover-auto[x-placement^=right]>.arrow::after,html.dark-mode .bs-popover-right>.arrow::after{border-right-color:#8FA0CF}
html.dark-mode .bs-popover-auto[x-placement^=left]>.arrow::after,html.dark-mode .bs-popover-left>.arrow::after{border-left-color:#8FA0CF}
html.dark-mode .bs-popover-auto[x-placement^=top]>.arrow::after,html.dark-mode .bs-popover-top>.arrow::after{border-top-color:#8FA0CF}
html.dark-mode .bs-popover-auto[x-placement^=bottom]>.arrow::after,html.dark-mode .bs-popover-bottom>.arrow::after{border-bottom-color:#8FA0CF}
html.dark-mode .listing-hover-menu{background-color:#070C1D;border-color:#24345F}
html.dark-mode .listing-hover-menu a.button{color:#D5DEF5}
html.dark-mode .listing-hover-menu span.txt{color:#8FA0CF}
html.dark-mode .nav-tabs{border-color:#24345F}
html.dark-mode .nav-tabs .nav-link{color:#D5DEF5;border-bottom-color:#24345F}
html.dark-mode .nav-tabs .nav-link:hover{background:#0B1330;border-color:#24345F;color:#D5DEF5}
html.dark-mode .nav-tabs .nav-link.active{background:#0B1330;border-color:#24345F}
html.dark-mode .table{color:#D5DEF5}
html.dark-mode .table td,html.dark-mode .table th,html.dark-mode .table thead th{border-color:#24345F}
html.dark-mode .table-widget{border-color:#24345F}
html.dark-mode .table-widget>.footer{border-color:#24345F}
html.dark-mode .table-widget table.options-table tr:last-child td{border-color:#24345F}
html.dark-mode .table-widget table.options-table tr.selected td{background-color:#16234A;color:#D5DEF5}
html.dark-mode #rcmdraglayer{background-color:#070C1D;border:1px solid #8FA0CF;color:#D5DEF5}
html.dark-mode .quota-widget .bar{border-color:#24345F;background-color:#24345F}
html.dark-mode .quota-info .root{color:#8FA0CF}
html.dark-mode #contactpic,html.dark-mode img.contactphoto{background-color:#16234A!important}
html.dark-mode .pgpkeyimport div.key.disabled,html.dark-mode .pgpkeyimport div.key.revoked{color:#3A4C7C}
/* ---- Hootech brand: type, shape, sign-in page ---- */
@font-face{font-family:"Inter";font-weight:400 700;font-display:swap;src:url("fonts/inter.woff2") format("woff2")}
@font-face{font-family:"Sora";font-weight:500 700;font-display:swap;src:url("fonts/sora.woff2") format("woff2")}
body,.form-control,.btn,.popover,.ui-dialog,input,select,textarea,button{font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
h1,h2,h3,.header-title,.ui-dialog-title,.boxtitle{font-family:"Sora","Inter",system-ui,sans-serif;letter-spacing:-.01em}
.btn{border-radius:999px}
.btn.btn-primary{box-shadow:none}
.form-control,.custom-select,.input-group-text{border-radius:10px}
.input-group>.form-control:not(:first-child),.input-group>.custom-select:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}
.input-group>.input-group-prepend>.input-group-text{border-top-right-radius:0;border-bottom-right-radius:0}
.form-control:focus,.custom-select:focus{border-color:#1D4ED8;box-shadow:0 0 0 .2rem rgba(29,78,216,.18)}
#layout-menu .popover-header,#layout-menu #logo{max-height:34px}
#taskmenu a.selected{border-radius:12px}
html:not(.dark-mode) #taskmenu a{border-radius:12px;margin:2px 6px}
html:not(.dark-mode) #taskmenu a.selected{background:#1D4ED8}
html:not(.dark-mode) #taskmenu a.logout{color:#ff8a8a}
.popover,.ui-dialog,.ui-menu{border-radius:14px}
::selection{background:#1D4ED8;color:#fff}

/* sign-in */
html:not(.dark-mode) body.task-login{background:radial-gradient(900px 520px at 12% -8%,#dbe6ff 0,rgba(219,230,255,0) 60%),radial-gradient(800px 520px at 100% 108%,#c9d9ff 0,rgba(201,217,255,0) 60%),#F6F8FE}
body.task-login #layout,body.task-login #layout-content{background:transparent}
body.task-login #layout-content{display:flex;flex-direction:column;justify-content:center}
body.task-login #login-form{width:100%;max-width:420px;margin:0 auto;padding:40px 36px 30px;background:#fff;border:1px solid #E2E8F3;border-radius:22px;box-shadow:0 2px 6px rgba(11,21,51,.05),0 30px 60px -20px rgba(29,78,216,.28)}
html.dark-mode body.task-login #login-form{background:#161b1d;border-color:#2c363a}
body.task-login #logo{display:block;width:auto;height:44px;max-height:44px;margin:0 0 26px}
body.task-login #login-form::before{content:"Sign in to your mailbox";display:block;margin:0 0 4px;font-family:"Sora","Inter",sans-serif;font-size:1.35rem;font-weight:700;letter-spacing:-.02em;color:#0B1533}
html.dark-mode body.task-login #login-form::before{color:#fff}
body.task-login #login-form table{margin-top:18px}
body.task-login #login-form .form-control{height:48px}
body.task-login #login-form .input-group-text{background:#F6F8FE;border-color:#D5DDEC;color:#64748B}
body.task-login #rcmloginsubmit{height:48px;font-family:"Sora","Inter",sans-serif;font-weight:600;box-shadow:0 10px 24px -10px rgba(29,78,216,.7)}
body.task-login #login-footer{margin-top:22px;color:#64748B;font-size:.85rem}

/* dark mode: white wordmark, deep blue surfaces */
html.dark-mode body.task-login{background:radial-gradient(900px 520px at 12% -8%,#13204a 0,rgba(19,32,74,0) 60%),#070C1D}
html.dark-mode body.task-login #logo{content:url("logo-white.svg")}
html.dark-mode body.task-login #login-form{background:#0D1733;border-color:#1B2748;box-shadow:0 30px 60px -20px rgba(0,0,0,.6)}
html.dark-mode body.task-login #login-form .input-group-text{background:#0A1230;border-color:#1F2C55;color:#8FA0CF}
html.dark-mode body.task-login #login-form .form-control{background:#0A1230;border-color:#1F2C55;color:#F1F5FF}
html.dark-mode #taskmenu a{border-radius:12px;margin:2px 6px}
html.dark-mode #taskmenu a.selected{background:#1D4ED8;color:#fff}
html.dark-mode .btn.btn-primary{background:#1D4ED8;border-color:#1D4ED8;color:#fff}
html.dark-mode .btn.btn-primary:hover{background:#2B5BE6;border-color:#2B5BE6}
body.task-login #logo{margin-bottom:18px}
/* sign-in block exactly in the middle of the screen */
body.task-login #layout{min-height:100vh}
body.task-login #layout-content{align-items:center;justify-content:center;padding:24px 16px}
body.task-login #logo,body.task-login #login-form{position:static;top:auto;transform:none}
body.task-login #logo{margin:0 auto 22px}
body.task-login #login-form{width:min(420px,100%);max-width:420px;box-sizing:border-box}

/* ---- Inside the mailbox: one calm surface system, light and dark ---- */
:root{--hm-bg:#F6F8FE;--hm-card:#FFFFFF;--hm-line:#E6EBF5;--hm-ink:#0B1533;--hm-soft:#64748B;--hm-tint:#EEF3FF;--hm-brand:#1D4ED8;--hm-side:#0B1533}
html.dark-mode{--hm-bg:#070C1D;--hm-card:#0B1330;--hm-line:#16224D;--hm-ink:#F1F5FF;--hm-soft:#8FA0CF;--hm-tint:#16234A;--hm-brand:#7FA2FF;--hm-side:#070C1D}
body,#layout{background:var(--hm-bg)}
#layout>div{background:var(--hm-card);border-color:var(--hm-line)!important}
#layout-sidebar,#layout-list{border-right:1px solid var(--hm-line)!important}
#layout>div>.header,#layout>div>.footer{background:var(--hm-card)!important;border-color:var(--hm-line)!important;color:var(--hm-ink)}
#layout>div>.header{border-bottom:1px solid var(--hm-line)}
#layout>div>.footer{border-top:1px solid var(--hm-line)}
#layout-content{background:var(--hm-bg)}
#layout-content>.header{background:var(--hm-card)!important}
.header .header-title{font-family:"Sora","Inter",sans-serif;font-weight:600;color:var(--hm-ink)}
#layout-sidebar .header .header-title.username{font-size:.95rem}

/* left rail */
@media screen and (min-width:481px){
  #layout-menu{background:var(--hm-side)!important;border-right:1px solid rgba(255,255,255,.06)}
  #layout-menu .popover-header{background:transparent!important;height:58px;max-height:58px;display:flex;align-items:center;justify-content:center;padding:0}
  #layout-menu #logo{position:static;width:58px;height:auto;max-height:none;margin:0}
  #taskmenu a{color:#B9C5E6!important;box-sizing:border-box;width:auto;font-weight:500;border-radius:12px;margin:3px 7px;transition:background .15s,color .15s}
  #taskmenu a:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}
  #taskmenu a.selected,#taskmenu a.selected:hover{background:#1D4ED8!important;color:#fff!important;box-shadow:0 8px 18px -8px rgba(29,78,216,.9)}
  #taskmenu .special-buttons{background:transparent!important}
  #taskmenu .special-buttons a:not(:focus),html.dark-mode #layout-menu .special-buttons a:not(:focus){background:transparent!important}
  #taskmenu .action-buttons a,#taskmenu .action-buttons a:hover,html.dark-mode #taskmenu .action-buttons a{color:#fff!important;background:rgba(255,255,255,.1)!important}
  #taskmenu .action-buttons a:hover{background:#1D4ED8!important}
  #taskmenu a.logout{color:#FF9B9B!important}
  #taskmenu a.logout:hover{background:rgba(255,90,90,.14)!important}
}

/* folders */
.folderlist li.mailbox,ul.treelist li{border-bottom:0!important}
ul.treelist li ul{border-top:0!important}
#folderlist-content{padding-top:8px}
.folderlist li.mailbox>a,.folderlist li.mailbox>div>a{margin:1px 8px;padding-right:.75rem;border-radius:10px;color:var(--hm-ink);font-weight:500;transition:background .12s}
.folderlist li.mailbox>a:hover,.folderlist li.mailbox>div>a:hover{background:var(--hm-bg)}
.folderlist li.mailbox>a:before{color:var(--hm-soft)}
.folderlist li.mailbox.selected>a,.folderlist li.mailbox.selected>div>a,ul.treelist li.selected>a,ul.treelist li.selected>div>a{background:var(--hm-tint)!important;color:var(--hm-brand)!important;font-weight:600}
.folderlist li.mailbox.selected>a:before{color:var(--hm-brand)}
.folderlist li.mailbox .unreadcount,.folderlist li.mailbox.recent>a>.unreadcount{background:#1D4ED8!important;color:#fff!important;border-radius:999px;font-weight:600;min-width:1.6em;text-align:center}
.listing.iconized li a,.listing li a{color:var(--hm-ink)}

/* toolbars */
.menu.toolbar:not(#taskmenu) a,.header a.button{color:var(--hm-soft)!important;border-radius:10px;transition:background .12s,color .12s}
.menu.toolbar:not(#taskmenu) a:not(.disabled):hover,.header a.button.icon:not(.disabled):hover,.menu.toolbar:not(#taskmenu) .dropbutton:not(.disabled):hover{background:var(--hm-tint)!important;color:var(--hm-brand)!important}
.menu.toolbar:not(#taskmenu) a.disabled,.header a.button.disabled{opacity:.42}
.menu.toolbar:not(#taskmenu) a.delete:not(.disabled):hover{color:#DC2626!important;background:rgba(220,38,38,.09)!important}

/* search */
.searchbar{background:var(--hm-card);border-bottom:1px solid var(--hm-line)!important}
.searchbar form{margin:6px 8px;background:var(--hm-bg);border:1px solid var(--hm-line);border-radius:12px}
.searchbar form:focus-within{border-color:#1D4ED8;box-shadow:0 0 0 3px rgba(29,78,216,.14)}
.searchbar input{background:transparent!important;color:var(--hm-ink)}
.searchbar a.button{color:var(--hm-soft)!important}

/* message list */
#layout-list,.messagelist,#messagelist-content{background:var(--hm-card)}
.messagelist{border:0!important;outline:0}
#messagelist-content:focus,#messagelist-content:focus-within,.scroller:focus{outline:0}
.messagelist tbody td,.listing tbody td,.listing li{border-bottom:1px solid var(--hm-line)!important}
.messagelist tr>td.subject{padding-top:.55rem;padding-bottom:.55rem}
.messagelist tr td.subject a{color:var(--hm-ink)}
.messagelist tr td.subject span.fromto,.messagelist tr td.subject span.date,.messagelist tr td.subject span.size{color:var(--hm-soft)}
.messagelist tr.unread td.subject a,.messagelist tr.unread td.subject span.fromto{font-weight:700;color:var(--hm-ink)}
.messagelist tr:not(.selected):hover td{background:var(--hm-bg)}
.messagelist tr.selected td,.listing tr.selected td,.listing li.selected{background:var(--hm-tint)!important}
.messagelist tr.selected td:first-child{box-shadow:inset 3px 0 0 #1D4ED8}
.messagelist tr.selected td.subject a,html.dark-mode .messagelist tr:not(.flagged):not(.deleted).selected td.subject a{color:var(--hm-ink)!important}
.messagelist tr.unread td.subject span.msgicon.status:before{color:#1D4ED8}
.pagenav .pagenav-text,.pagenav a,.footer .pagenav{color:var(--hm-soft)}
.pagenav input{border-radius:8px}

/* reading pane and forms */
#messagecontframe,#contact-frame,#preferences-frame,.iframe-wrapper iframe{background:var(--hm-bg)}
body.task-mail.action-preview,body.task-mail.action-show #layout-content,.formcontent,body.iframe{background:var(--hm-card)}
html.dark-mode body.iframe,html.dark-mode .formcontent{background:var(--hm-card);color:var(--hm-ink)}
#message-header>.subject,h2.subject{font-family:"Sora","Inter",sans-serif;font-weight:700;letter-spacing:-.015em;color:var(--hm-ink)}
#message-header{border-bottom:1px solid var(--hm-line)}
.message-partheaders,.message-htmlpart:not(:first-child),.message-part:not(:first-child){border-color:var(--hm-line)!important}
.attachmentslist{border:1px solid var(--hm-line)!important;border-radius:12px;background:var(--hm-bg)!important}
.nav-tabs{border-color:var(--hm-line)}
.nav-tabs .nav-link{border-radius:10px 10px 0 0;color:var(--hm-soft)}
.nav-tabs .nav-link.active{color:var(--hm-brand)!important;border-color:var(--hm-line) var(--hm-line) transparent!important;font-weight:600}
.boxtitle,legend{color:var(--hm-ink)}
html.dark-mode .form-control,html.dark-mode .custom-select,html.dark-mode .recipient-input,html.dark-mode .multi-input>.content{background:#0A1230!important;border-color:#24345F!important;color:#F1F5FF}
html.dark-mode .btn-secondary{background:#16234A;border-color:#24345F;color:#F1F5FF}
html.dark-mode .btn-secondary:hover{background:#1C2B55}

/* messages that pop up in the corner */
#messagestack div{border-radius:14px;box-shadow:0 18px 40px -16px rgba(11,21,51,.55);border:0}
#messagestack .alert-danger,#messagestack .error{background:#B91C1C!important;color:#fff!important}
.popover,.ui-dialog,.ui-menu{border:1px solid var(--hm-line)!important;box-shadow:0 24px 60px -24px rgba(11,21,51,.45)!important}
html.dark-mode .popover,html.dark-mode .ui-dialog,html.dark-mode .ui-menu{background:#0D1733!important}
.popover .menu li a,.popupmenu .listing li>a{border-radius:8px;margin:1px 6px}
.popover .menu li a:not(.disabled):hover,.popupmenu .listing li>a:not(.disabled):hover{background:var(--hm-tint)!important;color:var(--hm-brand)!important}
.quota-widget .bar{border-radius:99px;overflow:hidden;background:var(--hm-tint)}
html{scrollbar-color:#C5D0E6 transparent}
html.dark-mode{scrollbar-color:#24345F transparent}

/* ---- Side rail and folder list: even spacing and alignment ---- */
@media screen and (min-width:481px){
  #layout-menu .popover-header{height:64px;max-height:64px}
  #layout-menu #logo{content:url("logo-small.svg");width:38px;height:auto;padding:0}
  #taskmenu{display:flex;flex-direction:column;align-items:center;padding-top:4px}
  #taskmenu .action-buttons{display:flex;flex-direction:column;align-items:center;width:100%}
  #taskmenu .special-buttons{display:flex;flex-direction:column;align-items:center;width:77px}
  #taskmenu .special-buttons{padding-bottom:10px}
  #taskmenu a,html:not(.dark-mode) #taskmenu a,html.dark-mode #taskmenu a{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;width:62px!important;height:58px!important;min-height:0;margin:3px 0!important;padding:0!important;border-radius:14px;line-height:1;text-align:center;overflow:hidden}
  #taskmenu a:before{float:none!important;display:block;width:auto;height:auto;margin:0!important;font-size:1.2rem;line-height:1}
  #taskmenu a .inner{display:block;max-width:58px;padding:0;font-size:11.5px;font-weight:500;line-height:1.15;letter-spacing:.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #taskmenu .action-buttons{margin-bottom:10px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.09)}
  #taskmenu .action-buttons a,#taskmenu .action-buttons a:hover,html.dark-mode #taskmenu .action-buttons a,html.dark-mode #taskmenu .action-buttons a:hover{background:#fff!important;color:#1D4ED8!important;box-shadow:0 10px 22px -12px rgba(0,0,0,.7)}
  #taskmenu .action-buttons a:hover{background:#EEF3FF!important}
  #taskmenu .action-buttons a .inner{font-weight:600}
}
#layout-sidebar>.header{height:64px;min-height:64px;line-height:64px}
#folderlist-content{padding:10px 0}
#mailboxlist li.mailbox>a,.folderlist li.mailbox>a,.folderlist li.mailbox>div>a{box-sizing:border-box;width:auto!important;height:40px;line-height:40px;margin:2px 10px!important;padding:0 12px 0 10px!important;display:flex;align-items:center;gap:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.folderlist li.mailbox>a:before{float:none;flex:none;width:1.5rem;margin:0 8px 0 0;text-align:center;line-height:1;height:auto;font-size:1.05rem}
.folderlist li.mailbox>a .unreadcount{margin-left:auto;float:none;flex:none;line-height:1.5;padding:0 .5em;font-size:.75rem}
.folderlist li.mailbox ul{padding-left:14px}
.folderlist li.mailbox,.folderlist li.mailbox.selected,ul.treelist li.selected,#mailboxlist li.selected{background:transparent!important}
html.dark-mode .folderlist li.mailbox.selected,html.dark-mode #mailboxlist li.selected{background:transparent!important}
/* smaller, quieter active item in the side rail */
@media screen and (min-width:481px){
  #taskmenu a,html:not(.dark-mode) #taskmenu a,html.dark-mode #taskmenu a{width:58px!important;height:50px!important;gap:5px;margin:2px 0!important;border-radius:12px}
  #taskmenu a:before{font-size:1.05rem}
  #taskmenu a .inner{font-size:11px;max-width:54px}
  #taskmenu a.selected,#taskmenu a.selected:hover,html:not(.dark-mode) #taskmenu a.selected,html.dark-mode #taskmenu a.selected{background:rgba(96,134,255,.2)!important;color:#fff!important;box-shadow:none!important}
  #taskmenu a.selected:before{color:#9DB7FF}
  #taskmenu .action-buttons a,#taskmenu .action-buttons a:hover,html.dark-mode #taskmenu .action-buttons a,html.dark-mode #taskmenu .action-buttons a:hover,html:not(.dark-mode) #taskmenu .action-buttons a.selected,html.dark-mode #taskmenu .action-buttons a.selected{background:#1D4ED8!important;color:#fff!important;box-shadow:none!important}
  #taskmenu .action-buttons a:before{color:#fff!important}
  #taskmenu .action-buttons a:hover{background:#2B5BE6!important}
  #taskmenu .action-buttons{margin-bottom:8px;padding-bottom:10px}
}
@media screen and (min-width:481px){#taskmenu a.theme .inner{font-size:10px;max-width:58px;letter-spacing:0}}

/* ---- Side rail, redesigned: a slim icon rail (names show on hover), one round Compose button ---- */
@media screen and (min-width:481px){
  #layout-menu{width:64px!important;min-width:64px!important;max-width:64px!important;flex:0 0 64px!important}
  #layout-menu .popover-header{height:64px;max-height:64px;width:63px}
  #layout-menu #logo{width:34px}
  #taskmenu{padding-top:2px;width:63px}
  #taskmenu a .inner{display:none!important}
  #taskmenu a,html:not(.dark-mode) #taskmenu a,html.dark-mode #taskmenu a{width:42px!important;height:42px!important;margin:4px 0!important;border-radius:12px;gap:0;color:#9FB0DE!important;background:transparent!important}
  #taskmenu a:before{font-size:1.1rem;color:inherit!important}
  #taskmenu a:hover,html.dark-mode #taskmenu a:hover{background:rgba(255,255,255,.09)!important;color:#fff!important}
  #taskmenu a.selected,#taskmenu a.selected:hover,html:not(.dark-mode) #taskmenu a.selected,html.dark-mode #taskmenu a.selected{background:rgba(255,255,255,.14)!important;color:#fff!important}
  #taskmenu .action-buttons{margin:0 0 10px;padding:0 0 14px;border-bottom:1px solid rgba(255,255,255,.1);width:40px}
  #taskmenu .action-buttons a,#taskmenu .action-buttons a:hover,html.dark-mode #taskmenu .action-buttons a,html.dark-mode #taskmenu .action-buttons a:hover,html:not(.dark-mode) #taskmenu .action-buttons a.selected,html.dark-mode #taskmenu .action-buttons a.selected{width:44px!important;height:44px!important;margin:0!important;border-radius:50%;background:#1D4ED8!important;color:#fff!important;box-shadow:0 8px 18px -8px rgba(29,78,216,.95)!important}
  #taskmenu .action-buttons a:hover{background:#2B5BE6!important}
  #taskmenu .special-buttons{width:63px;padding-bottom:12px}
  #taskmenu a.logout{color:#FF9B9B!important}
}
@media screen and (min-width:481px){
  html #layout-menu #taskmenu .action-buttons a,html #layout-menu #taskmenu .action-buttons a.selected{width:44px!important;height:44px!important;margin:0!important;border-radius:50%!important;background:#1D4ED8!important;color:#fff!important;box-shadow:0 8px 18px -8px rgba(29,78,216,.95)!important}
  html #layout-menu #taskmenu .action-buttons a:hover{background:#2B5BE6!important}
  html #layout-menu #taskmenu a.logout{color:#FF9B9B!important}
}

/* ---- Side rail, final: every button the same size on one centre line, no shadows, light and dark ---- */
@media screen and (min-width:481px){
  html #layout-menu #taskmenu{display:flex;flex-direction:column;align-items:center;width:63px;padding:0;margin:0}
  html #layout-menu #taskmenu .action-buttons,html #layout-menu #taskmenu .special-buttons{display:flex;flex-direction:column;align-items:center;width:63px;margin:0;padding:0;border:0;left:0}
  html #layout-menu #taskmenu .action-buttons{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid rgba(255,255,255,.1)}
  html #layout-menu #taskmenu .special-buttons{padding-bottom:12px}
  html #layout-menu #taskmenu a,html #layout-menu #taskmenu .action-buttons a,html #layout-menu #taskmenu .action-buttons a.selected{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:40px!important;height:40px!important;min-width:0;margin:3px 0!important;padding:0!important;border:0!important;border-radius:12px!important;box-shadow:none!important;position:static;float:none}
  html #layout-menu #taskmenu a:before{display:block;float:none!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;line-height:1!important;font-size:1.05rem;text-align:center}
  html #layout-menu #taskmenu .action-buttons a,html #layout-menu #taskmenu .action-buttons a.selected{margin:0!important;background:#1D4ED8!important;color:#fff!important}
  /* light theme */
  html:not(.dark-mode) #layout-menu{background:#fff!important;border-right:1px solid #E6EBF5!important}
  html:not(.dark-mode) #layout-menu #logo{content:url("logo-small-royal.svg")}
  html:not(.dark-mode) #layout-menu #taskmenu .action-buttons{border-bottom-color:#E6EBF5}
  html:not(.dark-mode) #layout-menu #taskmenu a:not(.compose){color:#64748B!important}
  html:not(.dark-mode) #layout-menu #taskmenu a:not(.compose):hover{background:#F1F5FD!important;color:#0B1533!important}
  html:not(.dark-mode) #layout-menu #taskmenu a.selected:not(.compose),html:not(.dark-mode) #layout-menu #taskmenu a.selected:not(.compose):hover{background:#EEF3FF!important;color:#1D4ED8!important}
  html:not(.dark-mode) #layout-menu #taskmenu a.selected:not(.compose):before{color:#1D4ED8!important}
  html:not(.dark-mode) #layout-menu #taskmenu a.logout{color:#DC2626!important}
  html:not(.dark-mode) #layout-menu #taskmenu a.logout:hover{background:#FEF2F2!important;color:#DC2626!important}
}
