/* Shared density, sized for laptop CSS viewports rather than physical pixels. */
body.hw-theme{font-size:14px;line-height:1.5;--hw-header-height:56px;--hw-nav-width:216px;--hw-nav-strip-height:56px}
.hw-theme .hw-fixed-navigation{padding:18px 10px 12px!important}
.hw-theme .hw-fixed-navigation>a{min-height:44px;padding:6px 9px!important;margin:2px 0!important;gap:9px}
.hw-theme .hw-fixed-navigation>a>span{font-size:12px;line-height:1.4}
.hw-theme .hw-nav-object{width:30px;height:30px;flex-basis:30px}
.hw-theme .hw-fixed-navigation>a.active:before{top:13px;height:18px}
.hw-theme .hw-nav-art{padding-top:16px}.hw-theme .hw-nav-art img{width:150px;height:100px}
.hw-theme header:is(.hdr,.header,.ml-top,.top){padding:0 22px!important}
.hw-theme .hw-account-button{min-height:36px;max-width:220px;padding:4px 9px 4px 4px;font-size:12px;gap:7px}
.hw-theme .hw-account-avatar{width:26px;height:26px;flex-basis:26px;font-size:10px}
.hw-theme .ml-supplied-symbol{width:34px!important;height:34px!important}
.hw-theme .hw-workspace-content :is(.page,.ml-page,main.shell),.hw-theme .hw-workspace-content>main:not(.admin-main):not(.ml-main),.hw-theme.hw-form .hw-workspace-content main.page{max-width:1280px!important;padding:22px 24px 36px!important}
.hw-theme .hw-workspace-content :is(.ml-page-banner,.page-heading,.heading,.form-page-banner){min-height:80px!important;padding:15px 18px!important;padding-right:136px!important;margin-bottom:18px!important;border-radius:17px}
.hw-theme .hw-workspace-content :is(.ml-page-banner,.page-heading,.heading,.form-page-banner) h1,.hw-theme .hw-workspace-content .page-title{font-size:clamp(22px,1.55vw,26px)!important;line-height:1.2;letter-spacing:-.035em}
.hw-theme .hw-workspace-content :is(.ml-page-banner,.page-heading,.heading,.form-page-banner) p{font-size:12px;line-height:1.5;margin-top:5px}
.hw-theme .hw-workspace-content :is(.ml-page-banner,.page-heading,.heading,.form-page-banner):after{width:122px;height:80px;right:9px}
.hw-theme .hw-workspace-content :is(.summary-grid,.cards){gap:12px;margin-bottom:18px}
.hw-theme .hw-workspace-content .kpi{padding:16px!important;min-height:108px!important;border-radius:15px}
.hw-theme .hw-workspace-content .kpi-value{font-size:25px;line-height:1.15;letter-spacing:-.5px}
.hw-theme .hw-workspace-content :is(.kpi-label,.kpi-sub){font-size:11px;line-height:1.4}
.hw-theme .hw-workspace-content :is(.block,.tool-panel,.output){padding:16px;border-radius:16px}
.hw-theme .hw-workspace-content :is(.block h2,.panel-head h2,.output-head h3){font-size:16px;line-height:1.35;margin-bottom:12px}
.hw-theme .hw-workspace-content .field{margin-bottom:12px}
.hw-theme .hw-workspace-content :is(.field label,.ml-label){font-size:12px;line-height:1.4;margin-bottom:5px}
.hw-theme .hw-workspace-content :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]){font-size:13px;line-height:1.5;min-height:38px;padding:8px 11px;border-radius:9px}
.hw-theme .hw-workspace-content :is(.btn,.ml-btn,.submit-btn,.send-btn){font-size:12px;line-height:1.4;min-height:36px;padding:8px 13px;border-radius:10px}
.hw-theme .hw-workspace-content th{font-size:10px;line-height:1.4;padding:10px 12px}
.hw-theme .hw-workspace-content td{font-size:12px;line-height:1.5;padding:12px}
.hw-theme .hw-workspace-content .hw-page-intro{padding:15px 18px;margin-bottom:18px}
.hw-theme .hw-workspace-content .hw-page-intro h1{font-size:25px!important}.hw-theme .hw-workspace-content .hw-page-intro .hw-illustration{max-width:115px}
.hw-theme .tool-grid{gap:16px}.hw-theme .output{min-height:0}.hw-theme .output textarea{min-height:clamp(280px,calc(50dvh / var(--ml-z,1)),480px);font-size:13px;line-height:1.75}.hw-theme .review-draft{padding:12px;margin-top:14px;font-size:12px}.hw-theme .draft-meta{font-size:11px;margin:8px 0 16px}
@media(min-width:801px){.hw-theme .tool-grid{grid-template-columns:minmax(250px,.75fr) minmax(340px,1.25fr)}}
.hw-theme .hw-workspace-frame{left:var(--hw-nav-width)!important;top:var(--hw-header-height)!important;width:calc(100% - var(--hw-nav-width))!important;height:calc(calc(100dvh / var(--ml-z,1)) - var(--hw-header-height))!important}
.hw-theme .admin-initial-loader{inset:var(--hw-header-height) 0 0 var(--hw-nav-width)!important}
html.hw-embedded .admin-initial-loader{inset:0!important}
.hw-theme .hw-account-popover{top:calc(100% + 8px)}
/* Public pages keep their character without dominating the screen. */
.hw-marketing .hw-hero h1{font-size:clamp(34px,3.2vw,48px)}.hw-marketing .hw-hero{padding:26px 28px 34px}.hw-marketing .hw-hero p{font-size:16px}.hw-marketing .hw-hero>img{max-height:280px}
.hw-marketing .hw-section>h2,.hw-marketing .hw-workspace h2,.hw-marketing .hw-cta h2{font-size:clamp(26px,2.4vw,34px)}.hw-marketing .hw-section{margin:42px auto}.hw-marketing .hw-cards article h3{font-size:20px}.hw-marketing .hw-cards .hw-card-art{max-height:180px;object-fit:contain}.hw-marketing .hw-benefits{padding:22px}.hw-marketing .hw-benefits h2{font-size:21px}
.hw-theme.hw-auth .card{max-width:410px;padding:26px}.hw-theme.hw-auth .card h2{font-size:24px;margin-bottom:14px}.hw-theme.hw-auth .left-quote{font-size:clamp(26px,2.9vw,38px)}.hw-theme.hw-auth .card .field{margin-bottom:15px}.hw-theme.hw-auth .card .field input{min-height:42px;padding:9px 12px;font-size:14px}.hw-theme.hw-auth .right{padding:26px}
@media(max-height:820px) and (min-width:901px){.hw-theme .hw-workspace-content :is(.page,.ml-page,main.shell),.hw-theme .hw-workspace-content>main:not(.admin-main):not(.ml-main),.hw-theme.hw-form .hw-workspace-content main.page{padding-top:18px!important}.hw-theme .hw-workspace-content :is(.ml-page-banner,.page-heading,.heading,.form-page-banner){min-height:72px!important;padding-top:12px!important;padding-bottom:12px!important}.hw-theme .hw-workspace-content .kpi{min-height:96px!important;padding:14px!important}.hw-theme .hw-nav-art{display:none}.hw-marketing .hw-hero>img{max-height:240px}}
@media(max-width:1100px) and (min-width:901px){body.hw-theme{--hw-nav-width:196px}.hw-theme .hw-fixed-navigation>a{padding:6px 7px!important;gap:8px}.hw-theme .hw-fixed-navigation>a>span{font-size:11.5px}.hw-theme .hw-nav-object{width:28px;height:28px;flex-basis:28px}}
@media(max-width:900px){body.hw-theme{--hw-nav-width:0px}.hw-theme .hw-fixed-navigation{height:var(--hw-nav-strip-height)!important;padding:6px 10px!important}.hw-theme .hw-fixed-navigation>a{min-height:42px;white-space:nowrap;padding:6px 10px!important;margin:0!important}.hw-theme .hw-fixed-navigation>a>span{font-size:12px}.hw-theme .hw-nav-object{width:27px;height:27px;flex-basis:27px}.hw-theme .hw-workspace-content{padding-top:calc(var(--hw-header-height) + var(--hw-nav-strip-height))!important}.hw-theme .hw-workspace-frame{top:calc(var(--hw-header-height) + var(--hw-nav-strip-height))!important;height:calc(calc(100dvh / var(--ml-z,1)) - var(--hw-header-height) - var(--hw-nav-strip-height))!important;left:0!important;width:100%!important}.hw-theme .admin-initial-loader{inset:calc(var(--hw-header-height) + var(--hw-nav-strip-height)) 0 0!important}html.hw-embedded .admin-initial-loader{inset:0!important}.hw-theme .hw-workspace-content :is(.page,.ml-page,main.shell),.hw-theme .hw-workspace-content>main:not(.admin-main):not(.ml-main),.hw-theme.hw-form .hw-workspace-content main.page{padding:18px 16px 32px!important}.hw-theme .hw-workspace-content :is(.ml-page-banner,.page-heading,.heading,.form-page-banner){padding-right:18px!important}}
@media(max-width:800px){.hw-theme .tool-grid{grid-template-columns:1fr}.hw-theme .output textarea{min-height:300px}}
@media(max-width:600px){.hw-theme header:is(.hdr,.header,.ml-top,.top){padding:0 14px!important}.hw-theme .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 .hw-workspace-content :is(.btn,.ml-btn,.submit-btn,.send-btn){min-height:44px;font-size:13px}.hw-theme .hw-workspace-content :is(.ml-page-banner,.page-heading,.heading,.form-page-banner) h1{font-size:22px!important}.hw-theme.hw-auth .card .field input{font-size:16px;min-height:44px}.hw-theme .hw-account-popover{top:calc(var(--hw-header-height) + 8px)}.hw-theme .hw-workspace-content .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hw-theme .hw-workspace-content .kpi{min-height:96px!important;padding:12px!important}.hw-marketing .hw-hero h1{font-size:36px}.hw-theme.hw-auth .right{padding:20px 14px}}
@media(max-width:380px){.hw-theme .hw-workspace-content .summary-grid{grid-template-columns:1fr}.hw-theme .hw-workspace-content :is(.page,.ml-page,main.shell),.hw-theme .hw-workspace-content>main:not(.admin-main):not(.ml-main),.hw-theme.hw-form .hw-workspace-content main.page{padding-left:12px!important;padding-right:12px!important}}
/* Embedded workspace pages share density, but never reserve a second shell. */
html.hw-embedded body.hw-theme .hw-workspace-content{margin-left:0!important;padding-top:0!important}
.hw-theme .hw-workspace-content .output textarea#draft{min-height:clamp(280px,calc(50dvh / var(--ml-z,1)),480px)!important;font-size:13px;line-height:1.75}
.hw-theme .hw-workspace-content .tool-panel textarea{min-height:84px!important}
.hw-theme .modal-bg .modal{max-height:calc(calc(100dvh / var(--ml-z,1)) - 32px);overflow-y:auto}
@media(max-width:600px){.hw-theme .hw-account-button{min-height:44px}.hw-theme .hw-fixed-navigation>a{min-height:44px}.hw-theme .hw-workspace-content .output textarea#draft{font-size:16px}}
