:root{
  --ink:#20232a;--muted:#737985;--line:#e8eaee;--soft:#f7f8fa;--white:#fff;
  --red:#b72e2e;--red2:#8f2525;--blue:#2d5c78;--navy:#1d2d3c;--gold:#b99145;
  --shadow:0 20px 48px rgba(20,30,45,.10);
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Noto Sans TC","Microsoft JhengHei","PingFang TC","Heiti TC",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;color:var(--ink);background:#fff;line-height:1.7}a{color:inherit}.ref-container{width:min(1120px,calc(100% - 48px));margin:0 auto}.site-header.ref-header{height:54px;background:rgba(255,255,255,.96);border-bottom:1px solid rgba(0,0,0,.06);position:sticky;top:0;z-index:50;backdrop-filter:blur(10px)}.ref-header-inner{width:min(1420px,calc(100% - 48px));height:54px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:28px}.ref-brand{display:flex;align-items:center;text-decoration:none;min-width:520px}.ref-brand-mark{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:4px;background:var(--red);color:#fff;font-weight:900;font-size:17px;line-height:1}.ref-brand-mark.small{width:30px;height:30px;font-size:18px}.ref-brand-name{font-weight:700;font-size:17px;letter-spacing:.01em;color:#29313a;white-space:nowrap}.ref-nav{flex:1}.nav-inner{display:flex;align-items:center;justify-content:flex-end;gap:34px}.ref-nav a{text-decoration:none;font-size:14px;font-weight:500;letter-spacing:.03em;color:#2d3238;line-height:54px;white-space:nowrap;position:relative}.ref-nav a::after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--red);transform:scaleX(0);transform-origin:center;transition:.2s}.ref-nav a:hover,.ref-nav a.active{color:var(--red)}.ref-nav a:hover::after,.ref-nav a.active::after{transform:scaleX(1)}.ref-nav .admin-link{color:#777}.menu-toggle{display:none;border:0;background:#fff;color:var(--ink);font-size:26px;padding:4px 8px}.ref-hero{background:#111}.ref-carousel{height:690px;min-height:620px;position:relative;overflow:hidden}.hero-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transform:scale(1.025);transition:opacity 1.05s ease,transform 7s ease}.hero-slide.is-active{opacity:1;transform:scale(1)}.hero-slide::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,34,45,.50) 0%,rgba(18,34,45,.22) 45%,rgba(18,34,45,.04) 100%)}.ref-hero-copy{position:absolute;z-index:3;left:calc((100% - min(1120px,calc(100% - 48px)))/2);bottom:150px;color:#fff;text-shadow:0 6px 24px rgba(0,0,0,.32)}.ref-hero-copy h1{margin:0 0 16px;font-size:clamp(40px,5vw,72px);line-height:1.2;font-weight:900;letter-spacing:-.03em}.ref-hero-copy p{margin:0;font-size:clamp(18px,1.8vw,28px);font-weight:800;letter-spacing:.08em;color:rgba(255,255,255,.92)}.ref-hero-control{position:absolute;z-index:4;left:calc((100% - min(1120px,calc(100% - 48px)))/2);bottom:82px;display:flex;align-items:center;gap:22px;color:#fff;font-size:13px;font-weight:800}.ref-hero-control .progress{width:160px;height:2px;background:rgba(255,255,255,.38);position:relative}.ref-hero-control .progress span{position:absolute;left:0;top:0;bottom:0;width:25%;background:#fff}.hero-prev,.hero-next{border:0;background:transparent;color:#fff;font-size:18px;cursor:pointer;opacity:.85}.carousel-dots{position:absolute;z-index:4;left:50%;bottom:30px;transform:translateX(-50%);display:flex;gap:8px}.carousel-dots span{width:6px;height:6px;border-radius:99px;background:rgba(255,255,255,.42)}.carousel-dots span.active{background:#fff}.ref-section{padding:118px 0}.ref-section h2{margin:0 0 42px;font-size:36px;line-height:1.2;letter-spacing:-.025em}.ref-kicker{margin:0 0 8px;color:var(--red);font-size:13px;font-weight:900;letter-spacing:.02em}.ref-card-row{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}.ref-company-card{min-height:405px;padding:28px 28px 24px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-decoration:none;background:#fff;display:flex;flex-direction:column;position:relative;transition:.22s}.ref-company-card:hover{box-shadow:var(--shadow);transform:translateY(-3px);z-index:1}.placeholder{height:195px;width:100%;margin-bottom:28px;background:#e8edf2;position:relative;overflow:hidden}.placeholder::after,.product-bg::after,.contact-art-placeholder::after{content:'IMAGE PLACEHOLDER';position:absolute;inset:auto 18px 16px auto;color:rgba(255,255,255,.65);font-size:11px;font-weight:900;letter-spacing:.08em}.ph-blue{background:linear-gradient(135deg,#d9e7f2,#9fb9ce)}.ph-silver{background:linear-gradient(135deg,#eef1f4,#c8d0d8)}.ph-green{background:linear-gradient(135deg,#e2ece9,#a5c2ba)}.ref-company-card h3{font-size:24px;margin:0 0 8px}.ref-company-card p{margin:0;color:var(--muted);font-size:14px}.round-more{position:absolute;right:26px;bottom:24px;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e6e8eb;color:#fff;font-weight:900}.services-block{padding-top:110px}.ref-product-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.ref-product-card{min-height:360px;position:relative;text-decoration:none;color:#fff;overflow:hidden;background:#222;display:flex;align-items:flex-end;padding:24px;transition:.25s}.ref-product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.product-bg{position:absolute;inset:0;background:#ddd;transition:.35s}.ref-product-card:hover .product-bg{transform:scale(1.04)}.product-bg::before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.62),rgba(0,0,0,.14) 58%,rgba(0,0,0,.05));z-index:1}.ph-deep{background:linear-gradient(145deg,#374455,#131a22)}.ph-glass{background:linear-gradient(145deg,#dbe9ed,#91aeb6)}.ph-light{background:linear-gradient(145deg,#f3f4f5,#bfc5cc)}.ph-gold{background:linear-gradient(145deg,#c8aa6d,#5a4430)}.product-copy{position:relative;z-index:2}.product-copy h3{margin:0 0 8px;font-size:21px}.product-copy p{margin:0;color:rgba(255,255,255,.82);font-size:13px}.red-more{position:absolute;z-index:3;right:18px;top:18px;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--red);color:#fff;font-weight:900}.news-block{padding-bottom:104px}.ref-news-list{border-top:1px solid var(--line)}.ref-news-row{width:100%;display:grid;grid-template-columns:120px 1fr 150px;gap:28px;align-items:center;padding:18px calc((100% - min(1120px,calc(100% - 48px)))/2);border-bottom:1px solid var(--line);text-decoration:none}.ref-news-row:hover strong{color:var(--red)}.news-type{font-size:13px;font-weight:900;color:var(--red)}.ref-news-row strong{font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ref-news-row time{font-size:14px;color:#9aa1aa;text-align:right}.contact-block{padding-top:110px}.ref-contact-banner{height:210px;background:#eef1f6;position:relative;overflow:hidden;display:flex;align-items:center;margin-top:-18px}.contact-art-placeholder{position:absolute;inset:0;background:linear-gradient(125deg,#f7f8fb 0%,#e3e9f1 38%,#c7d6e4 68%,#f3f4f7 100%)}.contact-art-placeholder::before{content:'';position:absolute;left:-5%;top:15%;width:65%;height:90%;background:linear-gradient(120deg,rgba(183,46,46,.28),rgba(183,46,46,0) 68%);border-radius:50%;filter:blur(3px)}.contact-copy{position:relative;z-index:2;padding-left:58px;max-width:640px}.contact-copy p{font-size:24px;line-height:1.55;font-weight:800;color:#38424e;margin:0 0 16px}.contact-copy a{text-decoration:none;color:var(--red);font-weight:900}.ref-contact-links{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-top:0}.ref-contact-links a{height:62px;text-decoration:none;display:flex;align-items:center;justify-content:space-between;padding:0 26px;border-right:1px solid var(--line);font-weight:800;color:#525c68}.ref-contact-links a:last-child{border-right:0}.ref-contact-links a:hover{color:var(--red);background:#fbfbfc}.ref-footer{background:#fff;border-top:1px solid var(--line);margin-top:36px}.ref-footer-inner{width:min(1120px,calc(100% - 48px));margin:auto;padding:54px 0 34px}.ref-footer-top{display:flex;justify-content:space-between;gap:26px;align-items:flex-start;margin-bottom:34px}.ref-footer-brand{display:flex;gap:10px;align-items:center;font-size:18px}.ref-footer-links{display:flex;gap:18px;flex-wrap:wrap;font-size:13px}.ref-footer-links a{text-decoration:none;color:#6a717b;font-weight:700}.ref-footer-links a:hover{color:var(--red)}.ref-footer-info{border-top:1px solid var(--line);padding-top:22px;color:#7a818b;font-size:13px}.ref-footer-info p{margin:5px 0}.ref-footer-bottom{border-top:1px solid var(--line);margin-top:22px;padding-top:18px;display:flex;justify-content:space-between;gap:18px;color:#9aa1aa;font-size:12px}.page-hero{height:410px;background-position:center;background-size:cover;display:flex;align-items:end;color:#fff;position:relative}.page-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(17,29,42,.66),rgba(17,29,42,.12))}.page-hero .container{position:relative;padding-bottom:30px;width:min(1120px,92vw);margin:auto}.page-hero h1{font-size:42px;margin:0}.layout{width:min(1120px,92vw);margin:auto;display:grid;grid-template-columns:240px 1fr;gap:28px;padding:46px 0}.side-nav{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;align-self:start;position:sticky;top:80px;box-shadow:0 12px 30px rgba(31,38,48,.06)}.side-nav a{display:block;text-decoration:none;color:#354252;padding:10px 12px;border-radius:10px}.side-nav a:hover,.side-nav a.active{background:#eef5fa;color:var(--blue);font-weight:800}.content-panel{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 34px rgba(31,38,48,.06);padding:34px;min-height:420px}.content-panel h2{color:var(--navy)}.content-panel table{width:100%;border-collapse:collapse;font-size:14px}.content-panel th,.content-panel td{border:1px solid #e2e8ef;padding:8px;text-align:left;vertical-align:top}.content-panel th{background:#f2f6fa}.list{display:grid;gap:14px}.list-item{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff}.news-meta{color:#7d8894;font-size:14px}.news-title{font-size:20px;font-weight:800;color:var(--navy);text-decoration:none}.form-row{margin-bottom:16px}.form-row label{display:block;font-weight:800;margin-bottom:6px}.form-row input,.form-row select,.form-row textarea{width:100%;padding:10px;border:1px solid #cfd7df;border-radius:10px;font:inherit}.admin-wrap{width:min(1100px,94vw);margin:32px auto}.admin-card{background:#fff;border-radius:16px;box-shadow:0 8px 24px rgba(0,0,0,.1);padding:24px}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{border-bottom:1px solid #eadfd3;padding:10px;text-align:left}.actions{display:flex;gap:8px;flex-wrap:wrap}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;text-decoration:none;color:var(--ink)}.legacy-panel{overflow-x:auto}.hint{background:#fff7e8;border-left:4px solid var(--gold);padding:10px 12px;border-radius:8px}.legacy-law-content{font-size:15px;line-height:1.8}.legacy-law-content table{width:100%!important;max-width:100%;border-collapse:collapse}.legacy-law-content td,.legacy-law-content th{border:1px solid #e6ddd2;padding:7px;vertical-align:top}.legacy-law-content img{max-width:100%;height:auto}.legacy-law-content a{color:var(--blue);font-weight:800}@media(max-width:1180px){.ref-brand{display:flex;align-items:center;text-decoration:none;min-width:520px}.ref-brand-name{font-weight:700;font-size:17px;letter-spacing:.01em;color:#29313a;white-space:nowrap}.nav-inner{gap:18px}.ref-nav a{text-decoration:none;font-size:14px;font-weight:500;letter-spacing:.03em;color:#2d3238;line-height:54px;white-space:nowrap;position:relative}.ref-product-row{grid-template-columns:repeat(2,1fr)}.ref-footer-top,.ref-footer-bottom{flex-direction:column}.ref-news-row{grid-template-columns:100px 1fr 120px}}@media(max-width:820px){.site-header.ref-header{height:auto}.ref-header-inner{min-height:58px;height:auto;flex-wrap:wrap;padding:12px 0}.menu-toggle{display:block}.ref-nav{display:none;width:100%}.ref-nav.open{display:block}.nav-inner{display:flex;flex-direction:column;align-items:stretch;gap:0}.ref-nav a{text-decoration:none;font-size:14px;font-weight:500;letter-spacing:.03em;color:#2d3238;line-height:54px;white-space:nowrap;position:relative}.ref-nav a::after{display:none}.ref-brand-name{font-weight:700;font-size:17px;letter-spacing:.01em;color:#29313a;white-space:nowrap}.ref-carousel{height:620px}.ref-hero-copy{left:24px;right:24px;bottom:128px}.ref-hero-copy h1{font-size:38px}.ref-hero-control{left:24px;bottom:68px}.ref-card-row{grid-template-columns:1fr}.ref-product-row{grid-template-columns:1fr}.ref-news-row{grid-template-columns:70px 1fr;gap:12px;padding:18px 24px}.ref-news-row time{grid-column:2;text-align:left}.ref-contact-banner{height:auto;min-height:240px}.contact-copy{padding:40px 28px}.contact-copy p{font-size:21px}.ref-contact-links{grid-template-columns:1fr}.ref-contact-links a{border-right:0;border-bottom:1px solid var(--line)}.layout{grid-template-columns:1fr}.side-nav{position:static}.content-panel{padding:22px;overflow-x:auto}.cards{grid-template-columns:1fr}}

/* V11 inner-page consistency: no square logo in header/footer */
.ref-brand-mark{display:none!important}.site-footer .ref-brand-mark{display:none!important}

.page-hero.hero-pos-1{background-position:center center}
.page-hero.hero-pos-2{background-position:68% center}
.page-hero.hero-pos-3{background-position:38% center}
.page-hero.hero-pos-4{background-position:center 42%}
.page-hero.hero-pos-5{background-position:32% center}
.page-hero.hero-pos-6{background-position:62% center}
.page-hero.hero-pos-7{background-position:46% center}
.page-hero.hero-pos-news{background-position:38% center}
@media (max-width:900px){
  .page-hero{height:340px}
  .ref-brand{min-width:0}
  .ref-brand-name{font-size:15px;white-space:normal;line-height:1.35}
}
@media (max-width:640px){
  .page-hero{height:290px}
  .page-hero h1{font-size:34px}
}


/* V12 contact page refinements */
.contact-page h2{
  margin-top:0;
}
.contact-intro{
  margin:0 0 28px;
  color:var(--muted);
  font-size:16px;
}
.contact-office{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding:26px;
  margin:0 0 28px;
}
.contact-office h3,
.contact-email-box h3{
  margin:0 0 18px;
  color:var(--navy);
  font-size:24px;
  line-height:1.25;
}
.contact-info-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-bottom:20px;
}
.contact-label{
  display:block;
  margin-bottom:6px;
  color:#728093;
  font-size:13px;
  font-weight:700;
  letter-spacing:.04em;
}
.contact-info-grid p{
  margin:0;
  color:#263241;
  font-size:16px;
  font-weight:500;
}
.contact-map{
  overflow:hidden;
  border-radius:18px;
  border:1px solid #dfe8f2;
  background:#f4f8fc;
}
.contact-map iframe{
  display:block;
  width:100%;
  height:360px;
}
.contact-email-box{
  border:1px solid #b9d8f2;
  border-radius:18px;
  background:#f7fbff;
  padding:26px;
  margin-top:4px;
}
.contact-email-box p{
  margin:0;
}
.contact-email-box a{
  color:#1f6fae;
  font-weight:700;
  text-decoration:none;
}
.contact-email-box a:hover{
  text-decoration:underline;
}
@media(max-width:820px){
  .contact-info-grid{
    grid-template-columns:1fr;
  }
  .contact-map iframe{
    height:300px;
  }
  .contact-office,
  .contact-email-box{
    padding:20px;
  }
}


