/* MH3G Stage7 navigation / list UI modernization.
   The legacy layout dimensions and typography are intentionally preserved. */
:root {
  --mh3g-navy:#222933;
  --mh3g-navy2:#303948;
  --mh3g-line:#cbd2dc;
  --mh3g-soft:#f6f8fb;
  --mh3g-soft2:#eef2f6;
  --mh3g-link:#174f91;
  --mh3g-gap:10px;
}
.gc-filter-panel{
  box-sizing:border-box;
  width:100%;
  margin:0 0 var(--mh3g-gap);
  padding:8px 9px;
  border:1px solid var(--mh3g-line);
  border-radius:7px;
  background:#fff;
  box-shadow:0 1px 3px rgba(20,28,40,.08);
  text-align:left;
}
.gc-filter-panel.gc-bottom-nav{margin-top:var(--mh3g-gap);}
.gc-filter-heading{
  margin:0 0 7px;
  padding:0 0 6px;
  border-bottom:1px solid #e3e7ed;
  color:#283448;
  font-size:13px;
  font-weight:bold;
}
.gc-filter-group{
  display:flex;
  align-items:flex-start;
  gap:7px;
  margin:6px 0;
}
.gc-filter-label{
  flex:0 0 64px;
  padding-top:4px;
  color:#5a6473;
  font-size:12px;
  font-weight:bold;
  line-height:1.4;
}
.gc-chip-row{
  display:flex;
  flex:1 1 auto;
  flex-wrap:wrap;
  gap:5px;
  min-width:0;
}
a.gc-chip{
  display:inline-block;
  box-sizing:border-box;
  padding:4px 8px;
  border:1px solid #c8d0da;
  border-radius:999px;
  background:var(--mh3g-soft);
  color:#30445d !important;
  font-size:12px;
  line-height:1.35;
  text-decoration:none !important;
  white-space:nowrap;
}
a.gc-chip:hover{
  border-color:#8ea6c3;
  background:#edf4fb;
  color:var(--mh3g-link) !important;
}
a.gc-chip.is-active{
  border-color:var(--mh3g-navy);
  background:linear-gradient(180deg,var(--mh3g-navy2),var(--mh3g-navy));
  color:#fff !important;
  font-weight:bold;
}
.gc-list-note{
  margin:0 0 var(--mh3g-gap);
  padding:7px 9px;
  border-left:3px solid #6d819c;
  background:#f7f8fa;
  color:#4b5564;
  font-size:12px;
  line-height:1.6;
}
/* Light polish for the pages touched by this navigation revision. */
#main table{border-color:#cbd2dc !important;}
#main td[bgcolor="#111122"],#main th[bgcolor="#111122"],
#main td[bgcolor="#000011"],#main th[bgcolor="#000011"]{
  background:linear-gradient(180deg,var(--mh3g-navy2),var(--mh3g-navy)) !important;
}
#main td[bgcolor="#efefef"]{background:#f7f8fa !important;}
#main td[bgcolor="#e6e6e6"],#main td[bgcolor="#e6e6ee"]{background:#eef1f5 !important;}
#main a{text-underline-offset:2px;}
#main a:hover{color:var(--mh3g-link);}
#main input[type="text"],#main input[type="search"],#main select,#main button,#main input[type="submit"]{
  box-sizing:border-box;
  max-width:100%;
}
#main input[type="submit"],#main button{
  min-height:28px;
  border:1px solid #aeb8c6;
  border-radius:4px;
  background:linear-gradient(#fff,#edf0f4);
  cursor:pointer;
}
@media (max-width:640px){
  .gc-filter-panel{padding:8px 7px;border-radius:5px;}
  .gc-filter-group{display:block;margin:7px 0;}
  .gc-filter-label{display:block;padding:0 0 4px;}
  a.gc-chip{padding:5px 8px;}
}
