/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--dmg-font-family, "Segoe UI", sans-serif);
  min-height: 100vh;
  background: var(--dmg-page-gradient, linear-gradient(180deg, #fff8df 0%, #f6f0d5 48%, #eef4df 100%));
  color: var(--dmg-ink, #1f2a1d);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.auth-page {
  min-height: 100vh;
  background: var(--dmg-page-gradient, linear-gradient(180deg, #fff8df 0%, #f6f0d5 52%, #eef4df 100%));
}

.auth-shell {
  width: min(1220px, calc(100vw - 32px));
  margin: 10px auto;
  padding: 5% 0;
  flex: 1 0 auto;
}

.auth-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 500px);
  gap: 22px;
  align-items: stretch;
}

/* Keep the card in the artwork's open right-hand area while the image fills
   every viewport size. */
.auth-page-login {
  background: #f4f3d9;
}

.auth-page-login .auth-shell {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.auth-login-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: 24px clamp(16px, 25vw, 510px) 24px clamp(16px, 4vw, 80px);
  overflow: hidden;
  background: var(--dmg-auth-login-image) center center / cover no-repeat;
}

.auth-login-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(250, 248, 239, 0.02) 45%,
    rgba(250, 248, 239, 0.16) 100%
  );
  pointer-events: none;
}

.auth-page-login .auth-login-card {
  top: 50px;
  position: relative;
  z-index: 1;
  width: min(clamp(460px, 23vw, 540px), calc(100vw - 32px));
  max-width: 100%;
  min-width: 0;
  flex: 0 1 auto;
  min-height: 0;
  padding: clamp(32px, 2.6vw, 46px);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.94);
  border-color: rgba(210, 199, 168, 0.82);
  box-shadow: 0 20px 48px rgba(31, 42, 29, 0.18);
  backdrop-filter: blur(7px);
}

.auth-page-login .auth-login-card::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 150px;
  height: 110px;
  background: url("/assets/site/images/brand/C/dmg-botanical-pattern.svg") right bottom / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

.auth-login-card .auth-card-shell {
  position: relative;
  z-index: 1;
  gap: 26px;
  height: auto;
  min-width: 0;
}

.auth-login-card .auth-card-shell > *,
.auth-login-card .auth-field,
.auth-login-card .auth-input-wrap,
.auth-login-card .auth-input-wrap input {
  min-width: 0;
}

.auth-platform-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--dmg-green, #0f5a34);
}

.auth-platform-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--dmg-olive, #7c8f3a);
}

.auth-platform-name {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  min-width: 0;
}

.auth-platform-name strong {
  color: var(--dmg-green-dark, #063b24);
}

.auth-platform-name em {
  color: var(--dmg-olive, #7c8f3a);
  font-style: normal;
}

.auth-platform-description {
  margin: 14px 0 0;
  color: var(--dmg-ink, #1f2a1d);
  font-size: 15px;
  line-height: 1.75;
  text-align: center;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-wrap > svg {
  position: absolute;
  left: 15px;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--dmg-green-dark, #063b24);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  z-index: 1;
}

.auth-form .auth-input-wrap input {
  padding-left: 48px;
  padding-right: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.auth-password-toggle {
  position: absolute;
  right: 13px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--dmg-ink, #1f2a1d);
  cursor: pointer;
}

.auth-password-toggle svg,
.auth-submit svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-login-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -4px;
  font-size: 14px;
}

.auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dmg-ink, #1f2a1d);
  cursor: pointer;
  flex-shrink: 0;
}

.auth-login-options .auth-text-link {
  margin-left: auto;
  white-space: nowrap;
  font-weight: 400;
  text-decoration: underline;
}

.auth-remember input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  border: 0;
  margin: 0;
  accent-color: var(--dmg-green, #0f5a34);
}

.auth-login-card .auth-submit {
  min-height: 54px;
  border-radius: 999px;
  font-size: 16px;
}

.auth-login-motto {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 9px;
  padding-top: 26px;
  border-top: 0;
  color: var(--dmg-green, #0f5a34);
  text-align: center;
}

.auth-login-motto::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  width: 84%;
  height: 22px;
  background: url("/assets/site/images/brand/C/dmg-organic-accents.png") center / contain no-repeat;
  opacity: 0.55;
}

.auth-login-motto span {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: var(--dmg-green, #0f5a34);
}

.auth-login-motto span svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-login-motto small {
  color: #7d8177;
  font-size: 13px;
  line-height: 1.6;
}

.auth-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 680px;
  border-radius: 8px;
  padding: 34px;
  background:
    var(--dmg-auth-hero-gradient, linear-gradient(90deg, rgba(6, 59, 36, 0.84), rgba(15, 90, 52, 0.42) 48%, rgba(31, 42, 29, 0.06))),
    var(--dmg-auth-hero-image, url("/assets/app/images/auth/auth-hero-banner.jpg")) center/cover no-repeat;
  color: var(--dmg-bg-soft, #fff8df);
  box-shadow: var(--dmg-shadow-lg, 0 18px 46px rgba(31, 42, 29, 0.14));
}

.auth-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 59, 36, 0.04),
    rgba(6, 59, 36, 0.16)
  );
  pointer-events: none;
}

.auth-hero-brand {
  position: relative;
  z-index: 1;
}

.auth-hero-brand {
  display: flex;
  align-items: center;
  gap: 5px;
}

.auth-hero-logo {
  width: 138px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  background: #fff8df;
  filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.26));
}

