:root {
  --navy-950: #001334;
  --navy-900: #00204f;
  --navy-800: #062b63;
  --gold: #f5c448;
  --gold-dark: #c78916;
  --ink: #071b4b;
  --muted: #626a78;
  --line: #d4d8e0;
  --background: var(--navy-950);
  --foreground: #ffffff;
  /* Shared application type scale used by the admin and CRM workspaces. */
  --app-font-size-caption: 9px;
  --app-font-size-supporting: 10px;
  --app-font-size-body: 12px;
  --app-font-size-navigation: 13px;
  --app-font-size-card-title: 14px;
  --app-font-size-section-title: 15px;
  --app-font-size-page-title: clamp(20px, 1.55vw, 26px);
  --app-font-size-kpi: clamp(18px, 1.3vw, 23px);
  --app-line-height-tight: 1.25;
  --app-line-height-body: 1.45;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--navy-950);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--foreground);
  font-size: 15px;
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.global-brand-logo {
  display: block;
  max-width: 100%;
  height: auto;
}

.global-brand-logo-on-dark {
  filter: grayscale(1) brightness(10) contrast(3);
  mix-blend-mode: screen;
}

.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;
}

.login-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(430px, 1.02fr) minmax(540px, 0.98fr);
  align-items: center;
  gap: clamp(34px, 5vw, 94px);
  padding: clamp(38px, 5.2vh, 64px) clamp(34px, 5.1vw, 82px)
    clamp(28px, 4vh, 48px) clamp(42px, 6.6vw, 106px);
  background:
    linear-gradient(90deg, rgba(0, 17, 50, 0.94) 0%, rgba(0, 25, 66, 0.76) 43%, rgba(0, 25, 66, 0.54) 100%),
    linear-gradient(180deg, rgba(0, 25, 67, 0.18), rgba(0, 11, 36, 0.62)),
    url("/garment-rack-bg.png") center / cover no-repeat;
}

.login-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 38%, rgba(0, 25, 64, 0.25) 60%, rgba(0, 18, 51, 0.66));
}

.ambient-light {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.ambient-light-one {
  width: 40vw;
  height: 40vw;
  top: -28vw;
  left: 8vw;
  background: radial-gradient(circle, rgba(38, 103, 180, 0.24), transparent 68%);
}

.ambient-light-two {
  width: 44vw;
  height: 44vw;
  right: -22vw;
  bottom: -31vw;
  background: radial-gradient(circle, rgba(23, 93, 177, 0.25), transparent 68%);
}

.marketing-panel {
  position: relative;
  z-index: 2;
  align-self: stretch;
  min-height: min(790px, calc(100svh - 96px));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 0 clamp(88px, 12vh, 134px);
}

.brand-lockup {
  width: clamp(320px, 31vw, 445px);
  height: clamp(170px, 16.5vw, 235px);
  overflow: hidden;
  color: white;
}

.login-brand-logo {
  width: 100%;
  transform: translateY(-4%);
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-top: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
}

.brand-symbol svg {
  width: 36px;
  height: 36px;
}

.brand-type {
  position: relative;
  display: grid;
  line-height: 1;
}

.brand-wordmark {
  font-size: clamp(66px, 6.2vw, 100px);
  font-weight: 250;
  letter-spacing: -0.085em;
  transform: translateX(-4px);
}

.brand-trademark {
  position: absolute;
  top: 4px;
  right: -34px;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.brand-subtitle {
  margin-top: -2px;
  font-size: clamp(21px, 2vw, 31px);
  font-weight: 650;
  letter-spacing: 0.29em;
}

.marketing-copy {
  max-width: 550px;
  margin-top: clamp(54px, 9vh, 110px);
}

.marketing-copy h1 {
  margin: 0;
  font-size: clamp(29px, 2.55vw, 41px);
  line-height: 1.18;
  font-weight: 760;
  letter-spacing: -0.035em;
}

.marketing-copy h1 span {
  display: block;
  color: var(--gold);
}

.gold-rule {
  width: 64px;
  height: 2px;
  margin: 32px 0 35px;
  border-radius: 99px;
  background: var(--gold);
}

.marketing-copy p {
  max-width: 470px;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.62;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  gap: clamp(14px, 2.3vw, 36px);
  max-width: 570px;
  margin-top: clamp(34px, 6vh, 64px);
}

.feature-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.96);
  text-align: center;
  font-size: clamp(14px, 1.02vw, 16px);
  line-height: 1.45;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1.6px solid var(--gold);
  border-radius: 12px;
  color: var(--gold);
}

