.header-top .site-language{display:inline-flex;align-items:center;gap:0;margin-left:18px;vertical-align:middle;line-height:normal;border:1px solid #286c55;border-radius:3px;overflow:hidden}
.site-language--floating{position:fixed;z-index:10000;top:14px;right:16px;display:inline-flex;align-items:center;border:1px solid #286c55;border-radius:3px;overflow:hidden;background:#fff}
html[data-ctcgris-embedded="true"] .site-language--floating{display:none}
.site-language button{appearance:none;border:0;margin:0;padding:5px 10px;min-height:30px;background:#fff;color:#286c55;font:600 13px/20px Arial,"Microsoft YaHei",sans-serif;cursor:pointer}
.site-language button+button{border-left:1px solid #286c55}
.site-language button[aria-pressed="true"]{background:#286c55;color:#fff}
.site-language button:hover{background:#e2efe7;color:#174b38}
.site-language button:focus-visible{outline:2px solid #a86a16;outline-offset:-3px}
html[data-ctcgris-language="en"] .header-bottom{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:24px;height:auto;min-height:120px;padding:24px 20px!important}
html[data-ctcgris-language="en"] .header-bottom>div{float:none;flex:1;min-width:0;max-width:700px;margin:0}
html[data-ctcgris-language="en"] .chinese-title{font-size:24px;line-height:1.3;text-align:left;overflow-wrap:break-word}
html[data-ctcgris-language="en"] .english-title{display:none}
html[data-ctcgris-language="en"] .navList{float:none;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px 22px;width:auto!important;max-width:440px;padding:0!important}
html[data-ctcgris-language="en"] .navList li{float:none;margin:0}
html[data-ctcgris-language="en"] .navList a{line-height:1.5}
html[data-ctcgris-language="en"] .echartTab{display:flex;justify-content:center;box-sizing:border-box}
html[data-ctcgris-language="en"] .echartTab li{width:auto;max-width:100%;height:auto;padding:16px 24px;line-height:1.4;box-sizing:border-box}
html[data-ctcgris-language="en"] #home-map-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
html[data-ctcgris-language="en"] #home-map-metrics dt,html[data-ctcgris-language="en"] #home-map-metrics dd{grid-row:auto}
html[data-ctcgris-language="en"] #home-map-metrics dt{grid-column:span 2}
html[data-ctcgris-language="en"] .home-global-summary{white-space:normal}
html[data-ctcgris-language="en"] .login-title{font-size:26px;line-height:1.4;box-sizing:border-box;padding:180px 35px 0}
html[data-ctcgris-language="en"] .userLabel,html[data-ctcgris-language="en"] .passwordLabel{font-size:13px}
html[data-ctcgris-language="en"] .login-box .userId,html[data-ctcgris-language="en"] .login-box .passWord{padding-left:100px}
html[data-ctcgris-language="en"] .queryKey{white-space:normal;line-height:1.3;overflow-wrap:break-word}
html[data-ctcgris-language="en"] .site-footer__link-grid a{overflow-wrap:break-word}
/* English field labels need their own row; the legacy 100px right-hand
   labels overlap inputs as soon as a translation wraps onto a second line. */
.query-options{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px 14px;max-width:calc(100% - 110px);vertical-align:middle;line-height:1.5}
.query-options label{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;cursor:pointer}
.resourceQuery .query-options input[type="radio"],.highSearch-content .query-options input[type="radio"]{flex:0 0 16px;width:16px;height:16px;margin:0;accent-color:#286c55}
html[data-ctcgris-language="en"] .header-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,550px);align-items:center;gap:24px}
html[data-ctcgris-language="en"] .header-bottom>div{max-width:none}
html[data-ctcgris-language="en"] .navList{max-width:none;gap:10px 18px}
html[data-ctcgris-language="en"] .navList a{display:block;white-space:nowrap}
html[data-ctcgris-language="en"] .resourceManage-content{display:flex;align-items:stretch;gap:24px;width:calc(100% - 48px);max-width:1440px;box-sizing:border-box}
html[data-ctcgris-language="en"] .resourceManage-left{flex:0 0 240px;width:240px;height:auto!important;min-height:0;box-sizing:border-box}
html[data-ctcgris-language="en"] .resourceManage-right{display:block;flex:1;width:auto;min-width:0;box-sizing:border-box}
html[data-ctcgris-language="en"] .resourceManage-term-title{line-height:1.45;overflow-wrap:break-word}
html[data-ctcgris-language="en"] .resourceManage-term-wp{padding:12px 0 18px 14px}
html[data-ctcgris-language="en"] .resourceManage-term-wp>li{padding-left:14px}
html[data-ctcgris-language="en"] .resourceManage-term-wp .resourceManage-option{line-height:1.6;overflow-wrap:break-word}
html[data-ctcgris-language="en"] .resourceManage-term-wp>li .direction{left:-14px;top:1em}
html[data-ctcgris-language="en"] .tablist ul{display:flex;flex-wrap:wrap;gap:4px 12px}
html[data-ctcgris-language="en"] .tablist ul li{float:none;width:auto;max-width:100%;height:auto;margin:0}
html[data-ctcgris-language="en"] .tablist ul li a{display:block;padding:10px 14px;line-height:1.5;white-space:normal}
html[data-ctcgris-language="en"] :is(.resourceManage-content .resourceQuery,.manage-whole .resourceQuery) form:has(.queryline),
html[data-ctcgris-language="en"] .highSearch-content .search-field>ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));align-items:start;gap:18px 20px}
html[data-ctcgris-language="en"] .highSearch-content .search-field>ul>li{display:flex;flex-direction:column;gap:8px;width:auto;max-width:100%;margin:0}
html[data-ctcgris-language="en"] :is(.resourceManage-content .resourceQuery,.manage-whole .resourceQuery,.highSearch-content) .queryline{display:flex;flex-direction:column;gap:7px;width:100%!important;max-width:100%!important;min-width:0;height:auto;min-height:0;line-height:1.5;margin:0;padding:0;border:0;background:transparent;box-sizing:border-box}
html[data-ctcgris-language="en"] :is(.resourceManage-content .resourceQuery,.manage-whole .resourceQuery,.highSearch-content) .queryKey{position:static;order:-1;width:auto!important;max-width:100%;height:auto;min-height:0;margin:0;padding:0;border:0;text-align:left;color:#286c55;font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:normal;word-break:normal}
html[data-ctcgris-language="en"] :is(.resourceManage-content .resourceQuery,.manage-whole .resourceQuery,.highSearch-content) .queryline :is(input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),select){box-sizing:border-box;width:100%!important;max-width:100%;min-width:0;height:42px;min-height:42px;margin:0;padding:9px 11px;border:1px solid #c8d8ce;border-radius:5px;background:#fff;color:#2d4336;font:400 14px/1.5 Arial,"Microsoft YaHei",sans-serif}
html[data-ctcgris-language="en"] :is(.resourceManage-content .resourceQuery,.manage-whole .resourceQuery,.highSearch-content) .query-options{display:flex;max-width:100%;min-height:42px;box-sizing:border-box;padding:9px 11px;border:1px solid #c8d8ce;border-radius:5px;background:#fff;color:#40574a;font-size:14px;gap:8px 16px}
html[data-ctcgris-language="en"] :is(.resourceManage-content .resourceQuery,.manage-whole .resourceQuery,.highSearch-content) .query-options label{max-width:100%;white-space:normal;line-height:1.5}
html[data-ctcgris-language="en"] :is(.resourceManage-content .resourceQuery,.manage-whole .resourceQuery,.highSearch-content) .btnPart{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:10px 14px;grid-column:1 / -1;width:auto;height:auto;min-height:42px;margin:0;padding:0}
html[data-ctcgris-language="en"] :is(.resourceManage-content .resourceQuery,.manage-whole .resourceQuery,.highSearch-content) .btnPart .btnDiv{float:none;width:auto;min-width:110px;max-width:100%;height:auto;min-height:40px;margin:0;padding:9px 16px;box-sizing:border-box;line-height:22px;font-size:14px;white-space:normal}
html[data-ctcgris-language="en"] .resourceManage-right .resultDiv{max-width:100%;overflow-x:auto}
html[data-ctcgris-language="en"] .resourceManage-right .resultDiv table{min-width:1040px}
html[data-ctcgris-language="en"] .record-actions{min-width:210px}
html[data-ctcgris-language="en"] .record-actions :is(a,button){display:inline-block;margin:3px 8px 3px 0;white-space:nowrap;line-height:1.6}
html[data-ctcgris-language="en"] .registerInfo :is(td,th){overflow-wrap:normal;word-break:normal;hyphens:auto;line-height:1.5}
@media(max-width:1100px){
  html[data-ctcgris-language="en"] .header-bottom{grid-template-columns:minmax(0,1fr);gap:18px}
  html[data-ctcgris-language="en"] .chinese-title{text-align:center}
  html[data-ctcgris-language="en"] .navList{justify-content:center}
  html[data-ctcgris-language="en"] .resourceManage-content{gap:16px;width:calc(100% - 32px)}
  html[data-ctcgris-language="en"] .resourceManage-left{flex-basis:210px;width:210px}
}
@media(max-width:760px){
  html[data-ctcgris-language="en"] .resourceManage-content{display:block;width:calc(100% - 24px)}
  html[data-ctcgris-language="en"] .resourceManage-left{width:100%;margin-bottom:16px;min-height:0!important}
  html[data-ctcgris-language="en"] .resourceManage-right{width:100%;padding:18px 14px}
  html[data-ctcgris-language="en"] .resourceManage-term-wp{display:flex;flex-wrap:wrap;gap:4px 22px}
  html[data-ctcgris-language="en"] .record-page .queryDiv{padding:14px}
  html[data-ctcgris-language="en"] .tablist ul{gap:4px}
}
@media(max-width:1240px){
  html[data-ctcgris-language] .header-top-wp,html[data-ctcgris-language] .header-bottom-wp{min-width:0}
  html[data-ctcgris-language] .header-top{box-sizing:border-box;width:100%;max-width:1200px;padding:10px 16px;min-height:48px;height:auto;display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;line-height:1.5}
  html[data-ctcgris-language] .header-top>a,html[data-ctcgris-language] .header-top>span,html[data-ctcgris-language] .header-top>.site-language{float:none;margin:0}
  html[data-ctcgris-language] .header-bottom{box-sizing:border-box;width:100%;max-width:1200px}
  html[data-ctcgris-language] .banner,html[data-ctcgris-language] .home-content,html[data-ctcgris-language] .titlePart{min-width:0}
  html[data-ctcgris-language] .home-distribution{width:calc(100% - 32px)}
}
@media(max-width:700px){
  html[data-ctcgris-language] .login-content,html[data-ctcgris-language] .login-wp{min-width:0;width:100%;height:auto}
  html[data-ctcgris-language] .login-wp{display:flex;flex-direction:column;align-items:center}
  html[data-ctcgris-language] .login-title{width:auto;padding:30px 20px;line-height:1.4;font-size:22px}
  html[data-ctcgris-language] .login-box{width:calc(100% - 32px);max-width:380px;margin:0 0 32px}
  html[data-ctcgris-language] .forGetAndRemeber{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-left:0}
  html[data-ctcgris-language] .main>ul:has(.user-head){box-sizing:border-box;width:100%!important;padding:0 16px;display:grid!important;grid-template-columns:1fr;gap:16px}
  html[data-ctcgris-language] .main>ul:has(.user-head)>li{float:none;width:100%;min-height:0;margin:0;padding-bottom:64px}
  html[data-ctcgris-language] .main>ul:has(.user-head) .head-img{max-width:100px}
  html[data-ctcgris-language] .header-top>span:not(.logged){font-size:12px}
  html[data-ctcgris-language] .header-bottom{height:auto;padding:20px 16px!important;display:flex;flex-direction:column;align-items:stretch;gap:18px}
  html[data-ctcgris-language] .header-bottom>div{float:none;margin:0;max-width:100%;min-width:0}
  html[data-ctcgris-language] .chinese-title{font-size:22px;line-height:1.35;text-align:center}
  html[data-ctcgris-language] .english-title{font-size:12px;line-height:1.4}
  html[data-ctcgris-language] .navList{float:none;display:flex;justify-content:center;flex-wrap:wrap;gap:8px 16px;width:100%!important;max-width:none;padding:0!important}
  html[data-ctcgris-language] .navList li{float:none;margin:0}
  html[data-ctcgris-language] .navList a{font-size:14px}
  html[data-ctcgris-language] .banner>img{height:280px;object-fit:cover}
  html[data-ctcgris-language] .banner .big-title{top:16%;font-size:28px;width:100%;text-align:center}
  html[data-ctcgris-language] .home-search{top:43%;height:auto;flex-wrap:wrap;border-radius:8px}
  html[data-ctcgris-language] .home-search select{width:100%;height:44px;font-size:16px;border:0;border-bottom:1px solid #dce7df}
  html[data-ctcgris-language] .home-search input{width:100%;height:48px;flex:auto;font-size:16px;padding:0 12px}
  html[data-ctcgris-language] .home-search button{width:100%;height:44px;font-size:16px}
  html[data-ctcgris-language] .home-content .titlePart{width:auto;height:auto;padding:30px 16px 20px;box-sizing:border-box}
  html[data-ctcgris-language] .home-content .titlePart .title{font-size:25px;margin:0 0 10px}
  html[data-ctcgris-language] .home-content .titlePart .tip{font-size:14px;line-height:1.5}
  html[data-ctcgris-language] .echartTab{width:auto;padding:0 16px}
  html[data-ctcgris-language] .home-map{height:350px}
}
