:root {
  --cream: #fcf9f2;
  --navy: #131937;
  --blue: #2c4fff;
  --gold: #ffb300;
  --burnt: #bd4200;
  --brown: #6b2600;
  --lime: #8ff54b;
  --green: #074226;
  --ink: #10162c;
  --white-soft: rgba(255, 255, 255, 0.74);
  --white-line: rgba(255, 255, 255, 0.14);
  --panel: rgba(18, 25, 55, 0.62);
  --panel-strong: rgba(18, 25, 55, 0.84);
  --shadow-lg: 0 30px 80px rgba(7, 11, 23, 0.35);
  --shadow-md: 0 18px 40px rgba(7, 11, 23, 0.22);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--cream);
  color-scheme: dark;
  background:
    radial-gradient(circle at 20% 10%, rgba(44, 79, 255, 0.25), transparent 24%),
    radial-gradient(circle at 80% 12%, rgba(143, 245, 75, 0.12), transparent 20%),
    radial-gradient(circle at 55% 95%, rgba(255, 179, 0, 0.15), transparent 28%),
    linear-gradient(180deg, #0f1430 0%, #131937 55%, #2342d2 100%);
  overflow-x: hidden;
  transition:
    background 0.8s ease,
    color 0.5s ease;
}

body[data-mode="splash"] {
  background: var(--cream);
  color: var(--navy);
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.48;
  animation: floatGlow 10s ease-in-out infinite;
}

.ambient-blue {
  width: 420px;
  height: 420px;
  left: -90px;
  top: 120px;
  background: rgba(44, 79, 255, 0.24);
}

.ambient-gold {
  width: 340px;
  height: 340px;
  right: 10%;
  top: 90px;
  background: rgba(255, 179, 0, 0.18);
  animation-delay: -3s;
}

.ambient-green {
  width: 420px;
  height: 420px;
  right: -110px;
  bottom: -40px;
  background: rgba(7, 66, 38, 0.28);
  animation-delay: -6s;
}

.watermark {
  position: absolute;
  right: -7vw;
  bottom: -2vw;
  width: min(68vw, 960px);
  opacity: 0.05;
  transform: rotate(-4deg);
}

.splash-screen,
.login-screen,
.app-shell {
  position: relative;
  z-index: 1;
}

.splash-screen,
.login-screen {
  min-height: 100vh;
}

.splash-screen {
  display: grid;
  place-items: center;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 24px;
}

.splash-logo {
  width: min(72vw, 680px);
  filter: drop-shadow(0 24px 50px rgba(44, 79, 255, 0.14));
  animation: pulseLogo 2.6s ease-in-out infinite;
  transition: transform 0.8s ease, filter 0.8s ease;
}

.splash-button {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  pointer-events: none;
  padding: 16px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), #192766);
  color: var(--cream);
  font-weight: 700;
  box-shadow: 0 20px 44px rgba(44, 79, 255, 0.24);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    box-shadow 0.4s ease;
}

.splash-button:hover {
  box-shadow: 0 26px 50px rgba(44, 79, 255, 0.32);
  transform: translateY(-2px);
}

body.is-splash-ready .splash-logo {
  animation-play-state: paused;
  transform: translateY(-28px) scale(1.02);
  filter: drop-shadow(0 18px 40px rgba(44, 79, 255, 0.12));
}

