:root {
  --bg: #eaf1fb;
  --panel: #ffffff;
  --ink: #172033;
  --muted: #68748a;
  --line: #d9e1ec;
  --blue: #1f5fbf;
  --blue-dark: #192868;
  --green: #0b8f68;
  --orange: #dd7a18;
  --shadow: 0 28px 86px rgba(15, 37, 92, 0.2);
  --page-gutter: clamp(18px, 2.5vw, 48px);
  --content-width: calc(100% - (var(--page-gutter) * 2));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 16%, rgba(31, 95, 191, 0.1), transparent 32%),
    radial-gradient(circle at 86% 78%, rgba(0, 186, 215, 0.08), transparent 30%),
    linear-gradient(135deg, #eef4fb 0%, #f8fbff 50%, #edf5f6 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

.shell {
  min-height: 100vh;
}

.login-view,
.portal-view {
  min-height: 100vh;
  padding: 32px;
  display: grid;
  place-items: center;
}

.login-view {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(31, 95, 191, 0.62), transparent 32%),
    radial-gradient(circle at 84% 76%, rgba(20, 184, 216, 0.28), transparent 28%),
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(135deg, #101b57 0%, #192868 48%, #1f5fbf 100%);
}

.login-view::before,
.login-view::after {
  position: absolute;
  width: 740px;
  height: 740px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.login-view::before {
  top: -260px;
  right: -140px;
}

.login-view::after {
  bottom: -320px;
  left: -180px;
}

.login-panel {
  width: min(1040px, 100%);
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 1px minmax(340px, 0.85fr);
  position: relative;
  z-index: 1;
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 18px;
  box-shadow: 0 34px 110px rgba(3, 9, 34, 0.34);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.login-panel::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(207, 216, 229, 0.66);
  border-radius: 14px;
  content: "";
  pointer-events: none;
}

.brand-panel,
.access-panel {
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.brand-panel {
  align-items: center;
  gap: 34px;
  text-align: center;
}

.brand-panel p {
  display: none;
}

.switch-logo {
  width: min(520px, 100%);
  height: auto;
  object-fit: contain;
  object-position: center;
}

.portal-logo {
  width: 220px;
  height: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.brand-panel p,
.sso-note,
.access-note,
.app-card span {
  color: var(--muted);
  line-height: 1.55;
}

.divider {
  background: linear-gradient(transparent, var(--line) 18%, var(--line) 82%, transparent);
}

.access-panel {
  gap: 18px;
}

.access-panel .microsoft-button,
.access-panel .sso-note,
.access-panel .login-divider {
  display: none;
}

.microsoft-button,
.primary-button,
.secondary-action {
  min-height: 46px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  font-weight: 750;
  letter-spacing: 0;
}

.microsoft-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #243044;
  border: 1px solid #cfd8e5;
}

.microsoft-button img {
  width: 20px;
  height: 20px;
}

.login-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: #7c879a;
  font-size: 0.86rem;
}

.login-divider::before,
.login-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.login-form {
  display: grid;
  gap: 16px;
}

.login-form label {
  display: grid;
  gap: 9px;
  color: #192868;
  font-size: 0.9rem;
  font-weight: 800;
}

.login-form label > span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.forgot-password {
  padding: 0;
  background: transparent;
  border: 0;
  color: #192868;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
}

.login-form input {
  width: 100%;
  min-height: 56px;
  border-radius: 12px;
  border: 1px solid #dce4ef;
  background: #ffffff;
  color: var(--ink);
  padding: 0 16px;
  outline: none;
}

.login-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(24, 90, 189, 0.12);
}

.primary-button {
  min-height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1f5fbf, #192868);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(31, 95, 191, 0.22);
}

.primary-button:hover,
.secondary-action:hover {
  background: var(--blue-dark);
}

.form-message {
  min-height: 20px;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 700;
}

.access-note {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid #e4ebf4;
  font-size: 0.78rem;
  text-align: center;
}

.portal-view {
  align-content: start;
  place-items: stretch;
  padding: 0 0 32px;
}

.intranet-shell {
  width: var(--content-width);
  margin: 0 auto;
  padding: 28px 0 46px;
}

.portal-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: 92px;
  padding: 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #d7e1ee;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 38px rgba(20, 35, 65, 0.1);
}

.portal-header-inner {
  width: var(--content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-brand {
  display: flex;
  align-items: center;
  min-width: 210px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.main-nav a,
.nav-item > button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #273550;
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.main-nav a:hover,
.nav-item > button:hover,
.nav-item:focus-within > button,
.nav-item:hover > button {
  background: #eef4fb;
  color: var(--blue);
}

.nav-item {
  position: relative;
}

.nav-item::after {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 16px;
  content: "";
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 20;
  min-width: 246px;
  display: grid;
  gap: 3px;
  padding: 9px;
  border: 1px solid rgba(215, 225, 238, 0.82);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 62px rgba(20, 35, 65, 0.13);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition:
    opacity 220ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(18px);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown a,
.nav-subtrigger {
  position: relative;
  justify-content: flex-start;
  width: 100%;
  min-height: 42px;
  padding: 0 12px 0 16px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #334158;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease,
    padding-left 180ms ease;
}

.nav-dropdown a::before,
.nav-subtrigger::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 7px;
  width: 2px;
  border-radius: 999px;
  background: var(--blue);
  opacity: 0;
  content: "";
  transition: opacity 160ms ease;
}

.nav-dropdown a:hover,
.nav-subitem:hover > .nav-subtrigger,
.nav-subitem:focus-within > .nav-subtrigger {
  padding-left: 20px;
  background: rgba(31, 95, 191, 0.07);
  color: var(--blue);
}

.nav-dropdown a:hover::before,
.nav-subitem:hover > .nav-subtrigger::before,
.nav-subitem:focus-within > .nav-subtrigger::before {
  opacity: 1;
}

.nav-subitem {
  position: relative;
}

.nav-subitem::after {
  position: absolute;
  top: 0;
  right: -14px;
  width: 16px;
  height: 100%;
  content: "";
}

.nav-subtrigger {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-subtrigger span {
  margin-left: auto;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1;
}

.nav-subdropdown {
  position: absolute;
  top: -9px;
  left: calc(100% + 10px);
  z-index: 21;
  min-width: 190px;
  display: grid;
  gap: 3px;
  padding: 9px;
  border: 1px solid rgba(215, 225, 238, 0.82);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 54px rgba(20, 35, 65, 0.13);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-4px);
  transition:
    opacity 180ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(18px);
}

.nav-subdropdown-deep {
  min-width: 254px;
}

.nav-subdropdown-wide {
  min-width: 318px;
}

.nav-subitem:hover > .nav-subdropdown,
.nav-subitem:focus-within > .nav-subdropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.user-menu {
  position: relative;
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.avatar-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1b2754;
  cursor: pointer;
}

.avatar-button:hover .avatar-photo {
  box-shadow: 0 0 0 4px rgba(31, 95, 191, 0.12);
}

.avatar-photo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #1b2870, #1f5fbf);
  color: #ffffff;
  font-weight: 850;
}

.avatar-copy {
  display: grid;
  gap: 1px;
  text-align: left;
  line-height: 1.1;
}

.avatar-copy strong {
  font-size: 0.9rem;
}

.avatar-copy small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
}

.avatar-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1100;
  width: 206px;
  display: grid;
  gap: 3px;
  padding: 9px;
  border: 1px solid rgba(215, 225, 238, 0.82);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 62px rgba(20, 35, 65, 0.13);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 220ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(18px);
}

