:root{
      --theme:#0B3D91;
      --aqua:#0891B2;
      --ink:#172033;
      --muted:#64748b;
      --line:#dbe5ee;
      --paper:#f5fbfc;
      --white:#ffffff;
      --shadow:0 18px 45px rgba(15,45,75,.11);
      --radius:18px;
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:var(--paper);
      font-family:Arial,"Noto Sans Thai",Tahoma,sans-serif;
      line-height:1.65;
    }
    body.drawer-lock{overflow:hidden}
    a{color:inherit;text-decoration:none}
    img{max-width:100%;height:auto}
    button{font:inherit}
    .container{width:min(1180px,calc(100% - 40px));margin:0 auto}

    .topbar{
      color:#dffaff;
      background:#102235;
      font-size:13px;
    }
    .topbar-inner{
      min-height:38px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
    }
    .topbar p{margin:0}
    .topbar-contact{display:flex;gap:22px}
    .topbar a:hover{color:#7dd3fc}

    .header{
      position:relative;
      z-index:20;
      background:rgba(255,255,255,.97);
      border-bottom:1px solid var(--line);
    }
    .header-inner{
      min-height:78px;
      display:flex;
      align-items:center;
      gap:28px;
    }
    .logo{
      display:inline-flex;
      align-items:center;
      gap:10px;
      color:var(--ink);
      font-weight:800;
      white-space:nowrap;
    }
    .logo img{
      width:38px;
      height:38px;
      object-fit:contain;
      border-radius:10px;
    }
    .main-nav{margin-left:auto}
    .nav-list{
      display:flex;
      align-items:center;
      gap:4px;
      margin:0;
      padding:0;
      list-style:none;
    }
    .nav-item{position:relative}
    .nav-link{
      display:block;
      padding:27px 12px;
      color:#26364d;
      font-size:14px;
      font-weight:700;
      white-space:nowrap;
    }
    .nav-link:hover,.nav-link:focus{color:var(--aqua)}
    .has-arrow:after{
      content:"";
      display:inline-block;
      width:6px;
      height:6px;
      margin:0 0 3px 7px;
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      transform:rotate(45deg);
    }
    .dropdown-panel,.mega-menu{
      position:absolute;
      top:calc(100% - 1px);
      left:50%;
      width:280px;
      padding:20px;
      visibility:hidden;
      opacity:0;
      transform:translate(-50%,8px);
      background:#fff;
      border:1px solid var(--line);
      border-radius:0 0 16px 16px;
      box-shadow:var(--shadow);
      transition:.2s ease;
    }
    .mega-menu{width:390px}
    .mega-wide{width:min(760px,calc(100vw - 40px))}
    .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:translate(-50%,0);
    }
    .dropdown-panel:before,.mega-menu:before{
      content:"";
      position:absolute;
      left:0;
      right:0;
      top:-14px;
      height:14px;
    }
    .dropdown-title,.mega-title{
      margin:0 0 12px;
      color:var(--theme);
      font-weight:800;
    }
    .dropdown-list{display:grid;gap:9px}
    .dropdown-list a,.mega-category-list a{
      display:block;
      color:#334155;
      font-size:13px;
    }
    .dropdown-list a:hover,.mega-category-list a:hover{color:var(--aqua)}
    .dropdown-all,.mega-footer{
      display:block;
      margin-top:16px;
      padding-top:12px;
      border-top:1px solid var(--line);
      color:var(--aqua);
      font-size:13px;
      font-weight:800;
    }
    .mega-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:10px;
    }
    .mega-card{
      display:flex;
      gap:9px;
      min-width:0;
      padding:10px;
      border:1px solid #e8eff3;
      border-radius:12px;
      background:#fbfeff;
    }
    .mega-card:hover{border-color:#8bd5e2}
    .mega-card>img{
      width:34px;
      height:34px;
      flex:0 0 34px;
      object-fit:contain;
      border-radius:8px;
    }
    .mega-card-body{min-width:0}
    .mega-card strong,.mega-card small,.mega-card p{
      display:block;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .mega-card strong{font-size:12px;white-space:nowrap}
    .mega-card small,.mega-card p{
      margin:3px 0 0;
      color:var(--muted);
      font-size:11px;
      line-height:1.4;
    }
    .mega-category-list{
      display:flex;
      flex-wrap:wrap;
      gap:8px 16px;
      margin-bottom:14px;
      padding-bottom:12px;
      border-bottom:1px solid var(--line);
    }
    .header-btns{display:flex;align-items:center;gap:12px}
    .account-link,.header-btns>a:not(.account-link){
      padding:10px 15px;
      color:#fff;
      background:var(--theme);
      border-radius:10px;
      font-size:13px;
      font-weight:800;
    }
    .account-link:hover,.header-btns>a:hover{background:var(--aqua)}
    .hamburger{
      display:none;
      width:42px;
      height:40px;
      padding:9px;
      border:1px solid var(--line);
      border-radius:10px;
      background:#fff;
      cursor:pointer;
    }
    .hamburger span{
      display:block;
      width:22px;
      height:2px;
      margin:4px auto;
      background:var(--ink);
      transition:.2s;
    }
    .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:40;
      background:rgba(9,28,45,.5);
      opacity:0;
      visibility:hidden;
      transition:.25s;
    }
    .drawer-overlay.open{opacity:1;visibility:visible}
    .mobile-drawer{
      position:fixed;
      top:0;
      right:0;
      z-index:50;
      width:min(390px,92vw);
      height:100vh;
      overflow:auto;
      background:#fff;
      transform:translateX(105%);
      transition:.25s ease;
      box-shadow:-15px 0 45px rgba(0,0,0,.16);
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      display:flex;
      align-items:center;
      gap:12px;
      padding:18px 20px;
      color:#fff;
      background:var(--theme);
      font-weight:800;
    }
    .drawer-head>a{
      margin-left:auto;
      color:#d9faff;
      font-size:13px;
    }
    .drawer-close{
      width:34px;
      height:34px;
      border:0;
      color:#fff;
      background:transparent;
      font-size:28px;
      line-height:1;
      cursor:pointer;
    }
    .drawer-menu{padding:12px 20px 30px}
    .drawer-link,.drawer-toggle{
      display:block;
      width:100%;
      padding:14px 0;
      border:0;
      border-bottom:1px solid #edf2f5;
      color:var(--ink);
      background:transparent;
      text-align:left;
      font-weight:700;
      cursor:pointer;
    }
    .drawer-toggle:after{
      content:"+";
      float:right;
      color:var(--aqua);
      font-size:20px;
      font-weight:400;
    }
    .drawer-toggle.active:after{content:"−"}
    .drawer-submenu{
      display:none;
      padding:5px 0 8px 14px;
      border-bottom:1px solid #edf2f5;
    }
    .drawer-submenu.open{display:block}
    .drawer-submenu a{
      display:block;
      padding:8px 0;
      color:var(--muted);
      font-size:14px;
    }

    .broker-review-page{padding:0 0 80px}
    .broker-hero{
      padding:72px 0 58px;
      color:#e9fcff;
      background:
        radial-gradient(circle at 15% 20%,rgba(8,145,178,.34),transparent 30%),
        linear-gradient(135deg,#102235 0%,#0b3d91 55%,#087f97 100%);
    }
    .breadcrumbs{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-bottom:22px;
      color:#b8e9ef;
      font-size:13px;
    }
    .breadcrumbs a:hover{color:#fff}
    .broker-hero-grid{
      display:grid;
      grid-template-columns:minmax(0,1fr) 300px;
      gap:38px;
      align-items:center;
    }
    .broker-kicker{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin:0 0 14px;
      color:#8ce3eb;
      font-size:13px;
      font-weight:800;
      letter-spacing:.04em;
      text-transform:uppercase;
    }
    .broker-kicker:before{
      content:"";
      width:28px;
      height:2px;
      background:#67e8f9;
    }
    .broker-hero h1{
      max-width:760px;
      margin:0 0 17px;
      color:#fff;
      font-size:clamp(32px,5vw,62px);
      line-height:1.08;
    }
    .broker-intro{
      max-width:750px;
      margin:0;
      color:#d7f4f6;
      font-size:18px;
    }
    .broker-logo-card{
      padding:24px;
      text-align:center;
      border:1px solid rgba(255,255,255,.28);
      border-radius:22px;
      background:rgba(255,255,255,.1);
      backdrop-filter:blur(12px);
    }
    .broker-logo-card img{
      width:128px;
      height:128px;
      object-fit:contain;
      padding:16px;
      border-radius:20px;
      background:#fff;
    }
    .broker-logo-card p{
      margin:14px 0 0;
      color:#d7f4f6;
      font-size:13px;
    }
    .broker-content-wrap{
      display:grid;
      grid-template-columns:minmax(0,1fr) 330px;
      gap:28px;
      margin-top:-28px;
      position:relative;
      z-index:2;
    }
    .broker-main-card,.broker-sidebar-card{
      padding:28px;
      border:1px solid var(--line);
      border-radius:var(--radius);
      background:#fff;
      box-shadow:var(--shadow);
    }
    .broker-main-card h2,.broker-sidebar-card h2{
      margin:0 0 18px;
      color:var(--theme);
      font-size:24px;
      line-height:1.25;
    }
    .broker-body{
      min-width:0;
      max-width:100%;
      overflow-x:auto;
      color:#34445a;
    }
    .broker-body img,.broker-body table{max-width:100%}
    .broker-body h2,.broker-body h3{color:var(--ink)}
    .broker-body a{color:var(--aqua);text-decoration:underline}
    .broker-facts{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:10px;
      margin:0 0 26px;
    }
    .fact{
      padding:14px;
      border:1px solid #e2eef2;
      border-radius:13px;
      background:#f7fcfd;
    }
    .fact span{
      display:block;
      margin-bottom:4px;
      color:var(--muted);
      font-size:12px;
    }
    .fact strong{display:block;color:var(--ink);font-size:15px}
    .broker-actions{
      display:flex;
      flex-wrap:wrap;
      gap:12px;
      margin-top:28px;
    }
    .button-primary,.button-secondary{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:46px;
      padding:0 20px;
      border-radius:11px;
      font-size:14px;
      font-weight:800;
    }
    .button-primary{color:#fff;background:var(--theme)}
    .button-primary:hover{background:var(--aqua)}
    .button-secondary{color:var(--theme);border:1px solid #a9cbd5;background:#effbfc}
    .button-secondary:hover{border-color:var(--aqua)}
    .rating-box{
      margin-bottom:20px;
      padding:18px;
      border-radius:15px;
      background:#edfafd;
      text-align:center;
    }
    .rating-box span{display:block;color:var(--muted);font-size:13px}
    .rating-box strong{
      display:block;
      margin:3px 0;
      color:var(--theme);
      font-size:38px;
      line-height:1.1;
    }
    .rating-stars{color:#f59e0b;letter-spacing:2px}
    .sidebar-list{
      display:grid;
      gap:13px;
      margin:0;
      padding:0;
      list-style:none;
    }
    .sidebar-list li{
      display:flex;
      justify-content:space-between;
      gap:15px;
      padding-bottom:11px;
      border-bottom:1px solid #edf2f5;
      font-size:13px;
    }
    .sidebar-list span{color:var(--muted)}
    .sidebar-list strong{text-align:right}
    .trust-note{
      margin-top:20px;
      padding:15px;
      border-left:3px solid var(--aqua);
      color:#526276;
      background:#f6fbfc;
      font-size:13px;
    }
    .related-brokers{
      margin-top:34px;
    }
    .related-brokers h2{
      margin:0 0 16px;
      color:var(--ink);
      font-size:25px;
    }
    .related-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:16px;
    }
    .related-card{
      display:block;
      padding:18px;
      border:1px solid var(--line);
      border-radius:15px;
      background:#fff;
      transition:.2s;
    }
    .related-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
    .related-card img{
      width:48px;
      height:48px;
      margin-bottom:10px;
      object-fit:contain;
      border-radius:10px;
    }
    .related-card strong{display:block;font-size:15px}
    .related-card small{color:var(--muted);font-size:12px}

    .footer{
      padding:58px 0 22px;
      color:#c8d9e7;
      background:#102235;
    }
    .footer-grid{
      display:grid;
      grid-template-columns:1.5fr 1fr 1fr 1fr;
      gap:35px;
    }
    .footer .logo{color:#fff}
    .footer h3{
      margin:0 0 15px;
      color:#fff;
      font-size:15px;
    }
    .footer-brand p{
      max-width:340px;
      margin:17px 0;
      color:#a9bfd0;
      font-size:13px;
    }
    .footer-links,.footer-contact{display:grid;gap:9px}
    .footer-links a,.footer-contact a,.footer-contact span{
      color:#a9bfd0;
      font-size:13px;
    }
    .footer-links a:hover,.footer-contact a:hover{color:#7dd3fc}
    .footer-social{color:#8de3ed}
    .footer-bottom{
      display:flex;
      justify-content:space-between;
      gap:20px;
      margin-top:40px;
      padding-top:18px;
      border-top:1px solid rgba(255,255,255,.13);
      color:#8fa9bb;
      font-size:12px;
    }

    @media(max-width:1050px){
      .main-nav{display:none}
      .hamburger{display:block}
      .header-btns{margin-left:auto}
      .broker-hero-grid,.broker-content-wrap{grid-template-columns:1fr}
      .broker-logo-card{max-width:360px}
      .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    }
    @media(max-width:640px){
      .container{width:min(100% - 28px,1180px)}
      .topbar-inner{align-items:flex-start;flex-direction:column;gap:2px;padding:8px 0}
      .topbar-contact{flex-wrap:wrap;gap:5px 14px}
      .header-inner{min-height:68px}
      .logo span{max-width:150px;overflow:hidden;text-overflow:ellipsis}
      .header-btns{gap:7px}
      .header-btns>a{display:none}
      .broker-hero{padding:48px 0 45px}
      .broker-hero h1{font-size:37px}
      .broker-intro{font-size:16px}
      .broker-logo-card{max-width:none}
      .broker-content-wrap{margin-top:-18px}
      .broker-main-card,.broker-sidebar-card{padding:21px}
      .broker-facts{grid-template-columns:1fr}
      .related-grid{grid-template-columns:1fr}
      .footer-grid{grid-template-columns:1fr}
      .footer-bottom{align-items:flex-start;flex-direction:column}
    }