body.is-splash-ready .splash-button {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.login-screen {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

body[data-mode="login"] .login-screen {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body[data-mode="login"] .splash-screen {
  opacity: 0.08;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.login-shell {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
}

.login-copy,
.login-card {
  border: 1px solid var(--white-line);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-lg);
}

.login-copy {
  display: none;
}

.login-card {
  position: relative;
  overflow: hidden;
  padding: 38px 38px 34px;
  background:
    linear-gradient(145deg, rgba(252, 249, 242, 0.98), rgba(252, 249, 242, 0.92)),
    radial-gradient(circle at 90% 0%, rgba(255, 179, 0, 0.14), transparent 30%);
  color: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-card::before {
  content: "";
  position: absolute;
  inset: -30% auto auto 62%;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(44, 79, 255, 0.18), transparent 65%);
  pointer-events: none;
}

.login-card > * {
  position: relative;
  z-index: 1;
}

.login-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.login-card p {
  margin: 0;
  color: rgba(19, 25, 55, 0.72);
  line-height: 1.6;
}

.login-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.login-badge {
  color: var(--blue);
  background: rgba(44, 79, 255, 0.08);
}

.eyebrow {
  color: rgba(252, 249, 242, 0.78);
  background: rgba(252, 249, 242, 0.08);
}

.feature-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-row span {
  padding: 10px 14px;
  border: 1px solid rgba(252, 249, 242, 0.12);
  border-radius: 999px;
  color: rgba(252, 249, 242, 0.82);
  background: rgba(252, 249, 242, 0.04);
}

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

.status-stack {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(19, 25, 55, 0.04), rgba(19, 25, 55, 0.08));
  border: 1px solid rgba(19, 25, 55, 0.08);
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.status-row span {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(19, 25, 55, 0.62);
}

.status-row strong {
  color: var(--green);
  font-size: 0.96rem;
}

.status-copy {
  margin: 0;
  color: rgba(19, 25, 55, 0.72);
  line-height: 1.6;
}

.field span {
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(19, 25, 55, 0.74);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(19, 25, 55, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--navy);
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.field input:focus {
  border-color: rgba(44, 79, 255, 0.45);
  box-shadow: 0 0 0 5px rgba(44, 79, 255, 0.08);
  transform: translateY(-1px);
}

.primary-button {
  margin-top: 6px;
  padding: 16px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), #18245d);
  color: var(--cream);
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 20px 40px rgba(44, 79, 255, 0.24);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.35s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 48px rgba(44, 79, 255, 0.32);
}

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

.form-feedback {
  min-height: 1.4em;
  font-size: 0.94rem;
}

.form-feedback.is-error {
  color: #b84723;
}

.form-feedback.is-success {
  color: #0e6a3d;
}

.form-feedback.is-info {
  color: rgba(19, 25, 55, 0.72);
}

.app-shell {
  min-height: 100vh;
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

body[data-mode="app"] .app-shell {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body[data-mode="app"] .splash-screen,
body[data-mode="app"] .login-screen {
  opacity: 0;
  pointer-events: none;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 26px 32px;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(19, 25, 55, 0.84), rgba(19, 25, 55, 0.46));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand img {
  width: 176px;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.module-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.module-chip {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(252, 249, 242, 0.08);
  color: rgba(252, 249, 242, 0.78);
  border: 1px solid rgba(252, 249, 242, 0.12);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.module-chip:hover,
.module-chip.is-active {
  background: rgba(252, 249, 242, 0.16);
  color: var(--cream);
  transform: translateY(-1px);
}

.session-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: min(100%, 290px);
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(252, 249, 242, 0.1);
  background: rgba(252, 249, 242, 0.05);
  color: rgba(252, 249, 242, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.session-pill.is-active {
  background: rgba(143, 245, 75, 0.08);
  border-color: rgba(143, 245, 75, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 34px rgba(8, 18, 44, 0.18);
}

.session-copy {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.session-copy strong,
.session-copy span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.session-copy strong {
  color: var(--cream);
  font-size: 0.96rem;
}

.session-copy span {
  color: rgba(252, 249, 242, 0.62);
  font-size: 0.84rem;
}

.session-logout {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(252, 249, 242, 0.12);
  color: var(--cream);
  font-weight: 700;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

.session-logout:hover {
  background: rgba(252, 249, 242, 0.2);
  transform: translateY(-1px);
}

.session-logout:disabled {
  opacity: 0.56;
  cursor: wait;
}

.dashboard {
  width: min(1520px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 14px 0 28px;
}

.hero-card,
.metric-card,
.board-column,
.analytics-card,
.schedule-card,
.side-card {
  border: 1px solid var(--white-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(19, 25, 55, 0.68), rgba(19, 25, 55, 0.44));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}

.hero-card {
  padding: 16px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 0.9fr);
  gap: 14px;
  align-items: center;
}

.hero-card h2 {
  margin: 6px 0 4px;
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.hero-card p {
  margin: 0;
  max-width: 70ch;
  color: rgba(252, 249, 242, 0.72);
  font-size: 0.95rem;
  line-height: 1.45;
}

.creator-upload-panel {
  margin-top: 12px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(143, 245, 75, 0.18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(7, 66, 38, 0.35), rgba(19, 25, 55, 0.62)),
    radial-gradient(circle at 95% 10%, rgba(143, 245, 75, 0.12), transparent 32%);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}

.creator-upload-panel[hidden] {
  display: none;
}

.creator-upload-copy h3 {
  margin: 8px 0 6px;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  letter-spacing: -0.035em;
}

.creator-upload-copy p {
  margin: 0;
  color: rgba(252, 249, 242, 0.7);
  line-height: 1.6;
}

.creator-upload-form {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(260px, 1.2fr) auto;
  gap: 12px;
  align-items: end;
}

.creator-dropzone {
  min-height: 86px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px dashed rgba(252, 249, 242, 0.34);
  background: rgba(252, 249, 242, 0.08);
  display: grid;
  align-content: center;
  gap: 6px;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.creator-dropzone:hover,
.creator-dropzone.is-dragging {
  border-color: rgba(143, 245, 75, 0.68);
  background: rgba(143, 245, 75, 0.1);
  transform: translateY(-1px);
}

.creator-dropzone strong {
  color: var(--cream);
}

.creator-dropzone span {
  color: rgba(252, 249, 242, 0.66);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.creator-upload-feedback {
  grid-column: 1 / -1;
  min-height: 1.4em;
  margin: 0;
  font-size: 0.94rem;
  color: rgba(252, 249, 242, 0.72);
}

.creator-upload-feedback.is-error {
  color: #ffad8e;
}

.creator-upload-feedback.is-success {
  color: #8ff54b;
}

.creator-upload-feedback.is-info {
  color: rgba(252, 249, 242, 0.72);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 8px;
}

.meta-card {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(252, 249, 242, 0.08);
  border: 1px solid rgba(252, 249, 242, 0.08);
}

.meta-card strong,
.metric-card strong {
  display: block;
  font-size: 0.96rem;
}

.meta-card span,
.metric-card p {
  color: rgba(252, 249, 242, 0.7);
}

.meta-card span.is-success,
.status-row strong.is-success {
  color: #8ff54b;
}

.meta-card span.is-warning,
.status-row strong.is-warning {
  color: #ffcf61;
}

.meta-card span.is-error,
.status-row strong.is-error {
  color: #ff8a5b;
}

.metrics-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.metric-card {
  padding: 14px 16px;
}

.metric-card span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  color: rgba(252, 249, 242, 0.58);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.workspace {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 12px;
  align-items: start;
}

.workspace-main,
.workspace-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.board-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  align-items: start;
}

.board-preview.is-hidden {
  display: none;
}

.board-column,
.analytics-card,
.schedule-card {
  padding: 14px;
  min-height: 360px;
}

.board-column header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(252, 249, 242, 0.08);
}

.column-label {
  color: rgba(252, 249, 242, 0.72);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.column-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(252, 249, 242, 0.08);
  border: 1px solid rgba(252, 249, 242, 0.08);
}

.column-card + .column-card {
  margin-top: 12px;
}

.column-card h3,
.analytics-card h3,
.schedule-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.column-card p,
.column-card span,
.analytics-card p,
.schedule-card p,
.side-card p,
.side-card ol {
  margin: 0;
  line-height: 1.65;
  color: rgba(252, 249, 242, 0.72);
}

.column-card.is-highlight {
  background: linear-gradient(135deg, rgba(44, 79, 255, 0.26), rgba(252, 249, 242, 0.06));
}

.column-card.is-success {
  background: linear-gradient(135deg, rgba(143, 245, 75, 0.18), rgba(7, 66, 38, 0.18));
}

.column-header-copy {
  display: grid;
  gap: 4px;
}

.column-hint {
  display: block;
  color: rgba(252, 249, 242, 0.92);
  font-size: 1rem;
  line-height: 1.35;
}

.column-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(252, 249, 242, 0.12);
  color: var(--cream);
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.board-column-body {
  display: grid;
  gap: 12px;
  align-content: start;
  max-height: min(62vh, 720px);
  overflow: auto;
  padding-right: 6px;
}

.empty-collection {
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(252, 249, 242, 0.16);
  background: rgba(252, 249, 242, 0.04);
  color: rgba(252, 249, 242, 0.64);
  line-height: 1.65;
}

.column-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.column-card-top h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.28;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(19, 25, 55, 0.72);
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-chip-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.status-pill.is-soft {
  background: rgba(19, 25, 55, 0.08);
  border-color: rgba(19, 25, 55, 0.08);
  color: rgba(19, 25, 55, 0.78);
}

.tone-active {
  background: linear-gradient(135deg, rgba(44, 79, 255, 0.18), rgba(252, 249, 242, 0.12));
  border-color: rgba(44, 79, 255, 0.18);
}

.status-pill.tone-active {
  background: rgba(44, 79, 255, 0.16);
  border-color: rgba(44, 79, 255, 0.22);
  color: #1e38be;
}

.tone-alert {
  background: linear-gradient(135deg, rgba(189, 66, 0, 0.18), rgba(107, 38, 0, 0.12));
  border-color: rgba(189, 66, 0, 0.2);
}

.status-pill.tone-alert {
  background: rgba(189, 66, 0, 0.14);
  border-color: rgba(189, 66, 0, 0.22);
  color: #8d2f00;
}

.tone-planning {
  background: linear-gradient(135deg, rgba(255, 179, 0, 0.16), rgba(252, 249, 242, 0.12));
  border-color: rgba(255, 179, 0, 0.18);
}

.status-pill.tone-planning {
  background: rgba(255, 179, 0, 0.16);
  border-color: rgba(255, 179, 0, 0.2);
  color: #8a6100;
}

.tone-publication {
  background: linear-gradient(135deg, rgba(7, 66, 38, 0.18), rgba(44, 79, 255, 0.12));
  border-color: rgba(7, 66, 38, 0.18);
}

.status-pill.tone-publication {
  background: rgba(7, 66, 38, 0.16);
  border-color: rgba(7, 66, 38, 0.22);
  color: #0b5b35;
}

.tone-success {
  background: linear-gradient(135deg, rgba(143, 245, 75, 0.18), rgba(7, 66, 38, 0.12));
  border-color: rgba(143, 245, 75, 0.22);
}

.status-pill.tone-success {
  background: rgba(143, 245, 75, 0.18);
  border-color: rgba(143, 245, 75, 0.22);
  color: #0b5b35;
}

.column-card-meta {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.column-stat {
  padding: 12px;
  border-radius: 14px;
  background: rgba(19, 25, 55, 0.08);
  border: 1px solid rgba(19, 25, 55, 0.06);
  display: grid;
  gap: 5px;
}

.column-stat span {
  color: rgba(19, 25, 55, 0.52);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.column-stat strong {
  color: var(--navy);
  font-size: 0.86rem;
  line-height: 1.45;
}

.mini-chip-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(19, 25, 55, 0.08);
  color: rgba(19, 25, 55, 0.82);
  font-size: 0.78rem;
}

.mini-chip strong {
  color: var(--navy);
}

.analytics-card,
.schedule-card,
.side-card {
  padding: 24px;
}

.recent-projects,
.stage-summary {
  max-height: min(34vh, 360px);
  overflow: auto;
  padding-right: 6px;
}

.board-column-body::-webkit-scrollbar,
.recent-projects::-webkit-scrollbar,
.stage-summary::-webkit-scrollbar {
  width: 10px;
}

.board-column-body::-webkit-scrollbar-track,
.recent-projects::-webkit-scrollbar-track,
.stage-summary::-webkit-scrollbar-track {
  background: rgba(252, 249, 242, 0.04);
  border-radius: 999px;
}

.board-column-body::-webkit-scrollbar-thumb,
.recent-projects::-webkit-scrollbar-thumb,
.stage-summary::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(44, 79, 255, 0.75), rgba(255, 179, 0, 0.55));
  border: 2px solid rgba(19, 25, 55, 0.2);
  border-radius: 999px;
}

.recent-projects,
.stage-summary {
  display: grid;
  gap: 12px;
}

.recent-project {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(252, 249, 242, 0.06);
  border: 1px solid rgba(252, 249, 242, 0.08);
  display: grid;
  gap: 10px;
}

.recent-project strong {
  font-size: 0.98rem;
}

.recent-project-meta,
.stage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.recent-project-meta span,
.stage-row span {
  color: rgba(252, 249, 242, 0.68);
  font-size: 0.86rem;
}

.stage-row {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(252, 249, 242, 0.05);
  border: 1px solid rgba(252, 249, 242, 0.08);
}

.stage-row strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(44, 79, 255, 0.14);
  color: var(--cream);
  font-size: 0.84rem;
}

.chart-bars {
  height: 220px;
  display: grid;
  align-items: end;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 20px 0 18px;
}

.chart-bars div {
  border-radius: 16px 16px 4px 4px;
  background: linear-gradient(180deg, rgba(255, 179, 0, 0.94), rgba(44, 79, 255, 0.9));
  box-shadow: 0 18px 30px rgba(44, 79, 255, 0.16);
}

.schedule-grid {
  margin: 20px 0 18px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.schedule-grid > div {
  min-height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(252, 249, 242, 0.1);
  background: rgba(252, 249, 242, 0.06);
}

.schedule-day.is-filled {
  background: linear-gradient(135deg, rgba(44, 79, 255, 0.3), rgba(7, 66, 38, 0.3));
  color: var(--cream);
}

.side-card ol {
  padding-left: 20px;
}

.side-card-soft {
  background: linear-gradient(180deg, rgba(252, 249, 242, 0.1), rgba(252, 249, 242, 0.06));
}

@keyframes pulseLogo {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-4px) scale(1.025);
    opacity: 0.84;
  }
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -20px, 0) scale(1.05);
  }
}

@media (max-width: 1080px) {
  .login-shell,
  .hero-card,
  .creator-upload-panel,
  .creator-upload-form,
  .workspace {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .column-card-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .login-screen,
  .dashboard,
  .app-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .dashboard {
    width: min(100vw - 20px, 100%);
  }

  .login-copy,
  .login-card,
  .hero-card,
  .creator-upload-panel,
  .metric-card,
  .analytics-card,
  .schedule-card,
  .side-card {
    padding: 20px;
  }

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

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .app-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .module-switcher {
    width: 100%;
  }

  .module-chip {
    flex: 1 1 auto;
    text-align: center;
  }

  .session-pill {
    min-width: 100%;
    border-radius: 22px;
  }

  .session-copy strong,
  .session-copy span {
    white-space: normal;
  }

  .splash-logo {
    width: min(80vw, 520px);
  }

  .board-column-body,
  .recent-projects,
  .stage-summary {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}