.feature-icon svg {
  width: 31px;
  height: 31px;
}

.gold-swoosh {
  position: absolute;
  z-index: 1;
  left: -190px;
  width: min(860px, 62vw);
  height: 330px;
  border-radius: 50%;
  transform: rotate(8deg);
  pointer-events: none;
}

.gold-swoosh-main {
  bottom: -210px;
  border-top: 35px solid #f8d054;
  box-shadow: 0 -4px 14px rgba(197, 129, 15, 0.3);
}

.gold-swoosh-shadow {
  z-index: 0;
  left: -215px;
  bottom: -232px;
  border-top: 40px solid rgba(0, 51, 113, 0.92);
}

.sign-in-area {
  position: relative;
  z-index: 3;
  width: min(100%, 654px);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  justify-self: end;
}

.login-card {
  position: relative;
  min-height: min(842px, calc(100dvh - 170px));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 16px;
  padding: clamp(126px, 15vh, 156px) clamp(44px, 4.7vw, 68px) clamp(58px, 6vh, 78px);
  color: #111827;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 248, 228, 0.82), transparent 26%),
    rgba(255, 255, 255, 0.975);
  box-shadow: 0 30px 70px rgba(0, 8, 29, 0.32);
}

.gold-ribbon {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 48%;
  height: 50px !important;
  transform: translateX(-50%);
  border-radius: 0 0 32px 32px;
  background: linear-gradient(90deg, #c78d1f, #f6d472 58%, #d39a2a);
  box-shadow: 0 7px 21px rgba(198, 132, 18, 0.2);
}

/* .gold-ribbon::before,
.gold-ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 42px;
  height: 54px;
  background: inherit;
}

.gold-ribbon::before {
  left: -24px;
  clip-path: polygon(100% 0, 100% 100%, 65% 92%, 30% 56%, 0 0);
}

.gold-ribbon::after {
  right: -24px;
  clip-path: polygon(0 0, 100% 0, 70% 56%, 35% 92%, 0 100%);
} */

.lock-medallion {
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  transform: translateX(-50%);
  border: 1.5px solid #d39b25;
  border-radius: 50%;
  color: var(--gold-dark);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(56, 39, 8, 0.15);
}

.lock-medallion svg {
  width: 38px;
  height: 38px;
}

.card-heading {
  text-align: center;
}

.mobile-brand {
  display: none;
}

.card-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 3vw, 45px) !important;
  line-height: 1.15;
  font-weight: 760;
  letter-spacing: -0.035em;
}

.card-heading > p:not(.mobile-brand) {
  margin: 19px 0 0;
  color: #171717;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.45;
}

.login-form {
  display: grid;
  gap: 16px !important;
  margin-top: clamp(48px, 7vh, 66px);
}

.field-shell {
  position: relative;
  min-height: 61px;
  display: flex;
  align-items: center;
  gap: 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  color: #1a2231;
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field-shell.is-invalid {
  border-color: #d14343;
  box-shadow: 0 0 0 3px rgba(209, 67, 67, 0.12);
}

.field-shell:focus-within {
  border-color: #c7901c;
  box-shadow: 0 0 0 3px rgba(207, 151, 28, 0.12);
}

.field-shell > svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
}

.field-shell input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #202634;
  background: transparent;
  font-size: 17px;
}

.field-shell input::placeholder {
  color: #6b7280;
  opacity: 1;
}

.field-error {
  min-height: 0;
  margin: -10px 4px 0;
  color: #c23535;
  font-size: 13px;
  line-height: 1.35;
}

.field-error:empty {
  display: none;
}


.password-toggle {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-right: -9px;
  border: 0;
  border-radius: 50%;
  color: #172032;
  background: transparent;
  cursor: pointer;
}

.password-toggle:hover {
  background: #f2f4f7;
}

.password-toggle:focus-visible,
.text-action:focus-visible,
.primary-button:focus-visible {
  outline: 3px solid rgba(227, 168, 42, 0.38);
  outline-offset: 2px;
}

