/* Slim Webmail — unified application layout. Native Roundcube actions remain intact. */
html:not(.dark-mode){--sw-bg:#e4e7e9!important;--sw-panel:#f2f3f1!important;--sw-line:#d0d4d7!important;--sw-text:#292b30!important;--sw-muted:#626971!important;--sw-select:#d7dde2!important}
html:not(.dark-mode){color-scheme:light!important}
html body #layout #layout-menu .slim-home-link img#logo{display:block!important;width:190px!important;max-width:190px!important;min-width:190px!important;flex:0 0 190px!important;height:60px!important;max-height:60px!important;padding:0!important;opacity:1!important;object-fit:contain!important;object-position:left center!important}
html:not(.dark-mode) body #layout #layout-menu img#logo{content:url('../images/logo-light.svg')!important}
html body #layout #taskmenu .special-buttons{background:transparent!important;box-shadow:none!important}
html body #layout #taskmenu>a{color:var(--sw-text)!important}
html body #layout #taskmenu .slim-account-cluster .account{background:#484b52!important}
html body #layout #layout-menu #taskmenu .special-buttons .slim-account-cluster a.account{background:#484b52!important;color:#fff!important;border-radius:50%!important;width:34px!important;height:34px!important}
html body #layout #mailboxlist#mailboxlist a:before{background-color:var(--sw-muted)!important}
html:not(.dark-mode) body #layout .messagelist tr.selected td,html:not(.dark-mode) body #layout .messagelist tr.selected td *{color:#292b30!important}
html:not(.dark-mode) body #layout .content,html:not(.dark-mode) body #layout .formcontainer,html:not(.dark-mode) body #layout fieldset{background:var(--sw-panel)!important;color:var(--sw-text)!important}
html:not(.dark-mode) body #layout input,html:not(.dark-mode) body #layout select,html:not(.dark-mode) body #layout textarea{background:#f1f2f1!important;color:#292b30!important;border-color:#c8cbce!important}
html:not(.dark-mode) body #layout #taskmenu>a.selected{background:#dce1e5!important}
@media(min-width:769px){
html body.task-mail #layout #messagelist-header>.toolbar{position:absolute!important;left:16px!important;bottom:8px!important;top:auto!important;height:40px!important;margin:0!important;display:flex!important;align-items:center!important;padding:0!important;gap:0!important}
html body.task-mail #layout #messagelist-header>.toolbar>a,html body.task-mail #layout #messagelist-header>.refresh{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;width:64px!important;height:40px!important;margin:0!important;padding:0!important;line-height:1!important;box-sizing:border-box!important;border:0!important}
html body.task-mail #layout #messagelist-header>.refresh{position:absolute!important;left:240px!important;right:auto!important;top:auto!important;bottom:8px!important}
html body.task-mail #layout #messagelist-header>.toolbar>a:before,html body.task-mail #layout #messagelist-header>.refresh:before{font-size:18px!important;line-height:20px!important;height:20px!important;margin:0!important;float:none!important}
html body.task-mail #layout #messagelist-header .inner{font-size:11px!important;line-height:14px!important;margin:0!important;white-space:nowrap!important}
}
html body #layout #mailboxlist a[rel="INBOX"]:before{content:''!important;display:inline-block!important;width:19px!important;height:19px!important;flex:0 0 19px!important;background:#c3c7cd!important;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%204h16l2%2012v4H2v-4L4%204Z%22%2F%3E%3Cpath%20d%3D%22M2%2015h6l2%203h4l2-3h6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%204h16l2%2012v4H2v-4L4%204Z%22%2F%3E%3Cpath%20d%3D%22M2%2015h6l2%203h4l2-3h6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat!important}
html body #layout #mailboxlist a[rel="Drafts"]:before{content:''!important;display:inline-block!important;width:19px!important;height:19px!important;flex:0 0 19px!important;background:#c3c7cd!important;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m4%2016%2012-12%204%204L8%2020H4v-4Z%22%2F%3E%3Cpath%20d%3D%22m13%207%204%204%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m4%2016%2012-12%204%204L8%2020H4v-4Z%22%2F%3E%3Cpath%20d%3D%22m13%207%204%204%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat!important}
html body #layout #mailboxlist a[rel="Sent"]:before{content:''!important;display:inline-block!important;width:19px!important;height:19px!important;flex:0 0 19px!important;background:#c3c7cd!important;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%203%2019%209-19%209%203-9-3-9Z%22%2F%3E%3Cpath%20d%3D%22M6%2012h16%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%203%2019%209-19%209%203-9-3-9Z%22%2F%3E%3Cpath%20d%3D%22M6%2012h16%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat!important}
html body #layout #mailboxlist a[rel="Spam"]:before{content:''!important;display:inline-block!important;width:19px!important;height:19px!important;flex:0 0 19px!important;background:#c3c7cd!important;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m8%203-5%205v8l5%205h8l5-5V8l-5-5H8Z%22%2F%3E%3Cpath%20d%3D%22M12%207v6m0%203v1%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m8%203-5%205v8l5%205h8l5-5V8l-5-5H8Z%22%2F%3E%3Cpath%20d%3D%22M12%207v6m0%203v1%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat!important}
html body #layout #mailboxlist a[rel="Trash"]:before{content:''!important;display:inline-block!important;width:19px!important;height:19px!important;flex:0 0 19px!important;background:#c3c7cd!important;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18M9%206V3h6v3M6%206l1%2015h10l1-15M10%2010v7m4-7v7%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18M9%206V3h6v3M6%206l1%2015h10l1-15M10%2010v7m4-7v7%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat!important}
html body #layout #mailboxlist a[rel="Archive"]:before{content:''!important;display:inline-block!important;width:19px!important;height:19px!important;flex:0 0 19px!important;background:#c3c7cd!important;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%225%22%20rx%3D%221%22%2F%3E%3Cpath%20d%3D%22M5%208v13h14V8M9%2012h6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%225%22%20rx%3D%221%22%2F%3E%3Cpath%20d%3D%22M5%208v13h14V8M9%2012h6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat!important}
@media(min-width:769px) and (max-width:1024px){html body.task-calendar #layout{padding-left:260px!important}html body.task-calendar #layout #layout-menu,html body.task-calendar #layout #layout-sidebar{width:248px!important;min-width:248px!important}}
@media(min-width:769px) and (max-width:1024px){
html body.task-mail.action-none #layout #layout-list #messagelist-header .slim-real-filter{top:8px!important;right:12px!important}
html body.task-mail #layout #layout-content>.header .toolbar .inner{display:none!important}
html body.task-mail #layout #layout-content>.header .toolbar{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;gap:2px!important}
html body.task-mail #layout #layout-content>.header .toolbar a{width:32px!important;height:40px!important;padding:8px!important;margin:0!important;box-sizing:border-box!important}
}
@media(min-width:769px) and (max-width:1024px){
html body.task-mail.action-none #layout #layout-list{flex:0 0 360px!important;min-width:360px!important;width:360px!important}
html body.task-mail.action-none #layout #messagelist-header .slim-real-filter{top:48px!important;right:12px!important}
html body.task-mail.action-none #layout #messagelist-header .toolbar{display:none!important}
html body.task-mail.action-none #layout #messagelist-header .back-sidebar-button{display:none!important}
html body #layout #taskmenu .slim-account-name{display:none!important}
}
@media(max-width:768px){
html body.task-mail.action-none #layout #messagelist-header .header-title{display:none!important}
html body.task-mail.action-none #layout #messagelist-header .slim-real-filter{font-size:0!important;margin:0 4px!important;gap:0!important;flex:0 0 88px!important}
html body.task-mail.action-none #layout #messagelist-header .slim-real-filter select{font-size:12px!important;width:88px!important}
}
html body #layout #taskmenu .slim-account-cluster .inner{display:none!important}
html body #layout #taskmenu .account:before{content:'S'!important;font:600 14px/32px Arial!important;color:#eee!important}
html body #layout #taskmenu .account{border-radius:50%!important;background:#484b52!important}
html body #layout #taskmenu .logout-action:before{content:'⏻'!important;font:20px/32px Arial!important}
html body #layout #layout-menu .popover-header #logo{display:block!important}
html body #layout #layout-sidebar .folderlist li{border:0!important;margin:3px 0!important}
html body #layout #layout-list .messagelist tr,
html body #layout #layout-list .messagelist tr td{outline:none!important;box-shadow:none!important;border-left:0!important;border-right:0!important}
html body #layout #layout-list .messagelist tr.selected td{background:var(--sw-select)!important;border-color:var(--sw-line)!important;color:var(--sw-text)!important}
@media(min-width:769px){
html body.task-mail.action-none #layout #messagelist-header{position:relative!important;padding-top:34px!important;box-sizing:border-box!important;height:98px!important}
html body.task-mail.action-none #layout #messagelist-header:before{content:none!important}
html body.task-mail.action-none #layout #messagelist-header .slim-real-filter{position:absolute!important;top:8px!important;right:12px!important}
html body.task-mail.action-none #layout #messagelist-header .toolbar{margin:0!important}
}
@media(min-width:769px){
html body #layout #layout-menu .popover-header{display:flex!important;width:100%!important;height:76px!important;box-sizing:border-box!important}
html body #layout #layout-menu .slim-home-link{display:flex!important;width:210px!important;max-width:none!important;height:44px!important;flex:none!important}
html body #layout #layout-menu .slim-home-link img{display:block!important}
html body #layout #layout-menu .slim-home-link:after{content:none!important}
html body #layout #taskmenu .action-buttons{width:100%!important;display:block!important}
html body #layout #taskmenu .action-buttons>a.compose{width:100%!important;max-width:none!important;box-sizing:border-box!important}
html body #layout #layout-menu #taskmenu .special-buttons{position:fixed!important;top:16px!important;right:20px!important;left:auto!important;bottom:auto!important;width:auto!important;height:44px!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;margin:0!important;z-index:500!important}
html body #layout #layout-menu #taskmenu .special-buttons a{position:static!important;display:flex!important;width:32px!important;height:36px!important;flex:none!important;margin:0!important;padding:0!important;background:transparent!important}
html body #layout #taskmenu .slim-account-cluster{display:flex!important;align-items:center!important;gap:10px!important}
html body #layout #taskmenu .slim-account-name{display:block!important;max-width:220px!important;font-size:13px!important;color:var(--sw-text)!important}
}
:root{--sw-bg:#e9ebed!important;--sw-panel:#fafaf8!important;--sw-line:#d8dadd!important;--sw-text:#292b30!important;--sw-muted:#626971!important;--sw-select:#dce1e5!important;--sw-sidebar:248px!important;--sw-top:76px!important}
html.dark-mode{--sw-bg:#1d1e20!important;--sw-panel:#252628!important;--sw-line:#3a3c40!important;--sw-text:#e8eaed!important;--sw-muted:#abb0b8!important;--sw-select:#3b3d41!important;color-scheme:dark!important;scrollbar-color:#666 #252628!important}
html body:not(.task-login){font:14px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;color:var(--sw-text)!important;background:var(--sw-bg)!important}
html body:not(.task-login) #layout{box-sizing:border-box!important;background:var(--sw-bg)!important;gap:0!important}
html body:not(.task-login) .header,html body:not(.task-login) .footer,html body:not(.task-login) .toolbar{background:var(--sw-panel)!important;color:var(--sw-text)!important;border-color:var(--sw-line)!important}
html body:not(.task-login) #layout-menu{background:var(--sw-bg)!important;border:0!important}
html body:not(.task-login) #layout-menu .popover-header{height:76px!important;padding:15px 22px!important;display:flex!important;align-items:center!important;background:transparent!important;border:0!important}
html body:not(.task-login) #layout-menu .slim-home-link{display:flex!important;align-items:center!important;text-decoration:none!important;gap:10px!important;color:var(--sw-text)!important}
html body:not(.task-login) #layout-menu img#logo{display:block!important;width:170px!important;height:44px!important;max-height:44px!important;object-fit:contain!important}
html body:not(.task-login) #taskmenu{padding:12px 14px!important;background:transparent!important}
html body:not(.task-login) #taskmenu .action-buttons{display:block!important;margin:0 0 12px!important}
html body:not(.task-login) #taskmenu .action-buttons a.compose{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;background:#424449!important;color:#fff!important;height:48px!important;border-radius:12px!important;box-shadow:none!important;font-size:14px!important}
html body:not(.task-login) #taskmenu .action-buttons a.compose .inner{display:inline!important}
html body:not(.task-login) #taskmenu>a{border-radius:8px!important;min-height:36px!important;font-size:13px!important}
html body:not(.task-login) #taskmenu>a:before{font-size:17px!important}
html body:not(.task-login) #taskmenu .special-buttons{display:flex!important;align-items:center!important;gap:10px!important}
html body:not(.task-login) #taskmenu .special-buttons>a{background:transparent!important;color:var(--sw-text)!important;width:32px!important;height:36px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:8px!important}
html body:not(.task-login) #taskmenu .special-buttons>a .inner{display:none!important}
html body:not(.task-login) #taskmenu .special-buttons>a:before{font-size:18px!important}
html body:not(.task-login) #taskmenu .slim-account-cluster{display:flex!important;align-items:center!important;gap:10px!important}
html body:not(.task-login) #taskmenu .slim-account-cluster a{background:transparent!important;color:var(--sw-text)!important;display:flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:36px!important;padding:0!important;border:0!important}
html body:not(.task-login) #taskmenu .slim-account-cluster .account{background:#484b52!important;color:#fff!important;border-radius:50%!important;width:34px!important;height:34px!important}
html body:not(.task-login) #taskmenu .slim-account-name{max-width:220px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:13px!important}
html body:not(.task-login) #layout-sidebar{background:var(--sw-bg)!important;border:0!important;color:var(--sw-text)!important}
html body:not(.task-login) #layout-sidebar .header{background:transparent!important;padding:0 16px!important;height:44px!important;min-height:44px!important}
html body:not(.task-login) #layout-sidebar .scroller{padding:8px 12px!important;overflow:auto!important}
html body:not(.task-login) #layout-sidebar .folderlist li a,html body:not(.task-login) #settings-menu a{display:flex!important;align-items:center!important;min-height:40px!important;padding:8px 12px!important;border-radius:9px!important;color:var(--sw-text)!important;font-size:14px!important}
html body:not(.task-login) #layout-sidebar .folderlist li a:before{font-size:18px!important;color:var(--sw-muted)!important;margin-right:12px!important}
html body:not(.task-login) #layout-sidebar .folderlist li.selected>a,html body:not(.task-login) #settings-menu li.selected>a{background:var(--sw-select)!important;color:var(--sw-text)!important}
html body:not(.task-login) #mailboxlist{display:flex!important;flex-direction:column!important}
html body:not(.task-login) #mailboxlist>li{order:20!important}
html body:not(.task-login) #mailboxlist>li:has(>a[rel="INBOX"]){order:0!important}
html body:not(.task-login) #mailboxlist>li:has(>a[rel="Archive"]),html body:not(.task-login) #mailboxlist>li.archive{order:100!important}
html body:not(.task-login) #layout-list,html body:not(.task-login) #layout-content{background:var(--sw-panel)!important;border:1px solid var(--sw-line)!important;min-width:0!important;box-shadow:none!important;overflow:hidden!important}
html body:not(.task-login) #layout-list>.header,html body:not(.task-login) #layout-content>.header{height:62px!important;min-height:62px!important;padding:0 16px!important;border-bottom:1px solid var(--sw-line)!important}
html body:not(.task-login) .header-title{font-size:17px!important;font-weight:600!important}
html body:not(.task-login) #layout-list .searchbar{background:var(--sw-select)!important;border-radius:10px!important;border:1px solid var(--sw-line)!important;margin:8px 12px!important}
html body:not(.task-login) #layout-list .messagelist td{padding:13px 16px!important;border-bottom:1px solid var(--sw-line)!important;font-size:13px!important;box-shadow:none!important}
html body:not(.task-login) #layout-list .messagelist tr.selected td{background:var(--sw-select)!important;border-left:0!important;border-right:0!important;outline:0!important;box-shadow:none!important}
html body:not(.task-login) #layout-list .messagelist .fromto{font-size:13px!important;line-height:1.5!important}
html body:not(.task-login) #layout-list .messagelist .subject{font-size:13px!important;line-height:1.5!important}
html body:not(.task-login) #layout-list .messagelist tr.unread .subject{font-weight:650!important}
html body:not(.task-login) .slim-real-filter{display:flex!important;align-items:center!important;gap:8px!important;font-size:12px!important;margin-left:auto!important}
html body:not(.task-login) .slim-real-filter select{width:124px!important;font-size:12px!important;height:34px!important;background:var(--sw-select)!important;color:var(--sw-text)!important;border-color:var(--sw-line)!important;border-radius:8px!important}
html body:not(.task-login) #layout-content .toolbar a{border:0!important;border-radius:8px!important;margin:0 3px!important;box-shadow:none!important}
html body:not(.task-login) #layout-content .toolbar a:before{font-size:18px!important}
html body:not(.task-login) #layout-content .toolbar .inner{font-size:11px!important;font-weight:400!important}
html body.task-settings input,html body.task-settings select,html body.task-settings textarea{border-radius:7px!important}
html.dark-mode body:not(.task-login) .content,html.dark-mode body:not(.task-login) .formcontainer,html.dark-mode body:not(.task-login) fieldset{background:var(--sw-panel)!important;color:var(--sw-text)!important}
html.dark-mode body:not(.task-login) input,html.dark-mode body:not(.task-login) select,html.dark-mode body:not(.task-login) textarea{background:#303134!important;color:#e8eaed!important;border-color:#606268!important}
html.dark-mode body:not(.task-login) .btn-primary{background:#484b52!important;border-color:#606268!important}
html.dark-mode body.task-tasks .watermark{background:#252628!important;background-image:none!important}
html.dark-mode body.task-tasks #layout-content .watermark:before{display:none!important;background:none!important}
html.dark-mode body.task-calendar #layout .fc button,html.dark-mode body.task-calendar #datepicker .ui-state-default,html.dark-mode body.task-calendar #datepicker .ui-widget-header,html.dark-mode body.task-calendar #calendarlist li{background:#353638!important;color:#e8eaed!important;border-color:#505258!important}
html.dark-mode body.task-calendar #datepicker .ui-state-active,html.dark-mode body.task-calendar #datepicker .ui-datepicker-current-day a{background:#606268!important;color:#fff!important}
html.dark-mode body.task-calendar #calendarlist .calendaractions{background:#353638!important}
html body.task-mail.action-compose #layout-sidebar label{word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}
html.dark-mode body.task-mail.action-compose .mce-toolbar-grp,html.dark-mode body.task-mail.action-compose .mce-panel,html.dark-mode body.task-mail.action-compose .editor-toolbar{background:#303134!important;border-color:#505258!important}
html.dark-mode body.task-calendar .fc-widget-content,html.dark-mode body.task-calendar .fc-widget-header,html.dark-mode body.task-calendar .fc-toolbar{background:#252628!important;color:#e8eaed!important;border-color:#414348!important}
html.dark-mode body.task-calendar .fc-today{background:#353638!important}
html.dark-mode body.task-mail.action-preview,html.dark-mode body.task-settings.action-edit-prefs{background:#252628!important;color:#e8eaed!important}
html body.task-mail.action-preview .message-htmlpart,html body.task-mail.action-preview .message-part{padding:24px!important;line-height:1.65!important}
html body:not(.task-login) :focus-visible{outline:2px solid #a0a6b0!important;outline-offset:2px!important}
html.dark-mode *{scrollbar-color:#666 #252628!important}
html.dark-mode ::-webkit-scrollbar{width:7px!important;height:7px!important}
html.dark-mode ::-webkit-scrollbar-track{background:#252628!important}
html.dark-mode ::-webkit-scrollbar-thumb{background:#666!important;border-radius:8px!important}
@media(min-width:1025px){
body:not(.task-login):not(.action-preview) #layout{padding:76px 12px 12px 260px!important;position:relative!important}
html body:not(.task-login) #layout-menu{position:absolute!important;top:0!important;left:0!important;bottom:0!important;width:248px!important;min-width:248px!important;z-index:20!important}
html body:not(.task-login) #taskmenu>a{display:inline-flex!important;width:48%!important;justify-content:center!important;padding:4px!important;flex-direction:row!important;gap:6px!important}
html body:not(.task-login) #taskmenu>a.mail,html body:not(.task-login) #taskmenu>a.contacts,html body:not(.task-login) #taskmenu>a.settings{display:none!important}
html body:not(.task-login) #taskmenu .special-buttons{position:fixed!important;top:20px!important;right:22px!important;z-index:100!important}
html body:not(.task-login) #layout-sidebar{position:absolute!important;left:0!important;top:218px!important;bottom:0!important;width:248px!important;min-width:0!important;z-index:30!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
html body:not(.task-login) #layout-sidebar .scroller{flex:1!important;min-height:0!important}
html body:not(.task-login) #layout-sidebar .footer{position:relative!important;background:transparent!important;padding:12px 16px!important;flex:0 0 auto!important}
html body:not(.task-login) #layout-list{flex:0 0 clamp(340px,35vw,600px)!important;border-radius:14px 0 0 14px!important}
html body:not(.task-login) #layout-content{flex:1 1 auto!important;border-radius:0 14px 14px 0!important}
html body.task-mail.action-none #layout-list .searchbar{position:fixed!important;top:16px!important;left:272px!important;width:clamp(300px,38vw,700px)!important;height:44px!important;margin:0!important;z-index:80!important}
html body.task-mail.action-none #messagelist-header{flex-wrap:wrap!important;height:98px!important;min-height:98px!important;align-items:center!important}
html body.task-settings #layout-list,html body.task-tasks #layout-list{flex-basis:300px!important}
html body.task-mail.action-compose #layout-content,html body.task-calendar #layout-content{border-radius:14px!important}
html body.task-calendar #layout-sidebar{top:218px!important}
html body.task-calendar #datepicker{margin:12px!important;width:auto!important}
}
@media(min-width:769px) and (max-width:1024px){
body:not(.task-login):not(.action-preview) #layout{padding:76px 8px 8px 200px!important;position:relative!important}
html body:not(.task-login) #layout-menu{position:absolute!important;top:0!important;left:0!important;bottom:0!important;width:192px!important;min-width:192px!important}
html body:not(.task-login) #taskmenu .special-buttons{position:fixed!important;top:20px!important;right:12px!important;z-index:100!important}
html body:not(.task-login) #taskmenu .slim-account-name{display:none!important}
html body:not(.task-login) #taskmenu>a{display:inline-flex!important;width:48%!important;padding:4px!important;gap:4px!important}
html body:not(.task-login) #taskmenu>a.mail,html body:not(.task-login) #taskmenu>a.contacts,html body:not(.task-login) #taskmenu>a.settings{display:none!important}
html body:not(.task-login) #layout-sidebar{position:absolute!important;left:0!important;top:218px!important;bottom:0!important;width:192px!important;display:flex!important;overflow:hidden!important}
html body:not(.task-login) #layout-list{flex:0 0 320px!important;border-radius:12px 0 0 12px!important}
html body:not(.task-login) #layout-content{flex:1!important;min-width:0!important;border-radius:0 12px 12px 0!important}
html body.task-settings #layout-list{flex-basis:240px!important}
html body:not(.task-login) #layout-content .toolbar{overflow:auto!important;max-width:100%!important}
}
@media(max-width:768px){
body:not(.task-login) #layout{padding:0!important;gap:0!important}
html body:not(.task-login) #layout-list,html body:not(.task-login) #layout-content{border-radius:0!important;min-width:0!important}
html body:not(.task-login) .slim-real-filter{margin:4px 8px!important}
html body:not(.task-login) .slim-real-filter select{width:110px!important}
html body:not(.task-login) #taskmenu .special-buttons{flex-wrap:wrap!important}
html body:not(.task-login) #taskmenu .slim-account-name{max-width:140px!important}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media(min-width:769px) and (max-width:1024px){html body.task-mail #layout #messagelist-header>.refresh{left:16px!important}html body.task-mail #layout #messagelist-header>.toolbar-menu-button{position:absolute!important;left:80px!important;right:auto!important;bottom:8px!important;top:auto!important;width:40px!important;height:40px!important;padding:8px!important;box-sizing:border-box!important}html body.task-mail #layout #layout-list #messagelist-header .slim-real-filter{top:8px!important;font-size:0!important;gap:0!important}}
@media(min-width:769px) and (max-width:1024px){
html body.task-calendar #layout#layout{padding-left:260px!important}
html body.task-calendar #layout #layout-menu#layout-menu,html body.task-calendar #layout #layout-sidebar#layout-sidebar{width:248px!important;min-width:248px!important;max-width:248px!important}
html body.task-calendar #layout-content .toolbar{overflow:visible!important;max-width:none!important}
html body.task-calendar #layout-content>.header{height:62px!important;min-height:62px!important}
}
html.dark-mode body.task-calendar #layout #calendarlist li,html.dark-mode body.task-calendar #layout #calendarlist .calendaractions{background:#353638!important;color:#e8eaed!important}
html.dark-mode body #layout #taskmenu>a.selected,html.dark-mode body #layout #layout-sidebar .treelist li.selected,html.dark-mode body #layout #layout-sidebar .treelist li.selected>a,html.dark-mode body #layout #layout-sidebar .treelist li.selected>div{background:#3b3d41!important;color:#e8eaed!important}
html.dark-mode body #layout #layout-sidebar .treelist .custom-switch{background:#303134!important}
html.dark-mode body #layout .btn-secondary,html.dark-mode body #layout .input-group-append .btn,html.dark-mode body #layout #taskmenu>a.selected{background:#3b3d41!important;border-color:#606268!important;color:#e8eaed!important}
html body.task-mail #layout #messagelist-header .header-title{text-align:left!important;right:auto!important;margin:0!important;transform:none!important}
html body.task-mail.action-compose #layout-sidebar .form-group{display:flex!important;align-items:flex-start!important;gap:10px!important}
html body.task-mail.action-compose #layout-sidebar .form-group>label{width:auto!important;max-width:none!important;flex:1!important}
html body.task-mail.action-compose #layout-sidebar .form-group>div{flex:0 0 auto!important;margin:0!important;padding:0!important}
@media(min-width:769px){html body.task-calendar #layout-content{border-radius:14px!important}html body #layout #taskmenu>a.contacts{display:inline-flex!important}html body #layout #taskmenu>a:not(.settings):not(.mail){width:31%!important;justify-content:center!important}}
@media(min-width:769px){html body #layout #taskmenu>a:not(.settings):not(.mail){flex-direction:column!important;gap:3px!important;overflow:visible!important}html body #layout #taskmenu>a .inner{font-size:11px!important;white-space:nowrap!important}}
html body.task-mail.action-compose #layout #compose-options .form-group{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;margin-left:0!important;margin-right:0!important}
html body.task-mail.action-compose #layout #compose-options .form-group .col-6{width:auto!important;max-width:none!important;flex:none!important;padding:0!important}
html body.task-mail.action-compose #layout #compose-options .form-group label{font-size:12px!important;line-height:1.5!important}
html.dark-mode body #layout #calendarslist .calendar,html.dark-mode body #layout #calendarslist .calendar>a,html.dark-mode body #layout #calendarslist .calendar .actions,html.dark-mode body #layout #calendarslist .calendar .actions a{background:#3b3d41!important;color:#e8eaed!important}
@media(min-width:1025px){html body.task-mail:not(.action-compose):not(.action-preview) #layout #layout-list{flex:0 0 clamp(410px,35vw,600px)!important;width:clamp(410px,35vw,600px)!important;min-width:410px!important;max-width:none!important}}
@media(min-width:769px){
html body.task-mail #layout #messagelist-header{position:relative!important;height:98px!important;min-height:98px!important;padding-top:36px!important;box-sizing:border-box!important}
html body.task-mail #layout #messagelist-header .header-title{display:block!important;position:absolute!important;left:18px!important;top:10px!important;font-size:17px!important;max-width:50%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body.task-mail #layout #messagelist-header .slim-real-filter{position:absolute!important;top:8px!important;right:12px!important}
}
@media(min-width:769px) and (max-width:1024px){
html body.task-tasks #layout#layout{padding-left:260px!important}
html body.task-tasks #layout #layout-menu#layout-menu,html body.task-tasks #layout #layout-sidebar#layout-sidebar{width:248px!important;min-width:248px!important;max-width:248px!important}
html body.task-tasks #layout-content .toolbar{overflow:visible!important;max-width:none!important}
}
