:root {
  --nyu-purple: #57068c;
  --nyu-purple-dark: #330662;
  --nyu-teal: #008769;
  --nyu-teal-hover: #15a885;
  --text: #3d4d5d;
  --muted: #5f6d7a;
  --bg: #ffffff;
  --panel: #f6f6f6;
  --border: #d8d8d8;
  --shadow: 0 0 5px rgba(50, 50, 50, 0.5);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 375px;
  background: var(--bg);
  color: var(--text);
  font-family: Helvetica, Arial, sans-serif;
}

a {
  color: var(--nyu-purple);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.header {
  height: 60px;
  background: var(--nyu-purple);
  display: flex;
  align-items: center;
}

.header-inner {
  width: min(1470px, 100%);
  padding: 0 10%;
  display: flex;
  align-items: center;
}

.logo {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 24px;
  line-height: 1;
}

.logo img {
  display: block;
}

.page-title {
  font-size: clamp(38px, 5vw, 50px);
  font-weight: 700;
  margin: 35px 20% 0 10%;
}

.center-content {
  text-align: center;
  margin: 10px auto;
  padding: 10px;
  min-width: 375px;
  max-width: 1470px;
}

.panel {
  display: inline-block;
  width: min(90%, 500px);
  min-width: 375px;
  background: var(--panel);
  padding: 10px;
  margin-top: 25px;
  margin-bottom: 25px;
  text-align: left;
}

.panel-inner {
  padding: 18px;
}

.shadow {
  box-shadow: var(--shadow);
}

.rounded {
  border-radius: 3px;
}

.lead {
  font-size: 16px;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 22px;
}

.stack {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.button-link,
.button,
button.button-link {
  width: 300px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  border: 1px solid var(--nyu-teal);
  color: var(--nyu-teal);
  font-size: 23px;
  padding: 10px 20px;
  text-decoration: none;
  cursor: pointer;
  transition: color 120ms ease, border-color 120ms ease, transform 120ms ease, background 120ms ease;
}

.button-link:hover,
.button:hover,
button.button-link:hover {
  color: var(--nyu-teal-hover);
  border-color: var(--nyu-teal-hover);
  text-decoration: none;
}

.button-link:focus,
.button:focus,
button.button-link:focus,
input:focus {
  outline: 2px solid #8900e1;
  outline-offset: 2px;
}

.subtle {
  color: var(--muted);
}

.form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 14px;
  font-weight: 700;
}

.field input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 12px 14px;
  font-size: 16px;
  background: #fff;
}

.form-actions {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.small-button {
  width: auto;
  font-size: 18px;
  padding: 10px 16px;
}

.message {
  padding: 12px 14px;
  border-left: 4px solid var(--nyu-purple);
  background: #faf7fd;
  margin-bottom: 16px;
}

.error {
  border-left-color: #b00020;
  background: #fff4f4;
}

.page {
  width: min(1100px, calc(100% - 32px));
  margin: 28px auto 56px;
}

.auth-hero {
  min-height: calc(100vh - 60px);
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.06) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.05) 0 2px, transparent 3px),
    radial-gradient(circle at 35% 75%, rgba(255,255,255,0.05) 0 2px, transparent 3px),
    linear-gradient(135deg, #210038 0%, #39005d 50%, #2a0147 100%);
  position: relative;
  overflow: hidden;
}

.auth-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 180px 180px;
  opacity: 0.22;
  pointer-events: none;
}

.auth-stage {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 64px;
  display: flex;
  justify-content: center;
}

.auth-card {
  width: min(630px, 100%);
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,0.14);
  position: relative;
}