.avatar-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.avatar-menu button {
  position: relative;
  min-height: 42px;
  padding: 0 12px 0 16px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #273550;
  cursor: pointer;
  font-weight: 500;
  text-align: left;
  transition:
    background 160ms ease,
    color 160ms ease,
    padding-left 180ms ease;
}

.avatar-menu button::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 7px;
  width: 2px;
  border-radius: 999px;
  background: var(--blue);
  opacity: 0;
  content: "";
  transition: opacity 160ms ease;
}

.avatar-menu button:hover {
  padding-left: 20px;
  background: rgba(31, 95, 191, 0.07);
  color: var(--blue);
}

.avatar-menu button:hover::before {
  opacity: 1;
}

.dashboard-summary,
.intranet-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 40px rgba(2, 8, 31, 0.1);
}

.home-search {
  min-height: 260px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0;
  padding: 34px 0 28px;
}

.home-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  color: #273550;
}

.regional-date {
  color: #334158;
  font-size: 0.94rem;
  font-weight: 650;
}

.weather-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.weather-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.weather-icon.clear {
  background: #f5b540;
  box-shadow: 0 0 0 5px rgba(245, 181, 64, 0.16);
}

.weather-icon.cloudy {
  background: #9aa9bd;
  box-shadow: 0 0 0 5px rgba(154, 169, 189, 0.14);
}

.weather-icon.fog {
  background: #b8c4d2;
  box-shadow: 0 0 0 5px rgba(184, 196, 210, 0.14);
}

.weather-icon.rain {
  background: #2d8ed6;
  box-shadow: 0 0 0 5px rgba(45, 142, 214, 0.14);
}

.weather-icon.storm {
  background: #6f56c9;
  box-shadow: 0 0 0 5px rgba(111, 86, 201, 0.14);
}

.weather-reading {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.weather-reading strong {
  color: #172033;
  font-size: 0.94rem;
}

.weather-reading small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.home-search .portal-search {
  width: min(680px, 100%);
}

.home-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 10px;
}

.home-panel {
  min-height: 172px;
  padding: 16px;
  border: 1px solid rgba(205, 216, 230, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 32px rgba(20, 35, 65, 0.07);
}

.home-panel-wide {
  grid-column: span 2;
}

.home-panel-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.home-panel-heading span {
  color: #18234e;
  font-size: 0.98rem;
  font-weight: 800;
}

.home-panel-heading small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.home-list,
.home-mini-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-list li,
.home-mini-list li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(215, 225, 238, 0.86);
}

.home-list li:last-child,
.home-mini-list li:last-child {
  border-bottom: 0;
}

.home-list strong,
.home-mini-list strong {
  display: block;
  margin-bottom: 4px;
  color: #172033;
  font-size: 0.9rem;
}

.home-list span,
.home-mini-list span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.birthday-ticker {
  display: grid;
  gap: 10px;
}

.birthday-ticker-header {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(31, 95, 191, 0.07);
  color: #1b2870;
}

.birthday-ticker-header strong {
  font-size: 1rem;
}

.birthday-ticker-header span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.birthday-ticker-window {
  height: 112px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

.birthday-track {
  display: grid;
  gap: 8px;
  animation: birthday-scroll 58s linear infinite;
}

.birthday-ticker:hover .birthday-track {
  animation-play-state: paused;
}

.birthday-row {
  min-height: 48px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.birthday-date {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #1f5fbf;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
}

.birthday-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.birthday-copy strong,
.birthday-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.birthday-copy strong {
  color: #172033;
  font-size: 0.86rem;
}

.birthday-copy small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

@keyframes birthday-scroll {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

.home-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-shortcuts a {
  min-height: 58px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(31, 95, 191, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(237, 244, 253, 0.88));
  color: #172033;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(20, 35, 65, 0.04);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.shortcut-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.38), transparent 34%),
    linear-gradient(145deg, #2a6bd0, #163f99);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(31, 95, 191, 0.22);
}

.shortcut-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.shortcut-icon path,
.shortcut-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-shortcuts a span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.home-shortcuts a strong {
  overflow: hidden;
  color: #18234e;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-shortcuts a small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-shortcuts a:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 95, 191, 0.3);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(20, 35, 65, 0.08);
}

.section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dashboard-summary h1 {
  color: #15204c;
  font-size: 1.55rem;
}

.portal-search input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #ccd7e6;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 0 22px;
  outline: none;
  box-shadow: 0 18px 46px rgba(20, 35, 65, 0.1);
}

.portal-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 95, 191, 0.14);
}

.summary-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.summary-metrics span {
  min-height: 46px;
  display: grid;
  align-content: center;
  padding: 8px 10px;
  border: 1px solid #dde6f2;
  border-radius: 6px;
  background: #f8fbff;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.summary-metrics strong {
  color: #172033;
  font-size: 1.05rem;
}

.systems-section {
  margin-bottom: 18px;
}

.section-heading,
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2,
.panel-heading h2 {
  margin: 0;
  color: #18234e;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.status-pill,
.panel-heading span {
  color: #65738b;
  font-size: 0.82rem;
  font-weight: 750;
}

.status-pill {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eaf7f1;
  color: #08734e;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.app-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(205, 216, 230, 0.92);
  border-top: 5px solid var(--blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(25, 43, 73, 0.08);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(25, 43, 73, 0.16);
  border-color: rgba(24, 90, 189, 0.44);
}

.app-card img {
  width: 100%;
  height: 68px;
  object-fit: contain;
  object-position: left center;
}

.intranet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intranet-panel {
  min-height: 168px;
  padding: 18px;
}

.announcements {
  grid-row: span 2;
}

.compact-panel {
  min-height: 140px;
}

.news-list,
.status-list,
.quick-links,
.document-list {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.news-list {
  list-style: none;
}

.news-list li {
  padding: 14px;
  border: 1px solid #dde6f2;
  border-radius: 6px;
  background: #f8fbff;
}

.news-list strong,
.news-list span,
.status-list span,
.document-list span,
.quick-links a {
  display: block;
}

.news-list strong {
  margin-bottom: 5px;
  color: #172033;
}

.news-list span,
.status-list span,
.document-list span,
.quick-links a {
  color: var(--muted);
  line-height: 1.45;
}

.status-list span,
.document-list span,
.quick-links a {
  padding: 10px 0;
  border-bottom: 1px solid #e2e9f3;
}

.status-list span:last-child,
.document-list span:last-child,
.quick-links a:last-child {
  border-bottom: 0;
}

.quick-links a {
  color: var(--blue);
  font-weight: 750;
  text-decoration: none;
}

.weather-preview {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #dde6f2;
  border-radius: 6px;
  background: #f8fbff;
}

.weather-preview strong {
  display: block;
  margin-bottom: 5px;
  color: #172033;
}

.weather-preview span {
  color: var(--muted);
  line-height: 1.45;
}

.news-page {
  width: var(--content-width);
  margin: 0 auto;
  padding: 28px 32px 46px;
}

.news-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 40px rgba(2, 8, 31, 0.1);
}

.news-page-header h1 {
  color: #15204c;
  font-size: 1.55rem;
}

.news-page-header p {
  max-width: 720px;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.back-home {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #ccd7e6;
  border-radius: 6px;
  background: #26364f;
  color: #ffffff;
  cursor: pointer;
  font-weight: 750;
}

.back-home:hover {
  background: var(--blue);
}

.keypass-page {
  width: var(--content-width);
  margin: 0 auto;
  padding: 28px 0 46px;
}

.keypass-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid #d7e1ee;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(2, 8, 31, 0.08);
}

.keypass-header h1 {
  color: #15204c;
  font-size: 1.55rem;
}

.keypass-header p {
  max-width: 760px;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.keypass-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 18px;
}

.keypass-panel {
  min-height: 520px;
  padding: 18px;
  border: 1px solid #d7e1ee;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(20, 35, 65, 0.08);
}

.keypass-search {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: #273550;
  font-size: 0.86rem;
  font-weight: 750;
}

.keypass-search input,
.keypass-link-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #ccd7e6;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 14px;
  outline: none;
}

.keypass-search input:focus,
.keypass-link-field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 95, 191, 0.12);
}

