/* WNTR: warm taupe, cognac brown, parchment and aged brass. Interface only; message contents remain untouched. */
:root{--wntr-forest:#6b5036;--wntr-deep:#251d17;--wntr-sage:#8e7254;--wntr-cream:#f3eadb;--wntr-brass:#c4a574}
body{font-family:"Segoe UI",system-ui,sans-serif!important}
a,.btn-link,.listing li>a,.listing td a{color:#795b3d!important}
#taskmenu{background:#251d17!important;border-right:1px solid #66513c!important}
#taskmenu a,#taskmenu .button{color:#eee0ca!important}
#taskmenu a.selected,#taskmenu a:hover,#taskmenu .selected,#taskmenu .button:hover{background:#604931!important;color:#e4cda6!important}
#taskmenu #logo{width:66px!important;height:48px!important;max-height:54px!important;object-fit:contain!important;margin:10px auto 15px!important;filter:brightness(0) invert(1)!important}
#layout-menu{background:#251d17!important}
#layout-sidebar{background:#eee3d2!important;border-color:#d8d5c7!important}
#layout-sidebar>.header,#layout-sidebar .header{background:#e4d5bf!important;color:#4b3829!important;border-color:#cfb99b!important}
#folderlist .selected>a,.folderlist li.selected>a,.listing li.selected>a{background:#dac4a5!important;color:#513820!important;box-shadow:inset 3px 0 #ad8757}
.folderlist li>a:hover,.listing li>a:hover{background:#e3d0b6!important}
.btn-primary,button.mainaction,input.button.mainaction,.btn-success{background:#85603b!important;border-color:#85603b!important;color:#fffdf5!important;box-shadow:none!important}
.btn-primary:hover,button.mainaction:hover,.btn-success:hover{background:#664727!important;border-color:#664727!important}
.form-control:focus,.custom-select:focus{border-color:#ab875e!important;box-shadow:0 0 0 .15rem rgba(166,127,77,.18)!important}
.btn:focus{box-shadow:0 0 0 .15rem rgba(166,127,77,.22)!important}
.custom-control-input:checked~.custom-control-label:before{background:#8b6640!important;border-color:#8b6640!important}
.messagelist tr.selected td,.listing tbody tr.selected td{background:#e3ccb0!important;color:#4f3522!important}
.messagelist tr.unread td{color:#4d3523!important}
.messagelist td.subject span.fromto,.messagelist td.subject span.date{color:#7e6953!important}
.unreadcount,.badge-primary,.badge-info{background:#8b6640!important;color:#fffdf5!important}
#layout-content>.header,.toolbar{background:#f5eddf!important;border-color:#d9c8af!important}
.toolbar a,.toolbar .button,.header a{color:#7a6146!important}
.toolbar a:hover,.toolbar .button:hover{color:#563b25!important;background:#e8d8c1!important}
#layout-list>.searchbar,.searchbar{background:#eaddc8!important;border-color:#d1bda1!important}
#messagelistfooter{background:#eaddc8!important;color:#7e6448!important;border-color:#d1bda1!important}
#messagecontframe{background:#f5eddf!important}
.watermark{opacity:.25!important;filter:grayscale(1) sepia(.35)!important}
body.task-login{background:#e9dcc7!important}
.task-login #layout-content{background:#faf4e9!important;border:1px solid #d6c1a2!important;border-radius:15px!important;box-shadow:0 22px 70px rgba(67,43,23,.12)!important;padding:38px 34px!important}
.task-login #logo{width:190px!important;height:95px!important;max-height:105px!important;object-fit:contain!important;filter:none!important;margin:0 auto 30px!important}
.task-login #login-footer{color:#876b4d!important;letter-spacing:.04em}
html.dark-mode body,html.dark-mode #layout{background:#2c241d!important;color:#e9dcc6!important}
html.dark-mode a,html.dark-mode .btn-link{color:#d4b78a!important}
html.dark-mode #layout-sidebar{background:#34291f!important;border-color:#5b4633!important}
html.dark-mode #layout-sidebar .header{background:#413124!important;color:#e6d1b0!important;border-color:#624a32!important}
html.dark-mode #folderlist .selected>a,html.dark-mode .folderlist li.selected>a,html.dark-mode .listing li.selected>a{background:#6a4e32!important;color:#faebd2!important;box-shadow:inset 3px 0 #c4a574}
html.dark-mode .folderlist li>a:hover{background:#513b28!important}
html.dark-mode #layout-list,html.dark-mode #layout-content,html.dark-mode #messagecontframe,html.dark-mode .listing{background:#2c241d!important;border-color:#5b4530!important;color:#e9dcc6!important}
html.dark-mode #layout-content>.header,html.dark-mode .toolbar,html.dark-mode .header{background:#3f3024!important;border-color:#654d35!important;color:#e6d5bb!important}
html.dark-mode .toolbar a,html.dark-mode .toolbar .button,html.dark-mode .header a{color:#dfc59e!important}
html.dark-mode .toolbar a:hover{background:#60482f!important;color:#f9e7c8!important}
html.dark-mode .searchbar,html.dark-mode #layout-list>.searchbar,html.dark-mode #messagelistfooter{background:#413124!important;border-color:#654d35!important;color:#cdb594!important}
html.dark-mode .messagelist tr.selected td,html.dark-mode .listing tbody tr.selected td{background:#6a4e32!important;color:#fff0d5!important}
html.dark-mode .messagelist tr.unread td{color:#f7e7cc!important}
html.dark-mode .messagelist td.subject span.fromto,html.dark-mode .messagelist td.subject span.date{color:#c2aa87!important}
html.dark-mode .form-control,html.dark-mode .custom-select{background:#30241a!important;border-color:#80613e!important;color:#f2dfc0!important}
html.dark-mode body.task-login{background:#261c14!important}
html.dark-mode .task-login #layout-content{background:#3c2b1e!important;border-color:#785835!important}
html.dark-mode .task-login #logo{filter:brightness(0) invert(1)!important}
html.dark-mode .task-login #login-footer{color:#ceb38b!important}
@media(max-width:480px){.task-login #layout-content{border-radius:0!important;padding:26px 22px!important}#taskmenu #logo{width:52px!important;height:37px!important}}#layout-menu #logo{display:block!important;width:64px!important;height:46px!important;max-width:calc(100% - 12px)!important;object-fit:contain!important;margin:10px auto 14px!important;filter:brightness(0) invert(1)!important}
@media(max-width:1024px){#layout-menu #logo{width:34px!important;height:34px!important;margin:8px auto!important}}
