:root{--fes-accent:#b9f46c;--fes-ink:#142119}
#layout-menu{background:#142127}#layout-menu .popover-header{background:#142127}#taskmenu a.selected,#taskmenu a:hover{background:#263c36;color:#c7f793}#taskmenu a.selected:before{color:#c7f793}.btn-primary{background:#b9f46c;border-color:#a3dd58;color:#142119}.btn-primary:hover,.btn-primary:focus{background:#a7e556;border-color:#a7e556;color:#142119}.btn-primary:disabled{background:#c6dcb0;border-color:#c6dcb0;color:#43553b}a{color:#357348}.messagelist tr.selected td{background:#e5f1de}.messagelist tr.unread td{font-weight:700}#layout-content .header{border-bottom-color:#dce4df}#login-form{max-width:440px}#login-form .box-inner{border-radius:18px}#login-form #logo{max-width:280px;max-height:110px;width:auto;height:auto;object-fit:contain}#layout-menu #logo{max-width:100%;height:auto;object-fit:contain}.dark-mode #layout,.dark-mode #layout-content,.dark-mode body{background:#111d22}.dark-mode #layout-menu{background:#0b161b}.dark-mode .btn-primary{color:#142119;background:#b9f46c}.dark-mode a{color:#b9f46c}.dark-mode .messagelist tr.selected td{background:#294332}.dark-mode #login-form .box-inner{background:#192930}.dark-mode #login-form #logo{mix-blend-mode:screen}.dark-mode #layout-sidebar{background:#17252b}.dark-mode #layout-content .header{border-color:#34474d}#layout-menu .special-buttons a{min-height:40px}input:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid #78af41;outline-offset:2px}@media(max-width:768px){#login-form{width:auto;margin:24px 16px}.messagelist td.subject{font-size:15px}.btn{min-height:42px}}
.fes-theme-switch{position:fixed;top:20px;right:24px;z-index:1000;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 16px;border:1px solid #b8c6bd;border-radius:999px;background:#f2f7f0;color:#203b29;font:600 14px Arial,sans-serif;cursor:pointer;box-shadow:0 3px 16px #0000000a}.fes-theme-switch>span:first-child{font-size:21px;line-height:1}.fes-theme-switch:focus-visible{outline:3px solid #70a937;outline-offset:3px}.dark-mode .fes-theme-switch{background:#243c31;border-color:#58755e;color:#d9f7c3}.fes-theme-in-menu{position:static;margin:6px auto;max-width:100%;padding:10px 6px;border-radius:9px;font-size:11px;flex-direction:column;gap:5px;box-shadow:none;white-space:normal}.task-login #logo,.task-login img#logo{width:300px!important;max-width:80vw!important;height:auto!important;max-height:130px;object-fit:contain}.task-login.fes-theme-floating{padding-top:72px}.dark-mode .task-login{background:#111d22;color:#eaf0ed}.dark-mode .task-login #logo{mix-blend-mode:screen}@media(max-width:480px){.fes-theme-switch:not(.fes-theme-in-menu){top:12px;right:12px;min-height:44px;padding:9px 13px}.task-login #logo{max-width:78vw!important}.task-login.fes-theme-floating{padding-top:70px}}
/* Hide the duplicate native theme link; retain its handler for our single button. */
#taskmenu a.theme{display:none!important}