.keypass-list {
  max-height: 444px;
  display: grid;
  align-content: start;
  gap: 8px;
  overflow: auto;
  padding-right: 4px;
}

.keypass-list button {
  width: 100%;
  min-height: 64px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #172033;
  cursor: pointer;
  text-align: left;
}

.keypass-list button:hover,
.keypass-list button.is-selected {
  border-color: rgba(31, 95, 191, 0.2);
  background: rgba(31, 95, 191, 0.07);
}

.keypass-list button span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  grid-row: span 2;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
}

.keypass-list button strong,
.keypass-list button small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.keypass-list button strong {
  font-size: 0.88rem;
}

.keypass-list button small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
}

.keypass-detail {
  display: grid;
  align-content: start;
  gap: 16px;
}

.keypass-card-preview {
  width: min(380px, 100%);
  min-height: 620px;
  justify-self: center;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 18px;
  padding: 28px 28px 24px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 20% 8%, rgba(31, 95, 191, 0.04), transparent 34%),
    radial-gradient(ellipse at 92% 96%, rgba(31, 95, 191, 0.05), transparent 36%),
    #ffffff;
  color: #192868;
  box-shadow: 0 18px 58px rgba(20, 35, 65, 0.14);
}

.keypass-card-preview::before,
.keypass-card-preview::after {
  position: absolute;
  inset: auto;
  width: 420px;
  height: 180px;
  opacity: 0.42;
  background-image: radial-gradient(ellipse, rgba(25, 40, 104, 0.08) 0 34%, transparent 36%);
  background-size: 32px 18px;
  content: "";
  pointer-events: none;
  transform: rotate(18deg);
}

.keypass-card-preview::before {
  top: -40px;
  right: -110px;
}

.keypass-card-preview::after {
  bottom: -40px;
  left: -120px;
}

.keypass-brand {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  justify-items: center;
  justify-content: center;
  margin-bottom: 2px;
  text-align: center;
}

