:root{font-family:'Segoe UI',Arial,sans-serif;color:#17332e;background:#edf3ef}*{box-sizing:border-box}body{margin:0;height:100vh;display:grid;grid-template-rows:auto auto 1fr}.brand{display:flex;align-items:center;gap:14px;background:#fff;padding:16px 24px;border-bottom:1px solid #d6e1da}.brand-icon{display:grid;place-items:center;background:#205c46;color:white;border-radius:12px;width:46px;height:46px;font-weight:700;letter-spacing:1px}h1{font-size:22px;margin:0}.brand p{margin:4px 0 0;font-size:13px;color:#63796e}.demo-badge{margin-left:auto;font-size:12px;background:#f7ebce;border-radius:20px;padding:8px 12px;color:#7e601f}.tabs{display:flex;gap:8px;padding:12px 24px;background:white;border-bottom:1px solid #d6e1da}.tab{font:600 14px 'Segoe UI';padding:12px 20px;border:1px solid #d6e1da;border-radius:8px;background:#f5f8f6;color:#476357;cursor:pointer}.tab.active{color:white;background:#205c46;border-color:#205c46}.tab:focus-visible{outline:3px solid #d1aa51;outline-offset:2px}main{min-height:0}main section{height:100%}[hidden]{display:none!important}iframe{display:block;border:0;width:100%;height:100%;background:#f1f5f2}#firePanel{display:flex;flex-direction:column}.fire-toolbar{padding:9px 18px;display:flex;gap:14px;align-items:center;font-size:12px;background:#fff;border-bottom:1px solid #d6e1da}.fire-toolbar select{padding:6px;border:1px solid #d6e1da;border-radius:5px}.fire-toolbar a{margin-left:auto;color:#205c46}#fireFrame{flex:1;min-height:0}@media(max-width:700px){.brand{padding:12px;flex-wrap:wrap}.demo-badge{display:none}.tabs{padding:10px}.tab{padding:10px;font-size:12px}.fire-toolbar{flex-wrap:wrap}.fire-toolbar a{margin-left:0}}

/* Title and application tabs share one header row. */
body{grid-template-rows:auto 1fr}.brand{gap:18px}.tabs{margin-left:auto;padding:0;border:0;background:transparent}.tab{white-space:nowrap}.demo-badge{display:none}@media(max-width:1050px){.brand{flex-wrap:wrap}.tabs{margin-left:auto}.tab{font-size:12px;padding:10px 12px}}@media(max-width:720px){.tabs{margin-left:0;width:100%;}.tab{flex:1;white-space:normal}}

.show-parks{display:flex;align-items:center;gap:7px;margin-left:8px;font-size:13px;white-space:nowrap;cursor:pointer}.show-parks input{width:16px;height:16px;accent-color:#205c46}

:root{font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",Arial,sans-serif}button,select,input{font-family:inherit}

/* Navy satellite/drought header and footer, inspired by the supplied reference. */
body {
  height: 100vh;
  height: 100dvh;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.brand {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100px;
  padding: 14px 32px 14px clamp(110px, 10vw, 154px);
  background: #0b1c49;
  border-bottom: 1px solid #203969;
  color: #fff;
}
.brand::before, .brand::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
}
.brand::before {
  left: 0;
  width: 175px;
  background: url('assets/monitoring-banner-v1.png') left 34% / auto 250px no-repeat;
  mask-image: linear-gradient(90deg, #000 68%, transparent);
  opacity: .92;
}
.brand::after {
  right: 0;
  width: min(32vw, 460px);
  background: linear-gradient(90deg, #0b1c49, transparent 65%),
    url('assets/monitoring-banner-v1.png') right bottom / auto 260px no-repeat;
}
/* Hide the retired country badge, including in previously cached markup. */
.brand .brand-icon { display: none !important; }
.brand p { color: #b8cdec; }
.header-logo { display: block; flex: 0 0 auto; }
.header-logo img { display: block; width: 190px; height: auto; }
.header-logo:focus-visible { outline: 2px solid #f8c363; outline-offset: 5px; border-radius: 3px; }
.brand-title { margin-left: 24px; }
.brand h1 { text-shadow: 0 1px 5px rgba(0, 0, 0, .3); }
.brand .tabs {
  position: relative;
  z-index: 1;
  margin-right: min(15vw, 220px);
}
.brand .tab {
  background: rgba(18, 51, 111, .94);
  border-color: #42659a;
  border-radius: 4px;
  color: #eaf2ff;
}
.brand .tab:hover { background: #214e96; }
.brand .tab.active {
  background: #fff;
  border-color: #fff;
  color: #0b2859;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.brand .tab:focus-visible { outline-color: #f8c363; }
.site-footer {
  background: #0b1c49;
  border-top: 1px solid #203969;
  min-height: 60px;
  padding: 6px 24px;
  display: flex;
  align-items: center;
  gap: clamp(20px, 5vw, 76px);
  color: #159eea;
}
.footer-brand { display: block; flex-shrink: 0; }
.footer-brand img { display: block; width: 260px; height: auto; max-width: 100%; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.footer-links a, .footer-links button { color: inherit; text-decoration: none; }
.footer-links button { padding: 3px 0; background: transparent; border: 0; font: inherit; cursor: pointer; }
.footer-links a:hover, .footer-links button:hover { color: #fff; }
.site-footer a:focus-visible, .site-footer button:focus-visible { outline: 2px solid #f8c363; outline-offset: 4px; }
.footer-qr { display: block; flex-shrink: 0; margin-left: auto; }
.footer-qr img { display: block; width: 46px; height: 46px; background: #fff; }
.footer-dialog { max-width: min(560px, calc(100vw - 32px)); padding: 24px; border: 1px solid #cad6e9; border-radius: 10px; color: #17332e; box-shadow: 0 20px 80px #0005; }
.footer-dialog::backdrop { background: #05122a99; }
.footer-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-dialog h2 { margin: 0; font-size: 20px; }
.footer-dialog p { font-size: 14px; line-height: 1.9; }
.footer-dialog a { color: #086cae; overflow-wrap: anywhere; }
.footer-dialog-heading button { border: 0; background: transparent; padding: 2px 8px; font-size: 26px; color: #42556f; cursor: pointer; }
.footer-dialog-heading button:focus-visible { outline: 2px solid #086cae; }
@media (max-width: 900px) {
  .site-footer { gap: 20px; padding-inline: 16px; }
  .footer-brand img { width: 215px; }
  .footer-links { gap: 6px; font-size: 12px; }
}
@media (max-width: 1050px) {
  .brand { gap: 14px; }
  .brand h1 { font-size: 20px; }
}
@media (min-width: 721px) and (max-width: 1249px) {
  .brand .tabs { margin-left: 24px; margin-right: auto; }
}
@media (max-width: 720px) {
  body { grid-template-rows: auto minmax(0, 1fr) auto; }
  .brand { min-height: auto; padding: 16px; gap: 12px; }
  .brand::before { opacity: .32; }
  .brand::after { width: 40%; opacity: .55; }
  .brand h1 { font-size: clamp(16px, 4.3vw, 20px); }
  .brand p { font-size: 11px; }
  .header-logo img { width: 150px; }
  .brand-title { min-width: 0; flex: 1; margin-left: 0; }
  .brand .tabs { width: 100%; margin: 2px 0 0; }
  .site-footer { display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 5px 12px; padding: 8px 16px; }
  .footer-brand img { width: 220px; }
  .footer-links { grid-column: 1; gap: 5px; font-size: 11px; }
  .footer-qr { grid-column: 2; grid-row: 1 / 3; }
}
