/* 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:600px}
.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;
}