.keypass-brand img {
  width: min(255px, 88%);
  height: 76px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.keypass-card-person {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.keypass-avatar {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 4px solid #23327b;
  background: linear-gradient(135deg, #1f5fbf, #192868);
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(20, 35, 65, 0.18);
  font-size: 2.2rem;
  font-weight: 900;
}

.keypass-card-person strong,
.keypass-card-person small {
  display: block;
}

.keypass-card-person strong {
  color: #23327b;
  font-size: clamp(1.8rem, 3.4vw, 2.25rem);
  line-height: 1.02;
  font-weight: 760;
}

.keypass-card-person small {
  max-width: 300px;
  margin: 6px auto 0;
  color: #23327b;
  font-size: 1rem;
  line-height: 1.14;
  font-weight: 520;
}

.keypass-card-person small span {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  font-weight: 720;
}

.keypass-card-fields {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 4px;
}

.keypass-card-fields span {
  min-height: 44px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  padding: 0 8px;
  color: #23327b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.keypass-card-fields strong {
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.keypass-card-fields em {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.02rem;
  font-style: normal;
  font-weight: 450;
}

.keypass-qr {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: auto;
  color: #23327b;
}

.keypass-qr img {
  width: 172px;
  height: 172px;
  display: block;
  padding: 8px;
  border-radius: 6px;
  background: #ffffff;
}

.keypass-qr span {
  font-size: 0.78rem;
  font-weight: 700;
}

.keypass-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.keypass-actions button {
  min-height: 42px;
  border: 1px solid rgba(31, 95, 191, 0.18);
  border-radius: 8px;
  background: rgba(31, 95, 191, 0.07);
  color: var(--blue);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.keypass-actions button:hover {
  border-color: rgba(31, 95, 191, 0.36);
  background: rgba(31, 95, 191, 0.12);
}

.keypass-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.keypass-link-field {
  display: grid;
  gap: 8px;
  color: #273550;
  font-size: 0.86rem;
  font-weight: 750;
}

.keypass-status {
  min-height: 20px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 750;
}

.keypass-status.is-error {
  color: #b42318;
}

.keypass-json-preview {
  max-height: 260px;
  overflow: auto;
  margin: 0;
  padding: 14px;
  border: 1px solid #d7e1ee;
  border-radius: 8px;
  background: #f8fbff;
  color: #273550;
  font-size: 0.76rem;
  line-height: 1.5;
}

.keypass-empty {
  padding: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.news-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.news-card {
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border: 1px solid #d7e1ee;
  border-top: 5px solid var(--blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(25, 43, 73, 0.08);
  overflow: hidden;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(25, 43, 73, 0.14);
}

.news-card span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.news-card strong {
  color: #172033;
  font-size: 1.05rem;
}

.news-card p {
  color: var(--muted);
  line-height: 1.5;
}

.news-source-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 10px;
  border-bottom: 1px solid #e2e9f3;
}

.news-source-heading a {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
}

.source-news-list {
  display: grid;
  gap: 12px;
}

.source-news-list a {
  min-height: 74px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #edf2f7;
  color: inherit;
  text-decoration: none;
}

.source-news-list a:last-child {
  border-bottom: 0;
}

.source-news-list a:hover strong {
  color: var(--blue);
}

.source-news-list img,
.source-news-thumb-fallback {
  width: 96px;
  height: 62px;
  display: block;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  background: #eaf1fb;
}

.source-news-thumb-fallback {
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 850;
}

.source-news-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.source-news-list strong {
  color: #172033;
  font-size: 0.98rem;
  line-height: 1.35;
}

.source-news-list small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: capitalize;
}

.network-page {
  width: var(--content-width);
  margin: 0 auto;
  padding: 28px 0 46px;
}

.network-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-bottom: 18px;
}

.network-search button {
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #26364f;
  color: #ffffff;
  cursor: pointer;
  font-weight: 750;
}

.network-search button:hover {
  background: var(--blue);
}

.network-map-shell {
  position: relative;
  height: 620px;
  max-height: calc(100vh - 260px);
  min-height: 460px;
  overflow: hidden;
  border: 1px solid #ccd7e6;
  border-radius: 8px;
  background: #e8eef6;
  box-shadow: 0 18px 48px rgba(20, 35, 65, 0.12);
}

.network-map {
  width: 100%;
  height: 100%;
}

.network-map .leaflet-pane,
.network-map .leaflet-map-pane,
.network-map .leaflet-tile,
.network-map .leaflet-marker-icon,
.network-map .leaflet-marker-shadow,
.network-map .leaflet-tile-container,
.network-map .leaflet-pane > svg,
.network-map .leaflet-pane > canvas,
.network-map .leaflet-zoom-box,
.network-map .leaflet-image-layer,
.network-map .leaflet-layer {
  position: absolute;
  left: 0;
  top: 0;
}

.network-map.leaflet-container,
.network-map .leaflet-container {
  overflow: hidden;
}

.network-map .leaflet-tile {
  user-select: none;
}

.map-layer-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 400;
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(215, 225, 238, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(20, 35, 65, 0.12);
}

.map-layer-toggle button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #1b2754;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.map-layer-toggle button:hover,
.map-layer-toggle button:focus-visible {
  background: rgba(31, 95, 191, 0.08);
}

.map-layer-toggle button.is-active {
  background: #1f5fbf;
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 95, 191, 0.22);
}

.network-result {
  min-height: 22px;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.network-result.is-error {
  color: #b42318;
}

.org-page {
  width: var(--content-width);
  margin: 0 auto;
  padding: 28px 0 46px;
}

.org-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 0.5fr) minmax(280px, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.org-toolbar h1 {
  color: #15204c;
  font-size: 1.55rem;
}

.org-search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #ccd7e6;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 0 16px;
  outline: none;
  box-shadow: 0 12px 30px rgba(20, 35, 65, 0.08);
}

.org-add-button,
.org-form-actions button {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #26364f;
  color: #ffffff;
  cursor: pointer;
  font-weight: 750;
}

.org-add-button:hover,
.org-form-actions button:hover {
  background: var(--blue);
}

.org-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
}

.org-editor {
  border: 1px solid #d7e1ee;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(20, 35, 65, 0.1);
}

.org-chart {
  max-height: calc(100vh - 238px);
  min-height: 500px;
  overflow: auto;
  padding: 16px 0 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.org-tree,
.org-tree ul {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0 0 0 28px;
  list-style: none;
}

.org-tree {
  padding-left: 0;
}

.org-tree ul::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 1px;
  background: #d7e1ee;
  content: "";
}

.org-tree li {
  position: relative;
}

.org-tree ul > li::before {
  position: absolute;
  top: 26px;
  left: -18px;
  width: 18px;
  height: 1px;
  background: #d7e1ee;
  content: "";
}

.org-node {
  min-width: 280px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #d7e1ee;
  border-radius: 8px;
  background: #ffffff;
  color: #172033;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 10px 24px rgba(20, 35, 65, 0.06);
}

.org-node.is-selected,
.org-node:hover {
  border-color: rgba(31, 95, 191, 0.45);
  box-shadow: 0 0 0 3px rgba(31, 95, 191, 0.1);
}

.org-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, #1b2870, #1f5fbf);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 850;
}

.org-node strong,
.org-node small {
  display: block;
}

.org-node strong {
  font-size: 0.94rem;
}

.org-node small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.org-editor {
  padding: 18px;
  align-self: start;
}

.org-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.org-form label {
  display: grid;
  gap: 6px;
  color: #334158;
  font-size: 0.86rem;
  font-weight: 750;
}

.org-form input,
.org-form select {
  min-height: 40px;
  border: 1px solid #ccd7e6;
  border-radius: 6px;
  background: #f8fbff;
  padding: 0 10px;
}

.org-form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.org-form-actions button:last-child {
  border: 1px solid #ccd7e6;
  background: #ffffff;
  color: #273550;
}

.org-editor-note,
.org-empty {
  color: var(--muted);
  line-height: 1.45;
}

.org-editor-note {
  font-size: 0.8rem;
}

.org-workspace {
  grid-template-columns: 272px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.org-levels {
  position: sticky;
  top: 112px;
  align-self: start;
  display: grid;
  align-content: start;
  max-height: calc(100vh - 132px);
  overflow: auto;
  gap: 4px;
  padding: 8px;
  border: 1px solid #d7e1ee;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 34px rgba(20, 35, 65, 0.08);
}

.org-levels button {
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #273550;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 750;
  text-align: left;
}

.org-sidebar-group {
  display: grid;
  gap: 4px;
}

.org-sublevels {
  display: grid;
  gap: 2px;
  max-height: 0;
  overflow: hidden;
  padding-left: 4px;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease;
}

.org-sidebar-group.is-open .org-sublevels {
  max-height: 360px;
  opacity: 1;
  transform: translateY(0);
}

.org-sublevels button {
  min-height: 30px;
  position: relative;
  padding-left: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  white-space: nowrap;
}

.org-sublevels button::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 4px;
  width: 2px;
  border-radius: 999px;
  background: transparent;
  content: "";
}

.org-sublevels button:hover::before,
.org-sublevels button.is-active::before {
  background: var(--blue);
}

.org-levels button:hover,
.org-levels button.is-active {
  background: rgba(31, 95, 191, 0.08);
  color: var(--blue);
}

.org-main {
  position: relative;
  display: grid;
  min-width: 0;
}

.org-chart-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  display: flex;
  gap: 8px;
}

.org-chart-actions button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(204, 215, 230, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #1b2870;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(20, 35, 65, 0.1);
}

.org-chart-actions button:hover {
  border-color: rgba(31, 95, 191, 0.45);
  color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 95, 191, 0.1);
}

