html,body.task-login{width:100%;height:100%}
body.task-login{background:#07111f;color:#eaf1ff;overflow:hidden}
body.task-login:before{content:"";position:fixed;inset:0;background:radial-gradient(circle at 18% 20%,#755cff42,transparent 32%),radial-gradient(circle at 85% 80%,#17d7ad2b,transparent 30%),linear-gradient(135deg,#07111f,#0c1729);z-index:-2}
body.task-login:after{content:"";position:fixed;inset:0;background-image:linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,#000,transparent);z-index:-1}
.task-login #layout{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;min-height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:auto!important;padding:24px!important;background:transparent!important}
.task-login #layout-content{position:relative!important;inset:auto!important;display:block!important;flex:0 0 auto!important;width:min(440px,100%)!important;max-width:440px!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;transform:none!important;overflow:visible!important;background:#101c2dee!important;border:1px solid #ffffff18!important;border-radius:22px!important;padding:38px!important;box-shadow:0 30px 90px #0009!important;backdrop-filter:blur(18px)}
.task-login #logo{position:relative!important;inset:auto!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;transform:none!important;width:190px!important;height:auto!important;margin:0 auto 28px!important;display:block}
.task-login #login-form{position:relative!important;inset:auto!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;transform:none!important;display:block!important;width:100%!important;max-width:none!important;margin:0!important;color:#eaf1ff!important}
.task-login #login-form .row{display:flex!important}
.task-login #login-form label{color:#dbe7f7!important}
.task-login .form-control{height:52px;border-radius:11px!important;border:1px solid #ffffff1d!important;background:#07111fa8!important;color:#fff!important;box-shadow:none!important}
.task-login .form-control:focus{border-color:#806cff!important;box-shadow:0 0 0 3px #806cff2e!important}
.task-login .input-group-text{background:#07111fa8!important;border-color:#ffffff1d!important;color:#9dafc7!important}
.task-login .btn-primary{height:52px;border:0;border-radius:11px;background:linear-gradient(135deg,#7b63f2,#6048d7);font-weight:750;box-shadow:0 12px 28px #684fe64d}
.task-login .btn-primary:hover{background:linear-gradient(135deg,#8b76ff,#6b53e2)}
.task-login #login-footer{color:#8292aa;margin-top:24px}.task-login #login-footer a{color:#9e8cff}
@media(max-width:520px){.task-login #layout-content{padding:28px 22px;border-radius:18px}}

/* Orivect application shell */
body:not(.task-login){background:#07111f;color:#dce6f5}
body:not(.task-login) #layout-menu{background:linear-gradient(180deg,#0b1728,#08121f);border-right:1px solid #ffffff10}
body:not(.task-login) #layout-menu .popover-header{background:#0b1728!important;border-bottom:1px solid #ffffff10}
body:not(.task-login) #layout-menu .popover-header img{max-width:170px;max-height:48px}
body:not(.task-login) #taskmenu a{color:#91a2ba;border-radius:10px;margin:5px 8px;transition:.18s ease}
body:not(.task-login) #taskmenu a:hover{background:#ffffff09;color:#fff}
body:not(.task-login) #taskmenu a.selected{background:linear-gradient(135deg,#806cff29,#17d7ad17);color:#b7aaff;box-shadow:inset 3px 0 #806cff}
body:not(.task-login) #layout-sidebar{background:#0d192a;border-color:#ffffff10;color:#dce6f5}
body:not(.task-login) #layout-list{background:#0b1626;border-color:#ffffff10;color:#dce6f5}
body:not(.task-login) #layout-content{background:#0a1422;color:#dce6f5}
body:not(.task-login) #layout>div>.header{background:#101d2f;border-color:#ffffff10;color:#eef4ff}
body:not(.task-login) #layout>div>.header a.button{color:#aebdd1}
body:not(.task-login) #layout>div>.footer{background:#0d192a;border-color:#ffffff10;color:#91a2ba}
body:not(.task-login) .folderlist li a{color:#aebdd1;border-radius:8px;margin:2px 7px}
body:not(.task-login) .folderlist li.selected>a{background:#806cff22;color:#b9adff;font-weight:700}
body:not(.task-login) .listing li,body:not(.task-login) .listing tbody td{border-color:#ffffff0c;color:#c8d4e5}
body:not(.task-login) .listing tbody tr:hover td{background:#ffffff07}
body:not(.task-login) .listing tbody tr.selected td{background:#806cff1e;color:#fff}
body:not(.task-login) .messagelist td.subject span.from{color:#eef4ff;font-weight:650}
body:not(.task-login) .messagelist td.subject span.date{color:#8293aa}
body:not(.task-login) .searchbar form,body:not(.task-login) .searchbar input{background:#07111f!important;border-color:#ffffff12!important;color:#eef4ff!important}
body:not(.task-login) .toolbar a,body:not(.task-login) .toolbar button{color:#aebdd1}
body:not(.task-login) .toolbar a:hover,body:not(.task-login) .toolbar button:hover{color:#fff;background:#ffffff08}
body:not(.task-login) .quota-widget{color:#8293aa}
body:not(.task-login) .quota-widget .bar{background:#806cff}
body:not(.task-login) .message-header{background:#101d2f;border-color:#ffffff10;color:#eef4ff}
body:not(.task-login) .message-part,body:not(.task-login) .message-htmlpart{background:#fff;color:#1f2937;border-radius:10px;margin:12px;box-shadow:0 12px 35px #0004}
body:not(.task-login) .compose-content,body:not(.task-login) .formcontent{background:#0a1422;color:#dce6f5}
body:not(.task-login) .form-control,body:not(.task-login) select,body:not(.task-login) textarea{background:#07111f;border-color:#ffffff16;color:#eef4ff;border-radius:8px}
body:not(.task-login) .form-control:focus,body:not(.task-login) textarea:focus{border-color:#806cff;box-shadow:0 0 0 3px #806cff24}
body:not(.task-login) .btn-primary{background:linear-gradient(135deg,#806cff,#6249db);border-color:transparent;color:#fff;border-radius:8px}
body:not(.task-login) .btn-secondary{background:#162338;border-color:#ffffff13;color:#dce6f5;border-radius:8px}
body:not(.task-login) .popover,body:not(.task-login) .dropdown-menu{background:#142238;border-color:#ffffff16;box-shadow:0 20px 50px #0008}
body:not(.task-login) .popover a,body:not(.task-login) .dropdown-menu a{color:#c9d5e5}
body:not(.task-login) .popover a:hover,body:not(.task-login) .dropdown-menu a:hover{background:#806cff1f;color:#fff}
body:not(.task-login) .ui-dialog{background:#101d2f;color:#dce6f5;border-color:#ffffff16;box-shadow:0 30px 90px #000a}
body:not(.task-login) .ui-dialog-titlebar,body:not(.task-login) .ui-dialog-buttonpane{background:#101d2f;border-color:#ffffff10;color:#fff}
body:not(.task-login) ::-webkit-scrollbar{width:10px;height:10px}
body:not(.task-login) ::-webkit-scrollbar-track{background:#08121f}
body:not(.task-login) ::-webkit-scrollbar-thumb{background:#2b3a52;border:2px solid #08121f;border-radius:10px}
body:not(.task-login) ::-webkit-scrollbar-thumb:hover{background:#806cff}
@media(max-width:768px){body:not(.task-login) #layout>div>.header,body:not(.task-login) #layout>div>.footer{background:#101d2f}body:not(.task-login) #layout-menu{background:#08121f}}

/* Outlook-inspired Orivect workspace */
body:not(.task-login){background:#f5f7fb;color:#253247}
body:not(.task-login) #layout-menu{background:#0f6cbd;border-right:0;color:#fff}
body:not(.task-login) #layout-menu .popover-header{background:#0f6cbd!important;border-bottom:1px solid #ffffff24}
body:not(.task-login) #layout-menu .popover-header img{width:42px;height:42px;object-fit:contain;padding:3px}
body:not(.task-login) #taskmenu a{color:#d9ecff;margin:4px 7px;border-radius:6px}
body:not(.task-login) #taskmenu a:hover{background:#ffffff18;color:#fff}
body:not(.task-login) #taskmenu a.selected{background:#fff;color:#0f6cbd;box-shadow:none}
body:not(.task-login) #layout-sidebar{background:#f3f6fb;border-color:#e2e7ef;color:#253247}
body:not(.task-login) #layout-list{background:#fff;border-color:#e2e7ef;color:#253247}
body:not(.task-login) #layout-content{background:#fff;color:#253247}
body:not(.task-login) #layout>div>.header{height:58px;background:#fff;border-color:#e6eaf0;color:#253247;box-shadow:0 1px 2px #1822300d}
body:not(.task-login) #layout>div>.header a.button{color:#40536b}
body:not(.task-login) #layout>div>.footer{background:#fafbfc;border-color:#e6eaf0;color:#65758b}
body:not(.task-login) .folderlist li a{color:#34465d;margin:2px 8px;border-radius:6px}
body:not(.task-login) .folderlist li a:hover{background:#e9f3fc;color:#0f6cbd}
body:not(.task-login) .folderlist li.selected>a{background:#dceeff;color:#0f6cbd;font-weight:700}
body:not(.task-login) .listing li,body:not(.task-login) .listing tbody td{border-color:#edf0f4;color:#34465d}
body:not(.task-login) .listing tbody tr:hover td{background:#f5f9fd}
body:not(.task-login) .listing tbody tr.selected td{background:#e5f2fc;color:#1f2d3d;border-left-color:#0f6cbd}
body:not(.task-login) .messagelist td.subject span.from{color:#1f2d3d;font-weight:650}
body:not(.task-login) .messagelist td.subject span.date{color:#77869a}
body:not(.task-login) .searchbar form,body:not(.task-login) .searchbar input{background:#f3f6fa!important;border-color:#dfe5ed!important;color:#253247!important;border-radius:8px!important}
body:not(.task-login) .toolbar a,body:not(.task-login) .toolbar button{color:#40536b}
body:not(.task-login) .toolbar a:hover,body:not(.task-login) .toolbar button:hover{color:#0f6cbd;background:#e9f3fc}
body:not(.task-login) .quota-widget{color:#77869a}
body:not(.task-login) .quota-widget .bar{background:#0f6cbd}
body:not(.task-login) .message-header{background:#fff;border-color:#e6eaf0;color:#253247}
body:not(.task-login) .message-part,body:not(.task-login) .message-htmlpart{background:#fff;color:#253247;border-radius:0;margin:0;box-shadow:none}
body:not(.task-login) .compose-content,body:not(.task-login) .formcontent{background:#fff;color:#253247}
body:not(.task-login) .form-control,body:not(.task-login) select,body:not(.task-login) textarea{background:#fff;border-color:#cfd7e2;color:#253247;border-radius:5px}
body:not(.task-login) .form-control:focus,body:not(.task-login) textarea:focus{border-color:#0f6cbd;box-shadow:0 0 0 2px #0f6cbd22}
body:not(.task-login) .btn-primary{background:#0f6cbd;border-color:#0f6cbd;color:#fff;border-radius:5px}
body:not(.task-login) .btn-primary:hover{background:#0b5ca5}
body:not(.task-login) .btn-secondary{background:#fff;border-color:#cfd7e2;color:#34465d;border-radius:5px}
body:not(.task-login) .popover,body:not(.task-login) .dropdown-menu{background:#fff;border-color:#dfe5ed;box-shadow:0 12px 32px #25324726}
body:not(.task-login) .popover a,body:not(.task-login) .dropdown-menu a{color:#34465d}
body:not(.task-login) .popover a:hover,body:not(.task-login) .dropdown-menu a:hover{background:#e9f3fc;color:#0f6cbd}
body:not(.task-login) .ui-dialog{background:#fff;color:#253247;border-color:#dfe5ed;box-shadow:0 24px 70px #25324738}
body:not(.task-login) .ui-dialog-titlebar,body:not(.task-login) .ui-dialog-buttonpane{background:#fff;border-color:#e6eaf0;color:#253247}
body:not(.task-login) ::-webkit-scrollbar-track{background:#f5f7fb}
body:not(.task-login) ::-webkit-scrollbar-thumb{background:#c7d0dc;border-color:#f5f7fb}
body:not(.task-login) ::-webkit-scrollbar-thumb:hover{background:#0f6cbd}
@media(max-width:768px){body:not(.task-login) #layout>div>.header,body:not(.task-login) #layout>div>.footer{background:#fff}body:not(.task-login) #layout-menu{background:#0f6cbd}}

/* Orivect Mail 2026 workspace — Outlook-inspired, without Roundcube chrome */
body:not(.task-login){--mail-blue:#0f6cbd;--mail-blue-hover:#115ea3;--mail-rail:56px;--mail-top:48px;--mail-folders:252px;--mail-list:430px;background:#f3f6fb!important;font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif!important}
body:not(.task-login)::before{content:"Orivect Mail";position:fixed;z-index:1001;inset:0 0 auto 0;height:var(--mail-top);box-sizing:border-box;padding:13px 0 0 70px;background:var(--mail-blue);color:#fff;font-size:16px;font-weight:650;letter-spacing:.1px;box-shadow:0 1px 3px #17324d33;pointer-events:none}
body:not(.task-login)::after{content:"";position:fixed;z-index:1002;left:19px;top:13px;width:18px;height:18px;border:5px solid #fff;border-radius:5px;transform:rotate(30deg);box-sizing:border-box;pointer-events:none}
body:not(.task-login) #layout{position:fixed!important;inset:var(--mail-top) 0 0 0!important;background:#f3f6fb!important}
body:not(.task-login) #layout-menu{position:fixed!important;z-index:900!important;left:0!important;top:var(--mail-top)!important;bottom:0!important;width:var(--mail-rail)!important;background:#f7f8fa!important;border-right:1px solid #e1e5eb!important;box-shadow:none!important}
body:not(.task-login) #layout-menu .popover-header{display:none!important}
body:not(.task-login) #taskmenu{padding-top:8px!important}
body:not(.task-login) #taskmenu a{width:44px!important;min-width:44px!important;height:44px!important;margin:3px 6px!important;padding:7px 2px!important;border-radius:6px!important;color:#4b596b!important;font-size:10px!important;line-height:14px!important;box-sizing:border-box!important}
body:not(.task-login) #taskmenu a:before{font-size:18px!important;line-height:19px!important}
body:not(.task-login) #taskmenu a:hover{background:#e7f1fb!important;color:var(--mail-blue)!important}
body:not(.task-login) #taskmenu a.selected{background:#dceeff!important;color:var(--mail-blue)!important;box-shadow:inset 3px 0 var(--mail-blue)!important}
body:not(.task-login) #taskmenu .special-buttons{bottom:6px!important}
body:not(.task-login) #layout-sidebar{position:fixed!important;left:var(--mail-rail)!important;top:var(--mail-top)!important;bottom:0!important;width:var(--mail-folders)!important;background:#f3f6fb!important;border-right:1px solid #e1e5eb!important;box-shadow:none!important}
body:not(.task-login) #layout-sidebar>.header{height:56px!important;padding:0 14px!important;background:#f3f6fb!important;border:0!important;box-shadow:none!important;font-size:14px!important;font-weight:650!important;display:flex!important;align-items:center!important}
body:not(.task-login) #layout-sidebar>.header .button{color:#4b596b!important}
body:not(.task-login) #folderlist-content{padding:8px 8px!important}
body:not(.task-login) .folderlist li a{height:36px!important;line-height:36px!important;margin:1px 0!important;padding-left:14px!important;border-radius:5px!important;color:#273548!important;font-size:14px!important}
body:not(.task-login) .folderlist li a:hover{background:#e6edf5!important}
body:not(.task-login) .folderlist li.selected>a{background:#d9eaf9!important;color:#0f548c!important;box-shadow:inset 3px 0 var(--mail-blue)!important}
body:not(.task-login) #layout-list{position:fixed!important;left:calc(var(--mail-rail) + var(--mail-folders))!important;top:var(--mail-top)!important;bottom:0!important;width:var(--mail-list)!important;background:#fff!important;border-right:1px solid #e1e5eb!important;box-shadow:0 0 12px #23374d0a!important}
body:not(.task-login) #layout-list>.header{height:56px!important;padding:0 12px!important;background:#fff!important;border-bottom:1px solid #eceff3!important;box-shadow:none!important}
body:not(.task-login) #layout-list .searchbar{height:38px!important;margin:9px 0!important}
body:not(.task-login) #layout-list .searchbar form,body:not(.task-login) #layout-list .searchbar input{height:38px!important;background:#f4f6f8!important;border:1px solid #d9dfe7!important;border-radius:6px!important;font-size:14px!important}
body:not(.task-login) #messagelist{border-collapse:separate!important}
body:not(.task-login) #messagelist tbody tr{height:74px!important;background:#fff!important}
body:not(.task-login) #messagelist tbody td{padding:10px 14px!important;border-bottom:1px solid #edf0f3!important;background:#fff!important}
body:not(.task-login) #messagelist tbody tr:hover td{background:#f5f9fd!important}
body:not(.task-login) #messagelist tbody tr.selected td{background:#e7f3fc!important;box-shadow:inset 3px 0 var(--mail-blue)!important}
body:not(.task-login) .messagelist td.subject span.from{font-size:14px!important;color:#172235!important}
body:not(.task-login) .messagelist td.subject span.subject{font-size:13px!important;color:#40516a!important}
body:not(.task-login) .messagelist td.subject span.date{font-size:12px!important;color:#687990!important}
body:not(.task-login) #layout-list>.footer{height:40px!important;background:#fff!important;border-top:1px solid #e7ebf0!important}
body:not(.task-login) #layout-content{position:fixed!important;left:calc(var(--mail-rail) + var(--mail-folders) + var(--mail-list))!important;right:0!important;top:var(--mail-top)!important;bottom:0!important;width:auto!important;background:#fff!important;color:#253247!important}
body:not(.task-login) #layout-content>.header{height:56px!important;min-height:56px!important;background:#fff!important;border-bottom:1px solid #e5e9ef!important;box-shadow:none!important;padding:0 18px!important}
body:not(.task-login) #layout-content>.header .toolbar{height:56px!important;display:flex!important;align-items:center!important}
body:not(.task-login) #layout-content>.header .toolbar a,body:not(.task-login) #layout-content>.header .toolbar button{height:34px!important;padding:7px 10px!important;border-radius:5px!important;color:#36465b!important}
body:not(.task-login) #layout-content>.header .toolbar a:hover,body:not(.task-login) #layout-content>.header .toolbar button:hover{background:#edf4fa!important;color:var(--mail-blue)!important}
body:not(.task-login) #messagecontframe{background:#fff!important}
body:not(.task-login) .watermark{opacity:.05!important;filter:grayscale(1)!important}
body:not(.task-login) .btn-primary{background:var(--mail-blue)!important;border-color:var(--mail-blue)!important;border-radius:4px!important;box-shadow:none!important}
body:not(.task-login) .btn-primary:hover{background:var(--mail-blue-hover)!important}
body:not(.task-login) .menu.toolbar.listing{border:0!important;background:#fff!important}
@media(max-width:1200px){body:not(.task-login){--mail-folders:220px;--mail-list:360px}}
@media(max-width:900px){body:not(.task-login){--mail-folders:0px;--mail-list:360px}body:not(.task-login) #layout-sidebar{display:none!important}}

/* Keep the embedded reading document clean and independent of the app shell */
body.task-mail.action-show::before,body.task-mail.action-show::after{display:none!important}
body.task-mail.action-show{background:#fff!important;color:#253247!important;overflow:auto!important}
body.task-mail.action-show #layout{position:static!important;inset:auto!important;width:100%!important;height:auto!important;background:#fff!important}
body.task-mail.action-show #layout-content{position:static!important;inset:auto!important;width:100%!important;height:auto!important;min-height:100vh!important;background:#fff!important;border:0!important}
body.task-mail.action-show #layout-content>.header{height:auto!important;min-height:0!important;padding:18px 22px!important;background:#fff!important;border-bottom:1px solid #e6eaf0!important}
body.task-mail.action-show .message-header{padding:18px 22px!important;background:#fff!important;border-bottom:1px solid #e6eaf0!important}
body.task-mail.action-show .message-part,body.task-mail.action-show .message-htmlpart{padding:22px!important;margin:0!important;background:#fff!important;color:#253247!important}
html.orivect-embedded body::before,html.orivect-embedded body::after{display:none!important}
html.orivect-embedded body{background:#fff!important;color:#253247!important;overflow:auto!important}
html.orivect-embedded body #layout{position:static!important;inset:auto!important;width:100%!important;height:auto!important;background:#fff!important}
html.orivect-embedded body #layout-content{position:static!important;inset:auto!important;width:100%!important;height:auto!important;min-height:100vh!important;background:#fff!important;border:0!important}
html.orivect-embedded body #layout-menu,html.orivect-embedded body #layout-sidebar,html.orivect-embedded body #layout-list{display:none!important}

/* Modern utility rail */
body:not(.task-login) #taskmenu .special-buttons{left:0!important;right:0!important;bottom:0!important;padding:7px 0!important;background:transparent!important;border-top:1px solid #e1e5eb!important}
body:not(.task-login) #taskmenu .special-buttons a{color:#69788d!important;background:transparent!important;opacity:1!important}
body:not(.task-login) #taskmenu .special-buttons a:hover{color:var(--mail-blue)!important;background:#e7f1fb!important}

/* Complete dark workspace */
html.dark-mode body:not(.task-login){background:#111820!important;color:#e7edf5!important}
html.dark-mode body:not(.task-login)::before{background:#123f6d!important;box-shadow:0 1px 0 #ffffff12!important}
html.dark-mode body:not(.task-login) #layout{background:#111820!important}
html.dark-mode body:not(.task-login) #layout-menu{background:#171e27!important;border-color:#2c3643!important}
html.dark-mode body:not(.task-login) #taskmenu a{color:#aeb9c7!important}
html.dark-mode body:not(.task-login) #taskmenu a:hover{background:#253445!important;color:#fff!important}
html.dark-mode body:not(.task-login) #taskmenu a.selected{background:#163a5c!important;color:#73b9ee!important;box-shadow:inset 3px 0 #49a7e8!important}
html.dark-mode body:not(.task-login) #taskmenu .special-buttons{background:transparent!important;border-color:#2c3643!important}
html.dark-mode body:not(.task-login) #taskmenu .special-buttons a{color:#93a1b3!important;background:transparent!important}
html.dark-mode body:not(.task-login) #taskmenu .special-buttons a:hover{color:#fff!important;background:#253445!important}
html.dark-mode body:not(.task-login) #layout-sidebar{background:#171e27!important;border-color:#2c3643!important;color:#e7edf5!important}
html.dark-mode body:not(.task-login) #layout-sidebar>.header{background:#171e27!important;color:#e7edf5!important}
html.dark-mode body:not(.task-login) #layout-sidebar>.header .button{color:#aeb9c7!important}
html.dark-mode body:not(.task-login) .folderlist li a{color:#d5dde8!important}
html.dark-mode body:not(.task-login) .folderlist li a:hover{background:#25303d!important;color:#fff!important}
html.dark-mode body:not(.task-login) .folderlist li.selected>a{background:#183b5b!important;color:#87c8f4!important;box-shadow:inset 3px 0 #49a7e8!important}
html.dark-mode body:not(.task-login) #layout-list{background:#1b222c!important;border-color:#303a47!important;color:#e7edf5!important}
html.dark-mode body:not(.task-login) #layout-list>.header{background:#1b222c!important;border-color:#303a47!important}
html.dark-mode body:not(.task-login) #layout-list .searchbar form,html.dark-mode body:not(.task-login) #layout-list .searchbar input{background:#111820!important;border-color:#3a4655!important;color:#edf3fa!important}
html.dark-mode body:not(.task-login) #messagelist tbody tr,html.dark-mode body:not(.task-login) #messagelist tbody td{background:#1b222c!important;border-color:#2a3441!important;color:#d8e0ea!important}
html.dark-mode body:not(.task-login) #messagelist tbody tr:hover td{background:#222c38!important}
html.dark-mode body:not(.task-login) #messagelist tbody tr.selected td{background:#173957!important;box-shadow:inset 3px 0 #49a7e8!important}
html.dark-mode body:not(.task-login) .messagelist td.subject span.from{color:#f1f5fa!important}
html.dark-mode body:not(.task-login) .messagelist td.subject span.subject{color:#c0cad7!important}
html.dark-mode body:not(.task-login) .messagelist td.subject span.date{color:#9caabc!important}
html.dark-mode body:not(.task-login) #layout-list>.footer{background:#171e27!important;border-color:#303a47!important;color:#aeb9c7!important}
html.dark-mode body:not(.task-login) #layout-content{background:#111820!important;color:#e7edf5!important}
html.dark-mode body:not(.task-login) #layout-content>.header{background:#171e27!important;border-color:#303a47!important}
html.dark-mode body:not(.task-login) #layout-list>.header *,html.dark-mode body:not(.task-login) #layout-content>.header *,html.dark-mode body:not(.task-login) .toolbar,html.dark-mode body:not(.task-login) .toolbar.listing,html.dark-mode body:not(.task-login) .menu.toolbar.listing{background-color:transparent!important}
html.dark-mode body:not(.task-login) #layout-content>.header .toolbar a,html.dark-mode body:not(.task-login) #layout-content>.header .toolbar button{color:#b8c3d1!important}
html.dark-mode body:not(.task-login) #layout-content>.header .toolbar a:hover,html.dark-mode body:not(.task-login) #layout-content>.header .toolbar button:hover{background:#253445!important;color:#fff!important}
html.dark-mode body:not(.task-login) #messagecontframe{background:#111820!important}
html.dark-mode body:not(.task-login) .message-header,html.dark-mode body:not(.task-login) .message-part,html.dark-mode body:not(.task-login) .message-htmlpart{background:#111820!important;color:#e7edf5!important;border-color:#303a47!important}
html.dark-mode body:not(.task-login) .form-control,html.dark-mode body:not(.task-login) select,html.dark-mode body:not(.task-login) textarea{background:#111820!important;border-color:#3a4655!important;color:#edf3fa!important}
html.dark-mode body:not(.task-login) .popover,html.dark-mode body:not(.task-login) .dropdown-menu,html.dark-mode body:not(.task-login) .ui-dialog{background:#202a36!important;border-color:#3a4655!important;color:#e7edf5!important}
html.dark-mode body:not(.task-login) .popover a,html.dark-mode body:not(.task-login) .dropdown-menu a{color:#d9e2ed!important}
html.dark-mode body:not(.task-login) .popover a:hover,html.dark-mode body:not(.task-login) .dropdown-menu a:hover{background:#2b3949!important;color:#fff!important}

/* Precision alignment and border cleanup */
body:not(.task-login) #taskmenu a,body:not(.task-login) #taskmenu .special-buttons a{display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:2px!important;width:44px!important;height:44px!important;margin:3px 6px!important;padding:0!important;font-size:0!important;line-height:1!important;border:0!important;outline:0!important;box-shadow:none!important;overflow:hidden!important}
body:not(.task-login) #taskmenu a::before,body:not(.task-login) #taskmenu .special-buttons a::before{display:block!important;margin:0!important;font-size:19px!important;line-height:1!important}
body:not(.task-login) #taskmenu a.selected{box-shadow:inset 3px 0 var(--mail-blue)!important}
body:not(.task-login) #taskmenu .special-buttons{display:flex!important;flex-direction:column!important;align-items:center!important;gap:0!important;box-sizing:border-box!important}
body:not(.task-login) #layout-sidebar>.footer{position:absolute!important;left:0!important;right:0!important;bottom:0!important;height:36px!important;background:#f3f6fb!important;border:0!important;border-top:1px solid #e1e5eb!important;box-shadow:none!important}
body:not(.task-login) .folderlist,body:not(.task-login) .folderlist li,body:not(.task-login) .folderlist li>a{border:0!important;outline:0!important}
body:not(.task-login) .folderlist li{margin:2px 0!important;padding:0!important}
body:not(.task-login) .folderlist li>a{box-sizing:border-box!important;height:38px!important;line-height:38px!important;padding-top:0!important;padding-bottom:0!important}
body:not(.task-login) .folderlist li.selected>a{border:0!important;outline:0!important;box-shadow:inset 3px 0 var(--mail-blue)!important}
body:not(.task-login) .folderlist li>a:focus{outline:0!important;border:0!important}
body:not(.task-login) #layout-list>.footer,body:not(.task-login) #layout-content>.footer{box-shadow:none!important}
body:not(.task-login) #layout-list>.header .toolbar,body:not(.task-login) #layout-content>.header .toolbar{height:55px!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;margin:0!important;padding:0!important}
body:not(.task-login) #layout-list>.header .toolbar a,body:not(.task-login) #layout-content>.header .toolbar a{margin:0!important;border:0!important;outline:0!important}
html.dark-mode body:not(.task-login) #layout-sidebar>.footer{background:#171e27!important;border-color:#2c3643!important}
html.dark-mode body:not(.task-login) .folderlist,html.dark-mode body:not(.task-login) .folderlist li,html.dark-mode body:not(.task-login) .folderlist li>a{border-color:transparent!important}
html.dark-mode body:not(.task-login) .folderlist li.selected>a{border:0!important;outline:0!important;box-shadow:inset 3px 0 #49a7e8!important}
html.dark-mode body:not(.task-login) #layout-list>.footer,html.dark-mode body:not(.task-login) #layout-content>.footer{background:#171e27!important;border-color:#2c3643!important}

/* Outlook-style compose workspace */
body.action-compose #layout-sidebar{display:none!important}
body.action-compose #layout-content{left:var(--mail-rail)!important;right:0!important;top:var(--mail-top)!important;bottom:0!important;width:auto!important;background:#f5f7fa!important}
body.action-compose #layout-content>.header{height:56px!important;padding:0 30px!important;background:#fff!important;border:0!important;border-bottom:1px solid #e5e9ef!important}
body.action-compose #toolbar-menu{height:56px!important;display:flex!important;align-items:center!important;gap:6px!important;margin:0!important;padding:0!important;background:transparent!important}
body.action-compose #toolbar-menu>li{margin:0!important;padding:0!important}
body.action-compose #toolbar-menu a{display:flex!important;align-items:center!important;justify-content:center!important;min-width:38px!important;height:36px!important;margin:0!important;padding:0 10px!important;border:0!important;border-radius:5px!important;background:transparent!important;color:#40536b!important}
body.action-compose #toolbar-menu a:hover{background:#e9f3fc!important;color:#0f6cbd!important}
body.action-compose #compose-content{position:absolute!important;inset:56px 0 0 0!important;width:auto!important;height:auto!important;margin:0!important;padding:22px 36px 30px!important;overflow:auto!important;background:#f5f7fa!important;color:#253247!important;box-sizing:border-box!important}
body.action-compose #compose-content>form,body.action-compose #compose-content .formcontent.scroller{display:block!important;width:100%!important;min-height:100%!important;margin:0!important;padding:14px 0 24px!important;background:#f5f7fa!important;box-sizing:border-box!important}
body.action-compose #compose-headers{max-width:1180px!important;margin:0 auto!important;padding:0 18px!important;background:#fff!important;border:1px solid #e1e6ed!important;border-bottom:0!important;border-radius:10px 10px 0 0!important;box-sizing:border-box!important}
body.action-compose #compose-headers .form-group{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;align-items:center!important;min-height:46px!important;margin:0!important;padding:0!important;border:0!important;border-bottom:1px solid #edf0f4!important}
body.action-compose #compose-headers .form-group:last-child{border-bottom:0!important}
body.action-compose #compose-headers .form-group.hidden{display:none!important}
body.action-compose #compose-headers .form-group>.col-2,body.action-compose #compose-headers .form-group>.col-10{width:auto!important;max-width:none!important;min-width:0!important;flex:none!important;margin:0!important;padding:0!important}
body.action-compose #compose-headers label{margin:0!important;padding:0 10px 0 2px!important;color:#53657b!important;font-size:13px!important;font-weight:500!important}
body.action-compose #compose-headers .form-control,body.action-compose #compose-headers select,body.action-compose #compose-headers textarea{width:100%!important;min-height:40px!important;margin:0!important;padding:8px 10px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#1f2d3d!important}
body.action-compose #composebodycontainer{max-width:1180px!important;height:calc(100vh - 470px)!important;min-height:360px!important;margin:0 auto!important;background:#fff!important;border:1px solid #e1e6ed!important;border-radius:0 0 10px 10px!important;overflow:hidden!important;box-shadow:0 8px 24px #2532470c!important}
body.action-compose #composebody{width:100%!important;height:100%!important;min-height:360px!important;margin:0!important;padding:24px!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#253247!important;font:14px/1.55 "Segoe UI Variable","Segoe UI",Arial,sans-serif!important;resize:none!important}
body.action-compose #composebodycontainer .editor-toolbar{background:#fafbfc!important;border:0!important;border-bottom:1px solid #e8ecf1!important}
body.action-compose #rcmbtn111{height:40px!important;margin:14px max(0px,calc((100% - 1180px)/2)) 0!important;padding:0 20px!important;border-radius:5px!important;font-size:14px!important;font-weight:600!important}
body.action-compose #rcmbtn112{float:right!important;margin:18px max(0px,calc((100% - 1180px)/2)) 0!important;color:#53657b!important;text-decoration:none!important}
body.action-compose #layout-content>.footer{display:none!important}
html.dark-mode body.action-compose #layout-content,html.dark-mode body.action-compose #compose-content,html.dark-mode body.action-compose #compose-content>form,html.dark-mode body.action-compose #compose-content .formcontent.scroller{background:#111820!important;color:#e7edf5!important}
html.dark-mode body.action-compose #layout-content>.header{background:#171e27!important;border-color:#303a47!important}
html.dark-mode body.action-compose #toolbar-menu a{color:#b8c3d1!important}
html.dark-mode body.action-compose #toolbar-menu a:hover{background:#253445!important;color:#fff!important}
html.dark-mode body.action-compose #compose-headers{background:#1b222c!important;border-color:#303a47!important}
html.dark-mode body.action-compose #compose-headers .form-group{border-color:#303a47!important}
html.dark-mode body.action-compose #compose-headers label{color:#9eacbd!important}
html.dark-mode body.action-compose #compose-headers .form-control,html.dark-mode body.action-compose #compose-headers select,html.dark-mode body.action-compose #compose-headers textarea{background:transparent!important;color:#edf3fa!important}
html.dark-mode body.action-compose #composebodycontainer{background:#1b222c!important;border-color:#303a47!important;box-shadow:none!important}
html.dark-mode body.action-compose #composebody{background:#1b222c!important;color:#edf3fa!important}
html.dark-mode body.action-compose #composebodycontainer .editor-toolbar{background:#171e27!important;border-color:#303a47!important}
html.dark-mode body.action-compose #rcmbtn112{color:#aeb9c7!important}
@media(max-width:800px){body.action-compose #compose-content{padding:14px!important}body.action-compose #compose-headers{padding:0 10px!important}body.action-compose #compose-headers .form-group{grid-template-columns:56px minmax(0,1fr)!important}}

/* Polished command bars, menus and reply alignment */
body:not(.task-login) #layout-content>.header .toolbar,body:not(.task-login) #layout-content>.header .toolbar>ul{display:flex!important;align-items:center!important;gap:5px!important}
body:not(.task-login) #layout-content>.header .toolbar a,body:not(.task-login) #layout-content>.header .toolbar button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-width:36px!important;height:36px!important;margin:0!important;padding:0 10px!important;border:0!important;border-radius:6px!important;font-size:13px!important;line-height:1!important;white-space:nowrap!important}
body:not(.task-login) #layout-content>.header .toolbar a::before,body:not(.task-login) #layout-content>.header .toolbar button::before{margin:0!important;font-size:16px!important;line-height:1!important}
body:not(.task-login) #layout-content>.header .toolbar .disabled{opacity:.42!important}
body.action-compose #layout-content>.header{display:flex!important;align-items:center!important}
body.action-compose #toolbar-menu{width:min(1180px,calc(100% - 48px))!important;max-width:1180px!important;margin:0 auto!important;justify-content:flex-start!important}
body.action-compose #toolbar-menu a{gap:7px!important;font-size:13px!important;font-weight:500!important}
body.action-compose #toolbar-menu a::before{margin:0!important;font-size:16px!important;line-height:1!important}
body.action-compose #composebody{padding:56px 24px 24px!important}

body:not(.task-login) .popupmenu,body:not(.task-login) .dropdown-menu{min-width:210px!important;margin-top:6px!important;padding:6px!important;background:#fff!important;border:1px solid #dfe5ed!important;border-radius:8px!important;box-shadow:0 14px 38px #2532472b!important;overflow:hidden!important}
body:not(.task-login) .popupmenu li,body:not(.task-login) .dropdown-menu li{margin:0!important;padding:0!important;border:0!important}
body:not(.task-login) .popupmenu a,body:not(.task-login) .dropdown-menu a{display:flex!important;align-items:center!important;gap:10px!important;min-height:38px!important;margin:0!important;padding:8px 10px!important;border:0!important;border-radius:5px!important;color:#34465d!important;font-size:13px!important;line-height:1.3!important;text-decoration:none!important}
body:not(.task-login) .popupmenu a::before,body:not(.task-login) .dropdown-menu a::before{width:18px!important;margin:0!important;color:#60758d!important;font-size:15px!important;text-align:center!important}
body:not(.task-login) .popupmenu a:hover,body:not(.task-login) .dropdown-menu a:hover{background:#e9f3fc!important;color:#0f6cbd!important}
html.dark-mode body:not(.task-login) .popupmenu,html.dark-mode body:not(.task-login) .dropdown-menu{background:#202a36!important;border-color:#3a4655!important;box-shadow:0 16px 42px #0008!important}
html.dark-mode body:not(.task-login) .popupmenu a,html.dark-mode body:not(.task-login) .dropdown-menu a{color:#dce5ef!important}
html.dark-mode body:not(.task-login) .popupmenu a::before,html.dark-mode body:not(.task-login) .dropdown-menu a::before{color:#9fb1c5!important}
html.dark-mode body:not(.task-login) .popupmenu a:hover,html.dark-mode body:not(.task-login) .dropdown-menu a:hover{background:#2b3a49!important;color:#fff!important}
body.action-compose #toolbar-menu a:not(.disabled){background:#f3f6fa!important;color:#34465d!important;border:1px solid #dfe5ed!important}
body.action-compose #toolbar-menu a:not(.disabled):hover{background:#e5f1fb!important;color:#0f6cbd!important;border-color:#bfd9ee!important}
html.dark-mode body.action-compose #toolbar-menu a:not(.disabled){background:#202a36!important;color:#dce5ef!important;border-color:#3a4655!important}
html.dark-mode body.action-compose #toolbar-menu a:not(.disabled):hover{background:#2b3a49!important;color:#fff!important;border-color:#506178!important}

/* Inline replies preserve mailbox context */
body.action-compose.orivect-inline-reply #layout-sidebar{display:block!important}
body.action-compose.orivect-inline-reply #layout-content{left:calc(var(--mail-rail) + var(--mail-folders) + var(--mail-list))!important}
body.action-compose.orivect-inline-reply #compose-content{padding:14px 18px 24px!important}
body.action-compose.orivect-inline-reply #compose-content>form{padding-top:6px!important}
body.action-compose.orivect-inline-reply #compose-headers,body.action-compose.orivect-inline-reply #composebodycontainer{max-width:none!important;width:100%!important}
body.action-compose.orivect-inline-reply #composebodycontainer{height:calc(100vh - 430px)!important;min-height:320px!important}
body.action-compose.orivect-inline-reply #rcmbtn111{margin:12px 0 0!important}
body.action-compose.orivect-inline-reply #rcmbtn112{margin:16px 0 0!important}
body.action-compose.orivect-inline-reply #layout-list .searchbar,body.action-compose.orivect-inline-reply #layout-list .toolbar,body.action-compose.orivect-inline-reply #layout-sidebar .toolbar{pointer-events:auto!important}
@media(max-width:1100px){body.action-compose.orivect-inline-reply #layout-sidebar{display:none!important}body.action-compose.orivect-inline-reply #layout-content{left:calc(var(--mail-rail) + var(--mail-list))!important}}

/* Compact recipient actions and persistent Send */
body.action-compose #compose_from a.edit{display:none!important}
body.action-compose #compose-headers .col-10{position:relative!important;padding-right:82px!important}
body.action-compose #compose_to .col-10>a.input-group-text{position:absolute!important;top:6px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important;margin:0!important;padding:0!important;border:1px solid #cfd8e3!important;border-radius:6px!important;background:#f3f6fa!important;color:#50657c!important;font-size:0!important;box-shadow:none!important}
body.action-compose #compose_to .col-10>a.input-group-text::before{margin:0!important;font-size:14px!important;line-height:1!important}
body.action-compose #compose_to .col-10>a.add.recipient{right:40px!important}
body.action-compose #compose_to .col-10>a.add:not(.recipient){right:2px!important}
body.action-compose #compose_to .col-10>a.input-group-text:hover{background:#e5f1fb!important;color:#0f6cbd!important;border-color:#bfd9ee!important}
body.action-compose #composebodycontainer .editor-toolbar{display:none!important}
body.action-compose #composebody{padding:24px!important}
body.action-compose button.send,body.action-compose .btn.send{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:96px!important;height:42px!important;padding:0 18px!important;border:0!important;border-radius:7px!important;background:#0f6cbd!important;color:#fff!important;font-size:14px!important;font-weight:650!important;box-shadow:0 8px 20px #0f6cbd38!important}
body.action-compose.orivect-inline-reply button.send,body.action-compose.orivect-inline-reply .btn.send{position:fixed!important;z-index:1200!important;left:calc(var(--mail-rail) + var(--mail-folders) + var(--mail-list) + 24px)!important;bottom:18px!important;margin:0!important}
html.dark-mode body.action-compose #compose_to .col-10>a.input-group-text{background:#202a36!important;color:#b9c7d7!important;border-color:#3a4655!important}
html.dark-mode body.action-compose #compose_to .col-10>a.input-group-text:hover{background:#2b3a49!important;color:#fff!important;border-color:#506178!important}
@media(max-width:1100px){body.action-compose.orivect-inline-reply button.send,body.action-compose.orivect-inline-reply .btn.send{left:calc(var(--mail-rail) + var(--mail-list) + 20px)!important}}

/* Modern recipient actions and single-surface menus */
body.action-compose #compose-headers .col-10{padding-right:154px!important}
body.action-compose #compose_to .col-10>a.input-group-text{top:5px!important;width:auto!important;min-width:68px!important;height:30px!important;padding:0 10px!important;border-radius:6px!important;font:600 12px/1 "Segoe UI Variable","Segoe UI",Arial,sans-serif!important;text-indent:0!important}
body.action-compose #compose_to .col-10>a.input-group-text::before{display:block!important;width:auto!important;margin:0!important;font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif!important;font-size:12px!important;line-height:1!important}
body.action-compose #compose_to .col-10>a.add.recipient{right:78px!important}
body.action-compose #compose_to .col-10>a.add.recipient::before{content:"Contacts"!important}
body.action-compose #compose_to .col-10>a.add:not(.recipient){right:2px!important}
body.action-compose #compose_to .col-10>a.add:not(.recipient)::before{content:"Cc/Bcc"!important}
body.action-compose #compose_to .col-10>a.input-group-text:hover,body.action-compose #compose_to .col-10>a.input-group-text:focus,body.action-compose #compose_to .col-10>a.input-group-text:active{color:#0f6cbd!important;background:#e5f1fb!important;border-color:#bfd9ee!important;outline:0!important;box-shadow:none!important}
html.dark-mode body.action-compose #compose_to .col-10>a.input-group-text:hover,html.dark-mode body.action-compose #compose_to .col-10>a.input-group-text:focus,html.dark-mode body.action-compose #compose_to .col-10>a.input-group-text:active{color:#fff!important;background:#2b3a49!important;border-color:#506178!important;outline:0!important;box-shadow:none!important}
body:not(.task-login) .popupmenu::before,body:not(.task-login) .popupmenu::after,body:not(.task-login) .dropdown-menu::before,body:not(.task-login) .dropdown-menu::after{display:none!important}
body:not(.task-login) .popupmenu ul,body:not(.task-login) .dropdown-menu ul{margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body:not(.task-login) .popupmenu a:hover,body:not(.task-login) .popupmenu a:focus,body:not(.task-login) .dropdown-menu a:hover,body:not(.task-login) .dropdown-menu a:focus{color:#0f6cbd!important;background:#e9f3fc!important;outline:0!important;box-shadow:none!important}
html.dark-mode body:not(.task-login) .popupmenu a:hover,html.dark-mode body:not(.task-login) .popupmenu a:focus,html.dark-mode body:not(.task-login) .dropdown-menu a:hover,html.dark-mode body:not(.task-login) .dropdown-menu a:focus{color:#fff!important;background:#2b3a49!important}
body.action-compose.orivect-inline-reply button.send,body.action-compose.orivect-inline-reply .btn.send{left:auto!important;right:24px!important;bottom:18px!important}
@media(max-width:1100px){body.action-compose.orivect-inline-reply button.send,body.action-compose.orivect-inline-reply .btn.send{left:auto!important;right:20px!important}}
body.action-compose #compose_to .col-10 a.input-group-text{width:auto!important;min-width:68px!important;height:30px!important;padding:0 10px!important;border-radius:6px!important;font:600 12px/1 "Segoe UI Variable","Segoe UI",Arial,sans-serif!important;text-indent:0!important}
body.action-compose #compose_to .col-10 a.input-group-text::before{display:block!important;width:auto!important;margin:0!important;font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif!important;font-size:12px!important;line-height:1!important}
body.action-compose #compose_to .col-10 a.add.recipient::before{content:"Contacts"!important}
body.action-compose #compose_to .col-10 a.add:not(.recipient)::before{content:"Cc/Bcc"!important}
body.action-compose #compose_to .col-10 a.input-group-text .inner{display:none!important}
body.action-compose #compose_to .input-group-append{display:flex!important;align-items:center!important;gap:6px!important;margin-left:8px!important}

/* Unified modern line-icon system */
body:not(.task-login) #taskmenu a::before,body:not(.task-login) #layout-content>.header .toolbar a::before,body:not(.task-login) #layout-content>.header .toolbar button::before{content:""!important;width:19px!important;height:19px!important;flex:0 0 19px!important;background:currentColor!important;-webkit-mask-repeat:no-repeat!important;-webkit-mask-position:center!important;-webkit-mask-size:contain!important;mask-repeat:no-repeat!important;mask-position:center!important;mask-size:contain!important;font-size:0!important}
body:not(.task-login) #taskmenu a.compose::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E")!important}
body:not(.task-login) #taskmenu a.mail::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E")!important}
body:not(.task-login) #taskmenu a.contacts::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='4'/%3E%3Cpath d='M2 21a7 7 0 0 1 14 0M16 3.5a4 4 0 0 1 0 8M17 14a6 6 0 0 1 5 6'/%3E%3C/svg%3E")!important}
body:not(.task-login) #taskmenu a.settings::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.9l.1.1-2.8 2.8-.1-.1a1.7 1.7 0 0 0-1.9-.3 1.7 1.7 0 0 0-1 1.6v.2h-4V21a1.7 1.7 0 0 0-1-1.6 1.7 1.7 0 0 0-1.9.3l-.1.1L4.2 17l.1-.1a1.7 1.7 0 0 0 .3-1.9A1.7 1.7 0 0 0 3 14H3v-4h.2a1.7 1.7 0 0 0 1.6-1 1.7 1.7 0 0 0-.3-1.9L4.2 7 7 4.2l.1.1A1.7 1.7 0 0 0 9 4.6a1.7 1.7 0 0 0 1-1.6V3h4v.2a1.7 1.7 0 0 0 1 1.6 1.7 1.7 0 0 0 1.9-.3l.1-.1L19.8 7l-.1.1a1.7 1.7 0 0 0-.3 1.9 1.7 1.7 0 0 0 1.6 1h.2v4H21a1.7 1.7 0 0 0-1.6 1Z'/%3E%3C/svg%3E")!important}
body:not(.task-login) #taskmenu a.logout::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M10 17l5-5-5-5M15 12H3M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3C/svg%3E")!important}
body:not(.task-login) #layout-content>.header .toolbar .reply::before,body:not(.task-login) #layout-content>.header .toolbar .reply-all::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 17-5-5 5-5'/%3E%3Cpath d='M20 18v-2a4 4 0 0 0-4-4H4'/%3E%3C/svg%3E")!important}
body:not(.task-login) #layout-content>.header .toolbar .forward::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 17 5-5-5-5'/%3E%3Cpath d='M4 18v-2a4 4 0 0 1 4-4h12'/%3E%3C/svg%3E")!important}
body:not(.task-login) #layout-content>.header .toolbar .delete::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 6h18M8 6V4h8v2M19 6l-1 15H6L5 6M10 11v6M14 11v6'/%3E%3C/svg%3E")!important}
body:not(.task-login) #taskmenu a.theme::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E")!important}
body:not(.task-login) #taskmenu a.about::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.1 9a3 3 0 1 1 5.8 1c0 2-3 2-3 4M12 18h.01'/%3E%3C/svg%3E")!important}
body:not(.task-login) #layout-content>.header .toolbar .compose::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 20h9M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E")!important}
body:not(.task-login) #layout-content>.header .toolbar .save::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2Z'/%3E%3Cpath d='M17 21v-8H7v8M7 3v5h8'/%3E%3C/svg%3E")!important}
body:not(.task-login) #layout-content>.header .toolbar .attach::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m21.4 11.6-8.9 8.9a6 6 0 0 1-8.5-8.5l9.6-9.6a4 4 0 0 1 5.7 5.7l-9.6 9.6a2 2 0 0 1-2.8-2.8l8.9-8.9'/%3E%3C/svg%3E")!important}
body:not(.task-login) #layout-content>.header .toolbar .signature::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m15 5 4 4M13 7l6-6 4 4-6 6M2 21c4-1 5-5 7-7 1-1 2 0 1 2s0 3 2 2l2-1c1 0 1 2 3 2h5'/%3E%3C/svg%3E")!important}
body:not(.task-login) #layout-content>.header .toolbar .responses::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4Z'/%3E%3C/svg%3E")!important}
body:not(.task-login) #layout-content>.header .toolbar .mark::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.6 11 3H4v7l9.6 9.6a2 2 0 0 0 2.8 0l4.2-4.2a2 2 0 0 0 0-2.8Z'/%3E%3Ccircle cx='7.5' cy='6.5' r='.5' fill='black'/%3E%3C/svg%3E")!important}
body:not(.task-login) #layout-content>.header .toolbar .more::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='5' cy='12' r='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='19' cy='12' r='2'/%3E%3C/svg%3E")!important}

/* Contact picker */
body:not(.task-login) .ui-dialog{border:1px solid #dfe5ed!important;border-radius:12px!important;overflow:hidden!important;box-shadow:0 24px 70px #17283b42!important}
body:not(.task-login) .ui-dialog-titlebar{min-height:56px!important;padding:17px 18px!important;background:#fff!important;border:0!important;border-bottom:1px solid #e7ebf0!important;color:#253247!important;font-size:16px!important;font-weight:650!important}
body:not(.task-login) .ui-dialog-content{padding:12px!important;background:#fff!important;color:#253247!important}
body:not(.task-login) .ui-dialog-buttonpane{padding:12px 14px!important;background:#fafbfc!important;border:0!important;border-top:1px solid #e7ebf0!important}
body:not(.task-login) .ui-dialog .searchbar{margin:0 0 10px!important;border:0!important}
body:not(.task-login) .ui-dialog .searchbar input{height:40px!important;background:#f3f6fa!important;border:1px solid #d9e1ea!important;border-radius:7px!important;color:#253247!important}
body:not(.task-login) .ui-dialog .listing li{min-height:42px!important;margin:2px 0!important;padding:10px 12px!important;border:0!important;border-radius:7px!important;color:#34465d!important}
body:not(.task-login) .ui-dialog .listing li:hover{background:#e9f3fc!important;color:#0f6cbd!important}
body:not(.task-login) .ui-dialog .btn{height:38px!important;padding:0 14px!important;border-radius:6px!important}
body:not(.task-login) .ui-dialog .btn::before{display:none!important}
html.dark-mode body:not(.task-login) .ui-dialog{background:#17202a!important;border-color:#344152!important;box-shadow:0 28px 80px #000b!important}
html.dark-mode body:not(.task-login) .ui-dialog-titlebar{background:#17202a!important;border-color:#344152!important;color:#f0f5fa!important}
html.dark-mode body:not(.task-login) .ui-dialog-content{background:#1b2531!important;color:#dce5ef!important}
html.dark-mode body:not(.task-login) .ui-dialog-buttonpane{background:#17202a!important;border-color:#344152!important}
html.dark-mode body:not(.task-login) .ui-dialog .searchbar input{background:#101820!important;border-color:#3b495a!important;color:#edf3fa!important}
html.dark-mode body:not(.task-login) .ui-dialog .listing li{background:transparent!important;color:#d7e0eb!important}
html.dark-mode body:not(.task-login) .ui-dialog .listing li:hover{background:#263649!important;color:#fff!important}

/* Message rows never flash white in dark mode */
html.dark-mode body:not(.task-login) #layout-list .listing tbody tr:hover td,html.dark-mode body:not(.task-login) #layout-list .listing tbody tr:focus td,html.dark-mode body:not(.task-login) #layout-list .listing tbody tr.focused td{background:#222d39!important;color:#edf3fa!important;border-color:#33404f!important;filter:none!important;opacity:1!important}
html.dark-mode body:not(.task-login) #layout-list .listing tbody tr:hover *,html.dark-mode body:not(.task-login) #layout-list .listing tbody tr:focus *{color:inherit!important;filter:none!important;opacity:1!important}

/* Modern settings navigation */
body.task-settings #layout-sidebar .listing li{min-height:42px!important;margin:3px 8px!important;padding:0!important;border:0!important;border-radius:7px!important;overflow:hidden!important}
body.task-settings #layout-sidebar .listing li>a{display:flex!important;align-items:center!important;gap:11px!important;min-height:42px!important;padding:0 12px!important;border:0!important;color:#40536b!important}
body.task-settings #layout-sidebar .listing li>a::before{content:""!important;width:18px!important;height:18px!important;flex:0 0 18px!important;background:currentColor!important;-webkit-mask-repeat:no-repeat!important;-webkit-mask-position:center!important;-webkit-mask-size:contain!important}
body.task-settings #layout-sidebar .listing li.preferences>a::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6'/%3E%3C/svg%3E")!important}
body.task-settings #layout-sidebar .listing li.folders>a::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 5h7l2 2h9v12H3Z'/%3E%3C/svg%3E")!important}
body.task-settings #layout-sidebar .listing li.identities>a::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='M6 16c1-3 5-3 6 0M14 9h4M14 13h4'/%3E%3C/svg%3E")!important}
body.task-settings #layout-sidebar .listing li.responses>a::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4Z'/%3E%3C/svg%3E")!important}
body.task-settings #layout-sidebar .listing li:hover{background:#e9f3fc!important}
body.task-settings #layout-sidebar .listing li.selected{background:#dceeff!important}
body.task-settings #layout-sidebar .listing li.selected>a{color:#0f6cbd!important}
html.dark-mode body.task-settings #layout-sidebar .listing li>a{color:#c7d2df!important}
html.dark-mode body.task-settings #layout-sidebar .listing li:hover{background:#263649!important}
html.dark-mode body.task-settings #layout-sidebar .listing li.selected{background:#173957!important}
html.dark-mode body.task-settings #layout-sidebar .listing li.selected>a{color:#75c2f3!important}

/* Settings cards and embedded dark forms */
body.task-settings #layout-list .listing tbody tr,body.task-settings #layout-list .listing tbody td{border:0!important;background:transparent!important}
body.task-settings #layout-list .listing tbody tr{height:44px!important}
body.task-settings #layout-list .listing tbody td{padding:4px 10px!important;color:#40536b!important}
body.task-settings #layout-list .listing tbody tr:hover td{background:#e9f3fc!important;color:#0f6cbd!important}
body.task-settings #layout-list .listing tbody tr.selected td{background:#dceeff!important;color:#0f6cbd!important}
html.dark-mode body.task-settings #layout-list .listing tbody td{color:#b9c5d4!important}
html.dark-mode body.task-settings #layout-list .listing tbody tr:hover td{background:#263649!important;color:#fff!important}
html.dark-mode body.task-settings #layout-list .listing tbody tr.selected td{background:#173957!important;color:#75c2f3!important}
html.orivect-embedded.orivect-dark body,html.orivect-embedded.orivect-dark body #layout,html.orivect-embedded.orivect-dark body #layout-content,html.orivect-embedded.orivect-dark body .content,html.orivect-embedded.orivect-dark body .formcontent,html.orivect-embedded.orivect-dark body form{background:#111820!important;color:#e7edf5!important}
html.orivect-embedded.orivect-dark body{font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif!important;font-size:14px!important}
html.orivect-embedded.orivect-dark body fieldset,html.orivect-embedded.orivect-dark body .boxcontent{margin:14px!important;padding:18px!important;background:#18212c!important;border:1px solid #2d3947!important;border-radius:10px!important;box-shadow:none!important}
html.orivect-embedded.orivect-dark body legend,html.orivect-embedded.orivect-dark body h1,html.orivect-embedded.orivect-dark body h2,html.orivect-embedded.orivect-dark body h3{color:#f2f6fb!important;font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif!important;font-weight:650!important;letter-spacing:-.01em!important}
html.orivect-embedded.orivect-dark body .form-group,html.orivect-embedded.orivect-dark body .propform tr,html.orivect-embedded.orivect-dark body .propform td{background:transparent!important;border:0!important;color:#d8e1ec!important}
html.orivect-embedded.orivect-dark body .form-group{min-height:44px!important;margin:0!important;padding:9px 4px!important}
html.orivect-embedded.orivect-dark body label{color:#d8e1ec!important;font-weight:450!important}
html.orivect-embedded.orivect-dark body input,html.orivect-embedded.orivect-dark body select,html.orivect-embedded.orivect-dark body textarea{background:#0f1720!important;border-color:#3a4859!important;color:#eef4fa!important;border-radius:6px!important}
html.orivect-embedded.orivect-dark body .footer,html.orivect-embedded.orivect-dark body .formbuttons{background:#111820!important;border:0!important;padding:12px 14px!important}
html.orivect-embedded.orivect-dark body .btn-primary{background:#0f6cbd!important;border:0!important;border-radius:6px!important;color:#fff!important;font-weight:650!important;box-shadow:none!important}

/* Refined flat settings layout */
body.task-settings #layout-sidebar .listing li,body.task-settings #layout-list .listing tbody tr{border-radius:5px!important}
body.task-settings #layout-list .listing tbody tr.selected td{background:#edf4fa!important;color:#0f548c!important;box-shadow:inset 3px 0 #0f6cbd!important}
html.dark-mode body.task-settings #layout-list .listing tbody tr.selected td{background:#213244!important;color:#85c7f2!important;box-shadow:inset 3px 0 #49a7e8!important}
html.orivect-embedded.orivect-dark body,html.orivect-embedded.orivect-dark body #layout,html.orivect-embedded.orivect-dark body #layout-content,html.orivect-embedded.orivect-dark body .content,html.orivect-embedded.orivect-dark body .formcontent,html.orivect-embedded.orivect-dark body form{background:#151d27!important}
html.orivect-embedded.orivect-dark body fieldset,html.orivect-embedded.orivect-dark body .boxcontent{margin:0 24px!important;padding:22px 0!important;background:transparent!important;border:0!important;border-bottom:1px solid #2b3643!important;border-radius:0!important}
html.orivect-embedded.orivect-dark body fieldset:last-of-type,html.orivect-embedded.orivect-dark body .boxcontent:last-of-type{border-bottom:0!important}
html.orivect-embedded.orivect-dark body legend,html.orivect-embedded.orivect-dark body h1,html.orivect-embedded.orivect-dark body h2,html.orivect-embedded.orivect-dark body h3{margin:0 0 12px!important;color:#f1f5f9!important;font-size:15px!important;font-weight:600!important;letter-spacing:0!important}
html.orivect-embedded.orivect-dark body .form-group{min-height:40px!important;padding:7px 0!important}
html.orivect-embedded.orivect-dark body label{color:#c7d1de!important;font-size:13px!important}
html.orivect-embedded.orivect-dark body .footer,html.orivect-embedded.orivect-dark body .formbuttons{padding:14px 24px!important;background:#151d27!important;border-top:1px solid #2b3643!important}
html.orivect-embedded.orivect-dark body .btn-primary{height:38px!important;padding:0 16px!important;background:#1676bd!important;border-radius:5px!important;font-size:13px!important}

/* Complete every remaining command icon */
body:not(.task-login) #layout-content>.header .toolbar a.dropdown::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;width:13px!important;height:13px!important;flex-basis:13px!important}
body:not(.task-login) #layout-content>.header .toolbar .markmessage::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.6 11 3H4v7l9.6 9.6a2 2 0 0 0 2.8 0l4.2-4.2a2 2 0 0 0 0-2.8Z'/%3E%3Ccircle cx='7.5' cy='6.5' r='.8' fill='black'/%3E%3C/svg%3E")!important}
body:not(.task-login) #layout-content>.header .toolbar .more::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='5' cy='12' r='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='19' cy='12' r='2'/%3E%3C/svg%3E")!important}
body:not(.task-login) #layout-content>.header .toolbar .select::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='3'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E")!important}
body:not(.task-login) #layout-content>.header .toolbar .threads::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4Z'/%3E%3Cpath d='M8 8h8M8 12h5'/%3E%3C/svg%3E")!important}
body:not(.task-login) #layout-content>.header .toolbar .options::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6'/%3E%3C/svg%3E")!important}

/* One clean dropdown surface, never nested borders */
body:not(.task-login) .popover{padding:0!important;border:1px solid #dfe5ed!important;border-radius:9px!important;box-shadow:0 14px 38px #2532472b!important;overflow:hidden!important}
body:not(.task-login) .popover .popupmenu,body:not(.task-login) .popover .dropdown-menu{margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body:not(.task-login) .popover .arrow,body:not(.task-login) .popover .popover-arrow,body:not(.task-login) .popover::before,body:not(.task-login) .popover::after{display:none!important}
html.dark-mode body:not(.task-login) .popover{background:#202a36!important;border-color:#3a4655!important;box-shadow:0 16px 42px #0008!important}

/* Clean light-mode message reader */
html:not(.dark-mode) body:not(.task-login) #messagecontframe{background:#f6f8fb!important}
html.orivect-embedded:not(.orivect-dark),html.orivect-embedded:not(.orivect-dark) body,html.orivect-embedded:not(.orivect-dark) body #layout,html.orivect-embedded:not(.orivect-dark) body #layout-content{background:#f6f8fb!important;color:#1f2937!important}
html.orivect-embedded:not(.orivect-dark) body #layout-content{padding:22px 26px!important}
html.orivect-embedded:not(.orivect-dark) body #message-header,html.orivect-embedded:not(.orivect-dark) body .message-header{margin:0 0 14px!important;padding:20px 22px!important;background:#fff!important;border:1px solid #e3e8ef!important;border-radius:12px!important;box-shadow:0 4px 16px rgba(26,45,72,.06)!important}
html.orivect-embedded:not(.orivect-dark) body #message-content,html.orivect-embedded:not(.orivect-dark) body .message-part,html.orivect-embedded:not(.orivect-dark) body .message-htmlpart{margin:0!important;padding:22px!important;background:#fff!important;border:1px solid #e3e8ef!important;border-radius:12px!important;color:#263548!important;font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif!important;font-size:14px!important;line-height:1.65!important;box-shadow:0 4px 16px rgba(26,45,72,.05)!important}
html.orivect-embedded:not(.orivect-dark) body h2{color:#172235!important;font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif!important;font-weight:650!important;letter-spacing:-.015em!important}
html.orivect-embedded:not(.orivect-dark) body a{color:#0f6cbd!important}

/* Outlook-inspired mailbox proportions and inline conversation reply */
body.task-mail{--mail-folders:252px!important;--mail-list:352px!important}
body.task-mail #layout-sidebar{background:#f7f8fa!important;border-right:1px solid #e1e5ea!important}
body.task-mail #layout-list{background:#fff!important;border-right:1px solid #e1e5ea!important}
body.task-mail #layout-list .messagelist tr{height:78px!important}
body.task-mail #layout-list .messagelist td{padding:11px 14px!important;border-bottom:1px solid #eceff3!important}
body.task-mail #layout-list .messagelist tr.selected td{background:#edf5fc!important;box-shadow:inset 3px 0 #0f6cbd!important}
body.task-mail #layout-list .messagelist .from{font-weight:600!important;color:#202b3c!important}
body.task-mail #layout-list .messagelist .subject{margin-top:4px!important;color:#38516d!important}
body.action-compose.orivect-inline-reply #layout-content{background:#f3f5f8!important}
body.action-compose.orivect-inline-reply #layout-content>.header{height:58px!important;background:#fff!important;border-bottom:1px solid #e1e5ea!important}
body.action-compose.orivect-inline-reply #compose-content{display:grid!important;grid-template-rows:minmax(250px,44vh) minmax(300px,1fr)!important;gap:10px!important;height:calc(100vh - var(--mail-top) - 58px)!important;padding:10px!important;overflow:hidden!important;background:#f3f5f8!important}
body.action-compose.orivect-inline-reply #orivect-conversation-preview{min-height:0!important;overflow:hidden!important;background:#fff!important;border:1px solid #dde3ea!important;border-radius:8px!important;box-shadow:0 2px 8px rgba(20,42,70,.06)!important}
body.action-compose.orivect-inline-reply #orivect-conversation-preview iframe{display:block!important;width:100%!important;height:100%!important;border:0!important;background:#fff!important}
body.action-compose.orivect-inline-reply #compose-content>form{position:relative!important;min-height:0!important;margin:0!important;padding:12px 14px 58px!important;overflow:auto!important;background:#fff!important;border:1px solid #dde3ea!important;border-radius:8px!important;box-shadow:0 2px 8px rgba(20,42,70,.06)!important}
body.action-compose.orivect-inline-reply #compose-headers{border-bottom:1px solid #e6eaf0!important}
body.action-compose.orivect-inline-reply #composebodycontainer{height:calc(100% - 132px)!important;min-height:150px!important;margin-top:8px!important;border:0!important}
body.action-compose.orivect-inline-reply button.send,body.action-compose.orivect-inline-reply .btn.send{position:absolute!important;left:14px!important;right:auto!important;bottom:12px!important;z-index:5!important;border-radius:5px!important;box-shadow:none!important}
html.dark-mode body.task-mail #layout-sidebar{background:#17202a!important;border-color:#303b48!important}
html.dark-mode body.task-mail #layout-list{background:#19232e!important;border-color:#303b48!important}
html.dark-mode body.action-compose.orivect-inline-reply #layout-content,html.dark-mode body.action-compose.orivect-inline-reply #compose-content{background:#101820!important}
html.dark-mode body.action-compose.orivect-inline-reply #orivect-conversation-preview,html.dark-mode body.action-compose.orivect-inline-reply #compose-content>form{background:#18222d!important;border-color:#344151!important}
@media(max-width:1200px){body.task-mail{--mail-folders:220px!important;--mail-list:320px!important}}

/* Compact Outlook-style reply editor */
body.action-compose.orivect-inline-reply #compose-content{grid-template-rows:minmax(280px,58%) minmax(260px,42%)!important;gap:8px!important}
body.action-compose.orivect-inline-reply #compose-content>form{padding:8px 12px 54px!important}
body.action-compose.orivect-inline-reply #compose_from,body.action-compose.orivect-inline-reply #compose_subject{display:none!important}
body.action-compose.orivect-inline-reply #compose_to{position:relative!important;min-height:43px!important;margin:0!important;padding:4px 108px 5px 0!important;border-bottom:1px solid #e3e7ec!important}
body.action-compose.orivect-inline-reply #compose_to label{width:42px!important;padding:8px 0!important;color:#56657a!important;font-size:13px!important}
body.action-compose.orivect-inline-reply #compose_to .col-10{padding-right:0!important}
body.action-compose.orivect-inline-reply #compose_to .col-10>a.input-group-text{top:6px!important;background:transparent!important;border:0!important;color:#52647a!important;min-width:auto!important;padding:0 5px!important}
body.action-compose.orivect-inline-reply #compose_to .col-10>a.add.recipient{display:none!important}
body.action-compose.orivect-inline-reply #compose_to .col-10>a.add:not(.recipient){right:-102px!important}
body.action-compose.orivect-inline-reply #compose_to .col-10>a.add:not(.recipient)::before{content:"Cc  Bcc"!important;font-weight:500!important}
body.action-compose.orivect-inline-reply #composebodycontainer{height:calc(100% - 52px)!important;min-height:145px!important;margin:0!important;padding:8px 0 0!important;border:0!important}
body.action-compose.orivect-inline-reply #composebody{padding:12px!important;background:transparent!important;border:0!important;font:14px/1.55 "Segoe UI Variable","Segoe UI",Arial,sans-serif!important}
body.action-compose.orivect-inline-reply #composebody:focus{outline:0!important;box-shadow:none!important}
body.action-compose.orivect-inline-reply .formbuttons{position:absolute!important;left:12px!important;right:12px!important;bottom:9px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
body.action-compose.orivect-inline-reply button.send,body.action-compose.orivect-inline-reply .btn.send{position:static!important;height:36px!important;min-width:90px!important;margin:0!important;padding:0 15px!important}
html.dark-mode body.action-compose.orivect-inline-reply #compose_to{border-color:#344151!important}
html.dark-mode body.action-compose.orivect-inline-reply #compose_to label{color:#aebdce!important}

/* Outlook-style reply actions */
body.action-compose.orivect-inline-reply .orivect-native-send{display:none!important}
body.action-compose.orivect-inline-reply .orivect-reply-footer{position:absolute!important;left:12px!important;bottom:10px!important;z-index:20!important;display:flex!important;align-items:center!important;gap:12px!important}
body.action-compose.orivect-inline-reply .orivect-send-split{position:relative!important;display:flex!important;align-items:stretch!important;height:38px!important;border-radius:5px!important;box-shadow:0 1px 2px rgba(0,0,0,.08)!important}
body.action-compose.orivect-inline-reply .orivect-send-main,body.action-compose.orivect-inline-reply .orivect-send-menu-toggle{margin:0!important;border:0!important;background:#0f6cbd!important;color:#fff!important;font:600 14px/1 "Segoe UI Variable","Segoe UI",Arial,sans-serif!important}
body.action-compose.orivect-inline-reply .orivect-send-main{display:flex!important;align-items:center!important;gap:8px!important;min-width:92px!important;padding:0 15px!important;border-radius:5px 0 0 5px!important}
body.action-compose.orivect-inline-reply .orivect-send-main span{font-size:15px!important;transform:rotate(-18deg)!important}
body.action-compose.orivect-inline-reply .orivect-send-menu-toggle{width:34px!important;border-left:1px solid rgba(255,255,255,.35)!important;border-radius:0 5px 5px 0!important;font-size:17px!important}
body.action-compose.orivect-inline-reply .orivect-send-main:hover,body.action-compose.orivect-inline-reply .orivect-send-menu-toggle:hover{background:#0b5ca5!important}
body.action-compose.orivect-inline-reply .orivect-send-menu{position:absolute!important;left:0!important;bottom:46px!important;min-width:176px!important;padding:6px!important;background:#fff!important;border:1px solid #dfe4ea!important;border-radius:7px!important;box-shadow:0 10px 30px rgba(20,38,60,.18)!important}
body.action-compose.orivect-inline-reply .orivect-send-menu[hidden]{display:none!important}
body.action-compose.orivect-inline-reply .orivect-send-menu button{display:block!important;width:100%!important;height:38px!important;padding:0 11px!important;border:0!important;border-radius:5px!important;background:transparent!important;color:#28384c!important;text-align:left!important;font:500 13px/1 "Segoe UI Variable","Segoe UI",Arial,sans-serif!important}
body.action-compose.orivect-inline-reply .orivect-send-menu button:hover{background:#edf4fa!important;color:#0f6cbd!important}
body.action-compose.orivect-inline-reply .orivect-discard{display:flex!important;align-items:center!important;gap:7px!important;height:38px!important;padding:0 14px!important;background:#fff!important;border:1px solid #cfd6df!important;border-radius:5px!important;color:#263548!important;font:500 14px/1 "Segoe UI Variable","Segoe UI",Arial,sans-serif!important}
body.action-compose.orivect-inline-reply .orivect-discard:hover{background:#f2f5f8!important;border-color:#b8c2ce!important}
body.action-compose.orivect-inline-reply .orivect-discard span{font-size:17px!important;color:#52657a!important}
body.action-compose.orivect-inline-reply #compose_to .col-10>a.add:not(.recipient)::before{display:none!important}
body.action-compose.orivect-inline-reply #compose_to .col-10>a.add:not(.recipient){display:flex!important;align-items:center!important;gap:13px!important;right:-102px!important;min-width:78px!important;padding:0 4px!important;color:#40536b!important}
body.action-compose.orivect-inline-reply #compose_to .orivect-cc,body.action-compose.orivect-inline-reply #compose_to .orivect-bcc{font:500 12px/1 "Segoe UI Variable","Segoe UI",Arial,sans-serif!important}
html.dark-mode body.action-compose.orivect-inline-reply .orivect-send-menu{background:#202a36!important;border-color:#3a4655!important;box-shadow:0 14px 36px rgba(0,0,0,.5)!important}
html.dark-mode body.action-compose.orivect-inline-reply .orivect-send-menu button{color:#dce5ef!important}
html.dark-mode body.action-compose.orivect-inline-reply .orivect-send-menu button:hover{background:#2b3a49!important;color:#fff!important}
html.dark-mode body.action-compose.orivect-inline-reply .orivect-discard{background:#202a36!important;border-color:#3a4655!important;color:#e5ecf4!important}
html.dark-mode body.action-compose.orivect-inline-reply .orivect-discard:hover{background:#2b3a49!important}
html.dark-mode body.action-compose.orivect-inline-reply #compose_to .col-10>a.add:not(.recipient){color:#b9c8d8!important}
body.action-compose.orivect-inline-reply #compose_to .col-10>a.add.recipient{display:none!important}
body.action-compose.orivect-inline-reply #compose_to .col-10>a.add:not(.recipient){font-size:0!important;text-indent:0!important}
body.action-compose.orivect-inline-reply #compose_to .col-10>a.add:not(.recipient) .inner{display:none!important}
body.action-compose.orivect-inline-reply #compose_to .orivect-cc,body.action-compose.orivect-inline-reply #compose_to .orivect-bcc{display:inline-block!important;font-size:12px!important;text-indent:0!important}
body.action-compose.orivect-inline-reply #compose-content>form{overflow:visible!important}
body.action-compose.orivect-inline-reply #compose_to .col-10>a.add:not(.recipient){display:none!important}
body.action-compose.orivect-inline-reply .orivect-copy-links{position:absolute!important;right:10px!important;top:7px!important;z-index:8!important;display:flex!important;align-items:center!important;gap:12px!important}
body.action-compose.orivect-inline-reply .orivect-copy-links button{height:28px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#46566a!important;font:500 12px/1 "Segoe UI Variable","Segoe UI",Arial,sans-serif!important}
body.action-compose.orivect-inline-reply .orivect-copy-links button:hover{color:#0f6cbd!important;text-decoration:underline!important}
html.dark-mode body.action-compose.orivect-inline-reply .orivect-copy-links button{color:#b9c8d8!important}
html.dark-mode body.action-compose.orivect-inline-reply .orivect-copy-links button:hover{color:#fff!important}
body.action-compose.orivect-inline-reply #compose_to a[href="#add-contact"],body.action-compose.orivect-inline-reply #compose_to a[href="#add-header"]{display:none!important}
body.action-compose.orivect-inline-reply #compose-content{grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:none!important}
body.action-compose.orivect-inline-reply #orivect-conversation-preview,body.action-compose.orivect-inline-reply #compose-content>form{grid-column:1!important;width:100%!important;max-width:none!important;box-sizing:border-box!important}
body.action-compose.orivect-inline-reply #compose_cc,body.action-compose.orivect-inline-reply #compose_bcc{display:grid!important}
body.action-compose.orivect-inline-reply #compose_cc.hidden,body.action-compose.orivect-inline-reply #compose_bcc.hidden{display:none!important}
html.orivect-embedded:not(.orivect-dark) body main,html.orivect-embedded:not(.orivect-dark) body #message-header,html.orivect-embedded:not(.orivect-dark) body .message-header,html.orivect-embedded:not(.orivect-dark) body #message-content,html.orivect-embedded:not(.orivect-dark) body .message-part,html.orivect-embedded:not(.orivect-dark) body .message-htmlpart{width:100%!important;max-width:none!important;box-sizing:border-box!important}
body.action-compose.orivect-inline-reply #rcmbtn112,body.action-compose.orivect-inline-reply .extwin[title="Open in new window"]{display:none!important}
body.action-compose.orivect-inline-reply .orivect-original-message{height:100%!important;padding:24px!important;background:#fff!important;color:#263548!important;box-sizing:border-box!important;font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif!important}
body.action-compose.orivect-inline-reply .orivect-original-message header{display:flex!important;align-items:center!important;gap:14px!important;padding-bottom:18px!important;border-bottom:1px solid #e5e9ef!important}
body.action-compose.orivect-inline-reply .orivect-original-avatar{display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;flex:0 0 44px!important;border-radius:50%!important;background:#dceeff!important;color:#0f6cbd!important;font-size:17px!important;font-weight:700!important}
body.action-compose.orivect-inline-reply .orivect-original-message h2{margin:0 0 5px!important;color:#172235!important;font-size:20px!important;font-weight:650!important;letter-spacing:-.01em!important}
body.action-compose.orivect-inline-reply .orivect-original-message p{margin:0!important;color:#637287!important;font-size:13px!important}
body.action-compose.orivect-inline-reply .orivect-original-body{padding:22px 2px!important;color:#263548!important;font-size:14px!important;line-height:1.65!important;white-space:pre-wrap!important}
html.dark-mode body.action-compose.orivect-inline-reply .orivect-original-message{background:#18222d!important;color:#e5ecf4!important}
html.dark-mode body.action-compose.orivect-inline-reply .orivect-original-message header{border-color:#344151!important}
html.dark-mode body.action-compose.orivect-inline-reply .orivect-original-message h2{color:#f2f6fa!important}
html.dark-mode body.action-compose.orivect-inline-reply .orivect-original-message p{color:#aebdce!important}
html.dark-mode body.action-compose.orivect-inline-reply .orivect-original-body{color:#dce5ef!important}
