﻿:root {
  --bg: #f6f1ea;
  --card: #fffaf4;
  --ink: #1f1b16;
  --muted: #766b5e;
  --gold: #b8934f;
  --gold-dark: #7d612e;
  --hair: #d9a441;
  --makeup: #c66b7e;
  --photo: #3f6f8f;
  --travel: #7c7c7c;
  --redcarpet: #9b1c31;
  --men: #59636e;
  --line: #e2d6c5;
  --shadow: 0 18px 40px rgba(31, 27, 22, 0.10);
  --safe-bottom: max(16px, env(safe-area-inset-bottom));
  --safe-top: max(12px, env(safe-area-inset-top));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(circle at top left, #fff8ed, var(--bg) 45%, #efe4d4);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
  padding: var(--safe-top) 16px calc(112px + var(--safe-bottom));
}

.page {
  max-width: 720px;
  margin: 0 auto;
}

header.agenda-header {
  background: linear-gradient(135deg, #221a12, #7d612e);
  color: #fff;
  border-radius: 28px;
  padding: 24px 22px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

header.agenda-header .eyebrow {
  color: #ecd5a5;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}

header.agenda-header h1 {
  margin: 0;
  font-size: clamp(22px, 5.5vw, 32px);
  line-height: 1.08;
  font-weight: 800;
}

header.agenda-header p {
  margin: 12px 0 0;
  color: #f3eadb;
  font-size: 14px;
  line-height: 1.55;
  max-width: 36em;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.summary-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.summary-card strong {
  display: block;
  font-size: 11px;
  color: var(--gold-dark);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.summary-card span {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.day-panels { margin-bottom: 8px; }

.day-panel {
  display: none;
  animation: fade 0.22s ease;
}

.day-panel.is-active { display: block; }

@keyframes fade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 12px;
}

.section-title h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.window {
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

.day-banner {
  background: linear-gradient(135deg, #c9a0a8, #a67b85);
  color: #fff;
  border-radius: 16px;
  padding: 12px 16px;
  margin-bottom: 14px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(90, 60, 68, 0.18);
}

.timeline {
  background: rgba(255, 250, 244, 0.82);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 16px;
}

.row {
  display: grid;
  grid-template-columns: 88px 1fr;
  border-bottom: 1px solid var(--line);
  min-height: 72px;
}

.row:last-child { border-bottom: none; }

.time {
  padding: 14px 12px;
  font-weight: 900;
  color: var(--gold-dark);
  border-right: 1px solid var(--line);
  background: rgba(184, 147, 79, 0.08);
  font-size: 13px;
  line-height: 1.3;
}

.events {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px;
}

.event {
  border-radius: 16px;
  padding: 12px 14px;
  color: #fff;
  min-height: 52px;
  box-shadow: 0 10px 22px rgba(31, 27, 22, 0.12);
  position: relative;
  overflow: hidden;
}

.event::after {
  content: "";
  position: absolute;
  inset: auto -20px -35px auto;
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.event h3 {
  margin: 0 0 5px;
  font-size: 14px;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.event p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.94;
  position: relative;
  z-index: 1;
}

.event .addr {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.95;
  font-weight: 600;
}

.hair { background: linear-gradient(135deg, var(--hair), #8c6420); }
.makeup { background: linear-gradient(135deg, var(--makeup), #813245); }
.photo { background: linear-gradient(135deg, var(--photo), #244859); }
.travel { background: linear-gradient(135deg, var(--travel), #3f3f3f); }
.redcarpet { background: linear-gradient(135deg, var(--redcarpet), #4c0c17); }
.men { background: linear-gradient(135deg, var(--men), #2e353d); }
.full { grid-column: 1 / -1; }
.wide2 { grid-column: span 2; }
.empty { background: transparent !important; box-shadow: none !important; }

.glam-block .row {
  grid-template-columns: 110px 1fr;
  min-height: 86px;
}

.glam-block .time {
  padding: 18px 16px;
  font-size: 14px;
}

.glam-block .events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px;
}

.glam-block .event {
  border-radius: 18px;
  padding: 14px;
  min-height: 58px;
}

.glam-block .event::after {
  width: 90px;
  height: 90px;
}

.glam-block .event h3 {
  font-size: 15px;
  margin: 0 0 6px;
}

.glam-block .event p {
  font-size: 13px;
  line-height: 1.35;
}

.glam-block .section-title {
  margin: 22px 0 12px;
}

.glam-block .section-title h2 {
  font-size: clamp(17px, 4.2vw, 22px);
}

.glam-block .timeline {
  border-radius: 26px;
}

.checklist {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.check-item {
  display: grid;
  grid-template-columns: minmax(0, 140px) 1fr minmax(0, 130px);
  gap: 12px;
  align-items: center;
  border-radius: 18px;
  padding: 14px 16px;
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 27, 22, 0.12);
}

.check-item span {
  font-weight: 900;
  font-size: 13px;
  line-height: 1.25;
}

.check-item strong {
  font-size: 14px;
  line-height: 1.35;
}

.check-item em {
  font-style: normal;
  justify-self: end;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.18);
  padding: 6px 9px;
  border-radius: 999px;
  text-align: center;
}

.notes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.individual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.person-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.person-header {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 4px;
  color: var(--gold-dark);
}

.person-role {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 800;
}

.mini-event {
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 10px;
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 27, 22, 0.10);
}

.mini-event:last-child { margin-bottom: 0; }

.mini-event strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.mini-event span {
  display: block;
  font-size: 13px;
  line-height: 1.45;
}

.glam-page-break {
  margin-top: 36px;
}

@media (min-width: 560px) {
  .notes { grid-template-columns: 1.1fr 1fr; }
  .individual-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

@media (max-width: 640px) {
  .glam-block .row {
    grid-template-columns: 1fr;
  }
  .glam-block .time {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .glam-block .events {
    grid-template-columns: 1fr;
  }
  .glam-block .wide2,
  .glam-block .full {
    grid-column: auto;
  }
  .check-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .check-item em {
    justify-self: start;
  }
}

.note-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}

.note-card h3 {
  margin: 0 0 8px;
  color: var(--gold-dark);
  font-size: 15px;
}

.note-card p, .note-card li {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.note-card ul {
  margin: 0;
  padding-left: 18px;
}

.hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px var(--safe-bottom);
  background: linear-gradient(to top, rgba(246, 241, 234, 0.98) 55%, transparent);
  z-index: 50;
}

.dock-inner {
  display: flex;
  gap: 4px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 6px;
  box-shadow: var(--shadow);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap;
  scrollbar-width: none;
}

.dock-inner::-webkit-scrollbar {
  display: none;
}

.dock button {
  flex: 1 0 auto;
  min-width: 52px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  padding: 9px 4px 7px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.dock button .d-num {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 1px;
}

.dock button.is-active {
  background: rgba(184, 147, 79, 0.22);
  color: var(--gold-dark);
}

.dock button.is-active .d-num { color: var(--gold-dark); }

.dock button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.dock button[data-panel="content"] {
  min-width: 62px;
}

.dock button[data-panel="content"] .d-num {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.content-cal-intro {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.55;
}

.content-cal-brand {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #221a12, #7d612e);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 900;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  box-shadow: var(--shadow);
}

.content-slot {
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 10px;
  color: #fff;
  box-shadow: 0 10px 22px rgba(31, 27, 22, 0.12);
  position: relative;
  overflow: hidden;
}

.content-slot::after {
  content: "";
  position: absolute;
  inset: auto -16px -28px auto;
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.content-slot .type-label {
  position: relative;
  z-index: 1;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  opacity: 0.95;
  margin-bottom: 6px;
}

.content-slot p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.type-reel {
  background: linear-gradient(135deg, #8f1f2f, #4a0f18);
}

.type-post {
  background: linear-gradient(135deg, #2d4f73, #1a2f45);
}

.type-stories {
  background: linear-gradient(135deg, #6eb4d6, #3d87ad);
}

.type-interview {
  background: linear-gradient(135deg, #e8b896, #c4835a);
  color: #1f1b16;
}

.type-interview .type-label {
  color: #4a3220;
  opacity: 0.9;
}

.type-interview p {
  color: #1f1b16;
}

.content-day-block {
  margin-bottom: 22px;
}

.content-day-block .day-banner {
  margin-bottom: 10px;
}

.content-cta {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  margin: 20px 0 16px;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-dark);
  text-align: center;
  line-height: 1.45;
}

.hashtag-section {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hashtag-section h3 {
  margin: 0;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hashtag-section--primary h3 {
  background: linear-gradient(135deg, #e8c547, #c9a227);
  color: #1f1b16;
}

.hashtag-section--loreal h3 {
  background: linear-gradient(135deg, #e8b896, #c4835a);
  color: #1f1b16;
}

.hashtag-section .body {
  background: var(--card);
  padding: 14px 16px 16px;
}

.tag-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  display: inline-block;
  background: rgba(184, 147, 79, 0.14);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.hashtag-section--loreal .tag-list li {
  background: rgba(232, 184, 150, 0.25);
}

@media (min-width: 520px) {
  body { padding-left: 24px; padding-right: 24px; }
  .summary-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 420px) {
  .summary-grid { grid-template-columns: 1fr; }
}
