:root {
  color-scheme: light;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.input {
  width: 100%;
  box-sizing: border-box;
  border-radius: 0.75rem;
  border: 1px solid rgba(217, 119, 6, 0.4);
  background: #fff;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus {
  border-color: rgba(217, 119, 6, 0.7);
  outline: none;
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.35);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 8px 16px rgba(217, 119, 6, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(217, 119, 6, 0.3);
}

.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(71, 85, 105, 0.2);
  padding: 0.55rem 1.1rem;
  font-weight: 600;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-secondary:hover {
  border-color: rgba(217, 119, 6, 0.4);
  color: #b45309;
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.15);
}

.app-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1.25rem;
  background: radial-gradient(circle at 35% 35%, rgba(250, 204, 21, 0.65), rgba(217, 119, 6, 0.9));
  padding: 0.35rem;
  box-shadow: 0 12px 25px rgba(217, 119, 6, 0.22);
}

.app-logo img {
  display: block;
  width: 100%;
  height: 100%;
}

.nav-link {
  border-radius: 9999px;
  padding: 0.45rem 0.9rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: #b45309;
  background: rgba(250, 204, 21, 0.18);
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 119, 6, 0.25);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px);
}

.app-header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

@media (min-width: 1280px) {
  .app-header__inner {
    max-width: 80rem;
    padding-inline: 2rem;
    flex-wrap: nowrap;
  }
}

.app-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: #0f172a;
  text-decoration: none;
}

.app-header__title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.app-header__title::after {
  content: 'Dashboard';
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(100, 116, 139, 0.9);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(254, 240, 138, 0.7);
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.app-header__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.app-header__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.app-header__link:hover,
.app-header__link:focus {
  color: #b45309;
  background: rgba(254, 243, 199, 0.7);
  outline: none;
}

.app-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1.25rem;
}

.app-header__greeting {
  display: none;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(100, 116, 139, 0.95);
}

@media (min-width: 640px) {
  .app-header__greeting {
    display: inline-flex;
  }
}

@media (max-width: 639px) {
  .app-header__inner {
    row-gap: 0.75rem;
  }

  .app-header__brand {
    flex: 1 1 auto;
  }

  .app-header__actions {
    order: 2;
    margin-left: auto;
  }

  .app-header__nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }
}

.btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.45rem 1.1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #b45309;
  background: rgba(254, 243, 199, 0.8);
  border: 1px solid rgba(217, 119, 6, 0.35);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.12);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-tertiary:hover {
  transform: translateY(-1px);
  background: rgba(253, 230, 138, 0.95);
  box-shadow: 0 8px 18px rgba(217, 119, 6, 0.18);
}

.btn-tertiary:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.35);
}

.profile-save-status {
  min-height: 1.5rem;
  margin-top: 1rem;
}

.profile-save-status__toast {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #047857;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.12);
}

.profile-save-status__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.2);
  color: #047857;
  font-size: 0.9rem;
}

.shadow-soft {
  box-shadow: 0 18px 40px rgba(217, 119, 6, 0.12);
}

.input-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b45309;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.welcome-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  padding: 2.5rem;
  background: linear-gradient(140deg, rgba(254, 240, 138, 0.7), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(217, 119, 6, 0.25);
  box-shadow: 0 18px 40px rgba(217, 119, 6, 0.18);
}

.dashboard-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.dashboard-grid {
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: start;
}

@media (min-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
}

@media (min-width: 1536px) {
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 4vw, 3.25rem);
  }

  .dashboard-stack {
    gap: clamp(3rem, 4vw, 4.75rem);
  }
}

.welcome-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.2), transparent 65%);
  transform: translateX(-50%);
}

.status-tile {
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(217, 119, 6, 0.25);
  padding: 1.2rem 1rem;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.status-tile dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(100, 116, 139, 0.85);
}

.status-tile dd {
  margin-top: 0.4rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #92400e;
}

.landing-hero {
  padding-block: clamp(2rem, 6vw, 4rem);
}

.landing-hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: min(68rem, 100%);
  margin: 0 auto;
}

.landing-hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 38rem;
}

.landing-hero__content h2 {
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  color: #0f172a;
}

