:root{
      --primary:#0B3D91;
      --primary-dark:#06275f;
      --primary-soft:#eaf1fc;
      --accent:#2f73d9;
      --ink:#172033;
      --muted:#667085;
      --line:#dfe5ee;
      --surface:#fff;
      --surface-alt:#f5f7fb;
      --success:#127a4b;
      --shadow:0 18px 48px rgba(20,42,82,.12);
      --radius:18px;
    }
    *{box-sizing:border-box}
    html{scroll-behaviour:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:var(--surface-alt);
      font-family:Inter,Arial,Helvetica,sans-serif;
      line-height:1.6;
    }
    body.drawer-locked{overflow:hidden}
    img{display:block;max-width:100%}
    a{color:inherit;text-decoration:none}
    button,input,select,textarea{font:inherit}
    button,a{-webkit-tap-highlight-color:transparent}
    .container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
    .topbar{
      color:#dce8ff;
      background:var(--primary-dark);
      font-size:13px;
    }
    .topbar-inner{
      min-height:36px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
    }
    .topbar-links{display:flex;align-items:center;gap:20px}
    .topbar a:hover{color:#fff}
    .header{
      position:relative;
      z-index:50;
      background:#fff;
      border-bottom:1px solid var(--line);
      box-shadow:0 5px 20px rgba(20,42,82,.05);
    }
    .header-inner{
      min-height:78px;
      display:flex;
      align-items:center;
      gap:26px;
    }
    .logo{
      min-width:max-content;
      display:inline-flex;
      align-items:center;
      gap:10px;
      color:var(--primary);
      font-weight:800;
      letter-spacing:-.02em;
    }
    .logo img{
      width:40px;
      height:40px;
      border-radius:10px;
      object-fit:contain;
    }
    .main-nav{align-self:stretch;display:flex;align-items:stretch;margin-left:auto}
    .nav-list{
      height:100%;
      display:flex;
      align-items:stretch;
      gap:2px;
      margin:0;
      padding:0;
      list-style:none;
    }
    .nav-item{position:relative;display:flex;align-items:stretch}
    .nav-link{
      display:flex;
      align-items:center;
      padding:0 13px;
      color:#344054;
      font-size:14px;
      font-weight:700;
      white-space:nowrap;
    }
    .nav-link:hover,.nav-item:focus-within>.nav-link{color:var(--primary)}
    .has-panel>.nav-link::after{
      content:"";
      width:6px;
      height:6px;
      margin-left:7px;
      border-right:2px solid currentColor;
      border-bottom:2px solid currentColor;
      transform:rotate(45deg) translateY(-2px);
    }
    .dropdown-panel,.mega-menu{
      position:absolute;
      top:100%;
      z-index:80;
      visibility:hidden;
      opacity:0;
      transform:translateY(10px);
      pointer-events:none;
      background:#fff;
      border:1px solid var(--line);
      box-shadow:var(--shadow);
      transition:.18s ease;
    }
    .nav-item:hover>.dropdown-panel,
    .nav-item:focus-within>.dropdown-panel,
    .nav-item:hover>.mega-menu,
    .nav-item:focus-within>.mega-menu{
      visibility:visible;
      opacity:1;
      transform:translateY(0);
      pointer-events:auto;
    }
    .dropdown-panel{
      left:0;
      width:330px;
      padding:20px;
      border-radius:0 0 16px 16px;
    }
    .dropdown-title,.mega-title{
      margin:0;
      color:var(--ink);
      font-weight:800;
    }
    .dropdown-list{display:grid;gap:4px;margin-top:12px}
    .dropdown-list a{
      padding:9px 10px;
      border-radius:8px;
      color:#475467;
      font-size:14px;
    }
    .dropdown-list a:hover{color:var(--primary);background:var(--primary-soft)}
    .dropdown-footer{
      display:flex;
      justify-content:space-between;
      gap:12px;
      margin-top:12px;
      padding-top:12px;
      border-top:1px solid var(--line);
      color:var(--muted);
      font-size:13px;
    }
    .dropdown-footer a,.text-link{color:var(--primary);font-weight:800}
    .mega-menu{
      left:50%;
      width:min(940px,calc(100vw - 40px));
      padding:24px;
      border-radius:0 0 18px 18px;
      transform:translate(-50%,10px);
    }
    .nav-item:hover>.mega-menu,.nav-item:focus-within>.mega-menu{
      transform:translate(-50%,0);
    }
    .nav-item:nth-last-child(-n+3) .mega-menu{left:auto;right:-150px;transform:translateY(10px)}
    .nav-item:nth-last-child(-n+3):hover>.mega-menu,
    .nav-item:nth-last-child(-n+3):focus-within>.mega-menu{transform:translateY(0)}
    .mega-top{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:24px;
      margin-bottom:18px;
    }
    .mega-top p:not(.mega-title){margin:4px 0 0;color:var(--muted);font-size:14px}
    .mega-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
    .mega-card{
      min-width:0;
      padding:14px;
      border:1px solid var(--line);
      border-radius:12px;
      background:#fff;
      transition:.18s ease;
    }
    .mega-card:hover{
      border-color:#9eb9e7;
      background:var(--primary-soft);
      transform:translateY(-2px);
    }
    .mega-card img{
      width:42px;
      height:42px;
      margin-bottom:10px;
      border-radius:9px;
      object-fit:contain;
      background:#fff;
    }
    .mega-card.video-card img,.mega-card.product-card img{
      width:100%;
      height:92px;
      object-fit:cover;
    }
    .mega-card strong{display:block;overflow:hidden;color:#25324a;font-size:14px}
    .mega-card p{
      display:-webkit-box;
      overflow:hidden;
      margin:5px 0 0;
      color:var(--muted);
      font-size:12px;
      line-height:1.45;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
    }
    .mega-meta{display:flex;flex-wrap:wrap;gap:5px 10px;margin-top:8px;color:var(--muted);font-size:11px}
    .mega-categories{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
    .mega-categories a{
      padding:6px 10px;
      color:var(--primary);
      background:var(--primary-soft);
      border-radius:999px;
      font-size:12px;
      font-weight:700;
    }
    .header-btns{display:flex;align-items:center;gap:10px;margin-left:2px}
    .btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:42px;
      padding:0 18px;
      border:1px solid transparent;
      border-radius:10px;
      font-weight:800;
      cursor:pointer;
    }
    .btn-primary{color:#fff;background:var(--primary)}
    .btn-primary:hover{background:var(--primary-dark)}
    .btn-outline{color:var(--primary);background:#fff;border-color:#abc0e4}
    .btn-outline:hover{background:var(--primary-soft)}
    .hamburger{
      width:43px;
      height:43px;
      display:none;
      align-items:center;
      justify-content:center;
      flex-direction:column;
      gap:5px;
      padding:0;
      border:1px solid var(--line);
      border-radius:10px;
      background:#fff;
      cursor:pointer;
    }
    .hamburger span{
      width:20px;
      height:2px;
      background:var(--ink);
      transition:.2s ease;
    }
    .hamburger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
    .hamburger.active span:nth-child(2){opacity:0}
    .hamburger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
    .drawer-overlay{
      position:fixed;
      inset:0;
      z-index:90;
      visibility:hidden;
      opacity:0;
      background:rgba(6,20,48,.58);
      transition:.2s ease;
    }
    .drawer-overlay.open{visibility:visible;opacity:1}
    .mobile-drawer{
      position:fixed;
      top:0;
      right:0;
      z-index:100;
      width:min(390px,92vw);
      height:100dvh;
      overflow-y:auto;
      transform:translateX(102%);
      background:#fff;
      box-shadow:-24px 0 60px rgba(7,28,68,.22);
      transition:.25s ease;
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      position:sticky;
      top:0;
      z-index:2;
      min-height:72px;
      display:flex;
      align-items:center;
      gap:12px;
      padding:14px 18px;
      color:#fff;
      background:var(--primary);
    }
    .drawer-head>a{font-size:14px;font-weight:800}
    .drawer-close{
      width:38px;
      height:38px;
      margin-left:auto;
      padding:0;
      color:#fff;
      background:rgba(255,255,255,.12);
      border:1px solid rgba(255,255,255,.25);
      border-radius:9px;
      font-size:26px;
      line-height:1;
      cursor:pointer;
    }
    .drawer-menu{padding:14px 18px 28px}
    .drawer-link,.drawer-toggle{
      width:100%;
      display:flex;
      align-items:center;
      min-height:48px;
      padding:0;
      color:#24314a;
      background:none;
      border:0;
      border-bottom:1px solid var(--line);
      text-align:left;
      font-weight:800;
      cursor:pointer;
    }
    .drawer-toggle::after{
      content:"+";
      margin-left:auto;
      color:var(--primary);
      font-size:21px;
    }
    .drawer-toggle.active::after{content:"−"}
    .drawer-submenu{
      max-height:0;
      overflow:hidden;
      padding:0 12px;
      background:var(--surface-alt);
      transition:max-height .25s ease;
    }
    .drawer-submenu.open{max-height:620px;padding-top:8px;padding-bottom:8px}
    .drawer-submenu a{
      display:block;
      padding:9px 8px;
      color:#536077;
      font-size:14px;
    }
    .drawer-submenu a:hover{color:var(--primary)}
    .tool-detail-page{min-width:0}
    .tool-detail-page .tool-hero{
      position:relative;
      overflow:hidden;
      padding:58px 0 72px;
      color:#fff;
      background:
        radial-gradient(circle at 85% 10%,rgba(76,139,229,.55),transparent 30%),
        linear-gradient(135deg,var(--primary-dark),var(--primary));
    }
    .tool-detail-page .tool-hero::after{
      content:"";
      position:absolute;
      right:-90px;
      bottom:-160px;
      width:430px;
      height:430px;
      border:1px solid rgba(255,255,255,.17);
      border-radius:50%;
      box-shadow:0 0 0 70px rgba(255,255,255,.04),0 0 0 140px rgba(255,255,255,.03);
    }
    .tool-detail-page .breadcrumbs{
      position:relative;
      z-index:1;
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-bottom:24px;
      color:#c9dafa;
      font-size:14px;
    }
    .tool-detail-page .breadcrumbs a:hover{color:#fff}
    .tool-detail-page .tool-heading{
      position:relative;
      z-index:1;
      max-width:840px;
      text-align:center;
      margin-inline:auto;
    }
    .tool-detail-page .tool-heading img{
      width:70px;
      height:70px;
      margin:0 auto 18px;
      padding:12px;
      object-fit:contain;
      background:#fff;
      border-radius:18px;
      box-shadow:0 12px 30px rgba(0,0,0,.18);
    }
    .tool-detail-page .eyebrow{
      display:inline-flex;
      padding:6px 12px;
      border:1px solid rgba(255,255,255,.28);
      border-radius:999px;
      background:rgba(255,255,255,.1);
      font-size:12px;
      font-weight:800;
      letter-spacing:.08em;
      text-transform:uppercase;
    }
    .tool-detail-page h1{
      margin:14px 0 14px;
      font-size:clamp(34px,5vw,58px);
      line-height:1.08;
      letter-spacing:-.04em;
    }
    .tool-detail-page .tool-heading p{
      max-width:720px;
      margin:0 auto;
      color:#d9e5fb;
      font-size:18px;
    }
    .tool-detail-page .detail-wrap{
      position:relative;
      z-index:2;
      width:min(1180px,calc(100% - 40px));
      margin:-34px auto 0;
      padding-bottom:72px;
    }
    .tool-detail-page .tool-workspace{
      min-width:0;
      display:grid;
      grid-template-columns:minmax(0,1fr) 330px;
      gap:24px;
      align-items:start;
    }
    .tool-detail-page .tool-main-card,
    .tool-detail-page .guide-card,
    .tool-detail-page .notice-card{
      min-width:0;
      background:#fff;
      border:1px solid var(--line);
      border-radius:var(--radius);
      box-shadow:var(--shadow);
    }
    .tool-detail-page .tool-main-card{padding:30px}
    .tool-detail-page .card-head{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:18px;
      margin-bottom:26px;
      padding-bottom:20px;
      border-bottom:1px solid var(--line);
    }
    .tool-detail-page .card-head h2{margin:0;font-size:25px;line-height:1.25}
    .tool-detail-page .card-head p{margin:6px 0 0;color:var(--muted)}
    .tool-detail-page .status{
      display:inline-flex;
      align-items:center;
      gap:7px;
      flex:none;
      padding:7px 10px;
      color:var(--success);
      background:#eaf8f1;
      border-radius:999px;
      font-size:12px;
      font-weight:800;
    }
    .tool-detail-page .status::before{
      content:"";
      width:7px;
      height:7px;
      background:var(--success);
      border-radius:50%;
    }
    .tool-detail-page .calculator-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:18px;
    }
    .tool-detail-page .field{min-width:0}
    .tool-detail-page .field label{
      display:block;
      margin-bottom:7px;
      color:#344054;
      font-size:14px;
      font-weight:800;
    }
    .tool-detail-page .field input,
    .tool-detail-page .field select{
      width:100%;
      height:48px;
      padding:0 13px;
      color:var(--ink);
      background:#fff;
      border:1px solid #cfd7e4;
      border-radius:10px;
      outline:none;
    }
    .tool-detail-page .field input:focus,
    .tool-detail-page .field select:focus{
      border-color:var(--accent);
      box-shadow:0 0 0 3px rgba(47,115,217,.13);
    }
    .tool-detail-page .action-row{
      display:flex;
      flex-wrap:wrap;
      gap:12px;
      margin-top:22px;
    }
    .tool-detail-page .result-panel{
      margin-top:24px;
      padding:22px;
      border:1px solid #bfd0ed;
      border-radius:14px;
      background:var(--primary-soft);
    }
    .tool-detail-page .result-panel h3{margin:0 0 12px;color:var(--primary)}
    .tool-detail-page .result-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:12px;
    }
    .tool-detail-page .result-item{
      padding:15px;
      background:#fff;
      border:1px solid #d5e1f5;
      border-radius:10px;
    }
    .tool-detail-page .result-item span{display:block;color:var(--muted);font-size:12px}
    .tool-detail-page .result-item strong{display:block;margin-top:4px;color:var(--primary);font-size:20px}
    .tool-detail-page .sidebar{display:grid;gap:18px}
    .tool-detail-page .guide-card,.tool-detail-page .notice-card{padding:22px}
    .tool-detail-page .guide-card h2,.tool-detail-page .notice-card h2{margin:0 0 14px;font-size:19px}
    .tool-detail-page .guide-list{display:grid;gap:14px;margin:0;padding:0;list-style:none}
    .tool-detail-page .guide-list li{display:grid;grid-template-columns:30px 1fr;gap:10px;color:#475467;font-size:14px}
    .tool-detail-page .guide-list b{
      width:30px;
      height:30px;
      display:grid;
      place-items:center;
      color:#fff;
      background:var(--primary);
      border-radius:50%;
      font-size:12px;
    }
    .tool-detail-page .notice-card{
      box-shadow:none;
      background:#fffaf0;
      border-color:#f1d69d;
    }
    .tool-detail-page .notice-card p{margin:0;color:#6f5729;font-size:14px}
    .tool-detail-page .content-section{
      min-width:0;
      max-width:100%;
      overflow-x:auto;
      margin-top:26px;
      padding:30px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:var(--radius);
    }
    .tool-detail-page .content-section h2{margin:0 0 16px;font-size:27px}
    .tool-detail-page .tool-content{min-width:0;max-width:100%;overflow-x:auto;color:#3e4a60}
    .tool-detail-page .tool-content img,
    .tool-detail-page .tool-content table,
    .tool-detail-page .tool-content iframe,
    .tool-detail-page .tool-content video{max-width:100%}
    .tool-detail-page .tool-content table{width:100%;border-collapse:collapse}
    .tool-detail-page .tool-content th,
    .tool-detail-page .tool-content td{padding:10px;border:1px solid var(--line)}
    .tool-detail-page .related-section{margin-top:48px}
    .tool-detail-page .section-heading{
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:20px;
      margin-bottom:20px;
    }
    .tool-detail-page .section-heading h2{margin:0;font-size:30px}
    .tool-detail-page .section-heading p{margin:4px 0 0;color:var(--muted)}
    .tool-detail-page .section-heading a{color:var(--primary);font-weight:800}
    .tool-detail-page .related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
    .tool-detail-page .related-card{
      min-width:0;
      padding:22px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:15px;
      box-shadow:0 10px 28px rgba(20,42,82,.07);
      transition:.18s ease;
    }
    .tool-detail-page .related-card:hover{transform:translateY(-4px);border-color:#9cb8e8}
    .tool-detail-page .related-card img{
      width:50px;
      height:50px;
      padding:8px;
      object-fit:contain;
      background:var(--primary-soft);
      border-radius:12px;
    }
    .tool-detail-page .related-card h3{margin:15px 0 7px;font-size:18px}
    .tool-detail-page .related-card p{
      display:-webkit-box;
      overflow:hidden;
      margin:0;
      color:var(--muted);
      font-size:14px;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:3;
    }
    .tool-detail-page .related-card span{
      display:inline-block;
      margin-top:16px;
      color:var(--primary);
      font-size:14px;
      font-weight:800;
    }
    .footer{color:#c9d4e8;background:#071b3e}
    .footer-main{
      display:grid;
      grid-template-columns:1.5fr repeat(3,1fr);
      gap:38px;
      padding-top:58px;
      padding-bottom:42px;
    }
    .footer .logo{color:#fff}
    .footer-brand p{max-width:430px;margin:16px 0 0;color:#aebbd1;font-size:14px}
    .footer h3{margin:0 0 16px;color:#fff;font-size:15px}
    .footer-links,.footer-contact{display:grid;gap:9px}
    .footer-links a,.footer-contact a{color:#aebbd1;font-size:14px}
    .footer-links a:hover,.footer-contact a:hover{color:#fff}
    .footer-social{margin-top:8px}
    .footer-bottom{
      display:flex;
      justify-content:space-between;
      gap:24px;
      padding-top:20px;
      padding-bottom:22px;
      border-top:1px solid rgba(255,255,255,.12);
      color:#91a1bc;
      font-size:13px;
    }
    @media (max-width:1080px){
      .main-nav{display:none}
      .hamburger{display:flex}
      .header-btns{margin-left:auto}
      .tool-detail-page .tool-workspace{grid-template-columns:minmax(0,1fr) 290px}
      .footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}
    }
    @media (max-width:780px){
      .container{width:min(100% - 28px,1180px)}
      .topbar-inner{min-height:42px}
      .topbar-inner>span{display:none}
      .topbar-links{width:100%;justify-content:space-between;gap:12px}
      .header-inner{min-height:68px}
      .header .logo span{display:none}
      .header-btns>.btn{display:none}
      .tool-detail-page .tool-hero{padding:44px 0 62px}
      .tool-detail-page .tool-heading p{font-size:16px}
      .tool-detail-page .detail-wrap{width:min(100% - 28px,1180px)}
      .tool-detail-page .tool-workspace{grid-template-columns:1fr}
      .tool-detail-page .calculator-grid{grid-template-columns:1fr}
      .tool-detail-page .result-grid{grid-template-columns:1fr}
      .tool-detail-page .related-grid{grid-template-columns:1fr}
      .tool-detail-page .tool-main-card,.tool-detail-page .content-section{padding:22px}
      .tool-detail-page .card-head{display:block}
      .tool-detail-page .status{margin-top:12px}
      .tool-detail-page .section-heading{display:block}
      .tool-detail-page .section-heading a{display:inline-block;margin-top:10px}
      .footer-main{grid-template-columns:1fr;padding-top:42px}
      .footer-bottom{flex-direction:column}
    }
    @media (max-width:480px){
      .topbar-links{font-size:11px}
      .logo img{width:36px;height:36px}
      .tool-detail-page h1{font-size:34px}
      .tool-detail-page .action-row .btn{width:100%}
    }