.org-chart-actions button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.org-chart-actions svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.org-export-stage {
  position: fixed;
  left: -100000px;
  top: 0;
  z-index: -1;
  display: grid;
  place-items: center;
  overflow: visible;
  padding: 64px;
  background: transparent;
  pointer-events: none;
}

.org-export-stage .org-chart {
  width: 100%;
  min-height: 0;
  max-height: none;
  display: grid;
  place-items: center;
  overflow: visible;
  padding: 0;
  background: transparent;
}

.org-export-stage .org-pdf-tree {
  transform-origin: center center;
}

.org-export-stage .org-pdf-tree-team {
  width: 1500px;
  min-width: 1500px;
}

.org-export-stage .org-team-columns {
  --team-node-w: 235px;
  --team-gap: 30px;
}

.org-export-stage .org-team-columns::before {
  left: calc((var(--team-node-w) / 2) + 1px);
  right: calc((var(--team-node-w) / 2) + 1px);
}

.org-export-stage .org-pdf-tree-team .org-compact-single::after {
  bottom: -36px;
  height: 36px;
}

.org-export-stage .org-team-column::before {
  top: -36px;
  height: 36px;
}

.org-main.is-expanded {
  position: fixed;
  inset: 0;
  z-index: 1400;
  padding: 22px;
  background: linear-gradient(120deg, #f7fbff 0%, #eef5ff 52%, #e9fbfd 100%);
}

.org-main.is-expanded .org-chart {
  max-height: none;
  height: calc(100vh - 44px);
  padding-top: 58px;
}

.org-main.is-expanded .org-chart-actions {
  top: 22px;
  right: 22px;
}

.org-breadcrumb {
  display: none;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.org-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.org-card-grid-ceo {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.org-card-grid-ceo .org-card:first-child {
  grid-column: 1 / -1;
  width: min(420px, 100%);
  justify-self: center;
}

.org-hierarchy {
  min-width: 760px;
  display: grid;
  justify-items: center;
  padding: 2px 0 20px;
}

.org-hierarchy-vp {
  min-width: 1320px;
}

.org-pdf-tree {
  --org-connector: #20347d;
  width: min(100%, 1480px);
  min-width: 1160px;
  display: grid;
  justify-items: center;
  margin-inline: auto;
  padding: 12px 10px 40px;
}

.org-compact-root {
  position: relative;
  padding-bottom: 42px;
}

.org-compact-root::after {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 42px;
  background: var(--org-connector);
  content: "";
}

.org-compact-level {
  --node-gap: clamp(14px, 1.8vw, 30px);
  --node-w: clamp(190px, 12vw, 230px);
  position: relative;
  width: max-content;
  display: flex;
  justify-content: center;
  gap: var(--node-gap);
  padding-top: 34px;
}

.org-compact-level::before {
  position: absolute;
  z-index: 0;
  top: 0;
  left: calc(var(--node-w) / 2);
  right: calc(var(--node-w) / 2);
  height: 1px;
  background: var(--org-connector);
  content: "";
}

.org-compact-level .org-compact-card {
  position: relative;
}

.org-compact-level .org-compact-card::before {
  position: absolute;
  z-index: -1;
  top: -34px;
  left: 50%;
  width: 1px;
  height: 33px;
  background: var(--org-connector);
  content: "";
}

.org-compact-support {
  margin-bottom: 42px;
}

.org-pdf-tree-simple .org-compact-support {
  --node-gap: clamp(56px, 5vw, 110px);
  --node-w: clamp(260px, 18vw, 340px);
  margin-bottom: 0;
}

.org-compact-support::after {
  position: absolute;
  z-index: 0;
  left: calc(var(--node-w) + var(--node-gap) + (var(--node-w) / 2));
  bottom: -42px;
  width: 1px;
  height: 42px;
  background: var(--org-connector);
  content: "";
}

.org-pdf-tree-simple .org-compact-support::after {
  display: none;
}

.org-pdf-tree-simple {
  width: min(100%, 1280px);
  min-width: 980px;
  padding-top: 22px;
}

.org-pdf-tree-simple .org-compact-root {
  padding-bottom: 56px;
}

.org-pdf-tree-simple .org-compact-root::after {
  height: 56px;
}

.org-pdf-tree-simple .org-compact-level {
  padding-top: 48px;
}

.org-pdf-tree-simple .org-compact-level .org-compact-card::before {
  top: -48px;
  height: 47px;
}

.org-pdf-tree-simple .org-compact-root .org-compact-card {
  width: clamp(300px, 22vw, 390px);
}

.org-pdf-tree-simple .org-compact-card {
  min-height: 78px;
  grid-template-columns: 68px minmax(0, 1fr);
  padding-right: 18px;
}

.org-pdf-tree-simple .org-compact-card .org-avatar {
  width: 78px;
  height: 78px;
  margin-left: -13px;
  font-size: 1rem;
}

.org-pdf-tree-simple .org-compact-card .org-card-copy strong {
  font-size: clamp(1rem, 0.85vw, 1.16rem);
}

.org-pdf-tree-simple .org-compact-card .org-card-copy small {
  font-size: clamp(0.76rem, 0.62vw, 0.86rem);
}

.org-pdf-tree-location .org-compact-card {
  min-height: 88px;
  grid-template-columns: 76px minmax(0, 1fr);
  padding-right: 24px;
}

.org-pdf-tree-location .org-compact-card .org-avatar {
  width: 88px;
  height: 88px;
  margin-left: -14px;
}

.org-pdf-tree-location .org-compact-card .org-card-copy {
  gap: 1px;
}

.org-pdf-tree-location .org-compact-card .org-card-copy strong {
  font-size: clamp(0.94rem, 0.78vw, 1.08rem);
}

.org-pdf-tree-location .org-compact-card .org-card-copy small {
  font-size: clamp(0.66rem, 0.55vw, 0.76rem);
}

.org-compact-card .org-card-location {
  font-weight: 700;
}

.org-pdf-tree-team {
  width: min(100%, 1500px);
  min-width: 1180px;
  padding-top: 10px;
}

.org-pdf-tree-team .org-compact-root {
  padding-bottom: 22px;
}

.org-pdf-tree-team .org-compact-root .org-compact-card,
.org-pdf-tree-team .org-compact-single .org-compact-card {
  width: clamp(270px, 17vw, 320px);
  min-height: 78px;
  grid-template-columns: 72px minmax(0, 1fr);
  padding-right: 18px;
}

.org-pdf-tree-team .org-compact-root .org-avatar,
.org-pdf-tree-team .org-compact-single .org-avatar {
  width: 78px;
  height: 78px;
  margin-left: -8px;
  font-size: 0.9rem;
}

.org-pdf-tree-team .org-compact-root .org-card-copy strong,
.org-pdf-tree-team .org-compact-single .org-card-copy strong {
  font-size: clamp(0.94rem, 0.78vw, 1.08rem);
}

.org-pdf-tree-team .org-compact-root .org-card-copy small,
.org-pdf-tree-team .org-compact-single .org-card-copy small {
  font-size: clamp(0.66rem, 0.55vw, 0.76rem);
}

.org-pdf-tree-team .org-compact-root::after {
  left: 50%;
  bottom: -22px;
  height: 44px;
}

.org-pdf-tree-team .org-compact-single {
  --node-w: clamp(270px, 17vw, 320px);
  padding-top: 22px;
  margin-bottom: 34px;
}

.org-pdf-tree-team .org-compact-single .org-compact-card::before {
  display: none;
}

.org-pdf-tree-team .org-compact-single::after {
  display: block;
  left: 50%;
  bottom: -33px;
  height: 33px;
}

.org-team-columns {
  --team-node-w: clamp(190px, 12vw, 235px);
  --team-gap: clamp(16px, 1.7vw, 30px);
  position: relative;
  width: max-content;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--team-gap);
  padding-top: 36px;
}

.org-team-columns::before {
  position: absolute;
  z-index: 2;
  top: 0;
  left: calc(var(--team-node-w) / 2);
  right: calc(var(--team-node-w) / 2);
  height: 1px;
  background: var(--org-connector);
  content: "";
}

.org-team-column {
  position: relative;
  z-index: 1;
  flex: 0 0 var(--team-node-w);
  width: var(--team-node-w);
  display: grid;
  gap: 12px;
}

.org-team-column::before {
  position: absolute;
  z-index: 0;
  top: -35px;
  left: 50%;
  width: 1px;
  height: 35px;
  background: var(--org-connector);
  content: "";
}

.org-team-column .org-compact-card {
  width: 100%;
  min-height: 70px;
  grid-template-columns: 58px minmax(0, 1fr);
}

.org-team-column .org-compact-card .org-avatar {
  width: 70px;
  height: 70px;
  margin-left: -12px;
  font-size: 0.72rem;
}

.org-team-column .org-compact-card .org-card-copy strong {
  font-size: clamp(0.76rem, 0.62vw, 0.88rem);
}

.org-team-column .org-compact-card .org-card-copy small {
  font-size: clamp(0.56rem, 0.48vw, 0.66rem);
  line-height: 1.02;
}

.org-wholesale-pairs {
  --pair-node-w: clamp(230px, 15vw, 300px);
  --pair-gap: clamp(52px, 5vw, 86px);
  position: relative;
  width: max-content;
  display: grid;
  gap: 12px;
  padding-top: 36px;
}

.org-wholesale-pairs::before {
  position: absolute;
  z-index: 0;
  top: 0;
  left: calc(var(--pair-node-w) / 2);
  right: calc(var(--pair-node-w) / 2);
  height: 1px;
  background: var(--org-connector);
  content: "";
}

.org-wholesale-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--pair-node-w) var(--pair-node-w);
  gap: var(--pair-gap);
}

