:root{
      --primary:#0B3D91;
      --primary-dark:#072c69;
      --primary-soft:#eaf1ff;
      --template-theme:{主题色};
      --accent:#d41473;
      --accent-soft:#fff0f7;
      --ink:#172033;
      --muted:#657087;
      --line:#dfe5ef;
      --surface:#ffffff;
      --background:#f5f7fb;
      --success:#147a55;
      --danger:#bd2c43;
      --shadow:0 18px 50px rgba(16,35,70,.1);
      --radius:18px;
    }

    *{
      box-sizing:border-box;
    }

    html{
      scroll-behavior:smooth;
    }

    body{
      margin:0;
      color:var(--ink);
      background:var(--background);
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
      line-height:1.7;
    }

    body.drawer-lock{
      overflow:hidden;
    }

    img{
      display:block;
      max-width:100%;
    }

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

    button,
    input{
      font:inherit;
    }

    button{
      cursor:pointer;
    }

    .container{
      width:min(1180px,calc(100% - 40px));
      margin-inline:auto;
    }

    .topbar{
      color:#dce8ff;
      background:#061d46;
      font-size:13px;
    }

    .topbar-inner{
      min-height:38px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:24px;
    }

    .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 5px 20px rgba(14,35,69,.04);
    }

    .header-inner{
      min-height:78px;
      display:flex;
      align-items:center;
      gap:22px;
    }

    .logo{
      min-width:0;
      display:inline-flex;
      align-items:center;
      gap:11px;
      color:var(--primary);
      font-weight:800;
      letter-spacing:.01em;
    }

    .logo img{
      width:42px;
      height:42px;
      flex:0 0 auto;
      object-fit:contain;
      border-radius:10px;
    }

    .logo span{
      max-width:190px;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }

    .main-nav{
      align-self: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:center;
    }

    .nav-link{
      height:100%;
      display:flex;
      align-items:center;
      padding:0 12px;
      color:#2c3548;
      font-size:14px;
      font-weight:700;
      white-space:nowrap;
      transition:color .2s ease,background .2s ease;
    }

    .nav-link:hover,
    .nav-link:focus{
      color:var(--primary);
      background:var(--primary-soft);
      outline:none;
    }

    .has-panel > .nav-link::after{
      content:"";
      width:6px;
      height:6px;
      margin:0 0 4px 8px;
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      transform:rotate(45deg);
    }

    .dropdown-panel,
    .mega-menu{
      position:absolute;
      top:100%;
      z-index:60;
      visibility:hidden;
      opacity:0;
      pointer-events:none;
      background:#fff;
      border:1px solid var(--line);
      box-shadow:var(--shadow);
      transform:translateY(8px);
      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: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;
      pointer-events:auto;
      transform:translateY(0);
    }

    .dropdown-panel{
      left:0;
      width:320px;
      padding:16px;
      border-radius:0 0 16px 16px;
    }

    .dropdown-list{
      display:grid;
      gap:4px;
    }

    .dropdown-list a{
      padding:10px 12px;
      border-radius:9px;
      color:#39445a;
      font-size:14px;
    }

    .dropdown-list a:hover{
      color:var(--primary);
      background:var(--primary-soft);
    }

    .panel-entry{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      margin-top:10px;
      padding:12px;
      color:#fff;
      background:var(--primary);
      border-radius:10px;
      font-size:14px;
      font-weight:800;
    }

    .mega-menu{
      left:50%;
      width:min(920px,calc(100vw - 40px));
      padding:22px;
      border-radius:0 0 20px 20px;
      transform:translate(-50%,8px);
    }

    .nav-item:hover > .mega-menu,
    .nav-item:focus-within > .mega-menu{
      transform:translate(-50%,0);
    }

    .nav-item:nth-last-child(-n+3) .mega-menu{
      right:-80px;
      left:auto;
      transform:translateY(8px);
    }

    .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-heading{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:24px;
      margin-bottom:16px;
      padding-bottom:13px;
      border-bottom:1px solid var(--line);
    }

    .mega-heading strong{
      color:var(--primary);
      font-size:17px;
    }

    .mega-heading a,
    .mega-heading span{
      color:var(--muted);
      font-size:13px;
    }

    .mega-heading a:hover{
      color:var(--accent);
    }

    .mega-categories{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-bottom:16px;
    }

    .mega-categories a{
      padding:6px 11px;
      color:var(--primary);
      background:var(--primary-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:11px;
      padding:12px;
      border:1px solid transparent;
      border-radius:12px;
      transition:border-color .2s ease,background .2s ease,transform .2s ease;
    }

    .mega-card:hover{
      background:#f8faff;
      border-color:#dce6f8;
      transform:translateY(-2px);
    }

    .mega-card img{
      width:48px;
      height:48px;
      flex:0 0 auto;
      object-fit:cover;
      background:#eef2f8;
      border-radius:10px;
    }

    .mega-card span{
      min-width:0;
      display:block;
    }

    .mega-card strong{
      display:block;
      overflow:hidden;
      color:#202a3d;
      font-size:14px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }

    .mega-card p{
      display:-webkit-box;
      overflow:hidden;
      margin:3px 0;
      color:var(--muted);
      font-size:12px;
      line-height:1.5;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
    }

    .mega-card small{
      display:block;
      overflow:hidden;
      color:#7a8497;
      font-size:11px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }

    .header-btns{
      display:flex;
      align-items:center;
      gap:9px;
      margin-left:auto;
      white-space:nowrap;
    }

    .header-btns > span{
      display:flex;
      align-items:center;
    }

    .header-btns > a{
      padding:10px 15px;
      color:#fff;
      background:var(--primary);
      border-radius:10px;
      font-size:13px;
      font-weight:800;
      transition:background .2s ease,transform .2s ease;
    }

    .header-btns > a:hover{
      background:var(--primary-dark);
      transform:translateY(-1px);
    }

    .hamburger{
      width:43px;
      height:43px;
      display:none;
      align-items:center;
      justify-content:center;
      flex-direction:column;
      gap:5px;
      padding:0;
      background:#fff;
      border:1px solid var(--line);
      border-radius:10px;
    }

    .hamburger span{
      width:20px;
      height:2px;
      background:var(--primary);
      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:80;
      visibility:hidden;
      opacity:0;
      background:rgba(5,16,36,.56);
      backdrop-filter:blur(3px);
      transition:opacity .25s ease,visibility .25s ease;
    }

    .drawer-overlay.open{
      visibility:visible;
      opacity:1;
    }

    .mobile-drawer{
      position:fixed;
      top:0;
      right:0;
      z-index:90;
      width:min(420px,92vw);
      height:100dvh;
      overflow-y:auto;
      background:#fff;
      box-shadow:-20px 0 60px rgba(4,18,44,.22);
      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;
      display:flex;
      align-items:center;
      gap:10px;
      padding:13px 18px;
      background:#fff;
      border-bottom:1px solid var(--line);
    }

    .drawer-head > span{
      min-width:0;
      display:flex;
      align-items:center;
    }

    .drawer-head > a{
      margin-left:auto;
      padding:8px 12px;
      color:#fff;
      background:var(--primary);
      border-radius:8px;
      font-size:13px;
      font-weight:800;
    }

    .drawer-close{
      width:38px;
      height:38px;
      color:#3b465b;
      background:#f2f5fa;
      border:0;
      border-radius:9px;
      font-size:25px;
      line-height:1;
    }

    .drawer-menu{
      padding:14px 18px 30px;
    }

    .drawer-link,
    .drawer-toggle{
      width:100%;
      min-height:48px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:11px 4px;
      color:#222d42;
      background:transparent;
      border:0;
      border-bottom:1px solid #edf0f5;
      text-align:left;
      font-size:15px;
      font-weight:750;
    }

    .drawer-toggle::after{
      content:"+";
      color:var(--primary);
      font-size:20px;
      font-weight:400;
    }

    .drawer-toggle.active::after{
      content:"−";
    }

    .drawer-submenu{
      max-height:0;
      overflow:hidden;
      padding:0 12px;
      background:#f7f9fd;
      border-radius:0 0 10px 10px;
      transition:max-height .28s ease,padding .28s ease;
    }

    .drawer-submenu.open{
      max-height:650px;
      padding:8px 12px;
    }

    .drawer-submenu a{
      display:block;
      padding:9px 5px;
      color:#59657a;
      border-bottom:1px dashed #dfe5ef;
      font-size:13px;
    }

    .drawer-submenu a:last-child{
      border-bottom:0;
    }

    .tool-detail-page{
      min-width:0;
    }

    .tool-detail-page .tool-hero{
      position:relative;
      overflow:hidden;
      padding:62px 0 54px;
      color:#fff;
      background:
        radial-gradient(circle at 15% 20%,rgba(212,20,115,.28),transparent 28%),
        radial-gradient(circle at 85% 10%,rgba(91,146,255,.25),transparent 30%),
        linear-gradient(135deg,#061c45 0%,#0B3D91 58%,#102b60 100%);
    }

    .tool-detail-page .tool-hero::after{
      content:"";
      position:absolute;
      right:-100px;
      bottom:-190px;
      width:470px;
      height:470px;
      border:1px solid rgba(255,255,255,.14);
      border-radius:50%;
      box-shadow:0 0 0 55px rgba(255,255,255,.035),0 0 0 110px rgba(255,255,255,.025);
    }

    .tool-detail-page .breadcrumbs{
      position:relative;
      z-index:1;
      display:flex;
      flex-wrap:wrap;
      align-items:center;
      gap:8px;
      margin-bottom:25px;
      color:#cbdcff;
      font-size:13px;
    }

    .tool-detail-page .breadcrumbs a:hover{
      color:#fff;
    }

    .tool-detail-page .tool-title-card{
      position:relative;
      z-index:1;
      max-width:900px;
      display:grid;
      grid-template-columns:auto minmax(0,1fr);
      align-items:center;
      gap:22px;
    }

    .tool-detail-page .tool-icon{
      width:90px;
      height:90px;
      display:grid;
      place-items:center;
      padding:16px;
      background:#fff;
      border:1px solid rgba(255,255,255,.55);
      border-radius:23px;
      box-shadow:0 18px 42px rgba(0,0,0,.18);
    }

    .tool-detail-page .tool-icon img{
      width:100%;
      height:100%;
      object-fit:contain;
    }

    .tool-detail-page .eyebrow{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin-bottom:6px;
      color:#f9b9da;
      font-size:13px;
      font-weight:800;
      letter-spacing:.08em;
    }

    .tool-detail-page .eyebrow::before{
      content:"";
      width:22px;
      height:2px;
      background:#ff65b1;
    }

    .tool-detail-page h1{
      margin:0;
      font-size:clamp(30px,5vw,52px);
      line-height:1.22;
      letter-spacing:-.035em;
    }

    .tool-detail-page .hero-summary{
      max-width:760px;
      margin:14px 0 0;
      color:#e0eaff;
      font-size:16px;
    }

    .tool-detail-page .tool-body{
      padding:46px 0 74px;
    }

    .tool-detail-page .detail-layout{
      min-width:0;
      display:grid;
      grid-template-columns:minmax(0,1fr) 300px;
      align-items:start;
      gap:28px;
    }

    .tool-detail-page .content-stack{
      min-width:0;
      display:grid;
      gap:25px;
    }

    .tool-detail-page .panel{
      min-width:0;
      padding:28px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:var(--radius);
      box-shadow:0 12px 35px rgba(15,40,80,.06);
    }

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

    .tool-detail-page .section-head h2,
    .tool-detail-page .panel > h2{
      margin:0;
      color:#17243d;
      font-size:24px;
      line-height:1.35;
    }

    .tool-detail-page .section-head p{
      margin:5px 0 0;
      color:var(--muted);
      font-size:14px;
    }

    .tool-detail-page .status-badge{
      flex:0 0 auto;
      padding:6px 11px;
      color:var(--success);
      background:#e9f8f2;
      border:1px solid #c8eadc;
      border-radius:999px;
      font-size:12px;
      font-weight:800;
    }

    .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:#39465d;
      font-size:13px;
      font-weight:800;
    }

    .tool-detail-page .input-wrap{
      position:relative;
    }

    .tool-detail-page .input-wrap input{
      width:100%;
      min-height:50px;
      padding:11px 58px 11px 14px;
      color:#1d293d;
      background:#f9fbfe;
      border:1px solid #ccd6e6;
      border-radius:11px;
      outline:none;
      transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
    }

    .tool-detail-page .input-wrap input:focus{
      background:#fff;
      border-color:var(--primary);
      box-shadow:0 0 0 4px rgba(11,61,145,.1);
    }

    .tool-detail-page .input-unit{
      position:absolute;
      top:50%;
      right:14px;
      color:#768197;
      font-size:12px;
      transform:translateY(-50%);
      pointer-events:none;
    }

    .tool-detail-page .calculator-actions{
      display:flex;
      flex-wrap:wrap;
      gap:11px;
      margin-top:22px;
    }

    .tool-detail-page .primary-action,
    .tool-detail-page .secondary-action{
      min-height:46px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:10px 19px;
      border-radius:10px;
      font-size:14px;
      font-weight:800;
    }

    .tool-detail-page .primary-action{
      color:#fff;
      background:var(--primary);
      border:1px solid var(--primary);
    }

    .tool-detail-page .primary-action:hover{
      background:var(--primary-dark);
    }

    .tool-detail-page .secondary-action{
      color:#41506a;
      background:#fff;
      border:1px solid #ccd5e3;
    }

    .tool-detail-page .secondary-action:hover{
      color:var(--primary);
      border-color:var(--primary);
    }

    .tool-detail-page .result-panel{
      margin-top:24px;
      padding:20px;
      background:linear-gradient(135deg,#f2f6ff,#fff4f9);
      border:1px solid #d9e3f4;
      border-radius:14px;
    }

    .tool-detail-page .result-title{
      margin-bottom:14px;
      color:#49576e;
      font-size:13px;
      font-weight:800;
    }

    .tool-detail-page .result-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:12px;
    }

    .tool-detail-page .result-item{
      min-width:0;
      padding:14px;
      background:rgba(255,255,255,.82);
      border:1px solid rgba(203,214,232,.8);
      border-radius:11px;
    }

    .tool-detail-page .result-item span{
      display:block;
      margin-bottom:3px;
      color:#748096;
      font-size:12px;
    }

    .tool-detail-page .result-item strong{
      display:block;
      overflow-wrap:anywhere;
      color:var(--primary);
      font-size:20px;
      line-height:1.35;
    }

    .tool-detail-page .result-item strong.negative{
      color:var(--danger);
    }

    .tool-detail-page .tool-description{
      min-width:0;
      max-width:100%;
      overflow-x:auto;
      color:#4c586d;
    }

    .tool-detail-page .tool-description p{
      margin:14px 0 0;
    }

    .tool-detail-page .feature-list{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:14px;
      margin-top:22px;
    }

    .tool-detail-page .feature{
      padding:17px;
      background:#f8faff;
      border:1px solid #e0e7f2;
      border-radius:13px;
    }

    .tool-detail-page .feature-number{
      width:32px;
      height:32px;
      display:grid;
      place-items:center;
      margin-bottom:12px;
      color:#fff;
      background:var(--accent);
      border-radius:9px;
      font-size:13px;
      font-weight:900;
    }

    .tool-detail-page .feature h3{
      margin:0 0 5px;
      color:#26344c;
      font-size:15px;
    }

    .tool-detail-page .feature p{
      margin:0;
      color:var(--muted);
      font-size:13px;
    }

    .tool-detail-page .steps{
      display:grid;
      gap:0;
      margin-top:20px;
    }

    .tool-detail-page .step{
      position:relative;
      display:grid;
      grid-template-columns:45px minmax(0,1fr);
      gap:14px;
      padding-bottom:22px;
    }

    .tool-detail-page .step:last-child{
      padding-bottom:0;
    }

    .tool-detail-page .step:not(:last-child)::before{
      content:"";
      position:absolute;
      top:40px;
      bottom:4px;
      left:19px;
      width:2px;
      background:#dce5f4;
    }

    .tool-detail-page .step-mark{
      position:relative;
      z-index:1;
      width:40px;
      height:40px;
      display:grid;
      place-items:center;
      color:var(--primary);
      background:var(--primary-soft);
      border:1px solid #cddcf6;
      border-radius:50%;
      font-size:13px;
      font-weight:900;
    }

    .tool-detail-page .step h3{
      margin:2px 0 4px;
      font-size:16px;
    }

    .tool-detail-page .step p{
      margin:0;
      color:var(--muted);
      font-size:14px;
    }

    .tool-detail-page .notice{
      padding:20px 22px;
      background:#fff9ec;
      border:1px solid #f0d99f;
      border-left:4px solid #d79013;
      border-radius:12px;
    }

    .tool-detail-page .notice strong{
      display:block;
      margin-bottom:5px;
      color:#805300;
    }

    .tool-detail-page .notice p{
      margin:0;
      color:#745f36;
      font-size:13px;
    }

    .tool-detail-page .sidebar{
      position:sticky;
      top:24px;
      display:grid;
      gap:18px;
    }

    .tool-detail-page .side-card{
      padding:22px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:16px;
      box-shadow:0 10px 28px rgba(15,40,80,.055);
    }

    .tool-detail-page .side-card h2{
      margin:0 0 14px;
      font-size:17px;
    }

    .tool-detail-page .quick-links{
      display:grid;
      gap:7px;
    }

    .tool-detail-page .quick-links a{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:15px;
      padding:10px 11px;
      color:#4c596e;
      background:#f7f9fc;
      border-radius:9px;
      font-size:13px;
      font-weight:700;
    }

    .tool-detail-page .quick-links a::after{
      content:"→";
      color:var(--accent);
    }

    .tool-detail-page .quick-links a:hover{
      color:var(--primary);
      background:var(--primary-soft);
    }

    .tool-detail-page .security-list{
      display:grid;
      gap:11px;
      margin:0;
      padding:0;
      list-style:none;
    }

    .tool-detail-page .security-list li{
      position:relative;
      padding-left:23px;
      color:#59667b;
      font-size:13px;
    }

    .tool-detail-page .security-list li::before{
      content:"✓";
      position:absolute;
      top:0;
      left:0;
      color:var(--success);
      font-weight:900;
    }

    .tool-detail-page .side-cta{
      color:#fff;
      background:linear-gradient(145deg,var(--primary),#102b60);
      border-color:transparent;
    }

    .tool-detail-page .side-cta h2{
      color:#fff;
    }

    .tool-detail-page .side-cta p{
      margin:0 0 16px;
      color:#dce7fd;
      font-size:13px;
    }

    .tool-detail-page .side-cta a{
      display:flex;
      align-items:center;
      justify-content:center;
      min-height:43px;
      padding:9px 14px;
      color:var(--primary);
      background:#fff;
      border-radius:9px;
      font-size:13px;
      font-weight:900;
    }

    .tool-detail-page .related-section{
      padding:0 0 78px;
    }

    .tool-detail-page .related-heading{
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:20px;
      margin-bottom:20px;
    }

    .tool-detail-page .related-heading h2{
      margin:0;
      font-size:27px;
    }

    .tool-detail-page .related-heading p{
      margin:4px 0 0;
      color:var(--muted);
      font-size:14px;
    }

    .tool-detail-page .related-heading > a{
      color:var(--primary);
      font-size:14px;
      font-weight:800;
    }

    .tool-detail-page .related-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:17px;
    }

    .tool-detail-page .related-card{
      min-width:0;
      display:flex;
      align-items:flex-start;
      gap:15px;
      padding:21px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:15px;
      box-shadow:0 10px 28px rgba(15,40,80,.05);
      transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
    }

    .tool-detail-page .related-card:hover{
      border-color:#bfcfed;
      box-shadow:0 16px 35px rgba(15,40,80,.1);
      transform:translateY(-3px);
    }

    .tool-detail-page .related-card img{
      width:54px;
      height:54px;
      flex:0 0 auto;
      object-fit:contain;
      padding:7px;
      background:#f1f5fb;
      border-radius:12px;
    }

    .tool-detail-page .related-card span{
      min-width:0;
    }

    .tool-detail-page .related-card strong{
      display:block;
      margin-bottom:4px;
      color:#26334a;
      font-size:15px;
    }

    .tool-detail-page .related-card p{
      display:-webkit-box;
      overflow:hidden;
      margin:0;
      color:var(--muted);
      font-size:13px;
      line-height:1.6;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:3;
    }

    .footer{
      color:#cdd8ea;
      background:#071a3a;
    }

    .footer-grid{
      display:grid;
      grid-template-columns:1.45fr 1fr 1fr 1fr;
      gap:42px;
      padding:58px 0 42px;
    }

    .footer .logo{
      color:#fff;
    }

    .footer-brand p{
      margin:18px 0 0;
      color:#aebbd0;
      font-size:13px;
      line-height:1.9;
    }

    .footer h2{
      margin:3px 0 17px;
      color:#fff;
      font-size:15px;
    }

    .footer-links,
    .footer-contact{
      display:grid;
      align-content:start;
      gap:10px;
    }

    .footer-links a,
    .footer-contact a{
      color:#b8c5d8;
      font-size:13px;
      transition:color .2s ease,transform .2s ease;
    }

    .footer-links a:hover,
    .footer-contact a:hover{
      color:#fff;
      transform:translateX(2px);
    }

    .footer-social{
      margin-top:5px;
    }

    .footer-bottom{
      min-height:66px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      color:#93a3bc;
      border-top:1px solid rgba(255,255,255,.1);
      font-size:12px;
    }

    @media (max-width:1080px){
      .main-nav{
        display:none;
      }

      .hamburger{
        display:flex;
      }

      .header-btns{
        margin-left:auto;
      }

      .tool-detail-page .detail-layout{
        grid-template-columns:minmax(0,1fr) 270px;
      }
    }

    @media (max-width:820px){
      .topbar-inner{
        padding:8px 0;
        align-items:flex-start;
      }

      .topbar-contact{
        align-items:flex-end;
        flex-direction:column;
        gap:2px;
      }

      .tool-detail-page .detail-layout{
        grid-template-columns:1fr;
      }

      .tool-detail-page .sidebar{
        position:static;
        grid-template-columns:repeat(2,minmax(0,1fr));
      }

      .tool-detail-page .side-cta{
        grid-column:1 / -1;
      }

      .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:620px){
      .container{
        width:min(100% - 28px,1180px);
      }

      .topbar-inner{
        display:block;
      }

      .topbar-contact{
        display:flex;
        align-items:flex-start;
        margin-top:3px;
      }

      .header-inner{
        min-height:68px;
        gap:10px;
      }

      .header .logo img{
        width:37px;
        height:37px;
      }

      .header .logo span{
        max-width:128px;
        font-size:14px;
      }

      .header-btns > a{
        display:none;
      }

      .tool-detail-page .tool-hero{
        padding:40px 0;
      }

      .tool-detail-page .tool-title-card{
        grid-template-columns:1fr;
        gap:16px;
      }

      .tool-detail-page .tool-icon{
        width:72px;
        height:72px;
        border-radius:18px;
      }

      .tool-detail-page .hero-summary{
        font-size:14px;
      }

      .tool-detail-page .tool-body{
        padding:28px 0 48px;
      }

      .tool-detail-page .panel{
        padding:20px;
        border-radius:14px;
      }

      .tool-detail-page .section-head{
        display:block;
      }

      .tool-detail-page .status-badge{
        display:inline-flex;
        margin-top:10px;
      }

      .tool-detail-page .calculator-grid,
      .tool-detail-page .result-grid,
      .tool-detail-page .feature-list,
      .tool-detail-page .sidebar,
      .tool-detail-page .related-grid{
        grid-template-columns:1fr;
      }

      .tool-detail-page .side-cta{
        grid-column:auto;
      }

      .tool-detail-page .related-heading{
        align-items:flex-start;
        flex-direction:column;
      }

      .tool-detail-page .related-section{
        padding-bottom:52px;
      }

      .footer-grid{
        grid-template-columns:1fr;
        gap:28px;
        padding:42px 0 32px;
      }

      .footer-bottom{
        align-items:flex-start;
        flex-direction:column;
        justify-content:center;
        padding:18px 0;
      }
    }