.landing-hero__content p {
  margin-top: 1.25rem;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 58ch;
}

.landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #b45309;
  background: rgba(254, 240, 138, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(217, 119, 6, 0.35);
}

.landing-cta {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-panel {
  margin-top: 2rem;
  background: linear-gradient(120deg, rgba(254, 240, 138, 0.45), rgba(255, 255, 255, 0.95));
  border-top: 1px solid rgba(217, 119, 6, 0.2);
  border-bottom: 1px solid rgba(217, 119, 6, 0.18);
}

.trust-panel__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.trust-panel__copy {
  margin-top: 0.75rem;
  max-width: 50ch;
  color: #475569;
  line-height: 1.65;
  font-size: 0.95rem;
}

.ghost-link {
  font-weight: 600;
  color: #b45309;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.75rem;
}

.ghost-link::after {
  content: "→";
  font-size: 0.95rem;
}

.landing-stats {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.landing-stats dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(71, 85, 105, 0.7);
}

.landing-stats dd {
  margin-top: 0.35rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #92400e;
}

.landing-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(280px, 40vw, 380px);
}

.radial-glow {
  position: absolute;
  width: min(80%, 420px);
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.55), transparent 70%);
  filter: blur(0px);
  z-index: 0;
}

.hero-card {
  position: relative;
  z-index: 1;
  border-radius: 1.5rem;
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 119, 6, 0.3);
  box-shadow: 0 25px 50px rgba(217, 119, 6, 0.2);
  backdrop-filter: blur(8px);
  width: min(340px, 92%);
}

.hero-card h3 {
  font-weight: 600;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
}

.hero-card ul {
  margin: 1.5rem 0 1rem;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.hero-card li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: #0f172a;
}

.hero-card li span {
  display: inline-flex;
  width: 2.5rem;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.35rem 0.25rem;
  background: rgba(250, 204, 21, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  color: #92400e;
}

.hero-card p {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
}

.landing-section {
  margin-top: clamp(3.5rem, 8vw, 5.5rem);
}

.landing-section__inner {
  max-width: min(64rem, 100%);
  margin: 0 auto;
  padding-inline: clamp(0.5rem, 4vw, 2rem);
}

.landing-section h2 {
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  font-weight: 600;
  text-align: center;
  color: #0f172a;
}

.feature-grid {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: grid;
  gap: clamp(1.25rem, 4vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  border-radius: 1.5rem;
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.6);
  box-shadow: 0 14px 35px rgba(148, 163, 184, 0.18);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #b45309;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: #475569;
  line-height: 1.6;
  font-size: 0.95rem;
}

.testimonial {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(254, 240, 138, 0.7), rgba(255, 255, 255, 0.95));
  border-radius: 2rem;
  padding: clamp(2.4rem, 4vw, 3.2rem);
  border: 1px solid rgba(217, 119, 6, 0.25);
  box-shadow: 0 22px 45px rgba(217, 119, 6, 0.22);
  text-align: center;
}

.testimonial blockquote {
  font-size: 1.1rem;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.7;
}

.testimonial cite {
  display: block;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #92400e;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(203, 213, 225, 0.7);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(254, 249, 195, 0.6));
  padding: 1.5rem;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1);
}

.post-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.post-card__headline {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
}

.post-card__date {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b45309;
}

.post-card__body {
  margin-top: 0.85rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
}

.post-card__hashtags {
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #b45309;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-card__image {
  margin-top: 1.1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(217, 119, 6, 0.35);
  font-size: 0.78rem;
  color: #475569;
}

@media (max-width: 640px) {
  .landing-hero__grid {
    text-align: center;
  }

  .landing-hero__content {
    align-items: center;
  }

  .landing-hero__content p {
    margin-inline: auto;
  }

  .landing-cta {
    width: 100%;
    justify-content: center;
  }

  .landing-cta .btn-primary {
    width: min(100%, 280px);
  }

  .welcome-card {
    padding: 2rem;
  }

  .landing-section {
    margin-top: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .landing-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  }

  .landing-hero__content {
    align-items: flex-start;
  }

  .landing-hero__content p {
    margin-inline: 0;
  }

  .landing-hero__visual {
    justify-items: center;
  }

  .landing-section__inner {
    padding-inline: clamp(1.5rem, 4vw, 3rem);
  }
}