.auth-top {
  padding: 60px 70px 36px;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.auth-brand-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.auth-brand-icon img {
  display: block;
  height: auto;
}

.auth-brand-text {
  color: #57068c;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}

.auth-headline {
  margin: 0 0 28px;
  font-size: 36px;
  font-weight: 800;
  color: #1d1d1d;
  line-height: 1.1;
}

.auth-user {
  margin: 0 0 20px;
  font-size: 18px;
  color: #1d1d1d;
  font-weight: 600;
}

.auth-form {
  display: flex;
  flex-direction: column;
}

.auth-input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #7d7d7d;
  border-radius: 0;
  padding: 8px 0 12px;
  font-size: 18px;
  outline: none;
  background: transparent;
  color: #1d1d1d;
}

.auth-input::placeholder {
  color: #777;
}

.auth-input:focus {
  border-bottom-color: #57068c;
}

.error-message {
  color: #b00020;
  font-size: 14px;
  margin-top: 10px;
  display: none;
}

.error-message.error {
  display: block;
}

.auth-link {
  display: inline-block;
  margin-top: 28px;
  color: #57068c;
  font-size: 16px;
  text-decoration: none;
  align-self: flex-start;
}

.auth-link:hover {
  text-decoration: underline;
  color: #330662;
}

.auth-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid #57068c;
  color: #57068c;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 32px;
  cursor: pointer;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s;
}

.auth-btn:hover {
  background: #57068c;
  color: #fff;
}

.auth-btn:focus {
  outline: 2px solid #8900e1;
  outline-offset: 2px;
}

.auth-bottom {
  padding: 36px 70px 48px;
  border-top: 1px solid #ececec;
  background: #fff;
}

.auth-bottom p {
  margin: 0 0 18px;
  color: #1d1d1d;
  line-height: 1.4;
  font-size: 15px;
}

.auth-bottom p:last-child {
  margin-bottom: 0;
}

.auth-disc-strong {
  font-weight: 700 !important;
  color: #1d1d1d !important;
  font-size: 16px !important;
}

.auth-bottom a {
  color: #57068c;
  text-decoration: none;
}

.auth-bottom a:hover {
  text-decoration: underline;
  color: #330662;
}

.auth-footer-bar {
  margin-top: 28px;
  background: #fff;
  padding: 18px 24px;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #666;
}

.auth-footer-bar .icon {
  width: 22px;
  height: 22px;
  border: 2px solid #666;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.albert-shell {
  width: min(1360px, calc(100% - 32px));
  margin: 0 auto;
}

.albert-topbar {
  height: 66px;
  background: var(--nyu-purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 18px;
}

.albert-topbar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 24px;
}

.albert-topbar .brand .mark {
  width: 18px;
  height: 18px;
  background: #fff;
  display: inline-block;
  box-shadow: inset 0 0 0 4px var(--nyu-purple);
}

.albert-user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.albert-user .logout {
  border: 1px solid rgba(255,255,255,0.95);
  padding: 10px 13px;
  line-height: 1;
}

.albert-title {
  font-size: clamp(54px, 5vw, 66px);
  line-height: 1;
  font-weight: 700;
  color: #3d4d5d;
  margin: 18px 0 14px;
}

.albert-tabs {
  display: flex;
  align-items: stretch;
  gap: 2px;
  border-bottom: 1px solid #e7edf3;
  margin-bottom: 16px;
}

.albert-tab {
  padding: 10px 12px 11px;
  font-size: 14px;
  text-transform: uppercase;
  background: #f1f5f8;
  color: #4a5a6a;
  border-bottom: 1px solid #d8e5f0;
}

.albert-tab.active {
  background: #d8e7f7;
  border-top: 1px solid #8db2d8;
  border-left: 1px solid #8db2d8;
  border-right: 1px solid #8db2d8;
  border-bottom-color: transparent;
  color: #0d3b67;
}

.albert-layout {
  display: grid;
  grid-template-columns: 198px 1fr;
  gap: 16px;
}

.albert-side {
  display: grid;
  gap: 0;
  align-self: start;
}

.albert-side .side-item {
  height: 99px;
  border: 1px solid #cfcfcf;
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  color: #273544;
  font-size: 13px;
  font-weight: 700;
}

.albert-side .side-item.active {
  background: #d6e7fb;
}

.albert-side .glyph {
  font-size: 52px;
  line-height: 1;
  color: #46576b;
  margin-bottom: 6px;
}

.albert-content {
  min-width: 0;
}

.albert-banner {
  display: grid;
  grid-template-columns: 290px 1fr;
  min-height: 276px;
  background: #fff;
}

