:root{
      --theme:#0B3D91;
      --template-theme:{主题色};
      --theme-dark:#082d6b;
      --theme-soft:#eaf1fc;
      --ink:#152238;
      --muted:#617087;
      --line:#dce4ef;
      --surface:#ffffff;
      --surface-soft:#f5f8fc;
      --success:#17866d;
      --shadow:0 18px 45px rgba(15,44,85,.11);
      --shadow-soft:0 9px 25px rgba(15,44,85,.08);
      --radius:18px;
      --container:1200px;
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:#fff;
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang HK","Noto Sans TC","Microsoft JhengHei",sans-serif;
      line-height:1.65;
      -webkit-font-smoothing:antialiased;
    }
    body.drawer-lock{overflow:hidden}
    img{display:block;max-width:100%}
    a{color:inherit;text-decoration:none}
    button,input{font:inherit}
    button{color:inherit}
    .container{width:min(var(--container),calc(100% - 40px));margin-inline:auto}
    .skip-link{
      position:fixed;
      top:12px;
      left:12px;
      z-index:9999;
      padding:10px 16px;
      color:#fff;
      background:var(--theme);
      border-radius:9px;
      transform:translateY(-150%);
      transition:transform .2s ease;
    }
    .skip-link:focus{transform:translateY(0)}

    .topbar{
      color:#dfe9fb;
      background:#071a39;
      font-size:13px;
    }
    .topbar-inner{
      min-height:38px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
    }
    .topbar-contact{display:flex;align-items:center;gap:20px}
    .topbar a:hover{color:#fff;text-decoration:underline}

    .header{
      position:relative;
      z-index:100;
      background:rgba(255,255,255,.98);
      border-bottom:1px solid var(--line);
      box-shadow:0 4px 18px rgba(15,44,85,.04);
    }
    .header-inner{
      min-height:78px;
      display:flex;
      align-items:center;
      gap:24px;
    }
    .logo{
      display:inline-flex;
      align-items:center;
      gap:11px;
      min-width:0;
      font-weight:800;
      color:var(--theme-dark);
      letter-spacing:-.02em;
    }
    .logo img{
      width:42px;
      height:42px;
      object-fit:contain;
      border-radius:10px;
    }
    .logo span{white-space:nowrap}
    .main-nav{margin-left:auto;align-self:stretch}
    .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{
      position:relative;
      display:flex;
      align-items:center;
      gap:6px;
      padding:0 12px;
      color:#263750;
      font-size:14px;
      font-weight:700;
      white-space:nowrap;
    }
    .nav-link:hover,.nav-item:focus-within>.nav-link{color:var(--theme)}
    .nav-link::after{
      content:"";
      position:absolute;
      right:12px;
      bottom:17px;
      left:12px;
      height:2px;
      background:var(--theme);
      transform:scaleX(0);
      transition:transform .2s ease;
    }
    .nav-link:hover::after,.nav-item:focus-within>.nav-link::after{transform:scaleX(1)}
    .nav-link.has-arrow{padding-right:24px}
    .nav-link.has-arrow::before{
      content:"";
      position:absolute;
      right:10px;
      top:50%;
      width:6px;
      height:6px;
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      transform:translateY(-70%) rotate(45deg);
    }
    .dropdown-panel,.mega-menu{
      position:absolute;
      top:100%;
      left:50%;
      z-index:120;
      width:310px;
      padding:15px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:0 0 16px 16px;
      box-shadow:var(--shadow);
      opacity:0;
      visibility:hidden;
      pointer-events:none;
      transform:translate(-50%,10px);
      transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
    }
    .dropdown-panel::before,.mega-menu::before{
      content:"";
      position:absolute;
      right:0;
      bottom:100%;
      left:0;
      height:12px;
    }
    .nav-item:hover>.dropdown-panel,
    .nav-item:focus-within>.dropdown-panel,
    .nav-item:hover>.mega-menu,
    .nav-item:focus-within>.mega-menu{
      opacity:1;
      visibility:visible;
      pointer-events:auto;
      transform:translate(-50%,0);
    }
    .dropdown-panel>a:not(.dropdown-footer){
      display:block;
      padding:10px 11px;
      color:#35455b;
      border-radius:9px;
      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:10px 12px;
      color:var(--theme);
      background:var(--theme-soft);
      border-radius:9px;
      text-align:center;
      font-size:13px;
      font-weight:800;
    }
    .mega-menu{
      left:auto;
      right:-150px;
      width:min(780px,calc(100vw - 40px));
      padding:20px;
      transform:translateY(10px);
    }
    .mega-menu-wide{right:-210px;width:min(920px,calc(100vw - 40px))}
    .nav-item:hover>.mega-menu,.nav-item:focus-within>.mega-menu{transform:translateY(0)}
    .mega-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:15px;
      margin-bottom:14px;
      padding-bottom:12px;
      border-bottom:1px solid var(--line);
    }
    .mega-head strong{color:var(--theme-dark);font-size:17px}
    .mega-head span{color:var(--muted);font-size:13px}
    .mega-categories{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-bottom:15px;
    }
    .mega-categories a{
      padding:6px 11px;
      color:var(--theme);
      background:var(--theme-soft);
      border-radius:999px;
      font-size:12px;
      font-weight:700;
    }
    .mega-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
    .mega-card{
      min-width:0;
      display:flex;
      align-items:flex-start;
      gap:10px;
      padding:11px;
      border:1px solid var(--line);
      border-radius:12px;
      transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
    }
    .mega-card:hover{
      border-color:#b8c9e5;
      box-shadow:var(--shadow-soft);
      transform:translateY(-2px);
    }
    .mega-card img{
      width:42px;
      height:42px;
      flex:0 0 42px;
      object-fit:cover;
      background:var(--surface-soft);
      border-radius:9px;
    }
    .mega-card-text{min-width:0}
    .mega-card-text b{
      display:block;
      overflow:hidden;
      color:#20334f;
      font-size:13px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .mega-card-text small{
      display:block;
      overflow:hidden;
      color:var(--muted);
      font-size:11px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .mega-card-text p{
      display:-webkit-box;
      overflow:hidden;
      margin:3px 0;
      color:var(--muted);
      font-size:11px;
      line-height:1.45;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
    }
    .header-btns{
      display:flex;
      align-items:center;
      gap:9px;
    }
    .member-entry a,.account-btn{
      display:inline-flex;
      min-height:40px;
      align-items:center;
      justify-content:center;
      padding:8px 14px;
      border-radius:10px;
      font-size:13px;
      font-weight:800;
    }
    .member-entry a{color:var(--theme);border:1px solid #bdcbe1;background:#fff}
    .account-btn{color:#fff;background:var(--theme);box-shadow:0 8px 20px rgba(11,61,145,.22)}
    .member-entry a:hover,.account-btn:hover{transform:translateY(-1px)}
    .hamburger{
      width:43px;
      height:43px;
      display:none;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      gap:5px;
      padding:0;
      background:#fff;
      border:1px solid var(--line);
      border-radius:10px;
      cursor:pointer;
    }
    .hamburger span{
      width:20px;
      height:2px;
      background:var(--ink);
      transition:transform .2s ease,opacity .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:300;
      background:rgba(5,18,38,.55);
      opacity:0;
      visibility:hidden;
      transition:opacity .25s ease,visibility .25s ease;
    }
    .drawer-overlay.open{opacity:1;visibility:visible}
    .mobile-drawer{
      position:fixed;
      top:0;
      right:0;
      bottom:0;
      z-index:310;
      width:min(390px,92vw);
      overflow-y:auto;
      background:#fff;
      box-shadow:-20px 0 50px rgba(4,23,52,.2);
      transform:translateX(105%);
      transition:transform .28s ease;
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      min-height:74px;
      display:flex;
      align-items:center;
      gap:10px;
      padding:14px 18px;
      color:#fff;
      background:var(--theme-dark);
    }
    .drawer-head>a,.drawer-head>div a{
      display:inline-flex;
      align-items:center;
      min-height:38px;
      padding:7px 12px;
      color:#fff;
      border:1px solid rgba(255,255,255,.35);
      border-radius:9px;
      font-size:13px;
      font-weight:700;
    }
    .drawer-close{
      width:38px;
      height:38px;
      margin-left:auto;
      padding:0;
      color:#fff;
      background:rgba(255,255,255,.12);
      border:0;
      border-radius:9px;
      font-size:27px;
      cursor:pointer;
    }
    .drawer-menu{padding:12px 18px 30px}
    .drawer-link,.drawer-toggle{
      width:100%;
      display:flex;
      align-items:center;
      min-height:48px;
      padding:11px 8px;
      background:transparent;
      border:0;
      border-bottom:1px solid var(--line);
      text-align:left;
      font-weight:750;
      cursor:pointer;
    }
    .drawer-toggle{justify-content:space-between}
    .drawer-toggle::after{
      content:"+";
      color:var(--theme);
      font-size:21px;
    }
    .drawer-toggle.active::after{content:"−"}
    .drawer-submenu{
      display:none;
      padding:8px 0 8px 14px;
      border-bottom:1px solid var(--line);
    }
    .drawer-submenu.open{display:block}
    .drawer-submenu a{
      display:block;
      padding:9px 11px;
      color:var(--muted);
      border-left:2px solid var(--theme-soft);
      font-size:14px;
    }
    .drawer-submenu a:hover{color:var(--theme);background:var(--theme-soft)}

    .tools-page{min-height:650px;background:var(--surface-soft)}
    .tools-page .tools-hero{
      position:relative;
      overflow:hidden;
      padding:82px 0 76px;
      color:#fff;
      background:
        radial-gradient(circle at 15% 10%,rgba(100,174,255,.28),transparent 28%),
        radial-gradient(circle at 88% 85%,rgba(90,221,190,.19),transparent 28%),
        linear-gradient(140deg,#071a39 0%,#0B3D91 55%,#145ba6 100%);
    }
    .tools-page .tools-hero::before,
    .tools-page .tools-hero::after{
      content:"";
      position:absolute;
      border:1px solid rgba(255,255,255,.12);
      border-radius:50%;
    }
    .tools-page .tools-hero::before{width:360px;height:360px;top:-210px;right:7%}
    .tools-page .tools-hero::after{width:240px;height:240px;bottom:-160px;left:7%}
    .tools-page .hero-inner{
      position:relative;
      z-index:1;
      max-width:860px;
      margin:auto;
      text-align:center;
    }
    .tools-page .eyebrow{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin-bottom:17px;
      padding:7px 13px;
      color:#dbe9ff;
      background:rgba(255,255,255,.1);
      border:1px solid rgba(255,255,255,.18);
      border-radius:999px;
      font-size:13px;
      font-weight:750;
      letter-spacing:.08em;
    }
    .tools-page .hero-inner h1{
      margin:0;
      font-size:clamp(36px,6vw,64px);
      line-height:1.08;
      letter-spacing:-.045em;
    }
    .tools-page .hero-inner>p{
      max-width:720px;
      margin:20px auto 0;
      color:#dce7f8;
      font-size:clamp(16px,2vw,19px);
    }
    .tools-page .hero-points{
      display:flex;
      flex-wrap:wrap;
      justify-content:center;
      gap:10px;
      margin-top:27px;
    }
    .tools-page .hero-points span{
      padding:8px 13px;
      color:#f5f9ff;
      background:rgba(255,255,255,.1);
      border-radius:10px;
      font-size:13px;
    }
    .tools-page .tools-control{
      position:relative;
      z-index:2;
      margin-top:-30px;
    }
    .tools-page .control-panel{
      display:flex;
      align-items:center;
      gap:14px;
      padding:17px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:18px;
      box-shadow:var(--shadow);
    }
    .tools-page .tool-search{
      position:relative;
      flex:1;
      min-width:0;
    }
    .tools-page .tool-search::before{
      content:"⌕";
      position:absolute;
      top:50%;
      left:16px;
      color:var(--theme);
      font-size:25px;
      transform:translateY(-54%);
    }
    .tools-page .tool-search input{
      width:100%;
      min-height:50px;
      padding:12px 16px 12px 48px;
      color:var(--ink);
      background:var(--surface-soft);
      border:1px solid var(--line);
      border-radius:12px;
      outline:none;
    }
    .tools-page .tool-search input:focus{
      border-color:var(--theme);
      box-shadow:0 0 0 3px rgba(11,61,145,.1);
    }
    .tools-page .filter-chips{display:flex;flex-wrap:wrap;gap:8px}
    .tools-page .filter-chip{
      min-height:42px;
      padding:8px 13px;
      color:#42526a;
      background:#fff;
      border:1px solid var(--line);
      border-radius:999px;
      font-weight:700;
      cursor:pointer;
    }
    .tools-page .filter-chip.active,
    .tools-page .filter-chip:hover{
      color:#fff;
      background:var(--theme);
      border-color:var(--theme);
    }
    .tools-page .tools-section{padding:72px 0 84px}
    .tools-page .section-heading{
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:25px;
      margin-bottom:28px;
    }
    .tools-page .section-heading h2{
      margin:0;
      color:var(--theme-dark);
      font-size:clamp(28px,4vw,40px);
      line-height:1.15;
      letter-spacing:-.03em;
    }
    .tools-page .section-heading p{
      max-width:620px;
      margin:10px 0 0;
      color:var(--muted);
    }
    .tools-page .result-note{
      flex:0 0 auto;
      padding:8px 12px;
      color:var(--theme);
      background:var(--theme-soft);
      border-radius:999px;
      font-size:13px;
      font-weight:750;
    }
    .tools-page .tools-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:20px;
    }
    .tools-page .tool-card{
      position:relative;
      min-width:0;
      display:flex;
      flex-direction:column;
      padding:24px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:var(--radius);
      box-shadow:0 8px 22px rgba(15,44,85,.05);
      transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
    }
    .tools-page .tool-card:hover{
      border-color:#afc3e3;
      box-shadow:var(--shadow);
      transform:translateY(-6px);
    }
    .tools-page .tool-card::after{
      content:"";
      position:absolute;
      right:18px;
      bottom:18px;
      width:34px;
      height:34px;
      border-radius:50%;
      background:var(--theme-soft);
      transition:transform .22s ease;
    }
    .tools-page .tool-card:hover::after{transform:scale(1.12)}
    .tools-page .tool-card-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      margin-bottom:18px;
    }
    .tools-page .tool-icon{
      width:58px;
      height:58px;
      display:grid;
      place-items:center;
      padding:10px;
      background:linear-gradient(145deg,#eef4fd,#fff);
      border:1px solid #dce7f6;
      border-radius:15px;
    }
    .tools-page .tool-icon img{width:100%;height:100%;object-fit:contain}
    .tools-page .tool-badge{
      padding:5px 9px;
      color:var(--success);
      background:#e8f7f2;
      border-radius:999px;
      font-size:11px;
      font-weight:800;
    }
    .tools-page .tool-card h3{
      margin:0 0 9px;
      color:#17345e;
      font-size:20px;
      line-height:1.35;
    }
    .tools-page .tool-card p{
      display:-webkit-box;
      overflow:hidden;
      min-height:76px;
      margin:0 0 22px;
      color:var(--muted);
      line-height:1.6;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:3;
    }
    .tools-page .tool-card-link{
      position:relative;
      z-index:1;
      display:inline-flex;
      align-items:center;
      gap:7px;
      margin-top:auto;
      color:var(--theme);
      font-weight:800;
    }
    .tools-page .tool-card-link::after{
      content:"→";
      transition:transform .2s ease;
    }
    .tools-page .tool-card:hover .tool-card-link::after{transform:translateX(4px)}
    .tools-page .workflow{
      padding:0 0 84px;
    }
    .tools-page .workflow-panel{
      padding:34px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:24px;
      box-shadow:var(--shadow-soft);
    }
    .tools-page .workflow-panel>h2{
      margin:0;
      color:var(--theme-dark);
      text-align:center;
      font-size:30px;
    }
    .tools-page .workflow-panel>p{
      max-width:690px;
      margin:10px auto 30px;
      color:var(--muted);
      text-align:center;
    }
    .tools-page .workflow-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:16px;
      counter-reset:steps;
    }
    .tools-page .workflow-card{
      position:relative;
      padding:23px;
      background:var(--surface-soft);
      border-radius:15px;
      counter-increment:steps;
    }
    .tools-page .workflow-card::before{
      content:"0" counter(steps);
      display:block;
      margin-bottom:10px;
      color:var(--theme);
      font-size:13px;
      font-weight:900;
      letter-spacing:.12em;
    }
    .tools-page .workflow-card h3{margin:0 0 7px;font-size:18px}
    .tools-page .workflow-card p{margin:0;color:var(--muted);font-size:14px}
    .tools-page .notice{
      padding:0 0 90px;
    }
    .tools-page .notice-inner{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:25px;
      padding:30px 34px;
      color:#fff;
      background:linear-gradient(125deg,var(--theme-dark),var(--theme));
      border-radius:22px;
      box-shadow:var(--shadow);
    }
    .tools-page .notice h2{margin:0 0 6px;font-size:25px}
    .tools-page .notice p{max-width:740px;margin:0;color:#dce8fb}
    .tools-page .notice a{
      flex:0 0 auto;
      display:inline-flex;
      min-height:46px;
      align-items:center;
      justify-content:center;
      padding:10px 18px;
      color:var(--theme-dark);
      background:#fff;
      border-radius:11px;
      font-weight:850;
    }
    .tools-page .empty-tools{
      grid-column:1/-1;
      padding:30px;
      color:var(--muted);
      background:#fff;
      border:1px dashed #b8c5d8;
      border-radius:var(--radius);
      text-align:center;
    }

    .footer{
      color:#c9d5e7;
      background:#071a39;
      padding:62px 0 0;
    }
    .footer-grid{
      display:grid;
      grid-template-columns:1.5fr 1fr 1fr 1fr;
      gap:42px;
      padding-bottom:45px;
    }
    .footer .logo{color:#fff}
    .footer-brand p{
      max-width:420px;
      margin:18px 0;
      color:#aebdd2;
      font-size:14px;
    }
    .footer-social{color:#fff}
    .footer h2{
      margin:5px 0 16px;
      color:#fff;
      font-size:16px;
    }
    .footer-links,.footer-contact{
      display:flex;
      flex-direction:column;
      gap:9px;
    }
    .footer-links a,.footer-contact a{
      color:#b7c5d8;
      font-size:14px;
    }
    .footer-links a:hover,.footer-contact a:hover{color:#fff;text-decoration:underline}
    .footer-bottom{
      min-height:70px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      color:#8fa2bd;
      border-top:1px solid rgba(255,255,255,.1);
      font-size:13px;
    }

    @media (max-width:1100px){
      .main-nav{display:none}
      .hamburger{display:flex}
      .header-btns{margin-left:auto}
      .tools-page .tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
      .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    }

    @media (max-width:760px){
      .container{width:min(100% - 28px,var(--container))}
      .topbar-inner{min-height:42px}
      .topbar-welcome{display:none}
      .topbar-contact{width:100%;justify-content:space-between;gap:10px}
      .header-inner{min-height:68px;gap:12px}
      .header .logo span{max-width:130px;overflow:hidden;text-overflow:ellipsis}
      .logo img{width:38px;height:38px}
      .member-entry{display:none}
      .account-btn{min-height:38px;padding:7px 12px}
      .tools-page .tools-hero{padding:62px 0 66px}
      .tools-page .control-panel{align-items:stretch;flex-direction:column}
      .tools-page .filter-chips{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}
      .tools-page .filter-chip{flex:0 0 auto}
      .tools-page .tools-section{padding:58px 0 68px}
      .tools-page .section-heading{align-items:flex-start;flex-direction:column}
      .tools-page .tools-grid{grid-template-columns:1fr}
      .tools-page .tool-card p{min-height:0}
      .tools-page .workflow-panel{padding:27px 19px}
      .tools-page .workflow-grid{grid-template-columns:1fr}
      .tools-page .notice-inner{align-items:flex-start;flex-direction:column;padding:26px 22px}
      .footer{padding-top:48px}
      .footer-grid{grid-template-columns:1fr;gap:28px}
      .footer-bottom{align-items:flex-start;flex-direction:column;justify-content:center;padding:19px 0}
    }

    @media (max-width:430px){
      .topbar-contact{font-size:11px}
      .header .logo span{max-width:92px}
      .account-btn{display:none}
      .tools-page .hero-inner h1{font-size:37px}
      .tools-page .hero-points span{font-size:12px}
    }