/* Walnut, espresso, and burgundy palette only; dimensions and behavior stay intact. */
html body #main .barn-calendar:not(.lesson-calendar) .calendar-toolbar {
  background: linear-gradient(120deg,#30251e,#3b2c22)!important;
  border-color: #664e3f!important;
  box-shadow: none!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-toolbar :is(label,p),
html body #main .barn-calendar:not(.lesson-calendar) #calendar-view-status {
  color: #f5efe5!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-toolbar select {
  background: #2b211c!important;
  color: #f5efe5!important;
  border-color: #9b8166!important;
  color-scheme: dark;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-now .barn-btn {
  background: #6b2429!important;
  color: #f5efe5!important;
  border-color: #d6b47b!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-now .barn-btn[aria-pressed=true],
html body #main .barn-calendar:not(.lesson-calendar) .calendar-now .barn-btn:hover {
  background: #813137!important;
  color: #f5efe5!important;
  box-shadow: 0 0 12px #d6b47b26!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-month {
  background: #211b18!important;
  border-color: #664e3f!important;
  box-shadow: none!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-month h2 {
  background: linear-gradient(110deg,#533522,#38261e)!important;
  color: #f5efe5!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-month h2 span {
  color: #d6b47b!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-month th {
  background: #392b22!important;
  color: #f5efe5!important;
  border-color: #664e3f!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-month td {
  background: #2b211c!important;
  color: #f5efe5!important;
  border-color: #664e3f!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-month td.calendar-empty {
  background: #191411!important;
  background-image: none!important;
  border-color: #4a382c!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-month td.calendar-today {
  background: #3b3022!important;
  outline-color: #d6b47b!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-event {
  background: #6b2429!important;
  color: #f5efe5!important;
  border-color: #ad7561!important;
  box-shadow: inset 2px 0 #d6b47b!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-event:hover {
  background: #813137!important;
  color: #f5efe5!important;
  box-shadow: inset 2px 0 #f2d9b1,0 0 10px #d6b47b26!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-month td:has(.calendar-event)::after {
  color: #d6b47b!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-month-note {
  background: #30251e!important;
  color: #c5b7a8!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-agenda-heading :is(h3,span) {
  color: #f5efe5!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-agenda>li {
  background: #30251e!important;
  color: #f5efe5!important;
  border-color: #664e3f!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-agenda>li>time {
  background: #533522!important;
  color: #f5efe5!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-agenda .calendar-event {
  background: transparent!important;
  color: #f5efe5!important;
  box-shadow: none!important;
  border-color: #664e3f!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-agenda .calendar-event::after {
  color: #d6b47b!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-agenda .calendar-event:hover {
  background: transparent!important;
  color: #d6b47b!important;
  box-shadow: none!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-guide-grid>a {
  background: #30251e!important;
  color: #f5efe5!important;
  border-color: #664e3f!important;
  box-shadow: none!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-guide-grid :is(h3,strong) {
  color: #f5efe5!important;
}
html body #main .barn-calendar:not(.lesson-calendar) .calendar-guide-grid span {
  color: #c5b7a8!important;
}
html body #main .barn-calendar:not(.lesson-calendar) :is(button,select,a):focus-visible {
  outline-color: #f0d29e!important;
}

/* This dialog belongs exclusively to the event calendar's existing script. */
html body .calendar-event-dialog {
  background: #30251e!important;
  color: #f5efe5!important;
  border-color: #9b8166!important;
}
html body .calendar-event-dialog :is(h2,p,button) {
  color: #f5efe5!important;
}
html body .calendar-event-dialog .barn-btn {
  background: #6b2429!important;
  color: #f5efe5!important;
}
html body .calendar-event-dialog :is(button,a):focus-visible {
  outline-color: #f0d29e!important;
}

/* The compact lesson picker shares the walnut, burgundy, and soft gold accents. */
html body #main .lesson-calendar .lesson-date-picker {
  background: #211b18!important;
  border-color: #664e3f!important;
}
html body #main .lesson-calendar .lesson-picker-heading {
  background: linear-gradient(110deg,#533522,#38261e)!important;
}
html body #main .lesson-calendar .calendar-month h3.lesson-month-title {
  color: #f5efe5!important;
}
html body #main .lesson-calendar .lesson-month-title span,
html body #main .lesson-calendar .lesson-key {
  color: #d6b47b!important;
}
html body #main .lesson-calendar .lesson-key i {
  background: #d6b47b!important;
}
html body #main .lesson-calendar .lesson-date-picker th {
  color: #c5b7a8!important;
}
html body #main .lesson-calendar .lesson-date {
  background: transparent!important;
  color: #baa994!important;
}
html body #main .lesson-calendar .lesson-date.has-lessons {
  color: #f5efe5!important;
}
html body #main .lesson-calendar .lesson-date .lesson-date-marker {
  color: #d6b47b!important;
}
html body #main .lesson-calendar .lesson-date:hover {
  background: #493528!important;
  border-color: #d6b47b!important;
  box-shadow: 0 0 10px #d6b47b1f!important;
}
html body #main .lesson-calendar .lesson-date[aria-current=date] {
  border-color: #d6b47b!important;
}
html body #main .lesson-calendar .lesson-date[aria-pressed=true] {
  background: #813137!important;
  color: #f5efe5!important;
  border-color: #d6b47b!important;
  box-shadow: 0 0 12px #d6b47b26!important;
}
html body #main .lesson-calendar .lesson-date[aria-pressed=true] .lesson-date-marker {
  color: #f5efe5!important;
}
html body #main .lesson-calendar .lesson-date[aria-pressed=true][aria-current=date] {
  border-color: #d6b47b!important;
}
html body #main .lesson-calendar .lesson-date.is-cancelled {
  color: #dbb697!important;
}
html body #main .lesson-calendar .lesson-date.is-cancelled[aria-pressed=true] {
  color: #f5efe5!important;
}
html body #main .lesson-calendar .lesson-picker-hint,
html body #main .lesson-calendar :is(.lesson-day-note,.lesson-no-classes,.lesson-month-empty,.lesson-source) {
  color: #c5b7a8!important;
  border-color: #664e3f!important;
}
html body #main .lesson-calendar .lesson-controls :is(select,button) {
  background: #30251e!important;
  color: #f5efe5!important;
  border-color: #9b8166!important;
  color-scheme: dark;
}
html body #main .lesson-calendar .lesson-controls #calendar-current-month {
  background: #38261e!important;
  color: #f5efe5!important;
}
html body #main .lesson-calendar .lesson-controls #calendar-current-month[aria-pressed=true] {
  background: #813137!important;
  color: #f5efe5!important;
  box-shadow: 0 0 12px #d6b47b26!important;
}
html body #main .lesson-calendar article.lesson-class,
html body #main .lesson-calendar .lesson-no-classes {
  background: #30251e!important;
  border-color: #664e3f!important;
  box-shadow: none!important;
}
html body #main .lesson-calendar article.lesson-class {
  border-left-color: #d6b47b!important;
}
html body #main .lesson-calendar .lesson-class :is(h5,.lesson-teachers) {
  color: #f5efe5!important;
}
html body #main .lesson-calendar .lesson-class :is(.lesson-room,.lesson-time),
html body #main .lesson-calendar .lesson-selected-heading .eyebrow,
html body #main .lesson-calendar .lesson-source a {
  color: #d6b47b!important;
}
html body #main .lesson-calendar :is(button,select,a):focus-visible {
  outline-color: #f0d29e!important;
}

/* A warm walnut band carries the lesson-time summary with burgundy actions. */
html body #main .dance-modern .ld-schedule {
  background: linear-gradient(110deg,#3b2c22,#30251e)!important;
}
html body #main .dance-modern .ld-schedule :is(h2,p) {
  color: #f5efe5!important;
}
html body #main .dance-modern .ld-schedule .eyebrow {
  color: #d6b47b!important;
}
html body #main .dance-modern .ld-schedule .barn-btn {
  background: #6b2429!important;
  color: #f5efe5!important;
  border-color: #d6b47b!important;
}
html body #main .dance-modern .ld-schedule .barn-btn:hover {
  background: #813137!important;
  color: #f5efe5!important;
  box-shadow: 0 0 12px #d6b47b26!important;
}
