/* HOSEY MAIL / Edition 2026.11 — a bespoke visual system for the Hosey-owned Roundcube skin.
   Original Elastic code and CC BY-SA credit are retained in this skin's README. */
:root{
  --hm-ink:#16343b;--hm-forest:#153b41;--hm-deep:#0e2b33;--hm-mint:#62c6ad;
  --hm-green:#167e70;--hm-gold:#e6b780;--hm-paper:#f5f7f3;--hm-soft:#e8f3ed;
  --hm-border:#dbe7df;--hm-muted:#70827b;--hm-shadow:0 14px 34px rgba(15,55,43,.09);
  --hm-font:"Segoe UI Variable","Aptos","Segoe UI",system-ui,-apple-system,Arial,sans-serif;
}
html,body{font-family:var(--hm-font);-webkit-font-smoothing:antialiased}
body{color:var(--hm-ink)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d7ab72;outline-offset:2px}
::selection{background:#c9eddf;color:#123d37}
input.form-control,select.form-control,textarea.form-control{border-radius:9px;border:1px solid #d0dfd5}
input.form-control:focus,select.form-control:focus,textarea.form-control:focus{border-color:#269585;box-shadow:0 0 0 3px rgba(38,149,133,.13)}
button.btn-primary,.btn.btn-primary,.button.mainaction{background:#156e63!important;border-color:#156e63!important;color:#fff!important;border-radius:9px!important;box-shadow:none!important}
button.btn-primary:hover,.btn.btn-primary:hover,.button.mainaction:hover{background:#10564f!important;border-color:#10564f!important}
.button:focus-visible,.btn:focus-visible{outline:3px solid #d9a56e!important;outline-offset:2px}

/* Full-screen, custom editorial login — responsive, no legacy form chrome. */
body.task-login{overflow:auto!important;background:var(--hm-paper)!important;min-height:100dvh}
.task-login #layout{display:block!important;height:auto!important;min-height:100dvh!important;overflow:visible!important}
.task-login #layout-content{display:block!important;position:relative!important;flex:none!important;width:100%!important;max-width:none!important;height:auto!important;min-height:100dvh!important;margin:0!important;padding:0!important;background:#f7f9f5!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.task-login #layout-content:before,.task-login #layout-content:after{display:none!important;content:none!important}
.task-login #layout-content>.hosey-login-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.94fr);width:100%;min-height:100dvh;background:#f7f9f5}
.hosey-login-story{position:relative;min-height:100dvh;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;padding:37px clamp(34px,5vw,85px) 29px;background:radial-gradient(circle at 78% 54%,#265d56 0,transparent 47%),linear-gradient(137deg,#10353d 0%,#102b33 70%,#0c2730 100%);color:#ecfaf5;isolation:isolate}
.hosey-login-story:before{content:"";position:absolute;top:-170px;right:-170px;width:420px;height:420px;border:1px solid rgba(204,242,225,.1);border-radius:50%;z-index:-1}
.hosey-login-story:after{content:"";position:absolute;bottom:-230px;left:-100px;width:500px;height:500px;border:1px solid rgba(204,242,225,.09);border-radius:50%;z-index:-1}
.hosey-story-top{display:flex;align-items:center;justify-content:space-between;gap:24px}
.hosey-story-logo{width:min(218px,100%);height:auto;display:block}
.hosey-story-label{font-size:10px;font-weight:800;letter-spacing:.2em;color:#a1c9bb;white-space:nowrap}
.hosey-story-main{max-width:600px;margin:40px auto 10px 0;position:relative}
.hosey-overline{display:inline-flex;align-items:center;gap:10px;letter-spacing:.16em;font-size:10px;font-weight:800;text-transform:uppercase;color:#2c8879}
.hosey-story-main .hosey-overline{color:#b9e4d8}
.hosey-pulse{display:inline-block;width:7px;height:7px;border-radius:50%;background:#6fddbf;box-shadow:0 0 0 5px rgba(111,221,191,.16)}
.hosey-story-main h2{font-size:clamp(40px,4.5vw,71px);font-weight:740;letter-spacing:-.064em;line-height:1.07;margin:23px 0 22px;color:#f9fcf5}
.hosey-story-main h2 em{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-style:italic;letter-spacing:-.055em;color:#8ddbc5}
.hosey-story-main>p{max-width:430px;font-size:15px;line-height:1.8;color:#b8d5ce;margin:0}
.hosey-story-art{position:relative;margin:0 0 -28px 5%;width:min(100%,480px);max-height:325px;overflow:visible}
.hosey-story-art img{display:block;width:100%;height:auto;max-height:350px;object-fit:contain;filter:drop-shadow(0 30px 35px rgba(5,23,27,.15))}
.hosey-story-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid rgba(214,243,229,.17);padding-top:21px;font-size:11px;color:#a3c3b9}
.hosey-story-bottom span:first-child{font-weight:800;letter-spacing:.04em;color:#e5f8f0}
.hosey-login-stage{min-height:100dvh;display:flex;flex-direction:column;justify-content:space-between;padding:36px clamp(29px,5.5vw,95px) 26px;position:relative;background:#f9faf7}
.hosey-login-top{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:54px}
.hosey-login-top>img{display:none}
.hosey-website-link{font-size:12px;font-weight:770;color:#3f7168;text-decoration:none;white-space:nowrap;margin-left:auto}
.hosey-website-link:hover{color:#146858;text-decoration:underline}
.hosey-login-card{width:min(440px,100%);margin:32px auto 28px;position:relative}
.hosey-login-card:before{content:"";display:block;width:45px;height:3px;background:var(--hm-gold);border-radius:3px;margin-bottom:23px}
.hosey-login-card>h2{font-size:clamp(31px,3vw,43px);font-weight:750;line-height:1.16;letter-spacing:-.052em;color:#183d40;margin:15px 0 14px}
.hosey-login-subtitle{font-size:14px;line-height:1.85;color:#667d74;max-width:400px;margin:0 0 30px}
.task-login #login-form{display:block!important;position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.task-login #login-form table{border:0!important;width:100%!important;display:table!important;border-collapse:separate;border-spacing:0 9px}
.task-login #login-form tbody{display:table-row-group}
.task-login #login-form tr{display:block!important;margin-bottom:15px}
.task-login #login-form td.title{display:block!important;width:100%!important;text-align:left!important;padding:0 0 8px!important;line-height:1.4!important}
.task-login #login-form td.input{display:block!important;width:100%!important;padding:0!important;max-width:none!important}
.task-login #login-form td.title label{font-size:12px!important;color:#28534b!important;font-weight:780!important;margin:0!important;letter-spacing:.01em}
.task-login #login-form input.form-control{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:52px!important;margin:0!important;padding:13px 15px!important;font-size:15px!important;font-weight:500!important;color:#183b3c!important;background:#fff!important;border:1px solid #cedfd3!important;border-radius:10px!important;box-shadow:none!important}
.task-login #login-form input.form-control:focus{border-color:#258775!important;box-shadow:0 0 0 4px #b9e3d62e!important;outline:none!important}
.task-login #login-form input:-webkit-autofill{-webkit-box-shadow:0 0 0 50px #fff inset!important}
.task-login #login-form p.formbuttons{margin:25px 0 0!important;padding:0!important;width:100%!important}
.task-login #rcmloginsubmit{width:100%!important;min-height:54px!important;background:#163e42!important;border:1px solid #163e42!important;color:#fff!important;border-radius:10px!important;box-shadow:0 13px 24px #183e4216!important;font-size:14px!important;font-weight:800!important;letter-spacing:.012em!important;transition:background .16s,transform .16s}
.task-login #rcmloginsubmit:hover{background:#17695f!important;border-color:#17695f!important;transform:translateY(-1px)}
.hosey-login-extras{margin:16px 0 26px;display:flex;justify-content:space-between;align-items:end;gap:16px}
.hosey-remember-label{font-size:11px;font-weight:800;color:#45665d;line-height:1.4}
.hosey-remember-select{display:block;margin-top:7px;min-width:132px;height:35px;padding:3px 8px;font-size:12px;color:#415d55;background:#fff;border:1px solid #d7e5dc;border-radius:8px}
.hosey-reset-link{font-size:12px;font-weight:750;color:#176d63;align-self:flex-end;padding-bottom:9px;white-space:nowrap}
.hosey-reset-link:hover{text-decoration:underline}
.hosey-login-secure{border-top:1px solid #dce5dd;padding-top:22px;display:flex;align-items:center;gap:9px;color:#718a80;font-size:12px;letter-spacing:.006em}
.hosey-lock{height:19px;width:19px;border-radius:50%;display:grid;place-items:center;background:#e1f2e9;color:#217e65;font-weight:800;font-size:12px}
.hosey-login-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:22px;justify-content:center;font-size:11px;color:#82978c}
.hosey-login-bottom a{color:#5c7d72;font-weight:700}
.hosey-login-bottom a:hover{color:#197f70}
.task-login #login-footer{font-size:0!important;line-height:0!important;min-height:0!important;max-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important}
.task-login #logo{display:none!important}
.task-login #messagestack{position:fixed!important;z-index:10000}

/* Inner application: clear, deliberate hierarchy with its own brand rail */
body:not(.task-login) #layout{background:var(--hm-paper)!important;color:var(--hm-ink)}
body:not(.task-login) #layout-menu{background:linear-gradient(177deg,#123640,#0d2831 94%)!important;color:#e9f7f1!important;border-right:1px solid #2a5252!important;box-shadow:3px 0 14px rgba(8,33,30,.06)!important}
body:not(.task-login) #layout-menu .popover-header{background:transparent!important;min-height:70px!important;height:70px!important;border-bottom:1px solid rgba(203,235,218,.14)!important}
.hosey-menu-brand{display:flex;align-items:center;justify-content:center;height:100%;width:100%;padding:5px}
.hosey-menu-brand img{display:block;max-width:100%;height:auto}
.hosey-menu-brand .hosey-brand-full{display:none}
.hosey-menu-brand .hosey-brand-mark{width:44px;height:44px}
body:not(.task-login) #taskmenu{color:#e4f6f0!important}
body:not(.task-login) #taskmenu a{color:#cfdfdc!important;border:0!important;border-radius:9px!important;transition:background .14s,color .14s;position:relative}
body:not(.task-login) #taskmenu a:hover{background:rgba(187,236,214,.11)!important;color:#fff!important}
body:not(.task-login) #taskmenu a.selected,body:not(.task-login) #taskmenu a.active{background:#2a6b64!important;color:#fff!important;border:0!important;box-shadow:inset 3px 0 #e6b580!important}
body:not(.task-login) #taskmenu a.selected:before,body:not(.task-login) #taskmenu a.active:before{color:#b4eddc!important}
body:not(.task-login) #taskmenu .action-buttons a.compose{background:#e2b17d!important;color:#143940!important;font-weight:800!important;border-radius:10px!important}
body:not(.task-login) #taskmenu .action-buttons a.compose:hover{background:#f3ce9e!important;color:#103738!important}
body:not(.task-login) #taskmenu .special-buttons{background:#102e36!important;border-top:1px solid rgba(201,239,220,.13)}
body:not(.task-login) #taskmenu .special-buttons a{color:#d4e6de!important}
body:not(.task-login) #taskmenu a.logout{color:#f0c8bc!important}

/* The three workspace panels are not rendered as legacy flat tables. */
body:not(.task-login) #layout-sidebar{background:#f1f6f2!important;border-color:var(--hm-border)!important;color:var(--hm-ink)!important}
body:not(.task-login) #layout-list{background:#fff!important;border-color:var(--hm-border)!important;color:var(--hm-ink)!important}
body:not(.task-login) #layout-content{background:#fff!important;color:var(--hm-ink)!important;border-color:var(--hm-border)!important}
body:not(.task-login) #layout>div>.header{min-height:58px!important;height:58px!important;line-height:58px!important;padding:0 12px!important;background:#fff!important;color:#204a48!important;border-bottom:1px solid #dce6df!important}
body:not(.task-login) #layout>div>.footer{background:#fcfdfa!important;border-top:1px solid #e3ebe5!important;color:#718a7b!important}
body:not(.task-login) #layout .header-title{font-weight:770!important;letter-spacing:-.025em}
#folderlist-content{background:#f1f6f2}
#mailboxlist{padding:9px 8px 16px}
#mailboxlist li{border:none!important;border-radius:10px!important;margin:3px 2px!important;overflow:hidden}
#mailboxlist li>a{border-radius:9px!important;min-height:42px!important;padding:8px 10px!important;color:#38655d!important;font-weight:610}
#mailboxlist li>a:hover{background:#deede4!important;color:#145c50!important}
#mailboxlist li.selected>a,#mailboxlist li.selected>a:hover{background:#d8ebe1!important;color:#126557!important;font-weight:820!important;box-shadow:inset 3px 0 #298575}
#mailboxlist li .unreadcount,#mailboxlist li .count{font-size:11px!important;background:#cbe8db!important;color:#135c51!important;min-width:21px;text-align:center;border-radius:6px!important;font-weight:850!important}
.task-mail #mailboxlist li:has(a.selected){background:#d8ebe1}
#messagelist-header{background:#fcfdfb!important}
#mailsearchform,#searchform{border-bottom:1px solid #e2eae3!important;background:#fff!important;padding-top:4px;padding-bottom:4px}
#mailsearchform input,#searchform input{min-height:37px;border-radius:9px!important;background:#f2f6f2!important;border:1px solid #e0e9e0!important;padding-left:12px!important}
#messagelist{background:#fff}
#messagelist tr td{border-bottom:1px solid #edf2ed!important;padding-top:10px!important;padding-bottom:10px!important;transition:background .14s}
#messagelist tr:hover td{background:#f1f8f3!important}
#messagelist tr.selected td,#messagelist tr.selected:hover td{background:#def1e7!important}
#messagelist tr.selected td:first-child{box-shadow:inset 3px 0 #3c9a84!important}
#messagelist tr.unread td{font-weight:745;color:#153b3a}
#messagelist .subject{font-weight:680}
#messagelist tr.unread .subject{font-weight:830}
#messagelist .date,#messagelist .fromto{color:#6c847b}
#message-header{background:#fff;border-bottom:1px solid #e8efe9}
#message-header .subject,#message-header .header-subject{font-size:1.2rem;letter-spacing:-.025em}
#messagebody,#message-content{background:#fff}
#messagetoolbar,#addressbooktoolbar{background:#fff}
#layout-content .iframe-wrapper{background:#fff}
#layout-content .iframe-wrapper iframe{background:#fff}
#layout .scroller{scrollbar-color:#b8d1c3 transparent;scrollbar-width:thin}
#layout a.button:not(.disabled),#layout button:not(.disabled){transition:background .15s,color .15s}
#layout .toolbar a.button:hover:not(.disabled),#layout .header a.button:hover:not(.disabled){background:#e5f3eb!important;color:#176b5f!important;border-radius:9px}
#layout .toolbar .button:focus-visible{outline:2px solid #e1b37f!important}
#quotadisplay{color:#65867b}
#compose-attachments,#compose-options,.propform,#preferences-frame{border-color:#e0eae2}
#compose-attachments .btn-secondary{border-radius:9px}
#compose-form .input-group,#compose-form .form-group{border-color:#dfe9e0}
#compose-form input,#compose-form textarea{border-radius:7px}
#compose-form .recipient-input{background:#fff}
#identity-details,#identities-list,#sections-table,#contacts-table{background:#fff}
.task-settings #layout-sidebar,.task-addressbook #layout-sidebar{background:#f3f7f3!important}
.task-settings #layout-list .listing li:hover,.task-addressbook #contacts-table .listing li:hover{background:#eff7f0}
.popupmenu,.dropdown-menu,.popover,.ui-dialog{border:1px solid #d6e4d9!important;border-radius:12px!important;box-shadow:0 18px 45px rgba(13,48,38,.17)!important}
.ui-dialog .ui-dialog-titlebar{background:#f7faf7;border-radius:12px 12px 0 0;color:#1d4843}
.ui-dialog .ui-dialog-content{background:#fff}
.btn,.form-control,.custom-select{font-family:var(--hm-font)}
#messagestack .notification,#messagestack .alert{border-radius:11px!important}

/* Expansive 210px Hosey side navigation on wide desktops.
   Keep Roundcube native compact modes at tablet/phone widths for reliability. */
@media(min-width:1200px){
  body:not(.task-login) #layout-menu{width:206px!important;min-width:206px!important;max-width:206px!important;flex:0 0 206px!important}
  body:not(.task-login) #layout-menu .popover-header{height:92px!important;min-height:92px!important}
  .hosey-menu-brand{justify-content:flex-start;padding:15px 18px}
  .hosey-menu-brand .hosey-brand-full{display:block;width:168px;height:auto}
  .hosey-menu-brand .hosey-brand-mark{display:none}
  body:not(.task-login) #taskmenu{width:206px!important;max-width:206px!important;padding:13px 0 115px!important}
  body:not(.task-login) #taskmenu a{display:flex!important;align-items:center!important;gap:9px!important;justify-content:flex-start!important;text-align:left!important;width:calc(100% - 18px)!important;min-width:0!important;min-height:43px!important;height:auto!important;margin:3px 9px!important;padding:9px 12px!important;line-height:1.2!important;font-size:13px!important}
  body:not(.task-login) #taskmenu a:before{float:none!important;width:22px!important;line-height:1.1!important;font-size:17px!important;flex:0 0 22px!important}
  body:not(.task-login) #taskmenu a .inner{font-size:13px!important;font-weight:700!important;white-space:normal!important;text-align:left!important}
  body:not(.task-login) #taskmenu .action-buttons{margin:4px 0 23px!important}
  body:not(.task-login) #taskmenu .action-buttons a.compose{margin:0 10px!important;width:calc(100% - 20px)!important;min-height:46px!important;justify-content:center!important}
  body:not(.task-login) #taskmenu .special-buttons{position:absolute!important;bottom:0!important;left:0!important;width:100%!important;padding:5px 0 10px!important}
  body:not(.task-login) #taskmenu .special-buttons a{min-height:37px!important}
  body:not(.task-login) #layout-sidebar{min-width:230px}
  body:not(.task-login) #layout-list{min-width:260px}
}
/* Mailbox reading remains legible without horizontal cropping. */
@media(max-width:1199px) and (min-width:481px){
 .hosey-menu-brand .hosey-brand-full{display:none}
 .hosey-menu-brand .hosey-brand-mark{display:block;width:37px;height:37px}
 body:not(.task-login) #layout-menu .popover-header{height:58px!important;min-height:58px!important}
 body:not(.task-login) #taskmenu{padding-top:10px}
}
@media(max-width:1050px){
 .task-login #layout-content>.hosey-login-shell{grid-template-columns:minmax(0,.85fr) minmax(0,1fr)}
 .hosey-story-main h2{font-size:clamp(40px,5vw,60px)}
 .hosey-story-art{margin-top:25px}
 .hosey-story-label{display:none}
 .hosey-login-stage{padding-left:34px;padding-right:34px}
}
@media(max-width:767px){
 .task-login #layout-content>.hosey-login-shell{grid-template-columns:1fr}
 .hosey-login-story{display:none!important}
 .hosey-login-stage{min-height:100dvh!important;padding:20px 25px 22px!important}
 .hosey-login-top>img{display:block;width:162px;height:auto}
 .hosey-login-top{justify-content:space-between}
 .hosey-login-card{width:min(430px,100%);margin:38px auto 30px}
 .hosey-login-card>h2{font-size:35px}
 .hosey-login-subtitle{font-size:14px}
 .hosey-login-bottom{gap:17px}
}
@media(max-width:480px){
 .task-login .hosey-login-stage{padding:16px 19px 22px!important}
 .hosey-login-top>img{width:129px}
 .hosey-website-link{font-size:11px}
 .hosey-login-card{margin:31px auto 24px}
 .hosey-login-card>h2{font-size:30px}
 .hosey-login-subtitle{margin-bottom:19px}
 .task-login #login-form input.form-control{min-height:49px!important}
 .hosey-login-extras{gap:12px}
 .hosey-remember-select{min-width:115px}
 .hosey-reset-link{font-size:11px;white-space:normal;text-align:right}
 body:not(.task-login) #layout-menu .popover-header{min-height:62px!important}
 .hosey-menu-brand .hosey-brand-full{display:block;width:155px}
 .hosey-menu-brand .hosey-brand-mark{display:none}
 #messagelist tr td{padding-top:9px!important;padding-bottom:9px!important}
}
/* Dark theme: retain readability and functionality without exposing old look. */
html.dark-mode body:not(.task-login){--hm-paper:#162d33;--hm-border:#345451;--hm-muted:#bdd0c7;color:#e5f2ed;background:#162d33}
html.dark-mode body:not(.task-login) #layout-sidebar{background:#1e373a!important;color:#e2f4ec!important}
html.dark-mode body:not(.task-login) #folderlist-content{background:#1e373a!important}
html.dark-mode body:not(.task-login) #layout-list,html.dark-mode body:not(.task-login) #layout-content{background:#20363a!important;color:#e4f1eb!important}
html.dark-mode body:not(.task-login) #layout>div>.header{background:#274347!important;color:#ebf7f0!important;border-color:#41605b!important}
html.dark-mode body:not(.task-login) #layout>div>.footer{background:#203d42!important;border-color:#345451!important}
html.dark-mode body:not(.task-login) #messagelist{background:#20363a}
html.dark-mode body:not(.task-login) #messagelist tr td{border-color:#395450!important}
html.dark-mode body:not(.task-login) #messagelist tr:hover td{background:#2a4a46!important}
html.dark-mode body:not(.task-login) #messagelist tr.selected td{background:#285c50!important}
html.dark-mode body:not(.task-login) #mailboxlist li>a{color:#d4e9df!important}
html.dark-mode body:not(.task-login) #mailboxlist li.selected>a{background:#2a5a4e!important;color:#ecfaf4!important}
html.dark-mode body:not(.task-login) #mailsearchform{background:#274347!important;border-color:#395450!important}
html.dark-mode body:not(.task-login) #messagetoolbar{background:#274347!important}
html.dark-mode body:not(.task-login) #layout-content .iframe-wrapper{background:#20363a!important}
html.dark-mode .task-login #layout-content{background:#f7f9f5!important}
html.dark-mode .task-login #login-form input.form-control{background:#fff!important;color:#173a39!important}
@media(prefers-reduced-motion:reduce){
 #taskmenu a,#messagelist tr td,.task-login #rcmloginsubmit{transition:none!important}
 .task-login #rcmloginsubmit:hover{transform:none}
}


/* HOSEY MAIL / layout correction, Nov 11 2026
   Fixed: asset-path double prefix, clipped task navigation, preview overflow. */
body.task-mail #layout,
body.task-addressbook #layout,
body.task-settings #layout {
  min-height:0!important;
  height:100dvh!important;
  overflow:hidden!important;
}
body:not(.task-login) #layout-list,
body:not(.task-login) #layout-content,
body:not(.task-login) #layout-sidebar{min-height:0!important;overflow:hidden}
body:not(.task-login) #layout-content>.iframe-wrapper,
body:not(.task-login) #layout-content .iframe-wrapper{
  display:flex!important;flex:1 1 auto!important;min-height:0!important;
  width:100%!important;overflow:hidden!important;background:#f8faf7!important
}
body:not(.task-login) #messagecontframe{
  display:block!important;flex:1 1 auto!important;
  min-width:0!important;min-height:100%!important;
  width:100%!important;height:100%!important;
  background:#f8faf7!important;border:0!important
}
html.dark-mode body:not(.task-login) #layout-content>.iframe-wrapper,
html.dark-mode body:not(.task-login) #layout-content .iframe-wrapper,
html.dark-mode body:not(.task-login) #messagecontframe{
  background:#20363a!important
}
body:not(.task-login) #layout-menu .popover-header{
  overflow:hidden!important;flex:none!important;
}
body:not(.task-login) .hosey-menu-brand{
  overflow:hidden!important;max-width:100%!important;
}
body:not(.task-login) .hosey-menu-brand .hosey-brand-full{
  object-fit:contain!important;max-width:100%!important
}
@media(min-width:900px){
  body:not(.task-login) #layout-menu{
    flex:0 0 216px!important;min-width:216px!important;
    max-width:216px!important;width:216px!important;
  }
  body:not(.task-login) #layout-menu .popover-header{
    height:82px!important;min-height:82px!important;
    padding:0!important;display:flex!important;align-items:center!important
  }
  body:not(.task-login) #layout-menu .hosey-menu-brand{
    width:100%!important;height:100%!important;
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    padding:14px 16px!important
  }
  body:not(.task-login) #layout-menu .hosey-brand-full{
    display:block!important;width:170px!important;max-width:100%!important;
    height:auto!important;max-height:50px!important
  }
  body:not(.task-login) #layout-menu .hosey-brand-mark{display:none!important}
  body:not(.task-login) #layout-menu #taskmenu{
    width:216px!important;max-width:none!important;min-width:216px!important;
    display:block!important;overflow-x:hidden!important;
    padding:12px 0 120px!important
  }
  body:not(.task-login) #layout-menu #taskmenu .action-buttons,
  body:not(.task-login) #layout-menu #taskmenu .special-buttons{
    display:block!important;width:100%!important;max-width:100%!important;
    box-sizing:border-box!important
  }
  body:not(.task-login) #layout-menu #taskmenu a{
    float:none!important;
    display:flex!important;flex-direction:row!important;
    align-items:center!important;justify-content:flex-start!important;
    gap:12px!important;min-width:0!important;max-width:none!important;
    width:calc(100% - 20px)!important;min-height:43px!important;
    height:auto!important;line-height:1.3!important;
    text-align:left!important;margin:3px 10px!important;
    padding:10px 12px!important;border-radius:9px!important;
    font-size:13px!important;
  }
  body:not(.task-login) #layout-menu #taskmenu a:before{
    display:block!important;float:none!important;position:static!important;
    flex:0 0 22px!important;width:22px!important;min-width:22px!important;
    margin:0!important;padding:0!important;
    font-size:18px!important;text-align:center!important;
    line-height:1.2!important
  }
  body:not(.task-login) #layout-menu #taskmenu a .inner,
  body:not(.task-login) #layout-menu #taskmenu a span.inner{
    display:block!important;position:static!important;
    min-width:0!important;flex:1 1 auto!important;
    width:auto!important;max-width:none!important;
    overflow:visible!important;text-overflow:clip!important;
    white-space:nowrap!important;word-break:normal!important;
    margin:0!important;padding:0!important;
    font-size:13px!important;line-height:1.25!important;
    text-align:left!important
  }
  body:not(.task-login) #layout-menu #taskmenu .action-buttons{margin:0 0 22px!important}
  body:not(.task-login) #layout-menu #taskmenu .action-buttons a.compose{
    width:calc(100% - 20px)!important;margin:0 10px!important;
    min-height:49px!important;justify-content:center!important;
    padding:11px!important;
  }
  body:not(.task-login) #layout-menu #taskmenu .action-buttons a.compose .inner{
    flex:0 1 auto!important
  }
  body:not(.task-login) #layout-menu #taskmenu .special-buttons{
    position:absolute!important;left:0!important;bottom:0!important;
    padding:8px 0 10px!important;background:#0d2e36!important
  }
  body:not(.task-login) #layout-menu #taskmenu .special-buttons a{min-height:37px!important}
  body:not(.task-login) #layout-menu #taskmenu .special-buttons a:before{
    font-size:17px!important
  }
  body:not(.task-login) #layout-sidebar{min-width:230px!important}
  body:not(.task-login) #layout-list{min-width:290px!important}
}
@media(min-width:900px) and (max-width:1199px){
  body:not(.task-login) #layout-list{max-width:33%!important}
  body:not(.task-login) #layout-menu #taskmenu{font-size:13px!important}
}
@media(min-width:768px) and (max-width:899px){
  /* Compact navigation uses icons only; avoid half-visible clipped words. */
  body:not(.task-login) #layout-menu{flex:0 0 74px!important;width:74px!important;min-width:74px!important;max-width:74px!important}
  body:not(.task-login) #layout-menu #taskmenu a .inner{display:none!important}
  body:not(.task-login) #layout-menu .hosey-brand-full{display:none!important}
  body:not(.task-login) #layout-menu .hosey-brand-mark{display:block!important;width:37px!important;height:37px!important}
  body:not(.task-login) #layout-menu #taskmenu{width:74px!important;max-width:74px!important}
  body:not(.task-login) #layout-menu #taskmenu a{width:62px!important;margin:3px 6px!important;text-align:center!important}
}
@media(max-width:767px){
  body:not(.task-login) #layout-menu{max-width:100vw!important}
  body:not(.task-login) #layout-menu #taskmenu a .inner{white-space:normal!important;overflow:visible!important}
  body:not(.task-login) #layout-content .iframe-wrapper{min-height:0!important}
}