@media (min-width: 1440px) {
  main {
    max-width: 84rem;
  }

  .landing-hero__grid {
    max-width: min(70rem, 100%);
    column-gap: clamp(3rem, 6vw, 5rem);
  }
}
.dashboard-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 119, 6, 0.18);
}

.dashboard-header__inner {
  margin: 0 auto;
  max-width: 100%;
  max-width: min(78rem, 100%);
  padding: 1.5rem clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  flex-wrap: wrap;
}

.dashboard-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.dashboard-header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1.25rem;
  padding: 0.35rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(254, 215, 170, 0.75));
  border: 1px solid rgba(217, 119, 6, 0.25);
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.18);
}

.dashboard-header__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.9rem;
}

.dashboard-header__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 91, 8, 0.8);
}

.dashboard-header__title {
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 600;
  color: #0f172a;
}

.dashboard-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-left: auto;
}

.dashboard-header__actions .btn-primary {
  padding-inline: 1.4rem;
  padding-block: 0.65rem;
}

.dashboard-header__signout button {
  border: none;
  background: none;
  font-weight: 600;
  color: #b45309;
  padding: 0.45rem 0.75rem;
  border-radius: 9999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.dashboard-header__signout button:hover,
.dashboard-header__signout button:focus {
  background: rgba(254, 243, 199, 0.7);
  color: #92400e;
  outline: none;
}

.week-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.9rem;
}

.week-status--pending {
  background: rgba(254, 240, 138, 0.7);
  color: #b45309;
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.week-status--planned {
  background: rgba(134, 239, 172, 0.7);
  color: #047857;
  border: 1px solid rgba(22, 163, 74, 0.3);
}

.dashboard-main {
  max-width: 100%;
  max-width: min(78rem, 100%);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.dashboard-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  }
}

.weekly-overview {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-radius: 2rem;
  background: #fff;
  border: 1px solid rgba(217, 119, 6, 0.18);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: 0 18px 44px rgba(217, 119, 6, 0.12);
  min-width: 0;
}

.weekly-overview__header {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
}

.weekly-overview__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(148, 91, 8, 0.8);
}

.weekly-overview__title {
  margin-top: 0.25rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  color: #0f172a;
}

.weekly-overview__subtitle {
  margin-top: 0.75rem;
  max-width: 36ch;
  color: #475569;
  line-height: 1.6;
}

.weekly-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1.5rem;
  background: rgba(254, 240, 138, 0.35);
  border: 1px solid rgba(217, 119, 6, 0.25);
  min-width: 220px;
  height: fit-content;
}

.weekly-stats dt {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(120, 53, 15, 0.75);
  font-weight: 600;
}

.weekly-stats dd {
  font-size: 1.5rem;
  font-weight: 600;
  color: #92400e;
}

.weekly-plan {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  min-width: 0;
}

.week-slot {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(226, 232, 240, 0.8);
  min-height: 170px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.week-slot:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(148, 163, 184, 0.18);
}

.week-slot--filled {
  background: linear-gradient(180deg, rgba(254, 240, 138, 0.25), #fff);
  border-color: rgba(217, 119, 6, 0.3);
}

.week-slot__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
}

.week-slot__day {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f97316;
}

.week-slot__name {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(100, 116, 139, 0.8);
}

.week-slot__thumbnail {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.9), rgba(148, 163, 184, 0.6));
}

.week-slot--filled .week-slot__thumbnail {
  background: linear-gradient(135deg, rgba(254, 215, 170, 0.8), rgba(217, 119, 6, 0.85));
}

.week-slot__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.week-slot__title {
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
}

.week-slot__caption {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #475569;
}

.week-slot__link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: #b45309;
}

.week-slot__placeholder {
  font-weight: 600;
  font-size: 1rem;
  color: #0f172a;
}

.week-slot__cta {
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 600;
  color: #b45309;
  border-radius: 9999px;
  padding: 0.35rem 0.75rem;
  background: rgba(254, 243, 199, 0.7);
  text-decoration: none;
}

