:root{font-family:'Noto Sans Thai','Noto Sans Myanmar','Noto Sans Lao','Sarabun',system-ui,sans-serif;color:#183046;background:#f5f8fc}*{box-sizing:border-box}body{margin:0}a{color:#095f9c;text-decoration:none}a:hover{text-decoration:underline}.shell{max-width:1150px;margin:auto;padding:22px}header{background:#fff;border-bottom:1px solid #dfe6ec}nav{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.brand{font-size:27px;font-weight:800;color:#123b5a}.navlinks,.langs{display:flex;gap:14px;flex-wrap:wrap}.langs{margin-left:auto;font-size:14px}.selected{font-weight:800;text-decoration:underline}h1{font-size:clamp(32px,4vw,50px)}h2{font-size:27px}p,li,label{line-height:1.7;font-size:19px}.hero{padding:36px 0}.hero p{max-width:800px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:18px}.card{background:#fff;border:1px solid #dce6ef;border-radius:15px;padding:24px;box-shadow:0 3px 12px #182f430a}.card h3{font-size:23px;margin:0 0 8px}.button,button{display:inline-block;background:#15699e;color:#fff;border:0;padding:15px 21px;border-radius:10px;font-size:19px;cursor:pointer}.button:hover,button:hover{background:#0e4f79;color:white;text-decoration:none}input,select,textarea{display:block;width:100%;border:1px solid #aebfcd;border-radius:9px;min-height:54px;padding:12px;font-size:20px;background:white}label{display:block;margin:14px 0 6px;font-weight:650}form{max-width:730px}.muted{color:#607385}.notice{background:#fff8e8;padding:14px;border-left:4px solid #e3a12c}.error{color:#a00020}table{border-collapse:collapse;width:100%;background:white}td,th{padding:13px;border-bottom:1px solid #ddd;text-align:left}footer{color:#647684;margin-top:40px;border-top:1px solid #dbe3ea}section{margin:30px 0}@media(max-width:680px){.shell{padding:17px}.langs{margin-left:0}p,li,label{font-size:18px}}

/* Step 02 - familiar admin navigation */
.ac-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}.ac-menu{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:12px;margin:25px 0}.ac-menu a{background:white;border:1px solid #dce6ef;border-radius:12px;padding:18px;font-size:21px;font-weight:700}.ac-menu .ac-active{background:#15699e;color:#fff}.ac-number{font-size:32px}.ac-good{background:#eaf7ef;padding:14px;border-left:4px solid #218a52}.ac-table{overflow-x:auto}.ac-table th{font-size:18px;white-space:nowrap}.ac-table td{font-size:18px}.ac-inline{display:flex;gap:7px;min-width:235px}.ac-inline select{min-width:120px;font-size:17px}.ac-inline button{padding:9px 14px;font-size:17px}.ac-search{display:flex;gap:10px;align-items:center;max-width:none;margin:18px 0}.ac-search input{max-width:500px}.ac-search button,.ac-search .button{white-space:nowrap}@media(max-width:680px){.ac-search{flex-wrap:wrap}.ac-menu{grid-template-columns:repeat(2,minmax(0,1fr))}.ac-menu a{font-size:17px;padding:12px}.ac-inline{flex-wrap:wrap;min-width:170px}}

/* Mobile-first update: preserve existing brand, layout and 5 languages. */
html{font-size:16px;-webkit-text-size-adjust:100%}body{overflow-x:hidden}img,video,iframe{max-width:100%;height:auto}button,a,input,select,textarea{touch-action:manipulation}button,.button{min-height:54px;max-width:100%;text-align:center}input,select,textarea{font-family:inherit;font-size:20px}textarea{min-height:120px}.shell{width:100%;min-width:0}.card{min-width:0;overflow-wrap:anywhere}nav.shell{gap:12px}nav .brand{overflow-wrap:anywhere}.navlinks a,.langs a{display:inline-flex;align-items:center;min-height:44px;padding:4px 7px}.ac-menu a{display:flex;align-items:center;min-height:65px;overflow-wrap:anywhere}.ac-inline{min-width:0;max-width:100%}.ac-inline select{width:auto;flex:1;min-width:0}.ac-search>*{min-width:0}.ac-table{max-width:100%}
@media(max-width:767px){
  .shell{padding:16px!important}.brand{font-size:clamp(22px,6vw,28px)}nav.shell{display:flex;flex-direction:column;align-items:stretch}nav .navlinks{display:flex;flex-wrap:wrap;gap:6px}nav .navlinks a{border-radius:9px;background:#f3f7fc;padding:10px 12px;font-size:18px}nav .langs{margin-left:0;display:flex;gap:4px;justify-content:flex-start;flex-wrap:wrap}nav .langs a{font-size:17px;padding:8px 10px}.hero{padding:18px 0}h1{font-size:clamp(29px,8vw,40px);line-height:1.25}h2{font-size:clamp(24px,6vw,30px)}p,li,label{font-size:20px}.cards{grid-template-columns:1fr;gap:12px}.card{padding:18px}.card h3{font-size:23px}form{max-width:100%}form input,form select,form textarea,form button{max-width:100%}.button,button{width:100%;font-size:20px}.ac-heading>.button{width:auto}.ac-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ac-menu a{font-size:18px;padding:12px;min-height:70px}.ac-search{display:grid;grid-template-columns:1fr 1fr;gap:9px}.ac-search input{grid-column:1/-1;max-width:none}.ac-search button,.ac-search .button{width:100%}
  /* Existing HTML tables become stacked accessible record cards (enhanced by mobile-admin.js). */
  .ac-table{overflow:visible}.ac-table table,.ac-table thead,.ac-table tbody,.ac-table tr,.ac-table th,.ac-table td{display:block;width:100%}.ac-table thead{position:absolute!important;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}.ac-table tr{background:#fff;border:1px solid #dce6ef;border-radius:14px;margin:0 0 12px;padding:11px 14px;box-shadow:0 2px 9px #182f430a}.ac-table td{display:grid;grid-template-columns:minmax(100px,40%) minmax(0,1fr);gap:10px;border:0;border-bottom:1px solid #ebeff3;padding:10px 0;font-size:18px;overflow-wrap:anywhere;align-items:start}.ac-table td:last-child{border:0}.ac-table td::before{content:attr(data-label);font-weight:700;color:#35556c;overflow-wrap:anywhere}.ac-table .ac-inline{display:flex;flex-wrap:wrap;gap:8px}.ac-table .ac-inline select,.ac-table .ac-inline button{width:100%;font-size:18px;min-height:50px}
}
@media(max-width:370px){.ac-menu{grid-template-columns:1fr}.ac-table td{grid-template-columns:1fr}.ac-table td::before{margin-bottom:1px}}

/* Agency member profile and public directory; keep existing mobile design */
.agency-form{max-width:780px}.agency-search{max-width:780px}.agency-search button{min-width:170px}@media(max-width:767px){.agency-form,.agency-search{padding:16px}.agency-search button{width:100%}}

/* Home Agency: live government registry, familiar cards, mobile first */
.home-agency-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.home-agency-country{display:flex;flex-direction:column;gap:4px;color:#183046;min-width:0}.home-agency-country strong{font-size:clamp(27px,3vw,38px);color:#15699e}.home-agency-country-name{font-weight:700;font-size:20px}.home-agency-country .agency-browse{font-weight:650;color:#095f9c;margin-top:6px}.home-agency-list h3{overflow-wrap:anywhere}.home-agency-list p{overflow-wrap:anywhere}.home-agency .button{margin-top:10px}@media(max-width:767px){.home-agency-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.home-agency-country{padding:15px}.home-agency-country-name{font-size:17px}.home-agency-country strong{font-size:29px}.home-agency-list{grid-template-columns:1fr}.home-agency .button{width:100%}}@media(max-width:360px){.home-agency-stats{grid-template-columns:1fr}}

/* Home: six anchored mobile-first sections; existing theme retained */
.home-section{scroll-margin-top:20px;padding:20px 0;border-top:1px solid #dce6ef}.home-section-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:24px}.home-section-links a{display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #dce6ef;border-radius:11px;padding:13px;font-weight:700;min-height:54px;text-align:center}.home-section-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:700px}.home-section-stats strong{font-size:32px;color:#15699e}.home-section-stats p{margin:4px 0}.home-section-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.home-country-section .cards{margin:16px 0}@media(max-width:767px){.home-section-links{grid-template-columns:repeat(2,minmax(0,1fr))}.home-section{padding:12px 0}.home-section-actions{display:grid;grid-template-columns:1fr}.home-section-stats .card{padding:14px}.home-section-stats strong{font-size:27px}}

/* 90-day section and form; mobile-first, previous theme retained */
.r90-form{max-width:780px}.r90-consent{display:flex;gap:12px;align-items:flex-start}.r90-consent input{width:24px;min-width:24px;min-height:24px;margin:9px 0}.r90-admin-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,380px),1fr))}.r90-admin-cards .card form{max-width:100%}@media(max-width:767px){.r90-form{padding:17px}.r90-admin-cards{grid-template-columns:1fr}}
