/* Firtatjuk Műhely — the staff app shares the publication's light/dark tokens. */
body.hw-body{margin:0;background:var(--mn-paper);color:var(--mn-ink);font:14px/1.55 Inter,Arial,sans-serif;--hw-sidebar:250px;--hw-radius:9px;--hw-topbar:74px;--hw-action:#654199;--hw-on-action:#fff;--hw-positive:#196349;--hw-warning:#91531c}
.hw-body *,.hw-body *::before,.hw-body *::after{box-sizing:border-box}
.hw-body [hidden]{display:none!important}
.hw-body a{color:inherit;text-decoration:none}
.hw-body button,.hw-body input,.hw-body textarea,.hw-body select{font:inherit}
.hw-body button,.hw-body summary{cursor:pointer}
.hw-body button{color:inherit}
.hw-body h1,.hw-body h2,.hw-body h3,.hw-body h4{font-family:Inter,Arial,sans-serif;color:var(--hr-heading);font-weight:700;letter-spacing:-.035em;line-height:1.25;margin-top:0;text-wrap:pretty}
.hw-body h1{font-size:32px}.hw-body h2{font-size:21px}.hw-body h3{font-size:17px}
.hw-body p{margin:0 0 15px}.hw-body p:last-child{margin-bottom:0}
.hw-body svg{flex-shrink:0}
.hw-body img{max-width:100%;height:auto}
.hw-body fieldset{min-width:0}
.hw-body :is(input,select,textarea):disabled{cursor:not-allowed;opacity:.65}
.hw-body :is(button,.hw-button):disabled{cursor:wait;opacity:.58}
.hw-app{min-height:100vh;min-height:100dvh}
.hw-sidebar{position:fixed;inset:0 auto 0 0;z-index:1100;width:var(--hw-sidebar);display:flex;flex-direction:column;background:var(--mn-white);border-right:1px solid var(--mn-line);padding:31px 17px 20px;overflow-y:auto;overscroll-behavior:contain}
.hw-brand{display:flex;flex-direction:column;align-items:flex-start;gap:11px;padding:0 12px 33px;color:var(--mn-ink)}
.hw-brand .hr-brand-logo{display:block;width:180px!important;height:auto!important;max-width:100%}
.hw-brand>span{font-size:9px;font-weight:700;letter-spacing:.26em;color:var(--mn-muted);padding-left:2px}
.hw-nav-label{font-size:10px;font-weight:650;letter-spacing:.09em;text-transform:uppercase;color:var(--mn-muted);padding:0 13px;margin:0 0 10px!important}
.hw-sidebar nav{display:flex;flex-direction:column;gap:4px}
.hw-sidebar nav>a{display:flex;align-items:center;gap:12px;min-height:46px;padding:10px 13px;font-size:12px;font-weight:550;border-radius:6px;border:1px solid transparent;color:var(--hr-copy)}
.hw-sidebar nav>a>svg,.hw-sidebar-bottom>a>svg{width:19px;height:19px;color:var(--mn-muted)}
.hw-sidebar nav>a:hover{background:var(--mn-paper);color:var(--hr-heading)}
.hw-sidebar nav>a[aria-current="page"]{color:var(--hw-action);background:var(--hr-tint);font-weight:700}
.hw-sidebar nav>a[aria-current="page"]>svg{color:var(--hw-action)}
.hw-nav-count{margin-left:auto;display:inline-grid;place-items:center;min-width:22px;min-height:22px;padding:2px 5px;background:var(--hw-action);color:var(--hw-on-action);font-size:10px;border-radius:5px}
.hw-sidebar-bottom{margin-top:auto;padding:27px 10px 0}
.hw-sidebar-bottom>a{display:flex;align-items:center;gap:10px;font-size:11px;min-height:44px;margin-bottom:17px;color:var(--mn-muted)}
.hw-person{display:flex;align-items:center;gap:10px;padding-top:18px;border-top:1px solid var(--mn-line)}
.hw-person>div{min-width:0}
.hw-person strong{display:block;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.hw-person small{display:block;font-size:9px;color:var(--mn-muted);margin-top:3px}
.hw-avatar{display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;border:1px solid var(--mn-line);border-radius:50%;background:var(--mn-paper);color:var(--mn-ink);font-size:13px;font-weight:700}
.hw-logout{margin:5px 0 0}
.hw-logout button{background:none;border:0;padding:10px 0;min-height:44px;font-size:11px;color:var(--mn-muted)}
.hw-sidebar-bottom .hw-logout{padding-left:45px}
.hw-main{margin-left:var(--hw-sidebar);min-width:0}
.hw-topbar{min-height:var(--hw-topbar);position:sticky;top:0;z-index:80;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 34px;background:var(--mn-white);border-bottom:1px solid var(--mn-line)}
.hw-topbar-left,.hw-topbar-actions{display:flex;align-items:center;gap:15px;min-width:0}
.hw-topbar-left>span{font-size:12px;color:var(--mn-muted)}
.hw-topbar-left strong{font-weight:600;color:var(--mn-ink)}
.hw-topbar-left i{font-style:normal;margin:0 10px;color:var(--mn-muted);opacity:.6}
.hw-topbar-actions time{font-size:11px;white-space:nowrap;color:var(--mn-muted);font-variant-numeric:tabular-nums}
.hw-icon-button{width:44px;height:44px;display:inline-grid;place-items:center;background:transparent;border:1px solid transparent;border-radius:6px;padding:10px;color:var(--mn-ink)}
.hw-icon-button svg{width:20px;height:20px}.hw-icon-button:hover{background:var(--mn-paper)}
.hw-topbar-left [data-hw-menu]{display:none}
.hw-content{max-width:1320px;margin:0 auto;padding:32px 34px 20px;min-height:calc(100vh - var(--hw-topbar))}
.hw-page-heading{margin-bottom:26px}.hw-page-heading h1{font-size:30px;margin:0 0 8px}.hw-page-heading>p:last-child{font-size:13px;color:var(--mn-muted)}
.hw-eyebrow{font-size:9px!important;font-weight:700;letter-spacing:.16em!important;color:var(--mn-muted);text-transform:uppercase;margin-bottom:9px!important}
.hw-content-footer{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;color:var(--mn-muted);padding:28px 0 8px;flex-wrap:wrap}
.hw-content-footer span{color:var(--mn-line)}
.hw-welcome{background:#112b45;color:#fff;border:1px solid #213b55;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:29px 32px;border-radius:var(--hw-radius);margin-bottom:22px;overflow:hidden}
.hw-welcome-kicker{display:block;font-size:8px;font-weight:600;letter-spacing:.17em;color:#c5b3e4;margin-bottom:15px}
.hw-welcome h2{font-size:35px;letter-spacing:-.045em;color:#fff!important;line-height:1.15;margin:0 0 10px}
.hw-welcome p{font-size:12px;color:#c5d2e0;max-width:460px}
.hw-welcome-mark{display:grid;place-items:center;width:106px;height:106px;border:1px solid #3b4a6a;background:#1c354f;border-radius:50%;flex:0 0 106px;color:#bca4e5}
.hw-welcome-mark svg{width:54px;height:54px;stroke-width:1.25}
.hw-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 23px}
.hw-stat{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:147px;background:var(--mn-white);border:1px solid var(--mn-line);border-radius:var(--hw-radius);padding:20px}
.hw-stat>span,.hw-stat h2{font-size:11px;font-weight:550;line-height:1.55;margin:0;color:var(--mn-muted);letter-spacing:0}
.hw-stat>strong{font-size:34px;line-height:1.2;letter-spacing:-.045em;font-weight:700;display:block;margin:14px 0 8px;color:var(--hr-heading);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:100%}
.hw-stat>small,.hw-stat>p{font-size:9px;font-weight:400;line-height:1.6;margin:0;color:var(--mn-muted)}
a.hw-stat:hover{border-color:var(--mn-accent)}
.hw-overview-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:22px;align-items:start}
.hw-panel{background:var(--mn-white);border:1px solid var(--mn-line);padding:25px;border-radius:var(--hw-radius);min-width:0;margin-bottom:22px}
.hw-panel h2{font-size:19px;margin:0 0 16px}.hw-panel>p{font-size:12px;color:var(--mn-muted)}
.hw-panel-heading,.hw-panel-head,.hw-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}
.hw-panel-heading h1{font-size:26px;margin:0 0 10px}.hw-panel-heading h2,.hw-panel-head h2,.hw-section-head h2{margin:0}
.hw-panel-heading p,.hw-panel-head p{font-size:12px;color:var(--mn-muted);margin:8px 0 0}
.hw-panel-heading>.hw-button,.hw-panel-head>.hw-button,.hw-section-head>.hw-button{flex-shrink:0}
.hw-panel-heading>.hw-badge{flex-shrink:0;margin-top:4px}
.hw-shortcuts{display:flex;flex-direction:column;gap:3px}
.hw-shortcuts>a{display:flex;gap:14px;align-items:center;min-height:82px;padding:14px 0;border-top:1px solid var(--mn-line)}
.hw-shortcuts>a:first-child{border-top:0;padding-top:0}
.hw-shortcut-icon{width:39px;height:39px;flex:0 0 39px;display:grid;place-items:center;border:1px solid var(--mn-line);background:var(--mn-paper);border-radius:7px;color:var(--mn-muted)}
.hw-shortcut-icon svg{width:20px;height:20px}
.hw-shortcuts strong{font-size:12px;font-weight:650;display:block}.hw-shortcuts p{font-size:10px;line-height:1.6;color:var(--mn-muted);margin:4px 0 0}
.hw-shortcuts>a:hover strong{color:var(--mn-accent)}
.hw-compact-story{display:flex;flex-wrap:wrap;align-items:center;gap:7px 10px;border-top:1px solid var(--mn-line);padding:15px 0}
.hw-compact-story>strong{width:100%;font-size:13px;line-height:1.45;order:2}.hw-compact-story>small{font-size:9px;color:var(--mn-muted);margin-left:auto}
.hw-compact-story:hover strong{color:var(--mn-accent)}
.hw-badge,.hw-tag{display:inline-flex;align-items:center;gap:7px;max-width:100%;border:1px solid var(--mn-line);background:var(--mn-paper);color:var(--mn-ink);border-radius:4px;padding:4px 7px;font-size:9px;font-weight:600;line-height:1.5;white-space:normal}
.hw-tag{display:table;margin-top:7px}.hw-badge strong{font-variant-numeric:tabular-nums}
.hw-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;border:1px solid var(--hw-action);background:var(--hw-action);color:var(--hw-on-action)!important;border-radius:5px;padding:11px 17px;font-size:12px;font-weight:650;line-height:1.45;text-align:center;text-decoration:none;cursor:pointer;white-space:normal}
.hw-button svg{width:17px;height:17px}.hw-button:hover{filter:brightness(.94)}
.hw-button--small{font-size:11px;padding:9px 14px;min-height:44px}
.hw-button--secondary{background:var(--mn-white);color:var(--mn-ink)!important;border-color:var(--mn-line)}
.hw-button--secondary:hover{background:var(--mn-paper);filter:none}
.hw-form{display:flex;flex-direction:column;align-items:stretch;gap:18px;max-width:100%;margin:18px 0 0}
.hw-form>.hw-button{align-self:flex-start}.hw-form--narrow{max-width:560px}
.hw-field{display:flex;flex-direction:column;align-items:stretch;gap:7px;font-size:11px;font-weight:600;line-height:1.5;min-width:0;color:var(--mn-ink)}
.hw-field>span,.hw-field>label{font-weight:600}
.hw-field input:not([type="checkbox"]):not([type="radio"]),.hw-field select,.hw-field textarea{display:block;min-width:0;width:100%;max-width:100%;min-height:46px;border:1px solid var(--mn-line);border-radius:5px;background:var(--mn-white);color:var(--mn-ink);padding:11px 12px;font-size:14px;line-height:1.5;font-weight:400;box-shadow:none}
.hw-field input::placeholder,.hw-field textarea::placeholder{color:var(--mn-muted);opacity:.8}
.hw-field textarea{resize:vertical;min-height:115px}.hw-field textarea[rows="3"]{min-height:90px}
.hw-field small,.hw-help{font-size:10px;line-height:1.7;font-weight:400;color:var(--mn-muted)}
.hw-field input[type="date"]{appearance:none;-webkit-appearance:none}
.hw-body input[type="checkbox"],.hw-body input[type="radio"]{width:18px;height:18px;accent-color:var(--hw-action);flex-shrink:0;margin:0}
.hw-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.hw-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}.hw-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}
.hw-filter-form{display:flex;flex-direction:row;align-items:flex-end;gap:12px;margin:0 0 20px;flex-wrap:wrap}
.hw-filter-form .hw-field{flex:1;max-width:480px;min-width:170px}.hw-filter-form>.hw-button{align-self:flex-end}
.hw-muted{font-size:11px;line-height:1.7;color:var(--mn-muted)}
.hw-notice{font-size:12px;line-height:1.7;color:var(--mn-ink)!important;background:var(--hr-tint);border:1px solid var(--mn-line);border-left:3px solid var(--mn-accent);border-radius:4px;padding:14px 16px;margin:16px 0}
.hw-body [data-hw-status]{font-size:12px;line-height:1.6;color:var(--mn-muted);overflow-wrap:anywhere;margin:0}
.hw-body [data-hw-status]:empty{display:none}
.hw-body [data-hw-status][data-error="true"],.hw-body [data-hw-status].is-error{color:#a73333}
.hw-body [data-hw-invite]{display:block;max-width:100%;overflow-wrap:anywhere}
.hw-empty{padding:30px 18px;text-align:center;font-size:12px;color:var(--mn-muted)}
.hw-empty h2,.hw-empty h3{font-size:18px}.hw-empty .hw-button{margin-top:12px}
.hw-body summary{font-size:12px;font-weight:600;line-height:1.5;min-height:44px;padding:12px 0;color:var(--mn-ink)}
.hw-body details[open]>summary{margin-bottom:8px}
.hw-body .hw-panel>details+details{border-top:1px solid var(--mn-line);margin-top:12px}
.hw-back,.hw-muted-link{display:inline-flex;align-items:center;min-height:44px;font-size:11px;color:var(--mn-muted)!important}
.hw-back{margin-bottom:12px}.hw-back:hover,.hw-muted-link:hover{color:var(--mn-ink)!important}
.hw-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;border:1px solid var(--mn-line);border-radius:6px}
.hw-table{width:100%;border-collapse:collapse;border-spacing:0;font-size:11px;text-align:left;line-height:1.6}
.hw-table caption{text-align:left;font-size:11px;padding:13px;color:var(--mn-muted)}
.hw-table th,.hw-table td{padding:15px 14px;vertical-align:top;border:0;border-bottom:1px solid var(--mn-line);overflow-wrap:anywhere;min-width:95px}
.hw-table thead th{font-size:9px;letter-spacing:.02em;color:var(--mn-muted);font-weight:650;white-space:nowrap;background:var(--mn-paper);padding-block:12px}
.hw-table tbody tr:last-child>*{border-bottom:0}.hw-table tbody tr:hover{background:var(--mn-paper)}
.hw-table th[scope="row"]{font-weight:650;min-width:230px}.hw-table td:first-child{min-width:170px}
.hw-table td>strong{font-size:12px;font-weight:650}.hw-table td>small{display:block;color:var(--mn-muted);font-size:10px;margin-top:3px}
.hw-table td>a:not(.hw-button),.hw-table th>a{display:inline-flex;min-height:36px;align-items:center;color:var(--mn-ink);font-weight:600}
.hw-table td>a:not(.hw-button):hover,.hw-table th>a:hover{color:var(--mn-accent)}
.hw-table .hw-button{font-size:10px;min-width:110px;padding:10px 12px}
.hw-table .hw-form{gap:12px;margin:8px 0 14px}.hw-table summary{padding:0 0 8px;min-width:150px;font-size:11px}
.hw-table .hw-field{font-size:10px}.hw-table .hw-field select{font-size:12px;min-width:150px}
.hw-panel>.hw-button{margin-top:15px;margin-right:8px}
.hw-role-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0;padding:18px 0;border-top:1px solid var(--mn-line);border-bottom:1px solid var(--mn-line)}
.hw-role-guide p{font-size:10px;color:var(--mn-muted);margin:0}.hw-role-guide strong{display:block;font-size:11px;color:var(--mn-ink);margin-bottom:5px}
.hw-auth-shell{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px 70px;background:var(--mn-paper)}
.hw-auth-brand{display:block;margin-bottom:34px;width:240px;max-width:74vw}.hw-auth-brand .hr-brand-logo{display:block;width:100%;height:auto}
.hw-auth{width:100%;max-width:480px;padding:36px 38px;margin:0}.hw-auth h1{font-size:31px;margin:0 0 16px}.hw-auth>p{font-size:12px;line-height:1.75}
.hw-auth .hw-form{margin-top:27px;gap:21px}.hw-auth .hw-field{font-size:12px}.hw-auth .hw-field input{min-height:48px;font-size:16px}
.hw-auth .hw-form>.hw-button{width:100%;min-height:48px}.hw-auth .hw-muted-link{margin-top:22px}
/* Contacts and their follow-up history. */
.hw-panel>.hw-metrics{margin-top:25px;gap:12px}.hw-panel>.hw-metrics .hw-stat{background:var(--mn-paper);padding:16px;min-height:120px}
.hw-panel>.hw-metrics .hw-stat>strong{font-size:28px}.hw-panel>.hw-metrics .hw-stat:last-child>strong{font-size:24px}
.hw-crm-pipeline{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0 24px}.hw-crm-pipeline .hw-badge{min-height:37px;padding:8px 10px;font-size:10px}
.hw-crm-pipeline .hw-badge[aria-current="page"]{background:var(--hr-tint);border-color:var(--mn-accent);color:var(--hw-action)}
.hw-crm-pipeline .hw-badge>strong{border-left:1px solid var(--mn-line);padding-left:7px;font-size:11px}
.hw-crm-filters{padding:20px;background:var(--mn-paper);border:1px solid var(--mn-line);border-radius:6px;margin-bottom:24px}
.hw-crm-filters .hw-grid{grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr));gap:14px}
.hw-crm-filter-actions{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap;font-size:10px}
.hw-crm-filter-actions>label{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}
.hw-crm-filter-actions>a{min-height:44px;display:inline-flex;align-items:center;color:var(--mn-muted)}
.hw-crm-subline{display:block;font-size:10px;color:var(--mn-muted);margin-top:5px}
.hw-crm-subline.hw-crm-due{color:var(--hw-warning);font-weight:600}
.hw-crm-fields{margin:0;padding:0;border:0;display:flex;flex-direction:column;gap:20px}.hw-crm-fields>.hw-button{align-self:flex-start}
.hw-crm-fields:disabled{opacity:.7}
.hw-crm-archive{padding-top:18px;border-top:1px solid var(--mn-line)}
.hw-crm-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:20px}
.hw-crm-activity{list-style:none;padding:0;margin:25px 0 0}.hw-crm-activity>li{margin:0 0 18px;padding:0 0 18px 18px;border-left:2px solid var(--mn-line);border-bottom:1px solid var(--mn-line)}
.hw-crm-activity>li:last-child{border-bottom:0;padding-bottom:0;margin-bottom:0}.hw-crm-activity>li>p:last-child{font-size:12px;line-height:1.75;overflow-wrap:anywhere}.hw-crm-activity .hw-muted{font-size:10px;margin-bottom:10px}
/* Messages: participant list, readable conversation and composer. */
.hw-messages-layout{display:grid;grid-template-columns:minmax(210px,.3fr) minmax(0,.7fr);gap:18px;align-items:start}
.hw-thread-list{padding:10px;min-height:440px;max-height:calc(100vh - 210px);overflow-y:auto;overscroll-behavior:contain}
.hw-thread-list>p{padding:16px 10px;font-size:12px;color:var(--mn-muted)}
.hw-thread{display:flex;flex-direction:column;gap:11px;padding:16px 12px;border:1px solid transparent;border-bottom-color:var(--mn-line);border-radius:5px}
.hw-thread strong{font-size:12px;line-height:1.55;overflow-wrap:anywhere}.hw-thread>span{font-size:9px;color:var(--mn-muted);display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.hw-thread:hover{background:var(--mn-paper)}.hw-thread.is-active{background:var(--hr-tint);border-color:var(--mn-line);color:var(--hw-action)}
.hw-thread .hw-badge{font-size:8px;padding:2px 5px;background:var(--mn-white)}
.hw-thread-list>.hw-button{font-size:10px;width:100%;margin-top:16px}
.hw-conversation{padding:24px;min-height:440px}.hw-conversation>header{padding-bottom:20px;border-bottom:1px solid var(--mn-line)}
.hw-conversation>header h3{font-size:19px;margin:0 0 8px;overflow-wrap:anywhere}.hw-conversation>header p{font-size:10px;line-height:1.7}
.hw-message-list{display:flex;flex-direction:column;align-items:flex-start;gap:20px;padding:24px 0;max-height:580px;max-height:min(580px,65vh);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.hw-message{padding:15px 17px;background:var(--mn-paper);border:1px solid var(--mn-line);border-radius:9px 9px 9px 2px;max-width:91%;min-width:140px;overflow-wrap:anywhere}
.hw-message>header{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:10px;color:var(--mn-muted);margin-bottom:9px}
.hw-message>header strong{color:var(--mn-ink);font-size:10px}.hw-message>header time{font-size:8px;font-variant-numeric:tabular-nums}
.hw-message>p{font-size:12px;line-height:1.8;margin:0;white-space:normal}.hw-message>small{display:block;font-size:8px;line-height:1.7;margin-top:11px;color:var(--mn-muted)}
.hw-message--own{align-self:flex-end;background:var(--hr-tint);border-radius:9px 9px 2px 9px}
.hw-conversation>.hw-form{padding-top:22px;border-top:1px solid var(--mn-line);margin-top:8px}.hw-conversation>.hw-form textarea{min-height:100px}
.hw-conversation [data-hw-read-status]{font-size:10px}.hw-conversation [data-hw-read-status]:empty{display:none}
.hw-recipient-picker{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:15px;border:1px solid var(--mn-line);border-radius:6px;margin:0}
.hw-recipient-picker legend{padding:0 6px;font-size:11px;font-weight:600}.hw-recipient-picker legend small{font-size:9px;color:var(--mn-muted);font-weight:400;margin-left:6px}
.hw-recipient{display:flex;align-items:center;gap:9px;border:1px solid var(--mn-line);border-radius:5px;background:var(--mn-paper);min-height:44px;padding:10px 12px;font-size:11px;cursor:pointer}
.hw-recipient:has(input:checked){background:var(--hr-tint);border-color:var(--mn-accent);color:var(--hw-action)}
.hw-recipient-picker>p{font-size:11px;color:var(--mn-muted)}
/* Real measurements retain readable axes; narrow screens can scroll the plot. */
.hw-chart{color:var(--mn-muted);overflow-x:auto;max-width:100%;padding:12px 0 2px;overscroll-behavior-x:contain}
.hw-chart svg{min-width:520px}.hw-chart svg text{font-family:Inter,Arial,sans-serif}.hw-chart-bar{fill:var(--mn-accent)}
.hw-chart-data{margin-top:18px}.hw-chart-data .hw-table-wrap{max-height:330px;overflow:auto}
.hw-chart-data summary{font-size:11px}.hw-measurement-note{background:var(--mn-paper);border-style:dashed}
.hw-measurement-note h2{font-size:15px}.hw-measurement-note>p{font-size:11px;line-height:1.8}
/* Existing publishing and newsletter tools fit inside the private app shell. */
.hw-body .hw-content .hr-shell{width:100%;max-width:none;margin-inline:0}
.hw-body .hw-content .hr-workspace-nav{display:none}
.hw-body .hw-content .hr-desk{padding:0 0 20px}
.hw-body .hr-desk-heading{margin-bottom:24px}.hw-body .hr-desk-heading h1{font-size:24px}
.hw-body .hr-desk-heading>div>.hr-eyebrow{display:none}.hw-body .hr-desk-heading p:not(.hr-eyebrow){font-size:12px}
.hw-body .hr-desk-list{background:var(--mn-white);border:1px solid var(--mn-line);border-radius:8px;padding:0 21px}
.hw-body .hr-desk-row:last-child{border-bottom:0}.hw-body .hr-desk-row h2{font-size:16px}.hw-body .hr-desk-row{gap:17px}
.hw-body .hr-desk-thumb{width:94px;border-radius:4px}
.hw-body .hr-desk-tabs{border-color:var(--mn-line);gap:21px}.hw-body .hr-desk-tabs a{font-size:11px}
.hw-body .hr-desk-search input{min-height:46px;font-size:14px}
.hw-body .hw-content .hr-compose{padding:0 0 105px}
.hw-body .hr-compose-form{grid-template-columns:minmax(0,1fr) 255px;gap:22px}
.hw-body .hr-compose-heading{margin-bottom:24px}.hw-body .hr-compose-heading>a{font-size:12px;min-height:44px}
.hw-body .hr-compose-side .hr-editor-box{padding:18px}
.hw-body .hr-editor-actions{left:var(--hw-sidebar);padding:13px 26px max(13px,env(safe-area-inset-bottom));box-shadow:none}
.hw-body .hr-editor-actions .hr-button{font-size:11px;min-height:44px}.hw-body .hr-editor-actions [data-open-preview]{font-size:10px}
.hw-body .hr-title-field input{font-size:26px!important;line-height:1.35!important}
.hw-body .hr-body-editor .wp-editor-area{font-size:16px!important;line-height:1.7!important}
.hw-body .hr-field>label,.hw-body .hr-field>span{font-size:12px}
.hw-body .hw-content .hr-nl{padding:0 0 20px}.hw-body .hr-nl-hero{padding:30px;border-radius:var(--hw-radius)}
.hw-body .hr-nl-hero h1{color:#fff}.hw-body .hr-nl-hero-art{min-width:0}
.hw-body .hr-nl-grid{grid-template-columns:minmax(290px,.9fr) minmax(0,1.1fr);gap:20px}
.hw-body .hr-nl-preview{top:calc(var(--hw-topbar) + 20px);padding:16px}
.hw-body .hr-nl .hr-editor-box{padding:22px}.hw-body .hr-nl-stats>div{padding:20px}
.hw-body .hr-nl-devices button{min-height:44px}.hw-body .hr-nl-fields{gap:0 14px}
/* Dark mode stays in the same visual system, including the exact brand asset. */
html[data-montra-theme="dark"] body.hw-body{--hw-action:#c1a1ed;--hw-on-action:#171326;--hw-positive:#8bd3b5;--hw-warning:#edbb7f}
html[data-montra-theme="dark"] .hw-body .hw-brand .hr-brand-logo,html[data-montra-theme="dark"] .hw-body .hw-auth-brand .hr-brand-logo{filter:brightness(0) invert(1)}
html[data-montra-theme="dark"] .hw-body .hw-welcome{background:#13253a;border-color:var(--mn-line)}
html[data-montra-theme="dark"] .hw-body [data-hw-status][data-error="true"],html[data-montra-theme="dark"] .hw-body [data-hw-status].is-error{color:#ffb3b3}
/* The reader explicitly requested no persistent click/tap/focus rectangle. */
html body.hw-body *:focus,html body.hw-body *:focus-visible,html body.hw-body *:focus-within,html body.hw-body .hr-nl-switch input:focus-visible+span{outline:none!important;outline-offset:0!important;box-shadow:none!important}
html body.hw-body *{-webkit-tap-highlight-color:transparent}
.hw-body .hw-field :is(input,select,textarea):focus:not([aria-invalid="true"]){border-color:var(--mn-line)!important}
@media(min-width:901px){.hw-menu-overlay{display:none!important}}
@media(max-width:1150px){
 .hw-content{padding:28px 25px 20px}.hw-topbar{padding-inline:25px}.hw-metrics{gap:12px}.hw-stat{padding:17px}.hw-stat>strong{font-size:30px}.hw-stat>span,.hw-stat h2{font-size:10px}.hw-panel{padding:22px}.hw-overview-grid{gap:18px}.hw-welcome{padding:27px}.hw-welcome-kicker{font-size:7px}.hw-messages-layout{grid-template-columns:210px minmax(0,1fr);gap:14px}.hw-conversation{padding:20px}.hw-body .hr-compose-form{grid-template-columns:minmax(0,1fr) 230px;gap:18px}.hw-body .hr-nl-grid{grid-template-columns:minmax(0,1fr)}.hw-body .hr-nl-preview{position:static}.hw-panel>.hw-metrics .hw-stat:last-child>strong{font-size:20px}
}
@media(max-width:900px){
 body.hw-body{--hw-topbar:68px}.hw-sidebar{transform:translateX(-100%);transition:transform .18s ease;box-shadow:none;width:min(290px,86vw)}.hw-nav-open .hw-sidebar{transform:translateX(0)}.hw-nav-open.hw-body{overflow:hidden}.hw-menu-overlay{position:fixed;inset:0;z-index:1099;background:rgba(7,19,33,.5);border:0;padding:0;width:100%;height:100%;cursor:pointer;border-radius:0}.hw-main{margin-left:0}.hw-topbar-left [data-hw-menu]{display:inline-grid}.hw-topbar{padding:11px 22px;gap:12px}.hw-topbar-left{gap:7px}.hw-topbar-actions{gap:8px}.hw-content{padding:26px 24px 18px}.hw-body .hr-editor-actions{left:0}.hw-overview-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.hw-body .hr-compose-form{grid-template-columns:minmax(0,1fr) 250px}.hw-body .hr-nl-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:600px){
 body.hw-body{font-size:14px;--hw-radius:7px;--hw-topbar:66px}.hw-topbar{padding:10px 14px;gap:7px}.hw-topbar-left>span{font-size:10px}.hw-topbar-left>span>i{margin-inline:5px}.hw-topbar-actions time{display:none}.hw-topbar-actions{gap:3px}.hw-topbar-actions>.hw-button{font-size:10px;padding:9px 10px;gap:5px;min-height:44px}.hw-topbar-actions>.hw-button svg{width:15px;height:15px}.hw-topbar-actions .hw-icon-button{width:38px;padding:9px}.hw-topbar-left .hw-icon-button{width:36px;padding:8px}.hw-content{padding:23px 16px 16px}.hw-page-heading{margin-bottom:22px}.hw-page-heading h1{font-size:27px}.hw-page-heading>p:last-child{font-size:12px}.hw-eyebrow{font-size:8px!important}.hw-welcome{padding:23px 21px;gap:15px;align-items:flex-start;margin-bottom:16px}.hw-welcome h2{font-size:31px}.hw-welcome p{font-size:11px;line-height:1.7}.hw-welcome-kicker{font-size:6px;line-height:1.8;letter-spacing:.13em;max-width:260px;margin-bottom:13px}.hw-welcome-mark{width:51px;height:51px;flex:0 0 51px;margin-top:17px}.hw-welcome-mark svg{width:27px;height:27px}.hw-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.hw-stat{min-height:140px;padding:15px}.hw-stat>strong{font-size:29px;margin:11px 0 7px}.hw-stat>span,.hw-stat h2{font-size:10px}.hw-stat>small,.hw-stat>p{font-size:9px;line-height:1.6}.hw-panel{padding:20px 17px;margin-bottom:18px}.hw-panel h2{font-size:18px}.hw-overview-grid{grid-template-columns:minmax(0,1fr);gap:0}.hw-panel-heading,.hw-panel-head,.hw-section-head{flex-wrap:wrap;gap:15px;margin-bottom:18px}.hw-panel-heading h1{font-size:24px}.hw-panel-heading>.hw-badge{margin-top:0}.hw-shortcuts>a{min-height:79px}.hw-shortcuts strong{font-size:12px}.hw-shortcuts p{font-size:10px}.hw-shortcut-icon{width:37px;height:37px;flex-basis:37px}.hw-grid,.hw-grid--two,.hw-grid--three,.hw-crm-filters .hw-grid{grid-template-columns:minmax(0,1fr);gap:18px}.hw-form{gap:19px}.hw-field{font-size:12px}.hw-field input:not([type="checkbox"]):not([type="radio"]),.hw-field select,.hw-field textarea{font-size:16px;min-height:47px}.hw-field small,.hw-help{font-size:10px}.hw-button{min-height:45px;font-size:12px}.hw-filter-form{flex-direction:row;gap:10px}.hw-filter-form .hw-field{min-width:130px}.hw-filter-form>.hw-button{min-height:47px}.hw-role-guide{grid-template-columns:minmax(0,1fr);gap:15px}.hw-role-guide p{font-size:11px}.hw-role-guide strong{font-size:12px}.hw-table th,.hw-table td{padding:13px 11px}.hw-table{font-size:11px}.hw-table td:first-child{min-width:150px}.hw-table td>small{font-size:10px}.hw-table .hw-field select{font-size:16px}.hw-auth-shell{padding:38px 16px 55px;justify-content:flex-start}.hw-auth-brand{width:220px;margin:12px 0 30px}.hw-auth{padding:28px 24px}.hw-auth h1{font-size:29px}.hw-auth .hw-form{gap:21px}.hw-content-footer{font-size:9px;padding-top:20px}.hw-panel>.hw-metrics{gap:9px}.hw-panel>.hw-metrics .hw-stat{padding:13px;min-height:110px}.hw-panel>.hw-metrics .hw-stat>strong{font-size:26px}.hw-panel>.hw-metrics .hw-stat:last-child>strong{font-size:21px}.hw-crm-filters{padding:16px}.hw-crm-filter-actions{gap:8px 14px;font-size:11px}.hw-crm-filter-actions>label{width:100%}.hw-crm-pipeline{gap:7px}.hw-crm-pipeline .hw-badge{font-size:10px;min-height:44px}.hw-crm-table,.hw-crm-table tbody,.hw-crm-table tr,.hw-crm-table td{display:block}.hw-crm-table thead{display:none}.hw-crm-table tr{padding:15px;border-bottom:1px solid var(--mn-line)}.hw-crm-table tr:last-child{border-bottom:0}.hw-crm-table td{border:0;min-width:0!important;padding:7px 0;display:grid;grid-template-columns:95px minmax(0,1fr);gap:3px 12px;align-items:start}.hw-crm-table td::before{content:attr(data-label);font-size:10px;font-weight:500;color:var(--mn-muted);grid-column:1;grid-row:1/4}.hw-crm-table td>*{grid-column:2}.hw-crm-table td>a{min-height:0!important}.hw-crm-table .hw-crm-subline{margin-top:2px}.hw-crm-table td>.hw-badge{justify-self:start}.hw-crm-activity>li{padding-left:14px}.hw-messages-layout{grid-template-columns:minmax(0,1fr);gap:0}.hw-thread-list{min-height:0;max-height:235px;padding:8px}.hw-thread{padding:13px 12px}.hw-thread strong{font-size:12px}.hw-conversation{padding:20px 16px;min-height:0}.hw-conversation>header h3{font-size:19px}.hw-message-list{gap:16px;max-height:62vh;padding-block:20px}.hw-message{max-width:95%;padding:13px 14px}.hw-message>p{font-size:13px;line-height:1.75}.hw-message>header strong{font-size:10px}.hw-message>header time{font-size:9px}.hw-message>small{font-size:9px}.hw-conversation>.hw-form textarea{min-height:130px}.hw-conversation>.hw-form>.hw-button{width:100%}.hw-recipient-picker{padding:12px;gap:8px}.hw-recipient{width:100%;font-size:12px}.hw-recipient-picker legend small{display:block;margin:4px 0 0}.hw-chart{margin-inline:-7px}.hw-chart svg{min-width:540px}.hw-body .hr-desk-heading h1{font-size:23px}.hw-body .hr-desk-heading>.hr-button{font-size:12px;background:var(--hw-action);color:var(--hw-on-action)!important}.hw-body .hr-desk-tabs{gap:20px}.hw-body .hr-desk-tabs a{font-size:11px}.hw-body .hr-desk-list{padding-inline:14px}.hw-body .hr-desk-row{gap:12px;padding-block:17px}.hw-body .hr-desk-row h2{font-size:14px;line-height:1.45}.hw-body .hr-desk-thumb{width:68px}.hw-body .hr-desk-search input{font-size:16px}.hw-body .hr-compose-form{grid-template-columns:minmax(0,1fr);gap:20px}.hw-body .hw-content .hr-compose{padding-bottom:145px}.hw-body .hr-title-field input{font-size:23px!important}.hw-body .hr-compose-side .hr-editor-box{padding:20px}.hw-body .hr-editor-actions{padding:11px 12px max(12px,env(safe-area-inset-bottom));gap:6px}.hw-body .hr-editor-actions .hr-button{font-size:11px;padding:10px;min-height:44px}.hw-body .hr-editor-actions [data-open-preview]{font-size:10px;bottom:78px;left:16px}.hw-body .hr-nl-hero{padding:26px 22px}.hw-body .hr-nl-hero h1{font-size:31px!important}.hw-body .hr-nl-hero-art{display:none}.hw-body .hr-nl-stats>div{padding:17px 11px}.hw-body .hr-nl-stats strong{font-size:22px}.hw-body .hr-nl-stats span{font-size:9px}.hw-body .hr-nl .hr-editor-box{padding:20px}.hw-body .hr-nl-fields{grid-template-columns:minmax(0,1fr)}.hw-body .hr-nl-preview{padding:14px}.hw-body .hr-nl-preview iframe{height:680px}
}
@media(max-width:370px){.hw-topbar-left>span{font-size:9px}.hw-topbar-left>span>i{margin-inline:3px}.hw-topbar-actions>.hw-button{padding-inline:8px}.hw-topbar-actions>.hw-button svg{display:none}.hw-content{padding-inline:12px}.hw-welcome-mark{display:none}.hw-auth{padding-inline:20px}.hw-table .hw-button{min-width:95px}}
@media(prefers-reduced-motion:reduce){.hw-sidebar{transition:none}.hw-body{scroll-behavior:auto}}

/* Shared form result states match the asynchronous workspace client. */
.hw-body [data-hw-status].hw-form-status--error{color:#a73333}
.hw-body [data-hw-status].hw-form-status--success{color:var(--hw-positive)}
html[data-montra-theme="dark"] .hw-body [data-hw-status].hw-form-status--error{color:#ffb2ad}
.hw-invite-result{margin-top:18px}.hw-invite-result>.hw-button{margin:12px 0}.hw-invite-result p{font-size:11px}

/* Inbox: identify the latest sender before opening a private conversation. */
.hw-thread{gap:6px}
.hw-thread .hw-thread-sender{display:block;font-size:13px;line-height:1.45;font-weight:650;color:var(--mn-ink);overflow-wrap:anywhere}
.hw-thread-sender>small{display:inline-block;font-size:9px;font-weight:500;line-height:1.5;color:var(--mn-muted);border:1px solid var(--mn-line);border-radius:4px;padding:0 5px;margin-left:5px;vertical-align:1px}
.hw-thread .hw-thread-subject{font-size:13px;line-height:1.5;font-weight:700;color:var(--mn-ink)}
.hw-thread .hw-thread-meta{font-size:10px;margin-top:3px;line-height:1.5}
.hw-thread.is-active .hw-thread-subject{color:var(--hw-action)}
@media(max-width:600px){.hw-thread-list{max-height:290px}.hw-thread .hw-thread-sender,.hw-thread .hw-thread-subject{font-size:14px}.hw-thread .hw-thread-meta{font-size:11px}}