.org-wholesale-row::before,
.org-wholesale-row::after {
  position: absolute;
  z-index: -1;
  top: -36px;
  width: 1px;
  height: 36px;
  background: var(--org-connector);
  content: "";
}

.org-wholesale-row:not(:first-child)::before,
.org-wholesale-row:not(:first-child)::after {
  display: none;
}

.org-wholesale-row::before {
  left: calc(var(--pair-node-w) / 2);
}

.org-wholesale-row::after {
  right: calc(var(--pair-node-w) / 2);
}

.org-wholesale-row:not(.has-pair)::after {
  display: none;
}

.org-wholesale-cell {
  position: relative;
}

.org-wholesale-cell .org-compact-card {
  width: 100%;
  min-height: 78px;
  grid-template-columns: 64px minmax(0, 1fr);
}

.org-wholesale-cell .org-compact-card .org-avatar {
  width: 78px;
  height: 78px;
  margin-left: -12px;
  font-size: 0.74rem;
}

.org-wholesale-cell .org-compact-card .org-card-copy strong {
  font-size: clamp(0.84rem, 0.68vw, 0.96rem);
}

.org-wholesale-cell .org-compact-card .org-card-copy small {
  font-size: clamp(0.6rem, 0.5vw, 0.7rem);
}

.org-wholesale-management {
  --management-node-w: clamp(260px, 18vw, 340px);
  --management-gap: clamp(56px, 6vw, 110px);
  position: relative;
  width: max-content;
  display: grid;
  grid-template-columns: repeat(2, var(--management-node-w));
  gap: var(--management-gap);
  padding-top: 22px;
  margin-bottom: 34px;
}

.org-wholesale-management::before {
  position: absolute;
  z-index: 0;
  top: 0;
  left: calc(var(--management-node-w) / 2);
  right: calc(var(--management-node-w) / 2);
  height: 1px;
  background: var(--org-connector);
  content: "";
}

.org-wholesale-management::after {
  position: absolute;
  z-index: 0;
  top: -22px;
  left: 50%;
  width: 1px;
  height: 22px;
  background: var(--org-connector);
  content: "";
}

.org-wholesale-management-card {
  position: relative;
}

.org-wholesale-management-card::before {
  position: absolute;
  z-index: -1;
  top: -22px;
  left: 50%;
  width: 1px;
  height: 22px;
  background: var(--org-connector);
  content: "";
}

.org-wholesale-management-card .org-compact-card {
  width: 100%;
}

.org-wholesale-branches {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: clamp(44px, 4vw, 72px);
  align-items: start;
}

.org-wholesale-commercial,
.org-wholesale-relationship {
  display: grid;
  justify-items: center;
}

.org-wholesale-relationship {
  position: relative;
  gap: 18px;
}

.org-wholesale-side-card {
  justify-self: end;
  width: clamp(220px, 15vw, 300px);
}

.org-wholesale-hub {
  position: relative;
  width: clamp(260px, 18vw, 340px);
  padding-top: 26px;
}

.org-wholesale-hub::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 26px;
  background: var(--org-connector);
  content: "";
}

.org-wholesale-hub .org-compact-card {
  width: 100%;
  min-height: 76px;
}

.org-wholesale-subteams {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, clamp(210px, 14vw, 280px));
  gap: clamp(24px, 3vw, 48px);
  padding-top: 34px;
}

.org-wholesale-subteams::before {
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 1px;
  background: var(--org-connector);
  content: "";
}

.org-wholesale-subteam {
  position: relative;
  display: grid;
  gap: 10px;
}

.org-wholesale-subteam::before {
  position: absolute;
  z-index: -1;
  top: -34px;
  left: 50%;
  width: 1px;
  height: 34px;
  background: var(--org-connector);
  content: "";
}

.org-wholesale-subteam .org-compact-card,
.org-wholesale-side-card .org-compact-card {
  width: 100%;
  min-height: 70px;
  grid-template-columns: 58px minmax(0, 1fr);
}

