.vm-pdf-word-root{
  --vmx-blue:#1769e7;
  --vmx-blue-dark:#0f58c9;
  --vmx-blue-soft:#edf5ff;
  --vmx-green:#16834b;
  --vmx-green-dark:#107340;
  --vmx-green-soft:#ecfbf4;
  --vmx-red:#ef4444;
  --vmx-red-soft:#fff0f1;
  --vmx-ink:#172238;
  --vmx-muted:#617188;
  --vmx-line:#dfe6ef;
  --vmx-danger:#c92b37;
  --vmx-warning:#87570f;
  color:var(--vmx-ink);
  font:inherit;
  min-width:0;
  max-width:100%;
  width:100%;
  overflow-x:clip;
}
.vm-pdf-word-root *{box-sizing:border-box}
.vm-pdf-word-root [hidden]{display:none!important}
.vmx-shell{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;width:min(100%,900px);max-width:100%;min-width:0;margin:0 auto;padding:2px}
.vmx-shell>*{min-width:0;max-width:100%}
.vmx-card{border:1px solid var(--vmx-line);border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(23,34,56,.055)}
.vmx-upload-card{padding:22px}
.vmx-topline{display:flex;justify-content:center;margin-bottom:7px}
.vmx-private{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;background:#f4f8fc;color:#53657b;font-size:11px;font-weight:750}
.vmx-private svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.vmx-intro{display:grid;justify-items:center;text-align:center;padding:4px 14px 16px}
.vmx-main-icon{display:flex;align-items:center;justify-content:center;gap:8px;margin:1px 0 13px;color:#6380a3}
.vmx-main-icon>span{display:grid;place-items:center;width:54px;height:54px;border-radius:17px;box-shadow:inset 0 1px 0 #fff}
.vmx-main-icon>span:first-child{border:1px solid #ffd7d9;background:linear-gradient(145deg,#fff8f8,#fff0f1);color:var(--vmx-red)}
.vmx-main-icon>span:last-child{border:1px solid #c8ead5;background:linear-gradient(145deg,#f8fffa,#ecfbf4);color:var(--vmx-green)}
.vmx-main-icon b{font-size:20px;font-weight:900}
.vm-pdf-word-root[dir=rtl] .vmx-main-icon{flex-direction:row-reverse}
.vmx-main-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.vmx-intro h2{margin:0;color:var(--vmx-ink);font-size:clamp(22px,3.3vw,30px);line-height:1.16;font-weight:850;letter-spacing:-.025em}
.vmx-intro p{max-width:650px;margin:8px auto 0;color:var(--vmx-muted);font-size:13px;line-height:1.65}
.vmx-drop{position:relative;display:grid;justify-items:center;gap:11px;min-height:175px;padding:25px 20px;border:1.5px dashed #afc9e9;border-radius:18px;background:linear-gradient(180deg,#fbfdff,#f7faff);text-align:center;cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease}
.vmx-drop:hover,.vmx-drop:focus-within,.vmx-drop.is-drag{border-color:var(--vmx-blue);background:var(--vmx-blue-soft);box-shadow:0 0 0 4px rgba(23,105,231,.07)}
.vmx-drop.is-drag{transform:translateY(-1px)}
.vmx-drop.is-busy{pointer-events:none;opacity:.68}
.vmx-drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.vmx-drop-art{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#fff;color:var(--vmx-blue);box-shadow:0 7px 18px rgba(23,105,231,.1);pointer-events:none}
.vmx-drop-art svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.vmx-drop-copy{display:grid;gap:4px;pointer-events:none}
.vmx-drop-copy strong{color:#263a55;font-size:15px;font-weight:850}
.vmx-drop-copy small{color:#718096;font-size:12px}
.vmx-pick{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:0 17px;border:1px solid #bed5f2;border-radius:11px;background:#fff;color:var(--vmx-blue);font-size:12px;font-weight:850;box-shadow:0 4px 12px rgba(23,105,231,.06);pointer-events:none}
.vmx-file{display:flex;align-items:center;gap:13px;width:100%;min-width:0;padding:15px 16px;border:1px solid #dbe5f0;border-radius:16px;background:#fbfdff}
.vmx-file-icon{display:grid;flex:0 0 46px;place-items:center;width:46px;height:46px;border-radius:13px;background:var(--vmx-red-soft);color:var(--vmx-red);box-shadow:inset 0 0 0 1px #ffd5d8}
.vmx-file-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.vmx-file-copy{width:0;min-width:0;flex:1 1 0%;text-align:start}
.vmx-file-copy strong,.vmx-file-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vmx-file-copy strong{color:#263a55;font-size:13px;font-weight:850}
.vmx-file-copy small{margin-top:3px;color:#748398;font-size:11px}
.vmx-icon-btn{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:0;border-radius:10px;background:#f1f5f9;color:#64748b;cursor:pointer;transition:.16s ease}
.vmx-icon-btn:hover,.vmx-icon-btn:focus-visible{background:var(--vmx-red-soft);color:#dc2626}
.vmx-icon-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.vmx-settings-card{padding:18px 20px}
.vmx-section-heading{display:flex;align-items:center;gap:11px;margin-bottom:15px;text-align:start}
.vmx-section-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:11px;background:var(--vmx-blue-soft);color:var(--vmx-blue)}
.vmx-section-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.vmx-section-heading h3{margin:0;color:#263a55;font-size:15px;font-weight:850}
.vmx-section-heading p{margin:3px 0 0;color:#77869a;font-size:11px}
.vmx-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.vmx-mode-note{margin:13px 0 0;padding:10px 12px;border:1px solid #dbe7f4;border-radius:11px;background:#f8fbff;color:#52667e;font-size:11px;line-height:1.65;text-align:start}
.vmx-field{display:grid;gap:7px;text-align:start;color:#506279;font-size:11px;font-weight:800}
.vmx-field>span:first-child{padding-inline:2px}
.vmx-select-wrap{position:relative;display:block}
.vmx-select-wrap select,.vmx-field input[type=text]{width:100%;height:48px;padding:0 42px 0 13px;border:1px solid #cedae8;border-radius:13px;background:#fff;color:#233650;font:inherit;font-size:13px;font-weight:750;outline:0;appearance:none;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.vm-pdf-word-root[dir=rtl] .vmx-select-wrap select{padding:0 13px 0 42px}
.vmx-field input[type=text]{padding:0 13px;appearance:auto}
.vmx-select-wrap select:hover,.vmx-field input[type=text]:hover{border-color:#a9c1de}
.vmx-select-wrap select:focus,.vmx-field input[type=text]:focus{border-color:var(--vmx-blue);box-shadow:0 0 0 4px rgba(23,105,231,.085)}
.vmx-select-wrap select:disabled{background:#f3f6f9;color:#8b98a9;cursor:not-allowed}
.vmx-chevron{position:absolute;top:50%;right:14px;display:grid;place-items:center;width:20px;height:20px;transform:translateY(-50%);color:#6c7d92;pointer-events:none}
.vm-pdf-word-root[dir=rtl] .vmx-chevron{right:auto;left:14px}
.vmx-chevron svg,.vmx-summary-chevron svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.vmx-range{margin-top:12px;padding:13px;border:1px solid #dbe7f4;border-radius:14px;background:#f8fbff}
.vmx-check{display:flex;align-items:flex-start;gap:9px;margin-top:12px;padding:12px 13px;border:1px solid #dfe7f0;border-radius:12px;background:#fff;color:#53657b;font-size:11px;font-weight:700;line-height:1.55;text-align:start;cursor:pointer}
.vmx-check input{margin-top:2px;accent-color:var(--vmx-blue)}
.vmx-advanced{margin-top:13px;border-top:1px solid #edf1f6}
.vmx-advanced summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 2px 2px;list-style:none;color:#53657b;font-size:12px;font-weight:850;cursor:pointer;user-select:none}
.vmx-advanced summary::-webkit-details-marker{display:none}
.vmx-advanced summary>span:first-child{display:inline-flex;align-items:center;gap:7px}
.vmx-advanced summary>span:first-child svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.vmx-summary-chevron{display:grid;place-items:center;transition:transform .18s ease}
.vmx-advanced[open] .vmx-summary-chevron{transform:rotate(180deg)}
.vmx-note{margin-top:11px;padding:11px 12px;border:1px solid #f1dab0;border-radius:11px;background:#fff8e8;color:var(--vmx-warning);font-size:10.5px;line-height:1.65;text-align:start}
.vmx-action-card{display:grid;justify-items:center;gap:9px;padding:2px 4px}
.vmx-primary{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;width:min(100%,440px);min-height:56px;padding:0 24px;border:0;border-radius:16px;background:linear-gradient(135deg,#1769e7 0%,#145fd3 55%,#0f58c9 100%);color:#fff;font:inherit;font-size:14px;font-weight:900;letter-spacing:.005em;cursor:pointer;box-shadow:0 12px 28px rgba(23,105,231,.24),inset 0 1px 0 rgba(255,255,255,.25);overflow:hidden;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}
.vmx-primary:before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 0 36%,rgba(255,255,255,.13) 46%,transparent 56%);transform:translateX(-115%);transition:transform .45s ease}
.vmx-primary:hover:before,.vmx-primary:focus-visible:before{transform:translateX(115%)}
.vmx-primary:hover,.vmx-primary:focus-visible{transform:translateY(-1px);box-shadow:0 16px 34px rgba(23,105,231,.29),inset 0 1px 0 rgba(255,255,255,.28);filter:saturate(1.04)}
.vmx-primary:disabled{opacity:.48;cursor:not-allowed;transform:none;box-shadow:0 8px 18px rgba(23,105,231,.12)}
.vmx-primary-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:rgba(255,255,255,.15)}
.vmx-primary svg,.vmx-secondary svg,.vmx-download svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.vmx-secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 14px;border:1px solid #d5dfeb;border-radius:11px;background:#fff;color:#5b6d82;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.vmx-secondary:hover,.vmx-secondary:focus-visible{border-color:#b8cae0;background:#f8fbff;color:#334861}
.vmx-status{min-height:18px;color:#5f7186;font-size:11.5px;font-weight:750;text-align:center}
.vmx-status.is-error{color:var(--vmx-danger)}
.vmx-status.is-success{color:var(--vmx-green)}
.vmx-progress{display:grid;gap:9px;padding:15px 17px;border:1px solid #dce6f1;border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(23,34,56,.04)}
.vmx-progress-top{display:flex;justify-content:space-between;gap:12px;color:#5d6f84;font-size:11px;font-weight:800}
.vmx-progress-track{height:9px;overflow:hidden;border-radius:999px;background:#e8eef5}
.vmx-progress-bar{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1769e7,#4b8df0);transition:width .2s ease}
.vmx-result{padding:19px;border:1px solid #bfe4cc;border-radius:18px;background:linear-gradient(180deg,#fafffc,#f2fcf6);box-shadow:0 10px 28px rgba(22,131,75,.06)}
.vmx-result-head{display:flex;align-items:center;gap:9px;text-align:start}
.vmx-result-head h3{margin:0;color:#166534;font-size:17px;font-weight:900}
.vmx-result-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:11px;background:#dcf7e6;color:var(--vmx-green)}
.vmx-result-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.vmx-result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:15px 0}
.vmx-stat{padding:12px;border:1px solid #d9eee0;border-radius:12px;background:#fff;text-align:start}
.vmx-stat small,.vmx-stat strong{display:block}
.vmx-stat small{color:#5a7b65;font-size:10px;font-weight:750}
.vmx-stat strong{margin-top:5px;color:#166534;font-size:14px;font-weight:900;overflow-wrap:anywhere}
.vmx-warnings{margin-bottom:13px;padding:11px 12px;border:1px solid #f1dab0;border-radius:11px;background:#fff8e8;color:var(--vmx-warning);font-size:10.5px;font-weight:700;line-height:1.65;text-align:start}
.vmx-download{display:flex;align-items:center;justify-content:center;gap:9px;width:fit-content;min-width:235px;max-width:100%;min-height:49px;margin:15px auto 0;padding:0 23px;border-radius:14px;background:linear-gradient(180deg,#1b9a58,#16834b);color:#fff;text-decoration:none;font-size:12.5px;font-weight:900;box-shadow:0 10px 22px rgba(22,131,75,.18);transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.vmx-download:hover,.vmx-download:focus-visible{background:linear-gradient(180deg,#168a4f,#107340);color:#fff;transform:translateY(-1px);box-shadow:0 12px 26px rgba(22,131,75,.22)}
@media(max-width:720px){
  .vmx-shell{gap:13px}
  .vmx-upload-card{padding:18px 15px}
  .vmx-settings-card{padding:16px}
  .vmx-control-grid{grid-template-columns:1fr}
  .vmx-result-grid{grid-template-columns:1fr 1fr}
  .vmx-intro{padding-inline:4px}
}
@media(max-width:480px){
  .vmx-card{border-radius:18px}
  .vmx-upload-card{padding:15px 12px}
  .vmx-drop{min-height:160px;padding:22px 12px}
  .vmx-main-icon>span{width:48px;height:48px}
  .vmx-result{padding:15px 12px}
  .vmx-result-grid{gap:8px}
  .vmx-stat{padding:10px}
  .vmx-download{width:100%;min-width:0}
}
@media(prefers-reduced-motion:reduce){
  .vmx-primary,.vmx-primary:before,.vmx-download,.vmx-drop,.vmx-progress-bar,.vmx-summary-chevron{transition:none!important}
}
.vmx-result-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.vmx-stat-quality strong{font-size:17px}
.vmx-quality-breakdown{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 13px;padding:10px;border:1px solid #d9eee0;border-radius:12px;background:#fff;color:#496555;font-size:10.5px;font-weight:750}
.vmx-quality-breakdown span{padding:5px 8px;border-radius:999px;background:#f3faf6}.vmx-quality-breakdown strong{margin-inline-start:auto;color:#166534;padding:5px 8px}
.vmx-result.is-rejected{border-color:#f0c7cb;background:linear-gradient(180deg,#fffafa,#fff4f5)}
.vmx-result.is-rejected .vmx-result-head h3{color:#a12631}.vmx-result.is-rejected .vmx-result-icon{background:#ffe8ea;color:#c92b37}
.vmx-result.is-rejected .vmx-stat{border-color:#f0d8da}.vmx-result.is-rejected .vmx-quality-breakdown{border-color:#f0d8da}.vmx-result.is-rejected .vmx-quality-breakdown strong{color:#a12631}
