:root {
  --bg: #f6f2ea;
  --surface: rgba(255, 255, 255, 0.84);
  --ink: #141414;
  --muted: rgba(20, 20, 20, 0.62);
  --line: rgba(20, 20, 20, 0.09);
  --line-strong: rgba(20, 20, 20, 0.14);
  --teal: #51baa2;
  --teal-deep: #0f7b68;
  --red: #ff5252;
  --orange: #ff9d3b;
  --purple: #a44eff;
  --shadow: 0 18px 54px rgba(20, 20, 20, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { scroll-behavior: smooth; }
body {
  font-family: "SF Pro Text", "SF Pro Display", "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  background:
    radial-gradient(circle at 10% 10%, rgba(81, 186, 162, 0.12), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(81, 186, 162, 0.06), transparent 22%),
    linear-gradient(180deg, #fbf8f2 0%, var(--bg) 100%);
  overflow-x: hidden;
}

a, button { color: inherit; font: inherit; }
a { text-decoration: none; }
button { border: 0; background: none; padding: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.shell {
  width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 861px) {
  .header {
    padding-right: 152px;
  }
}

.lang-switch {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 123, 104, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 236, 0.96));
  box-shadow: 0 14px 34px rgba(20, 20, 20, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.lang-switch:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 123, 104, 0.26);
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.lang-switch:active {
  transform: translateY(0);
}

.lang-switch .flag {
  display: inline-grid;
  place-items: center;
  width: 1.2em;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--line);
}

.brand-mark {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.brand-mark strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-mark span {
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pill,
.action,
.nav-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  max-width: 100%;
}

.pill.muted {
  color: var(--muted);
}

.page {
  display: grid;
  gap: 0;
}

.section {
  padding: 30px 24px;
  border-top: 1px solid var(--line);
}

.section-inner {
  width: min(1560px, calc(100% - 0px));
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.73rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1,
.page-title {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.home-copy,
.page-copy {
  margin: 14px 0 0;
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.home-copyblock {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}

.home-aside {
  display: grid;
  gap: 16px;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-aside-head {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.home-aside-title {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.home-aside-copy {
  color: var(--muted);
  line-height: 1.55;
}

.home-aside-clock {
  display: grid;
  gap: 4px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-aside-clock .time {
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}

.home-aside-clock .meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.home-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-mini {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.home-mini .label,
.home-aside-note .label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-mini strong {
  font-size: 0.98rem;
  line-height: 1.25;
  font-weight: 800;
}

.home-aside-note {
  display: grid;
  gap: 6px;
}

.home-aside-note strong {
  font-size: 1.02rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.home-aside-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.home-actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.action.primary,
.nav-link.primary {
  background: var(--teal-deep);
  color: #fff;
  border-color: transparent;
}

.summary {
  display: grid;
  gap: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.summary-top {
  display: grid;
  gap: 10px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}

.summary-top .label,
.metric .label,
.footer-chip .label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.summary-top .value,
.metric .value {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.summary-top .sub,
.metric .sub,
.footer-chip .sub {
  color: var(--muted);
  line-height: 1.5;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 16px;
}

.metric {
  min-width: 0;
  padding: 14px 16px 14px 0;
  border-top: 1px solid var(--line);
}

.summary-grid .metric:first-child {
  border-top: 0;
  padding-top: 0;
}

.calendar-head,
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.calendar-head .title,
.page-head .title,
.home-head {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.calendar-head strong,
.page-head strong {
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.calendar-head span,
.page-head span {
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.clock {
  text-align: right;
  display: grid;
  gap: 6px;
  white-space: nowrap;
}

.clock.meta-only {
  gap: 0;
}

.clock .time {
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.clock .meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-stack {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  width: min(100%, 860px);
  margin-top: 18px;
}

.nav-link {
  width: 100%;
  justify-content: space-between;
  text-align: left;
  padding-inline: 18px;
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.04);
}

.nav-link .arrow {
  opacity: 0.7;
}

.nav-link.active {
  background: rgba(81, 186, 162, 0.14);
  border-color: rgba(81, 186, 162, 0.28);
}


.track { position: relative; margin: 0 6px 16px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-strong); background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 236, 0.98)); }
.day-column { position: relative; min-height: 900px; border: 0; border-radius: 0; overflow: visible; background: transparent; }
.all-day { display: flex; gap: 8px; overflow: visible; padding: 0 6px 14px; flex-wrap: nowrap; }
.all-day-pill { display: inline-flex; align-items: center; min-width: 0; padding: 10px 12px; border-radius: 999px; background: rgba(17, 17, 17, 0.04); border: 1px solid var(--line); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.all-day-pill.teal { background: rgba(81, 186, 162, 0.18); }
.all-day-pill.purple { background: rgba(164, 78, 255, 0.18); }
.all-day-pill.orange { background: rgba(255, 157, 59, 0.18); }
.week-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.week-cell { display: grid; place-items: center; gap: 8px; padding: 10px 8px 12px; border-radius: 18px; border: 1px solid transparent; background: rgba(255, 255, 255, 0.52); color: var(--muted); min-width: 0; }
.week-cell .abbr { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }
.week-cell .num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.88); border: 1px solid var(--line); font-size: 0.98rem; font-weight: 800; }
.week-cell.active { color: var(--ink); border-color: rgba(255, 82, 82, 0.2); background: rgba(255, 255, 255, 0.86); }
.week-cell.active .num { background: var(--red); border-color: transparent; color: #fff; }
.time-column { display: grid; padding-top: 50px; }
.time-label { height: 64px; display: flex; align-items: flex-start; justify-content: flex-end; padding-right: 10px; color: var(--muted); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.calendar-strip { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 14px; align-items: start; }
.day-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 6px 14px; }
.day-header .day { font-size: 1.06rem; font-weight: 800; letter-spacing: -0.02em; }
.day-header .date { color: var(--muted); font-size: 0.92rem; overflow-wrap: anywhere; }
.event { position: absolute; left: 0; right: 0; margin-right: 6px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(20, 20, 20, 0.08); background: rgba(255, 255, 255, 0.94); box-shadow: 0 10px 22px rgba(20, 20, 20, 0.04); min-width: 0; }
.event .inner { height: 100%; padding: 10px 12px; display: grid; gap: 4px; align-content: start; }
.event .title,
.event .meta { overflow: hidden; text-overflow: ellipsis; }
.event .title { font-weight: 800; line-height: 1.12; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.event .time { color: var(--muted); font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.event .meta { color: var(--muted); line-height: 1.45; font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.event.red { --event-ink: #8f2f33; --event-bg: linear-gradient(180deg, rgba(232, 160, 160, 0.82), rgba(246, 213, 213, 0.82)); --event-border: rgba(143, 47, 51, 0.14); color: var(--event-ink); background: var(--event-bg); border-color: var(--event-border); }
.event.orange { --event-ink: #8a5417; --event-bg: linear-gradient(180deg, rgba(245, 207, 154, 0.82), rgba(251, 232, 198, 0.82)); --event-border: rgba(138, 84, 23, 0.14); color: var(--event-ink); background: var(--event-bg); border-color: var(--event-border); }
.event.purple { --event-ink: #5f3991; --event-bg: linear-gradient(180deg, rgba(214, 196, 245, 0.82), rgba(234, 223, 252, 0.82)); --event-border: rgba(95, 57, 145, 0.14); color: var(--event-ink); background: var(--event-bg); border-color: var(--event-border); }
.event.teal { --event-ink: #0d6f62; --event-bg: linear-gradient(180deg, rgba(190, 232, 223, 0.82), rgba(225, 245, 240, 0.82)); --event-border: rgba(13, 111, 98, 0.14); color: var(--event-ink); background: var(--event-bg); border-color: var(--event-border); }
.event.yellow { --event-ink: #7d5c12; --event-bg: linear-gradient(180deg, rgba(248, 223, 150, 0.82), rgba(251, 238, 200, 0.82)); --event-border: rgba(125, 92, 18, 0.14); color: var(--event-ink); background: var(--event-bg); border-color: var(--event-border); }
.event.green { --event-ink: #466f31; --event-bg: linear-gradient(180deg, rgba(201, 230, 174, 0.82), rgba(232, 244, 218, 0.82)); --event-border: rgba(70, 111, 49, 0.14); color: var(--event-ink); background: var(--event-bg); border-color: var(--event-border); }
.event.blue { --event-ink: #355f8b; --event-bg: linear-gradient(180deg, rgba(202, 223, 242, 0.82), rgba(229, 239, 248, 0.82)); --event-border: rgba(53, 95, 139, 0.14); color: var(--event-ink); background: var(--event-bg); border-color: var(--event-border); }
.event.pink { --event-ink: #8a4d60; --event-bg: linear-gradient(180deg, rgba(242, 209, 219, 0.82), rgba(249, 233, 239, 0.82)); --event-border: rgba(138, 77, 96, 0.14); color: var(--event-ink); background: var(--event-bg); border-color: var(--event-border); }
.event.sand { --event-ink: #7a5c2c; --event-bg: linear-gradient(180deg, rgba(240, 225, 189, 0.82), rgba(248, 239, 215, 0.82)); --event-border: rgba(122, 92, 44, 0.14); color: var(--event-ink); background: var(--event-bg); border-color: var(--event-border); }
.event.neutral { --event-ink: #303030; --event-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 243, 238, 0.96)); --event-border: rgba(20, 20, 20, 0.08); color: var(--event-ink); background: var(--event-bg); border-color: var(--event-border); }
.event.current { box-shadow: 0 0 0 1px rgba(255, 82, 82, 0.2), 0 16px 40px rgba(20, 20, 20, 0.12); }
.now-line { position: absolute; left: 0; right: 0; height: 0; border-top: 2px solid var(--red); z-index: 12; }
.now-line::before { content: ""; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(255, 82, 82, 0.16); }
.now-badge { position: absolute; left: -6px; top: -13px; transform: translateX(-100%); min-height: 30px; padding: 0 11px; border-radius: 999px; background: var(--red); color: #fff; font-size: 0.82rem; font-weight: 800; display: inline-flex; align-items: center; white-space: nowrap; }
.timeline-footer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0 6px 6px; }
.footer-chip { padding: 14px 0 0; border-top: 1px solid var(--line); min-width: 0; }
.footer-chip .value { font-size: 1.02rem; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.dual { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 18px; }
.panel { display: grid; gap: 10px; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; min-width: 0; }
.panel .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.panel .panel-head strong { font-size: 1.05rem; letter-spacing: -0.02em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel .panel-head span { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.team-grid { display: grid; gap: 0; }
.team-row { display: grid; grid-template-columns: minmax(160px, 240px) minmax(0, 1fr) minmax(200px, 280px); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; min-width: 0; }
.team-row .role { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px; }
.team-row .name { font-size: 1rem; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.team-row .owner { color: var(--teal-deep); font-weight: 700; font-size: 0.92rem; margin-top: 2px; }
.team-row .copy,
.team-row .deliverable,
.team-row .status { color: var(--muted); line-height: 1.55; overflow-wrap: anywhere; min-width: 0; }
.team-row .copy,
.team-row .deliverable { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.week-grid { display: grid; gap: 0; }
.day-card { padding: 16px 0; border-radius: 0; border: 0; border-top: 1px solid var(--line); background: transparent; display: grid; gap: 8px; box-shadow: none; min-width: 0; }
.day-card.is-active { background: linear-gradient(90deg, rgba(81, 186, 162, 0.12), rgba(81, 186, 162, 0.04)); border-top-color: rgba(81, 186, 162, 0.32); padding-inline: 12px; margin-inline: -12px; border-radius: 14px; }
.day-card .day { font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.day-card .meta { color: var(--muted); font-size: 0.9rem; line-height: 1.4; overflow-wrap: anywhere; }
.day-card .slot { padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; line-height: 1.45; overflow-wrap: anywhere; }
.rules-section { background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.12)), var(--bg); }
.rules-layout { display: grid; gap: 28px; }
.rules-head { display: grid; gap: 8px; max-width: 72ch; }
.rules-head strong { font-size: 1.18rem; letter-spacing: -0.03em; }
.rules-head span { color: var(--muted); line-height: 1.6; overflow-wrap: anywhere; }
.rules-list { border-top: 1px solid var(--line); }
.rules-row { display: grid; grid-template-columns: minmax(170px, 250px) minmax(0, 1fr) minmax(220px, 320px); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; min-width: 0; }
.rules-row .day, .rules-row .focus, .rules-row .note { min-width: 0; }
.rules-row .eyebrow { display: block; margin-bottom: 8px; }
.rules-row .title { font-size: 1.02rem; font-weight: 800; line-height: 1.28; overflow-wrap: anywhere; }
.rules-row .copy { color: var(--muted); line-height: 1.6; overflow-wrap: anywhere; }
.rules-row .note { color: var(--muted); line-height: 1.55; overflow-wrap: anywhere; }
.day-rules { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.day-rule { padding: 0; border-top: 1px solid var(--line); padding-top: 14px; min-width: 0; }
.day-rule .name { font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
.day-rule .text { color: var(--muted); line-height: 1.55; overflow-wrap: anywhere; }

.music-list {
  border-top: 1px solid var(--line);
  display: grid;
}

.music-row {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.music-row:hover .music-title {
  color: var(--teal-deep);
}

.music-index {
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.music-title {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  min-width: 0;
  overflow-wrap: anywhere;
}

.music-meta {
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.music-row .arrow {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1180px) {
  .hero-grid, .home-layout, .dual { grid-template-columns: 1fr; }
  .calendar-strip { grid-template-columns: 1fr; }
  .time-column { display: none; }
  .team-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .timeline-footer { grid-template-columns: 1fr; }
  .rules-row { grid-template-columns: 1fr 1fr; }
  .day-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary { position: static; }
}

@media (min-width: 1181px) {
  .summary {
    position: sticky;
    top: 90px;
  }

  .calendar-strip {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
  }

  .team-row {
    grid-template-columns: minmax(190px, 260px) minmax(0, 1fr) minmax(240px, 340px);
  }

  .rules-row {
    grid-template-columns: minmax(190px, 260px) minmax(0, 1fr) minmax(240px, 340px);
  }
}

@media (max-width: 860px) {
  .header { padding: 12px 14px; min-height: 66px; align-items: flex-start; }
  .section { padding-inline: 12px; padding-block: 20px; }
  .header-meta { display: none; }
  .calendar-head, .page-head { flex-direction: column; }
  .home-aside { padding: 16px; }
  .clock { text-align: left; }
  .summary-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
  .week-strip { gap: 4px; }
  .week-cell { padding-inline: 6px; }
  .day-column { min-height: 860px; }
  .track { margin-inline: 0; }
  .team-row { grid-template-columns: 1fr; gap: 10px; padding: 16px 0; }
  .all-day { flex-wrap: wrap; }
  .all-day-pill { white-space: normal; line-height: 1.35; }
  .day-header { align-items: flex-start; flex-direction: column; padding-inline: 0; }
  .day-header .date { font-size: 0.9rem; }
  .rules-layout { gap: 20px; }
  .rules-row { grid-template-columns: 1fr; gap: 10px; padding: 16px 0; }
  .day-rules { grid-template-columns: 1fr; gap: 0; }
  .day-rule { padding-top: 14px; }
  .music-row { grid-template-columns: 2.2rem minmax(0, 1fr) auto; gap: 10px; }
  .music-row .arrow { display: none; }
}

@media (max-width: 740px) {
  .nav-stack {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .header { padding-right: 12px; padding-top: calc(10px + env(safe-area-inset-top)); }
  .lang-switch { position: static; margin-left: auto; min-height: 38px; padding: 0 11px; gap: 6px; box-shadow: 0 10px 22px rgba(20, 20, 20, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
  .lang-switch .label { display: none; }
  .brand-mark span { display: none; }
  .hero h1, .page-title { max-width: 9ch; font-size: clamp(2.1rem, 12vw, 3rem); }
  .home-copy, .page-copy { font-size: 0.98rem; line-height: 1.7; }
  .home-mini-grid { grid-template-columns: 1fr; }
  .action, .pill, .nav-link { min-height: 42px; padding-inline: 14px; }
  .summary-top .value, .metric .value { font-size: 1.03rem; }
  .metric .sub, .summary-top .sub { font-size: 0.95rem; }
  .week-strip { grid-template-columns: repeat(7, minmax(0, 1fr)); overflow-x: auto; }
  .week-cell .num { width: 36px; height: 36px; font-size: 0.92rem; }
  .day-card .day { font-size: 1rem; }
  .day-card .meta, .day-card .slot, .team-row .copy, .team-row .deliverable, .footer-chip .sub { font-size: 0.95rem; line-height: 1.55; }
  .panel .panel-head span, .rules-head span, .rules-row .copy, .rules-row .note, .day-rule .text { white-space: normal; }
  .music-row { grid-template-columns: 1fr auto; gap: 8px; padding: 16px 0; }
  .music-index, .music-meta { display: none; }
}