.org-wholesale-subteam .org-compact-card .org-avatar,
.org-wholesale-side-card .org-compact-card .org-avatar {
  width: 70px;
  height: 70px;
  margin-left: -12px;
  font-size: 0.72rem;
}

.org-wholesale-subteam .org-compact-card .org-card-copy strong,
.org-wholesale-side-card .org-compact-card .org-card-copy strong {
  font-size: clamp(0.78rem, 0.64vw, 0.9rem);
}

.org-wholesale-subteam .org-compact-card .org-card-copy small,
.org-wholesale-side-card .org-compact-card .org-card-copy small {
  font-size: clamp(0.6rem, 0.5vw, 0.7rem);
}

.org-compact-support .org-compact-card {
  flex: 0 0 var(--node-w);
  width: var(--node-w);
}

.org-compact-directors {
  --node-gap: clamp(12px, 1vw, 22px);
  --node-w: clamp(166px, 9vw, 190px);
  position: relative;
  width: max-content;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--node-gap);
  padding-top: 34px;
}

.org-compact-directors::before {
  position: absolute;
  z-index: 0;
  top: 0;
  left: calc(var(--node-w) / 2);
  right: calc(var(--node-w) / 2);
  height: 1px;
  background: var(--org-connector);
  content: "";
}

.org-director-stack {
  position: relative;
  flex: 0 0 var(--node-w);
  width: var(--node-w);
  display: grid;
  gap: 24px;
}

.org-director-stack::before {
  position: absolute;
  z-index: 0;
  top: -34px;
  left: 50%;
  width: 1px;
  height: 33px;
  background: var(--org-connector);
  content: "";
}

.org-director-stack > .org-compact-card {
  width: 100%;
}

.org-compact-root .org-compact-card {
  width: 230px;
}

.org-compact-card {
  position: relative;
  z-index: 1;
  min-height: 56px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  padding: 0 12px 0 0;
  border: 1px solid rgba(31, 95, 191, 0.2);
  border-radius: 999px;
  background: transparent;
  color: #1b2870;
  cursor: pointer;
  text-align: center;
  box-shadow: none;
}

.org-compact-card .org-avatar {
  width: 56px;
  height: 56px;
  margin-left: -10px;
  border: 0;
  background: linear-gradient(135deg, #1b2870, #1f5fbf);
  font-size: 0.78rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
}

.org-compact-card .org-card-copy {
  min-width: 0;
  justify-items: center;
  gap: 1px;
}

.org-compact-card .org-card-copy strong {
  max-width: 100%;
  color: #1b2870;
  font-size: clamp(0.74rem, 0.6vw, 0.86rem);
  line-height: 1.04;
  white-space: normal;
}

.org-compact-card .org-card-copy small {
  max-width: 100%;
  color: #1b2870;
  font-size: clamp(0.58rem, 0.48vw, 0.68rem);
  line-height: 1.04;
  white-space: normal;
}

.org-compact-card:hover,
.org-compact-card.is-selected {
  border-color: rgba(31, 95, 191, 0.45);
  box-shadow: 0 0 0 3px rgba(31, 95, 191, 0.1);
}

.org-level {
  width: 100%;
  display: flex;
  justify-content: center;
}

.org-level-top {
  position: relative;
  padding-bottom: 42px;
}

.org-level-top::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 42px;
  background: #cbd7e6;
  content: "";
}

.org-level-top .org-card {
  width: min(420px, 100%);
}

.org-level-children {
  position: relative;
  width: max-content;
  max-width: 100%;
  gap: 18px;
  padding-top: 42px;
  flex-wrap: nowrap;
}

.org-level-children::before {
  position: absolute;
  top: 0;
  left: 64px;
  right: 64px;
  height: 1px;
  background: #cbd7e6;
  content: "";
}

.org-level-children .org-card {
  position: relative;
  width: 200px;
  min-width: 200px;
}

.org-level-children .org-card::before {
  position: absolute;
  top: -42px;
  left: 50%;
  width: 1px;
  height: 42px;
  background: #cbd7e6;
  content: "";
}

.org-level-support {
  margin-bottom: 28px;
}

.org-level-support .org-card {
  width: 230px;
  min-width: 230px;
}

.org-level-directors {
  width: max-content;
  max-width: none;
  display: flex;
  justify-content: center;
  gap: 18px;
  padding-top: 42px;
}

.org-level-directors::before {
  left: 82px;
  right: 82px;
}

.org-level-directors .org-card {
  width: 164px;
  min-width: 164px;
  min-height: 148px;
}

.org-level-directors .org-card::before {
  height: 42px;
}

.org-card {
  min-height: 136px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid #d7e1ee;
  border-radius: 8px;
  background: #ffffff;
  color: #172033;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 10px 24px rgba(20, 35, 65, 0.06);
}

.org-card .org-avatar {
  width: 44px;
  height: 44px;
  font-size: 0.88rem;
}

.org-card:hover,
.org-card.is-selected {
  border-color: rgba(31, 95, 191, 0.45);
  box-shadow: 0 0 0 3px rgba(31, 95, 191, 0.1);
}

.org-card-copy {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.org-card-copy strong,
.org-card-copy small,
.org-card-copy em {
  display: block;
}

.org-card-copy strong {
  font-size: 1rem;
}

.org-card-copy small {
  color: var(--muted);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 650;
}

.org-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(4px);
}

.org-modal-panel {
  width: min(560px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  padding: 20px;
  border: 1px solid #d7e1ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
}

.org-modal-close {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #ccd7e6;
  border-radius: 6px;
  background: #ffffff;
  color: #273550;
  cursor: pointer;
  font-weight: 750;
}

.dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
}

.dot.online {
  background: var(--green);
}

