body.mail-helper-active{overflow:hidden;overscroll-behavior:none}.mail-task-helper-open{flex:0 0 42px;min-width:42px;height:38px;border-radius:8px;color:var(--topbar)!important;background:var(--surface)!important;border-color:var(--line)!important;transition:background-color .16s,color .16s,border-color .16s,box-shadow .16s,transform .12s}.mail-task-helper-open:hover{background:var(--blue)!important;color:#fff!important;border-color:var(--blue)!important;box-shadow:0 4px 12px #062f5f30;transform:translateY(-2px)}.mail-task-helper-open:focus-visible{outline:3px solid #235da855;outline-offset:3px;background:var(--surface-soft)!important}.mail-task-helper-open:active{background:var(--topbar)!important;color:#fff!important;transform:translateY(0) scale(.94);box-shadow:inset 0 2px 4px #001a3633}.mail-task-helper-open svg{width:21px;height:21px}.mail-helper-overlay{position:fixed;inset:0;z-index:4800;background:rgba(12,28,46,.55);display:grid;place-items:center;padding:22px;backdrop-filter:blur(3px)}.mail-helper-overlay[hidden]{display:none}.mail-helper{position:relative;width:min(1260px,100%);height:min(880px,calc(100dvh - 44px));display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 24px 100px #08152655;color:var(--text);font-size:14px;line-height:1.5}.mail-helper button,.mail-helper select,.mail-helper textarea{font:inherit}.mail-helper button{cursor:pointer}.mail-helper button:disabled{opacity:.5;cursor:default}.mail-helper button:focus-visible,.mail-helper select:focus-visible,.mail-helper textarea:focus-visible,.mail-helper input:focus-visible{outline:3px solid var(--blue);outline-offset:2px}.mail-helper svg{width:19px;height:19px;flex-shrink:0}.mh-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 24px;background:linear-gradient(135deg,#053768 0%,#062f5f 52%,#03234b 100%);color:white}.mh-brand{display:flex;align-items:center;gap:13px}.mh-brand>svg{width:32px;height:32px;color:#d1e4f8}.mh-brand h1{font-size:21px;line-height:1.2;margin:0;color:white}.mh-brand p{font-size:13px;color:#d1e0f1;margin:5px 0 0}.mh-close{border:1px solid rgba(255,255,255,.35);border-radius:8px;background:transparent;color:white;display:grid;place-items:center;width:36px;height:36px}.mh-toolbar{display:flex;align-items:center;gap:12px;padding:14px 24px;border-bottom:1px solid var(--line);background:var(--surface-soft);flex-wrap:wrap}.mh-scope{display:flex;border:1px solid #cedae4;border-radius:8px;padding:3px;gap:2px;background:white}.mh-scope button{border:0;background:transparent;color:#4d667b;font-size:13px;padding:7px 13px;border-radius:5px;white-space:nowrap}.mh-scope button.active{background:var(--topbar);color:#fff}.mh-primary,.mh-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;padding:9px 14px;min-height:38px;font-weight:600!important;line-height:1.3!important}.mh-primary{border:1px solid var(--topbar);background:var(--topbar);color:white}.mh-primary:hover:not(:disabled){background:#12477f}.mh-primary.is-danger{background:#b42331;border-color:#b42331}.mh-secondary{background:#fff;color:#25435a;border:1px solid #cbd8e3}.mh-text{border:0;background:none;color:var(--blue);padding:5px 0;font-weight:600!important;font-size:13px!important;display:inline-flex;align-items:center;gap:5px}.mh-toolbar-note{font-size:12px;color:#6a7c8d;margin-left:auto}.mh-progress{display:grid;grid-template-columns:1fr minmax(90px,210px) auto;align-items:center;gap:16px;padding:10px 24px;background:#eff5fc;border-bottom:1px solid var(--line);font-size:12px}.mh-progress>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.mh-progress progress{width:100%;height:6px;accent-color:var(--blue);border:0;border-radius:5px;overflow:hidden}.mh-progress progress::-webkit-progress-bar{background:#d9e8eb}.mh-progress progress::-webkit-progress-value{background:var(--blue)}.mh-live{width:7px;height:7px;border-radius:50%;background:#6b8792}.mh-live.is-running{background:var(--blue);box-shadow:0 0 0 4px #235da81a;animation:mh-pulse 1.8s ease-in-out infinite}.mh-alert,.mh-notice{padding:9px 24px;font-size:13px;flex-shrink:0}.mh-alert{background:#fff2ee;color:#a32e24;border-bottom:1px solid #f2d4cd}.mh-notice{background:#eef8f1;color:#23613c;border-bottom:1px solid #d6e9dd}.mh-workspace{display:grid;grid-template-columns:325px minmax(0,1fr);min-height:0;flex:1}.mh-sidebar{display:flex;flex-direction:column;min-height:0;background:var(--surface-soft);border-right:1px solid var(--line)}.mh-list-tabs{display:flex;padding:12px 12px 0;gap:5px;flex-shrink:0}.mh-list-tabs button{flex:1;padding:8px 5px;border:0;border-bottom:2px solid transparent;background:none;color:#647b8e;font-size:12px;font-weight:600}.mh-list-tabs button.active{border-color:var(--blue);color:var(--topbar)}.mh-list-tabs span{display:inline-block;background:#e7edf2;border-radius:4px;padding:0 5px;font-size:11px}.mh-list{overflow:auto;min-height:0;flex:1;padding:8px}.mh-list-row{display:flex;align-items:flex-start;gap:9px;padding:11px 10px;margin:4px 0;border-radius:8px;border:1px solid transparent}.mh-list-row.selected{background:white;border-color:#b8cce5;box-shadow:0 1px 4px #203a4c08}.mh-list-row>input{margin:4px 0 0;width:15px;height:15px;accent-color:var(--blue);flex-shrink:0}.mh-list-row>button{flex:1;min-width:0;text-align:left;border:0;background:none;color:#274157;padding:0}.mh-list-row strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}.mh-list-row button>span{display:block;font-size:11px;color:#748897;margin-top:5px}.mh-state-dot{width:15px;height:15px;flex-shrink:0;display:grid;place-items:center;margin-top:3px}.mh-state-dot:empty:after{content:'';width:6px;height:6px;background:#bdcbd5;border-radius:50%}.mh-state-dot.is-checking:after{background:var(--blue);animation:mh-pulse 1s infinite}.mh-state-dot.is-error:after{background:#c35040}.mh-state-dot svg{color:#278454;width:15px;height:15px}.mh-list-empty{padding:24px 13px;color:#7a8c9b;font-size:13px}.mh-bulk{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px;border-top:1px solid var(--line);flex-shrink:0}.mh-bulk .mh-secondary{font-size:12px;min-height:34px;padding:7px 10px}.mh-detail{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff}.mh-detail-head{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:21px 28px 15px}.mh-detail-head small{font-size:10px;font-weight:700;letter-spacing:.08em;color:#8396a5}.mh-detail-head h2{font-size:18px;line-height:1.45;margin:6px 0 0;color:var(--text);overflow-wrap:anywhere}.mh-detail-head>div:first-child{min-width:0;flex:1}.mh-detail-controls{display:flex;align-items:center;gap:12px;flex-shrink:0}.mh-step{display:flex;align-items:center;gap:4px;flex-shrink:0}.mh-step button{display:grid;place-items:center;padding:0;line-height:1;width:30px;height:30px;border:1px solid #dae3eb;background:white;border-radius:6px;color:#405c73;font-size:21px}.mh-tabs{display:flex;gap:20px;padding:0 28px;border-bottom:1px solid #e5ebf0;flex-shrink:0}.mh-tabs button{display:inline-flex;align-items:center;gap:7px;padding:10px 0;color:#6e8394;border:0;border-bottom:2px solid transparent;background:none;font-size:13px;font-weight:600}.mh-tabs button[aria-selected=true]{color:var(--blue);border-bottom-color:var(--blue)}.mh-tabs svg{width:16px;height:16px}.mh-detail-scroll{padding:22px 28px;overflow:auto;flex:1;min-height:0;overscroll-behavior:contain}.mh-proposal h3{font-size:17px;line-height:1.55;margin:14px 0 10px;color:#18334a}.mh-reason{color:#526c80;line-height:1.7;white-space:pre-wrap}.mh-tag{display:inline-flex;padding:4px 9px;font-size:11px;font-weight:700;border-radius:5px;background:#edf3f7;color:#486579}.mh-tag.is-assign{background:#e9f2fc;color:#28609b}.mh-tag.is-archive,.mh-tag.is-complete{background:#eaf5ef;color:#23724a}.mh-tag.is-reply{background:#e9f5f6;color:#087582}.mh-tag.is-review{background:#fff4da;color:#926519}.mh-tag.is-delete{background:#fdeeed;color:#b03836}.mh-callout{padding:12px 14px;background:#faf6eb;border-left:3px solid #d8b963;border-radius:4px;color:#76613b;font-size:13px;margin:17px 0}.mh-callout p{margin:4px 0 0}.mh-warnings{margin:13px 0;padding-left:18px;color:#7d7259;font-size:12px}.mh-evidence{border-top:1px solid #e5ebf0;border-bottom:1px solid #e5ebf0;padding:10px 0;margin:18px 0}.mh-evidence summary{cursor:pointer;font-size:12px;color:#617b8e;font-weight:600}.mh-evidence blockquote{margin:12px 0;padding:10px 13px;background:#f7f9fb;border-left:2px solid #b8cbd8;font-size:12px;color:#577184;white-space:pre-wrap}.mh-evidence blockquote button{display:flex;font-size:11px!important;margin-top:6px}.mh-draft-label{display:grid;gap:7px;font-weight:600;font-size:13px;margin:17px 0 10px}.mh-draft-label>span{font-size:11px;color:#8193a0;font-weight:400}.mh-draft-label textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid #cbd9e4;border-radius:7px;resize:vertical;min-height:180px;max-height:420px;line-height:1.6;color:#29465e;background:#fcfdfe}.mh-decision{margin-top:23px;padding-top:18px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:12px}.mh-decision label,.mh-mail-choice label{display:grid;gap:6px;font-size:12px;color:#607a8f;font-weight:600}.mh-decision select,.mh-mail-choice select{max-width:100%;min-width:0;width:100%;padding:9px 10px;border:1px solid #cbd9e3;border-radius:6px;background:white;color:#29465e;font-size:13px}.mh-action-hint{grid-column:1/-1;margin:0;font-size:12px;color:#7c8d9a}.mh-decision-actions{grid-column:1/-1;display:flex;align-items:center;gap:16px;margin-top:4px}.mh-placeholder{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:35px;text-align:center;color:#71899a}.mh-placeholder h2,.mh-placeholder h3{color:#244258;font-size:21px;max-width:420px}.mh-placeholder p{max-width:450px;font-size:14px;line-height:1.8}.mh-placeholder small{font-size:11px}.mh-welcome-icon{width:62px;height:62px;border-radius:18px;background:#eef4fc;color:var(--blue);display:grid;place-items:center;margin-bottom:12px}.mh-welcome-icon svg{width:34px;height:34px}.mh-how{display:flex;gap:15px;margin:15px 0 25px;font-size:11px;color:#426174;flex-wrap:wrap;justify-content:center}.mh-footer{display:flex;justify-content:space-between;gap:12px;padding:11px 20px;border-top:1px solid var(--line);background:var(--surface-soft);font-size:11px;color:#718798;flex-wrap:wrap}.mh-result{display:flex;align-items:flex-start;gap:9px;margin-top:20px;padding:12px;background:#edf8f1;color:#23714a;border-radius:7px}.mh-result svg{margin-top:2px}.mh-original h3{margin:0 0 15px;font-size:16px;overflow-wrap:anywhere}.mh-original h4{font-size:12px;color:#5b758a;margin:19px 0 8px}.mh-meta{font-size:12px;display:grid;gap:5px;color:#6a8295}.mh-meta>div{display:grid;grid-template-columns:65px minmax(0,1fr);gap:7px}.mh-meta dt{font-weight:600}.mh-meta dd{margin:0;overflow-wrap:anywhere}.mh-mailtext{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:13px;color:#3d596e}.mh-original details{margin:18px 0;padding-top:12px;border-top:1px solid #e3eaf0}.mh-original summary{cursor:pointer;color:#527084;font-size:12px;font-weight:600;margin-bottom:8px}.mh-file{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:10px;margin:7px 0;border:1px solid #dce6ed;border-radius:7px;background:var(--surface-soft);color:#426278}.mh-file>span{min-width:0;overflow-wrap:anywhere;flex:1;font-size:12px}.mh-file small{font-size:10px;flex-shrink:0}.mh-spinner{border:3px solid #dcecef;border-top-color:var(--blue);border-radius:50%;width:25px;height:25px;animation:mh-spin 1s linear infinite}.mh-confirm-shade{position:absolute;inset:0;z-index:4;background:#102a4080;display:grid;place-items:center;padding:20px;backdrop-filter:blur(2px)}.mh-confirm{background:white;border:1px solid #dce6ed;border-radius:12px;padding:24px;width:min(470px,100%);max-height:90%;overflow:auto;box-shadow:0 15px 70px #12314944}.mh-confirm h2{font-size:19px;margin:0 0 12px;color:#203d54}.mh-confirm ul{max-height:220px;overflow:auto;padding-left:20px;color:#527084;font-size:13px}.mh-confirm>div{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.mh-mail-choice h3{font-size:18px}.mh-mail-choice p{color:#647f91;font-size:13px}.mh-mail-choice label{margin:16px 0}.mh-mail-choice>.mh-text{margin-left:13px}@keyframes mh-spin{to{transform:rotate(360deg)}}@keyframes mh-pulse{50%{opacity:.4}}@media(max-width:850px){.mh-workspace{grid-template-columns:260px minmax(0,1fr)}.mh-toolbar-note{display:none}.mh-detail-head{padding:17px 20px 12px}.mh-detail-scroll{padding:18px 20px}.mh-tabs{padding:0 20px}.mh-footer span:last-child{display:none}}@media(max-width:600px){.mail-helper-overlay{padding:0}.mail-helper{width:100%;height:100dvh;max-height:none;border:0;border-radius:0;font-size:13px}.mh-header{padding:14px 16px}.mh-brand h1{font-size:18px}.mh-brand p{font-size:11px}.mh-brand>svg{width:26px;height:26px}.mh-toolbar{padding:10px 12px;gap:8px;flex-wrap:nowrap}.mh-scope{flex:1;min-width:0}.mh-scope button{flex:1;min-width:0;padding:6px 4px;font-size:11px}.mh-toolbar>.mh-primary{padding:9px;font-size:12px;max-width:145px}.mh-toolbar>.mh-primary svg{display:none}.mh-progress{padding:9px 13px;gap:9px;grid-template-columns:1fr auto}.mh-progress progress{grid-row:2;grid-column:1/-1}.mh-progress>div{gap:5px;font-size:11px}.mh-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:150px minmax(0,1fr)}.mh-sidebar{border-right:0;border-bottom:1px solid #dce6ed;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:35px minmax(0,1fr)}.mh-list-tabs{padding:3px 8px 0;grid-column:1/-1;max-width:290px}.mh-list{padding:3px 7px;grid-column:1;grid-row:2}.mh-list-row{padding:5px 7px;margin:1px 0;gap:7px}.mh-list-row strong{font-size:11px;-webkit-line-clamp:1}.mh-list-row button>span{font-size:10px;margin-top:1px}.mh-list-row>input{width:13px;height:13px;margin-top:2px}.mh-bulk{grid-row:2;grid-column:2;flex-direction:column;justify-content:center;border-top:0;border-left:1px solid var(--line);padding:7px;gap:6px;max-width:110px}.mh-bulk .mh-text{font-size:10px!important;text-align:center}.mh-bulk .mh-secondary{font-size:10px;padding:6px;min-height:28px}.mh-detail-head{padding:11px 15px 8px;gap:8px}.mh-detail-head h2{font-size:14px;margin-top:3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mh-detail-head small{font-size:9px}.mh-tabs{padding:0 15px;gap:17px}.mh-tabs button{font-size:12px;padding:8px 0}.mh-detail-scroll{padding:15px}.mh-proposal h3{font-size:15px}.mh-placeholder{padding:20px}.mh-placeholder h2,.mh-placeholder h3{font-size:18px}.mh-placeholder p{font-size:12px}.mh-how{gap:9px;font-size:10px;margin-bottom:17px}.mh-footer{padding:8px 12px;font-size:10px}.mh-decision{grid-template-columns:1fr}.mh-decision-actions{gap:12px;flex-wrap:wrap}.mh-confirm{padding:18px;box-sizing:border-box}.mh-confirm>div{flex-wrap:wrap}.mh-file small{font-size:9px}.mh-original h3{font-size:14px}.mh-mailtext{font-size:12px}}@media(prefers-reduced-motion:reduce){.mh-spinner,.mh-live.is-running,.mh-state-dot.is-checking:after{animation:none}}

.mh-assignment{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px 12px;margin:0 28px 12px;padding:12px;background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius);flex-shrink:0}.mh-assignment label{display:grid;gap:5px;min-width:0;color:var(--text);font-size:12px;font-weight:600}.mh-assignment select{width:100%;min-width:0;max-width:100%;height:38px;padding:8px 10px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--text)}.mh-assignment small{grid-column:1/-1;color:var(--muted);font-size:11px}.mh-assignment .mh-primary{height:38px}.mh-close:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.6)}@media(max-width:600px){.mh-assignment{margin:0 15px 9px;padding:9px;gap:6px 8px}.mh-assignment label{font-size:11px}.mh-assignment small{font-size:10px}.mh-assignment .mh-primary{padding:8px 10px;font-size:12px}.mh-assignment select{font-size:12px}}@media(prefers-reduced-motion:reduce){.mail-task-helper-open{transition:none}.mail-task-helper-open:hover,.mail-task-helper-open:active{transform:none}}