/* V13 related links page */
.related-page h2{
  margin-top:0;
}
.related-intro{
  margin:0 0 26px;
  color:var(--muted);
  font-size:16px;
}
.related-link-group{
  border:1px solid #b9d8f2;
  border-radius:18px;
  background:#f7fbff;
  padding:26px;
  margin:0 0 28px;
}
.related-link-group h3{
  margin:0 0 18px;
  color:#1f4d73;
  font-size:24px;
  line-height:1.25;
}
.related-link-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.related-link-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:58px;
  padding:15px 18px;
  border:1px solid #dde8f3;
  border-radius:14px;
  background:#fff;
  color:#253241;
  text-decoration:none;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.related-link-item:hover{
  transform:translateY(-2px);
  border-color:#8fc3ee;
  box-shadow:0 12px 28px rgba(31,111,174,.10);
  color:#1f6fae;
}
.related-link-title{
  font-weight:600;
  line-height:1.45;
}
.related-link-arrow{
  flex:0 0 auto;
  width:30px;
  height:30px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#eff7ff;
  color:#1f6fae;
  font-weight:700;
}
@media(max-width:820px){
  .related-link-grid{
    grid-template-columns:1fr;
  }
  .related-link-group{
    padding:20px;
  }
}


/* V14 downloads page links */
.downloads-page h2{
  margin-top:0;
}
.downloads-intro{
  margin:0 0 26px;
  color:var(--muted);
  font-size:16px;
}
.download-link-group{
  border:1px solid #dfe8f2;
  border-radius:18px;
  background:#fff;
  padding:22px;
}
.download-link-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
.download-link-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:60px;
  padding:15px 18px;
  border:1px solid #dde8f3;
  border-radius:14px;
  background:#fff;
  color:#253241;
  text-decoration:none;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.download-link-item:hover{
  transform:translateY(-2px);
  border-color:#8fc3ee;
  box-shadow:0 12px 28px rgba(31,111,174,.10);
  color:#1f6fae;
}
.download-link-title{
  font-weight:600;
  line-height:1.45;
}
.download-link-meta{
  flex:0 0 auto;
  min-width:74px;
  text-align:center;
  border-radius:999px;
  padding:6px 10px;
  background:#eff7ff;
  color:#1f6fae;
  font-size:13px;
  font-weight:700;
}
@media(max-width:640px){
  .download-link-item{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
  .download-link-meta{
    min-width:0;
  }
  .download-link-group{
    padding:16px;
  }
}


/* V15 intro page anchor alignment */
html{
  scroll-padding-top:86px;
}
.anchor-section,
.content-panel section[id]{
  scroll-margin-top:86px;
}
.intro-page .anchor-section{
  padding-top:6px;
}
.intro-page .anchor-section + .anchor-section{
  margin-top:34px;
  padding-top:22px;
  border-top:1px solid var(--line);
}
.side-nav{
  scroll-margin-top:86px;
}
@media(max-width:820px){
  html{
    scroll-padding-top:76px;
  }
  .anchor-section,
  .content-panel section[id]{
    scroll-margin-top:76px;
  }
}


/* V16 service page groups and workflow images */
.service-page h2{
  margin-top:0;
}
.service-intro{
  margin:0 0 26px;
  color:var(--muted);
  font-size:16px;
}
.service-link-group{
  border:1px solid #b9d8f2;
  border-radius:18px;
  background:#f7fbff;
  padding:26px;
  margin:0 0 28px;
}
.service-link-group h3{
  margin:0 0 18px;
  color:#1f4d73;
  font-size:24px;
  line-height:1.25;
}
.service-link-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.service-link-item{
  display:flex;
  align-items:center;
  min-height:62px;
  padding:15px 18px;
  border:1px solid #dde8f3;
  border-radius:14px;
  background:#fff;
  color:#253241;
}
.service-link-title{
  font-weight:600;
  line-height:1.45;
}
.workflow-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}
.workflow-card{
  margin:0;
  border:1px solid #dde8f3;
  border-radius:16px;
  background:#fff;
  overflow:hidden;
}
.workflow-card a{
  display:block;
  background:#f4f8fc;
}
.workflow-card img{
  display:block;
  width:100%;
  height:auto;
}
.workflow-card figcaption{
  padding:14px 16px 16px;
  color:#253241;
  font-weight:700;
  line-height:1.45;
}
@media(max-width:820px){
  .service-link-grid,
  .workflow-grid{
    grid-template-columns:1fr;
  }
  .service-link-group{
    padding:20px;
  }
}


