/* Polishing for the dashboard and login controls. */
header #pageTitle { min-width: 0; }

.stat-action {
  justify-items: start;
  text-align: left;
}
.stat-action > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.stat-action small,
.stat-action strong,
.stat-action em { text-align: left; }

.password-field { position: relative; width: 100%; }
.password-field input { box-sizing: border-box; width: 100%; padding-right: 3.5rem; }
.login-card .password-toggle {
  position: absolute;
  top: 50%;
  right: .55rem;
  display: grid;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  padding: .5rem;
  border: 0;
  border-radius: .65rem;
  background: transparent;
  color: #176f43;
  cursor: pointer;
  transform: translateY(-50%);
}
.login-card .password-toggle:hover { background: #eaf4ee; }
.login-card .password-toggle:focus-visible { outline: 2px solid #176f43; outline-offset: 2px; }
.eye-icon { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.temporary-sample-note { margin: .5rem 0 0; color: #587066; font-size: .85rem; }
.login-card { max-height: calc(100dvh - 40px); height: auto; overflow-y: auto; }
.agency-brand-login { margin-bottom: 12px; }
.login-logo { width: 128px; height: 128px; margin-bottom: 4px; }
.login-card h2 { margin: 6px 0; }
.login-card p { margin: 8px 0 14px; }
.login-card small { margin-top: 10px; }
.dashboard-sample-button { position: absolute; top: 0; right: 0; width: auto!important; min-height: 34px; margin: 0!important; padding: 7px 12px!important; font-size: .82rem!important; line-height: 1.2; }
#dashboard .intro { position: relative; padding-right: 190px; }
@media (max-width: 700px) {
  .stat-action { justify-items: start; text-align: left; }
  .stat-action > span:last-child { align-items: flex-start; }
}
@media (max-width: 750px) {
  .dashboard-sample-button { display: none!important; }
  #dashboard .intro { padding-right: 0; }
  .overlay { padding: 10px; }
  .login-card { width: min(100%, 430px); max-height: calc(100dvh - 20px); padding: 22px 20px; border-radius: 20px; }
  .agency-brand-login { margin-bottom: 10px; padding: 8px; }
  .login-logo { width: 96px; height: 96px; }
  .login-card h2 { font-size: clamp(1.7rem, 8vw, 2.15rem); line-height: 1.08; }
  .login-card p { margin: 7px 0 10px; font-size: .9rem; }
}