.albert-banner-copy {
  background: #5f08a0;
  color: #fff;
  padding: 58px 18px 20px;
}

.albert-banner-copy h2 {
  margin: 0 0 14px;
  font-size: 23px;
  color: #fff;
}

.albert-banner-copy p {
  margin: 0 0 18px;
  line-height: 1.35;
}

.albert-banner-copy a {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  font-weight: 700;
}

.albert-banner-art {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(89,163,232,0.92) 0%, rgba(84,157,228,0.92) 100%);
}

.albert-banner-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 42%, rgba(255, 107, 166, 0.95) 0 2px, transparent 3px),
    radial-gradient(circle at 20% 53%, rgba(255, 90, 155, 0.9) 0 3px, transparent 4px),
    radial-gradient(circle at 23% 31%, rgba(255, 140, 188, 0.95) 0 3px, transparent 4px),
    radial-gradient(circle at 30% 58%, rgba(255, 58, 129, 0.9) 0 2px, transparent 4px),
    radial-gradient(circle at 17% 70%, rgba(227, 44, 112, 0.95) 0 2px, transparent 4px),
    linear-gradient(90deg, rgba(95,8,160,0.82) 0 14%, rgba(255,255,255,0) 14% 100%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.albert-banner-art::after {
  content: "";
  position: absolute;
  right: 16%;
  top: 22%;
  width: 250px;
  height: 170px;
  background:
    radial-gradient(circle at 62% 45%, rgba(124,72,255,0.95) 0 20%, transparent 21%),
    radial-gradient(circle at 48% 50%, rgba(122,74,255,0.72) 0 24%, transparent 25%),
    radial-gradient(circle at 72% 58%, rgba(122,74,255,0.62) 0 15%, transparent 16%),
    linear-gradient(135deg, rgba(255,255,255,0) 0 35%, rgba(124,72,255,0.85) 36% 65%, rgba(255,255,255,0) 66% 100%);
  transform: rotate(-7deg);
  border-radius: 18px;
  filter: blur(0.2px);
}

.albert-banner-logo {
  position: absolute;
  right: 16%;
  top: 34%;
  color: #fff;
  text-align: center;
  font-size: 44px;
  font-weight: 800;
  line-height: 0.95;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.albert-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.albert-card {
  border: 1px solid #d0d0d0;
  background: #fff;
  min-height: 77px;
  padding: 16px 14px 12px;
}

.albert-card h3 {
  margin: 0 0 6px;
  font-size: 29px;
  color: #3f5671;
  line-height: 1;
}

.albert-card p {
  margin: 0;
  font-size: 17px;
  color: #33485c;
}

.albert-section {
  margin-top: 20px;
  border-top: 1px solid #e0e0e0;
  padding-top: 0;
}

.albert-term {
  margin-top: 22px;
  border: 1px solid #d8d8d8;
}

.albert-term-head {
  display: inline-block;
  background: #d8e7f7;
  color: #243e5a;
  padding: 10px 26px 11px;
  border-top: 1px solid #8db2d8;
  border-left: 1px solid #8db2d8;
  border-right: 1px solid #8db2d8;
  margin-top: -17px;
  margin-left: -1px;
  font-weight: 700;
}

.albert-term-body {
  padding: 12px 12px 16px;
}

.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.results {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.result {
  background: #fff;
  border-left: 4px solid var(--nyu-teal);
  padding: 14px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.footer {
  color: #fff;
  background: var(--nyu-purple);
  padding: 18px 10%;
  margin-top: 50px;
}

.footer a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

@media (max-width: 700px) {
  .page-title,
  .header-inner,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-title {
    margin-left: 16px;
    margin-right: 16px;
  }

  .button-link,
  .button,
  button.button-link {
    width: 100%;
    max-width: 320px;
  }

  .panel {
    min-width: 0;
  }

  .auth-stage {
    padding: 24px 0 32px;
  }

  .auth-top,
  .auth-bottom {
    padding-left: 24px;
    padding-right: 24px;
  }

  .auth-brand-text {
    font-size: 44px;
  }

  .auth-headline {
    font-size: 28px;
  }

  .auth-brand-icon {
    width: 52px;
    height: 52px;
  }
}
