:root{--blue:#293478;--gold:#d6aa45;--bg:#f4f6fb;--text:#1d2540}*{box-sizing:border-box}body{margin:0;background:linear-gradient(135deg,#eef1fa,#f9fafc);font-family:Arial,"Noto Sans Thai",sans-serif;color:var(--text)}.survey-shell{max-width:980px;margin:auto;padding:30px 16px 60px}.survey-hero{background:linear-gradient(135deg,var(--blue),#4653a0);color:#fff;border-radius:24px 24px 0 0;padding:30px;display:flex;gap:20px;align-items:center;position:relative}.brand{width:72px;height:72px;border-radius:20px;background:var(--gold);display:grid;place-items:center;font-weight:800;color:#fff;font-size:20px}.survey-hero h1{margin:0 0 8px;font-size:clamp(24px,4vw,38px)}.survey-hero p{margin:0;opacity:.85}.lang{margin-left:auto;color:#fff;text-decoration:none;border:1px solid #ffffff66;padding:8px 12px;border-radius:12px}.survey-card{background:#fff;border-radius:0 0 24px 24px;padding:30px;box-shadow:0 20px 50px #2832681f}.survey-card section{padding:10px 0 24px;border-bottom:1px solid #edf0f7}.survey-card h2{font-size:19px;margin:18px 0}.choices{display:flex;flex-wrap:wrap;gap:10px}.choices label input{position:absolute;opacity:0}.choices label span{display:block;border:1px solid #dbe0ec;border-radius:999px;padding:10px 15px;cursor:pointer}.choices label input:checked+span{background:var(--blue);border-color:var(--blue);color:#fff}.rating-row{display:grid;grid-template-columns:1fr auto;gap:15px;align-items:center;padding:16px 0;border-bottom:1px dashed #e3e7f0}.rating{display:flex;flex-direction:row-reverse}.rating input{display:none}.rating label{font-size:31px;color:#d8dbe3;cursor:pointer}.rating input:checked~label,.rating label:hover,.rating label:hover~label{color:#f2b632}textarea,input[type=email]{width:100%;border:1px solid #dbe0ec;border-radius:14px;padding:13px;font:inherit}textarea{min-height:100px}.submit{width:100%;border:0;border-radius:16px;padding:16px;background:linear-gradient(135deg,var(--blue),#4653a0);color:#fff;font-size:18px;font-weight:700;margin-top:28px;cursor:pointer}.submit:disabled{opacity:.6}.hp{position:absolute!important;left:-9999px!important}.thank-you{text-align:center;padding:50px 20px}.thank-you div{font-size:70px;color:#19a566}#message{color:#b42318;text-align:center;margin-top:12px}@media(max-width:640px){.survey-shell{padding:0}.survey-hero,.survey-card{border-radius:0}.survey-hero{align-items:flex-start;padding:22px}.brand{width:52px;height:52px;border-radius:15px}.survey-card{padding:20px}.rating-row{grid-template-columns:1fr}.rating{justify-content:flex-end}.rating label{font-size:36px}}.section-hint{margin:-8px 0 14px;color:#69728a;font-size:14px}.other-field{margin-top:16px;padding:16px;border:1px solid #dbe0ec;border-radius:16px;background:#f8f9fc}.other-field[hidden]{display:none}.other-field label{display:block;font-weight:700;margin-bottom:9px}.other-field input[type=text]{width:100%;border:1px solid #dbe0ec;border-radius:14px;padding:13px;font:inherit;background:#fff}.other-field input[type=text]:focus{outline:3px solid #2934781f;border-color:var(--blue)}
.thank-you.premium{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px}.thank-you.premium h2{font-size:28px;margin:18px 0 8px}.thank-you.premium p{max-width:620px;color:#58677c;font-size:25px}.thank-you.premium strong{margin-top:12px;color:#293478}.success-orbit{width:100px;height:100px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#e8fff4,#d8f6e8);box-shadow:0 0 0 14px rgba(35,177,112,.08);animation:successPop .55s ease}.success-orbit span{font-size:58px;color:#20a869;font-weight:700}@keyframes successPop{from{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}

/* Privacy + public improvement tracking */
.privacy-section{border-top:1px solid #e8edf5;padding-top:22px}.privacy-box{background:#f7f9ff;border:1px solid #dfe6f4;border-radius:12px;padding:15px 16px;color:#42506a;line-height:1.28}.privacy-box strong{color:#263777}.privacy-box p{margin:6px 0}.privacy-box details{margin-top:8px}.privacy-box summary{cursor:pointer;font-weight:700;color:#344a91}.privacy-detail{padding-top:8px}.privacy-accept{display:flex!important;align-items:flex-start;gap:10px;margin-top:12px;padding:12px 14px;border:1px solid #dfe6f4;border-radius:10px;cursor:pointer}.privacy-accept input{margin-top:14px;flex:0 0 auto}.privacy-accept span{line-height:1.55}.improvement-report{max-width:100%;margin:24px 0 0;background:#fff;border-radius:18px;box-shadow:0 18px 45px rgba(39,52,105,.09);padding:24px}.improvement-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;border-bottom:1px solid #edf1f7;padding-bottom:18px}.improvement-kicker{font-size:11px;font-weight:800;letter-spacing:.08em;color:#3d4fa2}.improvement-head h2{margin:5px 0 3px;color:#24336f}.improvement-head p{margin:0;color:#68758c}.improvement-count{white-space:nowrap;background:#eef2ff;color:#34459a;border-radius:999px;padding:8px 12px}.improvement-item{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px 0;border-bottom:1px solid #edf1f7}.improvement-item:last-child{border-bottom:0}.improvement-item h3{margin:7px 0 4px;color:#263777}.improvement-item p{margin:0 0 5px;color:#59677e}.improvement-item small{color:#7b8799}.resolved-badge{display:inline-block;background:#eaf8ef;color:#16733b;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:800}.result-link{flex:0 0 auto;text-decoration:none;background:#35479a;color:#fff!important;border-radius:10px;padding:3px 14px;font-weight:800}.thank-report-link{color:#344a91;font-weight:800}.hp{position:absolute!important;left:-9999px!important}@media(max-width:700px){.improvement-head,.improvement-item{flex-direction:column;align-items:stretch}.result-link{text-align:center}.improvement-report{padding:18px}}

/* Improvement report scalability */
.improvement-copy{min-width:0;flex:1}.improvement-copy h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.improvement-footer{display:flex;justify-content:center;padding-top:16px}.view-all-improvements{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:#344a91;border:1px solid #dfe5f2;background:#f8faff;border-radius:12px;padding:11px 16px;font-weight:800}.view-all-improvements:hover{background:#eef2ff}.report-shell{max-width:1100px}.report-hero{background:linear-gradient(135deg,#293478,#4653a0);color:#fff;border-radius:22px;padding:28px 30px;display:flex;justify-content:space-between;gap:20px;align-items:center}.report-hero .improvement-kicker{color:#dfe5ff}.report-hero h1{font-size:clamp(26px,4vw,38px);margin:6px 0}.report-hero p{margin:0;opacity:.88;max-width:760px}.report-actions{display:flex;gap:10px;align-items:center;flex:0 0 auto}.report-back{color:#fff;text-decoration:none;border:1px solid #ffffff55;border-radius:12px;padding:9px 12px;font-weight:700;font-size: 28px;}.report-lang{margin-left:0}.report-panel{margin-top:18px;background:#fff;border-radius:18px;box-shadow:0 18px 45px rgba(39,52,105,.09);padding:24px}.report-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:16px;border-bottom:1px solid #edf1f7}.report-search{display:flex;align-items:center;gap:8px;flex:1;max-width:720px}.report-search input[type=search]{min-width:0;flex:1;border:1px solid #dbe0ec;border-radius:12px;padding:12px 14px;font:inherit}.report-search button{border:0;background:#34479a;color:#fff;border-radius:11px;padding:12px 18px;font-weight:800;cursor:pointer}.clear-report-search{color:#58677c;text-decoration:none;padding:10px}.report-empty{text-align:center;padding:60px 20px;color:#758097}.report-pagination{display:flex;align-items:center;justify-content:center;gap:7px;padding-top:22px}.report-pagination a,.report-pagination strong{min-width:38px;height:38px;padding:0 9px;display:grid;place-items:center;border:1px solid #dfe5f2;border-radius:10px;text-decoration:none;color:#35479a}.report-pagination strong{background:#35479a;color:#fff;border-color:#35479a}.report-pagination span{color:#8b94a5}.pagination-caption{text-align:center;color:#7b8799;font-size:13px;margin:10px 0 0}
@media(max-width:700px){.report-shell{padding:0 0 30px}.report-hero{border-radius:0;align-items:flex-start;flex-direction:column;padding:22px}.report-actions{width:100%;justify-content:space-between}.report-panel{margin:0;border-radius:0;padding:18px}.report-toolbar,.report-search{align-items:stretch;flex-direction:column}.report-toolbar .improvement-count{align-self:flex-start}.report-search{max-width:none;width:100%}.report-search button{width:100%}.clear-report-search{text-align:center}.report-pagination{flex-wrap:wrap}}

/* Website Improvement Tracking categories */
.improvement-badges{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.category-badge{display:inline-block;background:#eef2ff;color:#3c4d93;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:800}.report-filters{display:flex;gap:8px;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid #edf1f7}.report-filters a{display:inline-flex;gap:6px;align-items:center;text-decoration:none;color:#4d5a72;border:1px solid #dfe5f2;background:#fff;border-radius:999px;padding:8px 11px;font-size:13px;font-weight:700}.report-filters a.active{background:#eef2ff;color:#34479a;border-color:#cbd5ff}.report-filters small{opacity:.7}.report-list{margin-top:2px}


/* ===== MUGR Survey Header v2 / DB Helvethaica X ===== */
@font-face{
  font-family:'MUGR DB Helvethaica X';
  src:url('fonts/DB-Helvethaica-X-Med-v3.2.ttf') format('truetype');
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
}
html,body,button,input,select,textarea{
  font-family:'MUGR DB Helvethaica X','dtac2013_bl-webfont','dtac2013_lt-webfont',sans-serif !important;
}
.survey-hero{
  display:block;
  padding:24px 30px 26px;
  min-height:210px;
}
.survey-hero-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  position:relative;
  min-height:72px;
  padding-right:190px;
}
.survey-logo{
  display:block;
  width:min(330px,45vw);
  height:auto;
  object-fit:contain;
}
.survey-hero-copy{
  margin-top:16px;
  max-width:720px;
}
.survey-hero h1{
  margin:0 0 2px;
  line-height:.98;
  font-size:clamp(31px,4.2vw,46px);
  font-weight:700;
}
.survey-hero p{
  font-size:18px;
  line-height:1.25;
}
.language-switch{
  position:absolute;
  top:0;
  right:0;
  display:flex;
  gap:10px;
  align-items:center;
  z-index:3;
}
.lang-pill{
  min-width:80px;
  height:44px;
  padding:0 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.38);
  border-radius:999px;
  color:#fff;
  text-decoration:none;
  font-size:20px;
  line-height:1;
  font-weight:700;
  background:rgba(255,255,255,.03);
  transition:.18s ease;
}
.lang-pill img{
  width:25px;
  height:17px;
  display:block;
  object-fit:cover;
  border-radius:1px;
}
.lang-pill.active{
  background:#fff;
  color:#213b68;
  border-color:#fff;
}
.lang-pill:hover{transform:translateY(-1px);}

.report-hero{
  display:block;
  position:relative;
  padding:24px 30px 28px;
}
.report-hero .survey-hero-top{min-height:72px;}
.report-hero-copy{margin-top:18px;max-width:820px;}
.report-hero-copy h1{line-height:1.02;}
.report-hero-copy .report-back{
  display:inline-flex;
  margin-top:16px;
}

/* The supplied DB font has a taller Thai x-height than Arial/Noto. */
.survey-card h2{font-size:22px;line-height:1.15;}
.survey-card,.improvement-report,.report-panel{font-size:18px;line-height:1.35;}
.choices label span{font-size:18px;}
.section-hint,.pagination-caption{font-size:16px;}

@media(max-width:640px){
  .survey-hero{padding:18px 18px 22px;min-height:190px;}
  .survey-hero-top{min-height:54px;padding-right:128px;}
  .survey-logo{width:min(245px,60vw);}
  .language-switch{gap:6px;}
  .lang-pill{min-width:58px;height:36px;padding:0 9px;gap:5px;font-size:17px;}
  .lang-pill img{width:20px;height:13px;}
  .survey-hero-copy{margin-top:14px;max-width:100%;}
  .survey-hero h1{font-size:clamp(30px,9vw,39px);line-height:.95;}
  .survey-hero p{font-size:16px;}
  .report-hero{padding:18px;}
  .report-hero .survey-hero-top{min-height:54px;}
  .report-hero-copy{margin-top:14px;}
}


/* ===== FINAL HEADER + TYPOGRAPHY FIX v4 (2026-08-19) ===== */
@font-face{
  font-family:'MUGR DB Helvethaica X';
  src:url('fonts/DB-Helvethaica-X-Med-v3.2.ttf?v=20260819-0920') format('truetype');
  font-style:normal;
  font-weight:400;
  font-display:swap;
}
html,body,
body *:not(.rating):not(.rating *){
  font-family:'MUGR DB Helvethaica X','DB Helvethaica X','Tahoma',sans-serif !important;
}
body{font-size:20px;line-height:1.38;}

/* Header: row 1 logo, row 2 title, language top-right */
.survey-hero{
  display:block !important;
  position:relative !important;
  min-height:0 !important;
  padding:26px 32px 28px !important;
}
.survey-hero-top{
  display:block !important;
  position:relative !important;
  min-height:64px !important;
  padding:0 190px 0 0 !important;
}
.survey-logo{
  display:block !important;
  width:230px !important;
  max-width:52% !important;
  height:auto !important;
  margin:0 !important;
}
.language-switch{
  position:absolute !important;
  top:0 !important;
  right:0 !important;
  left:auto !important;
  bottom:auto !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  margin:0 !important;
}
.lang-pill{
  min-width:82px !important;
  height:44px !important;
  padding:0 14px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  border:1px solid rgba(255,255,255,.42) !important;
  border-radius:999px !important;
  color:#fff !important;
  background:transparent !important;
  text-decoration:none !important;
  font-size:19px !important;
  font-weight:700 !important;
  line-height:1 !important;
}
.lang-pill.active{background:#fff !important;color:#243b69 !important;border-color:#fff !important;}
.lang-pill img{width:26px !important;height:17px !important;object-fit:cover !important;border-radius:1px !important;}
.survey-hero-copy{
  display:block !important;
  width:100% !important;
  max-width:760px !important;
  margin:14px 0 0 !important;
  padding:0 !important;
}
.survey-hero h1{
  margin:0 0 5px !important;
  font-size:46px !important;
  line-height:1.00 !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
}
.survey-hero p{
  margin:0 !important;
  font-size:25px !important;
  line-height:1.25 !important;
  font-weight:400 !important;
}

/* Main survey typography */
.survey-card{font-size:20px !important;line-height:1.4 !important;padding:32px !important;}
.survey-card h2{
  font-size:37px !important;
  line-height:1.18 !important;
  font-weight:700 !important;
  margin:22px 0 18px !important;
}
.rating-row{padding:10px 0 !important;}
.rating-row > strong{font-size:28px !important;font-weight:700 !important;}
.rating label{font-size:36px !important;}
.choices{gap:11px !important;}
.choices label span{
  font-size:25px !important;
  font-weight:600 !important;
  line-height:1.15 !important;
  padding:11px 17px !important;
}
.section-hint{font-size:17px !important;line-height:1.35 !important;}
.other-field,.privacy-box,.privacy-accept{font-size:25px !important;}
textarea,input[type=email],input[type=text],input[type=search],select{
  font-size:20px !important;
  line-height:1.35 !important;
}
.submit{font-size:32px !important;font-weight:700 !important;}

/* Continuous improvement */
.improvement-report,.report-panel{font-size:19px !important;line-height:1.4 !important;}
.improvement-kicker{font-size:13px !important;font-weight:700 !important;}
.improvement-head h2{font-size:36px !important;font-weight:700 !important;line-height:1.12 !important;}
.improvement-head p{font-size:20px !important;}
.improvement-count{font-size:25px !important;font-weight:700 !important;}
.improvement-item h3{font-size:28px !important;line-height:1.18 !important;font-weight:700 !important;}
.improvement-item p{font-size:19px !important;line-height:1.35 !important;}
.improvement-item small{font-size:16px !important;}
.resolved-badge,.category-badge{font-size:14px !important;font-weight:700 !important;}
.result-link,.view-all-improvements{font-size:28px !important;font-weight:700 !important;}

/* Report page follows same visual system */
.report-hero{display:block !important;position:relative !important;}
.report-hero .survey-hero-top{display:block !important;}
.report-hero-copy h1{font-size:46px !important;line-height:1.05 !important;font-weight:700 !important;}
.report-hero-copy p{font-size:23px !important;}
.report-filters a{font-size:16px !important;font-weight:600 !important;}
.report-search input,.report-search button{font-size:18px !important;}

@media(max-width:700px){
  body{font-size:18px !important;}
  .survey-hero{padding:18px 18px 22px !important;}
  .survey-hero-top{min-height:50px !important;padding-right:124px !important;}
  .survey-logo{width:245px !important;max-width:62% !important;}
  .language-switch{gap:6px !important;}
  .lang-pill{min-width:58px !important;height:36px !important;padding:0 8px !important;gap:5px !important;font-size:16px !important;}
  .lang-pill img{width:20px !important;height:13px !important;}
  .survey-hero-copy{margin-top:13px !important;}
  .survey-hero h1{font-size:35px !important;line-height:.98 !important;}
  .survey-hero p{font-size:17px !important;}
  .survey-card{padding:20px !important;font-size:18px !important;}
  .survey-card h2{font-size:37px !important;}
  .rating-row > strong{font-size:28px !important;}
  .choices label span{font-size:25px !important;padding:10px 14px !important;}
  .rating label{font-size:37px !important;}
  .improvement-head h2{font-size:25px !important;}
  .improvement-item h3{font-size:28px !important;}
  .improvement-item p{font-size:18px !important;}
  .report-hero-copy h1{font-size:33px !important;}
}

/* Report archive filters v5 */
.report-search-advanced{max-width:none;flex-wrap:wrap}
.report-search-advanced input[type=search]{min-width:280px;flex:1 1 360px}
.report-search-advanced select{border:1px solid #dbe0ec;border-radius:12px;padding:12px 34px 12px 12px;background:#fff;color:#24345f;font:inherit;font-size:18px;min-width:125px}
@media(max-width:900px){.report-search-advanced input[type=search],.report-search-advanced select{width:100%;min-width:0}.report-search-advanced{display:grid;grid-template-columns:1fr 1fr}.report-search-advanced input[type=search]{grid-column:1/-1}.report-search-advanced button,.report-search-advanced .clear-report-search{grid-column:auto}}
@media(max-width:600px){.report-search-advanced{grid-template-columns:1fr}.report-search-advanced>*{grid-column:1!important}}

/* Launch Readiness V1.0A — Accessibility freeze */
.skip-link{position:fixed;left:12px;top:-80px;z-index:9999;background:#fff;color:#153b76;padding:10px 14px;border-radius:8px;box-shadow:0 4px 18px rgba(0,0,0,.2);font-weight:700}.skip-link:focus{top:12px}
:where(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #f4c542!important;outline-offset:3px!important}
.choices input:focus-visible + span{outline:3px solid #f4c542;outline-offset:3px}
.rating input:focus-visible + label{outline:3px solid #f4c542;outline-offset:3px;border-radius:5px}
#message{min-height:1.5em;margin-top:10px;font-weight:700;color:#b42318}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
