    :root {
    color-scheme:light; --bg:#F4F6FA; --bg2:#E3ECF6; --panel:#FFFFFF; --ink:#14202E; --ink-soft:#546174; --ink-faint:#8691A1;
    --line:#E1E5EC; --line-strong:#C5CCD8; --accent:#013365; --accent2:#0A4A8C; --accent-ink:#FFFFFF; --accent-soft:#E6EEF7;
    --danger:#B4472B; --danger-soft:#F7E7E1; --thumb:#EBEEF3;
    --shadow:0 1px 2px rgba(1,51,101,.07),0 6px 20px rgba(1,51,101,.07);
    --font-ui:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
    --font-mono:'IBM Plex Mono',ui-monospace,Menlo,monospace;
  }
  [hidden] { display:none !important; }
  * { box-sizing:border-box; }
  html,body { margin:0; padding:0; }
  body {
    background:var(--bg) radial-gradient(900px 380px at 50% -120px,var(--bg2),transparent) no-repeat;
    color:var(--ink); font-family:var(--font-ui); font-size:15px; line-height:1.5; min-height:100vh; -webkit-font-smoothing:antialiased;
  }
  button { font-family:inherit; }
  svg.i { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
  .num { font-family:var(--font-mono); font-variant-numeric:tabular-nums; }
  .app { max-width:1250px; margin:0 auto; padding:30px 20px 70px; }

  header.top { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:22px; flex-wrap:wrap; }
  .brand { display:flex; align-items:center; gap:12px; }
  .logo { width:44px; height:44px; display:grid; place-items:center; color:#013365; }
  .brand-ic { width:100%; height:100%; display:block; }
  .hero-btn, .btn-primary { --plus:#013365; }
  .hero-btn .brand-ic, #mergeBtn .brand-ic { color:#fff; }
  .hero-btn svg.i { width:34px; height:34px; }
  #mergeBtn .brand-ic { width:27px; height:27px; }
  .logo svg.i { width:22px; height:22px; }
header.top .app-title span {
    color: #7B1089 !important;
}
  header.top .app-title { font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif !important;
    font-size: clamp(24px, 3vw, 32px) !important;
    font-weight: 800 !important;
    letter-spacing: -.8px !important;
    line-height: 1.15 !important;
    color: #1C2A7A !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    text-transform: none !important; }
  header.top .tag { font-size:13px; color:var(--ink-faint); }
  .summary { font-size:13px; color:var(--ink-soft); background:var(--panel); border:1px solid var(--line); border-radius:999px; padding:7px 15px; box-shadow:var(--shadow); }

  .panel { background:var(--panel); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); }
  .panel-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 18px; border-bottom:1px solid var(--line); flex-wrap:wrap; }
  .panel-head h2 { font-size: 18px; font-weight: 500; margin: 0;  font-family: 'ADLaM Display';  color: #14307A !important; }
  .tools { display:flex; align-items:stretch; gap:10px; flex-wrap:wrap; }
  .panel-body { padding:18px; }

  .seg { display:inline-flex; border:1px solid var(--line); border-radius:9px; overflow:hidden; background:var(--panel); }
  .seg button { border:none; background:none; color:var(--ink-soft); padding:7px 12px; font-size:13px; cursor:pointer; border-right:1px solid var(--line); display:inline-flex; align-items:center; gap:6px; }
  .seg button:last-child { border-right:none; }
  .seg button:hover { background:var(--accent-soft); }
  .seg button.active { background:var(--accent); color:var(--accent-ink); font-weight:600; }
  .seg button:focus-visible, .tool-btn:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
  .tool-btn { border:1px solid var(--line); background:var(--panel); color:var(--ink-soft); border-radius:9px; padding:7px 11px; font-size:13px; cursor:pointer; display:inline-flex; align-items:center; gap:6px; }
  .tool-btn:disabled { opacity:.4; cursor:default; pointer-events:none; }
  .seg button:disabled { opacity:.4; cursor:default; }
  .seg button:disabled:hover { background:none; }
  .tool-btn:hover { background:var(--accent-soft); border-color:var(--accent); color:var(--accent); }

  .dropzone { border:1.5px dashed var(--line-strong); border-radius:14px; padding:34px 20px; text-align:center; cursor:pointer; transition:border-color .15s, background .15s; outline-offset:3px; background:linear-gradient(180deg,transparent,var(--accent-soft)); }
  .dropzone:hover,.dropzone:focus-visible { border-color:var(--accent); background:var(--accent-soft); }
  .dropzone .glyph { width:52px; height:52px; margin:0 auto 10px; border-radius:50%; display:grid; place-items:center; background:var(--panel); color:var(--accent); box-shadow:var(--shadow); }
  .dropzone .glyph svg.i { width:24px; height:24px; }
  .dropzone .prompt { font-weight:600; font-size:15px; }
  .dropzone .hint { font-size:13px; color:var(--ink-faint); margin-top:2px; }
  .dropzone input { display:none; }
  .dropzone.compact { padding:18px 20px; }
  .dropzone.compact .glyph { display:none; }

  body.empty { background:#F5F7FB; }
  /* --hdr = apni WordPress site ke header ki height (px). Agar How-to section screen me dikhe to ise badha dein (e.g. 110px) */
  .hero { --hdr:80px; text-align:center; padding:0 12px clamp(24px,10vh,110px); min-height:calc(100vh - var(--hdr) - 30px); min-height:calc(100svh - var(--hdr) - 30px); display:flex; flex-direction:column; align-items:center; justify-content:center; }
  .hero h1 { font-size:clamp(34px,6vw,50px); font-weight:500; letter-spacing:-.02em; margin:0 0 14px; line-height:1.15; font-family: 'ADLaM Display', sans-serif;
    color: #013365; }
  .hero p { font-size:clamp(16px,2.4vw,20px); color:var(--ink-soft); margin:22px auto 44px; max-width:760px; font-weight: 500; text-align: center;}
  .hero-btn { display:inline-flex; align-items:center; justify-content:center; gap:12px; background:#013365 !important; color:#fff; border:none; border-radius:18px; width:min(330px,88vw); height:70px; font-size:23px; font-weight:600; cursor:pointer; box-shadow:0 8px 20px rgba(1,51,101,.28); transition:background-color .15s, transform .15s; }
  .hero-btn:hover { background:#002952 !important; transform:scale(1.02); }
  .hero-btn:active { background:#002952 !important; transform:scale(.99); }
  .hero-btn:focus-visible { outline:3px solid #013365; outline-offset:4px; }
  .hero small { display:block; margin-top:16px; font-size:16px; color:var(--ink-soft); }

  .page-drop { position:fixed; inset:0; z-index:300; display:none; place-items:center; background:rgba(1,25,50,.55); backdrop-filter:blur(3px); pointer-events:none; }
  .page-drop.show { display:grid; }
  .page-drop div { background:var(--panel); border:2px dashed var(--accent); border-radius:20px; padding:44px 60px; text-align:center; font-size:18px; font-weight:600; color:var(--accent); }
  .page-drop small { display:block; font-weight:400; font-size:13px; color:var(--ink-soft); margin-top:4px; }

  .file-list { list-style:none; margin:18px 0 0; padding:0; }
  .file-list.list { display:flex; flex-direction:column; gap:10px; }
  .file-list.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(var(--card-min,180px),1fr)); gap:16px;    padding: 0px; }

  .item { position:relative; border:1px solid var(--line); border-radius:12px; background:var(--panel); transition:border-color .12s, box-shadow .12s, transform .12s; }
  .item:hover { border-color:var(--line-strong); box-shadow:var(--shadow); }
  .item.dragging { opacity:.4; }
  .item.drop-target { outline:2px solid var(--accent); outline-offset:2px; }
  .item.errored { border-color:var(--danger); background:var(--danger-soft); }
  .thumb { border:none; padding:0; cursor:pointer; background:var(--thumb); display:grid; place-items:center; overflow:hidden; position:relative; color:var(--ink-faint); }
  .thumb img { max-width:100%; max-height:100%; object-fit:contain; box-shadow:0 2px 10px rgba(0,0,0,.18); background:#fff; }
  .thumb:focus-visible { outline:2px solid var(--accent); }
  .thumb .eye { position:absolute; inset:0; display:grid; place-items:center; background:rgba(0,0,0,.10) !important; color:#fff; opacity:0; transition:opacity .15s; }

  .thumb:hover .eye { opacity:1; }
  .thumb .eye svg { filter:drop-shadow(0 1px 3px rgba(0,0,0,.55)); }
  .spin { width:20px; height:20px; border:2px solid var(--line-strong); border-top-color:var(--accent); border-radius:50%; animation:sp .8s linear infinite; }
  @keyframes sp { to { transform:rotate(360deg); } }
  .idx { position:absolute; top:8px; left:8px; background:var(--accent); color:var(--accent-ink); font-size:11.5px; font-weight:600; border-radius:999px; min-width:22px; height:22px; display:grid; place-items:center; padding:0 6px; z-index:2; }
  .rot-badge { position:absolute; bottom:8px; right:8px; background:rgba(10,25,45,.78); color:#fff; font-size:11px; border-radius:6px; padding:1px 6px; z-index:2; }
  .handle { cursor:grab; color:var(--ink-faint); user-select:none; touch-action:none; display:grid; place-items:center; }
  .handle:active { cursor:grabbing; }
  .name { font-size:13.5px; font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .sub { font-family:var(--font-mono); font-size:11.5px; color:var(--ink-faint); margin-top:2px; display:flex; gap:8px; }
  .sub .err { color:var(--danger); font-family:var(--font-ui); white-space:normal; }
  .actions { display:flex; align-items:center; gap:2px; }
  .abtn { background:none; border:none; cursor:pointer; color:var(--ink-faint); padding:7px; border-radius:8px; display:grid; place-items:center; }
  .abtn:hover:not(:disabled) { background:var(--accent-soft); color:var(--accent); }
  .abtn.del:hover { background:var(--danger-soft); color:var(--danger); }
  .abtn:disabled { opacity:.25; cursor:default; }
  .abtn:focus-visible { outline:2px solid var(--accent); }

  .list .item { display:flex; align-items:center; gap:12px; padding:9px 10px 9px 8px; }
  .list .handle { width:18px; }
  .list .thumb { width:48px; height:62px; border-radius:6px; flex-shrink:0; }
  .list .idx { top:3px; left:3px; min-width:18px; height:18px; font-size:10px; padding:0 4px; }
  .list .rot-badge { display:none; }
  .list .meta { min-width:0; flex:1; }
  .grid .item { display:flex; flex-direction:column; }
  .grid .thumb { width:100%; aspect-ratio:3/4; border-radius:11px 11px 0 0; padding:14px; }
  .grid .handle { position:absolute; top:6px; right:6px; z-index:2; width:26px; height:26px; background:rgba(255,255,255,.85); color:#333; border-radius:7px; opacity:0; transition:opacity .15s; }
  .grid .item:hover .handle { opacity:1; }
  .grid .meta { padding:10px 12px 2px; min-width:0; }
  .grid .actions { padding:2px 6px 8px; justify-content:space-between; }
  .grid .up svg, .grid .down svg { transform:rotate(-90deg); }

  .empty-state { text-align:center; padding:30px 16px 6px; color:var(--ink-faint); font-size:13px; }
  .empty-state h3 { font-size:15px; color:var(--ink); margin:0 0 4px; }
  .empty-state p { margin:0; }

  .merge-bar { margin-top:22px; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:10px; }
  .btn { font-family:inherit; transition:background-color .15s, transform .15s; font-size:14px; font-weight:600; border-radius:10px; padding:11px 20px; border:1px solid transparent; cursor:pointer; display:inline-flex; align-items:center; gap:8px; }
  .btn:active:not(:disabled) { transform:scale(.99); }
  .btn-primary { background:#013365; color:var(--accent-ink); box-shadow:0 6px 16px rgba(1,51,101,.25); }
  .btn-primary:hover:not(:disabled) { background:#002952; transform:scale(1.02); }
  #mergeBtn { font-size:19px; }
  .btn-primary:disabled { opacity:.4; cursor:not-allowed; box-shadow:none; }
  .btn-ghost { background:none; border-color:var(--line); color:var(--ink); }
  .btn-ghost:hover { background:var(--accent-soft); border-color:var(--accent); }
  .btn:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
  .status-line { white-space:pre-line; text-align:center; font-size:13px; color:var(--ink-soft); }
  .status-line.success { color:var(--accent); font-weight:600; }
  .progress-track { width:100%; height:6px; background:var(--line); border-radius:999px; overflow:hidden; margin-top:12px; }
  .progress-fill { height:100%; background:var(--accent); width:0%; transition:width .25s ease; }

  .modal-backdrop { position:fixed; inset:0; background:rgba(1,25,50,.6); display:flex; align-items:center; justify-content:center; z-index:100; padding:20px; }
  .modal { background:var(--panel); border-radius:16px; border:1px solid var(--line); width:100%; max-width:390px; padding:22px 22px 18px; box-shadow:0 20px 60px rgba(0,0,0,.28); }
  .modal { position:relative; }
  .modal .mclose { position:absolute; top:10px; right:10px; }
  .modal .mrow { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; }
  .modal .countdown { font-size:12.5px; color:var(--ink-soft); margin:0; }
  .modal .countdown.bad { color:var(--danger); }
  .modal h3 { margin:0 0 6px; font-size:16px; font-weight:700; }
  .modal p { margin:0 0 14px; font-size:13.5px; color:var(--ink-soft); word-break:break-word; }
  .modal input[type=text] { width:100%; padding:10px 12px; border-radius:8px; border:1px solid var(--line-strong); background:var(--bg); color:var(--ink); font-size:14px; font-family:inherit; }
  .modal input[type=text]:focus { outline:2px solid var(--accent); outline-offset:1px; }
  .modal .field-error { color:var(--danger); font-size:12.5px; margin-top:6px; min-height:16px; }
  .modal .mactions { display:flex; justify-content:flex-end; gap:8px; margin-top:18px; }
  .modal .mactions.split { justify-content:space-between; }

  /* Download / filename popup: match home page typography */
  .modal h3 { font-family:'ADLaM Display',sans-serif !important; font-weight:500; font-size:20px; color:#14307A !important; letter-spacing:-.01em; }
  .modal p { font-family:var(--font-ui); color:var(--ink-soft); }
  .modal input[type=text] { font-family:var(--font-ui); color:#013365; font-weight:500; }
  .modal .countdown { font-family:var(--font-ui); font-weight:500; }
  .modal .btn { font-family:var(--font-ui); }

  .preview { position:fixed; inset:0; z-index:150; background:rgba(1,25,50,.72); display:flex; align-items:center; justify-content:center; padding:18px; }
  .pv-box { background:var(--panel); border-radius:16px; width:100%; max-width:960px; height:100%; max-height:calc(100vh - 36px); display:flex; flex-direction:column; overflow:hidden; box-shadow:0 24px 70px rgba(0,0,0,.4); }
  .pv-head { display:flex; align-items:center; gap:8px; padding:10px 14px; border-bottom:1px solid var(--line); }
  .pv-title { flex:1; min-width:0; }
  .pv-title .name { font-weight:600; font-size:14px; }
  .pv-body { flex:1; overflow:auto; background:var(--thumb); padding:18px 12px 28px; display:flex; flex-direction:column; align-items:center; gap:16px; }
  .pv-page { background:#fff; box-shadow:0 3px 14px rgba(0,0,0,.22); position:relative; max-width:100%; }
  .pv-page canvas { display:block; width:100%; height:100%; }
  .pv-page span { position:absolute; bottom:-1px; right:-1px; background:rgba(10,25,45,.75); color:#fff; font-size:11px; padding:1px 8px; border-radius:6px 0 0 0; }

  .toast { display:flex; align-items:center; position:fixed; bottom:22px; left:50%; transform:translateX(-50%); background:var(--ink); color:var(--bg); padding:11px 18px; border-radius:10px; font-size:13.5px; box-shadow:0 8px 24px rgba(0,0,0,.25); z-index:400; }
  .toast button { background:none; border:none; color:#9CC3F0; font-weight:600; cursor:pointer; margin-left:16px; font-family:inherit; font-size:13.5px; }
  .grid .actions { flex-wrap:wrap; justify-content:center; }
  .pk-bar { display:flex; gap:8px; padding:10px 14px; border-bottom:1px solid var(--line); flex-wrap:wrap; align-items:center; }
  .pk-bar input { flex:1; min-width:180px; padding:8px 10px; border:1px solid var(--line-strong); border-radius:8px; background:var(--bg); color:var(--ink); font:inherit; font-size:14px; }
  .pk-bar input:focus { outline:2px solid var(--accent); outline-offset:1px; }
  .pk-grid { flex:1; overflow:auto; background:var(--thumb); padding:16px; display:grid; grid-template-columns:repeat(auto-fill,minmax(130px,1fr)); gap:14px; align-content:start; }
  .pk-cell { position:relative; cursor:pointer; border-radius:10px; border:2px solid transparent; padding:6px; background:var(--panel); opacity:.5; transition:opacity .12s, border-color .12s; }
  .pk-cell.on { opacity:1; border-color:var(--accent); }
  .pk-box { aspect-ratio:3/4; display:grid; place-items:center; background:#fff; overflow:hidden; }
  .pk-box canvas { max-width:100%; max-height:100%; }
  .pk-num { display:block; text-align:center; font-size:12px; margin-top:5px; color:var(--ink-soft); }
  .pk-tick { position:absolute; top:10px; right:10px; width:22px; height:22px; border-radius:50%; background:var(--accent); color:#fff; display:none; place-items:center; }
  .pk-tick svg.i { width:13px; height:13px; stroke-width:3; }
  .pk-cell.on .pk-tick { display:grid; }
  .pk-foot { display:flex; align-items:center; justify-content:flex-end; gap:10px; padding:12px 14px; border-top:1px solid var(--line); }
  .pk-foot .err { flex:1; color:var(--danger); font-size:13px; }
  body:not(.adv) .adv-only { display:none !important; }
  .head-right { display:flex; align-items:stretch; gap:10px; flex-wrap:wrap; }
  .dropzone { position:relative; }
  .dz-tools { display:flex; align-items:center; gap:8px; cursor:default; }
  .tool-btn.icon { padding:7px 8px; }
  .size-ctl { gap:4px !important; }
  .dropzone.compact { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:12px 16px; }
  .dropzone.compact .dz-main { grid-column:2; min-width:0; }
  .dropzone.compact .dz-tools { grid-column:3; justify-self:end; }
  @media (max-width:900px) {
    .dropzone.compact { grid-template-columns:1fr auto; }
    .dropzone.compact .dz-main { grid-column:1; }
    body.adv .dropzone.compact .dz-main { text-align:left; }
    .dropzone.compact .dz-tools { grid-column:2; }
  }
  @media (max-width:600px) {
    .dropzone.compact { grid-template-columns:1fr; }
    body.adv .dropzone.compact .dz-main { text-align:center; }
    .dropzone.compact .dz-tools { grid-column:1; justify-self:center; }
  }
  .sub-tools { display:flex; align-items:center; justify-content:flex-end; gap:14px; flex-wrap:wrap; margin-top:12px; }
  .size-ctl { display:inline-flex; align-items:center; gap:8px; color:var(--ink-soft); font-size:12.5px; }
  .size-ctl input { width:90px; accent-color:var(--accent); }
  .privacy { display:flex; align-items:center; justify-content:center; gap:8px; font-size:13px; color:var(--ink-soft); margin-top:16px; text-align:center; }
  .privacy svg.i { width:16px; height:16px; color:var(--accent); }
  .hero .privacy { margin-top:30px; }
  .result { display:flex; align-items:center; justify-content:center; gap:14px 18px; flex-wrap:wrap; background:var(--accent-soft); border:1px solid var(--line); border-radius:14px; padding:14px 18px; max-width:760px; width:100%; }
  .result-ico { width:38px; height:38px; border-radius:50%; background:var(--accent); color:#fff; display:grid; place-items:center; flex-shrink:0; }
  .result-main { text-align:left; }
  .result-title { font-weight:700; font-size:15px; }
  .result-meta { font-size:12.5px; color:var(--ink-soft); }
  .result-actions { display:flex; gap:8px; flex-wrap:wrap; }
  .result .btn { padding:9px 16px; font-size:13.5px; }
  .info { margin:90px auto 0; max-width:1250px; }
  .info h2 { font-size:27px; font-weight:700; letter-spacing:-.01em; margin:40px 0 16px; text-align:center; font-family: 'ADLaM Display';     color: #293784;}
  .info .lead { max-width:760px; margin:0 auto; text-align:center; color:var(--ink-soft); }
  /* ===== INFO SECTIONS (esenotes style): How-to, Why, FAQ, Help ===== */
  .msec, .mfaq { --b:#14307A; --b2:#1F5FD6; --p:#7B1089; --m:#5A6B80; --l:#DCE4EF; margin-top:46px; }
  .mfaq-hd { display:flex; align-items:center; justify-content:flex-start; gap:clamp(16px,3vw,40px); margin:0 0 24px; }
  .mfaq-hd > div:first-child { flex:0 0 auto; }
  .mfaq-hd.c { flex-direction:column; justify-content:center; text-align:center; margin-bottom:26px; }
  .mfaq-hd.c > div:first-child { flex:none; }
  .mfaq-badge { display:flex; align-items:center; gap:10px; margin:0 0 12px; }
  .mfaq-hd.c .mfaq-badge { justify-content:center; }
  .mfaq-badge i { display:block; width:30px; height:2px; background:var(--b); }
  .mfaq-pill { display:inline-flex; align-items:center; gap:8px; background:linear-gradient(135deg,#1C2A7A,#2A3FA0); color:#fff; font-weight:800; font-size:13px; letter-spacing:.5px; padding:6px 16px 6px 8px; border-radius:50px; box-shadow:0 6px 14px rgba(28,42,122,.25); }
  .mfaq-pill b { display:flex; align-items:center; justify-content:center; width:23px; height:23px; border-radius:50%; background:#fff; color:#1C2A7A; font-size:14px; line-height:1; }
  .mfaq-pill.y { background:#fde9a2; color:#7a5200; box-shadow:none; padding:6px 16px; }
  .mfaq-pill.pu { background:#e3d4fb; color:#5b21b6; box-shadow:none; padding:6px 16px; }
  .info h2.mfaq-title { font-family:'Inter',-apple-system,'Segoe UI',sans-serif; font-size:clamp(28px,3.3vw,36px); font-weight:800; letter-spacing:-.8px; line-height:1.15; color:#1C2A7A; margin:0 0 10px; text-align:left; }
  .mfaq-hd.c h2.mfaq-title { text-align:center; }
  .mfaq-title span { color:#7B1089; }
  .mfaq-sub { color:var(--m); margin:0 0 12px; font-size:clamp(13px,1.4vw,15px); line-height:1.55; }
  .mfaq-hd.c .mfaq-sub { margin-left:auto; margin-right:auto; }
  .mfaq-uline { display:block; width:96px; height:3px; border-radius:4px; background:linear-gradient(90deg,#1C2A7A 0 50%,var(--p) 50% 100%); }
  .mfaq-hd.c .mfaq-uline { margin:0 auto; }
  .mfaq-ill { flex:1 1 0; min-width:0; display:flex; align-items:center; justify-content:space-evenly; gap:14px; }
  .mfaq-illus { width:150px; height:auto; display:block; }
  .mfaq-hand { font-family:'Caveat','Segoe Script','Bradley Hand','Comic Sans MS',cursive; font-size:26px; font-weight:600; line-height:1.05; color:#1C2A7A; transform:rotate(-8deg); position:relative; padding-bottom:12px; white-space:nowrap; display:inline-block; }
  .mfaq-hand::after { content:""; position:absolute; left:8%; right:-2%; bottom:2px; height:4px; border-radius:4px; background:#f6c945; transform:rotate(-3deg); }
  .mfaq-hd > .mfaq-hand { flex:none; margin-right:30px; }

  /* shared card text */
  .msec h3 { font-size:15.5px; font-weight:700; line-height:1.35; color:var(--b); margin:0 0 4px; font-family: 'ADLaM Display';}
  .msec .mp { font-size:13px; font-weight:400; line-height:1.6; color:var(--m); margin:0; }
  .msec .mp b { color:var(--b); }

  /* HOW: 4 steps, 2 x 2 */
  .msteps { display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:stretch; }
  .mstep { background:#fff; border:1.5px solid #bcd6fb; border-radius:14px; padding:20px 22px 22px; text-align:center; box-shadow:0 4px 14px rgba(30,60,120,.07); transition:transform .3s ease,box-shadow .3s ease; display:flex; flex-direction:column; align-items:center; }
  .mstep:hover { transform:translateY(-3px); box-shadow:0 14px 28px rgba(30,60,120,.13); }
  .mstep.s2 { border-color:#d8c6f6; } .mstep.sp { border-color:#f3d79a; } .mstep.s3 { border-color:#b9e5cb; }
  .mst { display:flex; align-items:center; justify-content:center; gap:12px; margin-bottom:12px; }
  .mnum { width:34px; height:34px; border-radius:50%; color:#fff; font-weight:800; font-size:14px; letter-spacing:.3px; display:flex; align-items:center; justify-content:center; }
  .n1{background:#1F5FD6} .n2{background:#6d28d9} .np{background:#f59e0b} .n3{background:#22a55b}
  .msi { width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
  .msi svg { width:28px; height:28px; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
  .si1{background:#dbe9fd} .si2{background:#eadffb} .sip{background:#fdecc8} .si3{background:#d9f3e3}
  .msteps-note { text-align:center; max-width:640px; margin:22px auto 0; font-size:13.5px; line-height:1.6; color:var(--m); }
  .msteps-note b { color:var(--b); font-weight:700; }

  /* WHY: 6 feature cards */
  .mfgrid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
  .mfeat { position:relative; display:flex; align-items:center; gap:14px; background:#fff; border:1px solid #e3eaf7; border-radius:14px; padding:18px; min-height:104px; box-shadow:0 4px 14px rgba(30,60,120,.07); transition:transform .3s ease,box-shadow .3s ease; }
  .mfeat:hover { transform:translateY(-3px); box-shadow:0 14px 28px rgba(30,60,120,.13); }
  .mfi { flex:none; width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 6px 12px rgba(20,48,122,.14); transition:transform .35s ease; }
  .mfi svg { width:24px; height:24px; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
  .mfeat:hover .mfi { transform:scale(1.08) rotate(-6deg); }
  .mfb { flex:1; min-width:0; }
  .ic-yellow{background:#fdf0bf} .ic-green{background:#d5f3df} .ic-purple{background:#e8dcfb} .ic-red{background:#fbd3d6} .ic-blue{background:#d6e8fb} .ic-mint{background:#d3f5ea}
  .mfeat.pop { border:1.5px solid #b79cf1; background:linear-gradient(180deg,#f6f0ff,#f1eaff); }
  .mpoptag { position:absolute; top:8px; right:10px; background:#e8dcfb; color:#5b21b6; font-size:11px; font-weight:700; padding:3px 10px; border-radius:999px; }

  /* FAQ */
  .mfaq-cols { display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:start; }
  .mfaq-col { display:flex; flex-direction:column; gap:12px; }
  .mfaq details { position:relative; background:#fff; border:0; border-radius:14px; padding:0; margin:0; width:100%; overflow:hidden; box-shadow:0 4px 14px rgba(30,60,120,.3); transition:transform .3s ease,box-shadow .3s ease; }
  .mfaq details:hover { transform:translateY(-3px); box-shadow:0 14px 28px rgba(30,60,120,.13); }
  .mfaq details[open] { box-shadow:inset 4px 0 0 var(--b2), 0 8px 20px rgba(30,60,120,.10); }
  .mfaq summary { display:flex; align-items:center; gap:13px; padding:8px 12px; min-height:55px; cursor:pointer; list-style:none; }
  .mfaq summary::-webkit-details-marker { display:none; }
  .mfaq summary .ic { flex:none; width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 6px 12px rgba(20,48,122,.18); transition:transform .35s ease; }
  .mfaq summary .ic svg { width:21px; height:21px; fill:none; stroke:#fff; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
  .mfaq summary .q { flex:1; font-weight:700; font-size:14.5px; line-height:1.35; color:var(--b); transition:color .3s ease; }
  .mfaq summary::after { content:""; flex:none; width:32px; height:32px; border-radius:50%; background-color:#EBF0FA; background-image:linear-gradient(#2B3A67,#2B3A67),linear-gradient(#2B3A67,#2B3A67); background-size:12px 2px,2px 12px; background-position:center; background-repeat:no-repeat; transition:background-color .3s ease,transform .35s ease; }
  .mfaq details:hover summary .ic { transform:scale(1.08) rotate(-6deg); }
  .mfaq details:hover summary .q { color:var(--b2); }
  .mfaq details:hover summary::after { transform:rotate(90deg); }
  .mfaq details[open] summary { padding-bottom:4px; }
  .mfaq details[open] summary::after { background-color:#1C2A7A; background-image:linear-gradient(#fff,#fff); background-size:12px 2px; transform:none; }
  .mfaq details[open]:hover summary::after { transform:none; }
  .mfaq details p { margin:0; padding:0 60px 16px 77px; color:var(--m); font-size:13px; line-height:1.7; }
  .mfaq details[open] p { animation:mfaqOpen .4s ease both; }
  @keyframes mfaqOpen { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:none} }
  .mf1{background:linear-gradient(135deg,#2B7BFF,#1757C9)} .mf2{background:linear-gradient(135deg,#A02AA8,#6E0F82)}
  .mf3{background:linear-gradient(135deg,#17A07E,#0D7A60)} .mf4{background:linear-gradient(135deg,#FFB020,#F58A07)}
  .mf5{background:linear-gradient(135deg,#5A5FD0,#3A3FA8)} .mf6{background:linear-gradient(135deg,#F2406A,#D4183F)}
  .mf7{background:linear-gradient(135deg,#2BB3C4,#1789A0)} .mf8{background:linear-gradient(135deg,#4D52C8,#2F338F)}

  /* NEED HELP (bada section) */
  .mcta { position:relative; overflow:hidden; display:flex; justify-content:space-between; align-items:center; gap:34px; background:linear-gradient(135deg,#ffffff 0%,#F1F6FE 100%); border:1px solid #e3eaf7; border-radius:20px; padding:42px 48px; margin:28px 0 0; box-shadow:0 8px 26px rgba(30,60,120,.22); transition:box-shadow .3s ease; }
  .mcta::before { content:""; position:absolute; left:0; top:0; right:0; height:4px; background:linear-gradient(90deg,#1C2A7A 0 50%,#7B1089 50% 100%); }
  .mcta:hover { box-shadow:0 12px 32px rgba(30,60,120,.34); }
  .mcta-head { display:flex; align-items:center; gap:26px; flex:none; }
  .mcta-bulb { flex:none; width:76px; height:76px; }
  .mcta-vdiv { flex:none; width:1px; height:76px; background:var(--l); }
  .mcta .mfaq-hand { font-size:36px; transform:rotate(-4deg); }
  .mcta-text { flex:1; min-width:0; max-width:470px; }
  .mcta-text h3 { font-size:18px; margin:0 0 8px; }
  .mcta-text .mp { font-size:14px; line-height:1.65; }
  .mcta-chips { display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }
  .mcta-chips span { display:inline-flex; align-items:center; gap:7px; background:#fff; border:1px solid #cfdcf6; border-radius:50px; padding:6px 14px; font-size:12.5px; font-weight:600; color:#14307A; box-shadow:0 2px 6px rgba(30,60,120,.06); }
  .mcta-chips svg { width:15px; height:15px; fill:none; stroke:#1F5FD6; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
  .mcta-act { flex:none; text-align:center; }
  .mcta a.mcta-btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; margin:0; background:linear-gradient(135deg,#12318C,#0B2468); color:#fff; font-weight:700; font-size:15px; padding:16px 32px; border-radius:50px; text-decoration:none; box-shadow:0 10px 22px rgba(18,49,140,.30); transition:transform .25s ease,box-shadow .25s ease,background .25s ease; }
  .mcta-btn svg { width:19px; height:19px; fill:none; stroke:#fff; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; flex:none; transition:transform .25s ease; }
  .mcta a.mcta-btn:hover { background:linear-gradient(135deg,#7B1089,#5A0B66); transform:translateY(-3px); box-shadow:0 14px 28px rgba(123,16,137,.32); }
  .mcta-btn:hover svg { transform:translateX(5px); }
  .mcta a.mcta-btn:focus-visible { outline:3px solid #9CC3F0; outline-offset:3px; }

  @media (max-width:1020px) { .mcta { gap:24px; padding:36px 32px; } .mcta-head { gap:18px; } }
  @media (max-width:960px) { .mfgrid { grid-template-columns:1fr 1fr; } }
  @media (max-width:900px) {
    .mfaq-cols { grid-template-columns:1fr; gap:12px; }
    .mfaq-ill { justify-content:center; text-align:center; }
    .mfaq-illus { width:130px; }
    .mcta { flex-direction:column; justify-content:center; gap:20px; padding:34px 22px; text-align:center; }
    .mcta-head { justify-content:center; flex-wrap:wrap; gap:14px; }
    .mcta-vdiv { display:none; }
    .mcta-text { flex:none; width:100%; max-width:520px; }
    .mcta-chips { justify-content:center; }
    .mcta-act { width:100%; }
    .mcta a.mcta-btn { width:100%; max-width:380px; }
  }
  @media (max-width:640px) {
    .msteps, .mfgrid { grid-template-columns:1fr; }
    .mfaq-hd > .mfaq-hand { margin-right:0; }
  }
  @media (max-width:580px) {
    .mfaq-hd { flex-direction:column; align-items:center; text-align:center; }
    .mfaq-hd > div:first-child { flex:none; width:100%; }
    .mfaq-badge { justify-content:center; }
    .info h2.mfaq-title { text-align:center; }
    .mfaq-uline { margin:0 auto; }
    .mfaq-sub { margin-left:auto; margin-right:auto; }
    .mfaq-ill { flex:none; width:100%; }
    .mfaq-illus { width:120px; }
    .mfaq summary { gap:11px; padding:12px; min-height:58px; }
    .mfaq summary .ic { width:38px; height:38px; }
    .mfaq summary .ic svg { width:18px; height:18px; }
    .mfaq summary .q { font-size:13.5px; }
    .mfaq summary::after { width:28px; height:28px; background-size:11px 2px,2px 11px; }
    .mfaq details[open] summary::after { background-size:11px 2px; }
    .mfaq details p { padding:0 14px 14px 61px; font-size:12.5px; }
    .mfaq details:hover { transform:none; }
    .mcta { padding:28px 16px; border-radius:16px; }
    .mcta-bulb { width:60px; height:60px; }
    .mcta .mfaq-hand { font-size:30px; }
  }
  .visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
  ::-webkit-scrollbar { width:9px; height:9px; }
  ::-webkit-scrollbar-thumb { background:var(--line-strong); border-radius:6px; }
  @media (max-width:560px) { .list .actions .up, .list .actions .down { display:none; } .page-drop div { padding:30px 28px; } }
  @media (prefers-reduced-motion: reduce) { * { animation-duration:.01ms !important; transition-duration:.01ms !important; } } 
  /* ===== Theme-proof locks: stop WordPress/Astra button:hover/focus/active styles ===== */
  .file-list .item .thumb,
  .file-list .item .thumb:hover,
  .file-list .item .thumb:focus,
  .file-list .item .thumb:active,
  .file-list .item .thumb:focus-visible,
  .file-list .item .thumb:disabled {
    background:var(--thumb) !important; background-color:var(--thumb) !important; background-image:none !important;
    color:var(--ink-faint) !important; border:none !important; box-shadow:none !important; text-shadow:none !important;
    filter:none !important; transform:none !important;
  }
  .file-list.grid .item .thumb, .file-list.grid .item .thumb:hover, .file-list.grid .item .thumb:focus, .file-list.grid .item .thumb:active { padding:14px !important; }
  .file-list.list .item .thumb, .file-list.list .item .thumb:hover, .file-list.list .item .thumb:focus, .file-list.list .item .thumb:active { padding:0 !important; }
  .file-list .item .thumb:focus-visible { outline:2px solid var(--accent) !important; }
  .file-list .item .thumb .eye, .file-list .item .thumb:hover .eye { background:rgba(0,0,0,.14) !important; color:#fff !important; }

  /* small action buttons */
  .file-list .abtn, .file-list .abtn:focus, .file-list .abtn:active { background:none !important; border:none !important; box-shadow:none !important; color:var(--ink-faint) !important; }
  .file-list .abtn:hover:not(:disabled), .file-list .abtn:focus-visible:not(:disabled) { background:var(--accent-soft) !important; color:var(--accent) !important; }
  .file-list .abtn.del:hover:not(:disabled) { background:var(--danger-soft) !important; color:var(--danger) !important; }
  .modal .abtn.mclose, .modal .abtn.mclose:focus, .modal .abtn.mclose:active { background:none !important; border:none !important; box-shadow:none !important; color:var(--ink-faint) !important; }
  .modal .abtn.mclose:hover { background:var(--accent-soft) !important; color:var(--accent) !important; }

  /* toolbar / segmented buttons */
  .tool-btn, .tool-btn:focus, .tool-btn:active { background:var(--panel) !important; color:var(--ink-soft) !important; border:1px solid var(--line) !important; box-shadow:none !important; }
  .tool-btn:hover:not(:disabled) { background:var(--accent-soft) !important; border-color:var(--accent) !important; color:var(--accent) !important; }
  .seg button { background:none !important; color:var(--ink-soft) !important; box-shadow:none !important; }
  .seg button:hover:not(:disabled):not(.active) { background:var(--accent-soft) !important; }
  .seg button.active, .seg button.active:hover, .seg button.active:focus, .seg button.active:active { background:var(--accent) !important; color:var(--accent-ink) !important; font-weight:600; }
  .seg button.on, .seg button[aria-pressed="true"], .seg button.active { background:var(--accent) !important; color:#fff !important; }

  /* popup buttons */
  .btn-primary, .btn-primary:focus, .btn-primary:active { background:#013365 !important; color:#fff !important; border-color:transparent !important; }
  .btn-primary:hover:not(:disabled) { background:#002952 !important; color:#fff !important; }
  .modal .btn-primary[style*="danger"], .modal #removeBtn { background:var(--danger) !important; }
  .btn-ghost, .btn-ghost:focus, .btn-ghost:active { background:transparent !important; color:var(--ink) !important;  border-color:var(--accent) !important; }
  .btn-ghost:hover:not(:disabled) { background:var(--accent-soft) !important; border-color:var(--accent) !important; } 
/* Result buttons: scale up on hover */
#dlAgain, #mergeMore { transition:transform .2s ease, background-color .15s, border-color .15s !important; }
#dlAgain:hover, #mergeMore:hover { transform:scale(1.03) !important; }
#dlAgain:active, #mergeMore:active { transform:scale(.98) !important; }
  /* v40: heading font = home page font (ADLaM Display) */
  header.top h2 { font-family:'ADLaM Display',sans-serif !important; font-weight:500 !important; letter-spacing:-.02em !important; color:#013365 !important; }
  /* v40: one fixed height for every button and toggle */
  :root { --ctl-h:36px; }
  .tool-btn, .tool-btn.icon { height:var(--ctl-h); padding:0 12px; justify-content:center; white-space:nowrap; }
  .tool-btn.icon { padding:0 10px; }
  .seg button { height:calc(var(--ctl-h) - 2px); padding:0 12px; justify-content:center; }
  /* v40: very small cards */
  .file-list.grid.tiny .actions, .file-list.grid.tiny .meta .sub { display:none; }
  .file-list.grid.tiny .meta .name { font-size:11px; }
  .file-list.grid.tiny .idx { top:4px; left:4px; min-width:16px; height:16px; font-size:10px; padding:0 4px; }
  .file-list.grid.tiny .rot-badge { display:none; }

  /* v41: heading + width */
  .hero h1 .hero-on { color:#7B1089; }
  .app { max-width:1500px; }
  /* v41: card icons float over the picture on hover (grid view) */
  .tw { display:contents; }
  .list .handle { order:0; } .list .tw .thumb { order:1; } .list .meta { order:2; } .list .tw .actions { order:3; }
  .file-list.grid .tw { position:relative; display:block; }
  .file-list.grid .tw .actions { position:absolute; left:6px; right:6px; bottom:6px; z-index:3; padding:5px; gap:4px; flex-wrap:wrap; justify-content:center; background:rgba(15,23,42,.38); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); border-radius:10px; opacity:0; transition:opacity .15s; pointer-events:none; }
  .file-list.grid .item:hover .tw .actions, .file-list.grid .item:focus-within .tw .actions { opacity:1; }
  .file-list.grid .tw .actions .abtn { pointer-events:auto; width:30px; height:30px; padding:0; border-radius:8px; }
  .file-list.grid .item .tw .abtn, .file-list.grid .item .tw .abtn:focus, .file-list.grid .item .tw .abtn:active { background:rgba(255,255,255,.16) !important; color:#fff !important; }
  .file-list.grid .item .tw .abtn:hover:not(:disabled), .file-list.grid .item .tw .abtn:focus-visible:not(:disabled) { background:rgba(255,255,255,.38) !important; color:#fff !important; }
  .file-list.grid .item .tw .abtn.del:hover:not(:disabled) { background:rgba(180,71,43,.85) !important; color:#fff !important; }
  .file-list.grid .item .tw .abtn:disabled { opacity:.35; }
  @media (hover:none) { .file-list.grid .tw .actions { opacity:1; } }

  /* V43: Full screen (same as Split PDF) */
  body.sp-full { overflow:hidden !important; }
  body.sp-full .app { position:fixed; inset:0; z-index:99999; max-width:none; margin:0; padding:12px; overflow:auto; background:var(--bg); }
  body.sp-full .app > header.top { display:none !important; }
  body.sp-full .modal-backdrop { z-index:100000; }
  body.sp-full .preview { z-index:100000; }
  body.sp-full .page-drop { z-index:100001; }
  body.sp-full .toast { z-index:100002; }
  #fullBtn.on, #fullBtn.on:hover { background:var(--accent) !important; border-color:var(--accent) !important; color:#fff !important; }

  /* SEO content + internal links */
  .info p a, .info .mrel a { color:#1F5FD6; }
  .info p a { font-weight:600; text-decoration:underline; text-underline-offset:2px; }
  .info p a:hover { color:#7B1089; }
  .mseo-body { width:100%; max-width:none; margin:0 auto; text-align:center; }
  .mseo-body p { text-align:center; font-size:14.5px; line-height:1.75; color:var(--m); margin:0 0 14px; }
  .mrel { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; max-width:none; margin:0 auto; }
  .mrel a { display:flex; flex-direction:column; gap:4px; padding:18px 20px; background:#fff; border:1px solid var(--l); border-radius:14px; text-decoration:none; box-shadow:var(--shadow); transition:transform .2s, border-color .2s; }
  .mrel a:hover { transform:translateY(-3px); border-color:#7B1089; }
  .mrel a b { font-size:16px; color:var(--b); }
  .mrel a span { font-size:13px; line-height:1.55; color:var(--m); }
  .mrel a:focus-visible { outline:3px solid #9CC3F0; outline-offset:3px; }
  @media (max-width:860px){ .mrel { grid-template-columns:1fr; } }