/* V17 laws page structure and detail pages */
.laws-page h2{
  margin-top:0;
}
.laws-intro{
  margin:0 0 26px;
  color:var(--muted);
  font-size:16px;
}
.law-link-group{
  border:1px solid #b9d8f2;
  border-radius:18px;
  background:#f7fbff;
  padding:24px;
}
.law-link-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
.law-link-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:60px;
  padding:15px 18px;
  border:1px solid #dde8f3;
  border-radius:14px;
  background:#fff;
  color:#253241;
  text-decoration:none;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.law-link-item:hover{
  transform:translateY(-2px);
  border-color:#8fc3ee;
  box-shadow:0 12px 28px rgba(31,111,174,.10);
  color:#1f6fae;
}
.law-link-title{
  font-weight:600;
  line-height:1.45;
}
.law-link-meta{
  flex:0 0 auto;
  min-width:74px;
  text-align:center;
  border-radius:999px;
  padding:6px 10px;
  background:#eff7ff;
  color:#1f6fae;
  font-size:13px;
  font-weight:700;
}
.law-detail-page h2{
  margin-top:0;
  margin-bottom:22px;
}
.legacy-law-content{
  overflow-x:auto;
  color:#263241;
}
.legacy-law-content table{
  max-width:100%;
}
.legacy-law-content a{
  color:#1f6fae;
}
.legacy-law-content img{
  max-width:100%;
  height:auto;
}
@media(max-width:640px){
  .law-link-item{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
  .law-link-meta{
    min-width:0;
  }
  .law-link-group{
    padding:16px;
  }
}


/* V18 law legacy relative link fix visual safety */
.legacy-law-content img[src^="laws/"]{
  max-width:100%;
  height:auto;
}
.legacy-law-content a[href^="laws/"]{
  color:#1f6fae;
  font-weight:600;
}

/* V19 header logo replacement */
.ref-brand-logo{
  display:block;
  height:36px;
  width:auto;
  max-width:360px;
  object-fit:contain;
}
.ref-brand{
  min-width:360px;
}
@media(max-width:900px){
  .ref-brand{min-width:0}
  .ref-brand-logo{height:32px;max-width:260px}
}
@media(max-width:560px){
  .ref-brand-logo{height:28px;max-width:210px}
}

/* V21 larger logo header */
.site-header.ref-header{
  height:96px;
}
.ref-header-inner{
  height:96px;
}
.ref-nav a{
  line-height:96px;
}
.ref-brand-logo{
  height:72px;
  max-width:720px;
}
main{
  /* Header is sticky in normal flow; no extra margin needed here. */
}
@media(max-width:1100px){
  .site-header.ref-header{height:82px}
  .ref-header-inner{height:82px}
  .ref-nav a{line-height:82px}
  .ref-brand-logo{height:58px;max-width:520px}
}
@media(max-width:900px){
  .ref-brand-logo{height:52px;max-width:420px}
}
@media(max-width:560px){
  .site-header.ref-header{height:72px}
  .ref-header-inner{height:72px}
  .ref-brand-logo{height:44px;max-width:300px}
}

/* V23 force inner-page logo size */
.site-header.ref-header{
  height:96px !important;
}
.ref-header-inner{
  height:96px !important;
  align-items:center !important;
}
.ref-nav a{
  line-height:96px !important;
}
.ref-brand,
.site-header .ref-brand{
  display:flex !important;
  align-items:center !important;
  min-width:560px !important;
  text-decoration:none !important;
}
.ref-brand img,
.ref-brand-logo,
.site-header img.ref-brand-logo{
  display:block !important;
  height:72px !important;
  width:auto !important;
  max-width:720px !important;
  max-height:72px !important;
  object-fit:contain !important;
}
@media(max-width:1200px){
  .ref-brand,
  .site-header .ref-brand{min-width:420px !important}
  .ref-brand img,
  .ref-brand-logo,
  .site-header img.ref-brand-logo{height:58px !important;max-height:58px !important;max-width:520px !important}
  .site-header.ref-header,.ref-header-inner{height:84px !important}
  .ref-nav a{line-height:84px !important}
}
@media(max-width:900px){
  .ref-brand,
  .site-header .ref-brand{min-width:0 !important}
  .ref-brand img,
  .ref-brand-logo,
  .site-header img.ref-brand-logo{height:48px !important;max-height:48px !important;max-width:360px !important}
}
@media(max-width:560px){
  .site-header.ref-header,.ref-header-inner{height:72px !important}
  .ref-brand img,
  .ref-brand-logo,
  .site-header img.ref-brand-logo{height:40px !important;max-height:40px !important;max-width:280px !important}
}


/* V24 inner header and hero tuning */
.site-header.ref-header{
  height:96px !important;
  min-height:96px !important;
  overflow:visible !important;
}
.ref-header-inner{
  height:96px !important;
  min-height:96px !important;
  align-items:center !important;
}
.ref-nav a{
  line-height:96px !important;
}
.ref-brand,
.site-header .ref-brand{
  display:flex !important;
  align-items:center !important;
  min-width:560px !important;
  text-decoration:none !important;
}
.ref-brand-logo,
.site-header img.ref-brand-logo{
  display:block !important;
  height:72px !important;
  width:auto !important;
  max-width:720px !important;
  max-height:72px !important;
  object-fit:contain !important;
}
.page-hero{
  height:520px !important;
  min-height:520px !important;
}
.page-hero.hero-pos-1{background-position:center 42% !important}
.page-hero.hero-pos-2{background-position:68% 38% !important}
.page-hero.hero-pos-3,
.page-hero.hero-pos-news{background-position:33% 30% !important}
.page-hero.hero-pos-4{background-position:center 36% !important}
.page-hero.hero-pos-5{background-position:32% center !important}
.page-hero.hero-pos-6{background-position:62% center !important}
.page-hero.hero-pos-7{background-position:46% center !important}
@media(max-width:1200px){
  .site-header.ref-header,.ref-header-inner{
    height:84px !important;
    min-height:84px !important;
  }
  .ref-nav a{line-height:84px !important}
  .ref-brand,
  .site-header .ref-brand{min-width:420px !important}
  .ref-brand-logo,
  .site-header img.ref-brand-logo{
    height:58px !important;
    max-height:58px !important;
    max-width:520px !important;
  }
  .page-hero{
    height:460px !important;
    min-height:460px !important;
  }
}
@media(max-width:900px){
  .ref-brand,
  .site-header .ref-brand{min-width:0 !important}
  .ref-brand-logo,
  .site-header img.ref-brand-logo{
    height:48px !important;
    max-height:48px !important;
    max-width:360px !important;
  }
  .page-hero{
    height:380px !important;
    min-height:380px !important;
  }
}
@media(max-width:560px){
  .site-header.ref-header,.ref-header-inner{
    height:72px !important;
    min-height:72px !important;
  }
  .ref-brand-logo,
  .site-header img.ref-brand-logo{
    height:40px !important;
    max-height:40px !important;
    max-width:280px !important;
  }
  .page-hero{
    height:320px !important;
    min-height:320px !important;
  }
}


/* V25 mobile menu repair + taller inner hero */
.page-hero{
  height:620px !important;
  min-height:620px !important;
}
.page-hero.hero-pos-3,
.page-hero.hero-pos-news{
  background-position:34% 18% !important;
}
@media(max-width:1200px){
  .page-hero{
    height:560px !important;
    min-height:560px !important;
  }
}
@media(max-width:900px){
  .page-hero{
    height:480px !important;
    min-height:480px !important;
  }
  .page-hero.hero-pos-3,
  .page-hero.hero-pos-news{
    background-position:36% 18% !important;
  }
}
@media(max-width:820px){
  .site-header.ref-header{
    height:84px !important;
    min-height:84px !important;
    overflow:visible !important;
    position:sticky !important;
    top:0 !important;
    z-index:999 !important;
    background:rgba(255,255,255,.98) !important;
  }
  .ref-header-inner{
    height:84px !important;
    min-height:84px !important;
    padding:0 18px !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:space-between !important;
    position:relative !important;
    width:100% !important;
    max-width:none !important;
  }
  .ref-brand,
  .site-header .ref-brand{
    min-width:0 !important;
    max-width:calc(100% - 64px) !important;
    flex:0 1 auto !important;
  }
  .ref-brand-logo,
  .site-header img.ref-brand-logo{
    height:56px !important;
    max-height:56px !important;
    max-width:min(430px, calc(100vw - 96px)) !important;
    width:auto !important;
    object-fit:contain !important;
  }
  .menu-toggle{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    position:absolute !important;
    right:18px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    width:42px !important;
    height:42px !important;
    border:1px solid #dfe5eb !important;
    border-radius:10px !important;
    background:#fff !important;
    color:#1d2d3c !important;
    font-size:26px !important;
    line-height:1 !important;
    padding:0 !important;
    z-index:1001 !important;
  }
  .ref-nav{
    display:none !important;
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    top:84px !important;
    width:100% !important;
    background:#fff !important;
    border-top:1px solid #e8eaee !important;
    border-bottom:1px solid #e8eaee !important;
    box-shadow:0 18px 40px rgba(20,30,45,.12) !important;
    z-index:1000 !important;
  }
  .ref-nav.open{
    display:block !important;
  }
  .nav-inner{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    gap:0 !important;
    padding:8px 18px 12px !important;
  }
  .ref-nav a{
    display:block !important;
    line-height:1.45 !important;
    padding:12px 4px !important;
    white-space:normal !important;
    font-size:15px !important;
    border-bottom:1px solid #f0f2f5 !important;
    color:#253241 !important;
  }
  .ref-nav a::after{
    display:none !important;
  }
}
@media(max-width:560px){
  .site-header.ref-header{
    height:78px !important;
    min-height:78px !important;
  }
  .ref-header-inner{
    height:78px !important;
    min-height:78px !important;
    padding:0 14px !important;
  }
  .ref-brand-logo,
  .site-header img.ref-brand-logo{
    height:50px !important;
    max-height:50px !important;
    max-width:calc(100vw - 84px) !important;
  }
  .menu-toggle{
    right:14px !important;
    width:40px !important;
    height:40px !important;
  }
  .ref-nav{
    top:78px !important;
  }
  .page-hero{
    height:430px !important;
    min-height:430px !important;
  }
  .page-hero h1{
    font-size:38px !important;
  }
  .page-hero.hero-pos-3,
  .page-hero.hero-pos-news{
    background-position:36% 16% !important;
  }
}


/* V26 responsive floating menu final fix */
html,
body{
  min-width:360px !important;
}

/* Collapse nav earlier so logo and menu never wrap into content */
@media(max-width:1280px){
  .site-header.ref-header{
    height:96px !important;
    min-height:96px !important;
    overflow:visible !important;
    position:sticky !important;
    top:0 !important;
    z-index:3000 !important;
    background:rgba(255,255,255,.98) !important;
  }
  .ref-header-inner{
    height:96px !important;
    min-height:96px !important;
    width:100% !important;
    max-width:none !important;
    padding:0 88px 0 24px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    flex-wrap:nowrap !important;
    position:relative !important;
    box-sizing:border-box !important;
  }
  .ref-brand,
  .site-header .ref-brand{
    display:flex !important;
    align-items:center !important;
    min-width:0 !important;
    max-width:calc(100vw - 128px) !important;
    flex:0 1 auto !important;
    text-decoration:none !important;
    overflow:hidden !important;
  }
  .ref-brand-logo,
  .site-header img.ref-brand-logo{
    display:block !important;
    height:72px !important;
    max-height:72px !important;
    width:auto !important;
    max-width:calc(100vw - 128px) !important;
    object-fit:contain !important;
  }

  /* Floating hamburger button: always on right side of viewport */
  .menu-toggle{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    position:fixed !important;
    right:22px !important;
    top:27px !important;
    width:46px !important;
    height:46px !important;
    margin:0 !important;
    padding:0 !important;
    border:1px solid #dfe5eb !important;
    border-radius:12px !important;
    background:#fff !important;
    color:#1d2d3c !important;
    font-size:28px !important;
    line-height:1 !important;
    z-index:4001 !important;
    box-shadow:0 10px 26px rgba(20,30,45,.12) !important;
  }

  /* Floating menu panel: always opens from right side with background and frame */
  .ref-nav{
    display:none !important;
    position:fixed !important;
    top:86px !important;
    right:22px !important;
    left:auto !important;
    width:260px !important;
    max-width:calc(100vw - 44px) !important;
    background:#fff !important;
    border:1px solid #dfe5eb !important;
    border-radius:16px !important;
    box-shadow:0 22px 54px rgba(20,30,45,.18) !important;
    z-index:4000 !important;
    overflow:hidden !important;
  }
  .ref-nav.open{
    display:block !important;
  }
  .nav-inner{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    gap:0 !important;
    padding:8px 0 !important;
    width:100% !important;
  }
  .ref-nav a{
    display:block !important;
    width:100% !important;
    line-height:1.45 !important;
    padding:13px 18px !important;
    margin:0 !important;
    border-bottom:1px solid #eef2f6 !important;
    text-align:left !important;
    white-space:nowrap !important;
    font-size:15px !important;
    font-weight:500 !important;
    color:#253241 !important;
    background:#fff !important;
    position:static !important;
  }
  .ref-nav a:last-child{
    border-bottom:0 !important;
  }
  .ref-nav a.active,
  .ref-nav a:hover{
    color:#b92f2a !important;
    background:#f8fbff !important;
  }
  .ref-nav a::after{
    display:none !important;
  }
}

/* Keep phone layout stable; do not allow the header to collapse narrower than practical width */
@media(max-width:640px){
  html,
  body{
    min-width:360px !important;
  }
  .site-header.ref-header{
    height:84px !important;
    min-height:84px !important;
  }
  .ref-header-inner{
    height:84px !important;
    min-height:84px !important;
    padding:0 72px 0 14px !important;
  }
  .ref-brand,
  .site-header .ref-brand{
    max-width:calc(100vw - 92px) !important;
  }
  .ref-brand-logo,
  .site-header img.ref-brand-logo{
    height:56px !important;
    max-height:56px !important;
    max-width:calc(100vw - 92px) !important;
  }
  .menu-toggle{
    right:14px !important;
    top:21px !important;
    width:42px !important;
    height:42px !important;
    font-size:26px !important;
    border-radius:11px !important;
  }
  .ref-nav{
    top:72px !important;
    right:14px !important;
    width:248px !important;
    max-width:calc(100vw - 28px) !important;
  }
}

/* Very narrow safety: maintain readable minimum rather than letting elements overlap */
@media(max-width:380px){
  html,
  body{
    min-width:360px !important;
  }
  .ref-brand-logo,
  .site-header img.ref-brand-logo{
    height:52px !important;
  }
}


/* V27 CRITICAL responsive header/menu override */
html, body { min-width:360px !important; }
.site-header.ref-header{
  background:rgba(255,255,255,.98) !important;
  border-bottom:1px solid rgba(0,0,0,.07) !important;
  z-index:3000 !important;
}
.ref-header-inner{
  box-sizing:border-box !important;
}
.ref-brand-logo{
  display:block !important;
  width:auto !important;
  object-fit:contain !important;
}
@media (min-width:1281px){
  .site-header.ref-header{height:96px !important;min-height:96px !important;position:sticky !important;top:0 !important;overflow:visible !important;}
  .ref-header-inner{height:96px !important;min-height:96px !important;display:flex !important;align-items:center !important;justify-content:space-between !important;flex-wrap:nowrap !important;width:min(1420px,calc(100% - 48px)) !important;margin:auto !important;padding:0 !important;}
  .ref-brand{display:flex !important;align-items:center !important;min-width:560px !important;max-width:720px !important;flex:0 0 auto !important;text-decoration:none !important;}
  .ref-brand-logo{height:72px !important;max-height:72px !important;max-width:720px !important;}
  .menu-toggle{display:none !important;}
  .ref-nav{display:block !important;position:static !important;width:auto !important;background:transparent !important;border:0 !important;box-shadow:none !important;}
  .nav-inner{display:flex !important;flex-direction:row !important;align-items:center !important;justify-content:flex-end !important;gap:26px !important;padding:0 !important;}
  .ref-nav a{display:inline-block !important;line-height:96px !important;padding:0 !important;border:0 !important;white-space:nowrap !important;background:transparent !important;text-align:left !important;}
}
@media (max-width:1280px){
  .site-header.ref-header{height:96px !important;min-height:96px !important;position:sticky !important;top:0 !important;overflow:visible !important;}
  .ref-header-inner{height:96px !important;min-height:96px !important;display:flex !important;align-items:center !important;justify-content:flex-start !important;flex-wrap:nowrap !important;width:100% !important;max-width:none !important;margin:0 !important;padding:0 92px 0 24px !important;position:relative !important;}
  .ref-brand{display:flex !important;align-items:center !important;min-width:0 !important;max-width:calc(100vw - 140px) !important;flex:0 1 auto !important;text-decoration:none !important;overflow:hidden !important;}
  .ref-brand-logo{height:72px !important;max-height:72px !important;max-width:calc(100vw - 140px) !important;}
  .menu-toggle{display:flex !important;align-items:center !important;justify-content:center !important;position:fixed !important;right:22px !important;top:25px !important;width:48px !important;height:48px !important;margin:0 !important;padding:0 !important;border:1px solid #dfe5eb !important;border-radius:12px !important;background:#fff !important;color:#1d2d3c !important;font-size:30px !important;line-height:1 !important;z-index:5001 !important;box-shadow:0 10px 26px rgba(20,30,45,.14) !important;cursor:pointer !important;}
  .ref-nav{display:none !important;position:fixed !important;top:86px !important;right:22px !important;left:auto !important;width:260px !important;max-width:calc(100vw - 44px) !important;background:#fff !important;border:1px solid #dfe5eb !important;border-radius:16px !important;box-shadow:0 22px 54px rgba(20,30,45,.18) !important;z-index:5000 !important;overflow:hidden !important;}
  .ref-nav.open{display:block !important;}
  .nav-inner{display:flex !important;flex-direction:column !important;align-items:stretch !important;justify-content:flex-start !important;gap:0 !important;padding:8px 0 !important;width:100% !important;}
  .ref-nav a{display:block !important;width:100% !important;line-height:1.45 !important;padding:13px 18px !important;margin:0 !important;border-bottom:1px solid #eef2f6 !important;text-align:left !important;white-space:nowrap !important;font-size:15px !important;font-weight:500 !important;color:#253241 !important;background:#fff !important;position:static !important;text-decoration:none !important;}
  .ref-nav a:last-child{border-bottom:0 !important;}
  .ref-nav a.active,.ref-nav a:hover{color:#b92f2a !important;background:#f8fbff !important;}
  .ref-nav a::after{display:none !important;}
}
@media (max-width:640px){
  .site-header.ref-header{height:84px !important;min-height:84px !important;}
  .ref-header-inner{height:84px !important;min-height:84px !important;padding:0 74px 0 14px !important;}
  .ref-brand{max-width:calc(100vw - 96px) !important;}
  .ref-brand-logo{height:56px !important;max-height:56px !important;max-width:calc(100vw - 96px) !important;}
  .menu-toggle{right:14px !important;top:21px !important;width:42px !important;height:42px !important;font-size:26px !important;border-radius:11px !important;}
  .ref-nav{top:72px !important;right:14px !important;width:248px !important;max-width:calc(100vw - 28px) !important;}
}
@media (max-width:380px){
  html, body{min-width:360px !important;}
}


/* V29 unify hamburger vertical position: homepage + inner pages */
@media(max-width:1280px){
  .topbar,
  .site-header.ref-header{
    height:96px !important;
    min-height:96px !important;
  }
  .topbar .inner,
  .ref-header-inner{
    height:96px !important;
    min-height:96px !important;
  }
  .menu,
  .menu-toggle{
    position:fixed !important;
    right:22px !important;
    top:28px !important;
    width:48px !important;
    height:48px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 !important;
    padding:0 !important;
    line-height:1 !important;
    z-index:7001 !important;
  }
  .nav,
  .ref-nav{
    top:90px !important;
  }
}
@media(max-width:640px){
  .topbar,
  .site-header.ref-header{
    height:92px !important;
    min-height:92px !important;
  }
  .topbar .inner,
  .ref-header-inner{
    height:92px !important;
    min-height:92px !important;
  }
  .brand-logo,
  .ref-brand-logo,
  .site-header img.ref-brand-logo{
    height:62px !important;
    max-height:62px !important;
    width:auto !important;
    object-fit:contain !important;
  }
  .menu,
  .menu-toggle{
    right:16px !important;
    top:25px !important;
    width:42px !important;
    height:42px !important;
    font-size:26px !important;
    border-radius:11px !important;
  }
  .nav,
  .ref-nav{
    top:82px !important;
    right:14px !important;
  }
  .hero{
    margin-top:92px !important;
  }
}
@media(max-width:380px){
  html,body{
    min-width:360px !important;
  }
}


/* V30 inner hamburger vertical alignment */
@media(max-width:1280px){
  /* Only inner pages: lower .menu-toggle to visually match homepage .menu */
  .site-header.ref-header .menu-toggle{
    top:34px !important;
  }
  .site-header.ref-header .ref-nav{
    top:96px !important;
  }
}
@media(max-width:640px){
  .site-header.ref-header .menu-toggle{
    top:31px !important;
  }
  .site-header.ref-header .ref-nav{
    top:88px !important;
  }
}


/* V31 hamburger exact alignment: homepage + inner pages */
@media(max-width:1280px){
  .menu,
  .menu-toggle,
  .topbar .menu,
  .site-header.ref-header .menu-toggle{
    position:fixed !important;
    top:28px !important;
    right:22px !important;
    width:48px !important;
    height:48px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
    z-index:8001 !important;
  }
  .nav,
  .ref-nav,
  .topbar .nav,
  .site-header.ref-header .ref-nav{
    top:90px !important;
    right:22px !important;
  }
}
@media(max-width:640px){
  .menu,
  .menu-toggle,
  .topbar .menu,
  .site-header.ref-header .menu-toggle{
    top:25px !important;
    right:16px !important;
    width:42px !important;
    height:42px !important;
    transform:none !important;
  }
  .nav,
  .ref-nav,
  .topbar .nav,
  .site-header.ref-header .ref-nav{
    top:82px !important;
    right:14px !important;
  }
}
