/* Axeo identity overlay for Elastic. Core message content and editor are left to Elastic. */
@font-face{font-family:Axeo Inter;src:url('../fonts/inter-latin.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{--ax-ink:#142e3a;--ax-navy:#102733;--ax-mint:#b5ead2;--ax-muted:#627a80;--ax-line:#dce7e5;--ax-paper:#f3f7f5}
body,input,select,textarea,button,.ui-widget{font-family:'Axeo Inter',Inter,Arial,sans-serif}
body{color:var(--ax-ink)}
a{color:#276b60}a:hover{color:#174c43}
.btn-primary{background:#205e53;border-color:#205e53;border-radius:8px}.btn-primary:hover,.btn-primary:focus{background:#16493f;border-color:#16493f}.btn-primary.disabled,.btn-primary:disabled{background:#6b9389;border-color:#6b9389}
.form-control:focus,.custom-select:focus{border-color:#6bad9b;box-shadow:0 0 0 .2rem #8ccfb332}
#layout-menu,#taskmenu,#layout-menu .popover-header{background:var(--ax-navy)!important}
#layout-menu .popover-header{display:flex;justify-content:center;align-items:center}#layout-menu #logo{max-width:88px;width:88px;height:auto;max-height:40px;padding:0;object-fit:contain}
#taskmenu a{color:#b9cece;border-radius:10px;margin:4px 6px;width:calc(100% - 12px);transition:background .18s,color .18s}
#taskmenu a.selected,#taskmenu a:hover{color:#e6fff2;background:#284b50}
#taskmenu a.compose{background:var(--ax-mint);color:#143e35;margin-top:16px;margin-bottom:18px;border-radius:13px}#taskmenu a.compose:hover{background:#d3f3d6;color:#102f29}
#taskmenu .special-buttons a.logout:hover{background:#513f43;color:#fff}
#layout-sidebar{background:#f2f7f4;border-color:var(--ax-line)}
#layout>div>.header,#layout-sidebar>.header,#layout-list>.header,#layout-content>.header{background:#fff;border-color:var(--ax-line);color:var(--ax-ink)}
#layout-sidebar>.header{background:#f2f7f4;font-weight:650}
#layout-list,#layout-content{border-color:var(--ax-line)}
#layout-sidebar .listing li>a{color:#37565d;margin:3px 9px;border-radius:8px;width:calc(100% - 18px)}
#layout-sidebar .listing li.selected>a,#layout-sidebar .listing li>a:hover{background:#dcefe5;color:#153c34}
.listing li.selected,.listing tr.selected td{background:#e4f2e9;color:#193e36}.listing li.selected>a{color:#193e36}
#messagelist tr.message td{border-color:#eef3f1;padding-top:10px;padding-bottom:10px}#messagelist tr.unread td{color:#122e3a}#messagelist tr:hover td{background:#f1f8f4}#messagelist tr.selected td{background:#dff0e6}
.listing .unreadcount{background:#246658;color:#fff;border-radius:6px}
.searchbar,.searchbar form,.header .search{border-color:var(--ax-line)}
.toolbar a{color:#385962}.toolbar a:hover{color:#185749;background:#edf6f0;border-radius:7px}
.ui-dialog{border:1px solid var(--ax-line);border-radius:16px;box-shadow:0 20px 60px #112e3a25}.ui-dialog .ui-dialog-titlebar{background:#f2f7f4;border-color:var(--ax-line)}
.ui-dialog .ui-dialog-buttonpane{border-color:var(--ax-line)}
html.dark-mode body{color:#dbe9e6}html.dark-mode #layout-sidebar{background:#142d37;border-color:#2a434c}html.dark-mode #layout>div>.header,html.dark-mode #layout-sidebar>.header,html.dark-mode #layout-list>.header,html.dark-mode #layout-content>.header{background:#17333e;color:#dbe9e6;border-color:#2a434c}html.dark-mode #layout-sidebar .listing li>a{color:#c4d8d3}html.dark-mode #layout-sidebar .listing li.selected>a,html.dark-mode #layout-sidebar .listing li>a:hover{background:#2d514d;color:#e4ffed}html.dark-mode #messagelist tr.message td{border-color:#293e44}html.dark-mode #messagelist tr.unread td{color:#ebf7f1}html.dark-mode #messagelist tr:hover td{background:#203e43}html.dark-mode #messagelist tr.selected td{background:#2b5049;color:#e4ffed}html.dark-mode .toolbar a{color:#b9d7ce}html.dark-mode .toolbar a:hover{color:#e4ffed;background:#2b5049}html.dark-mode .ui-dialog .ui-dialog-titlebar{background:#19363e;border-color:#304951}
/* Branded sign-in, with original Roundcube form and CSRF handling. */
body.task-login{background:#102733!important;color:#142e3a}body.task-login #layout{margin:0;padding:0;width:100%;height:100%;background:none}
body.task-login #layout-content.axeo-login{display:grid;grid-template-columns:1.08fr 1fr;width:100%;max-width:none;height:100%;min-height:640px;padding:0;margin:0;background:#102733!important;border:0;overflow:auto}
.axeo-story{position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:48px 10%;overflow:hidden;background:radial-gradient(ellipse at 70% 50%,#25575c66,transparent 65%),#102733;color:#f1faf5}
.axeo-story:before{content:'';position:absolute;inset:0;background-image:linear-gradient(#8dd4bb06 1px,transparent 1px),linear-gradient(90deg,#8dd4bb06 1px,transparent 1px);background-size:62px 62px;mask-image:linear-gradient(transparent,#000 55%,transparent);pointer-events:none}
.axeo-wordmark{position:relative;z-index:1;display:block;width:151px}.axeo-wordmark img{width:100%;height:auto}
.axeo-story-copy{z-index:1;margin:70px 0 64px}.axeo-eyebrow{font-size:10px;font-weight:650;letter-spacing:.17em;line-height:1.6}.axeo-story .axeo-eyebrow{color:#a7d9c8}
.axeo-story h1{font-size:clamp(46px,5.1vw,78px);line-height:1.09;font-weight:550;letter-spacing:-.064em;margin:24px 0 28px;color:#f1faf5}.axeo-story h1 em{font-style:normal;color:#b6eccf}
.axeo-intro{font-size:15px;color:#b2c9cb;line-height:1.9;font-weight:400}.axeo-story-foot{position:relative;display:flex;justify-content:space-between;gap:16px;padding-top:24px;border-top:1px solid #a3d7c526;letter-spacing:.13em;font-size:8px;color:#8fb2b3}
.axeo-orbit{position:absolute;right:-225px;top:30%;width:510px;height:510px;border-radius:50%;border:1px solid #9fdbbf21;transform:rotate(-24deg);pointer-events:none}.axeo-orbit i{position:absolute;border:1px solid #9fdbbf18;border-radius:50%;inset:55px}.axeo-orbit i:nth-child(2){inset:110px}.axeo-orbit i:nth-child(3){inset:165px}.axeo-orbit span{position:absolute;left:62px;top:71px;width:9px;height:9px;border-radius:50%;background:#c4ecab;box-shadow:0 0 32px #b3efb17f;animation:axeo-pulse 5s ease-in-out infinite}
.axeo-access{background:#f3f7f4;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:45px 11%;position:relative}
.axeo-access-card{width:100%;max-width:390px}.axeo-access-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:#deede3;color:#225a4c;font-size:28px;margin-bottom:31px}.axeo-access .axeo-eyebrow{color:#567870;margin-bottom:14px}.axeo-access h2{font-size:37px;font-weight:600;line-height:1.2;letter-spacing:-.05em;color:#173a40;margin:0 0 12px}.axeo-access-intro{font-size:14px;color:#657e7d;margin:0 0 32px}
body.task-login #login-form{width:100%;max-width:none;margin:0;text-align:left}body.task-login #login-form .input-group{margin-bottom:16px}body.task-login #login-form .input-group-text{background:#fff;color:#71958b;border-color:#d4e2da;border-radius:9px 0 0 9px;width:45px;justify-content:center}body.task-login #login-form .form-control{height:51px;border:1px solid #d4e2da;border-radius:0 9px 9px 0;background:#fff!important;color:#173a40!important;font-size:14px;box-shadow:none}body.task-login #login-form .form-control:focus{border-color:#77af94;box-shadow:0 0 0 3px #8fc5a926}body.task-login #login-form button{height:51px;background:#1d574b!important;border:1px solid #1d574b!important;color:#fff!important;border-radius:9px;text-transform:none;font-size:13px;font-weight:650;letter-spacing:.015em;box-shadow:0 7px 14px #153d3520}body.task-login #login-form button:hover{background:#174538!important;transform:translateY(-1px)}body.task-login #login-footer{margin:24px 0 0;padding:0;font-size:11px;line-height:1.9;text-align:left;color:#718782}body.task-login #login-footer strong{font-weight:550;color:#47665d}.axeo-access-bottom{display:flex;gap:9px;align-items:center;border-top:1px solid #d9e5dd;padding-top:23px;margin-top:30px;font-size:10px;color:#527668;letter-spacing:.025em}.axeo-status-dot{width:6px;height:6px;border-radius:50%;background:#75ab82}.axeo-back{position:absolute;bottom:36px;color:#627f73;font-size:11px;display:flex;gap:55px}.axeo-back:hover{color:#204f42;text-decoration:none}
@keyframes axeo-pulse{0%,100%{opacity:.55}50%{opacity:1}}
@media(min-width:769px){#layout-menu{width:94px!important;min-width:94px}#taskmenu a span.inner{font-size:10px}#layout-menu #logo{max-width:80px}}
@media(max-width:900px){.axeo-story{padding:38px 9%}.axeo-access{padding:42px 10%}.axeo-story h1{font-size:52px}.axeo-story-foot{flex-direction:column;gap:8px}.axeo-story .axeo-eyebrow{font-size:9px}.axeo-access h2{font-size:32px}}
@media(max-width:650px){body.task-login #layout-content.axeo-login{display:flex;flex-direction:column;min-height:100%;height:auto;overflow:visible}.axeo-story{padding:24px 28px 30px}.axeo-wordmark{width:115px}.axeo-story-copy{margin:28px 0 0}.axeo-story .axeo-eyebrow{font-size:8px}.axeo-story h1{font-size:43px;margin:13px 0 0}.axeo-intro,.axeo-story-foot{display:none}.axeo-orbit{width:280px;height:280px;right:-100px;top:25px}.axeo-access{padding:30px 28px 70px;flex:1}.axeo-access-card{max-width:410px}.axeo-access-icon{display:none}.axeo-access h2{font-size:30px}.axeo-access-intro{margin-bottom:22px}.axeo-access-bottom{margin-top:23px}.axeo-back{bottom:25px}body.task-login #login-form .form-control{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
@media print{#layout-menu{display:none!important}}
body.task-login #layout-content.axeo-login{text-align:left}
body.task-login #login-form{top:0}

html.dark-mode #taskmenu a.compose,html.dark-mode #taskmenu a.compose:hover{color:#143e35!important}