.dot.pending {
  background: var(--orange);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-card.score {
  border-top-color: var(--blue);
}

.app-card.pulse {
  border-top-color: var(--green);
}

.app-card.sales {
  border-top-color: var(--orange);
}

.is-hidden {
  display: none;
}

@media (max-width: 860px) {
  .login-view,
  .portal-view {
    padding: 0 0 18px;
  }

  .login-panel {
    grid-template-columns: 1fr;
  }

  .divider {
    height: 1px;
    background: var(--line);
  }

  .brand-panel,
  .access-panel {
    padding: 30px;
  }

  .portal-header {
    padding: 14px 18px;
  }

  .nav-brand,
  .main-nav,
  .user-menu {
    width: 100%;
    min-width: 0;
  }

  .main-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav-dropdown {
    left: 0;
    transform: translateY(14px);
  }

  .nav-item:hover .nav-dropdown,
  .nav-item:focus-within .nav-dropdown {
    transform: translateY(0);
  }

  .user-menu {
    justify-content: space-between;
  }

  .portal-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .intranet-shell {
    width: calc(100% - 36px);
    padding: 20px 0 34px;
  }

  .news-page,
  .keypass-page,
  .news-page-header {
    padding: 20px 18px;
  }

  .news-page-header,
  .keypass-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .keypass-layout,
  .keypass-actions,
  .keypass-card-meta {
    grid-template-columns: 1fr;
  }

  .keypass-panel {
    min-height: auto;
  }

  .news-cards {
    grid-template-columns: 1fr;
  }

  .network-page {
    width: calc(100% - 36px);
    padding: 20px 0 34px;
  }

  .network-search {
    grid-template-columns: 1fr;
  }

  .network-map-shell {
    min-height: 360px;
  }

  .org-page {
    width: calc(100% - 36px);
    padding: 20px 0 34px;
  }

  .org-toolbar,
  .org-workspace,
  .home-dashboard {
    grid-template-columns: 1fr;
  }

  .home-panel-wide {
    grid-column: auto;
  }

  .org-card-grid,
  .org-card-grid-ceo {
    grid-template-columns: 1fr;
  }

  .org-chart {
    max-height: none;
    min-height: 420px;
  }

  .org-levels {
    position: static;
    max-height: none;
  }

  .dashboard-summary,
  .intranet-grid {
    grid-template-columns: 1fr;
  }

  .apps-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  body.is-printing-org * {
    visibility: hidden !important;
  }

  body.is-printing-org #orgChart,
  body.is-printing-org #orgChart * {
    visibility: visible !important;
  }

  body.is-printing-org #orgChart {
    position: absolute;
    inset: 0;
    max-height: none;
    overflow: visible;
    padding: 18px;
    background: #ffffff;
  }

  body.is-printing-org .org-chart-actions {
    display: none !important;
  }
}

/* Home regional background - business units */
#homePage {
  position: relative;
  min-height: calc(100vh - 92px);
  isolation: isolate;
}

.home-city-slideshow,
#homePage::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}

.home-city-slideshow {
  z-index: -3;
  overflow: hidden;
}

.home-city-frame {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.72), rgba(248, 251, 255, 0.88) 46%, rgba(248, 251, 255, 0.95)),
    linear-gradient(90deg, rgba(31, 95, 191, 0.22), rgba(255, 255, 255, 0.16) 52%, rgba(0, 186, 215, 0.18));
  background-position: center top;
  background-size: cover;
  opacity: 0;
  transform: scale(1);
  animation: home-city-fade 63s ease-in-out infinite;
  animation-delay: calc((var(--city-index, 0) * 7s) - 0.8s);
  will-change: opacity, transform;
}

.home-city-brasilia {
  background-image:
    linear-gradient(180deg, rgba(248, 251, 255, 0.72), rgba(248, 251, 255, 0.88) 46%, rgba(248, 251, 255, 0.95)),
    linear-gradient(90deg, rgba(31, 95, 191, 0.22), rgba(255, 255, 255, 0.16) 52%, rgba(0, 186, 215, 0.18)),
    url("assets/home-brasilia-ponte-jk.png");
}

.home-city-porto-alegre {
  background-image:
    linear-gradient(180deg, rgba(248, 251, 255, 0.7), rgba(248, 251, 255, 0.88) 46%, rgba(248, 251, 255, 0.96)),
    linear-gradient(90deg, rgba(31, 95, 191, 0.2), rgba(255, 255, 255, 0.18) 52%, rgba(0, 186, 215, 0.16)),
    url("assets/home-porto-alegre.png");
}

.home-city-sao-paulo {
  background-image:
    linear-gradient(180deg, rgba(248, 251, 255, 0.7), rgba(248, 251, 255, 0.88) 46%, rgba(248, 251, 255, 0.96)),
    linear-gradient(90deg, rgba(31, 95, 191, 0.2), rgba(255, 255, 255, 0.18) 52%, rgba(0, 186, 215, 0.16)),
    url("assets/home-sao-paulo.png");
}

.home-city-florianopolis {
  background-image:
    linear-gradient(180deg, rgba(248, 251, 255, 0.7), rgba(248, 251, 255, 0.88) 46%, rgba(248, 251, 255, 0.96)),
    linear-gradient(90deg, rgba(31, 95, 191, 0.2), rgba(255, 255, 255, 0.18) 52%, rgba(0, 186, 215, 0.16)),
    url("assets/home-florianopolis.png");
}

.home-city-curitiba {
  background-image:
    linear-gradient(180deg, rgba(248, 251, 255, 0.7), rgba(248, 251, 255, 0.88) 46%, rgba(248, 251, 255, 0.96)),
    linear-gradient(90deg, rgba(31, 95, 191, 0.2), rgba(255, 255, 255, 0.18) 52%, rgba(0, 186, 215, 0.16)),
    url("assets/home-curitiba.png");
}

.home-city-goiania {
  background-image:
    linear-gradient(180deg, rgba(248, 251, 255, 0.7), rgba(248, 251, 255, 0.88) 46%, rgba(248, 251, 255, 0.96)),
    linear-gradient(90deg, rgba(31, 95, 191, 0.2), rgba(255, 255, 255, 0.18) 52%, rgba(0, 186, 215, 0.16)),
    url("assets/home-goiania.png");
}

.home-city-salvador {
  background-image:
    linear-gradient(180deg, rgba(248, 251, 255, 0.7), rgba(248, 251, 255, 0.88) 46%, rgba(248, 251, 255, 0.96)),
    linear-gradient(90deg, rgba(31, 95, 191, 0.2), rgba(255, 255, 255, 0.18) 52%, rgba(0, 186, 215, 0.16)),
    url("assets/home-salvador.png");
}

.home-city-recife {
  background-image:
    linear-gradient(180deg, rgba(248, 251, 255, 0.7), rgba(248, 251, 255, 0.88) 46%, rgba(248, 251, 255, 0.96)),
    linear-gradient(90deg, rgba(31, 95, 191, 0.2), rgba(255, 255, 255, 0.18) 52%, rgba(0, 186, 215, 0.16)),
    url("assets/home-recife.png");
}

.home-city-fortaleza {
  background-image:
    linear-gradient(180deg, rgba(248, 251, 255, 0.7), rgba(248, 251, 255, 0.88) 46%, rgba(248, 251, 255, 0.96)),
    linear-gradient(90deg, rgba(31, 95, 191, 0.2), rgba(255, 255, 255, 0.18) 52%, rgba(0, 186, 215, 0.16)),
    url("assets/home-fortaleza.png");
}

#homePage::after {
  z-index: -1;
  background:
    radial-gradient(circle at 16% 12%, rgba(31, 95, 191, 0.16), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(0, 186, 215, 0.13), transparent 34%);
  content: "";
}

@keyframes home-city-fade {
  0%,
  1.3% {
    opacity: 0;
    transform: scale(1.01);
  }

  2.2%,
  9% {
    opacity: 1;
    transform: scale(1.035);
  }

  10.2%,
  100% {
    opacity: 0;
    transform: scale(1.06);
  }
}

#homePage .home-panel,
#homePage .portal-search input {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}
