.weekly-nav { color: #a43b22; }
.weekly-home { margin-top: 24px; }
.weekly-home__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid #ebd8cb;
  border-left: 4px solid var(--red, #d94f2b);
  border-radius: var(--radius, 14px);
  background: #fff5ed;
}
.weekly-home__panel h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 28px); }
.weekly-home__panel p { margin: 0; color: #605951; }
.weekly-home__panel .btn { flex-shrink: 0; }

.weekly-page [hidden] { display: none !important; }
.weekly-page :focus-visible,
.weekly-home :focus-visible,
.has-weekly-entry .weekly-nav:focus-visible {
  outline: 3px solid #963c23;
  outline-offset: 3px;
}
.weekly-hero {
  border-bottom: 1px solid var(--line, #eae4dc);
  background: radial-gradient(ellipse at 15% 5%, #ffebdc, transparent 62%), #fffaf5;
}
.weekly-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 5vw, 76px);
  padding-top: clamp(36px, 6vw, 76px);
  padding-bottom: clamp(36px, 6vw, 76px);
}
.weekly-hero__intro h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 6vw, 58px);
  letter-spacing: -.025em;
  line-height: 1.16;
}
.weekly-hero__intro > p { max-width: 34rem; margin: 0; color: #605951; }
.weekly-facts {
  display: flex;
  gap: 28px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}
.weekly-facts li { display: grid; gap: 2px; }
.weekly-facts strong { font-size: 24px; line-height: 1.2; }
.weekly-facts span { color: #605951; font-size: 13px; }

.weekly-contact {
  scroll-margin-top: 100px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #ead8ca;
  border-radius: var(--radius, 14px);
  background: #fff;
  box-shadow: var(--shadow, 0 6px 24px #3c281212);
}
.weekly-contact:target { border-color: #ad5238; }
.weekly-contact h2 { margin: 0 0 8px; font-size: 21px; }
.weekly-contact > p { margin: 0 0 14px; color: #605951; }
.weekly-contact__account {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 12px;
  border-radius: 9px;
  background: #fff3eb;
}
.weekly-contact__account strong { user-select: text; overflow-wrap: anywhere; color: #a43b22; }
.weekly-copy { padding: 7px 11px; font-size: 13px; }
.weekly-steps { margin: 14px 0 0; padding-left: 1.4rem; font-size: 14px; color: #59514a; }
.weekly-steps li { padding: 2px 0; }
.weekly-manual { margin-top: 16px; }
.weekly-manual label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.weekly-manual textarea {
  padding: 10px;
  width: 100%;
  border: 1px solid #ad5238;
  border-radius: 8px;
  color: var(--ink, #23201d);
  background: #fff;
  font-size: 16px;
}

.weekly-courses { padding-top: 38px; padding-bottom: 58px; scroll-margin-top: 94px; }
.weekly-courses__heading { display: flex; align-items: end; justify-content: space-between; gap: 14px 24px; margin-bottom: 18px; }
.weekly-courses__heading h2 { margin: 0 0 3px; font-size: 27px; }
.weekly-courses__heading p { margin: 0; color: #605951; font-size: 14px; }
.weekly-search label { display: block; margin-bottom: 4px; color: #534941; font-size: 13px; font-weight: 700; }
.weekly-search input {
  width: clamp(235px, 30vw, 350px);
  height: 40px;
  border: 1px solid #d8c8ba;
  border-radius: 8px;
  padding: 6px 11px;
  background: #fff;
  color: var(--ink, #23201d);
  font-size: 16px;
}
.weekly-courses__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.weekly-courses__item { min-width: 0; }
.weekly-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--line, #eae4dc);
  border-radius: var(--radius, 14px);
  background: var(--card, #fff);
  box-shadow: var(--shadow, 0 6px 24px #3c281212);
  scroll-margin-top: 100px;
}
.weekly-card__when {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 0 0 6px;
  color: #625951;
  font-size: 13px;
}
.weekly-card__when span:first-child { color: #a43b22; font-weight: 800; }
.weekly-card h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.45; overflow-wrap: anywhere; }
.weekly-materials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.weekly-materials li { padding: 2px 8px; border-radius: 6px; background: #f6ede5; color: #5c493d; font-size: 12px; }
.weekly-materials .weekly-materials__pending { background: #fff1d8; color: #774610; }
.weekly-card__pending { margin: 0 0 12px; color: #774610; font-size: 13px; }
.weekly-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding-top: 12px;
  margin-top: auto;
  border-top: 1px solid var(--line, #eae4dc);
}
.weekly-card__price { flex: 1 0 auto; white-space: nowrap; font-weight: 800; color: #a43b22; }
.weekly-card__price small { font-size: 12px; color: #605951; font-weight: 600; }
.weekly-card__contact { color: #a43b22; font-weight: 700; font-size: 14px; }
.weekly-card__contact:hover { text-decoration: underline; }
.weekly-courses__empty { padding: 22px 0; text-align: center; color: #605951; }
.weekly-toast {
  position: fixed;
  z-index: 90;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  max-width: min(330px, calc(100vw - 28px));
  padding: 12px 16px;
  background: #332822;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 24px #30201729;
  font-size: 14px;
}
@media (max-width: 920px) {
  .weekly-courses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .weekly-hero__layout { grid-template-columns: 1fr; }
  .weekly-contact { max-width: 36rem; }
  .weekly-home__panel { flex-wrap: wrap; gap: 14px; padding: 18px; }
}
@media (max-width: 540px) {
  .has-weekly-entry .header-inner,
  .weekly-page .header-inner {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 24px;
    padding: 8px 14px;
  }
  .has-weekly-entry .nav,
  .weekly-page .nav { flex-wrap: wrap; gap: 6px 15px; font-size: 13px; }
  .has-weekly-entry .brand-text,
  .weekly-page .brand-text { font-size: 16px; }
  .weekly-hero__layout, .weekly-home, .weekly-courses { padding-left: 14px; padding-right: 14px; }
  .weekly-courses__grid { grid-template-columns: 1fr; }
  .weekly-courses__heading { flex-direction: column; align-items: stretch; }
  .weekly-search input { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.weekly-page) { scroll-behavior: auto; }
  .weekly-page .btn, .weekly-home .btn { transition: none; }
}
