:root{
      --theme:#0B3D91;
      --theme-dark:#07295f;
      --theme-deep:#051b3d;
      --theme-soft:#eaf1fb;
      --accent:#22c55e;
      --ink:#142033;
      --muted:#667085;
      --line:#dce3ed;
      --surface:#ffffff;
      --surface-soft:#f5f7fb;
      --shadow:0 18px 50px rgba(11,61,145,.12);
      --radius:18px;
      --container:1220px;
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:var(--surface-soft);
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;
      line-height:1.65;
      overflow-wrap:anywhere;
    }
    body.drawer-locked{overflow:hidden}
    img{display:block;max-width:100%}
    a{color:inherit;text-decoration:none}
    button,input,select,textarea{font:inherit}
    button{cursor:pointer}
    .container{width:min(var(--container),calc(100% - 40px));margin-inline:auto}

    .topbar{
      color:#dbeafe;
      background:var(--theme-deep);
      border-bottom:1px solid rgba(255,255,255,.1);
      font-size:13px;
    }
    .topbar-inner{
      min-height:36px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
    }
    .topbar-contact{display:flex;align-items:center;gap:20px}
    .topbar a{transition:color .2s ease}
    .topbar a:hover{color:#fff}

    .header{
      position:relative;
      z-index:50;
      background:rgba(255,255,255,.98);
      border-bottom:1px solid var(--line);
      box-shadow:0 4px 18px rgba(15,23,42,.04);
    }
    .header-inner{
      min-height:78px;
      display:flex;
      align-items:center;
      gap:24px;
    }
    .logo{
      min-width:max-content;
      display:inline-flex;
      align-items:center;
      gap:10px;
      color:var(--theme);
      font-size:19px;
      font-weight:800;
      letter-spacing:.01em;
    }
    .logo img{
      width:42px;
      height:42px;
      object-fit:contain;
      border-radius:10px;
    }
    .main-nav{margin-left:auto;align-self:stretch}
    .nav-list{
      height:100%;
      margin:0;
      padding:0;
      display:flex;
      align-items:stretch;
      list-style:none;
    }
    .nav-item{
      position:relative;
      display:flex;
      align-items:center;
    }
    .nav-link{
      height:100%;
      padding:0 12px;
      display:flex;
      align-items:center;
      color:#27364d;
      font-size:14px;
      font-weight:700;
      white-space:nowrap;
      transition:color .2s ease,background .2s ease;
    }
    .nav-link:hover,.nav-item:focus-within>.nav-link{
      color:var(--theme);
      background:var(--theme-soft);
    }
    .has-arrow::after{
      content:"";
      width:6px;
      height:6px;
      margin-left:7px;
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      transform:rotate(45deg) translateY(-2px);
    }
    .dropdown-panel,.mega-menu{
      position:absolute;
      top:100%;
      left:0;
      z-index:60;
      visibility:hidden;
      opacity:0;
      transform:translateY(8px);
      pointer-events:none;
      transition:opacity .18s ease,transform .18s ease,visibility .18s;
      background:#fff;
      border:1px solid var(--line);
      border-radius:0 0 16px 16px;
      box-shadow:0 24px 50px rgba(15,23,42,.16);
    }
    .dropdown-panel::before,.mega-menu::before{
      content:"";
      position:absolute;
      right:0;
      bottom:100%;
      left:0;
      height:10px;
    }
    .nav-item:hover>.dropdown-panel,
    .nav-item:hover>.mega-menu,
    .nav-item:focus-within>.dropdown-panel,
    .nav-item:focus-within>.mega-menu{
      visibility:visible;
      opacity:1;
      transform:translateY(0);
      pointer-events:auto;
    }
    .dropdown-panel{
      width:300px;
      padding:12px;
    }
    .dropdown-panel>a:not(.dropdown-footer){
      display:block;
      padding:10px 12px;
      border-radius:9px;
      color:#344054;
      font-size:14px;
    }
    .dropdown-panel>a:not(.dropdown-footer):hover{
      color:var(--theme);
      background:var(--theme-soft);
    }
    .dropdown-footer,.mega-footer{
      display:block;
      margin-top:10px;
      padding:11px 14px;
      color:#fff;
      background:var(--theme);
      border-radius:9px;
      text-align:center;
      font-size:13px;
      font-weight:800;
    }
    .mega-menu{
      left:50%;
      width:660px;
      padding:20px;
      transform:translate(-50%,8px);
    }
    .nav-item:hover>.mega-menu,
    .nav-item:focus-within>.mega-menu{transform:translate(-50%,0)}
    .mega-wide{
      left:auto;
      right:-180px;
      width:min(860px,calc(100vw - 40px));
      transform:translateY(8px);
    }
    .nav-item:hover>.mega-wide,
    .nav-item:focus-within>.mega-wide{transform:translateY(0)}
    .mega-title{
      margin:0 0 12px;
      color:var(--theme);
      font-size:13px;
      font-weight:900;
      letter-spacing:.08em;
    }
    .mega-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:10px;
    }
    .mega-card{
      min-width:0;
      min-height:78px;
      padding:10px;
      display:flex;
      align-items:center;
      gap:11px;
      border:1px solid #e8edf4;
      border-radius:12px;
      background:#fff;
      transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
    }
    .mega-card:hover{
      border-color:#9bb7e2;
      box-shadow:0 10px 24px rgba(11,61,145,.1);
      transform:translateY(-1px);
    }
    .mega-card>img{
      flex:0 0 54px;
      width:54px;
      height:54px;
      object-fit:cover;
      border-radius:10px;
      background:#eef2f7;
    }
    .mega-card>img.tool-icon{object-fit:contain;padding:7px}
    .mega-card-copy{
      min-width:0;
      display:flex;
      flex-direction:column;
      gap:2px;
    }
    .mega-card-copy strong{
      overflow:hidden;
      color:#172033;
      font-size:14px;
      white-space:nowrap;
      text-overflow:ellipsis;
    }
    .mega-card-copy span{
      overflow:hidden;
      color:var(--muted);
      font-size:12px;
      white-space:nowrap;
      text-overflow:ellipsis;
    }
    .mega-category-list{
      margin-bottom:14px;
      display:flex;
      flex-wrap:wrap;
      gap:8px;
    }
    .mega-category-list a{
      padding:6px 10px;
      color:var(--theme);
      background:var(--theme-soft);
      border:1px solid #cfddf2;
      border-radius:999px;
      font-size:12px;
      font-weight:700;
    }
    .header-btns{
      display:flex;
      align-items:center;
      gap:10px;
      white-space:nowrap;
    }
    .account-btn{
      padding:10px 14px;
      color:#fff;
      background:var(--theme);
      border-radius:9px;
      font-size:14px;
      font-weight:800;
      box-shadow:0 8px 20px rgba(11,61,145,.18);
    }
    .hamburger{
      width:42px;
      height:42px;
      padding:10px;
      display:none;
      border:1px solid var(--line);
      border-radius:10px;
      background:#fff;
    }
    .hamburger span{
      width:100%;
      height:2px;
      margin:4px 0;
      display:block;
      background:var(--ink);
      transition:transform .2s ease,opacity .2s ease;
    }
    .hamburger.active span:nth-child(1){transform:translateY(6px) rotate(45deg)}
    .hamburger.active span:nth-child(2){opacity:0}
    .hamburger.active span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

    .drawer-overlay{
      position:fixed;
      inset:0;
      z-index:90;
      visibility:hidden;
      opacity:0;
      background:rgba(2,10,25,.62);
      backdrop-filter:blur(3px);
      transition:opacity .25s ease,visibility .25s;
    }
    .drawer-overlay.open{visibility:visible;opacity:1}
    .mobile-drawer{
      position:fixed;
      top:0;
      right:0;
      bottom:0;
      z-index:100;
      width:min(390px,90vw);
      overflow-y:auto;
      background:#fff;
      box-shadow:-24px 0 60px rgba(0,0,0,.2);
      transform:translateX(105%);
      transition:transform .28s ease;
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      position:sticky;
      top:0;
      z-index:2;
      min-height:70px;
      padding:13px 16px;
      display:flex;
      align-items:center;
      gap:10px;
      background:#fff;
      border-bottom:1px solid var(--line);
    }
    .drawer-head>a{
      padding:8px 10px;
      color:#fff;
      background:var(--theme);
      border-radius:8px;
      font-size:13px;
      font-weight:700;
    }
    .drawer-close{
      width:38px;
      height:38px;
      margin-left:auto;
      border:0;
      border-radius:50%;
      color:#344054;
      background:#edf1f6;
      font-size:25px;
      line-height:1;
    }
    .drawer-menu{padding:12px 16px 30px}
    .drawer-link,.drawer-toggle{
      width:100%;
      padding:14px 8px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      border:0;
      border-bottom:1px solid #e9edf3;
      color:#1f2a3d;
      background:transparent;
      font-weight:800;
      text-align:left;
    }
    .drawer-toggle::after{
      content:"+";
      color:var(--theme);
      font-size:20px;
      font-weight:500;
    }
    .drawer-toggle.active::after{content:"−"}
    .drawer-submenu{
      max-height:0;
      overflow:hidden;
      padding:0 9px;
      background:#f6f8fc;
      border-radius:0 0 10px 10px;
      transition:max-height .3s ease,padding .3s ease;
    }
    .drawer-submenu.open{
      max-height:800px;
      padding:7px 9px;
    }
    .drawer-submenu a{
      display:block;
      padding:9px 7px;
      color:#526177;
      border-bottom:1px dashed #d9e0e9;
      font-size:14px;
    }

    .tool-detail-page{
      min-height:650px;
      padding-bottom:76px;
    }
    .tool-detail-page .tool-heading{
      position:relative;
      overflow:hidden;
      color:#fff;
      background:
        radial-gradient(circle at 10% 20%,rgba(34,197,94,.18),transparent 24%),
        radial-gradient(circle at 90% 0,rgba(96,165,250,.24),transparent 28%),
        linear-gradient(135deg,var(--theme-deep),var(--theme));
    }
    .tool-detail-page .tool-heading::after{
      content:"";
      position:absolute;
      right:-80px;
      bottom:-170px;
      width:360px;
      height:360px;
      border:1px solid rgba(255,255,255,.12);
      border-radius:50%;
      box-shadow:0 0 0 45px rgba(255,255,255,.035),0 0 0 90px rgba(255,255,255,.025);
    }
    .tool-detail-page .tool-heading-inner{
      position:relative;
      z-index:1;
      padding:30px 0 54px;
    }
    .tool-detail-page .breadcrumb{
      margin-bottom:26px;
      display:flex;
      flex-wrap:wrap;
      align-items:center;
      gap:8px;
      color:#bfdbfe;
      font-size:14px;
    }
    .tool-detail-page .breadcrumb a:hover{color:#fff}
    .tool-detail-page .tool-title-card{
      max-width:850px;
      margin:auto;
      text-align:center;
    }
    .tool-detail-page .detail-icon{
      width:82px;
      height:82px;
      margin:0 auto 18px;
      padding:14px;
      object-fit:contain;
      background:#fff;
      border:1px solid rgba(255,255,255,.35);
      border-radius:22px;
      box-shadow:0 16px 35px rgba(0,0,0,.2);
    }
    .tool-detail-page .eyebrow{
      margin:0 0 8px;
      color:#86efac;
      font-size:13px;
      font-weight:900;
      letter-spacing:.14em;
    }
    .tool-detail-page h1{
      margin:0;
      font-size:clamp(32px,5vw,54px);
      line-height:1.16;
      letter-spacing:-.03em;
    }
    .tool-detail-page .lead{
      max-width:760px;
      margin:18px auto 0;
      color:#dbeafe;
      font-size:17px;
      line-height:1.8;
    }
    .tool-detail-page .tool-meta{
      margin-top:24px;
      display:flex;
      flex-wrap:wrap;
      justify-content:center;
      gap:10px;
    }
    .tool-detail-page .tool-meta span{
      padding:7px 12px;
      color:#e5efff;
      background:rgba(255,255,255,.09);
      border:1px solid rgba(255,255,255,.17);
      border-radius:999px;
      font-size:13px;
    }
    .tool-detail-page .detail-layout{
      position:relative;
      z-index:3;
      margin-top:-24px;
      display:grid;
      grid-template-columns:minmax(0,1fr) 330px;
      gap:24px;
      align-items:start;
    }
    .tool-detail-page .tool-panel,
    .tool-detail-page .side-card{
      background:#fff;
      border:1px solid var(--line);
      border-radius:var(--radius);
      box-shadow:var(--shadow);
    }
    .tool-detail-page .tool-panel{min-width:0;overflow:hidden}
    .tool-detail-page .panel-bar{
      padding:16px 22px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      border-bottom:1px solid var(--line);
      background:linear-gradient(180deg,#fff,#f8fafc);
    }
    .tool-detail-page .window-dots{display:flex;gap:6px}
    .tool-detail-page .window-dots i{
      width:9px;
      height:9px;
      display:block;
      border-radius:50%;
      background:#cbd5e1;
    }
    .tool-detail-page .window-dots i:first-child{background:#22c55e}
    .tool-detail-page .panel-status{
      color:#3f526d;
      font-size:13px;
      font-weight:700;
    }
    .tool-detail-page .tool-content{
      min-width:0;
      max-width:100%;
      padding:clamp(22px,4vw,40px);
      overflow-x:auto;
      color:#344054;
      font-size:16px;
    }
    .tool-detail-page .tool-content h2,
    .tool-detail-page .tool-content h3,
    .tool-detail-page .tool-content h4{
      color:#172033;
      line-height:1.3;
    }
    .tool-detail-page .tool-content h2{
      margin:36px 0 14px;
      padding-bottom:10px;
      border-bottom:1px solid var(--line);
      font-size:27px;
    }
    .tool-detail-page .tool-content h2:first-child{margin-top:0}
    .tool-detail-page .tool-content h3{margin:28px 0 10px;font-size:21px}
    .tool-detail-page .tool-content p{margin:0 0 18px}
    .tool-detail-page .tool-content a{
      color:var(--theme);
      text-decoration:underline;
      text-underline-offset:3px;
    }
    .tool-detail-page .tool-content img,
    .tool-detail-page .tool-content video,
    .tool-detail-page .tool-content iframe{
      max-width:100%;
      height:auto;
      border-radius:12px;
    }
    .tool-detail-page .tool-content table{
      width:100%;
      max-width:100%;
      border-collapse:collapse;
    }
    .tool-detail-page .tool-content th,
    .tool-detail-page .tool-content td{
      padding:11px;
      border:1px solid var(--line);
      text-align:left;
    }
    .tool-detail-page .tool-content input,
    .tool-detail-page .tool-content select,
    .tool-detail-page .tool-content textarea{
      max-width:100%;
      padding:10px 12px;
      border:1px solid #cbd5e1;
      border-radius:8px;
    }
    .tool-detail-page .tool-content button,
    .tool-detail-page .tool-content input[type="submit"]{
      padding:10px 16px;
      color:#fff;
      background:var(--theme);
      border:0;
      border-radius:9px;
      font-weight:800;
    }
    .tool-detail-page .sidebar{
      display:grid;
      gap:20px;
    }
    .tool-detail-page .side-card{padding:22px}
    .tool-detail-page .side-card h2{
      margin:0 0 14px;
      color:#172033;
      font-size:18px;
    }
    .tool-detail-page .guide-list{
      margin:0;
      padding:0;
      list-style:none;
      counter-reset:guide;
    }
    .tool-detail-page .guide-list li{
      position:relative;
      min-height:42px;
      padding:8px 0 12px 45px;
      color:#526177;
      border-bottom:1px solid #edf0f4;
      font-size:14px;
      counter-increment:guide;
    }
    .tool-detail-page .guide-list li::before{
      content:counter(guide);
      position:absolute;
      top:7px;
      left:0;
      width:30px;
      height:30px;
      display:grid;
      place-items:center;
      color:var(--theme);
      background:var(--theme-soft);
      border-radius:9px;
      font-weight:900;
    }
    .tool-detail-page .risk-note{
      color:#5b4a24;
      background:#fffbeb;
      border-color:#fde68a;
      box-shadow:none;
    }
    .tool-detail-page .risk-note p{margin:0;font-size:14px}
    .tool-detail-page .related-section{margin-top:42px}
    .tool-detail-page .section-head{
      margin-bottom:18px;
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:20px;
    }
    .tool-detail-page .section-head h2{
      margin:0;
      color:#172033;
      font-size:28px;
    }
    .tool-detail-page .section-head p{
      margin:0;
      color:var(--muted);
      font-size:14px;
    }
    .tool-detail-page .related-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:18px;
    }
    .tool-detail-page .related-tool{
      min-width:0;
      padding:20px;
      display:flex;
      align-items:flex-start;
      gap:14px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:15px;
      box-shadow:0 10px 28px rgba(15,23,42,.06);
      transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
    }
    .tool-detail-page .related-tool:hover{
      border-color:#9bb7e2;
      box-shadow:0 16px 35px rgba(11,61,145,.11);
      transform:translateY(-3px);
    }
    .tool-detail-page .related-tool img{
      flex:0 0 48px;
      width:48px;
      height:48px;
      padding:7px;
      object-fit:contain;
      background:var(--theme-soft);
      border-radius:12px;
    }
    .tool-detail-page .related-copy{min-width:0}
    .tool-detail-page .related-copy strong{
      display:block;
      margin-bottom:4px;
      color:#172033;
    }
    .tool-detail-page .related-copy span{
      display:-webkit-box;
      overflow:hidden;
      color:var(--muted);
      font-size:13px;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
    }

    .footer{
      color:#cbd5e1;
      background:#071426;
      border-top:4px solid var(--theme);
    }
    .footer .logo{color:#fff}
    .footer-grid{
      padding:58px 0 42px;
      display:grid;
      grid-template-columns:1.45fr 1fr 1fr 1.1fr;
      gap:38px;
    }
    .footer-brand p{
      max-width:390px;
      margin:18px 0 0;
      color:#9eacc0;
      font-size:14px;
    }
    .footer h3{
      margin:6px 0 16px;
      color:#fff;
      font-size:15px;
    }
    .footer-links,.footer-contact{
      display:flex;
      flex-direction:column;
      align-items:flex-start;
      gap:9px;
      color:#aebbd0;
      font-size:14px;
    }
    .footer-links a:hover,.footer-contact a:hover{color:#fff}
    .footer-bottom{
      min-height:64px;
      padding:16px 0;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      color:#8391a6;
      border-top:1px solid rgba(255,255,255,.1);
      font-size:13px;
    }

    @media (max-width:1120px){
      .main-nav{display:none}
      .hamburger{display:block}
      .header-btns{margin-left:auto}
      .tool-detail-page .detail-layout{grid-template-columns:minmax(0,1fr) 290px}
    }
    @media (max-width:900px){
      .tool-detail-page .detail-layout{grid-template-columns:1fr}
      .tool-detail-page .sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}
      .tool-detail-page .related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
      .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    }
    @media (max-width:640px){
      .container{width:min(100% - 28px,var(--container))}
      .topbar-inner{padding:7px 0;align-items:flex-start;flex-direction:column;gap:2px}
      .topbar-contact{width:100%;flex-wrap:wrap;gap:4px 14px}
      .header-inner{min-height:68px;gap:10px}
      .header .logo span{max-width:125px;overflow:hidden;text-overflow:ellipsis}
      .header-btns>.account-btn{display:none}
      .logo img{width:38px;height:38px}
      .tool-detail-page .tool-heading-inner{padding:20px 0 46px}
      .tool-detail-page .breadcrumb{margin-bottom:20px}
      .tool-detail-page .lead{font-size:15px}
      .tool-detail-page .tool-meta{align-items:center;flex-direction:column}
      .tool-detail-page .detail-layout{margin-top:-18px}
      .tool-detail-page .sidebar{grid-template-columns:1fr}
      .tool-detail-page .related-grid{grid-template-columns:1fr}
      .tool-detail-page .section-head{align-items:flex-start;flex-direction:column;gap:5px}
      .tool-detail-page .panel-bar{padding:13px 16px}
      .footer-grid{grid-template-columns:1fr;gap:28px}
      .footer-bottom{align-items:flex-start;flex-direction:column;justify-content:center}
    }