/* Approved SmartBiz workspace: native controls, compact responsive shell. */
html[data-sbx-app],body.sbx-frame{--sb-bg:#fff;--sb-panel:#f8f8f6;--sb-ink:#202321;--sb-muted:#727973;--sb-line:#e5e7e2;--sb-accent:#ffcc00;--sb-selected:#fff8d9}
html[data-sbx-app][data-smartbiz-theme=dark],html[data-smartbiz-theme=dark] body.sbx-frame{--sb-bg:#141715;--sb-panel:#1c211d;--sb-ink:#f4f5f1;--sb-muted:#a5afa6;--sb-line:#333b34;--sb-selected:#373119}
html[data-sbx-app] body.sbx-app{margin:0!important;background:var(--sb-bg)!important;color:var(--sb-ink)!important;font:14px/1.45 Arial,sans-serif!important;height:100dvh!important;overflow:hidden!important;padding:64px 0 0!important;box-sizing:border-box}
.sbx-app *{box-sizing:border-box}.sbx-app svg{width:20px;height:20px;flex:none}.sbx-app button,.sbx-app select{font:inherit}.sbx-app button{cursor:pointer}.sbx-app :focus-visible{outline:3px solid #b78a00!important;outline-offset:3px}.sbx-app a{color:inherit}.sbx-app button:disabled{cursor:default;opacity:.45}
html[data-sbx-app] .sbx-header{position:fixed;inset:0 0 auto;height:64px;background:var(--sb-bg);border-bottom:1px solid var(--sb-line);display:flex;align-items:center;gap:24px;padding:0 24px;z-index:1000}.sbx-brand{display:block;width:172px;height:42px;background:url('/images/smartbiz-primary-transparent.png') left center/145px auto no-repeat;flex:none}.sbx-search{height:40px;width:min(560px,50vw);display:flex;align-items:center;gap:12px;background:var(--sb-panel);border:1px solid var(--sb-line);border-radius:9px;padding:0 12px}.sbx-search input{background:transparent!important;border:0!important;box-shadow:none!important;color:var(--sb-ink)!important;width:100%;font-size:14px;min-width:0}.sbx-header-controls{margin-left:auto;display:flex;align-items:center;gap:12px}.sbx-language,.sbx-icon-button{border:0;background:transparent;color:var(--sb-ink);min-width:40px;height:40px;border-radius:8px}.sbx-account{position:relative}.sbx-account summary{list-style:none;cursor:pointer}.sbx-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--sb-accent);color:#151515;font-weight:700}.sbx-account-panel{position:absolute;right:0;top:46px;padding:16px;min-width:240px;display:grid;gap:14px;background:var(--sb-bg);border:1px solid var(--sb-line);border-radius:10px;box-shadow:0 10px 35px #0002}.sbx-account-panel button{background:var(--sb-panel);border:0;padding:10px;text-align:left;color:var(--sb-ink)}
html[data-sbx-app] body.sbx-app #layout{display:flex!important;position:relative!important;inset:auto!important;width:100%!important;height:calc(100dvh - 64px)!important;max-width:none!important;margin:0!important;padding:0!important;gap:0!important;background:var(--sb-bg)!important}
html[data-sbx-app] body.sbx-app #layout-menu{display:none!important}html[data-sbx-app] body.sbx-app #layout-sidebar{display:none!important}
html[data-sbx-app] .sbx-nav{width:220px;flex:0 0 220px;background:var(--sb-panel);border-right:1px solid var(--sb-line);padding:20px 14px;display:flex;flex-direction:column;gap:18px;overflow:auto}.sbx-compose{height:46px;border:0;border-radius:9px;background:var(--sb-accent);color:#171717;display:flex;align-items:center;justify-content:center;gap:12px;font-weight:700!important;width:100%;flex:none}.sbx-tasks{display:grid;gap:4px}.sbx-task{min-height:42px;display:flex;align-items:center;gap:12px;padding:10px 12px;text-decoration:none;border-radius:7px}.sbx-task.active{background:var(--sb-selected);font-weight:700}.sbx-nav-label{margin:0;padding:0 12px;color:var(--sb-muted);font-size:11px;text-transform:uppercase;letter-spacing:1px}.sbx-nav #folderlist-content{flex:1;overflow:auto;min-height:100px;background:transparent!important}.sbx-nav #mailboxlist{font-size:13px!important}.sbx-nav #mailboxlist li a{padding:10px 12px!important;height:auto!important;border-radius:7px!important;color:var(--sb-ink)!important;border:0!important;background:transparent!important}.sbx-nav #mailboxlist li.selected>a{background:var(--sb-selected)!important;color:var(--sb-ink)!important}.sbx-quota{margin-top:auto;padding:12px;font-size:12px!important;color:var(--sb-muted)!important}.sbx-mobile-nav,.sbx-mobile-menu,.sbx-nav-shade,.sbx-compose-fab,.sbx-reader-back{display:none}
html[data-sbx-app] body.sbx-app #layout-list{position:relative!important;inset:auto!important;flex:0 0 340px!important;width:340px!important;min-width:260px!important;max-width:none!important;display:flex!important;flex-direction:column!important;border-right:1px solid var(--sb-line)!important;background:var(--sb-bg)!important;padding:0!important;margin:0!important;height:100%!important;overflow:hidden!important}
html[data-sbx-app] body.sbx-app #layout-content{position:relative!important;inset:auto!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;display:flex!important;flex-direction:column!important;background:var(--sb-bg)!important;border:0!important;margin:0!important;padding:0!important;height:100%!important;overflow:auto!important}
html[data-sbx-app] body.sbx-app #layout-list>.header{height:65px!important;min-height:65px!important;padding:20px!important;background:transparent!important;border:0!important;color:var(--sb-ink)!important;display:flex!important;font-size:21px!important;font-weight:700!important;justify-content:space-between}.sbx-app .task-menu-button,.sbx-app .back-sidebar-button,.sbx-app .toolbar-menu-button,.sbx-app .column-resizer{display:none!important}.sbx-app #toolbar-list-menu,.sbx-app #messagelist-header>.refresh,.sbx-app #mailsearchform{display:none!important}.sbx-list-tools{display:flex;gap:6px;padding:0 20px 14px;border-bottom:1px solid var(--sb-line);align-items:center}.sbx-list-tools button{border:0;border-radius:6px;padding:7px 12px;background:transparent;color:var(--sb-muted);font-size:12px}.sbx-list-tools button.active{background:var(--sb-selected);color:var(--sb-ink);font-weight:bold}.sbx-list-tools .sbx-refresh{margin-left:auto;padding:5px}.sbx-app #messagelist-content,.sbx-app #contacts-table{background:var(--sb-bg)!important}.sbx-app #messagelist{table-layout:fixed;width:100%!important;background:var(--sb-bg)!important}.sbx-app #messagelist thead{display:none!important}.sbx-app #messagelist tr{height:82px!important;border-bottom:1px solid var(--sb-line)!important;background:var(--sb-bg)!important;color:var(--sb-ink)!important}.sbx-app #messagelist tr.selected{background:var(--sb-selected)!important;box-shadow:inset 3px 0 var(--sb-accent)!important}.sbx-app #messagelist td{background:transparent!important;border:0!important;color:inherit!important;font-size:13px!important;padding-top:12px!important;padding-bottom:12px!important}.sbx-app #messagelist td.subject{padding-left:18px!important}.sbx-app #messagelist .subject .fromto{font-size:13px!important;color:var(--sb-ink)!important}.sbx-app #messagelist .subject .subject{font-size:13px!important}.sbx-app #messagelist .date{font-size:11px!important;color:var(--sb-muted)!important}.sbx-app #messagelist .smartbiz-mail-snippet{font-size:12px!important;color:var(--sb-muted)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sbx-app .footer{background:var(--sb-bg)!important;border-color:var(--sb-line)!important;color:var(--sb-muted)!important}
html[data-sbx-app] body.sbx-app #layout-content>.header{background:var(--sb-bg)!important;border-bottom:1px solid var(--sb-line)!important;height:65px!important;min-height:65px!important;padding:12px 24px!important}.sbx-app #toolbar-menu{background:transparent!important;display:flex!important;align-items:center;gap:4px;padding:0!important;margin:0!important}.sbx-app #toolbar-menu li{margin:0!important}.sbx-app #toolbar-menu a{background:transparent!important;color:var(--sb-ink)!important;border:0!important;box-shadow:none!important;min-height:36px!important;padding:8px 10px!important;border-radius:6px!important;font-size:12px!important}.sbx-app #toolbar-menu a:hover{background:var(--sb-panel)!important}.sbx-app #toolbar-menu a:before{font-size:16px!important;margin-right:6px!important}.sbx-app #toolbar-menu .inner{display:inline!important}.sbx-app #messagecontframe,.sbx-app #preferences-frame,.sbx-app #contact-frame{flex:1!important;width:100%!important;min-height:0!important;border:0!important;background:var(--sb-bg)!important}.sbx-app .iframe-wrapper{flex:1;min-height:0}
html[data-sbx-app] body.sbx-app[data-sbx-task=settings] #layout-sidebar{display:flex!important;flex:0 0 240px!important;width:240px!important;flex-direction:column!important;background:var(--sb-bg)!important;border-right:1px solid var(--sb-line)!important;overflow:auto!important}html[data-sbx-app] body.sbx-app[data-sbx-task=settings] #layout-sidebar #layout-list{flex:none!important;width:100%!important;height:auto!important;border:0!important;min-width:0!important}.sbx-app #settings-menu a,.sbx-app #sections-table td,.sbx-app #identities-table td{padding:12px 18px!important;color:var(--sb-ink)!important;background:transparent!important;font-size:13px!important;border:0!important}.sbx-app #settings-menu li.selected>a,.sbx-app #sections-table tr.selected td,.sbx-app #identities-table tr.selected td{background:var(--sb-selected)!important}.sbx-app #settings-menu{padding:12px 0}.sbx-app #settings-menu li{border:0!important}.sbx-app #contacts-table td{padding:16px!important;border-bottom:1px solid var(--sb-line)!important;color:var(--sb-ink)!important;background:transparent!important}.sbx-app #contacts-table tr.selected td{background:var(--sb-selected)!important}
html[data-sbx-app] body.sbx-compose-view #layout-content{padding:24px 36px!important}.sbx-compose-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.sbx-compose-heading h1{font-size:24px;margin:0}.sbx-app #composestatusbar{font-size:12px!important;color:var(--sb-muted)!important;background:transparent!important}.sbx-app #compose-content{flex:1;overflow:auto!important;background:transparent!important}.sbx-app #compose-headers{border:0!important;padding:0!important}.sbx-app #compose-headers .form-group{border-bottom:1px solid var(--sb-line);padding:9px 0!important;margin:0!important}.sbx-app #compose-headers input,.sbx-app #compose-headers select,.sbx-app #compose-headers .recipient-input{border:0!important;box-shadow:none!important;background:transparent!important;color:var(--sb-ink)!important}.sbx-app #composebodycontainer{margin-top:16px!important;min-height:260px!important}.sbx-app #composebody{border:0!important;background:var(--sb-bg)!important;color:var(--sb-ink)!important;min-height:240px!important}.sbx-app #compose-attachments{padding:10px 0!important;background:transparent!important;border:0!important}.sbx-compose-options{font-size:12px;color:var(--sb-muted);margin:12px 0}.sbx-compose-options #compose-options{padding:12px!important;background:var(--sb-panel)!important}.sbx-app #toolbar-menu.sbx-compose-toolbar{border-top:1px solid var(--sb-line)!important;padding-top:16px!important;flex:none}.sbx-app #toolbar-menu .send{background:var(--sb-accent)!important;color:#161616!important;padding:10px 24px!important;font-weight:700!important}
body.sbx-frame{background:var(--sb-bg)!important;color:var(--sb-ink)!important;font:14px/1.6 Arial,sans-serif!important;padding:28px!important}body.sbx-frame #message-header{background:transparent!important;border-bottom:1px solid var(--sb-line)!important;padding:0 0 20px!important}body.sbx-frame #message-header h2{font-size:24px!important}body.sbx-frame .message-part,body.sbx-frame .message-htmlpart{background:transparent!important;color:var(--sb-ink)!important}body.sbx-frame #messagebody{padding:22px 0!important;max-width:850px;margin:0 auto!important}body.sbx-frame fieldset{border:0!important;padding:16px 0!important}body.sbx-frame legend{font-size:20px!important;font-weight:700!important;color:var(--sb-ink)!important}body.sbx-frame input,body.sbx-frame select,body.sbx-frame textarea{background:var(--sb-bg)!important;color:var(--sb-ink)!important;border:1px solid var(--sb-line)!important;border-radius:6px!important;min-height:38px}body.sbx-frame button.mainaction,body.sbx-frame input.mainaction{background:var(--sb-accent)!important;color:#171717!important;border:0!important;padding:10px 20px!important}
.sbx-calendar-view .smartbiz-calendar-content{flex:1;min-width:0;padding:28px!important;overflow:auto;background:var(--sb-bg)!important;color:var(--sb-ink)!important}.sbx-calendar-view .smartbiz-calendar-head{display:flex;align-items:center;gap:16px;justify-content:space-between}.sbx-calendar-view h1{font-size:25px!important}.sbx-calendar-new,.sbx-primary{display:flex;align-items:center;gap:8px;border:0;border-radius:7px;padding:12px 18px;background:var(--sb-accent);color:#171717;font-weight:700}.sbx-calendar-view .smartbiz-calendar-week{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:0!important}.sbx-calendar-view .smartbiz-calendar-day{min-height:100px!important;border:1px solid var(--sb-line)!important;border-radius:0!important;background:var(--sb-bg)!important;color:var(--sb-ink)!important;padding:8px!important}.sbx-calendar-view .smartbiz-calendar-daynum{font-size:13px!important}.sbx-calendar-view .smartbiz-calendar-pill{background:var(--sb-selected)!important;color:var(--sb-ink)!important;border-radius:4px!important;font-size:11px!important}.sbx-calendar-view .sbx-day-selected{outline:2px solid #c59b00;outline-offset:-2px}.sbx-calendar-view .smartbiz-calendar-aside{margin-top:20px;background:var(--sb-panel)!important;border:1px solid var(--sb-line)!important;border-radius:8px!important;padding:16px!important}.sbx-event-dialog{max-width:460px;width:calc(100% - 32px);border:1px solid var(--sb-line);border-radius:12px;padding:28px;background:var(--sb-bg);color:var(--sb-ink)}.sbx-event-dialog::backdrop{background:#0007}.sbx-event-dialog h2{margin:0 0 18px;font-size:23px}.sbx-event-dialog label{display:grid;gap:6px;margin:14px 0}.sbx-event-dialog input{padding:10px;border:1px solid var(--sb-line);border-radius:6px;background:var(--sb-bg);color:var(--sb-ink);min-width:0}.sbx-dialog-actions{display:flex;justify-content:flex-end;gap:12px}.sbx-dialog-actions button{border:0;border-radius:6px;padding:10px 16px}.sbx-event-status{font-size:13px}
@media(max-width:1100px) and (min-width:761px){html[data-sbx-app] .sbx-nav{width:190px;flex-basis:190px}html[data-sbx-app] body.sbx-app #layout-list{width:300px!important;flex-basis:300px!important}.sbx-header{gap:16px}.sbx-brand{width:150px}.sbx-app #toolbar-menu .inner{display:none!important}}
@media(max-width:760px){html[data-sbx-app] body.sbx-app{padding-top:58px!important;padding-bottom:64px!important}.sbx-app .sbx-header{height:58px;padding:0 12px;gap:10px}.sbx-mobile-menu{display:grid;place-items:center;width:38px;height:40px;background:transparent;border:0;color:var(--sb-ink)}.sbx-brand{width:112px;height:34px;background-size:110px auto}.sbx-search{display:none}.sbx-header-controls{gap:4px}.sbx-language{width:48px}.sbx-icon-button{min-width:36px}.sbx-avatar{width:32px;height:32px}html[data-sbx-app] body.sbx-app #layout{height:calc(100dvh - 122px)!important}.sbx-app .sbx-nav{position:fixed;left:-280px;top:58px;bottom:64px;width:260px;z-index:1100;transition:left .18s}.sbx-nav-open .sbx-nav{left:0}.sbx-nav-open .sbx-nav-shade{display:block;position:fixed;inset:58px 0 64px;background:#0006;border:0;z-index:1090}.sbx-nav-shade svg{display:none}.sbx-mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:64px;padding-bottom:env(safe-area-inset-bottom);background:var(--sb-bg);border-top:1px solid var(--sb-line);z-index:1000;justify-content:space-around}.sbx-mobile-nav .sbx-task{display:flex;flex-direction:column;gap:3px;padding:7px 12px;font-size:10px;min-width:60px;background:transparent}.sbx-mobile-nav .active{color:#9c7500}.sbx-mobile-nav svg{width:21px;height:21px}html[data-sbx-app] body.sbx-app #layout-list{flex:1!important;width:100%!important;min-width:0!important;border:0!important}html[data-sbx-app] body.sbx-app[data-sbx-task=mail]:not(.sbx-compose-view) #layout-content{display:none!important}html[data-sbx-app] body.sbx-app.sbx-reading #layout-list{display:none!important}html[data-sbx-app] body.sbx-app.sbx-reading #layout-content{display:flex!important}.sbx-reading .sbx-reader-back{display:block;width:44px;height:44px;background:var(--sb-bg);border:0;color:var(--sb-ink);flex:none}.sbx-compose-fab{display:grid;place-items:center;position:fixed;right:20px;bottom:84px;width:54px;height:54px;border-radius:18px;background:var(--sb-accent);border:0;box-shadow:0 5px 15px #0002;z-index:800}.sbx-reading .sbx-compose-fab{display:none}.sbx-app #toolbar-menu .inner{display:none!important}.sbx-app #toolbar-menu a{min-width:38px!important;min-height:44px!important}.sbx-app #layout-content>.header{padding:6px 12px!important;height:52px!important;min-height:52px!important}html[data-sbx-app] body.sbx-compose-view #layout-content{padding:16px!important}.sbx-compose-heading h1{font-size:21px}.sbx-compose-view #composebodycontainer{min-height:220px!important}.sbx-compose-view .sbx-compose-toolbar{position:sticky;bottom:0;background:var(--sb-bg)!important}html[data-sbx-app] body.sbx-app[data-sbx-task=settings] #layout-sidebar{flex:0 0 160px!important;width:160px!important}html[data-sbx-app] body.sbx-app[data-sbx-task=settings] #layout-content:not(.selected){display:none!important}html[data-sbx-app] body.sbx-app[data-sbx-task=settings]:has(#layout-content.selected) #layout-sidebar{display:none!important}html[data-sbx-app] body.sbx-app[data-sbx-task=addressbook] #layout-content:not(.selected){display:none!important}html[data-sbx-app] body.sbx-app[data-sbx-task=addressbook]:has(#layout-content.selected) #layout-list{display:none!important}.sbx-calendar-view .smartbiz-calendar-content{padding:16px!important}.sbx-calendar-view .smartbiz-calendar-day{min-height:65px!important;padding:4px!important}.sbx-calendar-view .smartbiz-calendar-pill{font-size:9px!important;overflow:hidden;text-overflow:ellipsis}.sbx-calendar-new{padding:10px;font-size:12px}.sbx-calendar-view h1{font-size:22px!important}body.sbx-frame{padding:18px!important}body.sbx-frame #message-header h2{font-size:21px!important}}
@media(prefers-reduced-motion:reduce){.sbx-app *{transition:none!important;scroll-behavior:auto!important}}
/* Calendar shares the workspace and gives the month the available width. */
.sbx-calendar-view .smartbiz-calendar-board{display:block!important}.sbx-calendar-view .smartbiz-calendar-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important}.sbx-calendar-view .smartbiz-calendar-card{background:var(--sb-bg)!important;border-color:var(--sb-line)!important;border-radius:8px!important}.sbx-calendar-view .smartbiz-calendar-aside{display:grid!important;grid-template-columns:1fr 1fr!important;border:0!important;padding:0!important;background:transparent!important}.sbx-calendar-view .smartbiz-calendar-head p{font-weight:400!important;font-size:13px!important}.sbx-calendar-view .smartbiz-calendar-actions{margin-left:auto}.sbx-calendar-view .smartbiz-calendar-nav a,.sbx-calendar-view .smartbiz-calendar-btn{color:var(--sb-ink)!important;border-color:var(--sb-line)!important;border-radius:6px!important;font-weight:400!important}.sbx-app[data-sbx-task=calendar] .sbx-brand{background-image:url('/skins/smartbiz/images/smartbiz-primary-transparent.png')}
html[data-smartbiz-theme=dark] .sbx-brand{background-image:url('/skins/smartbiz/images/smartbiz-primary-reverse.png')!important}
@media(max-width:760px){.sbx-calendar-view .smartbiz-calendar-aside{grid-template-columns:1fr!important}.sbx-calendar-view .smartbiz-calendar-head{flex-wrap:wrap!important}.sbx-calendar-view .smartbiz-calendar-actions{margin-left:0!important}}
/* End-of-cascade reset for the former skin's high-specificity rules. */
html[data-sbx-app] body.sbx-app .sbx-brand{background-image:url('/skins/smartbiz/images/smartbiz-primary-transparent.png')!important;background-position:left center!important;background-size:145px auto!important;background-repeat:no-repeat!important}
html[data-sbx-app][data-smartbiz-theme=dark] body.sbx-app .sbx-brand{background-image:url('/skins/smartbiz/images/smartbiz-primary-reverse.png')!important}
html[data-sbx-app] body.sbx-app #messagelist-header .header-title{display:block!important;position:static!important;visibility:visible!important;opacity:1!important;font-size:22px!important;font-weight:700!important;color:var(--sb-ink)!important;height:auto!important;width:auto!important;clip:auto!important}
html[data-sbx-app] body.sbx-app #sbx-nav #mailboxlist li a{background:transparent!important;color:var(--sb-ink)!important;border:0!important;height:38px!important;min-height:38px!important;font-size:13px!important;padding:8px 10px!important;font-weight:400!important}
html[data-sbx-app] body.sbx-app #sbx-nav #mailboxlist li.selected>a{background:var(--sb-selected)!important;font-weight:700!important}
html[data-sbx-app] body.sbx-app #sbx-nav #mailboxlist li a:before{font-size:16px!important;color:var(--sb-muted)!important;margin-right:12px!important}
html[data-sbx-app] body.sbx-app #toolbar-menu{justify-content:flex-start!important;flex-wrap:nowrap!important}
html[data-sbx-app] body.sbx-app #toolbar-menu a{display:inline-flex!important;flex-direction:row!important;align-items:center!important;height:36px!important;line-height:20px!important;min-width:0!important}
html[data-sbx-app] body.sbx-app #toolbar-menu a.dropdown{width:20px!important;padding:8px 3px!important}
html[data-sbx-app] body.sbx-app #toolbar-menu a.dropdown .inner{display:none!important}
html[data-sbx-app] body.sbx-app #toolbar-menu a:before{display:inline-block!important;font-size:15px!important;line-height:18px!important;height:auto!important;width:auto!important;margin:0 7px 0 0!important}
html[data-sbx-app] body.sbx-app #layout-content>.footer{display:none!important}
html[data-sbx-app] body.sbx-app #messagelist tr.selected td{background:var(--sb-selected)!important;box-shadow:none!important;outline:none!important}
html[data-sbx-app] body.sbx-app #messagelist tr{outline:none!important;box-shadow:none!important;background:var(--sb-bg)!important}
html[data-sbx-app] body.sbx-app[data-sbx-task=settings] #layout-sidebar{position:relative!important;inset:auto!important;min-width:220px!important;max-width:240px!important;height:100%!important;padding:0!important;gap:0!important}
html[data-sbx-app] body.sbx-app[data-sbx-task=settings] #layout-sidebar>.scroller{flex:none!important;height:auto!important;max-height:55%!important;overflow:auto!important}
html[data-sbx-app] body.sbx-app[data-sbx-task=settings] #layout-sidebar #layout-list{position:relative!important;inset:auto!important;flex:1!important;min-height:0!important;overflow:auto!important}
html[data-sbx-app] body.sbx-app[data-sbx-task=settings] #settings-menu li a{min-height:42px!important;padding:10px 18px!important;height:auto!important;font-weight:400!important}
html[data-sbx-app] body.sbx-app #compose-content{padding:0!important;border:0!important}
html[data-sbx-app] body.sbx-app #compose-headers .form-group{min-height:45px!important;padding:7px 0!important}
html[data-sbx-app] body.sbx-app #toolbar-menu.sbx-compose-toolbar button.send{background:var(--sb-accent)!important;color:#171717!important;border:0!important;border-radius:7px!important;padding:10px 22px!important;min-height:40px!important;margin-right:12px!important}
html[data-sbx-app] body.sbx-compose-view #compose-content button.send,html[data-sbx-app] body.sbx-compose-view #compose-content .extwin{display:none!important}
html[data-sbx-app] body.sbx-compose-view #layout-content>.header{display:none!important}
html[data-sbx-app] body.sbx-app .sbx-search input{border-radius:0!important;background:transparent!important;height:36px!important;padding:0!important;font-weight:400!important;font-size:14px!important}
@media(max-width:760px){html[data-sbx-app] body.sbx-app .sbx-brand{background-size:110px auto!important}html[data-sbx-app] body.sbx-app #toolbar-menu .inner{display:none!important}html[data-sbx-app] body.sbx-app[data-sbx-task=settings] #layout-sidebar{min-width:160px!important}}
html[data-sbx-app] body.sbx-app #toolbar-menu a.hidden,html[data-sbx-app] body.sbx-app #toolbar-menu a.hidden-big,html[data-sbx-app] body.sbx-app #toolbar-menu a.hidden-large{display:none!important}
html[data-sbx-app] body.sbx-app #toolbar-menu .dropbutton{display:inline-flex!important;align-items:center!important;position:static!important}
html[data-sbx-app] body.sbx-app #toolbar-menu .dropbutton>a.dropdown{position:static!important;flex:none!important;transform:none!important;height:36px!important}
html[data-sbx-app] body.sbx-app #messagelist-header{justify-content:flex-start!important;text-align:left!important}
html[data-sbx-app] body.sbx-app #messagelist tr:focus,html[data-sbx-app] body.sbx-app #messagelist td:focus{outline:0!important;box-shadow:none!important}
html[data-sbx-app] body.sbx-app #messagelist tr.focused{outline:1px solid #b78a00!important;outline-offset:-1px!important}
html[data-sbx-app] body.sbx-app #messagelist td.subject{position:relative!important;padding-left:56px!important;padding-right:14px!important}
html[data-sbx-app] body.sbx-app #messagelist .sbx-sender-avatar{position:absolute;left:15px;top:20px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--sb-panel);color:var(--sb-muted);font-size:11px;font-weight:700}
html[data-sbx-app] body.sbx-app #messagelist td.subject .fromto{display:block!important;font-weight:600!important;max-width:calc(100% - 78px)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html[data-sbx-app] body.sbx-app #messagelist td.subject>.subject{display:block!important;margin-top:3px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html[data-sbx-app] body.sbx-app #messagelist td.subject>.date{position:absolute!important;top:14px!important;right:12px!important;font-size:10px!important;max-width:74px!important;overflow:hidden!important;white-space:nowrap!important}
html[data-sbx-app] body.sbx-app #messagelist td.flags{width:15px!important;padding:0!important;background:transparent!important}
html[data-sbx-app] body.sbx-app #messagelist .sbx-sender-avatar:empty{display:none}
html[data-sbx-app] body.sbx-app #messagelist .selection{width:0!important;max-width:0!important;padding:0!important;overflow:hidden!important}
html[data-sbx-app] body.sbx-app #messagelist .selection input{display:none!important}
.sbx-calendar-switch{display:flex;gap:2px;border:1px solid var(--sb-line);border-radius:7px;padding:3px;margin-left:12px}.sbx-calendar-switch button{padding:6px 10px;background:transparent;border:0;border-radius:4px;color:var(--sb-ink);font-size:12px}.sbx-calendar-switch button.active{background:var(--sb-selected);font-weight:700}.sbx-app .smartbiz-calendar-day[hidden]{display:none!important}.sbx-app[data-calendar-view=day] .smartbiz-calendar-grid{grid-template-columns:1fr!important}.sbx-app[data-calendar-view=day] .smartbiz-calendar-week{display:none!important}.sbx-app[data-calendar-view=day] .smartbiz-calendar-day{min-height:380px!important}.sbx-app .sbx-calendar-import-details{padding:14px 0;font-size:13px}.sbx-app .sbx-calendar-import-details summary{cursor:pointer}.sbx-app .smartbiz-calendar-monthbar{flex-wrap:wrap}
@media(max-width:760px){.sbx-app[data-calendar-view=week] .smartbiz-calendar-grid{grid-template-columns:1fr!important}.sbx-app[data-calendar-view=week] .smartbiz-calendar-week{display:none!important}.sbx-app[data-calendar-view=week] .smartbiz-calendar-day{min-height:66px!important;display:flex;align-items:center;gap:12px}.sbx-app[data-calendar-view=week] .smartbiz-calendar-daynum{flex:none}.sbx-app[data-calendar-view=week] .smartbiz-calendar-day:after{content:attr(data-date);font-size:11px;color:var(--sb-muted);margin-left:auto}.sbx-calendar-switch{margin-left:0}.sbx-app .smartbiz-calendar-monthbar strong{font-size:16px!important}}
@media(max-width:760px){html[data-sbx-app] body.sbx-app.sbx-reading[data-sbx-task=mail]:not(.sbx-compose-view) #layout-content{display:flex!important}html[data-sbx-app] body.sbx-app.sbx-reading .sbx-reader-back{display:grid!important;place-items:center!important}}
body.sbx-frame #layout-menu,body.sbx-frame #layout-sidebar,body.sbx-frame #layout-list,body.sbx-frame.task-mail #toolbar-menu,body.sbx-frame .smartbiz-production-topbar{display:none!important}
body.sbx-frame #layout{display:block!important;width:100%!important;height:auto!important;min-height:100%!important;position:static!important;padding:0!important;margin:0!important;background:var(--sb-bg)!important}
body.sbx-frame #layout-content{display:block!important;position:static!important;width:100%!important;max-width:none!important;height:auto!important;min-height:100%!important;overflow:visible!important;padding:0!important;margin:0!important;background:var(--sb-bg)!important}
body.sbx-frame.task-mail #layout-content>.header{display:none!important}body.sbx-frame #message-header .subject{font-size:25px!important;font-weight:700!important;line-height:1.3!important}body.sbx-frame .message-headers{font-size:12px!important;color:var(--sb-muted)!important}body.sbx-frame #messagebody{font-size:15px!important;line-height:1.65!important}body.sbx-frame #messagebody blockquote{border-color:var(--sb-line)!important;padding:0 0 0 16px!important;margin:20px 0!important}
@media(max-width:760px){html[data-sbx-app] body.sbx-app.sbx-nav-open .sbx-nav{left:0!important;width:260px!important;flex-basis:260px!important}html[data-sbx-app] body.sbx-app .sbx-nav{left:-280px;width:260px!important;flex-basis:260px!important}}
html[data-sbx-app] body.sbx-app #layout-list #messagelist-header{display:flex!important;position:relative!important;inset:auto!important;height:58px!important;min-height:58px!important;align-items:center!important;justify-content:flex-start!important;padding:16px 20px!important;background:var(--sb-bg)!important}
html[data-sbx-app] body.sbx-app #layout-list #messagelist tr{height:82px!important;min-height:82px!important;border:0!important;border-bottom:1px solid var(--sb-line)!important;outline:none!important}
html[data-sbx-app] body.sbx-app #layout-list #messagelist td.subject{display:block!important;position:relative!important;inset:auto!important;width:100%!important;height:82px!important;padding:14px 14px 12px 56px!important;vertical-align:top!important;box-shadow:none!important}
html[data-sbx-app] body.sbx-app #layout-list #messagelist td.subject .fromto{position:static!important;display:block!important;inset:auto!important;font-size:13px!important;line-height:18px!important;margin:0!important;padding:0!important;max-width:calc(100% - 75px)!important;color:var(--sb-ink)!important}
html[data-sbx-app] body.sbx-app #layout-list #messagelist td.subject>.subject{position:static!important;display:block!important;inset:auto!important;padding:0!important;margin:4px 0 0!important;font-size:13px!important;line-height:18px!important;font-weight:400!important;width:100%!important;color:var(--sb-ink)!important}
html[data-sbx-app] body.sbx-app #layout-list #messagelist td.subject>.date{position:absolute!important;top:13px!important;right:12px!important;left:auto!important;padding:0!important;margin:0!important;max-width:74px!important;font-weight:400!important;line-height:18px!important;font-size:10px!important;color:var(--sb-muted)!important}
html[data-sbx-app] body.sbx-app #layout-list #messagelist td.subject .size,html[data-sbx-app] body.sbx-app #layout-list #messagelist td.flags{display:none!important}
html[data-sbx-app] body.sbx-app #layout-list #messagelist td.subject .sbx-sender-avatar{position:absolute!important;left:15px!important;top:19px!important;width:30px!important;height:30px!important;display:grid!important;place-items:center!important;line-height:1!important;font-size:11px!important}
html[data-sbx-app] body.sbx-app #layout-list #messagelist tr.selected td{background:var(--sb-selected)!important}
html[data-sbx-app] body.sbx-app[data-sbx-task=addressbook] #layout-list>.header{display:flex!important;align-items:center!important;gap:12px!important;height:72px!important;min-height:72px!important;justify-content:space-between!important}
html[data-sbx-app] body.sbx-app[data-sbx-task=addressbook] #layout-list>.header .header-title{display:block!important;font-size:21px!important;font-weight:700!important}
.sbx-contact-add{display:flex;align-items:center;gap:5px;padding:8px 10px;background:var(--sb-accent);border:0;border-radius:6px;color:#171717;font-size:12px!important}.sbx-contact-add svg{width:16px}.sbx-contact-back{display:none}
@media(max-width:760px){.sbx-contact-back{display:grid;place-items:center;min-height:44px;width:44px;background:var(--sb-bg);color:var(--sb-ink);border:0;flex:none}html[data-sbx-app] body.sbx-app .sbx-compose-toolbar{overflow-x:auto!important}html[data-sbx-app] body.sbx-app .sbx-compose-toolbar .attach{display:inline-flex!important}}
html[data-sbx-app] body.sbx-app #layout-list #messagelist td.subject .sbx-excerpt{display:block!important;position:static!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:11px!important;line-height:16px!important;margin-top:3px!important;font-weight:400!important;color:var(--sb-muted)!important}
.sbx-settings-back{display:none}
@media(max-width:760px){.sbx-settings-back{display:grid;place-items:center;min-height:44px;width:44px;border:0;background:var(--sb-bg);color:var(--sb-ink)}html[data-sbx-app] body.sbx-app.sbx-settings-form[data-sbx-task=settings] #layout-content.selected{display:flex!important;flex:1!important;width:100%!important}html[data-sbx-app] body.sbx-app.sbx-settings-form[data-sbx-task=settings] #layout-content.selected+#layout-sidebar{display:none!important}}
html body.sbx-frame input:not([type=checkbox]):not([type=radio]),html body.sbx-frame textarea,html body.sbx-frame select{background:var(--sb-bg)!important;color:var(--sb-ink)!important;border:1px solid var(--sb-line)!important;border-radius:6px!important;padding:9px 12px!important;font:14px/1.4 Arial,sans-serif!important;box-shadow:none!important}
html body.sbx-frame form{max-width:780px!important;margin:0!important}html body.sbx-frame .form-group{display:block!important;padding:0!important;margin:0 0 16px!important}html body.sbx-frame .form-group>label{display:block!important;width:100%!important;max-width:100%!important;flex:none!important;font-size:12px!important;font-weight:600!important;padding:0 0 6px!important;margin:0!important}html body.sbx-frame .form-group>div{display:block!important;width:100%!important;max-width:100%!important;flex:none!important;padding:0!important}html body.sbx-frame fieldset{margin-bottom:14px!important;padding:0!important}html body.sbx-frame legend{padding:0 0 14px!important}html body.sbx-frame .sbx-identity-advanced{font-size:12px;color:var(--sb-muted);margin:12px 0 22px}html body.sbx-frame .sbx-identity-advanced summary{cursor:pointer}html body.sbx-frame .sbx-identity-advanced[open] summary{margin-bottom:14px}html body.sbx-frame .formbuttons{background:var(--sb-bg)!important;position:sticky!important;bottom:0!important;padding:14px 0!important;border-top:1px solid var(--sb-line)!important}html body.sbx-frame .mce-container,html body.sbx-frame .tox{border-color:var(--sb-line)!important}
@media(max-width:760px){html[data-sbx-app] body.sbx-app .sbx-compose-heading button.send{background:var(--sb-accent)!important;color:#171717!important;border:0!important;padding:10px 16px!important;min-height:40px!important;border-radius:7px!important}.sbx-compose-heading{gap:12px;flex-wrap:wrap}.sbx-compose-heading h1{flex:1}.sbx-compose-heading #composestatusbar{display:none!important}}
@media(max-width:760px){.sbx-app .sbx-mobile-menu,.sbx-app .sbx-icon-button{width:44px;min-width:44px;height:44px}.sbx-app .sbx-account summary{display:grid;place-items:center;width:44px;height:44px}.sbx-app .sbx-language{height:44px;width:44px}.sbx-app .sbx-list-tools button{min-height:40px}}
@media(max-width:360px){.sbx-app .sbx-brand{width:90px!important;background-size:90px auto!important}.sbx-app .sbx-header{gap:6px!important}}
html body.sbx-frame .propform,html body.sbx-frame .propform>tbody{display:block!important;width:100%!important}
html body.sbx-frame .propform tr.form-group{display:block!important;width:100%!important;margin-bottom:16px!important}
html body.sbx-frame .propform tr.form-group>td{display:block!important;width:100%!important;max-width:none!important;padding:0!important;flex:none!important}
html body.sbx-frame .propform tr.form-group>td.title{font-size:12px!important;font-weight:600!important;margin-bottom:6px!important}
html body.sbx-frame .propform input.form-control{width:100%!important;max-width:none!important}
html body.sbx-frame .sbx-form-actions{display:flex!important;gap:12px!important;align-items:center!important;background:var(--sb-bg)!important;border-top:1px solid var(--sb-line)!important;padding:16px 0!important;position:sticky!important;bottom:0!important;z-index:10!important}
html body.sbx-frame .sbx-form-actions button.submit{display:inline-flex!important;visibility:visible!important;opacity:1!important;border:0!important;border-radius:6px!important;min-height:42px!important;padding:10px 20px!important;background:var(--sb-accent)!important;color:#171717!important;font-weight:700!important}
html body.sbx-frame .sbx-form-cancel{border:1px solid var(--sb-line);border-radius:6px;background:var(--sb-bg);color:var(--sb-ink);padding:10px 20px;min-height:42px}
html[data-sbx-app],body.sbx-frame{--sb-muted:#626b65}
html[data-sbx-app][data-smartbiz-theme=dark],html[data-smartbiz-theme=dark] body.sbx-frame{--sb-muted:#a5afa6}
html body.sbx-frame .content,html body.sbx-frame .formcontent,html body.sbx-frame .formcontainer{background:var(--sb-bg)!important;color:var(--sb-ink)!important}
html body.sbx-frame textarea[name=_signature]{width:100%!important;max-width:none!important;min-height:150px!important;background:var(--sb-bg)!important}
html[data-sbx-app] body.sbx-app #toolbar-menu.sbx-compose-toolbar a.attach{display:none!important}
html[data-sbx-app] body.sbx-app #toolbar-menu.sbx-compose-toolbar .sbx-attach-action{display:inline-flex!important;align-items:center;gap:8px;min-width:44px;min-height:44px;border:0;border-radius:6px;background:transparent;color:var(--sb-ink);padding:8px 12px;flex:none}
@media(max-width:760px){.sbx-attach-action span{display:none}.sbx-app .sbx-compose-toolbar .sbx-attach-action{order:-1}}
/* Visual acceptance repair: explicit row grid, shared frame theme and bounded editor. */
html[data-sbx-app] body.sbx-app #layout-list #messagelist,
html[data-sbx-app] body.sbx-app #layout-list #messagelist>tbody{display:block!important;width:100%!important}
html[data-sbx-app] body.sbx-app #layout-list #messagelist tbody>tr{display:block!important;position:relative!important;width:100%!important;height:92px!important;min-height:92px!important;padding:0!important;margin:0!important;overflow:hidden!important}
html[data-sbx-app] body.sbx-app #layout-list #messagelist tbody>tr>td.subject{display:grid!important;grid-template-columns:minmax(0,1fr) 65px!important;grid-template-rows:18px 18px 16px!important;row-gap:4px!important;position:absolute!important;inset:0!important;width:100%!important;height:92px!important;padding:14px 14px 12px 56px!important;margin:0!important;overflow:hidden!important;box-sizing:border-box!important}
html[data-sbx-app] body.sbx-app #layout-list #messagelist td.subject>.fromto{grid-column:1!important;grid-row:1!important;position:static!important;height:18px!important;min-height:0!important;max-height:18px!important;max-width:100%!important;padding:0!important;margin:0!important;line-height:18px!important;font-size:13px!important;overflow:hidden!important}
html[data-sbx-app] body.sbx-app #layout-list #messagelist td.subject>.date{grid-column:2!important;grid-row:1!important;position:static!important;height:18px!important;padding:0!important;max-width:65px!important;margin:0!important;line-height:18px!important;text-align:right!important}
html[data-sbx-app] body.sbx-app #layout-list #messagelist td.subject>.subject{grid-column:1/-1!important;grid-row:2!important;position:static!important;height:18px!important;padding:0!important;margin:0!important;line-height:18px!important;overflow:hidden!important}
html[data-sbx-app] body.sbx-app #layout-list #messagelist td.subject>.sbx-excerpt{grid-column:1/-1!important;grid-row:3!important;position:static!important;height:16px!important;padding:0!important;margin:0!important;line-height:16px!important;font-size:11px!important;overflow:hidden!important}
html[data-sbx-app] body.sbx-app #layout-list #messagelist td.subject>.fromto *,html[data-sbx-app] body.sbx-app #layout-list #messagelist td.subject>.subject *,html[data-sbx-app] body.sbx-app #sbx-nav #mailboxlist a *{color:inherit!important;font-size:inherit!important;line-height:inherit!important;background:transparent!important}
html[data-sbx-app] body.sbx-app #layout #layout-content>.header{justify-content:flex-start!important;align-items:center!important;text-align:left!important}
html[data-sbx-app] body.sbx-app #layout #layout-content>.header #toolbar-menu{width:auto!important;flex:0 1 auto!important;justify-content:flex-start!important;margin:0!important}
html[data-sbx-app] body.sbx-app #compose-headers label,html[data-sbx-app] body.sbx-app #compose-headers span,html[data-sbx-app] body.sbx-app #compose-headers input,html[data-sbx-app] body.sbx-app #compose-headers select,html[data-sbx-app] body.sbx-app #compose-headers a{color:var(--sb-ink)!important}
html[data-sbx-app] body.sbx-app #compose-attachments>.upload-form{display:none!important}
html[data-sbx-app] body.sbx-app #compose-attachments:has(#attachment-list:empty){display:none!important}
html[data-sbx-app] body.sbx-app #composebodycontainer .tox-tinymce{height:clamp(220px,calc(100dvh - 410px),420px)!important;max-height:420px!important;min-height:220px!important;width:100%!important;border:1px solid var(--sb-line)!important;border-radius:7px!important}
html[data-sbx-app] body.sbx-app #composebodycontainer{height:auto!important;min-height:220px!important;max-height:440px!important;overflow:hidden!important;flex:none!important}
html[data-sbx-app] body.sbx-app .tox .tox-editor-header,html[data-sbx-app] body.sbx-app .tox .tox-toolbar,html[data-sbx-app] body.sbx-app .tox .tox-toolbar__primary,html[data-sbx-app] body.sbx-app .tox .tox-toolbar__overflow,html[data-sbx-app] body.sbx-app .tox .tox-statusbar{background:var(--sb-panel)!important;color:var(--sb-ink)!important;box-shadow:none!important}
html[data-sbx-app] body.sbx-app .tox .tox-tbtn{color:var(--sb-ink)!important;background:transparent!important}
html[data-sbx-app] body.sbx-app .tox .tox-tbtn svg{fill:currentColor!important}
body.sbx-editor{--sb-bg:#fff;--sb-ink:#202321;background:var(--sb-bg)!important;color:var(--sb-ink)!important;padding:16px!important;font:14px/1.6 Arial,sans-serif!important}
html[data-smartbiz-theme=dark] body.sbx-editor{--sb-bg:#141715;--sb-ink:#f4f5f1;color-scheme:dark}
html body.sbx-editor p,html body.sbx-editor span,html body.sbx-editor div,html body.sbx-editor td{color:inherit!important;background-color:transparent!important}
html body.sbx-editor a{color:#087264!important}html[data-smartbiz-theme=dark] body.sbx-editor a{color:#9edbce!important}
html body.sbx-frame #message-header,html body.sbx-frame #message-header .message-headers,html body.sbx-frame #message-header .subject{background:transparent!important;color:var(--sb-ink)!important}
html body.sbx-frame #message-header .contactphoto{width:34px!important;height:34px!important;min-width:34px!important;margin-right:12px!important}
@media(max-width:760px){html[data-sbx-app] body.sbx-app #composebodycontainer .tox-tinymce{height:clamp(180px,calc(100dvh - 490px),320px)!important;min-height:180px!important;max-height:320px!important}html[data-sbx-app] body.sbx-app #composebodycontainer{min-height:180px!important;max-height:340px!important}}
html[data-sbx-app] body.sbx-app .floating-action-buttons,html[data-sbx-app] body.sbx-app .smartbiz-mobile-compose,html[data-sbx-app] body.sbx-app #smartbiz-mobile-compose,html[data-sbx-app] body.sbx-app .smartbiz-compose-fab{display:none!important}
@media(max-width:760px){html[data-sbx-app] body.sbx-app #layout-content>.header{overflow-x:auto!important;overflow-y:hidden!important}html[data-sbx-app] body.sbx-app #toolbar-menu a.dropdown{display:none!important}html[data-sbx-app] body.sbx-app #toolbar-menu .spacer{display:none!important}}
html[data-sbx-app]{-webkit-text-size-adjust:100%;text-size-adjust:100%;scrollbar-color:#aeb8b0 transparent;scrollbar-width:thin}
html[data-sbx-app][data-smartbiz-theme=dark]{scrollbar-color:#566159 transparent}
html[data-sbx-app] ::-webkit-scrollbar,html[data-smartbiz-theme]::-webkit-scrollbar{width:6px;height:6px}
html[data-sbx-app] ::-webkit-scrollbar-thumb,html[data-smartbiz-theme]::-webkit-scrollbar-thumb{background:#aeb8b0;border-radius:4px}
html[data-sbx-app][data-smartbiz-theme=dark] ::-webkit-scrollbar-thumb,html[data-smartbiz-theme=dark]::-webkit-scrollbar-thumb{background:#566159}
@media(max-width:760px){html[data-sbx-app] body.sbx-app #compose-headers input,html[data-sbx-app] body.sbx-app #compose-headers select{font-size:16px!important}}
html[data-sbx-app] body.sbx-compose-view #layout-content>#compose-content{position:relative!important;display:block!important;flex:1 1 auto!important;height:auto!important;min-height:240px!important;max-height:none!important;overflow:auto!important;inset:auto!important}
html[data-sbx-app] body.sbx-compose-view #compose-content>form{position:relative!important;display:block!important;inset:auto!important;height:auto!important;min-height:100%!important;margin:0!important;padding:0!important}
html[data-sbx-app] body.sbx-compose-view .sbx-compose-options{flex:0 0 auto!important;height:auto!important;min-height:0!important;max-height:none!important;margin:10px 0!important;padding:0!important}
html[data-sbx-app] body.sbx-compose-view .sbx-compose-options:not([open])>#compose-options{display:none!important}
html[data-sbx-app] body.sbx-app #layout-list #messagelist td.subject>.fromto .adr,html[data-sbx-app] body.sbx-app #layout-list #messagelist td.subject>.fromto .rcmContactAddress{display:inline!important;padding:0!important;margin:0!important;height:auto!important;min-height:0!important;vertical-align:baseline!important}
/* Compose owns four explicit rows; Elastic may not collapse its content pane. */
html[data-sbx-app] body.sbx-app.sbx-compose-view #layout #layout-content{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:56px minmax(0,1fr) auto 60px!important;gap:0!important;align-content:stretch!important;align-items:stretch!important}
html[data-sbx-app] body.sbx-app.sbx-compose-view #layout-content>.sbx-compose-heading{grid-row:1!important;margin:0!important;min-height:0!important;height:auto!important;align-self:stretch!important}
html[data-sbx-app] body.sbx-app.sbx-compose-view #layout-content>#compose-content{grid-row:2!important;min-height:0!important;height:100%!important;max-height:none!important;align-self:stretch!important;overflow:auto!important;flex:none!important}
html[data-sbx-app] body.sbx-app.sbx-compose-view #layout-content>.sbx-compose-options{grid-row:3!important;margin:8px 0!important}
html[data-sbx-app] body.sbx-app.sbx-compose-view #layout-content>.sbx-compose-toolbar{grid-row:4!important;position:static!important;align-self:stretch!important}
html[data-sbx-app] body.sbx-app.sbx-compose-view #compose-content>form{height:auto!important;min-height:0!important;position:static!important;inset:auto!important}
html[data-sbx-app] body.sbx-app.sbx-compose-view #layout-content>#toolbar-menu.sbx-compose-toolbar{height:60px!important;min-height:60px!important;max-height:60px!important;width:100%!important;max-width:100%!important;position:static!important;inset:auto!important;overflow-x:auto!important;overflow-y:hidden!important;list-style:none!important}
html.sbx-editor-root{background:#fff!important}html.sbx-editor-root[data-smartbiz-theme=dark]{background:#141715!important}
html.sbx-editor-root body.sbx-editor{min-height:100dvh!important;box-sizing:border-box!important;margin:0!important;background:var(--sb-bg)!important}
/* Match the approved compact queue and dedicated mobile screens. */
.sbx-mobile-title,.sbx-header-back,.sbx-header-reader-tools,.sbx-reader-actions,.sbx-compose-back{display:none}
html[data-sbx-app] body.sbx-app #layout-list #messagelist tbody>tr{height:76px!important;min-height:76px!important}
html[data-sbx-app] body.sbx-app #layout-list #messagelist tbody>tr>td.subject{height:76px!important;padding:10px 14px 10px 34px!important;row-gap:2px!important}
html[data-sbx-app] body.sbx-app #layout-list #messagelist td.subject>.sbx-sender-avatar{display:none!important}
html[data-sbx-app] body.sbx-app #layout-list #messagelist tr.unread td.subject:before{content:'';position:absolute;left:14px;top:17px;width:8px;height:8px;border-radius:50%;background:#ffcc00}
html[data-sbx-app] body.sbx-app #layout-list #messagelist td.subject [id^=msgicn]{display:none!important}
html[data-sbx-app] body.sbx-app .sbx-list-tools button.active{background:transparent!important;border-bottom:2px solid #d5a900!important;border-radius:0!important}
html[data-sbx-app] body.sbx-app .sbx-list-tools .sbx-select-messages{margin-left:auto;padding:5px}
html[data-sbx-app] body.sbx-app .sbx-list-tools .sbx-refresh{margin-left:4px}
.sbx-mobile-preferences{display:flex;align-items:center;gap:12px}
.sbx-header-reader-tools button svg{width:20px;height:20px}
@media(max-width:760px){
 html[data-sbx-app] body.sbx-app .sbx-header>.sbx-brand{display:none!important}
 .sbx-mobile-title{display:block;min-width:0;flex:1;font-size:19px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 html[data-sbx-app] body.sbx-app .sbx-header-controls{margin-left:auto}
 html[data-sbx-app] body.sbx-app #layout-list>.sbx-search{display:flex!important;width:calc(100% - 32px)!important;margin:10px 16px 14px!important;flex:0 0 40px!important;height:40px!important;min-height:40px!important}
 html[data-sbx-app] body.sbx-app #layout-list #messagelist-header{display:none!important}
 html[data-sbx-app] body.sbx-app #layout-list>.sbx-list-tools{padding:0 16px 8px!important}
 html[data-sbx-app] body.sbx-app .sbx-compose-fab{border-radius:50%!important;bottom:82px!important}
 html[data-sbx-app] body.sbx-app.sbx-reading .sbx-mobile-menu,html[data-sbx-app] body.sbx-app.sbx-reading .sbx-account,html[data-sbx-app] body.sbx-app.sbx-reading .sbx-mobile-nav,html[data-sbx-app] body.sbx-app.sbx-reading .sbx-reader-back,html[data-sbx-app] body.sbx-app.sbx-reading #layout-content>.header{display:none!important}
 html[data-sbx-app] body.sbx-app.sbx-reading .sbx-header-back{display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;color:var(--sb-ink);flex:none}
 html[data-sbx-app] body.sbx-app.sbx-reading .sbx-header-reader-tools{display:flex;gap:4px}
 html[data-sbx-app] body.sbx-app.sbx-reading .sbx-reader-actions{display:flex;position:fixed;inset:auto 0 0;height:64px;background:var(--sb-bg);border-top:1px solid var(--sb-line);padding:10px 16px;gap:12px;z-index:1000}
 .sbx-reader-actions button{display:flex;justify-content:center;align-items:center;gap:8px;flex:1;border:1px solid var(--sb-line);border-radius:7px;background:var(--sb-bg);color:var(--sb-ink);min-height:44px}
 html[data-sbx-app] body.sbx-app.sbx-compose-view{padding:0!important}
 html[data-sbx-app] body.sbx-app.sbx-compose-view>.sbx-header,html[data-sbx-app] body.sbx-app.sbx-compose-view>.sbx-mobile-nav{display:none!important}
 html[data-sbx-app] body.sbx-app.sbx-compose-view #layout{height:100dvh!important}
 html[data-sbx-app] body.sbx-app.sbx-compose-view .sbx-compose-back{display:grid;place-items:center;width:36px;height:44px;padding:0;border:0;background:transparent;color:var(--sb-ink)}
 html[data-sbx-app] body.sbx-app.sbx-compose-view .sbx-compose-heading{flex-wrap:nowrap!important;gap:8px!important}
 html[data-sbx-app] body.sbx-app.sbx-compose-view .sbx-compose-heading h1{font-size:18px!important;white-space:nowrap}
 html[data-sbx-app] body.sbx-app.sbx-compose-view #composebodycontainer .tox-tinymce{height:clamp(200px,calc(100dvh - 340px),440px)!important;max-height:440px!important;min-height:200px!important}
 html[data-sbx-app] body.sbx-app.sbx-compose-view #composebodycontainer{max-height:460px!important}
}
.sbx-reader-more{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;text-decoration:none;color:var(--sb-ink)}
.sbx-header-reader-tools .sbx-reader-more .inner{display:none!important}
html[data-sbx-app] body.sbx-app.sbx-single-page #layout-list>.footer{display:none!important}
.sbx-header-reader-tools .sbx-reader-more:before{display:none!important}.sbx-header-reader-tools .sbx-reader-more-icon{display:inline-flex!important}
#toolbar-menu .sbx-reader-more-icon{display:none!important}
@media(max-width:760px){
 html[data-sbx-app] body.sbx-app[data-sbx-task=addressbook] #layout-list>.header,html[data-sbx-app] body.sbx-app[data-sbx-task=addressbook] #layout-list #searchform{display:none!important}
 .sbx-header-controls .sbx-contact-add{width:44px;min-width:44px;height:44px;justify-content:center;background:transparent;color:var(--sb-ink);padding:0}
 .sbx-header-controls .sbx-contact-add span{display:none}.sbx-header-controls .sbx-contact-add svg{width:22px;height:22px}
 html[data-sbx-app] body.sbx-app[data-sbx-task=settings] #layout-sidebar>.header{display:none!important}
 .sbx-calendar-view .smartbiz-calendar-head h1,.sbx-calendar-view .smartbiz-calendar-head p{display:none!important}
}
html[data-smartbiz-theme=dark] body.sbx-frame #messagebody,html[data-smartbiz-theme=dark] body.sbx-frame #messagebody *:not(img):not(svg):not(path){color:#f4f5f1!important;background-color:transparent!important;border-color:#465048!important}
html[data-smartbiz-theme=dark] body.sbx-frame #messagebody a,html[data-smartbiz-theme=dark] body.sbx-frame #message-header a{color:#a8d8f2!important}
html body.sbx-frame #message-header .header-links{font-size:12px!important;color:var(--sb-muted)!important}
html[data-sbx-app] body.sbx-app .sbx-brand{background-image:none!important}
.sbx-brand-image{display:block!important;width:145px!important;height:42px!important;max-width:100%!important;object-fit:contain!important;object-position:left center!important}
@media(max-width:760px){html[data-sbx-app] body.sbx-app .sbx-search input{font-size:16px!important}}
html[data-sbx-app][data-smartbiz-theme] body.sbx-app .sbx-header>.sbx-brand{background:none!important}
html[data-sbx-app] body.sbx-app #sbx-nav #mailboxlist li.selected{background:transparent!important;border:0!important;box-shadow:none!important}
html[data-sbx-app] body.sbx-app #toolbar-menu a.reply-all>.inner{display:none!important}
.sbx-reply-all-label{display:inline!important}
html[data-sbx-app] body.sbx-app .sbx-mobile-nav .sbx-task.active{color:#805f00!important}
html[data-sbx-app][data-smartbiz-theme=dark] body.sbx-app .sbx-mobile-nav .sbx-task.active{color:#ffcc00!important}
html[data-sbx-app] body.sbx-app #composebodycontainer>textarea#composebody{height:clamp(220px,calc(100dvh - 410px),420px)!important;min-height:220px!important;max-height:420px!important;resize:vertical!important}
@media(max-width:760px){html[data-sbx-app] body.sbx-app #composebodycontainer>textarea#composebody{height:clamp(200px,calc(100dvh - 340px),440px)!important;min-height:200px!important;max-height:440px!important}}
/* Mailbox storage: label, actual used/total and percentage, then quota bar. */
html[data-sbx-app] body.sbx-app #sbx-nav .sbx-storage{display:flex!important;flex-direction:column;gap:10px!important;padding:20px 8px!important;margin-top:auto!important;border-top:1px solid var(--sb-line)!important;color:var(--sb-ink)!important;font-size:14px!important;flex:none;min-height:100px}
html[data-sbx-app] body.sbx-app #sbx-nav .sbx-storage:before,html[data-sbx-app] body.sbx-app #sbx-nav .sbx-storage .count:before{display:none!important}
.sbx-storage-heading{font-weight:600;font-size:14px}.sbx-storage-values{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}.sbx-storage-amount{min-width:0;overflow-wrap:anywhere}.sbx-storage .count{flex:none!important;font-size:13px!important;line-height:1.4!important;color:var(--sb-ink)!important}
.sbx-storage-track{height:7px;border-radius:4px;background:var(--sb-line);overflow:hidden;width:100%}.sbx-storage-fill{display:block;height:100%;background:var(--sb-accent);border-radius:inherit}
html[data-sbx-app] body.sbx-app #sbx-nav .sbx-storage{width:100%!important;max-width:none!important;align-items:stretch!important;text-align:left!important}
html[data-sbx-app] body.sbx-app #sbx-nav .sbx-storage .count{margin-left:auto!important;text-align:right!important}
/* Reader: one scrolling document, shared brand header, complete dark surface. */
.sbx-mobile-context{display:none}
#sbz-reader-actions{display:none!important}
html[data-sbx-app] body.sbx-app:not(.sbx-compose-view)[data-sbx-task=mail] #layout-content{overflow:hidden!important}
html[data-sbx-app] body.sbx-app #layout-content>.header{flex-shrink:0!important}
html[data-sbx-app] body.sbx-app #layout-content>.iframe-wrapper{display:flex!important;flex:1 1 0!important;min-height:0!important;overflow:hidden!important}
html[data-sbx-app] body.sbx-app #messagecontframe{display:block!important;width:100%!important;height:100%!important;flex:1 1 0!important;min-height:0!important;vertical-align:top!important}
html.sbx-reader-frame-root{height:100%!important;overflow:hidden!important}
html.sbx-reader-frame-root body.sbx-reader-frame{height:100%!important;min-height:0!important;overflow:auto!important;box-sizing:border-box!important;margin:0!important;scrollbar-width:thin;scrollbar-color:var(--sb-muted) var(--sb-bg)}
html.sbx-reader-frame-root body.sbx-reader-frame #layout-content{min-height:0!important;height:auto!important;overflow:visible!important}
html[data-sbx-app] body.sbx-app.action-show #layout-content>.frame-content{flex:1 1 0!important;min-height:0!important;overflow:auto!important;padding:24px!important}
html[data-smartbiz-theme=dark] body.sbx-app #messagebody,html[data-smartbiz-theme=dark] body.sbx-app #messagebody *:not(img):not(svg):not(path),html[data-smartbiz-theme=dark] body.sbx-frame #messagebody,html[data-smartbiz-theme=dark] body.sbx-frame #messagebody *:not(img):not(svg):not(path){background-color:transparent!important;color:#f4f5f1!important;border-color:#465048!important}
html[data-smartbiz-theme=dark] body.sbx-app #message-content,html[data-smartbiz-theme=dark] body.sbx-app #message-content>.rightcol,html[data-smartbiz-theme=dark] body.sbx-app #layout-content>.frame-content{background:var(--sb-bg)!important;color:var(--sb-ink)!important}
html[data-smartbiz-theme=dark] body.sbx-app #messagebody a{color:#a8d8f2!important}
html[data-sbx-app] body.sbx-app #sbx-nav .sbx-storage{min-height:60px!important;padding:20px 8px 8px!important;border-top:0!important;gap:8px!important}
html[data-sbx-app] body.sbx-app #sbx-nav .sbx-storage>.bar,html[data-sbx-app] body.sbx-app #sbx-nav .sbx-storage-heading{display:none!important}
html[data-sbx-app] body.sbx-app #sbx-nav .sbx-storage-values,html[data-sbx-app] body.sbx-app #sbx-nav .sbx-storage .count{font-size:14px!important;font-weight:500!important}
@media(max-width:760px){
 html[data-sbx-app] body.sbx-app{padding-top:108px!important}
 html[data-sbx-app] body.sbx-app>.sbx-header,html[data-sbx-app] body.sbx-app.sbx-compose-view.sbx-compose-reference>.sbx-header{display:flex!important;height:60px!important;gap:6px!important;padding:0 10px!important;left:0!important;right:0!important;width:100%!important;transform:none!important}
 html[data-sbx-app] body.sbx-app .sbx-header>.sbx-brand,html[data-sbx-app] body.sbx-app.sbx-compose-view.sbx-compose-reference>.sbx-header .sbx-brand{display:block!important;width:118px!important;flex:0 1 118px!important;height:44px!important;min-width:90px!important}
 html[data-sbx-app] body.sbx-app .sbx-brand-image{width:118px!important;height:44px!important}
 html[data-sbx-app] body.sbx-app .sbx-header-controls{display:flex!important;gap:3px!important;margin-left:auto!important}
 html[data-sbx-app] body.sbx-app .sbx-header .sbx-account{display:block!important}
 html[data-sbx-app] body.sbx-app .sbx-header .sbx-language{width:48px!important;min-width:48px!important;font-size:13px!important;padding:0 2px!important}
 html[data-sbx-app] body.sbx-app .sbx-header .sbx-icon-button{width:36px!important;min-width:36px!important;padding:6px!important}
 html[data-sbx-app] body.sbx-app .sbx-header .sbx-avatar{width:32px!important;height:32px!important}
 html[data-sbx-app] body.sbx-app .sbx-header>.sbx-search{display:none!important}
 html[data-sbx-app] body.sbx-app>.sbx-mobile-context{display:flex;align-items:center;gap:6px;position:fixed;top:60px;left:0;right:0;height:48px;padding:0 12px;background:var(--sb-bg);border-bottom:1px solid var(--sb-line);z-index:990}
 html[data-sbx-app] body.sbx-app .sbx-mobile-context .sbx-mobile-title{display:block;font-size:16px!important}
 html[data-sbx-app] body.sbx-app .sbx-mobile-context .sbx-header-back{display:none}
 html[data-sbx-app] body.sbx-app.sbx-reading .sbx-mobile-context .sbx-header-back{display:grid;width:36px;height:44px;place-items:center;border:0;background:none;color:var(--sb-ink)}
 html[data-sbx-app] body.sbx-app .sbx-mobile-context .sbx-header-reader-tools{display:none}
 html[data-sbx-app] body.sbx-app.sbx-reading .sbx-mobile-context .sbx-header-reader-tools{display:flex;margin-left:auto}
 html[data-sbx-app] body.sbx-app #layout{height:calc(100dvh - 172px)!important}
 html[data-sbx-app] body.sbx-app .sbx-nav{top:60px!important}
 html[data-sbx-app] body.sbx-app.sbx-compose-view.sbx-compose-reference{padding-top:60px!important}
 html[data-sbx-app] body.sbx-app.sbx-compose-view>.sbx-mobile-context{display:none!important}
 html[data-sbx-app] body.sbx-app.sbx-compose-view.sbx-compose-reference #layout,html[data-sbx-app] body.sbx-app.sbx-compose-view.sbx-compose-reference #layout #layout-content{height:calc(100dvh - 60px)!important}
 html[data-sbx-app] body.sbx-app.sbx-compose-view.sbx-compose-reference .sbx-header .sbx-mobile-menu{display:none!important}
}
