/* Signed-in application shell: separate from the public floating navigation. */
body.hw-theme.ml-workspace{--hw-header-height:52px;--hw-nav-width:190px;--hw-nav-strip-height:52px;font-size:13px;line-height:1.45}
body.hw-theme header.ml-workspace-topbar{position:fixed!important;inset:0 0 auto!important;width:100%!important;max-width:none!important;height:var(--hw-header-height)!important;min-height:var(--hw-header-height)!important;margin:0!important;padding:0 14px 0 20px!important;display:flex!important;align-items:center;gap:10px;background:rgba(255,252,246,.96)!important;border:0!important;border-bottom:1px solid #e9e0d4!important;border-radius:0!important;box-shadow:none!important;transform:none!important;z-index:750!important;view-transition-name:workspace-header}
.ml-workspace-topbar .ml-workspace-brand{display:flex;align-items:center;flex:0 0 auto;text-decoration:none;padding:0;margin:0;line-height:1}
.hw-theme .ml-workspace-topbar .ml-supplied-symbol{width:29px!important;height:29px!important}
.ml-workspace-topbar .ml-workspace-label{font:550 12px/1.3 Inter,system-ui,sans-serif;color:#69716b}
.ml-workspace-topbar .ml-workspace-actions{display:flex;align-items:center;justify-content:flex-end;margin-left:auto;min-width:0}
.ml-workspace-topbar .ml-workspace-legacy{display:none!important}
.hw-theme .ml-workspace-topbar .hw-account{margin-left:0!important}
.hw-theme .ml-workspace-topbar .hw-account-button{min-height:34px;max-width:180px;padding:3px 9px 3px 3px;gap:7px;background:#fffefa;border-color:#e4dacd;font-size:12px;line-height:1.3}
.hw-theme .ml-workspace-topbar .hw-account-avatar{width:25px;height:25px;flex-basis:25px;font-size:10px}
.hw-theme .ml-workspace-topbar .hw-account-name{display:block!important;max-width:108px;font-weight:600}
.hw-theme .ml-workspace-topbar .hw-account-popover{position:absolute!important;top:calc(100% + 9px)!important;right:0!important;width:min(230px,calc(100vw - 24px));max-height:calc(calc(100dvh / var(--ml-z,1)) - 68px);overflow-y:auto}
.ml-workspace .hw-workspace-content{container-type:inline-size;container-name:workspace}
.hw-theme.ml-workspace .hw-fixed-navigation{padding:14px 8px 10px!important}
.hw-theme.ml-workspace .hw-fixed-navigation>a{min-height:42px!important;padding:5px 8px!important;margin:1px 0!important;gap:8px!important}
.hw-theme.ml-workspace .hw-fixed-navigation>a>span{font-size:12px!important;line-height:1.35}
.hw-theme.ml-workspace .hw-nav-object{width:27px;height:27px;flex-basis:27px}
.hw-theme.ml-workspace .hw-fixed-navigation>a.active:before{top:12px;height:17px}
.hw-theme.ml-workspace .hw-nav-art img{width:130px;height:86px}
.hw-theme.ml-workspace .hw-workspace-content :is(.page,.ml-page,main.shell),.hw-theme.ml-workspace .hw-workspace-content>main:not(.admin-main):not(.ml-main),.hw-theme.ml-workspace.hw-form .hw-workspace-content main.page{max-width:1480px!important;padding:18px 22px 30px!important;min-width:0}
.hw-theme.ml-workspace .hw-workspace-content :is(.ml-page-banner,.page-heading,.heading,.form-page-banner){min-height:64px!important;padding:12px 16px!important;padding-right:112px!important;margin-bottom:14px!important;border-radius:14px}
.hw-theme.ml-workspace .hw-workspace-content :is(.ml-page-banner,.page-heading,.heading,.form-page-banner) h1,.hw-theme.ml-workspace .hw-workspace-content .page-title{font-size:clamp(21px,1.5vw,24px)!important;line-height:1.2}
.hw-theme.ml-workspace .hw-workspace-content :is(.ml-page-banner,.page-heading,.heading,.form-page-banner) p{font-size:12px;line-height:1.45}
.hw-theme.ml-workspace .hw-workspace-content :is(.ml-page-banner,.page-heading,.heading,.form-page-banner):after{width:100px;height:66px;right:8px}
.hw-theme.ml-workspace .hw-workspace-content :is(.summary-grid,.cards,.metric-grid){gap:10px;margin-bottom:14px}
.hw-theme.ml-workspace .hw-workspace-content .kpi{min-height:86px!important;padding:12px!important;border-radius:13px}
.hw-theme.ml-workspace .hw-workspace-content .kpi-value{font-size:23px!important;line-height:1.1}
.hw-theme.ml-workspace .hw-workspace-content :is(.kpi-label,.kpi-sub){font-size:11px;line-height:1.4}
.hw-theme.ml-workspace .hw-workspace-content :is(.block,.tool-panel,.output){padding:14px;border-radius:14px;min-width:0}
.hw-theme.ml-workspace .hw-workspace-content :is(.block h2,.panel-head h2,.output-head h3){font-size:15px;line-height:1.3;margin-bottom:10px}
.hw-theme.ml-workspace .hw-workspace-content :is(.field label,.ml-label){font-size:12px}
.hw-theme.ml-workspace .hw-workspace-content .field{margin-bottom:10px}
.hw-theme.ml-workspace .hw-workspace-content :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]){min-height:36px;font-size:13px;line-height:1.45;padding:7px 10px}
.hw-theme.ml-workspace .hw-workspace-content :is(.btn,.ml-btn,.submit-btn,.send-btn){min-height:34px;font-size:12px;padding:7px 11px}
.hw-theme.ml-workspace .hw-workspace-content td{font-size:12px;line-height:1.45;padding:10px}
.hw-theme.ml-workspace .hw-workspace-content th{font-size:11px;padding:9px 10px}
.hw-theme.ml-workspace .hw-workspace-content :is(.insight-grid,.analytics-grid,.tool-grid){gap:12px;min-width:0}
.hw-theme.ml-workspace .hw-workspace-content :is(.summary-grid,.metric-grid,.insight-grid,.analytics-grid,.tool-grid)>*{min-width:0}
.hw-theme.ml-workspace .hw-workspace-content :is(.tbl-wrap,.table-wrap){max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
@container workspace (min-width:760px){.hw-theme.ml-workspace .hw-workspace-content :is(.summary-grid,.metric-grid){grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@container workspace (min-width:900px){.hw-theme.ml-workspace .hw-workspace-content .insight-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.5fr)!important}}
@container workspace (max-width:880px){.hw-theme.ml-workspace .hw-workspace-content :is(.insight-grid,.analytics-grid,.tool-grid){grid-template-columns:minmax(0,1fr)!important}}
@container workspace (min-width:850px){
 /* Send Document: the document on the left; who, details and Send on the right. */
 .hw-theme.ml-workspace.hw-form #sendForm{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);grid-template-rows:auto auto auto auto 1fr;column-gap:16px;row-gap:12px;align-items:start}
 .hw-theme.ml-workspace.hw-form #sendForm>.block{margin-bottom:0!important}
 .hw-theme.ml-workspace.hw-form #sendForm>#sendsBanner{grid-column:1/-1;grid-row:1;margin:0!important}
 .hw-theme.ml-workspace.hw-form #sendForm>#docBlock{grid-column:1;grid-row:2/span 4;align-self:stretch;display:flex;flex-direction:column}
 .hw-theme.ml-workspace.hw-form #docBlock>.field{flex:1;display:flex;flex-direction:column}
 .hw-theme.ml-workspace.hw-form #uploadZone{flex:1;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px!important}
 .hw-theme.ml-workspace.hw-form #uploadZone>i{font-size:30px!important;margin-bottom:8px!important}
 .hw-theme.ml-workspace.hw-form #sendForm>#sendModeBlock{grid-column:2;grid-row:2}
 .hw-theme.ml-workspace.hw-form #sendForm>#singleBlock{grid-column:2;grid-row:3}
 .hw-theme.ml-workspace.hw-form #sendForm>#detailsBlock{grid-column:2;grid-row:4}
 .hw-theme.ml-workspace.hw-form #sendForm>#multiBlock{grid-column:1/-1;grid-row:6}
 .hw-theme.ml-workspace.hw-form #sendForm>#sendBtn{grid-column:2;grid-row:5;justify-self:end;align-self:start}
 .hw-theme.ml-workspace.hw-form #sendForm>:is(#msgSuccess,#msgError){grid-column:1/-1;grid-row:7}
 /* Bulk send follows the complete recipient list, in both manual and CSV modes. */
 .hw-theme.ml-workspace.hw-form #sendForm[data-send-mode="multi"]{grid-template-rows:auto auto auto auto auto}
 .hw-theme.ml-workspace.hw-form #sendForm[data-send-mode="multi"]>#docBlock{grid-row:2}
 .hw-theme.ml-workspace.hw-form #sendForm[data-send-mode="multi"]>#multiBlock{grid-row:3}
 .hw-theme.ml-workspace.hw-form #sendForm[data-send-mode="multi"]>#sendBtn{grid-column:1/-1;grid-row:4;justify-self:end;margin-top:0}
 .hw-theme.ml-workspace.hw-form #sendForm[data-send-mode="multi"]>:is(#msgSuccess,#msgError){grid-row:5}

 .hw-theme.ml-workspace.hw-form #btnScan{min-height:38px;padding:8px!important}
 .hw-theme.ml-workspace.hw-form #fileError:empty{display:none}
 .hw-theme.ml-workspace.hw-form #sendModeBlock button{min-height:38px;padding:9px!important;font-size:12.5px!important}
 .hw-theme.ml-workspace.hw-form #detailsBlock>.field{display:inline-block;width:calc(50% - 6px);vertical-align:top}
 .hw-theme.ml-workspace.hw-form #detailsBlock>.field+.field{margin-left:8px}
}
}
@media(max-height:820px) and (min-width:901px){.hw-theme.ml-workspace .hw-workspace-content :is(.page,.ml-page,main.shell),.hw-theme.ml-workspace .hw-workspace-content>main:not(.admin-main):not(.ml-main),.hw-theme.ml-workspace.hw-form .hw-workspace-content main.page{padding-top:14px!important}.ml-workspace .hw-nav-art{display:none}}
@media(max-width:1100px) and (min-width:901px){body.hw-theme.ml-workspace{--hw-nav-width:180px}}
@media(max-width:900px){body.hw-theme.ml-workspace{--hw-nav-width:0px}.hw-theme.ml-workspace .hw-fixed-navigation{padding:5px 10px!important}.hw-theme.ml-workspace .hw-workspace-content :is(.page,.ml-page,main.shell),.hw-theme.ml-workspace .hw-workspace-content>main:not(.admin-main):not(.ml-main),.hw-theme.ml-workspace.hw-form .hw-workspace-content main.page{padding:16px!important}.hw-theme.ml-workspace .hw-workspace-content :is(.ml-page-banner,.page-heading,.heading,.form-page-banner){padding-right:16px!important}}
@media(max-width:600px){body.hw-theme.ml-workspace{--hw-nav-strip-height:112px}.hw-theme header.ml-workspace-topbar{padding:0 10px 0 14px!important}.hw-theme .ml-workspace-topbar .hw-account-button{min-height:40px;padding:4px 9px 4px 4px}.hw-theme .ml-workspace-topbar .hw-account-avatar{width:27px;height:27px;flex-basis:27px}.hw-theme.ml-workspace .hw-fixed-navigation{padding:6px 8px!important}.hw-theme.ml-workspace .hw-fixed-navigation>a{min-height:48px!important;gap:5px!important;padding:5px 6px!important}.hw-theme.ml-workspace .hw-fixed-navigation>a>span{font-size:10.5px!important}.hw-theme.ml-workspace .hw-nav-object{width:22px;height:22px;flex-basis:22px}.hw-theme.ml-workspace .hw-workspace-content :is(.page,.ml-page,main.shell),.hw-theme.ml-workspace .hw-workspace-content>main:not(.admin-main):not(.ml-main),.hw-theme.ml-workspace.hw-form .hw-workspace-content main.page{padding:14px 12px 26px!important}.hw-theme.ml-workspace .hw-workspace-content :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]){font-size:16px;min-height:44px}.hw-theme.ml-workspace .hw-workspace-content :is(.btn,.ml-btn,.submit-btn,.send-btn){min-height:44px}.hw-theme.ml-workspace .hw-workspace-content .kpi{min-height:88px!important}.hw-theme.ml-workspace .hw-workspace-content :is(.summary-grid,.metric-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:380px){.hw-theme.ml-workspace .hw-workspace-content :is(.summary-grid,.metric-grid){grid-template-columns:minmax(0,1fr)!important}}
/* Cached child pages never reserve or render a second shell. */
html.hw-embedded body.ml-workspace .ml-workspace-topbar{display:none!important}
html.hw-embedded body.ml-workspace .hw-workspace-content{margin-left:0!important;padding-top:0!important}
/* Copyright and version at the foot of the workspace sidebar. */
.hw-fixed-navigation .ml-side-legal{margin:auto 6px 4px;padding-top:10px;font:500 10.5px/1.5 Inter,system-ui,sans-serif;color:#8a8f99}
.hw-fixed-navigation .ml-side-legal span{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
@media(max-width:900px){.hw-fixed-navigation .ml-side-legal{display:none}}

/* Send Document everywhere: neutral cards, a real Send button (not a full-width bar). */
.hw-theme.hw-form #sendForm>.block{border-top:1px solid var(--line,#eee5d7)!important}
.hw-theme.hw-form #sendForm>#sendBtn{width:auto!important;min-width:180px;min-height:44px!important;padding:11px 26px!important;border-radius:999px!important;font-size:14px!important;font-weight:700;background:#e9461c!important;color:#fff!important;opacity:1!important;box-shadow:0 8px 20px #e9461c33;justify-content:center}
.hw-theme.hw-form #sendForm>#sendBtn:hover:not(:disabled){background:#cc3815!important}
.hw-theme.hw-form #sendForm>#sendBtn:disabled{background:#ece6dc!important;color:#8a8f99!important;box-shadow:none;cursor:not-allowed}
@media(max-width:900px){.hw-theme.hw-form #sendForm>#sendBtn{width:100%!important}}
.hw-theme .ml-workspace-topbar .ml-supplied-full{width:150px!important;height:auto!important}
@media(max-width:600px){.hw-theme .ml-workspace-topbar .ml-supplied-full{width:118px!important}}