.auth-hero-copy {
  display: grid;
  gap: 10px;
}

.auth-hero-badge {
  display: inline-flex;
  width: fit-content;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 248, 223, 0.16);
  border: 1px solid rgba(255, 248, 223, 0.32);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.auth-hero-title {
  margin: 0;
  font-size: 54px;
  line-height: 1.02;
  text-shadow: 0 8px 24px rgba(6, 59, 36, 0.28);
}

.auth-hero-subtitle {
  margin: 0;
  font-size: 25px;
  line-height: 1.5;
  color: rgba(255, 248, 223, 0.94);
}

.auth-card {
  background: rgba(255, 250, 240, 0.97);
  background: color-mix(in srgb, var(--dmg-surface, #fffaf0) 97%, transparent);
  border: 1px solid var(--dmg-line, #e3dac0);
  border-radius: var(--dmg-radius, 8px);
  padding: 34px;
  box-shadow: 0 18px 42px rgba(31, 42, 29, 0.12);
}

.auth-card-login {
  min-height: 680px;
}

.auth-card-shell {
  display: grid;
  gap: 22px;
  height: 100%;
  align-content: center;
}

.auth-card-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.auth-card-logo {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff8df;
  box-shadow: 0 8px 18px rgba(31, 42, 29, 0.12);
}

.auth-card-head h1,
.auth-card-head h2 {
  font-size: 42px;
  color: var(--dmg-ink-strong, #17351f);
  margin-bottom: 8px;
}

.auth-card-subtitle {
  color: var(--dmg-muted, #64705b);
  line-height: 1.55;
  font-size: 16px;
}

.auth-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--dmg-green, #0f5a34);
}

.auth-context {
  margin: 0;
  color: var(--dmg-muted, #64705b);
  font-weight: 700;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-field-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-field-label {
  color: var(--dmg-ink, #27351f);
  font-weight: 700;
  font-size: 16px;
}

.auth-form input {
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border: 1px solid var(--dmg-line-strong, #d9d0b3);
  border-radius: var(--dmg-radius, 8px);
  background: var(--dmg-surface-strong, #fffef8);
  font-size: 16px;
}

.auth-form input::placeholder {
  color: #9a9f86;
}

.auth-page-login .auth-form .auth-remember input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  border: 0;
}

.auth-field-help {
  color: var(--dmg-muted, #64705b);
  font-size: 13px;
  line-height: 1.55;
}

.auth-submit,
.auth-link-btn {
  min-height: 54px;
}

.auth-secondary-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: -2px;
}

.auth-inline-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-panel-preview {
  grid-template-columns: minmax(0, 0.8fr) minmax(620px, 1.2fr);
}

.auth-preview-card {
  min-height: 680px;
}

.auth-preview-shell {
  align-content: stretch;
}

.auth-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.auth-preview-frame-shell {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #dbe5ef;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.auth-preview-frame {
  width: 100%;
  height: 760px;
  border: 0;
  display: block;
  background: #ffffff;
}

.auth-text-link {
  color: var(--dmg-green, #0f5a34);
  font-weight: 700;
  text-decoration: none;
}

.auth-text-link:hover {
  color: var(--dmg-green-dark, #063b24);
  text-decoration: underline;
}

.alert {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.6;
}

.alert.error {
  background: #fff1f2;
  color: #9f1239;
  border-color: #fecdd3;
}

.alert.success {
  background: #ecfdf5;
  color: #166534;
  border-color: #bbf7d0;
}

.alert.warning {
  background: #fff7ed;
  color: #9a3412;
  border-color: #fed7aa;
}

.auth-page {
  display: flex;
  flex-direction: column;
}

.auth-footer {
  width: min(1220px, calc(100vw - 32px));
  margin: 0 auto 18px;
  padding: 14px 18px;
  border-radius: var(--dmg-radius, 8px);
  border: 1px solid rgba(255, 248, 223, 0.2);
  background: linear-gradient(
    135deg,
    rgba(6, 59, 36, 0.96) 0%,
    rgba(31, 42, 29, 0.94) 100%
  );
  box-shadow: 0 14px 32px rgba(31, 42, 29, 0.16);
}

.auth-footer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #fff8df;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.auth-footer-line a {
  color: #f4d572;
  text-decoration: none;
}

.auth-footer-line a:hover {
  color: #fff0a8;
}

.department-access {
  display: grid;
  gap: 16px;
}

.department-access-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 0;
  padding: 18px;
  border-radius: var(--dmg-radius, 8px);
  color: var(--dmg-ink, #1f2a1d);
  background: var(--dmg-surface, #fffdf8);
  border: 1px solid var(--dmg-line, #e3dac0);
  box-shadow: none;
}

.department-access-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  max-width: 760px;
}

.department-access-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff8df;
  box-shadow: none;
}

.department-access-kicker {
  margin: 0 0 8px;
  color: var(--dmg-green, #0f5a34);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.department-access h1,
.department-access h2 {
  margin: 0;
  letter-spacing: 0;
  color: inherit;
}

.department-access h1 {
  font-size: 28px;
  line-height: 1.16;
}

.department-access-hero-copy {
  max-width: 620px;
  margin: 6px 0 0;
  color: var(--dmg-muted, #64705b);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

.department-access h2 {
  color: var(--dmg-ink-strong, #17351f);
  font-size: 22px;
  line-height: 1.2;
}

.department-access-user {
  display: grid;
  gap: 6px;
  min-width: min(100%, 270px);
  padding: 12px 14px;
  border: 1px solid var(--dmg-line, #e3dac0);
  border-radius: 8px;
  background: var(--dmg-surface-muted, #f2eedf);
}

.department-access-user span {
  color: var(--dmg-green, #0f5a34);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.department-access-user strong {
  overflow-wrap: anywhere;
  font-size: 16px;
  color: var(--dmg-ink, #1f2a1d);
}

.department-access-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.department-access-summary span {
  padding: 5px 8px;
  border: 1px solid var(--dmg-line, #e3dac0);
  border-radius: 999px;
  color: var(--dmg-muted, #64705b);
  font-size: 11px;
  font-weight: 700;
  text-transform: none;
}

.department-access-system {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--dmg-line, #e3dac0);
  border-radius: var(--dmg-radius, 8px);
  background: var(--dmg-surface-strong, #fffdf6);
  box-shadow: none;
}

.department-access-system-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.department-access-system-main h2 {
  font-size: 22px;
}

.department-access-system-main p:last-child {
  max-width: 760px;
  margin: 5px 0 0;
  color: var(--dmg-muted, #64705b);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.department-access-system-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #eef5dd;
  color: #0f5a34;
}

.department-access-system-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.department-access-system-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.department-access-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 2px;
}

.department-access-logout {
  display: flex;
  margin: 0;
}

.department-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 14px;
}

.department-access-card {
  min-height: 320px;
  border: 1px solid var(--dmg-line, #e3dac0);
  border-radius: var(--dmg-radius, 8px);
  background: var(--dmg-surface, #fffaf0);
  box-shadow: none;
  overflow: hidden;
}

.department-access-card--disabled {
  opacity: 0.74;
}

.department-access-card-link {
  display: grid;
  grid-template-rows: auto auto minmax(68px, 1fr) auto auto;
  gap: 10px;
  height: 100%;
  padding: 16px;
  color: #1f2a1d;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.department-access-card-link:hover {
  background: #eef5dd;
}

.department-access-card-topline,
.department-access-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.department-access-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #063b24;
  color: #fff8df;
}

.department-access-icon svg,
.department-access-arrow svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.department-access-badge {
  max-width: 150px;
  padding: 6px 9px;
  border-radius: var(--dmg-pill-radius, 999px);
  background: var(--dmg-chip-bg, #f3efd9);
  color: var(--dmg-chip-ink, #566d24);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.department-access-card-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.department-access-badge--ready {
  background: var(--dmg-status-success-bg, #e8f3df);
  color: var(--dmg-status-success-ink, #17663b);
}

.department-access-badge--shell {
  background: var(--dmg-status-warning-bg, #fff4cf);
  color: var(--dmg-status-warning-ink, #7b5a04);
}

.department-access-badge--planned {
  background: var(--dmg-status-muted-bg, #f0eee8);
  color: var(--dmg-status-muted-ink, #6a6254);
}

.department-access-access-badge {
  max-width: 128px;
  padding: 6px 9px;
  border-radius: var(--dmg-pill-radius, 999px);
  border: 1px solid var(--dmg-line, #e3dac0);
  color: #43503e;
  font-size: 11px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.department-access-card-heading {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.department-access-card-title {
  color: #17351f;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.18;
}

.department-access-card-owner {
  color: #0f5a34;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.department-access-card-copy {
  color: #64705b;
  font-size: 14px;
  line-height: 1.55;
}

.department-access-card-meta {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid #e9e0c8;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
}

.department-access-card-row {
  display: grid;
  grid-template-columns: minmax(86px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 10px;
  color: #79806f;
  font-size: 12px;
  line-height: 1.35;
}

.department-access-card-row strong {
  color: #263424;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.department-access-card-action {
  min-height: 42px;
  padding-top: 12px;
  border-top: 1px solid #e3dac0;
  color: #0f5a34;
  font-weight: 700;
}

.department-access-arrow {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #0f5a34;
  color: #fff8df;
}

.department-access-empty {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 24px;
  border: 1px solid #e3dac0;
  border-radius: 8px;
  background: #fffaf0;
  color: #64705b;
}

.department-access-empty p {
  margin: 0;
}

@media (max-width: 980px) {
  .auth-panel {
    grid-template-columns: 1fr;
  }

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

  .auth-login-panel {
    justify-content: center;
    padding: 24px 20px;
    background-position: 72% center;
  }

  .auth-page-login .auth-login-card {
    width: min(520px, calc(100vw - 40px));
  }

  .auth-hero,
  .auth-card-login,
  .auth-preview-card {
    min-height: auto;
  }

  .department-access-hero,
  .department-access-toolbar,
  .department-access-system {
    align-items: flex-start;
    flex-direction: column;
  }

  .department-access-system-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .auth-page-login {
    overflow-x: hidden;
  }

  .auth-login-panel {
    min-height: 100vh;
    min-height: 100svh;
    padding: 18px 16px;
    background-position: 78% center;
  }

  .auth-page-login .auth-login-card {
    width: 100%;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .auth-platform-name {
    font-size: 28px;
  }

  .auth-platform-description {
    font-size: 14px;
  }

  .auth-login-options {
    align-items: flex-start;
  }

  .auth-login-options .auth-text-link {
    margin-left: auto;
  }

  .auth-shell {
    width: min(100vw - 20px, 1220px);
    padding: 10px 0 22px;
  }

  .auth-footer {
    width: min(100vw - 20px, 1220px);
    margin-bottom: 12px;
    padding: 12px 14px;
  }

  .auth-hero,
  .auth-card {
    border-radius: 8px;
    padding: 22px;
  }

  .auth-hero-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-hero-logo {
    width: 110px;
  }

  .auth-hero-title {
    font-size: 34px;
  }

  .auth-card-head h1,
  .auth-card-head h2 {
    font-size: 34px;
  }

  .auth-field-topline,
  .auth-inline-links,
  .auth-preview-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-secondary-actions {
    justify-content: flex-start;
  }

  .auth-preview-frame {
    height: 680px;
  }

  .department-access-hero {
    min-height: 0;
    padding: 16px;
  }

  .department-access-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .department-access-logo {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .department-access h1 {
    font-size: 28px;
  }

  .department-access-grid {
    grid-template-columns: 1fr;
  }

  .department-access-card-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .department-access-card-badges {
    justify-content: flex-start;
  }

  .department-access-card-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .department-access-logout,
  .department-access-logout .btn,
  .department-access-system-actions,
  .department-access-system-actions .btn {
    width: 100%;
  }
}
