
:root{--card:rgba(255,255,255,.94);--text:#081c33;--muted:#5d6f8c;--primary:#1478ff;--primary2:#743bff;--line:rgba(24,85,150,.13);--shadow:0 24px 70px rgba(24,70,140,.13);--green:#12b981;--red:#ef4444}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text);background:radial-gradient(circle at 12% 5%,rgba(20,120,255,.16),transparent 30%),radial-gradient(circle at 86% 12%,rgba(116,59,255,.16),transparent 34%),linear-gradient(180deg,#f8fbff 0%,#eef5ff 46%,#f8fbff 100%)}a{text-decoration:none;color:inherit}button,input,select{font:inherit}.container{width:min(1320px,calc(100% - 48px));margin:auto}.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);backdrop-filter:blur(18px);border-bottom:1px solid var(--line);box-shadow:0 8px 28px rgba(20,70,140,.06)}.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand,.footer-brand{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.custom-logo,.footer-logo-svg{width:190px;max-width:190px;height:auto;display:block}.nav{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}.nav a{padding:9px 8px;color:#172b47;font-size:14px;font-weight:850;border-bottom:3px solid transparent}.nav a:hover,.nav a.active{color:var(--primary);border-bottom-color:var(--primary2)}.header-btn,.primary-btn,.secondary-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;color:#fff;font-weight:950}.header-btn,.primary-btn{background:linear-gradient(135deg,var(--primary),var(--primary2));box-shadow:0 15px 30px rgba(20,120,255,.24)}.header-btn{padding:13px 22px;font-size:14px;white-space:nowrap}.hero{padding:52px 0 34px}.breadcrumb{display:flex;gap:8px;flex-wrap:wrap;color:#6680a3;font-size:14px;font-weight:800;margin-bottom:22px}.breadcrumb a{color:var(--primary)}.hero-grid{display:grid;grid-template-columns:1fr .95fr;gap:48px;align-items:center}.hero-badge{display:inline-flex;padding:11px 18px;border-radius:999px;background:rgba(255,255,255,.84);border:1px solid var(--line);color:var(--primary);font-weight:950;font-size:14px;box-shadow:0 10px 26px rgba(20,70,140,.07);margin-bottom:18px}.hero h1{margin:0;max-width:720px;font-size:clamp(56px,6vw,86px);line-height:.92;letter-spacing:-.08em}.hero h1 span{background:linear-gradient(135deg,var(--primary),var(--primary2));-webkit-background-clip:text;background-clip:text;color:transparent}.hero p{max-width:720px;margin:22px 0 0;color:#4f6482;font-size:18px;line-height:1.8;font-weight:650}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.primary-btn,.secondary-btn{min-height:52px;padding:0 24px;border-radius:12px;font-size:15px;font-weight:950}.secondary-btn{background:rgba(255,255,255,.86);border:1px solid var(--line);color:#172b47}.hero-pills{margin-top:18px;display:flex;flex-wrap:wrap;gap:10px}.hero-pills span{padding:10px 15px;border-radius:999px;background:rgba(255,255,255,.84);border:1px solid var(--line);color:#354b68;font-size:13px;font-weight:850}.hero-visual{border-radius:34px;background:rgba(255,255,255,.7);border:1px solid rgba(255,255,255,.7);padding:18px;box-shadow:var(--shadow)}.visual-card{min-height:330px;border-radius:28px;background:linear-gradient(135deg,#9c78ff,#1478ff 52%,#20c7ff);display:grid;place-items:center;text-align:center;color:#fff;padding:34px}.visual-convert{position:relative;width:188px;height:142px;margin:0 auto 20px}.visual-page{position:absolute;top:12px;width:82px;height:112px;border-radius:16px;background:rgba(255,255,255,.96);color:var(--primary);display:grid;place-items:center;font-size:20px;font-weight:950;box-shadow:0 12px 30px rgba(0,0,0,.12)}.visual-page.pdf{left:4px;transform:rotate(-5deg)}.visual-page.word{right:4px;transform:rotate(5deg)}.visual-arrow{position:absolute;left:74px;top:51px;z-index:5;width:40px;height:40px;border-radius:50%;background:#ff4ba3;color:#fff;display:grid;place-items:center;font-size:22px;font-weight:950}.visual-card h2{margin:0;font-size:30px;letter-spacing:-.04em}.visual-card p{max-width:450px;margin:12px auto 0;color:rgba(255,255,255,.88);font-size:16px;line-height:1.6;font-weight:700}.tool-section{padding:20px 0 30px}.tool-card,.article-card,.related-card-main,.footer-card{background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow)}.tool-card{border-radius:34px;padding:34px}.tool-head{display:flex;align-items:start;justify-content:space-between;gap:22px;margin-bottom:26px}.tool-head h2{margin:0;font-size:38px;letter-spacing:-.05em}.tool-head p{margin:10px 0 0;color:var(--muted);font-size:18px;line-height:1.7;font-weight:650;max-width:820px}.tool-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;min-width:250px}.tool-stat{padding:12px 10px;border-radius:14px;background:#f7fbff;border:1px solid var(--line);text-align:center}.tool-stat strong{display:block;font-size:16px;color:#142846}.tool-stat span{display:block;margin-top:3px;font-size:11px;color:#718098;font-weight:800}.tool-layout{display:grid;grid-template-columns:1fr 340px;gap:28px}.upload-panel{min-height:250px;border:2px dashed rgba(20,120,255,.28);border-radius:24px;background:radial-gradient(circle at center,rgba(20,120,255,.07),transparent 58%),#f8fcff;display:flex;align-items:center;justify-content:center;text-align:center;padding:24px;cursor:pointer;transition:.2s}.upload-panel.dragover{border-color:var(--primary);background:#eef7ff;transform:translateY(-2px)}.upload-round{width:70px;height:70px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;font-size:34px;box-shadow:0 12px 24px rgba(20,120,255,.2)}.upload-panel h3{margin:0;font-size:24px;letter-spacing:-.03em}.upload-panel p{margin:10px auto 0;color:var(--muted);font-size:14px;line-height:1.7;font-weight:700;max-width:520px}.choose-btn{margin-top:14px;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 18px;border-radius:10px;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;font-size:13px;font-weight:950}#fileInput{display:none}.file-shell{margin-top:18px;border-radius:18px;background:#fff;border:1px solid var(--line);overflow:hidden;box-shadow:0 10px 28px rgba(20,70,140,.07)}.file-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);background:#f8fbff;flex-wrap:wrap}.file-top strong{color:#102033;font-size:14px;font-weight:950}.file-top span{color:#718098;font-size:12px;font-weight:800}.file-preview{min-height:180px;padding:18px}.empty-list{display:grid;place-items:center;text-align:center;color:#6c7c95;min-height:150px;line-height:1.7;font-size:14px;font-weight:750;background:#f8fbff;border-radius:14px}.pdf-summary{display:grid;grid-template-columns:64px 1fr;gap:16px;align-items:center;border:1px solid var(--line);border-radius:18px;padding:16px;background:#fff}.pdf-badge{width:64px;height:76px;border-radius:16px;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;display:grid;place-items:center;font-size:14px;font-weight:950}.pdf-info h4{margin:0 0 8px;color:#102033;font-size:18px;line-height:1.35;word-break:break-word}.pdf-info p{margin:0;color:#718098;font-size:13px;line-height:1.7;font-weight:800}.range-help{margin-top:14px;border-radius:14px;background:#f8fbff;border:1px solid var(--line);padding:14px;color:#5d6f8c;font-size:13px;line-height:1.7;font-weight:750}.live-preview-wrap{margin-top:16px;border-radius:16px;background:#f8fbff;border:1px solid var(--line);padding:14px}.live-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.live-preview-head strong{color:#102033;font-size:14px;font-weight:950}.live-preview-head span{color:#718098;font-size:12px;font-weight:800}.preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:12px;max-height:560px;overflow:auto;padding-right:4px}.preview-thumb{border:1px solid rgba(20,120,255,.18);border-radius:14px;background:#fff;padding:10px;box-shadow:0 10px 22px rgba(20,70,140,.06);transition:.2s}.preview-thumb:hover{transform:translateY(-2px);border-color:rgba(20,120,255,.38)}.preview-thumb canvas{width:100%;height:auto;display:block;border-radius:10px;background:#fff;border:1px solid rgba(18,72,130,.08)}.preview-thumb span{display:block;margin-top:8px;text-align:center;color:#31445f;font-size:12px;font-weight:950}.preview-loading{min-height:120px;display:grid;place-items:center;text-align:center;border-radius:14px;background:#fff;border:1px solid var(--line);color:#5d6f8c;font-size:13px;line-height:1.7;font-weight:800}.text-preview-box{display:none;margin-top:16px;border-radius:16px;background:#fff;border:1px solid var(--line);padding:14px;max-height:260px;overflow:auto;color:#2d405a;font-size:13px;line-height:1.8;white-space:pre-wrap;font-weight:650}.text-preview-box.show{display:block}.settings-panel{border-radius:24px;background:#fff;border:1px solid var(--line);padding:24px;box-shadow:0 10px 28px rgba(20,70,140,.06)}.settings-panel h3{margin:0 0 16px;font-size:26px;letter-spacing:-.04em}.field{display:grid;gap:7px;margin-bottom:13px}.field label{font-size:14px;color:#31445f;font-weight:950}.field select,.field input{width:100%;min-height:48px;border-radius:12px;border:1px solid rgba(18,72,130,.15);background:#fff;padding:0 12px;color:#102033;font-size:15px;font-weight:800;outline:none}.field small{color:#75869b;line-height:1.5;font-size:12px;font-weight:750}.field-check{display:flex;align-items:flex-start;gap:10px;margin:0 0 13px;color:#425774;font-size:13px;line-height:1.5;font-weight:800}.field-check input{margin-top:2px;width:17px;height:17px;accent-color:var(--primary);flex:0 0 auto}.progress-track{height:10px;background:rgba(20,120,255,.1);border-radius:999px;overflow:hidden;margin-bottom:12px}.progress-bar{width:0%;height:100%;border-radius:999px;background:linear-gradient(135deg,var(--primary),var(--primary2));transition:width .25s}.message{display:none;margin-bottom:12px;padding:12px 14px;border-radius:12px;font-size:13px;font-weight:800;line-height:1.5}.message.success{display:block;color:#087d58;background:rgba(21,185,129,.12);border:1px solid rgba(21,185,129,.22)}.message.error{display:block;color:#b42323;background:rgba(239,68,68,.1);border:1px solid rgba(239,68,68,.22)}.message.info{display:block;color:#185fc2;background:rgba(20,120,255,.1);border:1px solid rgba(20,120,255,.2)}.tool-actions{display:grid;gap:10px}.tool-btn,.download-btn{min-height:46px;border-radius:12px;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:950;text-align:center;transition:.2s}.convert-btn{color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary2));box-shadow:0 12px 22px rgba(20,120,255,.2)}.add-btn{background:#fff;border:1px solid var(--line);color:var(--primary)}.clear-btn{background:#fff5f5;color:var(--red);border:1px solid rgba(239,68,68,.18)}.download-btn{background:#f8fbff;color:#6a7c95;border:1px solid var(--line);cursor:not-allowed;opacity:.65}.download-btn.ready{cursor:pointer;opacity:1;color:#fff;background:linear-gradient(135deg,var(--green),#5be1ad);border:0;box-shadow:0 12px 22px rgba(21,185,129,.2)}.tool-btn:hover,.download-btn.ready:hover{transform:translateY(-2px)}.privacy-note{margin-top:12px;padding:14px;border-radius:12px;background:#f8fbff;border:1px solid var(--line);color:#6a7c95;font-size:12px;line-height:1.6;font-weight:750}.article-section{padding:30px 0}.article-card{border-radius:28px;padding:40px 46px}.article-card h2{margin:0 0 14px;text-align:center;font-size:34px;line-height:1.2;letter-spacing:-.05em}.article-intro{max-width:920px;margin:0 auto 28px;text-align:center;color:var(--muted);line-height:1.8;font-size:16px;font-weight:650}.article-card h3{margin:30px 0 12px;font-size:24px;letter-spacing:-.04em}.article-card p{margin:0 0 16px;color:#425774;line-height:1.9;font-size:16px;font-weight:620}.article-card ul{margin:12px 0 20px;padding-left:22px;color:#425774;line-height:1.9;font-size:16px;font-weight:650}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:26px 0}.info-box{padding:20px;border-radius:18px;background:#f8fbff;border:1px solid var(--line)}.info-box strong{display:block;color:var(--primary);font-size:18px;margin-bottom:8px}.info-box span{display:block;color:var(--muted);line-height:1.7;font-size:14px;font-weight:650}.faq-wrap{margin-top:28px}.faq-title{margin:0 0 16px;font-size:26px;letter-spacing:-.04em}.faq-list{display:grid;gap:12px}.faq-item{background:#f8fbff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.faq-item summary{list-style:none;cursor:pointer;padding:20px 58px 20px 20px;font-size:16px;font-weight:950;color:#102033;position:relative}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary::after{content:"+";width:30px;height:30px;border-radius:10px;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;display:grid;place-items:center;position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:20px;transition:.2s}.faq-item[open] summary::after{transform:translateY(-50%) rotate(45deg)}.faq-item p{margin:0;padding:0 20px 20px;color:var(--muted);font-size:15px;line-height:1.8;font-weight:650}.related-section{padding:28px 0 38px}.related-card-main{border-radius:28px;padding:34px;text-align:center}.related-card-main h2{margin:0;font-size:34px;letter-spacing:-.05em}.related-card-main>p{margin:10px 0 24px;color:var(--muted);font-size:16px;font-weight:700}.related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;text-align:left}.related-card{padding:20px;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 32px rgba(20,70,140,.06);transition:.2s}.related-card:hover{transform:translateY(-4px)}.related-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary2));font-size:13px;font-weight:950;margin-bottom:14px}.related-card h3{margin:0 0 8px;font-size:18px}.related-card p{margin:0;color:var(--muted);line-height:1.7;font-size:14px;font-weight:650}.site-footer{padding:14px 0 46px}.footer-card{border-radius:22px;padding:24px 28px;text-align:center}.footer-top{display:flex;align-items:center;justify-content:space-between;gap:22px;padding-bottom:18px;border-bottom:1px solid var(--line);flex-wrap:wrap}.footer-links{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap}.footer-links a{color:#172b47;font-size:14px;font-weight:850}.footer-bottom{padding-top:16px;color:#6a7c95;font-size:13px;font-weight:750;line-height:1.7}@media(max-width:980px){.header-inner{flex-wrap:wrap;padding:12px 0}.nav{order:3;width:100%}.hero-grid,.tool-layout{grid-template-columns:1fr}.tool-stats{min-width:100%}.related-grid,.info-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.container{width:min(100% - 22px,1320px)}.custom-logo,.footer-logo-svg{width:170px}.header-btn{width:100%}.hero{padding-top:32px}.hero h1{font-size:42px}.hero p{font-size:15px}.tool-head{flex-direction:column}.tool-head h2{font-size:28px}.tool-head p{font-size:15px}.tool-card,.article-card,.related-card-main{padding:18px}.related-grid,.info-grid{grid-template-columns:1fr}.pdf-summary{grid-template-columns:1fr}.article-card p,.article-card ul{font-size:14px}.footer-top{align-items:center;justify-content:center;flex-direction:column}}

/* Approved base style copied from Word to PDF */

    :root {
      --bg: #f5f8ff;
      --card: rgba(255,255,255,0.94);
      --text: #081c33;
      --muted: #5d6f8c;
      --primary: #1478ff;
      --primary2: #743bff;
      --cyan: #20c7ff;
      --line: rgba(24, 85, 150, 0.13);
      --shadow: 0 24px 70px rgba(24, 70, 140, 0.13);
      --green: #12b981;
      --red: #ef4444;
      --radius: 24px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at 12% 5%, rgba(20,120,255,0.16), transparent 30%),
        radial-gradient(circle at 86% 12%, rgba(116,59,255,0.16), transparent 34%),
        linear-gradient(180deg, #f8fbff 0%, #eef5ff 46%, #f8fbff 100%);
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input,
    select {
      font: inherit;
    }

    .container {
      width: min(1320px, calc(100% - 48px));
      margin: 0 auto;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--line);
      box-shadow: 0 8px 28px rgba(20,70,140,0.06);
    }

    .header-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .brand,
    .footer-brand {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .custom-logo,
    .footer-logo-svg {
      width: 190px;
      max-width: 190px;
      height: auto;
      display: block;
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      flex-wrap: wrap;
    }

    .nav a {
      padding: 9px 8px;
      color: #172b47;
      font-size: 14px;
      font-weight: 850;
      border-bottom: 3px solid transparent;
    }

    .nav a:hover,
    .nav a.active {
      color: var(--primary);
      border-bottom-color: var(--primary2);
    }

    .header-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 13px 22px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      color: #fff;
      font-size: 14px;
      font-weight: 950;
      box-shadow: 0 15px 30px rgba(20,120,255,0.26);
      white-space: nowrap;
    }

    .hero {
      padding: 52px 0 34px;
    }

    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      color: #6680a3;
      font-size: 14px;
      font-weight: 800;
      margin-bottom: 22px;
    }

    .breadcrumb a {
      color: var(--primary);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 0.95fr;
      gap: 48px;
      align-items: center;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 11px 18px;
      border-radius: 999px;
      background: rgba(255,255,255,0.84);
      border: 1px solid var(--line);
      color: var(--primary);
      font-weight: 950;
      font-size: 14px;
      box-shadow: 0 10px 26px rgba(20,70,140,0.07);
      margin-bottom: 18px;
    }

    .hero h1 {
      margin: 0;
      max-width: 720px;
      font-size: clamp(56px, 6vw, 86px);
      line-height: 0.92;
      letter-spacing: -0.08em;
      color: #081c33;
    }

    .hero h1 span {
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero p {
      max-width: 720px;
      margin: 22px 0 0;
      color: #4f6482;
      font-size: 18px;
      line-height: 1.8;
      font-weight: 650;
    }

    .hero-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 24px;
    }

    .primary-btn,
    .secondary-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 52px;
      padding: 0 24px;
      border-radius: 12px;
      font-size: 15px;
      font-weight: 950;
      border: 0;
      cursor: pointer;
      transition: transform 0.2s ease;
    }

    .primary-btn {
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      color: #fff;
      box-shadow: 0 14px 28px rgba(20,120,255,0.22);
    }

    .secondary-btn {
      background: rgba(255,255,255,0.86);
      border: 1px solid var(--line);
      color: #172b47;
    }

    .primary-btn:hover,
    .secondary-btn:hover {
      transform: translateY(-2px);
    }

    .hero-pills {
      margin-top: 18px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .hero-pills span {
      padding: 10px 15px;
      border-radius: 999px;
      background: rgba(255,255,255,0.84);
      border: 1px solid var(--line);
      color: #354b68;
      font-size: 13px;
      font-weight: 850;
    }

    .hero-visual {
      border-radius: 34px;
      background: rgba(255,255,255,0.7);
      border: 1px solid rgba(255,255,255,0.7);
      padding: 18px;
      box-shadow: var(--shadow);
    }

    .visual-card {
      min-height: 330px;
      border-radius: 28px;
      background:
        radial-gradient(circle at 20% 18%, rgba(255,255,255,0.32), transparent 24%),
        linear-gradient(135deg, #9c78ff, #1478ff 52%, #20c7ff);
      display: grid;
      place-items: center;
      text-align: center;
      color: #fff;
      padding: 34px;
    }

    .visual-file {
      width: 100px;
      height: 126px;
      border-radius: 18px;
      background: rgba(255,255,255,0.94);
      color: var(--primary);
      display: grid;
      place-items: center;
      font-size: 42px;
      font-weight: 950;
      margin: 0 auto 20px;
      position: relative;
      box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }

    .visual-file::after {
      content: "DOCX";
      position: absolute;
      right: -24px;
      top: 12px;
      background: #ff4ba3;
      color: #fff;
      border-radius: 999px;
      padding: 5px 8px;
      font-size: 11px;
      font-weight: 950;
    }

    .visual-card h2 {
      margin: 0;
      font-size: 30px;
      letter-spacing: -0.04em;
    }

    .visual-card p {
      max-width: 450px;
      margin: 12px auto 0;
      color: rgba(255,255,255,0.88);
      font-size: 16px;
      line-height: 1.6;
      font-weight: 700;
    }

    .tool-section {
      padding: 20px 0 30px;
    }

    .tool-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 34px;
      box-shadow: var(--shadow);
      padding: 34px;
    }

    .tool-head {
      display: flex;
      align-items: start;
      justify-content: space-between;
      gap: 22px;
      margin-bottom: 26px;
    }

    .tool-head h2 {
      margin: 0;
      font-size: 38px;
      letter-spacing: -0.05em;
    }

    .tool-head p {
      margin: 10px 0 0;
      color: var(--muted);
      font-size: 18px;
      line-height: 1.7;
      font-weight: 650;
      max-width: 820px;
    }

    .tool-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      min-width: 250px;
    }

    .tool-stat {
      padding: 12px 10px;
      border-radius: 14px;
      background: #f7fbff;
      border: 1px solid var(--line);
      text-align: center;
    }

    .tool-stat strong {
      display: block;
      font-size: 16px;
      color: #142846;
    }

    .tool-stat span {
      display: block;
      margin-top: 3px;
      font-size: 11px;
      color: #718098;
      font-weight: 800;
    }

    .tool-layout {
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 28px;
    }

    .upload-panel {
      min-height: 250px;
      border: 2px dashed rgba(20,120,255,0.28);
      border-radius: 24px;
      background:
        radial-gradient(circle at center, rgba(20,120,255,0.07), transparent 58%),
        #f8fcff;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 24px;
      cursor: pointer;
      transition: 0.2s ease;
    }

    .upload-panel.dragover {
      border-color: var(--primary);
      background: #eef7ff;
      transform: translateY(-2px);
    }

    .upload-round {
      width: 70px;
      height: 70px;
      margin: 0 auto 14px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      color: #fff;
      font-size: 34px;
      box-shadow: 0 12px 24px rgba(20,120,255,0.2);
    }

    .upload-panel h3 {
      margin: 0;
      font-size: 24px;
      letter-spacing: -0.03em;
    }

    .upload-panel p {
      margin: 10px auto 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.7;
      font-weight: 700;
      max-width: 520px;
    }

    .choose-btn {
      margin-top: 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 40px;
      padding: 0 18px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      color: #fff;
      font-size: 13px;
      font-weight: 950;
    }

    #fileInput {
      display: none;
    }

    .preview-shell {
      margin-top: 18px;
      border-radius: 18px;
      background: #fff;
      border: 1px solid var(--line);
      overflow: hidden;
      box-shadow: 0 10px 28px rgba(20,70,140,0.07);
    }

    .preview-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 16px;
      border-bottom: 1px solid var(--line);
      background: #f8fbff;
      flex-wrap: wrap;
    }

    .preview-top strong {
      color: #102033;
      font-size: 14px;
      font-weight: 950;
    }

    .preview-top span {
      color: #718098;
      font-size: 12px;
      font-weight: 800;
    }

    .document-preview {
      min-height: 360px;
      max-height: 620px;
      overflow: auto;
      padding: 28px;
      color: #1f2937;
      background: #ffffff;
      line-height: 1.7;
      font-size: 16px;
    }

    .document-preview.empty {
      display: grid;
      place-items: center;
      text-align: center;
      color: #6c7c95;
      font-size: 14px;
      font-weight: 750;
      line-height: 1.7;
      background: #f8fbff;
    }

    .document-preview h1,
    .document-preview h2,
    .document-preview h3 {
      color: #102033;
      line-height: 1.25;
    }

    .document-preview img {
      max-width: 100%;
      height: auto;
    }

    .document-preview table {
      border-collapse: collapse;
      width: 100%;
      margin: 14px 0;
    }

    .document-preview td,
    .document-preview th {
      border: 1px solid #dbe7f5;
      padding: 8px;
      vertical-align: top;
    }

    .settings-panel {
      border-radius: 24px;
      background: #fff;
      border: 1px solid var(--line);
      padding: 24px;
      box-shadow: 0 10px 28px rgba(20,70,140,0.06);
    }

    .settings-panel h3 {
      margin: 0 0 16px;
      font-size: 26px;
      letter-spacing: -0.04em;
    }

    .field {
      display: grid;
      gap: 7px;
      margin-bottom: 13px;
    }

    .field label {
      font-size: 14px;
      color: #31445f;
      font-weight: 950;
    }

    .field select,
    .field input {
      width: 100%;
      min-height: 48px;
      border-radius: 12px;
      border: 1px solid rgba(18,72,130,0.15);
      background: #fff;
      padding: 0 12px;
      color: #102033;
      font-size: 15px;
      font-weight: 800;
      outline: none;
    }

    .check-row {
      display: flex;
      align-items: center;
      gap: 8px;
      min-height: 42px;
      color: #31445f;
      font-size: 14px;
      font-weight: 900;
      margin: 3px 0 13px;
    }

    .progress-track {
      height: 10px;
      background: rgba(20,120,255,0.1);
      border-radius: 999px;
      overflow: hidden;
      margin-bottom: 12px;
    }

    .progress-bar {
      width: 0%;
      height: 100%;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      transition: width 0.25s ease;
    }

    .message {
      display: none;
      margin-bottom: 12px;
      padding: 12px 14px;
      border-radius: 12px;
      font-size: 13px;
      font-weight: 800;
      line-height: 1.5;
    }

    .message.success {
      display: block;
      color: #087d58;
      background: rgba(21,185,129,0.12);
      border: 1px solid rgba(21,185,129,0.22);
    }

    .message.error {
      display: block;
      color: #b42323;
      background: rgba(239,68,68,0.1);
      border: 1px solid rgba(239,68,68,0.22);
    }

    .message.info {
      display: block;
      color: #185fc2;
      background: rgba(20,120,255,0.1);
      border: 1px solid rgba(20,120,255,0.2);
    }

    .tool-actions {
      display: grid;
      gap: 10px;
    }

    .tool-btn,
    .download-btn {
      min-height: 46px;
      border-radius: 12px;
      border: 0;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 950;
      text-align: center;
      transition: 0.2s ease;
    }

    .convert-btn {
      color: #fff;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      box-shadow: 0 12px 22px rgba(20,120,255,0.2);
    }

    .add-btn {
      background: #fff;
      border: 1px solid var(--line);
      color: var(--primary);
    }

    .clear-btn {
      background: #fff5f5;
      color: var(--red);
      border: 1px solid rgba(239,68,68,0.18);
    }

    .download-btn {
      background: #f8fbff;
      color: #6a7c95;
      border: 1px solid var(--line);
      box-shadow: none;
      cursor: not-allowed;
      opacity: 0.65;
    }

    .download-btn.ready {
      cursor: pointer;
      opacity: 1;
      color: #fff;
      background: linear-gradient(135deg, var(--green), #5be1ad);
      border: 0;
      box-shadow: 0 12px 22px rgba(21,185,129,0.2);
    }

    .tool-btn:hover,
    .download-btn.ready:hover {
      transform: translateY(-2px);
    }

    .privacy-note {
      margin-top: 12px;
      padding: 14px;
      border-radius: 12px;
      background: #f8fbff;
      border: 1px solid var(--line);
      color: #6a7c95;
      font-size: 12px;
      line-height: 1.6;
      font-weight: 750;
    }

    .article-section {
      padding: 30px 0;
    }

    .article-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 28px;
      box-shadow: var(--shadow);
      padding: 40px 46px;
    }

    .article-card h2 {
      margin: 0 0 14px;
      color: #081c33;
      text-align: center;
      font-size: 34px;
      line-height: 1.2;
      letter-spacing: -0.05em;
    }

    .article-intro {
      max-width: 920px;
      margin: 0 auto 28px;
      text-align: center;
      color: var(--muted);
      line-height: 1.8;
      font-size: 16px;
      font-weight: 650;
    }

    .article-card h3 {
      margin: 30px 0 12px;
      color: #081c33;
      font-size: 24px;
      letter-spacing: -0.04em;
    }

    .article-card p {
      margin: 0 0 16px;
      color: #425774;
      line-height: 1.9;
      font-size: 16px;
      font-weight: 620;
    }

    .article-card ul,
    .article-card ol {
      margin: 12px 0 20px;
      padding-left: 22px;
      color: #425774;
      line-height: 1.9;
      font-size: 16px;
      font-weight: 650;
    }

    .article-card li {
      margin-bottom: 8px;
    }

    .info-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin: 26px 0;
    }

    .info-box {
      padding: 20px;
      border-radius: 18px;
      background: #f8fbff;
      border: 1px solid var(--line);
    }

    .info-box strong {
      display: block;
      color: var(--primary);
      font-size: 18px;
      margin-bottom: 8px;
    }

    .info-box span {
      display: block;
      color: var(--muted);
      line-height: 1.7;
      font-size: 14px;
      font-weight: 650;
    }

    .faq-wrap {
      margin-top: 28px;
    }

    .faq-title {
      margin: 0 0 16px;
      font-size: 26px;
      color: #081c33;
      letter-spacing: -0.04em;
    }

    .faq-list {
      display: grid;
      gap: 12px;
    }

    .faq-item {
      background: #f8fbff;
      border: 1px solid var(--line);
      border-radius: 16px;
      overflow: hidden;
    }

    .faq-item summary {
      list-style: none;
      cursor: pointer;
      padding: 20px 58px 20px 20px;
      font-size: 16px;
      font-weight: 950;
      color: #102033;
      position: relative;
    }

    .faq-item summary::-webkit-details-marker {
      display: none;
    }

    .faq-item summary::after {
      content: "+";
      width: 30px;
      height: 30px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      color: #fff;
      display: grid;
      place-items: center;
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 20px;
      transition: 0.2s ease;
    }

    .faq-item[open] summary::after {
      transform: translateY(-50%) rotate(45deg);
    }

    .faq-item p {
      margin: 0;
      padding: 0 20px 20px;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.8;
      font-weight: 650;
    }

    .related-section {
      padding: 28px 0 38px;
    }

    .related-card-main {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 28px;
      box-shadow: var(--shadow);
      padding: 34px;
      text-align: center;
    }

    .related-card-main h2 {
      margin: 0;
      font-size: 34px;
      letter-spacing: -0.05em;
    }

    .related-card-main > p {
      margin: 10px 0 24px;
      color: var(--muted);
      font-size: 16px;
      font-weight: 700;
    }

    .related-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      text-align: left;
    }

    .related-card {
      padding: 20px;
      border-radius: 18px;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: 0 12px 32px rgba(20,70,140,0.06);
      transition: 0.2s ease;
    }

    .related-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 42px rgba(20,70,140,0.11);
    }

    .related-icon {
      width: 46px;
      height: 46px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      color: #fff;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      font-size: 13px;
      font-weight: 950;
      margin-bottom: 14px;
    }

    .related-card h3 {
      margin: 0 0 8px;
      font-size: 18px;
      letter-spacing: -0.03em;
    }

    .related-card p {
      margin: 0;
      color: var(--muted);
      line-height: 1.7;
      font-size: 14px;
      font-weight: 650;
    }

    .site-footer {
      padding: 14px 0 46px;
    }

    .footer-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 22px;
      box-shadow: var(--shadow);
      padding: 24px 28px;
      text-align: center;
    }

    .footer-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 22px;
      padding-bottom: 18px;
      border-bottom: 1px solid var(--line);
      flex-wrap: wrap;
    }

    .footer-links {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 18px;
      flex-wrap: wrap;
    }

    .footer-links a {
      color: #172b47;
      font-size: 14px;
      font-weight: 850;
    }

    .footer-links a:hover {
      color: var(--primary);
    }

    .footer-bottom {
      padding-top: 16px;
      color: #6a7c95;
      font-size: 13px;
      font-weight: 750;
      line-height: 1.7;
      text-align: center;
    }

    .pdf-render {
      width: 760px;
      max-width: 760px;
      padding: 0;
      background: #ffffff;
      color: #1f2937;
      line-height: 1.65;
      font-family: Arial, sans-serif;
    }

    .pdf-render h1,
    .pdf-render h2,
    .pdf-render h3 {
      color: #111827;
      line-height: 1.25;
    }

    .pdf-render img {
      max-width: 100%;
      height: auto;
    }

    .pdf-render table {
      border-collapse: collapse;
      width: 100%;
      margin: 12px 0;
    }

    .pdf-render td,
    .pdf-render th {
      border: 1px solid #d1d5db;
      padding: 8px;
      vertical-align: top;
    }

    .pdf-doc-footer {
      margin-top: 28px;
      padding-top: 10px;
      border-top: 1px solid #e5e7eb;
      color: #6b7280;
      font-size: 11px;
      text-align: center;
    }

    @media (max-width: 980px) {
      .header-inner {
        flex-wrap: wrap;
        padding: 12px 0;
      }

      .nav {
        order: 3;
        width: 100%;
      }

      .hero-grid,
      .tool-layout {
        grid-template-columns: 1fr;
      }

      .tool-stats {
        min-width: 100%;
      }

      .related-grid,
      .info-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 640px) {
      .container {
        width: min(100% - 22px, 1320px);
      }

      .custom-logo,
      .footer-logo-svg {
        width: 170px;
        max-width: 170px;
      }

      .header-btn {
        width: 100%;
      }

      .hero {
        padding-top: 32px;
      }

      .hero h1 {
        font-size: 42px;
      }

      .hero p {
        font-size: 15px;
      }

      .tool-head {
        flex-direction: column;
      }

      .tool-head h2 {
        font-size: 28px;
      }

      .tool-head p {
        font-size: 15px;
      }

      .tool-card,
      .article-card,
      .related-card-main {
        padding: 18px;
      }

      .related-grid,
      .info-grid {
        grid-template-columns: 1fr;
      }

      .document-preview {
        padding: 18px;
      }

      .article-card p,
      .article-card ul,
      .article-card ol {
        font-size: 14px;
      }

      .footer-top {
        align-items: center;
        justify-content: center;
        flex-direction: column;
      }
    }
  

/* Exact approved header/footer/logo style override */
.site-header{background:rgba(255,255,255,.94)!important;border-bottom:1px solid #dce8f7!important;box-shadow:0 10px 34px rgba(15,43,89,.07)!important}
.header-btn{width:auto!important;max-width:max-content!important}
.custom-logo,.footer-logo-svg{display:block!important;width:190px!important;max-width:190px!important;height:auto!important}
.site-footer{background:transparent!important}
.footer-card{background:#ffffff!important;color:#102033!important;border:1px solid #d9e7f6!important}
.footer-bottom{color:#64748b!important}
@media(max-width:760px){.header-btn{width:100%!important;max-width:100%!important}.custom-logo,.footer-logo-svg{width:170px!important;max-width:170px!important}}

