:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #24364a;
  background: #f5f7fb;
  font-size: 14px;
  --muted: #7a8799;
  --line: #e7ecf3;
  --blue: #346be5;
  --shadow: 0 3px 14px #203b6405;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: #3769c8;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 11px 15px;
  background: var(--blue);
  color: white;
  font-weight: 600;
  font-size: 12px;
  transition:
    background 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
button:hover:not(:disabled),
.button:hover {
  filter: brightness(0.97);
  box-shadow: 0 3px 9px #163a6810;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
.secondary {
  background: #fff;
  color: #4a5d75;
  border-color: #dfe5ee;
}
.danger {
  color: #b14c58;
}
.icon {
  width: 21px;
  height: 21px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}
button .icon {
  width: 16px;
  height: 16px;
}
[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
:focus-visible {
  outline: 3px solid #8eb0ff;
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 15px;
  background: #fff;
  padding: 15px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
[hidden] {
  display: none !important;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 250px;
  background: #10243c;
  color: #bdcbdd;
  padding: 31px 20px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: white;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.brand:hover {
  text-decoration: none;
}
.brand-light {
  font-weight: 450;
}
.brand small {
  display: block;
  letter-spacing: 2.1px;
  font-size: 8px;
  color: #91a7c2;
  margin-top: 6px;
}
.mark {
  width: 39px;
  height: 42px;
  border-radius: 12px;
  background: #336ce6;
  box-shadow: 0 5px 20px #1e5bdd40;
  color: white;
}
.mark .icon {
  width: 23px;
  height: 23px;
}
.municipality {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 0 30px;
  padding: 14px 10px;
  background: #ffffff06;
  border: 1px solid #ffffff0c;
  border-radius: 10px;
  color: #e9eef6;
  font-size: 12px;
  font-weight: 600;
}
.municipality-avatar {
  display: grid;
  place-items: center;
  border: 1px solid #ffffff14;
  background: #253a52;
  color: #c8d8ee;
  width: 30px;
  height: 32px;
  border-radius: 8px;
  font-size: 13px;
}
.municipality small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: #8fa4be;
  margin-top: 5px;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #54c5a3;
  flex-shrink: 0;
}
.municipality > .live-dot {
  margin-left: auto;
}
.nav-label {
  font-size: 8px;
  letter-spacing: 1.6px;
  font-weight: 650;
  color: #758da9;
  margin: 0 12px 14px;
}
.nav {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 7px;
  background: transparent;
  border-radius: 8px;
  color: #9fb3cc;
  padding: 13px 14px;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}
.nav .icon {
  width: 18px;
  height: 18px;
}
.nav.active {
  color: #fff;
  background: #24416a;
  box-shadow: inset 3px 0 #6b9aff;
}
.nav:hover:not(:disabled) {
  background: #1d3654;
  box-shadow: none;
  filter: none;
}
.nav-badge {
  margin-left: auto;
  font-size: 9px;
  background: #ffffff10;
  padding: 3px 6px;
  border-radius: 4px;
  color: #c4d6ed;
}
.sidebar-note {
  margin-top: auto;
  border: 1px solid #ffffff0c;
  background: #ffffff04;
  padding: 17px 14px;
  border-radius: 10px;
  font-size: 10px;
  line-height: 1.7;
}
.sidebar-note > [data-icon] {
  color: #6f95c5;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.sidebar-note b {
  color: #b5c9e2;
  font-size: 10px;
}
.sidebar-note p {
  font-size: 10px;
  color: #7891af;
  line-height: 1.7;
  margin: 6px 0 0;
}
.sidebar-bottom {
  padding: 22px 8px 0;
  font-size: 10px;
  color: #a4b9d2;
}
.sidebar-bottom > .live-dot {
  margin-right: 6px;
}
.sidebar-bottom small {
  display: block;
  color: #6f88a5;
  margin-top: 6px;
  font-size: 9px;
}
.version {
  display: block;
  margin-top: 22px;
  border-top: 1px solid #ffffff0c;
  padding-top: 16px;
  font-size: 9px;
  color: #5e7897;
}
.main {
  margin-left: 250px;
}
.topbar {
  height: 74px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #8995a6;
}
.breadcrumb .icon {
  width: 12px;
  height: 12px;
  color: #bbc5d3;
}
.breadcrumb strong {
  font-weight: 500;
  color: #435774;
}
.topbar-right {
  display: flex;
  gap: 22px;
  align-items: center;
}
.environment {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7e8c9e;
  font-size: 10px;
}
.institution-avatar {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 3px solid #f4f7fc;
  background: #e4ecfa;
  color: #5d79a2;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}
main {
  padding: 32px 36px 24px;
  max-width: 1750px;
  margin: auto;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 24px;
}
h1 {
  font-size: 28px;
  letter-spacing: -0.9px;
  line-height: 1.3;
  margin: 7px 0 9px;
  font-weight: 700;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
  font-weight: 650;
}
h3 {
  font-size: 15px;
  margin: 0 0 9px;
}
p {
  line-height: 1.7;
  margin: 6px 0;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.eyebrow {
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 1.8px;
  color: #6b89b7;
  margin: 0;
}
.heading-stamp {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #6d829d;
  font-size: 10px;
  white-space: nowrap;
}
.heading-stamp .icon {
  color: #91a6bf;
}
.heading-stamp small {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  color: #9aa7b8;
}
.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #f0e3c6;
  background: #fffaf0;
  color: #9a7b3f;
  border-radius: 9px;
  padding: 11px 15px;
  margin-bottom: 25px;
}
.notice > [data-icon] {
  color: #c09a50;
}
.notice .icon {
  width: 17px;
  height: 17px;
}
.notice p {
  font-size: 10px;
  margin: 0;
  line-height: 1.7;
  flex: 1;
}
.notice strong {
  font-weight: 700;
}
.text-button {
  padding: 4px 0;
  background: none;
  color: #5e7ba8;
  border: 0;
  border-radius: 2px;
  font-size: 10px;
  white-space: nowrap;
}
.text-button:hover:not(:disabled) {
  box-shadow: none;
}
.notice .text-button {
  color: #a08144;
  font-size: 9px;
}
.welcome-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #164887, #1c5bab 72%, #2b6cc5);
  border: 1px solid #245a99;
  border-radius: 14px;
  min-height: 275px;
  padding: 31px 34px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.welcome-copy {
  position: relative;
  z-index: 1;
}
.welcome-tag {
  font-size: 8px;
  letter-spacing: 1.7px;
  font-weight: 600;
  color: #a4caef;
}
.welcome-banner h2 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.65px;
  line-height: 1.25;
  margin: 15px 0 12px;
}
.welcome-banner p {
  font-size: 11px;
  color: #b1d0ee;
  line-height: 1.85;
}
.actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.button.light {
  background: #fff;
  color: #225da3;
  box-shadow: 0 3px 8px #08285920;
  font-size: 10px;
  padding: 10px 13px;
}
.banner-link {
  background: none;
  color: #d5e7fc;
  font-size: 10px;
  padding: 8px 0;
  font-weight: 450;
}
.banner-link:hover:not(:disabled) {
  box-shadow: none;
}
.hero-art {
  position: relative;
  width: 290px;
  height: 220px;
  margin-right: 10px;
  flex-shrink: 0;
}
.orbit {
  border: 1px solid #ffffff12;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.orbit-one {
  width: 190px;
  height: 190px;
}
.orbit-two {
  width: 270px;
  height: 270px;
  background: #ffffff02;
}
.hero-cross {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-7deg);
  background: linear-gradient(145deg, #ffffff20, #ffffff0b);
  border: 1px solid #ffffff24;
  width: 117px;
  height: 121px;
  border-radius: 30px;
  box-shadow: 0 20px 35px #062a5825;
}
.hero-cross .icon {
  width: 65px;
  height: 65px;
  stroke-width: 1.1;
  color: #f0f8ff;
}
.float-icon {
  position: absolute;
  background: #ffffffee;
  color: #3271b6;
  border: 1px solid #fff;
  border-radius: 14px;
  width: 44px;
  height: 44px;
  box-shadow: 0 8px 20px #082a651a;
  transform: rotate(8deg);
}
.float-heart {
  left: 26px;
  top: 32px;
  color: #df8b9c;
}
.float-people {
  right: 26px;
  bottom: 42px;
  transform: rotate(-8deg);
  color: #4c9b97;
}
.hero-caption {
  position: absolute;
  bottom: 3px;
  left: 40px;
  background: #13417a80;
  border: 1px solid #ffffff15;
  border-radius: 30px;
  padding: 8px 11px;
  color: #b9d7f7;
  font-size: 8px;
  white-space: nowrap;
}
.hero-caption i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #76cfb6;
  margin-right: 5px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 30px;
}
.card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 11px;
  padding: 20px;
  min-width: 0;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.card-top > span:first-child {
  font-size: 10px;
  color: #7e8da1;
  font-weight: 500;
}
.stat-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #edf4ff;
  color: #6d91ce;
}
.stat-icon .icon {
  width: 16px;
  height: 16px;
}
.card:nth-child(2) .stat-icon {
  background: #eaf7f1;
  color: #54a78b;
}
.card:nth-child(3) .stat-icon {
  background: #fff6e8;
  color: #c39a56;
}
.card:nth-child(4) .stat-icon {
  background: #f1eefb;
  color: #9d8bc5;
}
.card b {
  display: block;
  font-size: 29px;
  letter-spacing: -0.5px;
  line-height: 1.4;
  margin-top: 7px;
  font-weight: 650;
}
.card small {
  display: block;
  font-size: 9px;
  color: #9aa6b6;
  margin-top: 5px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 0 20px;
}
.section-title h2 {
  margin: 7px 0 5px;
  font-size: 20px;
}
.section-title p.muted {
  font-size: 11px;
}
.quiet-badge {
  font-size: 9px;
  color: #8c9bb0;
  border: 1px solid #e0e7f0;
  border-radius: 6px;
  padding: 7px 10px;
  white-space: nowrap;
}
.indicator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.indicator-card {
  position: relative;
  display: block;
  text-align: left;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  color: inherit;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.indicator-card:hover:not(:disabled) {
  filter: none;
  border-color: var(--tone);
  box-shadow: 0 8px 24px #243e6810;
  transform: translateY(-3px);
}
.indicator-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tone);
  opacity: 0.7;
}
.indicator-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}
.indicator-symbol {
  color: var(--tone);
  background: var(--tint);
  width: 43px;
  height: 43px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.indicator-symbol .icon {
  width: 25px;
  height: 25px;
  stroke-width: 1.5;
}
.indicator-code {
  color: var(--tone);
  background: var(--tint);
  border-radius: 5px;
  font-size: 9px;
  padding: 4px 7px;
  letter-spacing: 0.5px;
  font-weight: 650;
}
.indicator-card h3 {
  font-size: 13px;
  line-height: 1.5;
  min-height: 39px;
  margin: 0 0 7px;
  letter-spacing: -0.2px;
}
.indicator-card p {
  font-weight: 400;
  font-size: 10px;
  color: #8c98a9;
  line-height: 1.8;
  min-height: 36px;
}
.indicator-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 19px;
  padding-top: 14px;
  border-top: 1px solid #edf1f7;
  color: #8a98aa;
  font-size: 9px;
  font-weight: 400;
}
.indicator-meta strong {
  font-size: 13px;
  color: #4f627b;
  font-weight: 650;
  margin-right: 3px;
}
.indicator-meta .icon {
  width: 14px;
  height: 14px;
  color: var(--tone);
}
.teal {
  --tone: #359e99;
  --tint: #eaf7f4;
}
.violet {
  --tone: #9680cf;
  --tint: #f2eefb;
}
.blue {
  --tone: #508bd8;
  --tint: #ebf3ff;
}
.rose {
  --tone: #d37786;
  --tint: #fceff1;
}
.amber {
  --tone: #bc944e;
  --tint: #fbf5e9;
}
.pink {
  --tone: #c67ba4;
  --tint: #faeef5;
}
.overview-footnote {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #eef3fa70;
}
.overview-footnote > [data-icon] {
  width: 36px;
  height: 36px;
  background: #e5ecf7;
  border-radius: 50%;
  color: #819abb;
}
.overview-footnote .icon {
  width: 18px;
  height: 18px;
}
.overview-footnote b {
  font-size: 10px;
  font-weight: 600;
  color: #657a96;
}
.overview-footnote p {
  font-size: 9px;
  color: #94a2b5;
  margin: 4px 0 0;
}
.overview-footnote .text-button {
  margin-left: auto;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.indicator-tabs {
  display: flex;
  gap: 7px;
  padding: 6px;
  background: #eaf0f7;
  border: 1px solid #e4eaf2;
  border-radius: 11px;
  margin-bottom: 20px;
  overflow-x: auto;
}
.indicator-tab {
  background: none;
  color: #8290a3;
  flex: 1;
  border-radius: 7px;
  padding: 11px 10px;
  font-size: 10px;
  font-weight: 550;
  white-space: nowrap;
  gap: 7px;
}
.indicator-tab .icon {
  width: 17px;
  height: 17px;
}
.indicator-tab[aria-selected='true'] {
  background: #fff;
  color: var(--tone, #416baf);
  box-shadow: 0 2px 6px #193b6210;
  border-color: #e1e8f2;
}
.indicator-tab:hover:not(:disabled) {
  background: #ffffff80;
  box-shadow: none;
}
.indicator-tab small {
  font-size: 8px;
  opacity: 0.65;
}
.indicator-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.indicator-heading h2 {
  font-size: 16px;
  margin: 0 0 4px;
}
.indicator-heading p {
  font-size: 10px;
  color: #91a0b3;
  margin: 0;
}
.indicator-heading .quiet-badge {
  margin-left: auto;
}
.filters {
  padding: 17px;
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: #8190a5;
  flex: 1;
  min-width: 105px;
}
label.search {
  flex: 1.6;
  min-width: 160px;
}
input,
select {
  display: block;
  width: 100%;
  border: 1px solid #e0e6ef;
  border-radius: 7px;
  background: #fff;
  color: #54667e;
  font-size: 10px;
  padding: 10px;
  margin-top: 7px;
  min-height: 36px;
}
.input-wrap {
  position: relative;
}
.input-wrap > [data-icon] {
  position: absolute;
  top: 11px;
  left: 10px;
  color: #9bacbf;
}
.input-wrap .icon {
  width: 14px;
  height: 14px;
}
.input-wrap input {
  padding-left: 31px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px;
}
.section-head {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.section-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin: 0;
}
.section-head p {
  font-size: 9px;
  margin-top: 6px;
}
.title-icon {
  color: #8ba2c3;
}
.title-icon .icon {
  width: 17px;
  height: 17px;
}
.pill {
  font-size: 9px;
  display: inline-block;
  background: #eef3fb;
  color: #8195b5;
  padding: 4px 7px;
  border-radius: 5px;
  white-space: nowrap;
}
.section-head button {
  font-size: 9px;
  padding: 9px 10px;
}
.section-head button .icon {
  width: 13px;
  height: 13px;
}
.table-wrap {
  overflow: auto;
  max-height: 620px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 9px;
  background: #f9fbfd;
  color: #9aa6b6;
  padding: 13px;
  font-weight: 600;
}
td {
  padding: 16px 13px;
  border-top: 1px solid #edf1f7;
  font-size: 10px;
}
td:first-child {
  min-width: 170px;
}
td small {
  display: block;
  color: #96a3b6;
  font-size: 9px;
  margin-top: 6px;
}
.person-button {
  background: none;
  border: 0;
  color: #415978;
  padding: 0;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
}
.person-button:hover:not(:disabled) {
  box-shadow: none;
  color: #346be5;
}
.on {
  background: #f0f5ff;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0f3f8;
  color: #8292a7;
  border-radius: 5px;
  font-size: 8px;
  padding: 4px 6px;
  margin: 2px;
}
.chip .icon {
  width: 11px;
  height: 11px;
}
.chip.indicator-chip {
  color: var(--tone);
  background: var(--tint);
}
.yes {
  background: #eaf7f1;
  color: #45947a;
}
.no {
  background: #fff6e7;
  color: #b28b44;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #95a2b3;
}
.pagination button {
  font-size: 9px;
  padding: 7px 11px;
}
.empty {
  padding: 46px 20px;
  text-align: center;
  color: #99a8bb;
  font-size: 11px;
  line-height: 1.9;
}
.empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  background: #f1f5fb;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: #a6b9d4;
}
.empty-icon .icon {
  width: 25px;
  height: 25px;
}
.empty b {
  display: block;
  font-weight: 550;
  color: #71849d;
  margin-bottom: 6px;
}
.empty p {
  font-size: 10px;
}
.empty button {
  font-size: 10px;
  margin-top: 15px;
}
.detail {
  padding: 22px;
  max-height: 715px;
  overflow: auto;
}
.detail h3 {
  font-size: 18px;
  line-height: 1.5;
}
.detail h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.6;
}
.detail h4 .icon {
  width: 19px;
  height: 19px;
}
.detail > .muted {
  font-size: 10px;
  line-height: 1.9;
}
.practice {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px;
  margin: 10px 0;
}
.practice b {
  font-size: 10px;
  line-height: 1.7;
}
.practice small {
  display: block;
  font-size: 9px;
  line-height: 1.8;
  color: #8998ad;
  overflow-wrap: anywhere;
  margin-top: 7px;
}
.practicehead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.practicehead .chip {
  flex-shrink: 0;
}
.import-panel {
  padding: 32px;
}
.import-illustration {
  background: #eef3ff;
  color: #7b9bd3;
  width: 56px;
  height: 56px;
  border-radius: 15px;
  margin-bottom: 22px;
}
.import-illustration .icon {
  width: 28px;
  height: 28px;
}
.import-panel h2 {
  font-size: 23px;
  margin: 10px 0;
}
.import-options {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
  margin-top: 26px;
}
.upload-zone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 230px;
  cursor: pointer;
  border: 1.5px dashed #c7d8f2;
  background: #f6f9ff;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: background 0.15s;
}
.upload-zone:hover {
  background: #edf4ff;
}
.upload-symbol {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #e5edfc;
  color: #6c96d8;
  margin-bottom: 17px;
}
.upload-zone b {
  font-size: 13px;
  color: #4e6f9f;
  font-weight: 600;
}
.upload-zone > span:not([data-icon]) {
  font-size: 10px;
  color: #8b9eb8;
  margin-top: 8px;
  font-weight: 400;
}
.upload-zone small {
  font-size: 9px;
  color: #a2b0c3;
  margin-top: 20px;
  font-weight: 400;
}
.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  bottom: 10px;
}
.upload-zone:focus-within {
  outline: 3px solid #8eb0ff;
  outline-offset: 3px;
}
.legacy-option {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfdff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}
.source-symbol {
  color: #95a6bf;
  margin-bottom: 15px;
}
.legacy-option h3 {
  font-size: 13px;
  font-weight: 600;
}
.legacy-option p {
  font-size: 10px;
  color: #96a3b6;
  line-height: 1.9;
  max-width: 260px;
}
.legacy-option button {
  font-size: 10px;
  margin-top: 17px;
}
.legacy-option button .icon {
  width: 14px;
  height: 14px;
}
#msg {
  margin: 20px 0 0;
  font-size: 10px;
  color: #8a9ab0;
  padding: 12px 14px;
  background: #f7f9fc;
  border-radius: 7px;
}
.error {
  color: #b33838 !important;
}
.data-session {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px;
  margin-top: 20px;
}
.data-session h2 {
  display: inline-block;
  font-size: 13px;
  margin: 0 0 6px 8px;
}
.data-session p {
  font-size: 10px;
  color: #93a1b4;
  max-width: 600px;
}
.data-session button {
  white-space: nowrap;
  font-size: 10px;
}
.data-tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 28px 10px;
}
.data-tips > [data-icon],
.data-tips > div > [data-icon] {
  color: #9aafcb;
  margin-bottom: 14px;
}
.data-tips h3 {
  font-size: 11px;
  color: #6c829f;
  font-weight: 600;
}
.data-tips p {
  font-size: 10px;
  color: #97a6b9;
  line-height: 1.9;
}
.methodology {
  padding: 28px;
}
.method-intro {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.method-symbol {
  background: #edf2fa;
  color: #819ac1;
  width: 46px;
  height: 46px;
  border-radius: 11px;
}
.method-intro h2 {
  font-size: 21px;
  margin: 8px 0 12px;
}
.method-intro p:not(.eyebrow) {
  font-size: 11px;
  color: #8b9ab0;
  line-height: 1.9;
}
.method-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin: 27px 0;
}
.method-legend > div {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 18px;
}
.legend-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 7px;
}
.positive {
  background: #63b499;
}
.pending {
  background: #dbb56b;
}
.neutral {
  background: #9facbf;
}
.method-legend b {
  font-size: 10px;
  color: #7388a3;
}
.method-legend p {
  font-size: 10px;
  color: #9aa7b8;
  line-height: 1.9;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 20px 0;
}
.method-grid > div {
  display: flex;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 9px;
}
.method-grid .indicator-symbol {
  width: 33px;
  height: 33px;
  border-radius: 8px;
}
.method-grid .icon {
  width: 20px;
  height: 20px;
}
.method-grid b {
  font-size: 10px;
}
.method-grid p {
  font-size: 9px;
  color: #9aa7b8;
}
.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
.source-links a {
  font-size: 9px;
  border: 1px solid #e2e9f4;
  background: #f7faff;
  padding: 9px;
  border-radius: 6px;
  color: #7d95b7;
}
.method-links {
  display: flex;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 20px;
}
.method-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #6c8bb9;
}
.method-links .icon {
  width: 14px;
  height: 14px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 32px;
  color: #a6b2c2;
  font-size: 9px;
}
footer b {
  font-weight: 700;
  color: #8a9bb1;
}
.footer-separator {
  margin: 0 8px;
  color: #c4cedb;
}
@media (min-width: 1600px) {
  .welcome-banner {
    min-height: 295px;
  }
  .hero-art {
    margin-right: 50px;
  }
  .layout {
    grid-template-columns: 1.4fr 1fr;
  }
  .indicator-card h3 {
    min-height: 0;
  }
  .indicator-card p {
    min-height: 0;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 220px;
    padding: 27px 16px;
  }
  .main {
    margin-left: 220px;
  }
  main {
    padding: 27px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .brand {
    font-size: 17px;
  }
  .welcome-banner {
    padding: 27px;
  }
  .welcome-banner h2 {
    font-size: 26px;
  }
  .hero-art {
    width: 210px;
    margin-right: 0;
  }
  .float-heart {
    left: 0;
  }
  .float-people {
    right: 0;
  }
  .hero-caption {
    left: 0;
  }
  .heading-stamp {
    display: none;
  }
  .indicator-grid {
    gap: 13px;
  }
  .indicator-card {
    padding: 18px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .detail {
    max-height: none;
  }
  .notice .text-button {
    display: none;
  }
  .card {
    padding: 17px;
  }
  .card-top > span:first-child {
    font-size: 9px;
  }
  .indicator-tab {
    padding: 10px 8px;
    font-size: 9px;
  }
  .indicator-tab small {
    display: none;
  }
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 950px) {
  .sidebar {
    width: 190px;
    padding: 25px 12px;
  }
  .main {
    margin-left: 190px;
  }
  .brand {
    font-size: 15px;
    gap: 8px;
  }
  .brand small {
    font-size: 7px;
  }
  .mark {
    width: 33px;
    height: 37px;
  }
  .municipality {
    padding: 10px 7px;
    font-size: 10px;
    gap: 8px;
  }
  .municipality small {
    font-size: 8px;
  }
  .municipality-avatar {
    width: 25px;
    height: 28px;
  }
  .nav {
    font-size: 11px;
    padding: 12px;
    gap: 9px;
  }
  .nav-label {
    font-size: 7px;
  }
  .sidebar-note {
    padding: 14px 12px;
  }
  .sidebar-note b {
    font-size: 9px;
  }
  .welcome-banner h2 {
    font-size: 25px;
  }
  .hero-art {
    width: 125px;
    opacity: 0.7;
  }
  .hero-cross {
    width: 85px;
    height: 95px;
    border-radius: 22px;
  }
  .hero-cross .icon {
    width: 50px;
    height: 50px;
  }
  .orbit-one {
    width: 150px;
    height: 150px;
  }
  .orbit-two {
    width: 210px;
    height: 210px;
  }
  .hero-caption,
  .float-icon {
    display: none;
  }
  .welcome-banner p {
    font-size: 10px;
  }
  .welcome-banner {
    padding: 24px;
    min-height: 265px;
  }
  .welcome-tag {
    font-size: 7px;
  }
  .indicator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .indicator-card h3 {
    min-height: 0;
  }
  .cards {
    gap: 10px;
  }
  .card {
    padding: 14px;
  }
  .stat-icon {
    width: 25px;
    height: 25px;
  }
  .card-top {
    gap: 5px;
  }
  .card b {
    font-size: 25px;
  }
  .card small {
    font-size: 8px;
  }
  .card-top > span:first-child {
    font-size: 8px;
  }
  .import-options {
    grid-template-columns: 1fr;
  }
  .import-panel {
    padding: 24px;
  }
  .legacy-option {
    padding: 22px;
  }
  .data-session {
    align-items: flex-start;
    flex-direction: column;
  }
  .method-legend {
    grid-template-columns: 1fr;
  }
  .data-tips {
    gap: 15px;
  }
  .heading h1 {
    font-size: 24px;
  }
  .heading > .muted {
    font-size: 11px;
  }
  .indicator-heading .quiet-badge {
    display: none;
  }
}
@media (max-width: 700px) {
  .sidebar {
    position: static;
    width: auto;
    padding: 17px 16px 10px;
  }
  .brand {
    font-size: 17px;
  }
  .brand small {
    font-size: 7px;
  }
  .mark {
    width: 33px;
    height: 35px;
    border-radius: 10px;
  }
  .sidebar .municipality,
  .nav-label,
  .sidebar-note,
  .sidebar-bottom {
    display: none;
  }
  #main-tabs {
    display: flex;
    gap: 5px;
    margin-top: 19px;
  }
  .nav {
    justify-content: center;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    font-size: 9px;
    padding: 10px 4px;
    margin: 0;
    min-width: 0;
  }
  .nav.active {
    box-shadow: inset 0 -2px #82aaff;
  }
  .nav .icon {
    width: 18px;
    height: 18px;
  }
  .nav-badge {
    display: none;
  }
  .main {
    margin-left: 0;
  }
  .topbar {
    height: 51px;
    padding: 0 17px;
  }
  .breadcrumb {
    font-size: 9px;
    gap: 7px;
  }
  .environment {
    font-size: 8px;
  }
  .institution-avatar {
    display: none;
  }
  .topbar-right {
    gap: 8px;
  }
  main {
    padding: 23px 16px 20px;
  }
  .heading {
    margin-bottom: 18px;
  }
  h1,
  .heading h1 {
    font-size: 24px;
    max-width: 340px;
    line-height: 1.35;
  }
  .heading .muted {
    font-size: 11px;
    line-height: 1.8;
    max-width: 330px;
  }
  .eyebrow {
    font-size: 7px;
  }
  .notice {
    padding: 10px 12px;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 19px;
  }
  .notice p {
    font-size: 9px;
  }
  .notice > [data-icon] {
    margin-top: 3px;
  }
  .notice strong {
    display: block;
  }
  .welcome-banner {
    padding: 25px 22px;
    min-height: 270px;
    border-radius: 12px;
  }
  .welcome-banner h2 {
    font-size: 26px;
    line-height: 1.3;
    margin-top: 14px;
  }
  .welcome-banner p {
    font-size: 10px;
  }
  .welcome-tag {
    font-size: 7px;
    letter-spacing: 1.3px;
  }
  .hero-art {
    position: absolute;
    right: -70px;
    top: 45px;
    opacity: 0.22;
    width: 170px;
    pointer-events: none;
  }
  .hero-cross {
    width: 100px;
    height: 110px;
  }
  .welcome-copy {
    max-width: 100%;
  }
  .welcome-banner .actions {
    gap: 16px;
  }
  .banner-link {
    font-size: 9px;
  }
  .button.light {
    font-size: 9px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin: 17px 0 26px;
  }
  .card {
    padding: 16px;
  }
  .card-top > span:first-child {
    font-size: 10px;
  }
  .card b {
    font-size: 26px;
  }
  .card small {
    font-size: 9px;
  }
  .stat-icon {
    width: 29px;
    height: 29px;
  }
  .section-title {
    align-items: flex-start;
    margin-bottom: 17px;
  }
  .section-title h2 {
    font-size: 19px;
  }
  .section-title .muted {
    font-size: 10px;
  }
  .section-title .quiet-badge {
    display: none;
  }
  .indicator-grid {
    gap: 12px;
  }
  .indicator-card {
    padding: 16px;
  }
  .indicator-top {
    margin-bottom: 14px;
  }
  .indicator-symbol {
    width: 37px;
    height: 37px;
    border-radius: 10px;
  }
  .indicator-symbol .icon {
    width: 23px;
    height: 23px;
  }
  .indicator-card h3 {
    font-size: 11px;
    min-height: 34px;
    line-height: 1.6;
  }
  .indicator-card p {
    font-size: 9px;
    min-height: 48px;
  }
  .indicator-meta {
    font-size: 8px;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-top: 12px;
  }
  .indicator-meta strong {
    font-size: 12px;
  }
  .indicator-meta .icon {
    width: 12px;
    height: 12px;
  }
  .overview-footnote {
    align-items: flex-start;
    padding: 17px;
    gap: 12px;
  }
  .overview-footnote .text-button {
    display: none;
  }
  .overview-footnote b {
    font-size: 9px;
  }
  .overview-footnote p {
    font-size: 9px;
  }
  .indicator-tabs {
    gap: 5px;
    padding: 5px;
  }
  .indicator-tab {
    flex: 0 0 auto;
    padding: 10px 12px;
    font-size: 9px;
  }
  .indicator-tab .icon {
    width: 16px;
    height: 16px;
  }
  .indicator-heading {
    padding: 16px;
    gap: 11px;
  }
  .indicator-heading h2 {
    font-size: 14px;
  }
  .indicator-heading p {
    font-size: 9px;
  }
  .filters {
    padding: 14px;
    gap: 12px;
  }
  .filters label {
    min-width: 130px;
    font-size: 9px;
  }
  .filters .search {
    min-width: 100%;
    flex: 1;
  }
  .layout {
    gap: 17px;
  }
  .section-head {
    padding: 17px;
  }
  .section-head h2 {
    font-size: 12px;
  }
  .section-head p {
    font-size: 8px;
  }
  .section-head button {
    font-size: 8px;
    padding: 8px;
  }
  .empty {
    padding: 32px 17px;
  }
  .detail {
    padding: 18px;
  }
  .practicehead {
    flex-direction: column;
    gap: 6px;
  }
  .import-panel {
    padding: 22px 18px;
  }
  .import-panel h2 {
    font-size: 21px;
    line-height: 1.4;
  }
  .import-panel .muted {
    font-size: 10px;
  }
  .upload-zone {
    padding: 20px 15px;
    min-height: 215px;
  }
  .legacy-option {
    padding: 22px;
  }
  .data-session {
    padding: 20px;
  }
  .data-tips {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 25px 7px;
  }
  .data-tips > div {
    display: grid;
    grid-template-columns: 25px 1fr;
    column-gap: 12px;
  }
  .data-tips > div > [data-icon] {
    grid-row: span 2;
    margin-top: 2px;
  }
  .data-tips h3 {
    margin: 0 0 5px;
  }
  .data-tips p {
    margin: 0;
  }
  .methodology {
    padding: 22px 18px;
  }
  .method-intro {
    flex-direction: column;
    gap: 16px;
  }
  .method-intro h2 {
    font-size: 21px;
    line-height: 1.4;
  }
  .method-intro p:not(.eyebrow) {
    font-size: 10px;
  }
  .method-legend {
    gap: 10px;
    margin: 20px 0;
  }
  .method-grid {
    grid-template-columns: 1fr;
  }
  .method-links {
    flex-direction: column;
    gap: 15px;
  }
  .source-links a {
    font-size: 8px;
  }
  footer {
    flex-direction: column;
    gap: 10px;
    font-size: 8px;
    margin-top: 26px;
    padding-top: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Readable supporting text across desktop and handheld screens. */
.card small,
.indicator-card p,
.indicator-meta,
.overview-footnote p,
.data-session p,
.data-tips p,
.legacy-option p,
.method-intro p:not(.eyebrow),
.method-legend p,
.method-grid p {
  color: #73839a;
}
.card-top > span:first-child {
  color: #687c96;
}
.indicator-card h3 {
  font-size: 14px;
}
.indicator-card p {
  font-size: 11px;
}
.indicator-meta {
  font-size: 10px;
}
.practice small {
  font-size: 11px;
  color: #71829a;
}
.practice b {
  font-size: 12px;
}
.detail > .muted {
  font-size: 11px;
}
.person-button {
  font-size: 12px;
}
td small {
  font-size: 10px;
  color: #7c8da5;
}
.filters label {
  font-size: 10px;
}
.filters input,
.filters select {
  font-size: 11px;
}
.method-intro p:not(.eyebrow) {
  font-size: 12px;
}
.method-legend b {
  font-size: 12px;
}
.method-legend p {
  font-size: 11px;
}
.method-grid b {
  font-size: 11px;
}
.method-grid p {
  font-size: 10px;
}
.import-panel .muted {
  font-size: 12px;
}
.data-session p,
.data-tips p,
.legacy-option p {
  font-size: 11px;
}
.data-tips h3 {
  font-size: 12px;
}
.legacy-option h3 {
  font-size: 14px;
}
@media (max-width: 700px) {
  .indicator-card h3 {
    font-size: 12px;
    min-height: 38px;
  }
  .indicator-card p {
    font-size: 10px;
    min-height: 51px;
  }
  .indicator-meta {
    font-size: 9px;
  }
  .method-intro p:not(.eyebrow) {
    font-size: 11px;
  }
  .method-legend p {
    font-size: 11px;
  }
  .practice b {
    font-size: 11px;
  }
  .practice small {
    font-size: 10px;
  }
}
.session-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: -10px 0 23px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: #75869c;
}
.session-toolbar > div:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.session-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d8ad5a;
}
.session-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.session-actions button,
.session-actions label {
  font-size: 10px;
  padding: 9px 12px;
  white-space: nowrap;
}
.file-action {
  position: relative;
  cursor: pointer;
  flex: 0 0 auto;
  color: white;
  min-width: auto;
}
.file-action.secondary {
  color: #4a5d75;
}
.file-action input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  bottom: 2px;
}
.file-action:focus-within {
  outline: 3px solid #8eb0ff;
  outline-offset: 3px;
}
.indicator-subtabs {
  display: flex;
  gap: 24px;
  margin: 19px 0 20px;
  border-bottom: 1px solid #dfe6f1;
}
.indicator-subtabs button {
  border-radius: 0;
  color: #8090a6;
  background: none;
  padding: 11px 1px 14px;
  border-bottom: 2px solid transparent;
  font-size: 11px;
}
.indicator-subtabs [aria-selected='true'] {
  color: #3a70bf;
  border-bottom-color: #477ee0;
}
.indicator-subtabs button:hover {
  box-shadow: none !important;
}
.care-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  line-height: 1.5;
  padding: 7px 9px;
  border-radius: 7px;
  white-space: normal;
}
.care-state .icon {
  width: 16px;
  height: 16px;
}
.care-state.complete {
  background: #e9f7f0;
  color: #218461;
}
.care-state.missing {
  background: #fff5e4;
  color: #ad7c2b;
}
.care-state.unclear {
  background: #f0f3f8;
  color: #7f8fa5;
}
.practice.positive-practice {
  border-color: #cbe8db;
  border-left: 3px solid #65b692;
}
.practice.pending-practice {
  border-left: 3px solid #d4b070;
}
.practicehead {
  align-items: center;
}
.practice-state-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0;
}
.practice .official-status {
  font-size: 9px;
  color: #8e9bb0;
}
.practice-evidence {
  background: #f8fafc;
  border-radius: 6px;
  padding: 8px 10px;
}
.practice details {
  margin-top: 9px;
  color: #7a8aa0;
  font-size: 10px;
}
.practice summary {
  cursor: pointer;
  font-size: 10px;
  color: #6e86ab;
}
.practice-todo {
  border-radius: 6px;
  background: #fff9ed;
  padding: 9px 10px;
  margin-top: 8px;
  font-size: 10px;
  color: #9f7b38;
  line-height: 1.8;
}
.siaps-mark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  line-height: 1.7;
}
.siaps-mark .icon {
  width: 14px;
  height: 14px;
}
.positive-mark {
  color: #278965;
}
.pending-mark {
  color: #b5873b;
}
.neutral-mark {
  color: #8291a7;
}
.individual-siaps {
  padding: 12px;
  margin: 13px 0;
  background: #f3f7fd;
  border: 1px solid #e3ebf7;
  border-radius: 8px;
  font-size: 10px;
  color: #7086a6;
  line-height: 1.8;
}
.individual-siaps b {
  font-size: 10px;
  color: #526d94;
}
.comparison-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 22px 0 10px;
}
.comparison-actions h2 {
  font-size: 17px;
}
.comparison-actions p {
  font-size: 10px;
  color: #8c9bb0;
}
.comparison-actions label {
  font-size: 10px;
}
.comparison-filters {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  margin: 15px 0 18px;
}
.comparison-filters label {
  flex: 1;
}
.comparison-filters button {
  font-size: 10px;
  min-height: 36px;
}
#siaps-msg {
  font-size: 11px;
  color: #6f829e;
}
.comparison-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 23px 23px 13px;
  font-size: 12px;
}
.comparison-meta p {
  font-size: 10px;
  color: #8c9bb0;
  overflow-wrap: anywhere;
}
.period-warning {
  margin: 0 20px 18px;
}
.period-warning .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.comparison-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  padding: 0 23px;
}
.comparison-stats > div {
  background: #f5f8fc;
  border-radius: 8px;
  padding: 15px;
}
.comparison-stats b {
  display: block;
  font-size: 22px;
  color: #456384;
}
.comparison-stats span {
  display: block;
  font-size: 9px;
  color: #8a9db6;
  margin-top: 6px;
  line-height: 1.7;
}
.comparison-explanation {
  font-size: 10px;
  color: #8a98ab;
  padding: 16px 23px;
  margin: 0;
  line-height: 1.8;
}
.comparison-table {
  max-height: 650px;
}
.comparison-table td {
  min-width: 160px;
  vertical-align: top;
  max-width: 280px;
}
.practice-letter {
  display: inline-block;
  min-width: 31px;
  padding: 5px;
  margin: 2px;
  border-radius: 5px;
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
}
.letter-ok {
  background: #e7f6ee;
  color: #287e5e;
}
.letter-pending {
  background: #fff3de;
  color: #af863a;
}
.letter-neutral {
  background: #eef2f6;
  color: #8797ad;
}
.comparison-intro {
  padding: 40px;
  text-align: center;
  color: #7f92ac;
}
.comparison-intro h3 {
  font-size: 17px;
}
.comparison-intro p {
  font-size: 11px;
}
.comparison-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}
.siaps-import {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}
.siaps-import h2 {
  display: inline-block;
  font-size: 14px;
  margin-left: 8px;
}
.siaps-import p {
  font-size: 11px;
  color: #8798af;
}
.siaps-import label {
  font-size: 10px;
}
dialog {
  border: 1px solid #dfe8f3;
  border-radius: 15px;
  padding: 30px;
  max-width: 460px;
  width: calc(100% - 32px);
  box-shadow: 0 22px 80px #0f284b30;
  color: #314c70;
}
dialog::backdrop {
  background: #10253f80;
  backdrop-filter: blur(3px);
}
dialog p {
  font-size: 11px;
  color: #8294ae;
  line-height: 1.9;
}
dialog label {
  margin: 18px 0 0;
  font-size: 11px;
}
dialog input {
  font-size: 13px;
  padding: 12px;
}
dialog h2 {
  font-size: 20px;
  margin: 16px 0 10px;
}
.dialog-symbol {
  width: 46px;
  height: 46px;
  background: #edf3ff;
  color: #698fc7;
  border-radius: 12px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.dialog-actions button {
  font-size: 11px;
}
.session-summary {
  margin-top: 8px;
  font-size: 10px;
  color: #7f92aa;
}
@media (max-width: 700px) {
  .session-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .session-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .session-actions button,
  .session-actions label {
    font-size: 9px;
  }
  .indicator-subtabs {
    gap: 18px;
  }
  .indicator-subtabs button {
    font-size: 10px;
  }
  .practicehead {
    align-items: flex-start;
  }
  .practice-state-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .comparison-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .comparison-filters {
    flex-wrap: wrap;
    gap: 12px;
  }
  .comparison-filters label {
    min-width: 130px;
  }
  .comparison-meta {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
    gap: 7px;
  }
  .comparison-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 18px;
    gap: 10px;
  }
  .comparison-stats > div {
    padding: 12px;
  }
  .comparison-explanation {
    padding: 15px 18px;
  }
  .comparison-table td {
    min-width: 145px;
  }
  .comparison-intro {
    padding: 30px 18px;
  }
  .siaps-import {
    align-items: flex-start;
    flex-direction: column;
  }
  .period-warning {
    margin: 0 15px 15px;
  }
}
.list-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.comparison-filters {
  flex-wrap: wrap;
}
.comparison-filters label {
  min-width: 150px;
}
#print-area {
  display: none;
}
@media (max-width: 700px) {
  .list-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
  }
  .list-actions button {
    font-size: 8px;
    padding: 7px;
  }
  .section-head:has(.list-actions) {
    align-items: flex-start;
  }
  .comparison-filters button {
    font-size: 9px;
  }
}
@media print {
  @page {
    size: A4 landscape;
    margin: 12mm;
  }
  body {
    background: #fff !important;
    color: #111 !important;
    font-family: Arial, sans-serif;
    font-size: 9pt;
  }
  body > :not(#print-area) {
    display: none !important;
  }
  #print-area {
    display: block !important;
  }
  #print-area .print-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #334b67;
    padding-bottom: 10px;
    margin-bottom: 10px;
    gap: 20px;
  }
  #print-area h1 {
    font-size: 17pt;
    margin: 7px 0;
    letter-spacing: 0;
  }
  #print-area p {
    font-size: 9pt;
    line-height: 1.5;
    margin: 4px 0;
    color: #222;
  }
  #print-area .print-heading > b,
  #print-area .print-heading b {
    font-size: 9pt;
    letter-spacing: 0.7px;
  }
  #print-area .print-heading > span {
    font-size: 9pt;
    white-space: nowrap;
  }
  #print-area .print-filters {
    margin: 10px 0 14px;
  }
  #print-area table {
    width: 100%;
    border-collapse: collapse;
    font-size: 8pt;
    table-layout: auto;
  }
  #print-area thead {
    display: table-header-group;
  }
  #print-area tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  #print-area th,
  #print-area td {
    font-size: 8pt;
    text-align: left;
    vertical-align: top;
    border: 1px solid #bcc6d0;
    padding: 7px;
    white-space: pre-line;
    overflow-wrap: anywhere;
    color: #111;
    min-width: 0;
  }
  #print-area th {
    background: #edf1f5 !important;
    font-weight: bold;
  }
  #print-area .print-footer {
    display: block;
    border-top: 1px solid #aab6c5;
    padding-top: 10px;
    margin-top: 14px;
    font-size: 8pt;
    line-height: 1.6;
    color: #333;
  }
}
.siaps-practice-filter {
  background: #fff;
  border: 1px solid #e1e8f1;
  border-radius: 12px;
  padding: 20px;
  margin: 17px 0;
}
.practice-filter-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.practice-filter-heading h3 {
  font-size: 14px;
  color: #3d587a;
}
.practice-filter-heading p {
  font-size: 10px;
  color: #8192aa;
  margin: 4px 0 0;
}
.practice-guide-button {
  font-size: 10px;
  white-space: nowrap;
}
.practice-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 17px;
}
.practice-filter-button {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 9px 11px;
  background: #f7f9fc;
  border: 1px solid #e4eaf3;
  color: #6c819e;
  font-size: 10px;
  font-weight: 500;
  border-radius: 8px;
}
.practice-filter-button b {
  font-size: 9px;
  border-radius: 5px;
  padding: 3px 6px;
  background: #eaf0f7;
  color: #8293ab;
  margin-left: 3px;
}
.filter-letter {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #e8edf6;
  color: #7188a9;
  font-size: 11px;
  font-weight: 700;
}
.practice-filter-button.selected {
  color: #3266b5;
  background: #edf4ff;
  border-color: #9cbae9;
  box-shadow: 0 0 0 1px #dce9fb;
}
.practice-filter-button.selected .filter-letter {
  background: #477dcc;
  color: #fff;
}
.practice-filter-button.selected b {
  background: #dce9fd;
  color: #517cb4;
}
.practice-filter-help {
  font-size: 9px;
  color: #96a3b6;
  margin: 13px 0 0;
}
.practice-filter-active {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 15px 0 0;
  padding-top: 13px;
  border-top: 1px solid #e9eef5;
  color: #6c85a7;
  font-size: 10px;
}
.practice-filter-active .icon {
  width: 15px;
  height: 15px;
}
.practice-filter-active strong {
  font-weight: 600;
  color: #426caa;
}
.practice-filter-active .text-button {
  margin-left: auto;
}
.practice-letter[data-practice-info] {
  cursor: help;
  font-weight: 500;
  border: 1px solid transparent;
  line-height: 1.5;
}
.practice-letter[data-practice-info]:hover {
  border-color: currentColor;
  box-shadow: none !important;
}
.practice-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.practice-dialog-head h2 {
  line-height: 1.5;
  font-size: 19px;
}
.practice-dialog-head button {
  font-size: 10px;
  padding: 8px 12px;
}
#practice-dialog {
  max-width: 690px;
  max-height: 85vh;
  overflow: auto;
}
.practice-guide-item {
  display: flex;
  gap: 14px;
  border: 1px solid #e5ebf4;
  border-radius: 10px;
  padding: 16px;
  margin: 11px 0;
}
.guide-letter {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #5b81ba;
  background: #edf3fc;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
}
.practice-guide-item h3 {
  font-size: 12px;
  color: #506c92;
  line-height: 1.6;
  margin: 0 0 5px;
}
.practice-guide-item p {
  font-size: 11px;
  margin: 0;
  line-height: 1.8;
}
.practice-guide-item a {
  display: inline-block;
  font-size: 10px;
  margin-top: 9px;
  color: #7392bc;
}
.print-filter-panel,
.print-symbols {
  display: none;
}
@media (max-width: 700px) {
  .siaps-practice-filter {
    padding: 16px;
  }
  .practice-filter-heading {
    flex-direction: column;
    gap: 10px;
  }
  .practice-filter-heading h3 {
    font-size: 13px;
  }
  .practice-filter-button {
    font-size: 9px;
    padding: 8px;
    gap: 6px;
  }
  .practice-filter-bar {
    gap: 7px;
  }
  .practice-filter-button b {
    padding: 2px 5px;
  }
  .filter-letter {
    width: 20px;
    height: 20px;
  }
  .practice-filter-active {
    font-size: 9px;
  }
  .practice-filter-active .text-button {
    margin-left: 0;
  }
  #practice-dialog {
    padding: 22px 18px;
  }
  .practice-guide-item {
    padding: 13px;
    gap: 11px;
  }
}
@media print {
  #print-area .print-heading {
    margin-bottom: 10px;
    border-bottom: 2px solid #2d496a;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  #print-area .print-heading p {
    white-space: pre-line;
    max-width: 220mm;
    font-size: 8pt;
    color: #4e5a6a;
  }
  #print-area .print-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 27mm;
    border: 1px solid #a9b9ce;
    border-radius: 5px;
    padding: 8px 12px;
  }
  #print-area .print-total strong {
    font-size: 22pt;
    color: #243e5c;
    line-height: 1.1;
  }
  #print-area .print-total span {
    font-size: 7.5pt;
    margin-top: 5px;
  }
  #print-area .print-filter-panel {
    display: block;
    border: 1px solid #c5d0df;
    border-radius: 5px;
    padding: 9px 11px;
    margin-bottom: 8px;
    break-inside: avoid;
  }
  #print-area .print-filter-panel > b {
    font-size: 7pt;
    letter-spacing: 0.7px;
    color: #60718a;
  }
  #print-area .print-filter-panel > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
  }
  #print-area .print-filter-panel > div > span {
    border: 1px solid #b5c5db;
    border-radius: 4px;
    padding: 4px 7px;
    font-size: 8pt;
    background: #f2f6fb !important;
  }
  #print-area .print-focus {
    border-top: 1px solid #dce3ed;
    padding-top: 7px;
    margin-top: 7px;
    font-size: 8pt;
    line-height: 1.5;
  }
  #print-area .print-symbols {
    display: block;
    font-size: 7.5pt;
    color: #556175;
    margin: 8px 0 10px;
  }
  #print-area table {
    table-layout: fixed;
  }
  #print-area .print-guide-row td {
    padding: 8px 10px;
    border: 1px solid #bac8da;
    background: #f8fafc !important;
    white-space: normal;
  }
  #print-area .print-guide {
    display: block;
    break-inside: avoid;
  }
  #print-area .print-guide > strong {
    font-size: 6.8pt;
    letter-spacing: 0.7px;
    color: #61738b;
    display: block;
    margin-bottom: 6px;
  }
  #print-area .print-guide > div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px 10px;
  }
  #print-area .print-guide > div > span {
    font-size: 7.5pt;
    line-height: 1.5;
    display: flex;
    gap: 5px;
    align-items: flex-start;
  }
  #print-area .print-guide b {
    display: inline-block;
    min-width: 15px;
    text-align: center;
    background: #e6edf6 !important;
    color: #254e82;
    border-radius: 3px;
    font-size: 7.5pt;
  }
  #print-area .print-practice-table th,
  #print-area .print-practice-table td {
    padding: 7px 8px;
    font-size: 8pt;
    line-height: 1.55;
  }
  #print-area .print-practice-table th {
    background: #eaf0f7 !important;
    color: #2e4764;
    border-color: #b5c3d5;
    font-size: 7.5pt;
  }
  #print-area .print-practice-table tbody tr:nth-child(even) {
    background: #f7f9fc !important;
  }
  #print-area .print-practice-table tbody td {
    border-color: #d2dbe6;
  }
  #print-area .print-practice-table:has(th:nth-child(6)) th:nth-child(1),
  #print-area .print-practice-table:has(th:nth-child(6)) tbody td:nth-child(1) {
    width: 4%;
    text-align: center;
    color: #6a7c94;
  }
  #print-area .print-practice-table:has(th:nth-child(6)) th:nth-child(2),
  #print-area .print-practice-table:has(th:nth-child(6)) tbody td:nth-child(2) {
    width: 25%;
  }
  #print-area .print-practice-table:has(th:nth-child(6)) th:nth-child(3),
  #print-area .print-practice-table:has(th:nth-child(6)) tbody td:nth-child(3) {
    width: 9%;
    text-align: center;
  }
  #print-area .print-practice-table:has(th:nth-child(6)) th:nth-child(4),
  #print-area .print-practice-table:has(th:nth-child(6)) tbody td:nth-child(4) {
    width: 16%;
  }
  #print-area .print-practice-table:has(th:nth-child(6)) th:nth-child(5),
  #print-area .print-practice-table:has(th:nth-child(6)) tbody td:nth-child(5) {
    width: 16%;
  }
  #print-area .print-practice-table:has(th:nth-child(6)) th:nth-child(6),
  #print-area .print-practice-table:has(th:nth-child(6)) tbody td:nth-child(6) {
    width: 30%;
  }
  #print-area .print-marks {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    white-space: normal;
  }
  #print-area .print-mark {
    border: 1px solid #bccbdc;
    display: inline-block;
    min-width: 24px;
    text-align: center;
    border-radius: 3px;
    padding: 2px 4px;
    font-size: 7.5pt;
    color: #314e72;
    line-height: 1.35;
    white-space: nowrap;
  }
  #print-area .print-mark-yes {
    background: #edf6ef !important;
    border-color: #a8c6b1;
    color: #285f39;
  }
  #print-area .print-mark-no {
    background: #fff7e8 !important;
    border-color: #d9c59f;
    color: #896729;
  }
  #print-area .print-mark-outside,
  #print-area .print-mark-unknown {
    background: #f0f2f6 !important;
    color: #728098;
    border-color: #cdd5df;
  }
}
@media print {
  html,
  body {
    background: #fff !important;
  }
  #print-area col.print-col-index {
    width: 4%;
  }
  #print-area col.print-col-person {
    width: 25%;
  }
  #print-area col.print-col-micro {
    width: 9%;
  }
  #print-area col.print-col-local {
    width: 16%;
  }
  #print-area col.print-col-siaps {
    width: 16%;
  }
  #print-area col.print-col-pending {
    width: 30%;
  }
}
.shared-mode .environment {
  font-size: 0;
}
.shared-mode .environment:after {
  content: 'Base compartilhada';
  font-size: 10px;
}
.shared-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  margin-bottom: 20px;
  background: #edf5ff;
  border: 1px solid #ccdcf3;
  border-radius: 11px;
}
.shared-toolbar b {
  font-size: 11px;
  color: #4c719f;
}
.shared-toolbar p {
  font-size: 10px;
  color: #7991b1;
  margin: 5px 0 0;
}
.shared-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.shared-actions button {
  font-size: 10px;
  padding: 8px 10px;
}
.shared-login {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: linear-gradient(130deg, #102b4d, #2466a9);
  display: grid;
  place-items: center;
  padding: 20px;
  overflow: auto;
}
.shared-login form {
  background: #fff;
  border: 1px solid #cfdcef;
  padding: 36px;
  max-width: 440px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 25px 80px #08254b50;
}
.login-brand {
  display: block;
  color: #7092bd;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
}
.shared-login h1 {
  font-size: 27px;
  margin: 20px 0 12px;
}
.shared-login p {
  font-size: 12px;
  color: #8496ae;
  line-height: 1.8;
}
.shared-login label {
  font-size: 11px;
  margin-top: 18px;
}
.shared-login input {
  font-size: 14px;
  padding: 12px;
}
.shared-login button {
  width: 100%;
  margin-top: 19px;
}
.shared-login small {
  display: block;
  margin-top: 20px;
  color: #8e9eb2;
  font-size: 10px;
  text-align: center;
}
.shared-locked > .main,
.shared-locked > .sidebar,
.shared-locked > .skip-link {
  visibility: hidden;
}
.shared-user-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 15px;
  align-items: end;
  margin: 20px 0;
}
.shared-user-form button {
  justify-self: start;
  font-size: 11px;
}
#users-dialog {
  max-width: 850px;
  max-height: 85vh;
  overflow: auto;
}
#users-dialog > p {
  font-size: 11px;
}
#users-dialog table {
  margin: 15px 0;
}
#users-dialog #server-backup {
  margin: 20px 0 12px;
}
#users-dialog details {
  font-size: 11px;
  color: #7c8fa9;
}
#shared-audit {
  white-space: pre-wrap;
  font-size: 10px;
  background: #f5f8fc;
  padding: 15px;
  max-height: 240px;
  overflow: auto;
}
#shared-users-list small {
  display: block;
}
#shared-users-list button {
  font-size: 9px;
  padding: 6px 8px;
}
@media (max-width: 700px) {
  .shared-toolbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }
  .shared-login form {
    padding: 27px 22px;
  }
  .shared-actions button {
    font-size: 9px;
  }
  .shared-user-form {
    grid-template-columns: 1fr;
  }
  #users-dialog {
    padding: 22px 18px;
  }
}

#municipal-siaps-dialog {
  max-width: 950px;
  max-height: 85vh;
  overflow: auto;
}
#municipal-siaps-preview table {
  margin: 16px 0;
}
#municipal-siaps-preview td small {
  display: block;
}
#municipal-siaps-dialog > button {
  margin: 12px 6px 0 0;
}