.week-slot__cta:hover,
.week-slot__cta:focus {
  background: rgba(254, 215, 170, 0.8);
  color: #92400e;
  outline: none;
}

.weekly-overview__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  border-top: 1px dashed rgba(217, 119, 6, 0.3);
  padding-top: 1.5rem;
}

.weekly-overview__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: rgba(100, 116, 139, 0.9);
}

.weekly-overview__value {
  margin-top: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.weekly-overview__value--muted {
  color: rgba(100, 116, 139, 0.85);
  font-weight: 500;
}

.schedule-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 1.75rem;
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(203, 213, 225, 0.7);
}

.schedule-details__intro h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
}

.schedule-details__intro p {
  margin-top: 0.5rem;
  color: #475569;
  line-height: 1.6;
}

.schedule-details__alert {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(134, 239, 172, 0.4);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #047857;
  border-radius: 9999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.schedule-details__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-card {
  position: sticky;
  top: 6.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(254, 243, 199, 0.5));
  border: 1px solid rgba(217, 119, 6, 0.18);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: 0 18px 44px rgba(217, 119, 6, 0.14);
  min-width: 0;
}

.profile-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.profile-card__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 91, 8, 0.8);
  font-weight: 600;
}

.profile-card__header h2 {
  margin-top: 0.25rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: #0f172a;
}

.profile-card__header p {
  margin-top: 0.75rem;
  color: #475569;
  line-height: 1.6;
}

.profile-card__save {
  align-self: flex-start;
  border: none;
  border-radius: 9999px;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(217, 119, 6, 0.3);
  font-weight: 600;
  color: #b45309;
  box-shadow: 0 8px 18px rgba(217, 119, 6, 0.15);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.profile-card__save:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(217, 119, 6, 0.2);
}

.profile-card__hint {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(120, 53, 15, 0.7);
}

.profile-form {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.profile-form .form-field--full {
  grid-column: 1 / -1;
}

.input--textarea {
  min-height: 140px;
  resize: vertical;
}

.profile-card__description {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.6;
}

.profile-card__submit {
  width: fit-content;
  padding-inline: 2rem;
}

.profile-card__indicator {
  border-radius: 1.25rem;
  border: 1px dashed rgba(217, 119, 6, 0.35);
  background: rgba(254, 240, 138, 0.45);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #b45309;
}

.pro-tips {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-radius: 2rem;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 18px 36px rgba(148, 163, 184, 0.18);
}

.pro-tips > div h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #0f172a;
}

.pro-tips > div p {
  margin-top: 0.75rem;
  color: #475569;
  line-height: 1.6;
}

.pro-tips ul {
  display: grid;
  gap: 1rem;
}

.pro-tips li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
  border-radius: 1.5rem;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.pro-tips li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(254, 240, 138, 0.7);
  color: #b45309;
  font-weight: 600;
}

.pro-tips li p:first-of-type {
  font-weight: 600;
  color: #0f172a;
}

.pro-tips li p:last-of-type {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .dashboard-header__inner {
    justify-content: center;
  }

  .dashboard-header__actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .profile-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .dashboard-main {
    padding: clamp(2rem, 7vw, 3rem) 1.25rem;
  }

  .dashboard-header__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .dashboard-header__brand {
    gap: 0.75rem;
  }

  .dashboard-header__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .dashboard-header__actions .btn-primary,
  .dashboard-header__signout,
  .dashboard-header__signout button {
    width: 100%;
  }

  .dashboard-header__signout {
    display: flex;
  }

  .weekly-overview__header {
    flex-direction: column;
    align-items: stretch;
  }

  .weekly-stats {
    width: 100%;
    min-width: 0;
  }

  .weekly-plan {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0.75rem;
    margin-inline: -0.5rem;
    padding-inline: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .weekly-plan::-webkit-scrollbar {
    height: 6px;
  }

  .weekly-plan::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.4);
    border-radius: 9999px;
  }

  .week-slot {
    flex: 0 0 85%;
    min-width: 0;
    scroll-snap-align: start;
  }

  .weekly-overview__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .schedule-details,
  .schedule-details__list {
    min-width: 0;
  }

  .schedule-details {
    padding: 1.25rem;
  }

  .pro-tips {
    padding: 1.5rem;
  }
}
