.tenant-portal {
  --ink: #142d3c;
  --muted: #4f6470;
  --teal: #006c65;
  --mint: #8be7cf;
  --line: #dce8e7;
  box-sizing: border-box;
  margin: 0;
  background: #f5f9f8;
  color: var(--ink);
  font: 400 1rem/1.55 system-ui, sans-serif;
}
.tenant-portal *, .tenant-portal *::before, .tenant-portal *::after { box-sizing: inherit; }
.tenant-portal :focus-visible { outline: 3px solid #098a82; outline-offset: 3px; }
.portal-shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.portal-header { background: #fff; border-bottom: 1px solid var(--line); }
.portal-nav, .portal-nav nav, .portal-brand { display: flex; align-items: center; }
.portal-nav { justify-content: space-between; min-height: 76px; gap: 12px; }
.portal-brand { gap: 10px; font-size: 1rem; color: var(--ink); font-weight: 800; line-height: 1.15; text-decoration: none; }
.portal-brand img { object-fit: contain; }
.portal-brand small { display: block; color: var(--muted); font-size: .72rem; font-weight: 500; margin-top: 4px; }
.portal-nav nav { gap: clamp(10px, 3vw, 32px); }
.portal-nav nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-size: 1rem; font-weight: 650; text-decoration: none; }
.portal-nav nav a:hover, .portal-nav nav [aria-current] { color: var(--teal); text-decoration: underline; }
.portal-nav-login { border: 1px solid var(--line); border-radius: 8px; padding-inline: 13px; }
.portal-hero {
  color: #fff;
  background:
    radial-gradient(ellipse at 90% 105%, #15685f 0%, transparent 62%),
    radial-gradient(circle at 12% 24%, #164759 0%, transparent 48%),
    #102c3d;
}
.portal-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 88px); padding-block: clamp(36px, 5vw, 72px); }
.portal-kicker { color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.portal-hero .portal-kicker { color: var(--mint); }
.portal-kicker span { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: currentColor; }
.portal-hero h1 { max-width: 14ch; margin: 0; font-size: clamp(2.6rem, 5.3vw, 5rem); font-weight: 780; line-height: 1.04; letter-spacing: -.055em; }
.portal-hero h1 em { color: var(--mint); font-style: normal; }
.portal-lede { max-width: 46ch; margin: 20px 0 10px; color: #d9eaed; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.portal-hero-link, .portal-text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; text-underline-offset: 4px; }
.portal-hero-link, .portal-hero-link:hover { color: var(--mint); }
.portal-workflow { display: flex; align-items: center; gap: 12px; max-width: 440px; margin-top: 30px; padding: 14px; border: 1px solid #ffffff35; border-radius: 14px; color: var(--mint); background: #ffffff0d; }
.portal-workflow > span { flex: 1; display: grid; justify-items: center; gap: 6px; }
.portal-workflow > i { font-size: .65rem; }
.portal-workflow small { color: #e0eeef; font-size: .78rem; white-space: nowrap; }
.portal-login { scroll-margin-top: 16px; padding: clamp(22px, 3vw, 40px); border-radius: 22px; color: var(--ink); background: #fff; box-shadow: 0 24px 65px #06253260; }
.portal-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #e0f4ed; color: var(--teal); }
.portal-login h2 { margin: 12px 0 4px; font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 780; letter-spacing: -.035em; }
.portal-login > p { margin: 0 0 20px; color: var(--muted); }
.portal-login label { display: block; margin: 0 0 6px; font-weight: 700; font-size: .9rem; }
.portal-input { display: block; width: 100%; min-height: 50px; padding: 10px 13px; border: 1px solid #b8cdcf; border-radius: 9px; background: #f8fbfa; color: var(--ink); font: inherit; }
#txtUserName { margin-bottom: 14px; }
.portal-password { position: relative; }
.portal-password input { padding-right: 50px; }
.portal-password button { position: absolute; top: 3px; right: 3px; width: 44px; height: 44px; border: 0; border-radius: 7px; background: transparent; color: var(--teal); cursor: pointer; }
.portal-password button:hover { background: #e0f4ed; }
.portal-recovery { text-align: right; }
.portal-recovery a, .portal-signup a { display: inline-flex; align-items: center; min-height: 44px; color: var(--teal); font-size: .9rem; font-weight: 700; text-underline-offset: 3px; }
.portal-button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 9px 18px; border: 0; border-radius: 9px; color: #fff; background: var(--teal); font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.portal-button:hover { color: #fff; background: #00534d; }
#loginForm { width: 100%; }
#alrtLoginFailed { display: none; margin: 12px 0 0; }
#alrtLoginFailed p { margin: 0; }
.portal-signup { margin: 4px 0 0; text-align: center; color: var(--muted); font-size: .9rem; }
.portal-status { display: flex; align-items: center; justify-content: center; gap: 6px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.statusCircle { width: 8px; height: 8px; border-radius: 50%; background: #b8c5c8; }
.portal-section { padding-block: clamp(34px, 5vw, 68px); }
.portal-section h2 { margin: 0 0 20px; font-size: clamp(1.65rem, 3.6vw, 2.8rem); font-weight: 780; line-height: 1.15; letter-spacing: -.04em; }
.portal-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.portal-feature { padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.portal-feature h3 { margin: 14px 0 6px; font-size: 1.15rem; font-weight: 750; }
.portal-feature p { margin: 0; color: var(--muted); }
.portal-feature small { display: block; margin-top: 15px; color: var(--teal); font-weight: 700; }
.portal-text-link { margin-top: 10px; color: var(--teal); }
.portal-feature-intro { padding-block: clamp(44px, 8vw, 96px); }
.portal-feature-intro h1 { max-width: 18ch; }
.portal-callout { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 28px; padding: clamp(20px, 4vw, 40px); border-radius: 15px; background: #e0f4ed; }
.portal-callout h2 { margin-bottom: 8px; font-size: clamp(1.35rem, 2.6vw, 2rem); }
.portal-callout p { margin: 0; color: var(--muted); }
#mdlforgotPassword .modal-header { background: #edf6f3; color: var(--ink); }
@media (max-width: 800px) {
  .portal-hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 580px; }
  .portal-intro { order: 1; }
  .portal-workflow { display: none; }
  .portal-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .portal-shell { width: calc(100% - 28px); }
  .portal-nav { min-height: 64px; }
  .portal-brand img { width: 32px; height: 32px; }
  .portal-brand small, .portal-nav-login i { display: none; }
  .portal-nav nav a { font-size: .9rem; }
  .portal-nav-login { padding-inline: 9px; }
  .portal-hero-grid { padding-block: 20px 32px; }
  .portal-cards { grid-template-columns: minmax(0, 1fr); }
}

.portal-public-hero { padding-block: clamp(28px, 5vw, 64px); }
.portal-public-hero h1 { max-width: 24ch; font-size: clamp(2rem, 4.5vw, 3.8rem); }
.portal-public-hero .portal-lede { max-width: 56ch; margin-bottom: 0; }
.portal-trial-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; gap: 20px; }
.portal-form-card { padding: clamp(18px, 3.5vw, 36px); border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.portal-form-card h2 { margin-bottom: 8px; }
.portal-muted, .portal-trial-aside ul { color: var(--muted); }
.portal-trial-aside ul { padding-left: 20px; margin: 12px 0 0; }
.portal-trial-aside li + li { margin-top: 7px; }
.portal-trial-aside .portal-text-link { display: flex; width: fit-content; }
.portal-form-actions { display: flex; align-items: center; gap: 8px 20px; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.portal-form-actions .portal-text-link { margin: 0; }
.portal-narrow { max-width: 620px; }
.portal-policy { max-width: 820px; overflow-wrap: anywhere; }
.portal-policy p, .portal-policy ul { margin: 0 0 1rem; }
.portal-policy strong { color: var(--ink); }
.portal-policy a { color: var(--teal); }
.portal-callout address { margin: 0; color: var(--muted); font-style: normal; }
.portal-public-form .portal-form-card label { font-weight: 650; }
.portal-public-form .portal-form-card label.error { display: block; margin-top: 4px; color: #a42228; font-size: .875rem; }
.portal-public-form .portal-form-card .form-control,
.portal-public-form .portal-form-card .bootstrap-select .dropdown-toggle { min-height: 44px; font-size: 1rem; }
.portal-public-form .portal-form-card .bootstrap-select { max-width: 100%; }
.portal-public-form .portal-form-card .bootstrap-select .dropdown-toggle { overflow: hidden; }
.portal-public-form .modal-header { background: #edf6f3; }
.portal-public-form .share-list-icons { display: flex; justify-content: center; flex-wrap: wrap; }
.portal-public-form .share-list-icons .combine { width: auto; margin: 5px; }
@media (max-width: 800px) {
  .portal-trial-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .portal-nav nav { gap: 8px; }
  .portal-brand { gap: 4px; white-space: nowrap; }
  .portal-brand img { width: 26px; height: 26px; }
  .portal-nav nav a { font-size: .82rem; white-space: nowrap; }
  .portal-nav-login { padding-inline: 7px; }
}
@media (max-width: 360px) {
  .portal-brand img { display: none; }
}
.portal-public-form .portal-form-card .bootstrap-select.form-select {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}


.portal-footer {
  background: #102c3d;
  color: #d9eaed;
  font-size: .95rem;
  overflow-wrap: anywhere;
}
.portal-footer .portal-shell { padding-block: 32px 16px; }
.portal-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.portal-footer h2 { margin: 0 0 6px; color: #fff; font-size: .95rem; font-weight: 750; }
.portal-footer a { color: #c4f4e7; text-decoration: none; }
.portal-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.portal-footer a:focus-visible { outline-color: var(--mint); }
.portal-footer nav > a, .portal-footer-intro > a:not(.portal-brand) {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
}
.portal-footer .portal-brand { color: #fff; width: fit-content; min-height: 44px; }
.portal-footer .portal-brand small { color: #d9eaed; }
.portal-footer-intro p { max-width: 32ch; margin: 10px 0; }
.portal-footer address { margin: 0; font-style: normal; }
.portal-footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 24px;
  border-top: 1px solid #ffffff35;
  margin-top: 22px;
  padding-top: 18px;
}
.portal-footer-payments, .portal-footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.portal-footer-payments img {
  display: block;
  width: 44px;
  height: 28px;
  padding: 4px;
  object-fit: contain;
  border-radius: 5px;
  background: #fff;
}
.portal-footer-payments a, .portal-footer-social a {
  display: inline-grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
}
.portal-footer-social a { border: 1px solid #ffffff35; border-radius: 8px; }
.portal-footer-social a:hover { background: #ffffff18; text-decoration: none; }
.portal-footer-company { margin: 16px 0 0; color: #d9eaed; font-size: .84rem; }
[data-public-footer] > .portal-footer:not(#commonFooterDiv) > .portal-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}
@media (max-width: 800px) {
  .portal-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portal-footer-intro { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .portal-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
