/* Local assets only. Elastic keeps its keyboard navigation and mobile layout. */
:root { --psycho-accent: #8b7cf8; }
body { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
html.dark-mode body { background: #101218; color: #e7e9f0; }
html.dark-mode #layout-menu { background: #11141d; border-right: 1px solid #292d3a; }
html.dark-mode #layout-sidebar, html.dark-mode #layout-list { background: #181c26; }
html.dark-mode #layout-content { background: #12151e; }
html.dark-mode .header, html.dark-mode .footer { background: #1b202c; border-color: #303646; }
html.dark-mode .listing tbody tr.selected td, html.dark-mode .folderlist li.selected > a { background: #343251; color: #fff; }
.button, .btn { border-radius: 9px; }
.btn-primary { background-color: #6858cf; border-color: #6858cf; }
.btn-primary:hover, .btn-primary:focus { background-color: #7866e3; border-color: #7866e3; }
#taskmenu a { transition: background-color .15s ease; }
#taskmenu a.selected { color: #b8acff; }
#messagelist td { padding-top: 11px; padding-bottom: 11px; }
.messagelist .subject { font-weight: 550; }
#message-header { padding: 20px; }
body.task-login { background: radial-gradient(ellipse at 20% 10%, #292442 0, #12151e 55%, #101218 100%); min-height: 100vh; }
body.task-login #layout-content { background: transparent; }
body.task-login #logo { max-width: 270px; max-height: 75px; width: 100%; margin-bottom: 24px; }
body.task-login #login-form { width: min(440px, calc(100vw - 36px)); max-width: 440px; background: #1b1f2b; color: #edf0fa; padding: 30px; border: 1px solid #35384b; border-radius: 20px; box-shadow: 0 22px 70px #0005; }
body.task-login .form-control { background: #121620; border: 1px solid #45495f; color: #fff; border-radius: 9px; min-height: 46px; }
body.task-login .form-control:focus { border-color: #a093ff; box-shadow: 0 0 0 3px #8b7cf82e; }
body.task-login .input-group-text { background: #242a38; color: #bac0d2; border-color: #45495f; }
body.task-login button[type=submit], body.task-login input[type=submit] { min-height: 46px; font-weight: 600; }
.psycho-welcome { margin-bottom: 24px; text-align: left; }
.psycho-welcome > span { color: #b8acff; font-size: 10px; letter-spacing: .18em; font-weight: 700; }
.psycho-welcome h2 { color: #f3f4fa; margin: 10px 0; font-size: 24px; line-height: 1.25; font-weight: 650; }
.psycho-welcome p { font-size: 13px; color: #acb3c7; line-height: 1.6; }
.psycho-remember { text-align: left; margin: 18px 0 8px; font-size: 13px; }
.psycho-remember label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.psycho-remember input { width: 17px; height: 17px; accent-color: #8b7cf8; flex-shrink: 0; }
.psycho-remember small { display: block; margin: 8px 0 0 27px; color: #a6aec3; line-height: 1.5; }
body.task-login #login-footer { color: #a6aec3; margin-top: 22px; }
@media (max-width: 480px) { body.task-login #login-form { padding: 24px; } .psycho-welcome h2 { font-size: 21px; } }
