/* Word-to-HTML specific layout and visual-editor styles. Loaded only by that widget. */

.laxeh-native-widget{
  --la:#f33535; --laxeh-dark:#d92b2b; --laxeh-soft:#fff1f1;
  --navy:#0F2549; --navy-2:#17345f; --navy-soft:#eef3f9;
  --ink:#172033; --muted:#667085; --line:#e3e8ef; --line2:#d0d5dd;
  --panel:#fff; --soft:#f7f9fc; --workspace:#eef2f6; --code:#161b22;
  --radius:14px;
}
.laxeh-native-widget,.laxeh-native-widget *{box-sizing:border-box}
.laxeh-native-widget{margin:0}
.laxeh-native-widget{font-family:"Montserrat", Arial, sans-serif;color:var(--ink);background:#fff}

/* This wrapper can be pasted into a WordPress/Elementor HTML area */
.laxeh-wordhtml{
  position:relative; width:100%; max-width:1180px; margin:0 auto;
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:0 10px 35px rgba(16,24,40,.07); overflow:hidden;
}
.laxeh-wordhtml.is-expanded{
  position:fixed !important; inset:0 !important; z-index:2147483647 !important;
  width:100vw !important; max-width:none !important; height:100dvh !important;
  margin:0 !important; border:0 !important; border-radius:0 !important;
  box-shadow:none !important; display:flex; flex-direction:column; background:#fff;
}
body.laxeh-editor-expanded{overflow:hidden !important}

/* Header */
.laxeh-head{
  min-height:64px; padding:11px 14px 11px 18px; display:flex; align-items:center;
  justify-content:space-between; gap:14px; border-bottom:1px solid var(--line); background:#fff;
}
.laxeh-title{display:flex;align-items:center;gap:11px;min-width:0}
.laxeh-logo{
  width:38px;height:38px;flex:0 0 38px;border-radius:10px;background:var(--la);
  color:#fff;display:grid;place-items:center;font-size:16px;
}
.laxeh-title strong{font-size:15px;display:block;color:var(--navy)}
.laxeh-title small{font-size:11px;color:var(--muted);display:block;margin-top:3px}
.laxeh-head-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.laxeh-head .laxeh-btn{background:#fff;border-color:var(--line2);color:#344054}
.laxeh-head .laxeh-btn:hover{background:#f8fafc;border-color:#98a2b3;color:var(--navy)}
.laxeh-head .laxeh-btn.primary{background:var(--la);border-color:var(--la);color:#fff}
.laxeh-head .laxeh-btn.primary:hover{background:var(--laxeh-dark);border-color:var(--laxeh-dark)}
.laxeh-btn{
  height:36px;border:1px solid var(--line2);background:#fff;border-radius:8px;
  padding:0 11px;display:inline-flex;align-items:center;justify-content:center;gap:7px;
  cursor:pointer;font-size:12px;font-weight:700;transition:.15s;white-space:nowrap;
}
.laxeh-btn:hover{background:#f8fafc;border-color:#98a2b3}
.laxeh-btn.primary{background:var(--la);border-color:var(--la);color:#fff}
.laxeh-btn.primary:hover{background:var(--laxeh-dark)}
.laxeh-icon-btn{width:36px;padding:0}
.laxeh-file{display:none}

/* Tabs */
.laxeh-tabs{
  height:52px;display:flex;align-items:stretch;justify-content:space-between;
  border-bottom:1px solid var(--line);background:#fff;padding:0 13px;
  box-shadow:0 1px 0 rgba(15,37,73,.02);
}
.laxeh-tabset{display:flex;height:100%}
.laxeh-tab{
  position:relative;border:0;background:transparent;padding:0 17px;cursor:pointer;
  display:flex;align-items:center;gap:8px;font-size:13px;font-weight:750;color:#667085;
}
.laxeh-tab.active{color:var(--navy)}
.laxeh-tab.active:after{
  content:"";position:absolute;height:3px;left:10px;right:10px;bottom:0;background:var(--la);
  border-radius:4px 4px 0 0;
}
.laxeh-sync{display:flex;align-items:center;gap:7px;color:#98a2b3;font-size:11px}
.laxeh-sync-dot{width:7px;height:7px;border-radius:50%;background:#12b76a}

/* Visual toolbar */
.laxeh-toolbar{
  min-height:50px;padding:8px 11px;display:flex;align-items:center;gap:5px;flex-wrap:wrap;
  background:#fbfcfe;border-bottom:1px solid var(--line);
}
.laxeh-group{display:flex;align-items:center;gap:2px;padding-right:6px;margin-right:2px;border-right:1px solid var(--line)}
.laxeh-group:last-child{border-right:0}
.laxeh-tool{
  width:32px;height:32px;border:1px solid transparent;background:transparent;border-radius:7px;
  display:grid;place-items:center;cursor:pointer;color:#475467;font-size:12px;
}
.laxeh-tool:hover{background:#fff;border-color:#b9c7d8;color:var(--navy)}
.laxeh-select{
  height:32px;max-width:120px;border:1px solid var(--line);border-radius:7px;background:#fff;
  padding:0 8px;color:#344054;font-size:11px;outline:none;
}

/* Views */
.laxeh-view{display:none;min-height:0}
.laxeh-view.active{display:flex;flex-direction:column}
.laxeh-wordhtml:not(.is-expanded) .laxeh-view{height:365px}
.laxeh-wordhtml.is-expanded .laxeh-views{flex:1;min-height:0;display:flex}
.laxeh-wordhtml.is-expanded .laxeh-view.active{height:100%;width:100%}

.laxeh-paper-space{
  flex:1;min-height:0;background:#f4f7fb;padding:22px;overflow:auto;
}
.laxeh-paper{
  width:min(860px,100%);min-height:100%;margin:0 auto;background:#fff;
  border:1px solid #d9e1eb;box-shadow:0 5px 20px rgba(15,37,73,.07);
  padding:42px 54px;outline:0;font-size:16px;line-height:1.7;color:#202939;
}
.laxeh-paper:empty:before{content:"Paste from Word or start typing here...";color:#98a2b3}
.laxeh-paper img{max-width:100%;height:auto}
.laxeh-paper table{width:100%;border-collapse:collapse;margin:14px 0}
.laxeh-paper td,.laxeh-paper th{border:1px solid #cfd5dd;padding:7px}
.laxeh-paper blockquote{margin-left:0;padding:7px 15px;border-left:4px solid var(--la);background:#fafafa;color:#475467}

/* CodeMirror */
.laxeh-code-tools{
  min-height:48px;padding:7px 10px;display:flex;justify-content:space-between;align-items:center;
  gap:8px;flex-wrap:wrap;background:#1d2430;border-bottom:1px solid #303947;
}
.laxeh-code-tools>div{display:flex;gap:6px}
.laxeh-code-tools .laxeh-btn{background:#283241;border-color:#3a4658;color:#e5e7eb}
.laxeh-code-tools .laxeh-btn:hover{background:#344154}
.laxeh-cm-wrap{flex:1;min-height:0;background:#161b22}
.CodeMirror{
  height:100% !important;font-family:Consolas,Monaco,"Courier New",monospace !important;
  font-size:14px !important;line-height:1.65 !important;
}
.CodeMirror-scroll{overflow:auto !important}

/* Status */
.laxeh-status{
  min-height:39px;padding:0 13px;border-top:1px solid var(--line);background:#fff;
  display:flex;align-items:center;justify-content:space-between;gap:10px;color:#64748b;font-size:11px;
}
.laxeh-stats{display:flex;gap:14px}.laxeh-stats i{color:var(--navy);margin-right:4px}

/* expanded: editor occupies viewport, internal workspace scrolls only if content is long */
.laxeh-wordhtml.is-expanded .laxeh-head{flex:0 0 auto}
.laxeh-wordhtml.is-expanded .laxeh-tabs{flex:0 0 52px}
.laxeh-wordhtml.is-expanded .laxeh-status{flex:0 0 39px}
.laxeh-wordhtml.is-expanded .laxeh-paper-space{padding:18px}
.laxeh-wordhtml.is-expanded .laxeh-paper{min-height:100%;padding-top:36px}

/* Cleaning popup */
.laxeh-clean{
  position:fixed;right:20px;top:78px;width:min(390px,calc(100vw - 30px));z-index:2147483640;
  background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 24px 70px rgba(16,24,40,.22);
  display:none;overflow:hidden;
}
.laxeh-clean.open{display:block}
.laxeh-clean-head{padding:14px 15px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}
.laxeh-clean-body{padding:14px}
.laxeh-check{display:flex;align-items:center;gap:9px;padding:7px 0;font-size:12px;color:#344054}
.laxeh-check input{accent-color:var(--la);width:15px;height:15px}
.laxeh-clean-actions{display:flex;gap:7px;margin-top:11px}.laxeh-clean-actions .laxeh-btn{flex:1}
.laxeh-toast{
  position:fixed;left:50%;bottom:18px;transform:translate(-50%,12px);opacity:0;pointer-events:none;
  z-index:2147483647;background:#101828;color:#fff;border-radius:8px;padding:9px 13px;font-size:12px;transition:.2s;
}
.laxeh-toast.show{opacity:1;transform:translate(-50%,0)}


.laxeh-findbar{
  display:none;min-height:51px;padding:8px 11px;align-items:center;gap:7px;flex-wrap:wrap;
  background:#fff;border-bottom:1px solid var(--line)
}
.laxeh-findbar.open{display:flex}
.laxeh-findfield{
  height:34px;min-width:170px;flex:1;max-width:260px;border:1px solid var(--line2);border-radius:7px;
  display:flex;align-items:center;gap:7px;padding:0 9px;background:#fff;color:#98a2b3
}
.laxeh-findfield:focus-within{border-color:#f58d8d;box-shadow:0 0 0 3px #fff1f1}
.laxeh-findfield input{width:100%;border:0;outline:0;background:transparent;font-size:12px;color:#344054}
.laxeh-matchcount{font-size:11px;color:#667085;white-space:nowrap}
.laxeh-search-hit{background:#ffe08a;border-radius:2px;padding:0 1px}
.laxeh-search-current{background:#ffb84d;outline:1px solid #e08a00}
.laxeh-pdf-export{font-family:"Montserrat", Arial, sans-serif;color:#202939;font-size:15px;line-height:1.65}
.laxeh-pdf-export img{max-width:100%;height:auto}
.laxeh-pdf-export table{width:100%;border-collapse:collapse}.laxeh-pdf-export td,.laxeh-pdf-export th{border:1px solid #cfd5dd;padding:7px}
.laxeh-pdf-export blockquote{border-left:4px solid #f33535;padding-left:14px;margin-left:0;color:#475467}


.laxeh-search-group{border-right:0!important;margin-left:2px}
.laxeh-search-btn{
  height:32px;border:1px solid var(--navy);background:var(--navy);color:#fff;border-radius:7px;
  padding:0 11px;display:flex;align-items:center;gap:7px;cursor:pointer;font-size:11px;font-weight:750
}
.laxeh-search-btn:hover{background:var(--navy-2);border-color:var(--navy-2)}
.laxeh-table-pop{
  position:fixed;z-index:2147483635;width:min(390px,calc(100vw - 24px));background:#fff;
  border:1px solid var(--line);border-radius:13px;box-shadow:0 22px 65px rgba(16,24,40,.22);
  display:none;overflow:hidden
}
.laxeh-table-pop.open{display:block}
.laxeh-table-pop-head{padding:13px 14px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}
.laxeh-table-pop-head strong{font-size:14px}.laxeh-table-pop-head small{display:block;color:#667085;font-size:10px;margin-top:3px}
.laxeh-table-insert{padding:14px}
.laxeh-grid-label{font-size:11px;color:#667085;margin-bottom:9px;font-weight:650}
.laxeh-table-grid{display:grid;grid-template-columns:repeat(10,24px);gap:4px}
.laxeh-grid-cell{width:24px;height:24px;border:1px solid #cfd6df;border-radius:3px;background:#fff;cursor:pointer}
.laxeh-grid-cell.on{background:#ffe9e9;border-color:#f33535}
.laxeh-table-edit{display:none;padding:13px 14px 15px}
.laxeh-table-edit.active{display:block}
.laxeh-table-section-title{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#98a2b3;font-weight:800;margin:8px 0 6px}
.laxeh-table-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.laxeh-table-actions .laxeh-btn{height:auto;min-height:38px;padding:6px;font-size:10px;line-height:1.2;white-space:normal}
.laxeh-btn.danger{color:#b42318;border-color:#f5c2c0;background:#fff}
.laxeh-btn.danger:hover{background:#fff1f0;border-color:#ef9a96}
.laxeh-delete-table{width:100%;margin-top:12px}
.laxeh-paper td.laxeh-active-cell,.laxeh-paper th.laxeh-active-cell{outline:2px solid #f33535;outline-offset:-2px;background:#fff7f7}


.laxeh-modal-backdrop{
  position:fixed;inset:0;z-index:2147483646;background:rgba(16,24,40,.46);backdrop-filter:blur(3px);
  display:none;align-items:center;justify-content:center;padding:18px
}
.laxeh-modal-backdrop.open{display:flex}
.laxeh-modal{
  width:min(465px,100%);background:#fff;border:1px solid var(--line);border-radius:16px;
  box-shadow:0 30px 90px rgba(16,24,40,.28);padding:20px;display:flex;gap:14px;
  animation:laModalIn .16s ease-out
}
@keyframes laModalIn{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
.laxeh-modal-icon{
  width:42px;height:42px;flex:0 0 42px;border-radius:11px;background:var(--navy-soft);color:var(--navy);
  display:grid;place-items:center;font-size:17px
}
.laxeh-modal-content{min-width:0;flex:1}
.laxeh-modal-head{display:flex;justify-content:space-between;gap:10px}
.laxeh-modal-head strong{display:block;font-size:16px;color:#101828}
.laxeh-modal-head p{font-size:12px;line-height:1.55;color:#667085;margin:5px 0 0}
.laxeh-modal-x{width:30px;height:30px;border:0;background:transparent;color:#98a2b3;border-radius:6px;cursor:pointer}
.laxeh-modal-x:hover{background:#f2f4f7;color:#344054}
.laxeh-modal-field{display:none;margin-top:15px}
.laxeh-modal-field.show{display:block}
.laxeh-modal-field label{display:block;font-size:11px;font-weight:750;color:#344054;margin-bottom:6px}
.laxeh-modal-field input{
  width:100%;height:39px;border:1px solid var(--line2);border-radius:8px;padding:0 11px;outline:0;color:#344054
}
.laxeh-modal-field input:focus{border-color:#f58d8d;box-shadow:0 0 0 3px #fff1f1}
.laxeh-modal-field small{display:block;color:#98a2b3;font-size:10px;margin-top:5px}
.laxeh-modal-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:17px}
.laxeh-import-loading{
  position:absolute;inset:0;background:rgba(255,255,255,.9);z-index:20;display:none;
  align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#475467;font-size:12px
}
.laxeh-import-loading.show{display:flex}
.laxeh-spinner{width:27px;height:27px;border:3px solid #f2caca;border-top-color:var(--la);border-radius:50%;animation:laSpin .7s linear infinite}
@keyframes laSpin{to{transform:rotate(360deg)}}


/* Expanded-mode advertising: hidden on the normal WordPress page */
.laxeh-expanded-workspace{min-height:0}
.laxeh-ad-rail{display:none}
.laxeh-wordhtml.is-expanded .laxeh-expanded-workspace{
  flex:1;min-height:0;display:grid;grid-template-columns:minmax(150px,190px) minmax(0,1fr) minmax(150px,190px);
  gap:16px;padding:16px;background:#dfe7f1;
  box-shadow:inset 0 1px 0 rgba(15,37,73,.08)
}
.laxeh-wordhtml.is-expanded .laxeh-views{
  min-width:0;min-height:0;background:#f8fafc;border:1px solid #c7d3e2;border-radius:12px;overflow:hidden;
  box-shadow:0 10px 30px rgba(15,37,73,.09)
}
.laxeh-wordhtml.is-expanded .laxeh-ad-rail{
  display:flex;min-width:0;min-height:0;flex-direction:column;align-items:center;justify-content:flex-start;
  padding:16px 10px;background:#e8eef6;border:1px solid #ced9e7;border-radius:12px
}
.laxeh-ad-label{
  font-size:9px;text-transform:uppercase;letter-spacing:.12em;color:#98a2b3;margin-bottom:8px;text-align:center
}
.laxeh-ad-slot{
  width:100%;min-height:280px;max-height:600px;display:flex;align-items:center;justify-content:center;
  background:#fff;border:1px solid #c9d5e4;border-radius:10px;overflow:hidden;
  box-shadow:0 7px 22px rgba(15,37,73,.07)
}
.laxeh-ad-placeholder{
  min-height:280px;width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;
  gap:7px;color:#8290a5;text-align:center;font-size:11px;padding:12px
}
.laxeh-ad-placeholder i{font-size:24px;color:#9eacc0}
.laxeh-ad-placeholder span{font-weight:700;color:var(--navy)}
.laxeh-ad-placeholder small{font-size:9px}
.laxeh-ad-slot ins.adsbygoogle{width:100%;min-height:280px}

/* Preserve a usable editor on narrower browser windows: ads disappear rather than crowd controls. */
@media(max-width:1100px){
 .laxeh-wordhtml.is-expanded .laxeh-expanded-workspace{grid-template-columns:minmax(130px,160px) minmax(0,1fr);gap:10px;padding:10px}
 .laxeh-wordhtml.is-expanded .laxeh-ad-right{display:none}
}
@media(max-width:850px){
 .laxeh-wordhtml.is-expanded .laxeh-expanded-workspace{display:block;padding:8px}
 .laxeh-wordhtml.is-expanded .laxeh-ad-rail{display:none}
 .laxeh-wordhtml.is-expanded .laxeh-views{height:100%}
}


/* Related HTML tools */
.laxeh-tool-switcher{
  display:none;align-items:center;gap:12px;padding:9px 13px;background:#f8fafc;
  border-bottom:1px solid var(--line);overflow:hidden
}
.laxeh-wordhtml.is-expanded .laxeh-tool-switcher{display:flex}
.laxeh-tool-switcher-label{
  display:flex;align-items:center;gap:7px;flex:0 0 auto;font-size:10px;font-weight:800;
  color:var(--navy);white-space:nowrap;text-transform:uppercase;letter-spacing:.035em
}
.laxeh-tool-switcher-label i{color:var(--la);font-size:11px}
.laxeh-tool-switcher-links{
  display:flex;align-items:center;gap:6px;min-width:0;overflow-x:auto;scrollbar-width:none
}
.laxeh-tool-switcher-links::-webkit-scrollbar{display:none}
.laxeh-converter-link{
  display:inline-flex;align-items:center;gap:6px;min-height:31px;padding:0 10px;border:1px solid #d7dee8;
  border-radius:7px;background:#fff;color:#475467;text-decoration:none;font-size:10px;font-weight:700;
  white-space:nowrap;transition:.18s ease
}
.laxeh-converter-link i{font-size:11px;color:#718096}
.laxeh-converter-link:hover{
  border-color:#9aabc0;background:#f4f7fb;color:var(--navy);transform:translateY(-1px)
}
.laxeh-converter-link:hover i{color:var(--navy)}
.laxeh-converter-link.active{
  border-color:var(--navy);background:var(--navy);color:#fff;box-shadow:0 3px 9px rgba(15,37,73,.12)
}
.laxeh-converter-link.active i{color:#fff}
@media(max-width:760px){
  .laxeh-wordhtml.is-expanded .laxeh-tool-switcher{align-items:flex-start;flex-direction:column;gap:7px}
  .laxeh-tool-switcher-links{width:100%;padding-bottom:1px}
}

@media(max-width:720px){
 .laxeh-head{align-items:flex-start;flex-direction:column}
 .laxeh-head-actions{width:100%}.laxeh-title small,.laxeh-sync{display:none}
 .laxeh-wordhtml:not(.is-expanded) .laxeh-view{height:560px}
 .laxeh-paper-space{padding:10px}.laxeh-paper{padding:27px 20px}
 .laxeh-tab{padding:0 10px}.laxeh-toolbar{gap:2px}.laxeh-group{padding-right:2px}
}

/* =========================================================
   V10 — Shared Learning Axis converter design normalization
   Matches HTML→Markdown / BBCode / Block Code converter shell
   ========================================================= */
.laxeh-wordhtml{
  width:100%;
  max-width:1180px;
  margin:28px auto;
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:13px;
  box-shadow:0 12px 35px rgba(15,37,73,.08);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  position:relative;
}
.laxeh-head{
  min-height:62px!important;
  padding:10px 13px!important;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border-bottom:1px solid #e4e7ec!important;
  background:#fff!important;
}
.laxeh-brand,.laxeh-title-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.laxeh-title strong{
  display:block;
  color:#0F2549!important;
  font-size:15px!important;
  line-height:1.25;
}
.laxeh-title small{
  display:block;
  color:#667085!important;
  font-size:11px!important;
  margin-top:3px;
}
.laxeh-head-actions{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}
.laxeh-head .laxeh-btn{
  height:34px!important;
  padding:0 11px!important;
  border:1px solid #d0d5dd!important;
  background:#fff!important;
  color:#344054!important;
  border-radius:7px!important;
  font-size:11px!important;
  font-weight:700!important;
  box-shadow:none!important;
}
.laxeh-head .laxeh-btn:hover{
  background:#f8fafc!important;
  border-color:#98a2b3!important;
  color:#0F2549!important;
}
.laxeh-head .laxeh-btn.primary,
.laxeh-head .laxeh-btn.laxeh-primary{
  background:#f33535!important;
  border-color:#f33535!important;
  color:#fff!important;
}
.laxeh-head .laxeh-btn.primary:hover,
.laxeh-head .laxeh-btn.laxeh-primary:hover{
  background:#d92b2b!important;
  border-color:#d92b2b!important;
  color:#fff!important;
}

/* Same expanded-only related-tools strip */
.laxeh-tool-switcher{
  padding:9px 13px!important;
  background:#f8fafc!important;
  border-bottom:1px solid #e4e7ec!important;
}
.laxeh-tool-switcher-label{
  font-size:10px!important;
  font-weight:800!important;
  color:#0F2549!important;
  letter-spacing:.035em!important;
}
.laxeh-converter-link{
  min-height:31px!important;
  padding:0 10px!important;
  border:1px solid #d7dee8!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#475467!important;
  font-size:10px!important;
  font-weight:700!important;
  box-shadow:none!important;
}
.laxeh-converter-link:hover{
  border-color:#9aabc0!important;
  background:#f4f7fb!important;
  color:#0F2549!important;
}
.laxeh-converter-link.active{
  border-color:#0F2549!important;
  background:#0F2549!important;
  color:#fff!important;
  box-shadow:0 3px 9px rgba(15,37,73,.12)!important;
}

/* Rich Word editor keeps its own controls, but uses the same surface language */
.laxeh-toolbar{
  border-bottom-color:#e4e7ec!important;
  background:#fbfcfe!important;
}
.laxeh-paper-space{
  background:#f4f7fb!important;
}
.laxeh-paper{
  border-color:#d9e1eb!important;
  box-shadow:0 5px 20px rgba(15,37,73,.07)!important;
}

/* Expanded mode exactly matches companion converters */
.laxeh-wordhtml.is-expanded{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100dvh!important;
  max-width:none!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  z-index:2147483647!important;
}
.laxeh-wordhtml.is-expanded .laxeh-expanded-workspace{
  flex:1;
  min-height:0;
  display:grid;
  grid-template-columns:minmax(145px,180px) minmax(0,1fr) minmax(145px,180px)!important;
  gap:16px!important;
  padding:16px!important;
  background:#dfe7f1!important;
}
.laxeh-wordhtml.is-expanded .laxeh-views{
  min-width:0;
  min-height:0;
  background:#f8fafc!important;
  border:1px solid #c7d3e2!important;
  border-radius:12px!important;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(15,37,73,.09)!important;
}
.laxeh-wordhtml.is-expanded .laxeh-ad-rail{
  padding:16px 10px!important;
  background:#e8eef6!important;
  border:1px solid #ced9e7!important;
  border-radius:12px!important;
}
.laxeh-ad-slot{
  background:#fff!important;
  border:1px solid #c9d5e4!important;
  border-radius:10px!important;
  box-shadow:0 7px 22px rgba(15,37,73,.07)!important;
}
.laxeh-ad-placeholder span{color:#0F2549!important}

@media(max-width:1100px){
  .laxeh-wordhtml.is-expanded .laxeh-expanded-workspace{
    grid-template-columns:minmax(130px,155px) minmax(0,1fr)!important;
    gap:10px!important;
    padding:10px!important;
  }
}
@media(max-width:850px){
  .laxeh-wordhtml.is-expanded .laxeh-expanded-workspace{display:block!important;padding:8px!important}
}
@media(max-width:760px){
  .laxeh-wordhtml{margin:0;border-radius:0;border-left:0;border-right:0}
  .laxeh-head{align-items:flex-start}
  .laxeh-title small{display:none}
}



/* Word-to-HTML theme isolation: unique rules not shared by the other converters. */
.laxeh-native-widget .laxeh-wordhtml { font-family:"Montserrat", Arial, sans-serif !important; color:var(--ink) !important; }
.laxeh-native-widget .laxeh-wordhtml button,
.laxeh-native-widget .laxeh-wordhtml input,
.laxeh-native-widget .laxeh-wordhtml select,
.laxeh-native-widget .laxeh-wordhtml textarea { font-family:"Montserrat", Arial, sans-serif !important; }

/* ==========================================================
   v2.0.2 — WORD TO HTML EXPLICIT COMPONENT TYPOGRAPHY
   Word-specific controls are fully defined so Astra/Elementor
   cannot supply typography or button/form styling.
   ========================================================== */
.laxeh-native-widget .laxeh-wordhtml,
.laxeh-native-widget .laxeh-wordhtml .laxeh-head,
.laxeh-native-widget .laxeh-wordhtml .laxeh-tabs,
.laxeh-native-widget .laxeh-wordhtml .laxeh-toolbar,
.laxeh-native-widget .laxeh-wordhtml .laxeh-status {
  font-family: "Montserrat", Arial, sans-serif !important;
  color:#172033 !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-btn {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size:12px !important;font-weight:700 !important;line-height:1 !important;color:#344054 !important;
  background:#fff !important;border:1px solid #d0d5dd !important;border-radius:8px !important;
  padding:0 11px !important;margin:0 !important;box-shadow:none !important;text-shadow:none !important;
  text-decoration:none !important;text-transform:none !important;appearance:none !important;-webkit-appearance:none !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-btn:hover {background:#f8fafc !important;border-color:#98a2b3 !important;color:#0F2549 !important;}
.laxeh-native-widget .laxeh-wordhtml .laxeh-btn.primary {background:#f33535 !important;border-color:#f33535 !important;color:#fff !important;}
.laxeh-native-widget .laxeh-wordhtml .laxeh-btn.primary:hover {background:#d92b2b !important;border-color:#d92b2b !important;color:#fff !important;}
.laxeh-native-widget .laxeh-wordhtml .laxeh-tab {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size:13px !important;font-weight:700 !important;line-height:1 !important;color:#667085 !important;
  background:transparent !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;text-transform:none !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-tab.active {color:#0F2549 !important;}
.laxeh-native-widget .laxeh-wordhtml .laxeh-tool {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size:12px !important;font-weight:400 !important;line-height:1 !important;color:#475467 !important;
  background:transparent !important;border:1px solid transparent !important;border-radius:7px !important;
  padding:0 !important;margin:0 !important;box-shadow:none !important;text-shadow:none !important;appearance:none !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-tool:hover {background:#fff !important;border-color:#b9c7d8 !important;color:#0F2549 !important;}
.laxeh-native-widget .laxeh-wordhtml .laxeh-select,
.laxeh-native-widget .laxeh-wordhtml input[type="text"],
.laxeh-native-widget .laxeh-wordhtml input[type="url"],
.laxeh-native-widget .laxeh-wordhtml input[type="number"] {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size:11px !important;font-weight:400 !important;line-height:1.2 !important;color:#344054 !important;
  background:#fff !important;border:1px solid #e3e8ef !important;border-radius:7px !important;
  box-shadow:none !important;text-shadow:none !important;text-transform:none !important;appearance:auto !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-sync {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size:11px !important;font-weight:400 !important;line-height:1.3 !important;color:#98a2b3 !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-paper {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size:16px !important;font-weight:400 !important;font-style:normal !important;line-height:1.7 !important;
  letter-spacing:normal !important;text-transform:none !important;color:#202939 !important;background:#fff !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-paper p,
.laxeh-native-widget .laxeh-wordhtml .laxeh-paper li,
.laxeh-native-widget .laxeh-wordhtml .laxeh-paper td,
.laxeh-native-widget .laxeh-wordhtml .laxeh-paper th,
.laxeh-native-widget .laxeh-wordhtml .laxeh-paper blockquote {
  font-family: "Montserrat", Arial, sans-serif !important;
  letter-spacing:normal !important;text-transform:none !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-paper h1,
.laxeh-native-widget .laxeh-wordhtml .laxeh-paper h2,
.laxeh-native-widget .laxeh-wordhtml .laxeh-paper h3,
.laxeh-native-widget .laxeh-wordhtml .laxeh-paper h4,
.laxeh-native-widget .laxeh-wordhtml .laxeh-paper h5,
.laxeh-native-widget .laxeh-wordhtml .laxeh-paper h6 {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-weight:700 !important;font-style:normal !important;letter-spacing:normal !important;text-transform:none !important;color:#202939 !important;
}
.laxeh-native-widget .laxeh-wordhtml .CodeMirror,
.laxeh-native-widget .laxeh-wordhtml .CodeMirror pre,
.laxeh-native-widget .laxeh-wordhtml .CodeMirror-code,
.laxeh-native-widget .laxeh-wordhtml .CodeMirror-line,
.laxeh-native-widget .laxeh-wordhtml .CodeMirror-line-like {
  font-family: Consolas, Monaco, "SFMono-Regular", "Liberation Mono", "Courier New", monospace !important;
  font-size:14px !important;font-weight:400 !important;font-style:normal !important;line-height:1.65 !important;
  letter-spacing:normal !important;text-transform:none !important;text-shadow:none !important;
}


/* v2.0.5: Word-to-HTML uses the common BODY PORTAL as the only fixed viewport layer.
   The inner editor fills that portal instead of creating a second fixed stacking context. */
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded {
  position:relative!important;
  inset:auto!important;
  top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-width:none!important;
  margin:0!important;
  z-index:1!important;
}


/* =========================================================
   v2.0.6 — WORD-TO-HTML EXPANDED OVERLAYS
   The outer native widget is the viewport portal. Keep every
   Word-specific popup above the editor while preserving the
   toolbar-anchored table picker position.
   ========================================================= */
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded {
  overflow:hidden !important;
  isolation:isolate !important;
}
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded .laxeh-head,
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded .laxeh-tabs,
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded .laxeh-expanded-workspace,
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded .laxeh-status {
  position:relative;
  z-index:1;
}
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded .laxeh-table-pop {
  position:fixed !important;
  z-index:100000 !important;
  max-height:calc(100dvh - 24px) !important;
  overflow:auto !important;
}
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded .laxeh-clean {
  position:fixed !important;
  z-index:100010 !important;
}
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded .laxeh-modal-backdrop {
  position:fixed !important;
  inset:0 !important;
  z-index:100100 !important;
}
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded .laxeh-modal {
  position:relative !important;
  z-index:100101 !important;
}
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded .laxeh-toast {
  z-index:100200 !important;
}


/* v2.0.8 — Word-to-HTML table UI isolation.
   Every table-control element gets explicit values so Astra/Elementor
   button/select rules cannot restyle the table picker or editor actions. */
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-pop,
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-pop * {
  box-sizing:border-box !important;
  font-family:"Montserrat", Arial, Helvetica, sans-serif !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-pop {
  color:#202939 !important;
  font-size:12px !important;
  line-height:1.4 !important;
  text-align:left !important;
  font-style:normal !important;
  text-transform:none !important;
  letter-spacing:normal !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-pop button.laxeh-btn,
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-pop button.laxeh-icon-btn,
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-actions button.laxeh-btn {
  appearance:none !important;
  -webkit-appearance:none !important;
  font-family:"Montserrat", Arial, Helvetica, sans-serif !important;
  font-size:10px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  letter-spacing:normal !important;
  text-transform:none !important;
  text-decoration:none !important;
  text-shadow:none !important;
  border:1px solid #d0d5dd !important;
  border-radius:8px !important;
  background:#ffffff !important;
  color:#344054 !important;
  box-shadow:none !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
  outline:none !important;
  cursor:pointer !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-actions button.laxeh-btn {
  width:100% !important;
  min-height:38px !important;
  height:auto !important;
  padding:7px 6px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:5px !important;
  white-space:normal !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-pop button.laxeh-btn:hover,
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-pop button.laxeh-btn:focus,
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-pop button.laxeh-btn:active {
  background:#f8fafc !important;
  color:#0F2549 !important;
  border-color:#98a2b3 !important;
  box-shadow:none !important;
  transform:none !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-pop button.laxeh-icon-btn {
  width:36px !important;
  min-width:36px !important;
  height:36px !important;
  min-height:36px !important;
  padding:0 !important;
  display:grid !important;
  place-items:center !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-pop button.laxeh-btn.danger,
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-pop button.laxeh-btn.danger:hover,
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-pop button.laxeh-btn.danger:focus {
  background:#fff !important;
  color:#b42318 !important;
  border-color:#f5c2c0 !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-pop button.laxeh-btn.danger:hover,
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-pop button.laxeh-btn.danger:focus {
  background:#fff1f0 !important;
  border-color:#ef9a96 !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-grid button.laxeh-grid-cell {
  appearance:none !important;
  -webkit-appearance:none !important;
  width:24px !important;
  min-width:24px !important;
  max-width:24px !important;
  height:24px !important;
  min-height:24px !important;
  padding:0 !important;
  margin:0 !important;
  border:1px solid #cfd6df !important;
  border-radius:3px !important;
  background:#ffffff !important;
  color:transparent !important;
  box-shadow:none !important;
  cursor:pointer !important;
  display:block !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-grid button.laxeh-grid-cell:hover,
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-grid button.laxeh-grid-cell.on {
  background:#ffe9e9 !important;
  border-color:#f33535 !important;
  box-shadow:none !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-pop-head strong,
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-pop-head small,
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-section-title,
.laxeh-native-widget .laxeh-wordhtml .laxeh-grid-label {
  font-family:"Montserrat", Arial, Helvetica, sans-serif !important;
  text-transform:none !important;
  letter-spacing:normal !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-section-title {
  text-transform:uppercase !important;
  letter-spacing:.08em !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-pop i {
  font-family:"Font Awesome 6 Free","Font Awesome 6 Brands" !important;
  font-style:normal !important;
}


/* v2.0.10 — Word confirmation dialogs use the same visual component as the
   Markdown / BBCode / Block Code editors. Input dialogs retain Word's richer
   field layout. */
.laxeh-wordhtml .laxeh-modal.laxeh-shared-confirm {
  width:min(430px,100%) !important;
  padding:0 !important;
  display:block !important;
  gap:0 !important;
  background:#ffffff !important;
  border:1px solid #dbe2ea !important;
  border-radius:13px !important;
  box-shadow:0 24px 70px rgba(15,37,73,.22) !important;
  overflow:hidden !important;
}
.laxeh-wordhtml .laxeh-modal.laxeh-shared-confirm .laxeh-modal-content {
  display:block !important;
  min-width:0 !important;
}
.laxeh-wordhtml .laxeh-modal.laxeh-shared-confirm .laxeh-modal-head {
  padding:20px !important;
  display:flex !important;
  gap:12px !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
}
.laxeh-wordhtml .laxeh-modal.laxeh-shared-confirm .laxeh-modal-icon {
  float:left !important;
  width:42px !important;
  height:42px !important;
  margin:20px 0 0 20px !important;
  border-radius:11px !important;
  background:#eef3f9 !important;
  color:#0F2549 !important;
}
.laxeh-wordhtml .laxeh-modal.laxeh-shared-confirm .laxeh-modal-head > div {
  padding-left:54px !important;
  min-height:42px !important;
}
.laxeh-wordhtml .laxeh-modal.laxeh-shared-confirm .laxeh-modal-head strong {
  display:block !important;
  margin:1px 0 5px !important;
  color:#0F2549 !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1.3 !important;
}
.laxeh-wordhtml .laxeh-modal.laxeh-shared-confirm .laxeh-modal-head p {
  margin:0 !important;
  color:#667085 !important;
  font-size:11px !important;
  line-height:1.55 !important;
}
.laxeh-wordhtml .laxeh-modal.laxeh-shared-confirm .laxeh-modal-x,
.laxeh-wordhtml .laxeh-modal.laxeh-shared-confirm .laxeh-modal-field {
  display:none !important;
}
.laxeh-wordhtml .laxeh-modal.laxeh-shared-confirm .laxeh-modal-actions {
  clear:both !important;
  margin:0 !important;
  padding:12px 16px !important;
  border-top:1px solid #dbe2ea !important;
  display:flex !important;
  justify-content:flex-end !important;
  gap:7px !important;
  background:#fafbfc !important;
}
\n\n/* v2.0.12 — Word-to-HTML New Document uses the exact shared converter modal\n   and, because this backdrop is a child of .laxeh-wordhtml, it dims only the\n   editor in normal mode. In expanded mode the editor itself fills the viewport. */\n.laxeh-wordhtml > .laxeh-newdoc-backdrop {\n  display:none !important;\n  position:absolute !important;\n  inset:0 !important;\n  z-index:100120 !important;\n  background:rgba(15,37,73,.32) !important;\n  -webkit-backdrop-filter:blur(2px) !important;\n  backdrop-filter:blur(2px) !important;\n  align-items:center !important;\n  justify-content:center !important;\n  padding:20px !important;\n}\n.laxeh-wordhtml > .laxeh-newdoc-backdrop.open {display:flex !important;}\n.laxeh-wordhtml > .laxeh-newdoc-backdrop > .laxeh-standard-modal {\n  position:relative !important;\n  width:min(430px,100%) !important;\n  padding:0 !important;\n  display:block !important;\n  background:#ffffff !important;\n  border:1px solid #dbe2ea !important;\n  border-radius:13px !important;\n  box-shadow:0 24px 70px rgba(15,37,73,.22) !important;\n  overflow:hidden !important;\n  color:#172033 !important;\n}\n.laxeh-wordhtml > .laxeh-newdoc-backdrop .laxeh-modal-body {padding:20px !important;}\n.laxeh-wordhtml > .laxeh-newdoc-backdrop .laxeh-modal-top {\n  display:flex !important;gap:12px !important;align-items:flex-start !important;\n}\n.laxeh-wordhtml > .laxeh-newdoc-backdrop .laxeh-modal-icon {\n  width:42px !important;height:42px !important;margin:0 !important;\n  border-radius:11px !important;background:#eef3f9 !important;color:#0F2549 !important;\n  display:grid !important;place-items:center !important;flex:0 0 auto !important;\n}\n.laxeh-wordhtml > .laxeh-newdoc-backdrop .laxeh-modal-top > div:last-child {min-width:0 !important;}\n.laxeh-wordhtml > .laxeh-newdoc-backdrop h3 {\n  margin:1px 0 5px !important;padding:0 !important;color:#0F2549 !important;\n  font-family:"Montserrat",Arial,Helvetica,sans-serif !important;font-size:15px !important;\n  font-weight:700 !important;line-height:1.3 !important;\n}\n.laxeh-wordhtml > .laxeh-newdoc-backdrop p {\n  margin:0 !important;padding:0 !important;color:#667085 !important;\n  font-family:"Montserrat",Arial,Helvetica,sans-serif !important;font-size:11px !important;\n  font-weight:400 !important;line-height:1.55 !important;\n}\n.laxeh-wordhtml > .laxeh-newdoc-backdrop .laxeh-modal-actions {\n  margin:0 !important;padding:12px 16px !important;border-top:1px solid #e3e8ef !important;\n  display:flex !important;justify-content:flex-end !important;gap:7px !important;background:#fafbfc !important;\n}\n.laxeh-wordhtml > .laxeh-newdoc-backdrop .laxeh-modal-actions .laxeh-btn {\n  min-height:34px !important;margin:0 !important;padding:0 12px !important;\n  border:1px solid #d0d5dd !important;border-radius:7px !important;background:#ffffff !important;\n  color:#344054 !important;font-family:"Montserrat",Arial,Helvetica,sans-serif !important;\n  font-size:11px !important;font-weight:700 !important;line-height:32px !important;box-shadow:none !important;\n}\n.laxeh-wordhtml > .laxeh-newdoc-backdrop .laxeh-modal-actions .laxeh-btn.primary {\n  border-color:#f33535 !important;background:#f33535 !important;color:#ffffff !important;\n}\n.laxeh-wordhtml > .laxeh-newdoc-backdrop .laxeh-modal-actions .laxeh-btn.primary:hover {\n  border-color:#d92b2b !important;background:#d92b2b !important;color:#ffffff !important;\n}\n
/* v2.0.15 — Word-to-HTML editor-local overlays.
   All modal effects stay inside the editor shell. Clean is centered relative
   to the editor, never the browser viewport. */
.laxeh-wordhtml > .laxeh-modal-backdrop,
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded > .laxeh-modal-backdrop {
  position:absolute !important;
  inset:0 !important;
  z-index:100100 !important;
  background:rgba(15,37,73,.32) !important;
  -webkit-backdrop-filter:blur(2px) !important;
  backdrop-filter:blur(2px) !important;
  align-items:center !important;
  justify-content:center !important;
  padding:20px !important;
}
.laxeh-wordhtml > .laxeh-modal-backdrop.open {display:flex !important;}
.laxeh-wordhtml > .laxeh-modal-backdrop > .laxeh-modal {
  position:relative !important;
  inset:auto !important;
  z-index:1 !important;
  margin:auto !important;
}

/* Clean uses an editor-local backdrop generated by the editor itself. */
.laxeh-wordhtml.laxeh-clean-open::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:100090;
  background:rgba(15,37,73,.32);
  -webkit-backdrop-filter:blur(2px);
  backdrop-filter:blur(2px);
}
.laxeh-wordhtml .laxeh-clean,
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded .laxeh-clean {
  position:absolute !important;
  left:50% !important;
  right:auto !important;
  top:50% !important;
  bottom:auto !important;
  transform:translate(-50%,-50%) !important;
  width:min(390px,calc(100% - 40px)) !important;
  max-height:calc(100% - 40px) !important;
  overflow:auto !important;
  z-index:100091 !important;
  margin:0 !important;
}


/* v2.0.16 — dialogs belong to the editor body, never to the viewport. */
.laxeh-wordhtml .laxeh-views {
  position:relative !important;
  isolation:isolate !important;
}
.laxeh-wordhtml .laxeh-views > .laxeh-modal-backdrop,
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded .laxeh-views > .laxeh-modal-backdrop {
  position:absolute !important;
  inset:0 !important;
  width:auto !important;
  height:auto !important;
  z-index:100100 !important;
  margin:0 !important;
  padding:20px !important;
  display:none !important;
  align-items:center !important;
  justify-content:center !important;
  background:rgba(15,37,73,.32) !important;
  -webkit-backdrop-filter:blur(2px) !important;
  backdrop-filter:blur(2px) !important;
}
.laxeh-wordhtml .laxeh-views > .laxeh-modal-backdrop.open {display:flex !important;}
.laxeh-wordhtml .laxeh-views > .laxeh-modal-backdrop > .laxeh-modal {
  position:relative !important;
  inset:auto !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  transform:none !important;
  margin:auto !important;
  max-height:calc(100% - 20px) !important;
  overflow:auto !important;
}
.laxeh-wordhtml.laxeh-clean-open::after {display:none !important;}
.laxeh-wordhtml.laxeh-clean-open .laxeh-views::after {
  content:"";
  position:absolute !important;
  inset:0 !important;
  z-index:100090 !important;
  background:rgba(15,37,73,.32) !important;
  -webkit-backdrop-filter:blur(2px) !important;
  backdrop-filter:blur(2px) !important;
  pointer-events:none !important;
}
.laxeh-wordhtml .laxeh-views > .laxeh-clean,
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded .laxeh-views > .laxeh-clean {
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  right:auto !important;
  bottom:auto !important;
  transform:translate(-50%,-50%) !important;
  z-index:100091 !important;
  width:min(390px,calc(100% - 40px)) !important;
  max-height:calc(100% - 40px) !important;
  margin:0 !important;
  overflow:auto !important;
}


/* v2.0.17 — popup remains centered in the editor body while the blur effect
   covers the complete Word-to-HTML editor shell, never the surrounding page. */
.laxeh-wordhtml.laxeh-dialog-open > *:not(.laxeh-views) {
  -webkit-filter:blur(2px) !important;
  filter:blur(2px) !important;
}
.laxeh-wordhtml.laxeh-dialog-open > .laxeh-views {
  position:relative !important;
}
/* The editor-body backdrop handles the body itself; header, toolbars/status and
   other editor chrome are blurred by the rule above. */
.laxeh-wordhtml.laxeh-dialog-open .laxeh-views > .laxeh-modal-backdrop,
.laxeh-wordhtml.laxeh-clean-open .laxeh-views::after {
  background:rgba(15,37,73,.32) !important;
  -webkit-backdrop-filter:blur(2px) !important;
  backdrop-filter:blur(2px) !important;
}

/* v2.0.18 — dim the complete Word-to-HTML editor, keep popup sharp. */
.laxeh-wordhtml {
  position:relative !important;
  isolation:isolate !important;
}
.laxeh-wordhtml.laxeh-dialog-open > *:not(.laxeh-views) {
  -webkit-filter:none !important;
  filter:none !important;
}
.laxeh-wordhtml.laxeh-dialog-open::before,
.laxeh-wordhtml.laxeh-clean-open::before {
  content:"";
  position:absolute !important;
  inset:0 !important;
  z-index:100090 !important;
  background:rgba(15,37,73,.32) !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
  pointer-events:auto !important;
}
.laxeh-wordhtml.laxeh-dialog-open .laxeh-views > .laxeh-modal-backdrop {
  background:transparent !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
  z-index:100100 !important;
}
.laxeh-wordhtml.laxeh-clean-open .laxeh-views::after {
  display:none !important;
  content:none !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}
.laxeh-wordhtml .laxeh-views > .laxeh-modal-backdrop > .laxeh-modal,
.laxeh-wordhtml .laxeh-views > .laxeh-clean {
  position:relative !important;
  z-index:100110 !important;
  -webkit-filter:none !important;
  filter:none !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}
.laxeh-wordhtml .laxeh-views > .laxeh-clean {
  position:absolute !important;
}
\n\n/* v2.0.19 — whole-editor dim with popup cards always above it.\n   Dialogs are direct children of .laxeh-wordhtml, so no nested stacking context\n   can place them behind the dim layer in normal or expanded mode. */\n.laxeh-wordhtml > .laxeh-modal-backdrop,\n.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded > .laxeh-modal-backdrop {\n  display:none !important;\n  position:absolute !important;\n  inset:0 !important;\n  width:100% !important;\n  height:100% !important;\n  z-index:100200 !important;\n  margin:0 !important;\n  padding:20px !important;\n  align-items:center !important;\n  justify-content:center !important;\n  background:rgba(15,37,73,.32) !important;\n  -webkit-backdrop-filter:none !important;\n  backdrop-filter:none !important;\n}\n.laxeh-wordhtml > .laxeh-modal-backdrop.open {display:flex !important;}\n.laxeh-wordhtml > .laxeh-modal-backdrop > .laxeh-modal {\n  position:relative !important;\n  inset:auto !important;\n  z-index:100201 !important;\n  margin:auto !important;\n  transform:none !important;\n  -webkit-filter:none !important;\n  filter:none !important;\n  -webkit-backdrop-filter:none !important;\n  backdrop-filter:none !important;\n}\n/* The backdrop itself now dims the complete editor for normal dialogs. */\n.laxeh-wordhtml.laxeh-dialog-open::before {display:none !important;}\n\n/* Clean has no backdrop element, so use the editor-shell pseudo layer and keep\n   the Clean card one level above it. */\n.laxeh-wordhtml.laxeh-clean-open::before {\n  display:block !important;\n  content:\"\" !important;\n  position:absolute !important;\n  inset:0 !important;\n  z-index:100200 !important;\n  background:rgba(15,37,73,.32) !important;\n  pointer-events:auto !important;\n  -webkit-backdrop-filter:none !important;\n  backdrop-filter:none !important;\n}\n.laxeh-wordhtml > .laxeh-clean,\n.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded > .laxeh-clean {\n  position:absolute !important;\n  left:50% !important;\n  top:50% !important;\n  right:auto !important;\n  bottom:auto !important;\n  transform:translate(-50%,-50%) !important;\n  z-index:100201 !important;\n  width:min(390px,calc(100% - 40px)) !important;\n  max-height:calc(100% - 40px) !important;\n  margin:0 !important;\n  overflow:auto !important;\n  -webkit-filter:none !important;\n  filter:none !important;\n}\n
/* v2.0.20 — New Document dim is strictly bounded by the Word-to-HTML editor. */
.laxeh-wordhtml {
  position:relative !important;
  isolation:isolate !important;
}
.laxeh-wordhtml > .laxeh-newdoc-backdrop,
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded > .laxeh-newdoc-backdrop {
  position:absolute !important;
  inset:0 !important;
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:100% !important;
  z-index:100220 !important;
  margin:0 !important;
  padding:20px !important;
  background:rgba(15,37,73,.32) !important;
  overflow:hidden !important;
  align-items:center !important;
  justify-content:center !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}
.laxeh-wordhtml > .laxeh-newdoc-backdrop.open {display:flex !important;}
.laxeh-wordhtml > .laxeh-newdoc-backdrop > .laxeh-standard-modal {
  position:relative !important;
  inset:auto !important;
  z-index:100221 !important;
  margin:auto !important;
  transform:none !important;
  -webkit-filter:none !important;
  filter:none !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}


/* v2.0.21 — Table picker always opens below its toolbar icon. */
.laxeh-native-widget .laxeh-wordhtml .laxeh-table-pop {
  overflow-x:hidden !important;
  overflow-y:auto !important;
}

/* v2.0.22 — Insert Link / Insert Image modal is editor-relative only. */
.laxeh-wordhtml { position:relative !important; isolation:isolate !important; }
.laxeh-wordhtml > #laModalBackdrop,
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded > #laModalBackdrop {
  position:absolute !important;
  inset:0 !important;
  top:0 !important;
  right:0 !important;
  bottom:0 !important;
  left:0 !important;
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:100% !important;
  margin:0 !important;
  padding:20px !important;
  z-index:100230 !important;
  align-items:center !important;
  justify-content:center !important;
  background:rgba(15,37,73,.32) !important;
  overflow:hidden !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}
.laxeh-wordhtml > #laModalBackdrop.open { display:flex !important; }
.laxeh-wordhtml > #laModalBackdrop > .laxeh-modal {
  position:relative !important;
  inset:auto !important;
  top:auto !important;
  right:auto !important;
  bottom:auto !important;
  left:auto !important;
  z-index:100231 !important;
  margin:auto !important;
  transform:none !important;
  -webkit-filter:none !important;
  filter:none !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}

/* v2.0.24 — Clean HTML popup matches the shared converter modal design. */
.laxeh-wordhtml > .laxeh-clean,
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded > .laxeh-clean {
  width:min(430px,calc(100% - 40px)) !important;
  background:#ffffff !important;
  border:1px solid #dbe2ea !important;
  border-radius:13px !important;
  box-shadow:0 24px 70px rgba(15,37,73,.22) !important;
  overflow:hidden !important;
  color:#172033 !important;
  font-family:"Montserrat",Arial,Helvetica,sans-serif !important;
}
.laxeh-wordhtml > .laxeh-clean .laxeh-clean-head {
  min-height:0 !important;
  margin:0 !important;
  padding:16px 20px !important;
  border:0 !important;
  border-bottom:1px solid #e3e8ef !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  background:#ffffff !important;
}
.laxeh-wordhtml > .laxeh-clean .laxeh-clean-head strong {
  margin:0 !important;
  padding:0 !important;
  color:#0F2549 !important;
  font-family:"Montserrat",Arial,Helvetica,sans-serif !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1.3 !important;
}
.laxeh-wordhtml > .laxeh-clean .laxeh-clean-head strong i {margin-right:7px !important;color:#0F2549 !important;}
.laxeh-wordhtml > .laxeh-clean .laxeh-clean-body {
  margin:0 !important;
  padding:18px 20px 20px !important;
  background:#ffffff !important;
}
.laxeh-wordhtml > .laxeh-clean .laxeh-check {
  min-height:30px !important;
  margin:0 !important;
  padding:5px 0 !important;
  color:#344054 !important;
  font-family:"Montserrat",Arial,Helvetica,sans-serif !important;
  font-size:11px !important;
  font-weight:500 !important;
  line-height:1.5 !important;
}
.laxeh-wordhtml > .laxeh-clean .laxeh-clean-actions {
  margin:16px -20px -20px !important;
  padding:12px 16px !important;
  border-top:1px solid #e3e8ef !important;
  display:flex !important;
  justify-content:flex-end !important;
  gap:7px !important;
  background:#fafbfc !important;
}
.laxeh-wordhtml > .laxeh-clean .laxeh-clean-actions .laxeh-btn {
  flex:0 0 auto !important;
  min-height:34px !important;
  margin:0 !important;
  padding:0 12px !important;
  border:1px solid #d0d5dd !important;
  border-radius:7px !important;
  background:#ffffff !important;
  color:#344054 !important;
  font-family:"Montserrat",Arial,Helvetica,sans-serif !important;
  font-size:11px !important;
  font-weight:700 !important;
  line-height:32px !important;
  box-shadow:none !important;
}
.laxeh-wordhtml > .laxeh-clean .laxeh-clean-actions .laxeh-btn.primary {
  border-color:#f33535 !important;
  background:#f33535 !important;
  color:#ffffff !important;
}
.laxeh-wordhtml > .laxeh-clean #laCleanClose {
  width:30px !important;
  height:30px !important;
  min-width:30px !important;
  min-height:30px !important;
  padding:0 !important;
  border:1px solid #d0d5dd !important;
  border-radius:7px !important;
  background:#ffffff !important;
  color:#667085 !important;
  display:grid !important;
  place-items:center !important;
  box-shadow:none !important;
}
.laxeh-wordhtml > .laxeh-clean #laCleanClose:hover {background:#f8fafc !important;color:#0F2549 !important;border-color:#b8c2cf !important;}

/* v2.0.25 — professional Find & Replace styling */
.laxeh-native-widget .laxeh-wordhtml .laxeh-search-btn,
.laxeh-native-widget .laxeh-wordhtml .laxeh-findbar .laxeh-btn {
  background:#fff !important;
  color:#344054 !important;
  border:1px solid #d0d5dd !important;
  font-family:"Montserrat",Arial,sans-serif !important;
  font-weight:500 !important;
  box-shadow:none !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-search-btn:hover,
.laxeh-native-widget .laxeh-wordhtml .laxeh-search-btn:focus,
.laxeh-native-widget .laxeh-wordhtml .laxeh-findbar .laxeh-btn:hover,
.laxeh-native-widget .laxeh-wordhtml .laxeh-findbar .laxeh-btn:focus {
  background:#f8fafc !important;
  color:#0F2549 !important;
  border-color:#98a2b3 !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-findfield input {
  font-family:"Montserrat",Arial,sans-serif !important;
  font-weight:400 !important;
}

/* v2.0.26 — compact Find & Replace typography and single-border fields */
.laxeh-native-widget .laxeh-wordhtml .laxeh-search-btn,
.laxeh-native-widget .laxeh-wordhtml .laxeh-findbar .laxeh-btn {
  font-size:11px !important;
  line-height:1.2 !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-findfield input,
.laxeh-native-widget .laxeh-wordhtml .laxeh-findfield input:hover,
.laxeh-native-widget .laxeh-wordhtml .laxeh-findfield input:focus,
.laxeh-native-widget .laxeh-wordhtml .laxeh-findfield input:focus-visible {
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  font-size:11px !important;
}

/* v2.0.28 — compact Word-to-HTML notifications, matching the other converters. */
.laxeh-native-widget .laxeh-wordhtml .laxeh-toast {
  position:absolute !important;
  left:auto !important;
  right:15px !important;
  top:auto !important;
  bottom:15px !important;
  z-index:100200 !important;
  width:auto !important;
  max-width:min(300px, calc(100% - 30px)) !important;
  margin:0 !important;
  padding:9px 12px !important;
  background:#0F2549 !important;
  color:#fff !important;
  border:0 !important;
  border-radius:8px !important;
  box-shadow:0 8px 24px rgba(15,37,73,.18) !important;
  font-family:"Montserrat", Arial, sans-serif !important;
  font-size:10px !important;
  font-weight:700 !important;
  line-height:1.3 !important;
  text-align:left !important;
  opacity:0 !important;
  transform:translateY(8px) !important;
  pointer-events:none !important;
  transition:opacity .2s ease, transform .2s ease !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-toast.show {
  opacity:1 !important;
  transform:none !important;
}
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded .laxeh-toast {
  position:absolute !important;
  right:15px !important;
  bottom:15px !important;
  z-index:100200 !important;
}

/* v2.0.29 — all Word-to-HTML status messages use the exact compact converter toast placement. */
.laxeh-native-widget .laxeh-wordhtml .laxeh-toast,
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded .laxeh-toast {
  position:absolute !important;
  left:auto !important;
  right:15px !important;
  top:auto !important;
  bottom:52px !important;
  width:auto !important;
  max-width:min(300px, calc(100% - 30px)) !important;
  padding:9px 12px !important;
  margin:0 !important;
  background:#0F2549 !important;
  color:#fff !important;
  border:0 !important;
  border-radius:8px !important;
  box-shadow:0 8px 24px rgba(15,37,73,.18) !important;
  font-family:"Montserrat",Arial,sans-serif !important;
  font-size:10px !important;
  font-weight:700 !important;
  line-height:1.3 !important;
  text-align:left !important;
  white-space:normal !important;
  opacity:0 !important;
  transform:translateY(8px) !important;
  pointer-events:none !important;
  transition:opacity .2s ease,transform .2s ease !important;
  z-index:100300 !important;
}
.laxeh-native-widget .laxeh-wordhtml .laxeh-toast.show,
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded .laxeh-toast.show {
  opacity:1 !important;
  transform:none !important;
}

/* v2.0.30 — Word-to-HTML notifications are positioned against the editor shell, never the viewport. */
.laxeh-native-widget .laxeh-wordhtml {
  position:relative !important;
}
.laxeh-native-widget .laxeh-wordhtml > .laxeh-toast,
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded > .laxeh-toast {
  position:absolute !important;
  left:auto !important;
  right:15px !important;
  top:auto !important;
  bottom:52px !important;
  margin:0 !important;
}


/* v2.0.31 — definitive shared-converter toast behavior for Word-to-HTML.
   The toast is anchored to the editor shell (not the viewport) and matches
   HTML-to-Markdown / HTML-to-BBCode compact navy notification styling. */
.laxeh-native-widget .laxeh-wordhtml {
  position: relative !important;
}
.laxeh-native-widget .laxeh-wordhtml > #laToast.laxeh-toast,
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded > #laToast.laxeh-toast {
  position: absolute !important;
  inset: auto 15px 52px auto !important;
  left: auto !important;
  top: auto !important;
  right: 15px !important;
  bottom: 52px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: min(300px, calc(100% - 30px)) !important;
  height: auto !important;
  margin: 0 !important;
  padding: 9px 12px !important;
  background: #0F2549 !important;
  background-color: #0F2549 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(15,37,73,.18) !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: left !important;
  white-space: normal !important;
  opacity: 0 !important;
  transform: translateY(8px) !important;
  pointer-events: none !important;
  transition: opacity .2s ease, transform .2s ease !important;
  z-index: 100300 !important;
}
.laxeh-native-widget .laxeh-wordhtml > #laToast.laxeh-toast.show,
.laxeh-native-widget.laxeh-body-portal > .laxeh-wordhtml.is-expanded > #laToast.laxeh-toast.show {
  opacity: 1 !important;
  transform: none !important;
}

/* v2.0.32 — final editor-local compact notifications. */
.laxeh-native-widget .laxeh-wordhtml { position:relative !important; }
.laxeh-native-widget .laxeh-wordhtml #laToast.laxeh-toast,
.laxeh-native-widget.laxeh-body-portal .laxeh-wordhtml.is-expanded #laToast.laxeh-toast {
  position:absolute !important;
  left:auto !important;
  right:14px !important;
  top:auto !important;
  bottom:48px !important;
  width:max-content !important;
  min-width:0 !important;
  max-width:calc(100% - 28px) !important;
  margin:0 !important;
  padding:7px 10px !important;
  background:#0F2549 !important;
  color:#fff !important;
  border:0 !important;
  border-radius:7px !important;
  box-shadow:0 6px 18px rgba(15,37,73,.18) !important;
  font-family:"Montserrat",Arial,sans-serif !important;
  font-size:10px !important;
  font-weight:700 !important;
  line-height:1.25 !important;
  text-align:left !important;
  white-space:nowrap !important;
  opacity:0 !important;
  transform:translateY(6px) !important;
  pointer-events:none !important;
  transition:opacity .18s ease,transform .18s ease !important;
  z-index:100500 !important;
}
.laxeh-native-widget .laxeh-wordhtml #laToast.laxeh-toast.show,
.laxeh-native-widget.laxeh-body-portal .laxeh-wordhtml.is-expanded #laToast.laxeh-toast.show {
  opacity:1 !important;
  transform:translateY(0) !important;
}

/* v2.0.34: match the normal-mode Word-to-HTML height to the 550px editors. */
.laxeh-native-widget > .laxeh-wordhtml:not(.is-expanded) {
  height:550px !important;
  min-height:550px !important;
  display:flex !important;
  flex-direction:column !important;
}
.laxeh-native-widget > .laxeh-wordhtml:not(.is-expanded) > .laxeh-views {
  flex:1 1 auto !important;
  min-height:0 !important;
  display:flex !important;
  flex-direction:column !important;
}
.laxeh-native-widget > .laxeh-wordhtml:not(.is-expanded) > .laxeh-views > .laxeh-view.active {
  flex:1 1 auto !important;
  height:auto !important;
  min-height:0 !important;
}

/* v2.0.37 — remove unused space between the writing workspace and footer.
   The normal-mode workspace is the flex child of the shell; the views are nested
   one level deeper, not direct children of the shell. Expanded layout unchanged. */
.laxeh-native-widget > .laxeh-wordhtml:not(.is-expanded) > .laxeh-expanded-workspace {
  flex:1 1 auto !important;
  display:flex !important;
  flex-direction:column !important;
  min-height:0 !important;
}
.laxeh-native-widget > .laxeh-wordhtml:not(.is-expanded) > .laxeh-expanded-workspace > .laxeh-views {
  flex:1 1 auto !important;
  display:flex !important;
  flex-direction:column !important;
  min-height:0 !important;
}
.laxeh-native-widget > .laxeh-wordhtml:not(.is-expanded) > .laxeh-expanded-workspace > .laxeh-views > .laxeh-view.active {
  flex:1 1 auto !important;
  height:auto !important;
  min-height:0 !important;
}

/* v2.0.38 — increase only the normal-mode Word-to-HTML shell by 35px.
   Existing flex workspace consumes the added space without a footer gap. */
.laxeh-native-widget > .laxeh-wordhtml:not(.is-expanded) {
  height:585px !important;
  min-height:585px !important;
}

/* v2.0.41: match the shared editor header logo palette. */
.laxeh-native-widget.laxeh-tool-word-to-html .laxeh-wordhtml .laxeh-head .laxeh-logo {background:#0F2549 !important;color:#ffffff !important;}
.laxeh-native-widget.laxeh-tool-word-to-html .laxeh-wordhtml .laxeh-head .laxeh-logo i {color:#ffffff !important;}

/* v2.0.42: override older white ad-slot rules */
.laxeh-native-widget .laxeh-wordhtml.is-expanded .laxeh-ad-rail{padding:0!important;align-items:stretch!important;overflow:hidden!important}
.laxeh-native-widget .laxeh-wordhtml.is-expanded .laxeh-ad-slot{flex:1 1 auto!important;height:100%!important;min-height:0!important;max-height:none!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;align-items:stretch!important;justify-content:stretch!important}
.laxeh-native-widget .laxeh-wordhtml.is-expanded .laxeh-ad-slot ins.adsbygoogle{display:block!important;width:100%!important;height:100%!important;min-height:0!important}

/* v2.0.43: same ad-rail spacing for Word-to-HTML expanded view. */
.laxeh-native-widget .laxeh-wordhtml.is-expanded .laxeh-ad-rail{
  padding:0 5px 10px!important;
  box-sizing:border-box!important;
  align-items:center!important;
  justify-content:center!important;
}
.laxeh-native-widget .laxeh-wordhtml.is-expanded .laxeh-ad-slot{
  box-sizing:border-box!important;
  align-items:center!important;
  justify-content:center!important;
}

/* v2.0.47: Word-to-HTML mobile header: hide history buttons and let
   wrapped actions take their natural height instead of covering the tabs. */
@media screen and (max-width:767px) {
  .laxeh-native-widget .laxeh-wordhtml .laxeh-head-actions #laUndo,
  .laxeh-native-widget .laxeh-wordhtml .laxeh-head-actions #laRedo {
    display:none !important;
  }
  .laxeh-native-widget .laxeh-wordhtml > .laxeh-head {
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    flex:0 0 auto !important;
    align-items:flex-start !important;
    flex-wrap:wrap !important;
    overflow:visible !important;
  }
  .laxeh-native-widget .laxeh-wordhtml > .laxeh-head > .laxeh-head-actions {
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    flex-wrap:wrap !important;
    align-content:flex-start !important;
    position:relative !important;
  }
  .laxeh-native-widget .laxeh-wordhtml > .laxeh-tabs {
    flex:0 0 auto !important;
    position:relative !important;
  }
}

/* v2.0.48: keep the Visual/HTML/Synchronized tab bar at a stable height.
   The normal editor is a fixed-height flex column, so switching to CodeMirror
   must not allow the tab row to shrink under content pressure. */
.laxeh-native-widget .laxeh-wordhtml > .laxeh-tabs {
  height:52px !important;
  min-height:52px !important;
  max-height:52px !important;
  flex:0 0 52px !important;
  flex-shrink:0 !important;
  align-items:stretch !important;
}
.laxeh-native-widget .laxeh-wordhtml > .laxeh-tabs > .laxeh-tabset {
  height:100% !important;
  align-items:stretch !important;
}
.laxeh-native-widget .laxeh-wordhtml > .laxeh-tabs .laxeh-sync {
  align-self:center !important;
}

/* v2.0.49: keep title and actions at their natural height when switching to HTML. */
.laxeh-native-widget .laxeh-wordhtml > .laxeh-head {
  flex:0 0 auto !important;
  flex-shrink:0 !important;
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
}
.laxeh-native-widget .laxeh-wordhtml > .laxeh-head .laxeh-head-actions {flex-shrink:0 !important;}
.laxeh-native-widget .laxeh-wordhtml > .laxeh-expanded-workspace {flex:1 1 0% !important;min-height:0 !important;}
@media (max-width:767px) {
 .laxeh-native-widget .laxeh-wordhtml > .laxeh-head .laxeh-head-actions {flex-shrink:1 !important;min-width:0 !important;width:100% !important;}
}