@media(max-width:360px){.mh-amount-label{display:none}}

.mh-step button svg{width:16px;height:16px}.mh-step [data-helper-step="-1"] svg{transform:rotate(180deg)}.mh-step button:hover{background:var(--surface-soft);border-color:#a9bfd9}.mh-delete{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:32px;padding:0 9px;border:1px solid #ebc9cd;border-radius:6px;background:#fff7f7;color:#a42e3b;font-size:12px!important;font-weight:600!important;white-space:nowrap}.mh-delete svg{width:16px;height:16px}.mh-delete:hover:not(:disabled){background:#fdeced;border-color:#d98e98}@media(max-width:600px){.mh-detail-head{flex-wrap:wrap}.mh-detail-head>div:first-child{flex-basis:100%}.mh-detail-controls{width:100%;justify-content:space-between;gap:8px}}

.mh-modebar{padding:10px 24px;display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--line);background:var(--surface-soft);flex-shrink:0}.mh-modebar label{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600;white-space:nowrap}.mh-modebar select{max-width:100%;min-width:0;padding:7px 9px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface);font-size:12px}.mh-modebar p{margin:0;font-size:11px;line-height:1.5;color:var(--muted)}.mh-plan{padding-left:20px;font-size:12px;color:var(--text);line-height:1.8}.mh-execution{padding:12px;background:#eef7f1;border:1px solid #cfe4d6;border-radius:7px;margin:12px 0;font-size:12px}.mh-execution h4{margin:0 0 8px!important;color:#285d40!important}.mh-execution ul{padding-left:18px;margin:0}.mh-execution li{margin:7px 0;overflow-wrap:anywhere}.mh-execution small{display:block;color:var(--muted);font-size:11px}@media(max-width:600px){.mh-modebar{padding:8px 12px;display:grid;gap:6px}.mh-modebar label{display:grid;grid-template-columns:auto minmax(0,1fr)}.mh-modebar select{width:100%}.mh-modebar p{font-size:10px}.mh-footer span:first-child{max-width:100%;overflow-wrap:anywhere}}

.mh-confirm.mh-launch-confirm{display:flex;flex-direction:column;max-height:min(720px,calc(100dvh - 56px));overflow:hidden}.mh-launch-confirm>h2{flex:none}.mh-confirm.mh-launch-confirm>.mh-launch-body{display:block;min-height:0;overflow:auto;overscroll-behavior:contain;flex:1;margin:0;padding:0 4px 0 0}.mh-launch-body p{margin:0 0 12px;line-height:1.6}.mh-launch-body p:last-child{margin-bottom:0}.mh-confirm.mh-launch-confirm>.mh-launch-actions{flex:none;margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}.mh-launch-actions button{font-size:12px!important}

.mh-detail-controls{flex-wrap:wrap;justify-content:flex-end}.mh-learn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:32px;padding:0 10px;border:1px solid #b6cce3;border-radius:6px;background:#edf4fc;color:#174d84;font-size:12px!important;font-weight:600!important;white-space:nowrap}.mh-learn svg{width:16px;height:16px}.mh-learn:hover:not(:disabled){background:#dceafa;border-color:#789fc7}.mh-learning-modal{width:min(920px,100%);max-height:calc(100dvh - 58px);display:flex;flex-direction:column;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 20px 60px #071b3455}.mh-learning-modal>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid var(--line);flex:none;background:var(--surface-soft)}.mh-learning-modal h2{margin:0;font-size:19px}.mh-learning-modal header p{margin:4px 0 0;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.mh-learning-body{padding:18px 22px;overflow:auto;min-height:0}.mh-learning-note{font-size:12px;color:var(--muted);margin:0 0 16px}.mh-learning-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.mh-learning-compare>section{min-width:0}.mh-learning-compare>section:first-child{padding:14px;background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius)}.mh-learning-compare h4{margin:6px 0;font-size:14px}.mh-learning-compare p,.mh-learning-compare li{font-size:12px;overflow-wrap:anywhere}.mh-learning-compare pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:12px}.mh-learning-compare label{display:grid;gap:6px;font-size:12px;font-weight:600;margin-bottom:13px}.mh-learning-compare label small{font-weight:400;color:var(--muted)}.mh-learning-compare select,.mh-learning-compare textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:var(--radius);padding:9px;background:var(--surface);color:var(--text);font-size:12px}.mh-learning-compare textarea{resize:vertical;min-height:130px}.mh-learning-modal>footer{display:flex;justify-content:flex-end;gap:10px;padding:13px 22px;border-top:1px solid var(--line);flex:none;background:var(--surface)}@media(max-width:700px){.mh-learning-compare{grid-template-columns:1fr}.mh-learning-modal{max-height:calc(100dvh - 30px)}.mh-learning-modal>header,.mh-learning-body{padding:13px}.mh-learning-modal>footer{padding:10px;gap:8px}.mh-learning-modal>footer button{font-size:11px!important;padding:8px 10px}.mh-learning-modal h2{font-size:17px}}@media(max-width:600px){.mh-detail-controls .mh-learn{flex-basis:100%}.mh-detail-controls{justify-content:space-between}}
.mh-body{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}.mh-header,.mh-footer{flex-shrink:0}
.mh-brand{min-width:0;flex:1}.mh-brand>div{min-width:0}.mh-brand p{overflow-wrap:anywhere}.mh-close{flex-shrink:0}
.mail-helper-overlay{right:auto;bottom:auto;width:100vw;height:100vh;width:100dvw;height:100dvh;box-sizing:border-box}
/* Small screens scroll the entire workspace instead of squeezing the reader below fixed controls. */
@media(max-width:600px),(max-height:600px){
 .mh-body{display:block;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
 .mh-body>.mh-workspace{display:flex;flex-direction:column;flex:none;min-height:auto}
 .mh-body .mh-sidebar{height:150px;flex:none;min-height:0;border-right:0;border-bottom:1px solid var(--line)}
 .mh-body .mh-detail{flex:none;min-height:auto}
 .mh-body .mh-detail-scroll{flex:none;overflow:visible;overscroll-behavior:auto}
 .mh-body .mh-placeholder{flex:none}
 .mh-list{-webkit-overflow-scrolling:touch}
}

.mh-assignment .mh-client-choice{grid-column:1/-1}.mail-helper .mh-assignment select{box-sizing:border-box;line-height:normal;padding-top:0;padding-bottom:0}
@media(min-width:1001px){.mh-assignment{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.mh-assignment .mh-client-choice{grid-column:2;grid-row:1}.mh-assignment>.mh-primary{grid-column:3;grid-row:1}}

.mh-thread{border:1px solid var(--line);border-radius:var(--radius);padding:12px;margin:12px 0;background:var(--surface-soft)}.mh-thread h4{margin:0 0 8px}.mh-thread>p,.mh-thread>small{font-size:12px;color:var(--muted)}.mh-thread-row{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--line)}.mh-thread-row label{display:flex;align-items:flex-start;gap:7px;min-width:0;flex:1}.mh-thread-row span{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}.mh-thread-row strong{font-size:12px}.mh-thread-row small{font-size:11px;color:var(--muted)}.mh-thread-row input{flex:none;margin-top:2px}.mh-thread-row button{flex:none}.mh-thread>.mh-secondary{margin-top:10px;max-width:100%;white-space:normal}