.password-toggle svg {
  width: 22px;
  height: 22px;
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 4px 0 16px;
  font-size: 14.5px;
}

.remember-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.remember-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-mark {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid #a4aab4;
  border-radius: 4px;
  background: white;
}

.remember-option input:checked + .checkbox-mark {
  border-color: var(--gold-dark);
  background: var(--gold);
}

.remember-option input:checked + .checkbox-mark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--navy-950);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.remember-option input:focus-visible + .checkbox-mark {
  outline: 3px solid rgba(227, 168, 42, 0.38);
  outline-offset: 2px;
}

.text-action {
  border: 0;
  padding: 4px 0;
  color: #b87400;
  background: transparent;
  cursor: pointer;
}

.text-action:hover {
  text-decoration: underline;
}

.primary-button {
  min-height: 61px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button {
  border: 1px solid #0b2d63;
  color: #ffffff;
  background: linear-gradient(100deg, #0f3d86, #174f9f 72%, #0f3f89);
  box-shadow: 0 12px 22px rgba(10, 45, 99, 0.22);
  font-size: 17px;
  font-weight: 700;
}

.primary-button:hover {
  background: linear-gradient(100deg, #144798, #1d5bb3 72%, #144798);
  box-shadow: 0 14px 25px rgba(10, 45, 99, 0.3);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.primary-button[aria-busy="true"] {
  position: relative;
  pointer-events: none;
}

.primary-button[aria-busy="true"]::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 12px;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-top-color: #ffffff;
  border-radius: 50%;
  vertical-align: middle;
  animation: login-spin 0.7s linear infinite;
}

.primary-button:active {
  transform: translateY(1px);
}

@keyframes login-spin {
  to {
    transform: rotate(360deg);
  }
}

.login-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 220;
  width: min(360px, calc(100vw - 32px));
  min-height: 48px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #b9dfcf;
  border-radius: 16px;
  padding: 14px 16px;
  color: #0d6746;
  font-size: 12px;
  font-weight: 700;
  background: #effaf5;
  box-shadow: 0 15px 36px rgba(14, 65, 46, 0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.login-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.login-toast.is-error {
  border-color: #efb6b6;
  color: #8f2c2c;
  background: linear-gradient(135deg, #fff5f5, #fff0f0);
  box-shadow: 0 15px 36px rgba(101, 27, 27, 0.14);
}

.login-toast-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.login-toast-message {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
}

.login-toast-close {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  color: #0d6746;
  background: rgba(13, 103, 70, 0.08);
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.login-toast-close:hover {
  color: #084a32;
  background: rgba(13, 103, 70, 0.14);
}

.login-toast.is-error .login-toast-close {
  color: #8f2c2c;
  background: rgba(143, 44, 44, 0.08);
}

.login-toast.is-error .login-toast-close:hover {
  color: #6f1818;
  background: rgba(143, 44, 44, 0.14);
}

.login-toast-close svg {
  width: 16px;
  height: 16px;
}

.form-message {
  display: none;
}

.copyright {
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  font-size: 14px;
}

@media (max-height: 840px) and (min-width: 1025px) {
  .login-shell {
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .marketing-panel {
    min-height: calc(100svh - 52px);
    padding-bottom: 62px;
  }

  .brand-symbol {
    width: 48px;
    height: 48px;
  }

  .brand-symbol svg {
    width: 29px;
    height: 29px;
  }

  .brand-wordmark {
    font-size: 70px;
  }

  .brand-subtitle {
    font-size: 20px;
  }

  .marketing-copy {
    margin-top: 35px;
  }

  .gold-rule {
    margin: 21px 0 23px;
  }

  .feature-grid {
    margin-top: 30px;
  }

  .login-card {
    min-height: 0;
    height: calc(100dvh - 92px);
    padding-top: 108px;
    padding-bottom: 40px;
  }

  .login-form {
    gap: 15px;
    margin-top: 35px;
  }

  .copyright {
    margin-top: 17px;
  }
}

@media (max-width: 1180px) {
  .login-shell {
    grid-template-columns: minmax(330px, 0.8fr) minmax(520px, 1.2fr);
    gap: 34px;
    padding-left: 52px;
    padding-right: 44px;
  }

  .brand-wordmark {
    font-size: 70px;
  }

  .brand-subtitle {
    font-size: 20px;
  }

  .brand-symbol {
    width: 49px;
    height: 49px;
  }

  .brand-symbol svg {
    width: 30px;
    height: 30px;
  }

  .marketing-copy h1 {
    font-size: 31px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    max-width: 320px;
  }
}

@media (max-width: 920px) {
  .login-shell {
    min-height: 100svh;
    height: 100svh;
    height: 100dvh;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 0;
    overflow: hidden;
    padding: clamp(14px, 3vh, 28px) clamp(22px, 5vw, 50px);
    background:
      linear-gradient(180deg, rgba(0, 18, 54, 0.75), rgba(0, 22, 58, 0.92) 38%, rgba(0, 13, 39, 0.96)),
      url("/garment-rack-bg.png") 62% center / cover fixed no-repeat;
  }

  .login-shell::after {
    background: linear-gradient(180deg, rgba(0, 26, 67, 0.12), rgba(0, 13, 40, 0.72));
  }

  .marketing-panel {
    display: none;
  }

  .gold-swoosh {
    display: none;
  }

  .sign-in-area {
    width: min(100%, 620px);
    max-height: 100%;
    justify-self: center;
  }

  .login-card {
    min-height: 0;
    max-height: calc(100dvh - 72px);
    padding-top: clamp(96px, 14vh, 124px);
    padding-bottom: clamp(28px, 5vh, 52px);
  }

  .mobile-brand {
    display: block;
    margin: 0 0 8px;
    color: #b67a08;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.2em;
  }
}

@media (max-width: 600px) {
  .login-shell {
    padding: 12px 14px;
    background-attachment: scroll;
  }

  .login-card {
    border-radius: 15px;
    max-height: calc(100dvh - 48px);
    padding: clamp(78px, 13vh, 102px) clamp(20px, 6vw, 30px) clamp(18px, 3vh, 28px);
  }

  .gold-ribbon {
    width: 56%;
    height: 47px;
  }

  .lock-medallion {
    top: 14px;
    width: 76px;
    height: 76px;
  }

  .lock-medallion svg {
    width: 32px;
    height: 32px;
  }

  .mobile-brand {
    display: block;
    margin: 0 0 8px;
    color: #b67a08;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.2em;
  }

  .card-heading h2 {
    font-size: 31px;
  }

  .card-heading > p:not(.mobile-brand) {
    margin-top: 13px;
    font-size: 14px;
  }

  .login-form {
    gap: 15px;
    margin-top: 34px;
  }

  .field-shell {
    min-height: 56px;
    padding: 0 15px;
  }

  .field-shell input {
    font-size: 16px;
  }

  .form-options {
    gap: 12px;
    margin-bottom: 9px;
    font-size: 13px;
  }

  .primary-button {
    min-height: 56px;
  }

  .copyright {
    margin-top: 10px;
    font-size: 11px;
  }

  .login-toast {
    top: 12px;
    right: 12px;
    left: 12px;
    width: auto;
  }
}

@media (max-height: 700px) {
  .login-shell {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .login-card {
    min-height: 0;
    max-height: calc(100dvh - 40px);
    padding-top: 76px;
    padding-bottom: 18px;
  }

  .gold-ribbon {
    height: 44px;
  }

  /* .gold-ribbon::before,
  .gold-ribbon::after {
    width: 34px;
    height: 44px;
  }

  .gold-ribbon::before {
    left: -19px;
  }

  .gold-ribbon::after {
    right: -19px;
  } */

  .lock-medallion {
    top: 12px;
    width: 64px;
    height: 64px;
  }

  .lock-medallion svg {
    width: 27px;
    height: 27px;
  }

  .card-heading h2 {
    font-size: 27px;
  }

  .card-heading > p:not(.mobile-brand) {
    margin-top: 8px;
    font-size: 13px;
  }

  .login-form {
    gap: 10px;
    margin-top: 20px;
  }

  .field-shell,
  .primary-button {
    min-height: 48px;
  }

  .form-options {
    margin-bottom: 4px;
  }

  .copyright {
    margin-top: 7px;
    font-size: 10px;
  }
}

@media (max-width: 385px) {
  .marketing-copy h1 {
    font-size: 21px;
  }

  .login-card {
    padding-left: 17px;
    padding-right: 17px;
  }

  .form-options {
    align-items: flex-start;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.dashboard-shell {
  min-height: 100svh;
  color: #172033;
  background:
    radial-gradient(circle at 85% 0%, rgba(21, 74, 143, 0.16), transparent 35%),
    #f3f5f9;
}

.dashboard-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(24px, 5vw, 76px);
  color: white;
  background: linear-gradient(100deg, #001437, #062b63 70%, #00183f);
  box-shadow: 0 8px 24px rgba(0, 21, 56, 0.18);
}

.dashboard-brand,
.dashboard-admin,
.dashboard-admin > span {
  display: flex;
  align-items: center;
}

.dashboard-brand {
  gap: 11px;
}

.dashboard-brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(245, 196, 72, 0.88);
  border-radius: 50%;
  color: var(--gold);
}

.dashboard-brand-mark svg {
  width: 28px;
  height: 28px;
}

.dashboard-brand > span:last-child {
  display: grid;
  line-height: 1;
}

.dashboard-brand b {
  font-size: 28px;
  font-weight: 550;
  letter-spacing: -0.06em;
}

.dashboard-brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.2em;
}

.dashboard-admin {
  gap: 20px;
}

.dashboard-admin > span {
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.dashboard-admin small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dashboard-admin strong {
  font-size: 15px;
  font-weight: 550;
}

.dashboard-admin button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(245, 196, 72, 0.55);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.dashboard-admin button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-admin button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.dashboard-admin button svg {
  width: 17px;
  height: 17px;
}

.dashboard-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 8vh, 88px) 0 60px;
}

.dashboard-welcome p {
  margin: 0 0 12px;
  color: #b47808;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.dashboard-welcome h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.dashboard-welcome > span {
  display: block;
  max-width: 700px;
  margin-top: 18px;
  color: #5e6675;
  font-size: 17px;
  line-height: 1.65;
}

.dashboard-summary {
  display: flex;
  gap: 16px;
  margin-top: 35px;
}

.dashboard-summary article {
  min-width: 205px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #e0e3e9;
  border-radius: 12px;
  padding: 14px 17px;
  background: white;
  box-shadow: 0 8px 20px rgba(26, 42, 70, 0.04);
}

.dashboard-summary article > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #b57808;
  background: #fff6df;
}

.dashboard-summary svg {
  width: 22px;
  height: 22px;
}

.dashboard-summary article div {
  display: grid;
  gap: 2px;
}

.dashboard-summary b {
  color: var(--ink);
  font-size: 18px;
}

.dashboard-summary small {
  color: #717887;
  font-size: 14px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(42px, 6vh, 64px);
}

.module-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #e0e3e8;
  border-radius: 16px;
  padding: 26px;
  background: white;
  box-shadow: 0 16px 35px rgba(29, 42, 66, 0.055);
}

.module-icon {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border: 1px solid #efd287;
  border-radius: 13px;
  color: #b97904;
  background: #fffaf0;
}

.module-icon svg {
  width: 29px;
  height: 29px;
}

.module-card > div {
  margin-top: 24px;
}

.module-card p {
  margin: 0 0 7px;
  color: #b27708;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.module-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 25px;
}

.module-card div > span {
  display: block;
  margin-top: 10px;
  color: #687080;
  font-size: 15px;
  line-height: 1.55;
}

.module-card button {
  margin-top: auto;
  border: 0;
  border-radius: 99px;
  padding: 7px 11px;
  color: #858b96;
  background: #f1f3f6;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dashboard-header {
    align-items: flex-start;
    padding: 15px 18px;
  }

  .dashboard-brand-mark {
    width: 42px;
    height: 42px;
  }

  .dashboard-admin > span {
    display: none;
  }

  .dashboard-admin button {
    min-height: 40px;
    padding: 0 12px;
  }

  .dashboard-content {
    width: min(100% - 28px, 520px);
    padding-top: 44px;
  }

  .dashboard-welcome h1 {
    font-size: 38px;
  }

  .dashboard-welcome > span {
    font-size: 15px;
  }

  .dashboard-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-summary article {
    min-width: 0;
    padding: 12px;
  }

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

  .module-card {
    min-height: 250px;
  }
}
