 html, body {
      height: 100%;
      min-height: 100dvh;
      overflow-x: hidden;
      margin: 0;
      padding: 0;
    }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  margin: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 215, 0, 0.08),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(204, 82, 16, 0.06),
      transparent 40%
    ),
    linear-gradient(180deg, #fbf8f4, #f1ebe3);
  min-height: 100dvh;
  visibility: hidden;
}

body.account-view #dash-topbar {
  display: none !important;
}

#landing-bg{
  position: fixed;
  inset: 0;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
  animation: none;
 
  background-image: url("HearthImage1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  z-index: 0;

  transition: opacity 1s ease;
  filter: blur(8px);
  pointer-events: none;
}

body.show-landing-bg #landing-bg{
  opacity: 1;
  animation: hearthZoom 30s ease-in-out infinite alternate;
}

#landing-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(252, 248, 242, 0.30);
  transition: opacity 1s ease;
  opacity: 1;
}

#profile-setup,
#dashboard,
#route-error,
#identity-section,
#create-board,
#calendar-topbar,
#calendar,
#calendar-side{
  position: relative;
  z-index: 1;
}

/* =========================
   PROFILE SETUP
   ========================= */

.profile-setup {
  padding: 20px;
}

.profile-card {
  max-width: 520px;
  margin: 60px auto;
  padding: 18px;
  box-sizing: border-box;

  background: rgba(248, 245, 239, 0.96);
  border: 1px solid rgba(126, 104, 82, 0.14);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(96, 72, 48, 0.14);
  backdrop-filter: blur(12px);
}

.profile-title {
  font-weight: 800;
  font-size: 20px;
  color: #2f241a;
}

.profile-subtitle {
  margin-top: 6px;
  font-size: 13px;
  color: #6b5c4f;
  opacity: 0.8;
}

.profile-field {
  margin-top: 18px;
}

.profile-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #3a2f25;
}

.profile-input {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  background: rgba(255, 255, 255, 0.92);
  box-sizing: border-box;
  font-family: inherit;
}

/* match your input focus style */
.profile-input:focus {
  outline: none;
  border-color: rgba(204, 82, 16, 0.32);
  box-shadow: 0 0 0 3px rgba(204, 82, 16, 0.10);
}

.profile-submit-btn {
  margin-top: 18px;
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  background: rgba(252, 248, 242, 0.92);
  color: #2f241b;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(96, 72, 48, 0.08);
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    background 120ms ease,
    border-color 120ms ease;
}

.profile-submit-btn:hover {
  background: rgba(253, 249, 244, 1);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(96, 72, 48, 0.10);
}

.profile-submit-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(96, 72, 48, 0.08);
}

.profile-submit-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(204, 82, 16, 0.12),
    0 8px 18px rgba(96, 72, 48, 0.10);
}

body.logged-in #landing-bg{
 opacity:0;
 animation: none;
}

body.logged-in #landing-bg::after{
  opacity: 0;
}

#calendar {
  margin: 10px 0 40px;
  overflow-x: auto;
  display: block;
  min-height: 200px;
  padding: 0 20px;
}

.calendar-fade {
  position: relative;
}

.calendar-fade::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  height: 100%;
  pointer-events: none;
  z-index: 5;

  background: linear-gradient(
    to right,
    rgba(247, 244, 236, 0) 0%,
    rgba(247, 244, 236, 0.65) 45%,
    rgba(247, 244, 236, 0.95) 100%
  );
}

.calendar-meta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.calendar-meta-line{
  color: #6b5c4f;
  font-size: 15px;
  margin-top: 2px;
}

.calendar-meta-main {
  white-space: nowrap;
}

.calendar-meta-subtext {
  font-size: 11px;
  opacity: 0.6;
  margin-top: 2px;
  white-space: nowrap;
}

@media (max-width: 720px){
  .footer-note--top{
    width: 100%;
  }
}

.calendar-topbar-right{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
  margin-right: 60px;
}

#calendar-title-wrap{
  flex: 1;
  justify-content: center;
  align-items: center;
}

#calendar-title{
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #2f241b;
  padding-top: 24px;
  padding-left: 24px;
}

#calendar-title::after {
  content: "";
  display: block;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #e58a1f, #f3b24a);
  opacity: 0.9;
}

.calendar-topbar{
  width: 100%;
  margin-top: 14px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.calendar-topbar-left {
  display: flex;
  flex-direction: column;    /* stack on the left */
  align-items: flex-start;
  gap: 10px;
}

/* =========================
   CALENDAR LOADING STATE
   ========================= */

.calendar-loading {
  position: fixed;
  inset: 0;
  z-index: 25000;

  display: none;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(
      180deg,
      rgba(251, 248, 244, 0.58),
      rgba(241, 235, 227, 0.64)
    );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.calendar-loading__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
}

.calendar-loading__spinner {
  width: 34px;
  height: 34px;
}

.calendar-loading__title {
  font-size: 18px;
  font-weight: 700;
  color: #2f241a;
  letter-spacing: -0.01em;
}

.calendar-loading__subtext {
  font-size: 12px;
  color: #6b5c4f;
  opacity: 0.78;
}

.calendar-loading {
  opacity: 0;
  transition: opacity 180ms ease;
}

.calendar-loading.is-visible {
  opacity: 1;
}

/* =========================
   MOBILE VIEW TIP
   ========================= */

.mobile-view-tip {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(6px);
}

/* Card */
.mobile-view-tip__card {
  position: absolute;
  width: 200px;
  max-width: 90vw;

  pointer-events: auto;

  padding: 10px 8px;
  border-radius: 16px;

  background:
    linear-gradient(180deg, rgba(255, 247, 237, 0.80), rgba(248, 232, 214, 0.70));

  box-shadow:
    0 10px 30px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.2);

  backdrop-filter: blur(4px);
}

/* Arrow pointing to header */
.mobile-view-tip__arrow {
  position: absolute;
  width: 14px;
  height: 14px;

  background: rgba(248, 232, 214, 0.98);

  transform: rotate(45deg);

  box-shadow:
    -2px -2px 6px rgba(0,0,0,0.08);
}

/* Close button */
.mobile-view-tip__close {
  position: absolute;
  top: 6px;
  right: 8px;

  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: #9a3412;
}

/* Text styles */
.mobile-view-tip__eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
  margin-bottom: 2px;
}

.mobile-view-tip__title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.mobile-view-tip__text {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 6px;
}

/* Video */
.mobile-view-tip__media {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.mobile-view-tip__video {
  width: 100%;
  display: block;
}

.whole-day-wrap.inspect-column-mode .whole-day-month-card {
  opacity: 1;
}

/* Dim only the active month's non-selected cells */
.whole-day-wrap.inspect-column-mode .whole-day-month-card.inspect-month-active .whole-day-cell[data-weekday] {
  opacity: 0.35;
  transition:
    opacity 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

/* Selected whole-day cells need the same border treatment as normal inspect mode */
.whole-day-wrap.inspect-column-mode .whole-day-month-card.inspect-month-active .whole-day-cell.inspect-column-cell {
  position: relative;
  z-index: 1;
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(255, 248, 240, 0.98), rgba(248, 236, 220, 0.98)) !important;
}

/* Draw the inspect border ABOVE the cell background */
.whole-day-wrap.inspect-column-mode .whole-day-month-card.inspect-month-active .whole-day-cell.inspect-column-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;

  box-shadow:
    inset 1px 0 0 rgba(229, 138, 31, 0.9),
    inset -1px 0 0 rgba(229, 138, 31, 0.9);
}

/* Gold cells in inspect mode stay gold, same as normal calendar */
.whole-day-wrap.inspect-column-mode .whole-day-month-card.inspect-month-active .whole-day-cell.inspect-column-cell.gold-cell,
.whole-day-wrap.inspect-column-mode .whole-day-month-card.inspect-month-active .whole-day-cell.gold-cell.inspect-column-cell {
  background: linear-gradient(
    145deg,
    rgba(247, 216, 74, 0.82) 0%,
    rgba(237, 188, 52, 0.82) 58%,
    rgba(216, 146, 30, 0.82) 100%
  ) !important;
  filter: none !important;
}

/* Active month weekday headers dim slightly */
.whole-day-wrap.inspect-column-mode .whole-day-month-card.inspect-month-active .whole-day-weekday {
  opacity: 0.55;
  transition:
    opacity 180ms ease,
    color 180ms ease,
    text-shadow 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

/* Active header matches normal calendar inspect header */
.whole-day-wrap.inspect-column-mode .whole-day-month-card.inspect-month-active .whole-day-weekday.inspect-column-active {
  position: relative;
  z-index: 2;
  opacity: 1;
  color: #e58a1f;
  background:
    linear-gradient(
      180deg,
      rgba(255, 247, 237, 0.98),
      rgba(248, 232, 214, 0.98)
    );
  text-shadow:
    0 1px 0 rgba(255,255,255,0.5),
    0 0 6px rgba(243, 178, 74, 0.25);
}

/* Header border overlay, same strength as normal calendar */
.whole-day-wrap.inspect-column-mode .whole-day-month-card.inspect-month-active .whole-day-weekday.inspect-column-active::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;

  box-shadow:
    inset 1px 0 0 rgba(229, 138, 31, 0.9),
    inset -1px 0 0 rgba(229, 138, 31, 0.9),
    inset 0 1px 0 rgba(229, 138, 31, 0.9);
}

/* Bottom of selected column — closes the open bottom edge */
.whole-day-wrap.inspect-column-mode .whole-day-month-card.inspect-month-active .whole-day-grid > .whole-day-cell.inspect-column-cell:last-child::after,
.whole-day-wrap.inspect-column-mode .whole-day-month-card.inspect-month-active .whole-day-grid > .whole-day-cell.inspect-column-cell:nth-last-child(1)::after,
.whole-day-wrap.inspect-column-mode .whole-day-month-card.inspect-month-active .whole-day-grid > .whole-day-cell.inspect-column-cell:nth-last-child(2)::after,
.whole-day-wrap.inspect-column-mode .whole-day-month-card.inspect-month-active .whole-day-grid > .whole-day-cell.inspect-column-cell:nth-last-child(3)::after,
.whole-day-wrap.inspect-column-mode .whole-day-month-card.inspect-month-active .whole-day-grid > .whole-day-cell.inspect-column-cell:nth-last-child(4)::after,
.whole-day-wrap.inspect-column-mode .whole-day-month-card.inspect-month-active .whole-day-grid > .whole-day-cell.inspect-column-cell:nth-last-child(5)::after,
.whole-day-wrap.inspect-column-mode .whole-day-month-card.inspect-month-active .whole-day-grid > .whole-day-cell.inspect-column-cell:nth-last-child(6)::after,
.whole-day-wrap.inspect-column-mode .whole-day-month-card.inspect-month-active .whole-day-grid > .whole-day-cell.inspect-column-cell:nth-last-child(7)::after {
  box-shadow:
    inset 1px 0 0 rgba(229, 138, 31, 0.9),
    inset -1px 0 0 rgba(229, 138, 31, 0.9),
    inset 0 -1px 0 rgba(229, 138, 31, 0.9);
}

/* Day numbers in selected cells */
.whole-day-wrap.inspect-column-mode .whole-day-month-card.inspect-month-active .whole-day-cell.inspect-column-cell .whole-day-cell__number {
  color: #e58a1f;
}
/* Button */
.mobile-view-tip__button {
  margin-top: 10px;
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 8px 10px;

  background: linear-gradient(180deg, #e58a1f, #cc5210);
  color: white;
  font-weight: 600;
  cursor: pointer;
}

/* Slight fade-in */
.mobile-view-tip--visible {
  animation: mobileViewTipFade 220ms ease-out;
}

@keyframes mobileViewTipFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.centered-container {
  max-width: 1180px;
  margin: 0;
  padding: 14px 34px;
  text-align: center;
  }    

    .centered-container input {
      width: 100%;
      padding: 10px;
      margin-top: 10px;
      margin-bottom: 15px;
      font-size: 16px;
    }

    .primary-btn {
      padding: 10px 18px;
      font-size: 15px;
      cursor: pointer;
    }

    #rows-container input {
      margin-top: 10px;
    }

    table {
      border-collapse: separate;
      margin: 0;
      display: table;
    }

#availabilityTable { 
 display: table;
 border-collapse: collapse;
 width: max-content;
 min-width: 700px;
}

#availabilityTable th, 
#availabilityTable td {
  border: 1px solid rgba(126, 104, 82, 0.33);
  min-width: 70px;
  height: 50px;
}

/* Keep selected column border visible even on gold cells */
#availabilityTable.inspect-column-mode td.inspect-column-cell {
  position: relative;
  z-index: 1;
}

/* Draw the inspect border ABOVE the cell background */
#availabilityTable.inspect-column-mode td.inspect-column-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;

  box-shadow:
    inset 1px 0 0 rgba(229, 138, 31, 0.9),
    inset -1px 0 0 rgba(229, 138, 31, 0.9);
}

/* Top of selected column */
#availabilityTable.inspect-column-mode th.day-header.inspect-column-active {
  position: relative;
  z-index: 2;
}

#availabilityTable.inspect-column-mode th.day-header.inspect-column-active::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;

  box-shadow:
    inset 1px 0 0 rgba(229, 138, 31, 0.9),
    inset -1px 0 0 rgba(229, 138, 31, 0.9),
    inset 0 1px 0 rgba(229, 138, 31, 0.9);
}

/* Bottom of selected column */
#availabilityTable.inspect-column-mode tr:last-child td.inspect-column-cell::after {
  box-shadow:
    inset 1px 0 0 rgba(229, 138, 31, 0.9),
    inset -1px 0 0 rgba(229, 138, 31, 0.9),
    inset 0 -1px 0 rgba(229, 138, 31, 0.9);
}

/* Gold cells in inspect mode: keep them gold, just soften slightly */
#availabilityTable.inspect-column-mode td.gold-cell.inspect-column-cell,
#availabilityTable.inspect-column-mode td.inspect-column-cell.gold-cell {
  background: linear-gradient(
    145deg,
    rgba(247, 216, 74, 0.82) 0%,
    rgba(237, 188, 52, 0.82) 58%,
    rgba(216, 146, 30, 0.82) 100%
  ) !important;
  filter: none !important;
}




/* Alternate day columns (warmer tone) */
#availabilityTable td:nth-child(odd),
#availabilityTable th:nth-child(odd) {
  background:
    linear-gradient(
      180deg,
      rgba(246, 236, 222, 0.8),
      rgba(236, 222, 204, 0.2)
    );
}

/* Slight vertical separation boost */
#availabilityTable td {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}

th, td {
  border: 1px solid rgba(126, 104, 82, 0.26);
  padding: 10px;
}

td > .dot-container {
  width: 100%;
}

th {
  position: sticky;
  top: 0;
  z-index: 5;
  background: linear-gradient(180deg, rgba(252, 249, 244, 0.96), rgba(247, 241, 232, 0.96));
  box-shadow: inset 0 -1px 0 rgba(126, 104, 82, 0.12);
}
    
.day-header {
  font-weight: 700;
  color: #4e3f33;
  letter-spacing: -0.01em;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.day-header:active {
  transform: translateY(1px);
}

.day-header.inspect-column-active {
  color: #e58a1f;
  background:
    linear-gradient(
      180deg,
      rgba(255, 247, 237, 0.98),
      rgba(248, 232, 214, 0.98)
    );

  text-shadow:
    0 1px 0 rgba(255,255,255,0.5),
    0 0 6px rgba(243, 178, 74, 0.25);
}

#availabilityTable.inspect-column-mode th.day-header:not(.inspect-column-active),
#availabilityTable.inspect-column-mode td[data-day][data-time]:not(.inspect-column-cell) {
  opacity: 0.35;
}

#availabilityTable.inspect-column-mode td[data-day][data-time] {
  transition:
    opacity 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

#availabilityTable.inspect-column-mode td.inspect-column-cell {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(255, 248, 240, 0.98), rgba(248, 236, 220, 0.98)) !important;
}

/* top of the full column */
#availabilityTable.inspect-column-mode th.day-header.inspect-column-active {
  opacity: 1;
  color: #e58a1f;

  background:
    linear-gradient(
      180deg,
      rgba(255, 247, 237, 0.98),
      rgba(248, 232, 214, 0.98)
    );

  box-shadow:
    inset 1px 0 0 rgba(229, 138, 31, 0.65),
    inset -1px 0 0 rgba(229, 138, 31, 0.65),
    inset 0 1px 0 rgba(229, 138, 31, 0.65);

  text-shadow:
    0 1px 0 rgba(255,255,255,0.5),
    0 0 6px rgba(243, 178, 74, 0.25);
}

#availabilityTable.inspect-column-mode td.inspect-column-cell:hover {
  transform: none;
}

#availabilityTable.inspect-column-mode .time-label,
#availabilityTable.inspect-column-mode .calendar-meta-corner {
  opacity: 1;
}

/* Month divider line */
th.day-header.month-break,
td.month-break {
  background: linear-gradient(
    180deg,
    #f3e7d8,
    #ead9c4
  ) !important;

  border-left: 2px solid rgba(126, 104, 82, 0.42) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}

th.day-header.month-break {
  background:
    linear-gradient(
      to right,
      rgba(196, 176, 126, 0.20) 0,
      rgba(196, 176, 126, 0.08) 10px,
      transparent 22px
    ),
    linear-gradient(
      180deg,
      rgba(252, 249, 244, 0.96),
      rgba(247, 241, 232, 0.96)
    );
}

td.month-break {
  background:
    linear-gradient(
      to right,
      rgba(196, 176, 126, 0.14) 0,
      rgba(196, 176, 126, 0.05) 10px,
      transparent 20px
    );
}

td.month-break:not(.gold-cell):hover {
  background: linear-gradient(
    180deg,
    #f7ecdf,
    #eddcc7
  ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 0 0 1px rgba(204, 82, 16, 0.22),
    0 8px 18px rgba(96, 72, 48, 0.12);
}

.monthday {
  font-size: 13px;
  color: #6b5c4f;
  margin-top: -34px;
  display: block;
}
    
.time-label {
  font-weight: 650;
  width: 120px;
  border-right: 1px solid rgba(126, 104, 82, 0.24);
  background: linear-gradient(180deg, rgba(246, 240, 232, 0.98), rgba(240, 232, 222, 0.98));
  color: #3f3329;
  position: sticky;
  left: 0;
  z-index: 4;
  box-shadow: inset -1px 0 0 rgba(255,255,255,0.35);
}

/* =========================
   WHOLE DAY / ALL DAY VIEW
   ========================= */

.whole-day-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(340px, 1fr));
  gap: 18px;
  align-items: start;
  min-width: 760px;
}

.whole-day-month-card {
  border: 1px solid rgba(126, 104, 82, 0.18);
  border-radius: 20px;
  background: rgba(252, 248, 242, 0.88);
  box-shadow: 0 10px 24px rgba(96, 72, 48, 0.08);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.whole-day-month-card__title {
  padding: 16px 18px 12px;
  font-size: 18px;
  font-weight: 700;
  color: #3f3329;
}

.whole-day-weekdays,
.whole-day-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.whole-day-weekday {
  padding: 10px 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #6b5c4f;
  background: linear-gradient(180deg, rgba(246, 240, 232, 0.98), rgba(238, 229, 218, 0.98));
  border-top: 1px solid rgba(126, 104, 82, 0.12);
  border-bottom: 1px solid rgba(126, 104, 82, 0.12);
  transition:
    opacity 180ms ease,
    color 180ms ease,
    text-shadow 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.whole-day-cell {
  position: relative;
  min-height: 92px;
  border-right: 1px solid rgba(126, 104, 82, 0.14);
  border-bottom: 1px solid rgba(126, 104, 82, 0.14);
  background: linear-gradient(180deg, rgba(252, 249, 244, 0.96), rgba(247, 241, 232, 0.96));
  transition:
    opacity 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    filter 180ms ease;
  cursor: pointer;
}

.whole-day-cell__number {
  position: absolute;
  top: 8px;
  left: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #4e3f33;
  z-index: 2;
  transition:
    color 180ms ease,
    opacity 180ms ease,
    text-shadow 180ms ease;
}

.whole-day-cell:nth-child(7n) {
  border-right: none;
}

.whole-day-cell:hover:not(.whole-day-cell--past):not(.whole-day-cell--empty):not(.gold-cell) {
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(249, 241, 229, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 0 0 1px rgba(204, 82, 16, 0.10),
    0 6px 16px rgba(96, 72, 48, 0.08);
}

.whole-day-cell.gold-cell:hover {
  filter: brightness(1.02);
  background: linear-gradient(
    145deg,
    #f7d84a 0%,
    #edbc34 58%,
    #d8921e 100%
  );
}

.whole-day-cell--empty {
  background: transparent;
  cursor: default;
}

.whole-day-cell--past {
  opacity: 0.55;
  cursor: not-allowed;
  background:
    linear-gradient(180deg, rgba(239, 232, 224, 0.9), rgba(233, 224, 214, 0.9));
}

.whole-day-cell--today {
  box-shadow:
    inset 0 0 0 2px rgba(202, 138, 4, 0.45),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

.whole-day-cell__dots {
  inset: 28px 8px 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  margin-top: 3px;
}

#legend{
  width: 280px;
  display: block;
  margin-bottom: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 7px 0;
}

.legend-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

.legend-user-name {
  line-height: 1.25;
}

.legend-local-colour-btn {
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  background: rgba(252, 248, 242, 0.92);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.legend-local-colour-btn:hover {
  background: rgba(253, 249, 244, 1);
}

.color-box {
  width: 20px;
  height: 20px;
  margin-right: 0;
  border: 1px solid #ccc;
  flex: 0 0 auto;
}

.footer-note{
  max-width: 980px;
  margin: 8px 10px 8px;
  margin-left: 20px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  background: rgba(249, 243, 236, 0.78);
  backdrop-filter: blur(10px);
}

.footer-note__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-note__title{
  font-weight: 700;
  font-size: 13px;
  opacity: 0.85;
}

.footer-note__display{
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.9;
  white-space: pre-wrap; /* keeps newlines */
}

.footer-note__placeholder{
  opacity: 0.55;
  font-style: italic;
}

.footer-note__editor textarea{
  width: 100%;
  box-sizing: border-box;
  resize: none;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  background: rgba(252, 248, 242, 0.92);
  font-size: 13px;
  line-height: 1.4;
}

.footer-note__actions{
  display:flex;
  gap: 10px;
  align-items:center;
  margin-top: 10px;
}

.footer-note--top{
  margin: 0;
  margin-left: 0;
  width: 50%;
  max-height: clamp(120px, 22vh, 260px);
  overflow: auto;
}

.footer-note .footer-edit-btn {
  background: rgba(252, 248, 242, 0.88);
  border: 1px solid rgba(126, 104, 82, 0.18);
  font-weight: 600;
}

.footer-note .footer-edit-btn:hover {
  background: rgba(253, 249, 244, 1);
}

@media (max-width: 720px){
  .footer-note--top{
    width: 100%;
  }
}

td {
  transition: box-shadow 0.22s ease, background 0.22s ease, transform 0.22s ease;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(252, 249, 244, 0.96), rgba(247, 241, 232, 0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28);
}

    .gold-header {
      background: linear-gradient(135deg, gold, #ffef9f) !important;
      color: #6a5200 !important;
      box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
      font-weight: 700;
    }

/* Normal cells */
td:not(.gold-cell):hover {
  background: linear-gradient(
    180deg,
    rgba(255, 253, 248, 1),
    rgba(252, 244, 233, 1)
  );
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.48),
    0 0 0 1px rgba(204, 82, 16, 0.24),
    0 10px 22px rgba(96, 72, 48, 0.14);
  cursor: pointer;
}

/* Zebra cells (slightly darker hover so it still contrasts) */
#availabilityTable td:nth-child(odd):not(.gold-cell):hover {
  background: linear-gradient(
    180deg,
    rgba(250, 242, 230, 1),
    rgba(240, 228, 210, 1)
  );
}

.gold-cell:hover {
  filter: brightness(1.02);
  background: linear-gradient(
    145deg,
    #f9de58 0%,
    #f0c53d 58%,
    #de9a24 100%
  );
}

.dot-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  z-index: 0;
}

.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.9);
  flex: 0 0 auto;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.58);
}

/* 1–3 dots */
.dot-container.dots-1-3 {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

/* 3 dots */
.dot-container.dots-1-3 {
 transform: translateX(-3px);
}

/* 4–6 dots */
.dot-container.dots-4-6 {
  display: grid;
  grid-template-columns: repeat(3, 12px);
  grid-auto-rows: 12px;
  justify-content: center;
  align-content: center;
  gap: 10px;
  padding: 2px 0;
  transform: translateX(-3px);
}

.dot-container.dots-4-6 .dot {
  width: 14px;
  height: 14px;
}

/* 7–8 dots */
.dot-container.dots-7-8,
.dot-container.dots-9plus {
  display: grid;
  grid-template-columns: repeat(4, 10px);
  grid-auto-rows: 12px;
  justify-content: center;
  align-content: center;
  gap: 8px;
  padding: 2px 0 4px;
  transform: translateX(-4px);
}

.dot-container.dots-7-8 .dot,
.dot-container.dots-9plus .dot {
  width: 12px;
  height: 12px;
}

.dot-overflow-badge {
  position: absolute;
  right: -6px;
  bottom: -8px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: rgba(88, 64, 42, 0.92);
  color: #fff;
  font-size: 9px;
  line-height: 14px;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 1px 3px rgba(96, 72, 48, 0.22);
  pointer-events: none;
}

.cell-hover-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 30000;
  min-width: 150px;
  max-width: 240px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  background: rgba(252, 248, 242, 0.96);
  box-shadow: 0 14px 34px rgba(96, 72, 48, 0.16);
  backdrop-filter: blur(10px);
  pointer-events: none;
 transform-origin: top left;
}

.cell-hover-tooltip.is-opening {
  animation: cellTooltipPopIn 100ms ease-in;
}

@keyframes cellTooltipPopIn {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(2px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.cell-hover-tooltip--gold {
  border: 1px solid rgba(212, 160, 23, 0.38);
  background: linear-gradient(
    180deg,
    rgba(255, 251, 235, 0.97),
    rgba(255, 246, 214, 0.95)
  );
  box-shadow:
    0 14px 34px rgba(212, 160, 23, 0.18),
    0 0 0 1px rgba(255, 215, 0, 0.10);
}

.cell-hover-tooltip__heading {
  font-size: 11px;
  font-weight: 800;
  color: #9a6700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(212, 160, 23, 0.16);
}

.cell-hover-tooltip__list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cell-hover-tooltip__item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.cell-hover-tooltip__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 1px 2px rgba(96, 72, 48, 0.16);
  flex: 0 0 auto;
}

.cell-hover-tooltip__name {
  font-size: 12px;
  font-weight: 600;
  color: #4e3f33;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gold-cell {
 position: relative;
  background: linear-gradient(
    145deg,
    #f7d84a 0%,
    #edbc34 58%,
    #d8921e 100%
  );

  box-shadow:
    0 0 10px rgba(216, 146, 30, 0.30),
    inset 0 0 8px rgba(255, 238, 176, 0.30);

  animation: goldPulse 1.6s infinite ease-in-out;
}

.gold-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;

  background: linear-gradient(
    145deg,
    #f7d84a 0%,
    #edbc34 58%,
    #d8921e 100%
  );
 
   box-shadow:
    0 0 10px rgba(216, 146, 30, 0.30),
    inset 0 0 8px rgba(255, 238, 176, 0.30);

  animation: goldPulse 1.6s infinite ease-in-out;
}

@keyframes goldPulse {
  0%, 100% {
    box-shadow:
      0 0 10px rgba(216, 146, 30, 0.24),
      inset 0 0 8px rgba(255, 238, 176, 0.22);
  }

  50% {
    box-shadow:
      0 0 24px rgba(255, 196, 64, 0.48),
      inset 0 0 12px rgba(255, 244, 190, 0.34);
  }
}

#availabilityTable td.gold-cell {
 position: relative;
  background: linear-gradient(
    145deg,
    #f7d84a 0%,
    #edbc34 58%,
    #d8921e 100%
  ) !important;
  box-shadow:
    0 0 10px rgba(216, 146, 30, 0.30),
    inset 0 0 8px rgba(255, 238, 176, 0.30);
}

.structure-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
  text-align: left;
}

.structure-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}    

.structure-subtitle {
  font-size: 13px;
  color: #6b5c4f;
}

.create-shell {
  text-align: left;
  max-width: 1180px;
  margin: -36px auto 0;
}

.create-shell__header {
  margin-bottom: 20px;
}

.create-shell__header h2 {
  position: relative;
  display: inline-block;
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.08;
  color: #2f241a;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.55),
    0 2px 4px rgba(80,58,38,0.05);
}

.create-shell__header h2::after {
  content: "";
  position: absolute;
  left: 1%;
  bottom: -5px;
  width: 300px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(198,145,92,0.46),
    rgba(198,145,92,0.18),
    rgba(198,145,92,0)
  );
}

.create-shell__subtext {
  font-size: 14px;
  color: #6f6256;
}

.create-layout {
  display: grid;
  grid-template-columns: minmax(430px, 500px) minmax(500px, 680px);
  gap: 24px;
  align-items: stretch;
  justify-content: start;
}

.create-left-column {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.create-panel--basics {
  flex: 0 0 auto;
}

.create-panel {
  background: rgba(255, 252, 247, 0.88);
  border: 1px solid rgba(126, 104, 82, 0.16);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 14px 34px rgba(92, 71, 50, 0.08);
  backdrop-filter: blur(10px);
}

.create-panel__heading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #665341;
  margin-bottom: 22px;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.65),
    0 -1px 0 rgba(92,73,57,0.06),
    0 1.5px 2px rgba(92,73,57,0.05);
  position: relative;
}

.create-panel__heading::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(214, 145, 85, 0.95), rgba(181, 108, 48, 0.95));
  box-shadow:
    0 0 0 1px rgba(140, 93, 52, 0.14),
    0 1px 2px rgba(107, 69, 35, 0.18);
  flex: 0 0 auto;
}

.create-panel__heading::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: -6px;
  width: 280px;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    rgba(176,132,90,0.42),
    rgba(176,132,90,0.16),
    rgba(176,132,90,0)
  );
}

.create-field + .create-field {
  margin-top: 24px;
}

.create-label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: #43372d;
}

.create-input,
.create-select {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  color: #332920;
}

.create-input:focus,
.create-select:focus {
  outline: none;
  border-color: rgba(204, 82, 16, 0.32);
  box-shadow: 0 0 0 3px rgba(204, 82, 16, 0.08);
}

.create-input.is-invalid,
.create-select.is-invalid {
  border-color: rgba(186, 58, 48, 0.72) !important;
  box-shadow: 0 0 0 3px rgba(186, 58, 48, 0.12);
  background: rgba(255, 248, 247, 0.96);
}

.structure-card.is-invalid {
  border-color: rgba(186, 58, 48, 0.72) !important;
  box-shadow: 0 0 0 3px rgba(186, 58, 48, 0.10);
  background: rgba(255, 245, 244, 0.96);
}

.create-help {
  font-size: 12px;
  color: #7a6757;
  margin-top: 6px;
  line-height: 1.45;
}

#gold-threshold-wrap {
  margin-top: 36px;
}

.structure-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.structure-column__heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7b6857;
  margin-bottom: 10px;
}

.structure-column .structure-card + .structure-card {
  margin-top: 12px;
}

.structure-card {
  background: rgba(252, 248, 242, 0.92);
  border: 1px solid rgba(126, 104, 82, 0.18);
  border-radius: 14px;
  padding: 16px 16px 15px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background 0.12s ease;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.structure-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(96, 72, 48, 0.10);
  border-color: rgba(126, 104, 82, 0.24);
}

.structure-card.active {
  box-shadow: 0 12px 26px rgba(204, 82, 16, 0.10);
  background: rgba(255, 250, 244, 0.98);
}

.structure-card--locked {
  opacity: 0.72;
  cursor: not-allowed;
  background: rgba(223, 217, 210, 0.88);
}

.structure-card--locked:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(126, 104, 82, 0.18);
}

.structure-card::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 12px;
  pointer-events: none;

  border: 2px solid rgba(204, 82, 16, 0.34);

  opacity: 0;
  transform: scale(0.78);
  transition:
    opacity 220ms ease,
    transform 320ms cubic-bezier(.22, 1, .36, 1);
}

.structure-card.active::after {
  opacity: 1;
  transform: scale(1);
}

.structure-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 5px;
  color: #40342a;
  line-height: 1.2;
}

.structure-subtitle {
  font-size: 13px;
  color: #6b5c4f;
  line-height: 1.45;
}

.structure-lock {
  font-size: 14px;
  opacity: 0.8;
}

#create-board-btn {
  width: 180px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: linear-gradient(
      180deg,
      rgba(246, 225, 170, 0.98),
      rgba(231, 196, 118, 0.90)
    );
  color: #4b4237;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 6px 16px rgba(0,0,0,0.06);
  cursor: pointer;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease;
}

#create-board-btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.82);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.75) inset,
    0 10px 20px rgba(0,0,0,0.08);
}

#create-board-btn:active {
  transform: translateY(0);
}

/* hidden by default */
#go-create {
  display: none;
}

/* only visible on create screen */
body.create-view #go-create {
  display: block;
}

#create-board #go-create {
  width: 60%;
  margin-top: 15%;

  flex: 0 0 auto;
  min-height: 124px;
  height: 124px;

  display: flex;
  align-items: center;
  justify-content: center;

  align-self: center;

  padding: 18px 24px;

  border-radius: 22px;
  border: 1px solid rgba(191, 145, 74, 0.72);

  background:
    linear-gradient(
      180deg,
      rgba(246, 225, 170, 0.98),
      rgba(231, 196, 118, 0.98)
    );

  color: #4a3520;
  font: inherit;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(255,255,255,0.28);

  box-shadow:
   inset 0 0 0 1px rgba(255,255,255,0.72),
   inset 0 0 0 6px rgba(255,244,214,0.48),
   0 18px 34px rgba(120,84,41,0.16);

  cursor: pointer;

  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    border-color 140ms ease,
    background 140ms ease;
}

#create-board #go-create:hover {
  transform: translateY(-1px);

  background:
    linear-gradient(
      180deg,
      rgba(250, 232, 182, 1),
      rgba(238, 205, 126, 1)
    );

  border-color: rgba(191, 145, 74, 0.84);

  box-shadow:
    inset 0 0 0 2px rgba(255, 248, 224, 0.62),
    inset 0 1px 0 rgba(255,255,255,0.78),
    0 22px 38px rgba(120,84,41,0.18);
}

#create-board #go-create:active {
  transform: translateY(0);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.72) inset,
    0 10px 20px rgba(120,84,41,0.12);
}

#create-board #go-create:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(212,154,86,0.18),
    0 1px 0 rgba(255,255,255,0.76) inset,
    0 18px 34px rgba(120,84,41,0.16);
}

@media (max-width: 1100px) {
  .create-layout {
    grid-template-columns: 1fr;
  }

  .structure-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .structure-columns {
    grid-template-columns: 1fr;
  }
}

.custom-structure-card {
  width: min(520px, 100%);
}

.custom-rows-fields {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.custom-row-input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  color: #332920;
}

.custom-row-input:focus {
  outline: none;
  border-color: rgba(204, 82, 16, 0.32);
  box-shadow: 0 0 0 3px rgba(204, 82, 16, 0.08);
}

.pro-heading {
  font-weight: 700;
  margin-bottom: 8px;
}    

.pro-select {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  background: #f3ede6;
  color: #7a6857;
  cursor: not-allowed;
}

    .pro-select:disabled {
      opacity: 0.8;
    }

    @keyframes dotPopIn {
      from { transform: scale(0.5); opacity: 0; }
      to   { transform: scale(1); opacity: 1; }
    }

    .dot.pop-in {
      animation: dotPopIn 120ms ease-out;
      transform-origin: center;
    }

.topbar-btn {
  padding: 8px 8px;
  border-radius: 12px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  background: rgba(252, 248, 242, 0.92);
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  height: 45px;
  width: 114px;
}

.topbar-btn:hover {
  background: rgba(253, 249, 244, 1);
}

    /* Dashboard */
#dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 68px;
  max-width: 980px;
  margin: 0;
  margin-right: auto;
}

#dash-settings {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.gear-icon{
  display:inline-block;
  transition: transform 220ms ease;
}

#dash-settings:hover .gear-icon{
  transform: rotate(22deg);
}

#dash-settings:active .gear-icon{
 transform: scale(0.92) rotate(-180deg);
 filter: brightness(0.90);
}

#dash-title {
  text-align: center;
  line-height: 1.1;
}

.dash-subtitle {
  font-size: 12px;
  letter-spacing: 0.12em;
  opacity: 0.65;
}

.dash-main {
  font-size: 22px;
  font-weight: 600;
}

#dash-create {
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}
    
#dash-body {
  max-width: 980px;
  margin: 0;
  margin-right: auto;
  padding: 10px 68px 22px;
}

#dash-account {
  max-width: 980px;
  margin: 0;
  margin-right: auto;
  padding: 10px 68px 22px;
}

body.account-view #dash-account {
  padding-top: 12px;
}

.dash-section {
  margin-top: 18px;
}

.dash-section-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.dashboard-section-title {
  font-size: 18px;
  font-weight: 700;
  margin: 18px 0 10px;
}

.dashboard-section-divider {
  height: 1px;
  width: 100%;
  background: rgba(126, 104, 82, 0.18);
  margin: 6px 0 14px;
}

.dashboard-dev-note {
  margin-top: 130px;
  padding-top: 22px;
  border-top: 1px solid rgba(126, 104, 82, 0.14);
  text-align: center;
}

.dashboard-dev-note-main {
  max-width: 680px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(92, 72, 56, 0.62);
}

.dashboard-dev-note-version {
  margin-top: 10px;
  font-size: 11px;
  color: rgba(160, 88, 48, 0.7);
  letter-spacing: 0.01em;
  font-style: italic;
}

/* =========================
   DASHBOARD SETTINGS DRAWER
   ========================= */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 9000;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 320px;
  max-width: calc(100vw - 48px);
  background: rgba(249, 243, 236, 0.78);
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(126, 104, 82, 0.18);
  box-shadow: 18px 0 50px rgba(96, 72, 48, 0.18);

  transform: translateX(-104%);
  transition: transform 220ms ease;
  z-index: 9001;

  display: flex;
  flex-direction: column;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 14px 12px;
  border-bottom: 1px solid rgba(126, 104, 82, 0.18);
}

.drawer-title {
  font-weight: 700;
  font-size: 15px;
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  background: rgba(252, 248, 242, 0.88);
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.drawer-close:hover {
  background: rgba(253, 249, 244, 1);
  box-shadow: 0 8px 18px rgba(96, 72, 48, 0.10);
  transform: translateY(-1px);
}

.drawer-close:active {
  transform: translateY(0px) scale(0.98);
}

.drawer-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(204, 82, 16, 0.20), 0 8px 18px rgba(96, 72, 48, 0.10);
}

.drawer-body {
  padding: 14px;
  overflow: auto;
}

.drawer-section-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.drawer-muted {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.35;
}

/* Open state */
.drawer-open .drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.drawer-open .drawer {
  transform: translateX(0);
}

/* Drawer item groups */
.drawer-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-group--secondary {
  margin-top: 64px;
  padding-top: 14px;
  border-top: 1px solid rgba(126, 104, 82, 0.16);
}

/* Individual clickable items */
.drawer-item {
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;

  transition:
    background 120ms ease,
    transform 120ms ease,
    box-shadow 120ms ease,
    border-color 120ms ease;
}

.drawer-item:hover {
  background: rgba(126, 104, 82, 0.08);
  border-color: rgba(126, 104, 82, 0.14);
  transform: translateX(2px);
}

.drawer-item:active {
  transform: translateX(0) scale(0.98);
}

.drawer-item:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(204, 82, 16, 0.20);
}

/* Danger item (sign out) */
.drawer-item--danger {
  color: #d11a2a;
}

.drawer-item--danger:hover {
  background: rgba(255, 59, 48, 0.10);
  border-color: rgba(255, 59, 48, 0.18);
}

/* =========================
   SETTINGS SPLIT MODE
   (drawer stays open, right side usable)
   ========================= */

/* Only dock on wider screens; mobile keeps overlay behavior */
@media (min-width: 900px) {
  .settings-split .drawer-backdrop {
    opacity: 0 !important;
    pointer-events: none !important;
    backdrop-filter: none !important;
  }

  .settings-split .drawer {
    transform: translateX(0) !important;
  }

  /* Push dashboard content right so it isn't blocked by the drawer */
  .settings-split #dashboard {
    margin-left: 320px;
  }

  /* Keep the dash layout consistent when shifted */
  .settings-split #dash-topbar,
  .settings-split #dash-body,
  .settings-split #dash-account {
    max-width: 980px;
    margin-right: auto;
    margin-left: 0;
  }
}

/* Simple card styles for account panel */
.settings-card{
  background: rgba(252, 248, 242, 0.92);
  border: 1px solid rgba(126, 104, 82, 0.18);
  border-radius: 16px;
  padding: 0px 14px;
  margin-top: 14px;
}

.settings-cta-row{
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.settings-cta-left{
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

#acct-back-dashboard{
  margin-top: 46px;
}

.pro-upsell-card {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.035);
  box-sizing: border-box;
}

.pro-upsell-card.is-disabled {
  opacity: 0.78;
}

.pro-upsell-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.acct-upgrade-lock {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.045);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 24px;
  margin: 12px 0 0 22px;
}

.pro-upsell-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 8px;
}

.pro-upsell-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pro-upsell-list li {
  font-size: 13px;
  line-height: 1.35;
  opacity: 0.78;
}

/* Override the default full-width button */
.settings-cta-row .settings-action{
  width: auto;
  display: inline-flex;
}

/* Centered card content (for Upgrade to Pro) */
.settings-card-center{
  align-items:center;
  justify-content:center;
}

/* Extra breathing room for the Back card */
.settings-card-spaced{
  margin-top: 18px;
}

/* Make compact buttons sit nicely when alone */
.settings-card .settings-action.compact{
  margin: 0;
}

.settings-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 2px;
  border-top: 1px solid rgba(126, 104, 82, 0.14);
}

.settings-row:first-child{ border-top:none; }

.settings-label{
  font-size: 13px;
  color: #7a6857;
  opacity: 0.9;
}

.settings-value{
  font-weight: 600;
  font-size: 13px;
  opacity: 0.9;
  text-align: right;
  margin-right:16px;
}

.settings-value.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  opacity: 0.8;
}

.settings-action{
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  background: rgba(252, 248, 242, 0.88);
  cursor: pointer;
  font-weight: 650;
  margin-top: 10px;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.settings-action:hover{
  background: rgba(253, 249, 244, 1);
  box-shadow: 0 8px 18px rgba(96, 72, 48, 0.10);
  transform: translateY(-1px);
}
.settings-action:active{ transform: translateY(0px) scale(0.99); }

.settings-action.danger{
  background: rgba(255,59,48,0.12);
  border-color: rgba(255,59,48,0.28);
  color: #d11a2a;
  font-weight: 800;
}

.settings-action.danger:hover{
  background: rgba(255,59,48,0.18);
  box-shadow: 0 8px 18px rgba(255,59,48,0.18);
}

/* Account settings layout tweaks */
#dash-account{
  /* Shift the whole panel left a bit */
  padding: 10px 52px 22px;
}

/* 3-column rows: label | value | action */
.settings-row-3{
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  column-gap: 14px;
  min-height: 48px;
  padding: 10px 2px;
  border-top: 1px solid rgba(126, 104, 82, 0.14);
}

/* push the value column to the far right (right aligned) */
.settings-row-3 .settings-value{
  justify-self: end;   /* key: aligns value to the right edge */
  text-align: right;
  white-space: nowrap; /* keeps email from wrapping weirdly */
}

.settings-row-3:first-child{
  border-top: none;
}

/* if there's no button (Email row), remove the "phantom" space */
.settings-row-3 > :last-child:empty{
  display: none;
}

/* Colour value should stay together */
.settings-colour{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.settings-row-3 .settings-colour{
  justify-self: end;
}

.settings-mini-btn{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  background: rgba(252, 248, 242, 0.88);
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.settings-mini-btn:hover{
  background: rgba(253, 249, 244, 1);
  box-shadow: 0 8px 18px rgba(96, 72, 48, 0.10);
  transform: translateY(-1px);
}
.settings-mini-btn:active{
  transform: translateY(0px) scale(0.99);
}

/* Destructive mini button (Delete Account) */
.settings-mini-btn.danger{
  background: rgba(255,59,48,0.12);
  border-color: rgba(255,59,48,0.28);
  color: #d11a2a;
  font-weight: 800;
  font-size: 10px;
  padding: 4px 12px;
  line-height: 12px;
}

.settings-mini-btn.danger:hover{
  background: rgba(255,59,48,0.18);
  box-shadow: 0 8px 18px rgba(255,59,48,0.16);
}

/* Row of compact action buttons */
.settings-actions-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.settings-action.compact{
  width: auto;          /* override the 100% width */
  display: inline-flex;
  align-items: center;
}

/* Make Upgrade stand out as filled red (like a danger button) */
.settings-action.danger{
  background: rgba(255, 59, 48, 0.12);
  border-color: rgba(255, 59, 48, 0.28);
  color: #d11a2a;
}

.settings-action.danger:hover{
  background: rgba(255, 59, 48, 0.18);
  box-shadow: 0 8px 18px rgba(255, 59, 48, 0.18);
}

#acct-upgrade-pro{
  position: relative;
  overflow: visible;
  font-weight: 800;
  padding: 12px 18px;
  color: #fff;
  border-color: rgba(180, 83, 9, 0.38);
  background: linear-gradient(135deg, #CC5210 0%, #e58a1f 52%, #f3b24a 100%);
  box-shadow:
    0 10px 22px rgba(217, 119, 6, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.22);
  cursor: default;
}

#acct-upgrade-pro:hover{
  background: linear-gradient(135deg, #cf7116 0%, #eb931f 52%, #f5ba55 100%);
  box-shadow:
    0 12px 26px rgba(217, 119, 6, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.24);
  transform: translateY(-1px);
}

#acct-upgrade-pro:active{
  transform: translateY(0px) scale(0.99);
}

#acct-upgrade-pro::after{
  content: "COMING SOON";
  position: absolute;
  top: 0px;
  right: -30px;
  transform: rotate(24deg);
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff7ed, #fde7bf);
  color: #9a3412;
  border: 1px solid rgba(154, 52, 18, 0.12);
  box-shadow: 0 3px 10px rgba(96, 72, 48, 0.10);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  pointer-events: none;
  white-space: nowrap;
}

.pro-pricing {
  margin-top: 6px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-radius: 10px;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: linear-gradient(
    180deg,
    rgba(255, 248, 240, 0.6),
    rgba(248, 236, 220, 0.4)
  );
}

.pro-price-main {
  font-size: 20px;
  font-weight: 600;
  color: #9a3412;
  letter-spacing: -0.01em;
}

.pro-price-main span {
  font-size: 12px;
  font-weight: 500;
  color: #7c6a58;
  margin-left: 2px;
}

.pro-price-alt {
  font-size: 12px;
  color: #8b7a66;
  margin-top: 2px;
  margin-left: 18px;
}

.pro-price-alt span {
  color: #e58a1f;
  font-weight: 500;
}

.colour-dot{
  display:inline-block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  margin-right: 8px;
  vertical-align: -1px;
  border: 1px solid rgba(126, 104, 82, 0.18);
}

.settings-action.primary{
  border-color: rgba(126, 104, 82, 0.18);
  font-weight: 800;
}

.empty-boards {
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(126, 104, 82, 0.22);
  background: rgba(126, 104, 82, 0.04);
  font-size: 13px;
  opacity: 0.78;
  height: 13px;
}
    
.back-btn {
  background: rgba(252, 248, 242, 0.92);
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  height: 45px;
  width: 114px;
}

.back-btn:hover {
  background: rgba(126, 104, 82, 0.08);
}

.secondary-btn{
  background: #f3ede6;
  color: #2f241b;
  border: 1px solid rgba(126, 104, 82, 0.16);
  border-radius: 12px;
}

.secondary-btn:hover{
  background: #ece3d8;
}

/* =========================
   NOTICE POPUP (centered modal)
   ========================= */

#notice-overlay.notice-overlay{
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;              /* JS sets to flex */
  align-items: center;
  justify-content: center;

  /* dim + blur background */
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}

#notice-overlay.notice-overlay .modal-card{
  width: min(460px, calc(100vw - 40px));
  border-radius: 18px;
  background: rgba(252, 248, 242, 0.92);
  border: 1px solid rgba(126, 104, 82, 0.18);
  box-shadow: 0 24px 70px rgba(96, 72, 48, 0.22);
  padding: 16px 16px 14px;
}

#notice-title{
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 6px;
}

#notice-message{
  font-size: 14px;
  line-height: 1.4;
  color: rgba(72, 54, 40, 0.78);
  margin-bottom: 14px;
  margin-top: 6px;
  white-space: pre-wrap;
  min-height: 18px;
  display: flex;
  align-items:center;
}

.notice-spinner{
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(126, 104, 82, 0.18);
  border-top-color: rgba(184, 134, 11, 0.85);
  animation: notice-spin 0.7s linear infinite;
  flex-shrink: 0;
  position: relative;
  top: -5px; 
}

@keyframes notice-spin{
  to { transform: rotate(360deg); }
}

#notice-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top: 16px;
}

#notice-ok {
  appearance: none;
  -webkit-appearance: none;

  border: 1px solid rgba(126, 104, 82, 0.22);

  background:
    linear-gradient(180deg, #fffdfb 0%, #f3e9df 100%);

  color: #4d382a;

  border-radius: 999px;
  padding: 10px 20px;
  min-width: 84px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: inherit;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.02em;

  cursor: pointer;

  box-shadow:
    0 10px 24px rgba(95, 70, 52, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.85);

  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    border-color 120ms ease,
    background 120ms ease;
}

#notice-ok:hover {
  transform: translateY(-1px);

  border-color: rgba(126, 104, 82, 0.35);

  box-shadow:
    0 14px 28px rgba(95, 70, 52, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

#notice-ok:active {
  transform: translateY(1px);

  box-shadow:
    0 4px 10px rgba(95, 70, 52, 0.12),
    inset 0 2px 4px rgba(0,0,0,0.08);
}

#notice-ok:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(202, 138, 4, 0.18),
    0 10px 22px rgba(95, 70, 52, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Delete account overlay */
.delete-account-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 24px;
  box-sizing: border-box;
}

.delete-account-overlay[hidden] {
  display: none !important;
}

.delete-account-card {
  width: min(92vw, 460px);
  background: rgba(252, 248, 242, 0.96);
  border: 1px solid rgba(126, 104, 82, 0.18);
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 14px 34px rgba(96, 72, 48, 0.16);
  backdrop-filter: blur(10px);
  text-align: left;
}

.delete-account-title {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #2f241a;
  margin-bottom: 8px;
}

.delete-account-subtext {
  font-size: 13px;
  line-height: 1.45;
  color: #6b5c4f;
  margin-bottom: 14px;
}

.delete-account-label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: #43372d;
  margin-bottom: 6px;
}

.delete-account-input {
  box-sizing: border-box;
  width: 100%;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: #332920;
  font: inherit;
  margin-bottom: 12px;
}

.delete-account-input:focus {
  outline: none;
  border-color: rgba(204, 82, 16, 0.32);
  box-shadow: 0 0 0 3px rgba(204, 82, 16, 0.08);
}

#delete-account-msg {
  display: none;
  margin-top: 6px;
  margin-bottom: 2px;
  font-size: 13px;
  line-height: 1.35;
  color: #d11a2a;
}

.delete-account-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.input-error {
  border: 1px solid rgba(255,59,48,0.7) !important;
  box-shadow: 0 0 0 2px rgba(255,59,48,0.15);
}

@media (max-width: 520px) {
  .delete-account-overlay {
    padding: 56px 14px 20px;
  }

  .delete-account-card {
    width: 100%;
    padding: 18px 18px 16px;
  }
}

/* Horizontal list */
.board-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 24px;
  min-height: 285px;
  scroll-behavior: smooth;
}

.board-strip-fade {
  position: relative;
  overflow: hidden;
}

.board-scroll-wrap {
  position: relative;
  overflow: visible;
}

/* fades exist, but are hidden by default */
.board-scroll-wrap::before,
.board-scroll-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 24px; /* stop before scrollbar area */
  width: 36px;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 120ms ease;
}

.board-scroll-wrap::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(247, 244, 236, 0.92) 0%,
    rgba(247, 244, 236, 0.55) 42%,
    rgba(247, 244, 236, 0) 100%
  );
}

.board-scroll-wrap::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(247, 244, 236, 0.92) 0%,
    rgba(247, 244, 236, 0.55) 42%,
    rgba(247, 244, 236, 0) 100%
  );
}

/* only show fades when JS says this strip actually overflows */
.board-scroll-wrap.can-scroll-left::before {
  opacity: 1;
}

.board-scroll-wrap.can-scroll-right::after {
  opacity: 1;
}

/* arrows */
.scroll-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 5;
  margin: 0 24px;

  width: 32px;
  height: 32px;
  border-radius: 999px;

  background: rgba(252, 248, 242, 0.9);
  border: 1px solid rgba(126, 104, 82, 0.18);

  box-shadow: 0 4px 12px rgba(96, 72, 48, 0.12);

  font-size: 18px;
  font-weight: 700;
  color: #2f241b;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  opacity: 0;
  pointer-events: none;

  transition: opacity 120ms ease, transform 120ms ease;
}

/* positioning */
.scroll-left {
  left: -6px;
}

.scroll-right {
  right: -6px;
}

.scroll-arrow.visible {
  opacity: 0.4;
  pointer-events: auto;
}

.scroll-arrow:hover {
  transform: translateY(-50%) scale(1.06);
  opacity: 0.9;
}

.board-pill-shell {
  flex: 0 0 auto;
  overflow: visible;
}

.board-pill {
    position: relative;
    flex: 0 0 auto;
    min-width: 160px;
    padding: 14px 14px;
    border-radius: 14px;
    border: 1px solid rgba(126, 104, 82, 0.18);
    cursor: pointer;
    background: rgba(252, 248, 242, 0.92);
    transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
  }

.board-pill--empty-hosted,
.board-pill--locked-hosted {
  opacity: 0.98;
}

.board-pill-title--empty,
.board-pill-title--locked {
  opacity: 0.55;
}

.board-pill--slot {
  display: grid;
  grid-template-rows: 34px 1fr 28px;
  padding: 0 0 26px 0;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,0.35), transparent 22%),
    radial-gradient(circle at 78% 76%, rgba(0,0,0,0.04), transparent 28%),
    linear-gradient(145deg, #f6efe4 0%, #ece3d3 40%, #e2d7c3 100%);
  border: 1px solid rgba(140, 125, 105, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 -10px 18px rgba(120, 105, 85, 0.05),
    0 8px 20px rgba(82, 68, 52, 0.04);
}
}

.board-pill--slot::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    radial-gradient(circle at 12% 24%, rgba(90,78,64,0.16) 0 1px, transparent 1.6px),
    radial-gradient(circle at 68% 34%, rgba(255,255,255,0.14) 0 1px, transparent 1.7px),
    radial-gradient(circle at 38% 72%, rgba(92,80,66,0.12) 0 1.2px, transparent 1.9px),
    radial-gradient(circle at 82% 78%, rgba(255,255,255,0.10) 0 1px, transparent 1.6px);
  background-size: 120px 120px, 140px 140px, 110px 110px, 130px 130px;
  mix-blend-mode: multiply;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

.board-slot-shell {
  grid-row: 2;
  width: 100%;
  height: 200px;
  padding: 8px 12px 6px;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.board-slot-well {
  position: relative;
  width: 100%;
  height: 186px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,0.25), transparent 26%),
    radial-gradient(circle at 76% 78%, rgba(0,0,0,0.06), transparent 30%),
    linear-gradient(180deg, #e9e2d7 0%, #ddd4c6 55%, #d2c8b9 100%);
  border: 1px solid rgba(135, 120, 100, 0.14);
  box-shadow:
    inset 0 10px 18px rgba(110, 95, 75, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -14px 20px rgba(255,255,255,0.08);
}

.board-slot-well::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 16% 26%, rgba(84,72,58,0.16) 0 1px, transparent 1.8px),
    radial-gradient(circle at 64% 42%, rgba(255,255,255,0.14) 0 1px, transparent 1.7px),
    radial-gradient(circle at 44% 80%, rgba(88,76,62,0.12) 0 1.1px, transparent 1.8px);
  background-size: 100px 100px, 120px 120px, 90px 90px;
}

.board-slot-well::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -1px 0 rgba(0,0,0,0.04);
}

.board-pill--slot-open .board-slot-well {
  background:
    linear-gradient(180deg, rgba(120, 109, 98, 0.12), rgba(97, 86, 76, 0.08)),
    linear-gradient(135deg, rgba(255,255,255,0.03), rgba(0,0,0,0.03));
 margin-top: 5px;
}

.board-pill--slot-locked .board-slot-well {
  background:
    linear-gradient(180deg, rgba(98, 92, 87, 0.10), rgba(84, 76, 70, 0.08)),
    linear-gradient(135deg, rgba(255,255,255,0.02), rgba(0,0,0,0.04));
  filter: saturate(0.82);
  margin-top: 5px;
}

.board-slot-ghost {
  position: absolute;
  inset: 18px;
  border-radius: 14px;
  border: 1px dashed rgba(229, 220, 204, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    inset 0 -1px 0 rgba(0,0,0,0.03);
  opacity: 0.5;
}

.board-slot-ghost::before,
.board-slot-ghost::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(236, 225, 206, 0.13);
  transform: translate(-50%, -50%);
  border-radius: 999px;
}

.board-slot-ghost::before {
  width: 34px;
  height: 2px;
}

.board-slot-ghost::after {
  width: 2px;
  height: 34px;
}

.board-slot-lock {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  line-height: 1;
  opacity: 0.42;
  filter: grayscale(0.2);
}

.board-pill--slot-locked .board-slot-well::before {
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,0.05), transparent 35%),
    radial-gradient(circle at 75% 75%, rgba(0,0,0,0.09), transparent 38%);
}

.board-pill--slot .board-actions-btn,
.board-pill--slot .board-actions-menu {
  display: none !important;
}

.board-slot-spacer {
  visibility: hidden;
}

.board-preview--empty,
.board-preview--locked {
  display: flex;
  align-items: center;
  justify-content: center;
}

.board-preview-placeholder {
  width: calc(100% - 18px);
  height: calc(100% - 12px);
  border-radius: 16px;
  border: 1px solid rgba(126, 104, 82, 0.12);
  background:
    linear-gradient(180deg, rgba(124, 109, 92, 0.06), rgba(124, 109, 92, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.board-preview-placeholder-grid {
  width: 82%;
  height: 68%;
  border-radius: 12px;
  background:
    linear-gradient(rgba(126, 104, 82, 0.08), rgba(126, 104, 82, 0.08)) top / 100% 1px no-repeat,
    linear-gradient(90deg, rgba(126, 104, 82, 0.06) 1px, transparent 1px) 0 0 / 18% 100%,
    linear-gradient(rgba(126, 104, 82, 0.06) 1px, transparent 1px) 0 0 / 100% 24%;
  opacity: 0.55;
  filter: blur(0.35px);
}

.board-preview-placeholder--locked {
  background:
    linear-gradient(180deg, rgba(108, 98, 88, 0.08), rgba(108, 98, 88, 0.05));
}

.board-preview-lock {
  font-size: 18px;
  line-height: 1;
  opacity: 0.55;
  margin-bottom: 4px;
}

.board-preview-lock-text {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.55;
}

.board-actions-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 10px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  background: rgba(252, 248, 242, 0.92);
  cursor: pointer;
  line-height: 1;
  display: grid;
  place-items: center;
}

.board-actions-menu {
  position: absolute;
  top: 42px;
  right: 10px;
  min-width: 140px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  border-radius: 12px;
  background: rgba(253, 249, 244, 0.98);
  box-shadow: 0 8px 24px rgba(126, 104, 82, 0.18);
  overflow: hidden;
  z-index: 20;
}

.board-actions-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.board-actions-item:hover {
  background: rgba(126, 104, 82, 0.08);
}
    
.board-pill-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.board-pill-title--top {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}
    
.board-pill-meta {
  font-size: 12px;
  opacity: 0.65;
}

/* Square hosted cards */
.board-pill--square {
  width: 200px;
  height: 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.board-pill:hover {
  transform: none;
  box-shadow:
    0 16px 30px rgba(70, 56, 44, 0.18);
}

.board-actions-btn:hover {
  box-shadow: 0 10px 22px rgba(126, 104, 82, 0.18);
  transform: translateY(-1px);
}

.board-actions-btn:active {
  transform: translateY(0) scale(0.98);
}

/* Mini board preview container */
.board-preview {
  width: 100%;
  flex: 1;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(249, 243, 236, 0.78);
  overflow: hidden;
  position: relative;
}

/* Make the mini board look like a tiny replica */
.mini-board {
  width: 100%;
  height: 100%;
  padding: 6px;
  box-sizing: border-box;
  transform-origin: top left;
      /* Scale down to fit lots of rows */
  transform: scale(var(--mini-scale, 0.9));
  filter: blur(0.6px);
  opacity: 0.95;
  pointer-events: none; /* important: preview shouldn't steal clicks */
}

.mini-head {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}

.mini-corner {
  height: 18px;
}

.mini-colhead {
  font-size: 8.5px;
  font-weight: 600;
  opacity: 0.75;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(126, 104, 82, 0.06);
  width: 17px;
}

.mini-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-row {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
  gap: 2px;
}

.mini-rowhead {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.8;
  padding: 2px 4px;
  border-radius: 6px;
  background: rgba(126, 104, 82, 0.06);
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mini-cell {
  border-radius: 6px;
  background: rgba(126, 104, 82, 0.035);
  border: 1px solid rgba(126, 104, 82, 0.15);
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15px;
}

.mini-cell.mini-gold {
  background: linear-gradient(
    145deg,
    #f7d84a 0%,
    #edbc34 58%,
    #d8921e 100%
  );

  border-color: rgba(247, 216, 74, 0.34);

  box-shadow:
    0 0 8px rgba(216, 146, 30, 0.22),
    inset 0 0 0 1px rgba(255, 238, 176, 0.18);
}

.mini-dots {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.mini-dots--1-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.mini-dots--3-4 {
  display: grid;
  grid-template-columns: repeat(2, 4px);
  grid-auto-rows: 4px;
  justify-content: center;
  align-content: center;
  gap: 2px 2px;
}

.mini-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  display: block;
}

.mini-dots--3-4 .mini-dot {
  width: 4px;
  height: 4px;
}

.mini-more {
  position: absolute;
  right: -2px;
  bottom: -2px;
  min-width: 6px;
  height: 6px;
  padding: 0 1px;
  border-radius: 999px;
  background: rgba(88, 64, 42, 0.92);
  color: #fff;
  font-size: 5px;
  line-height: 5px;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 1px 2px rgba(96, 72, 48, 0.22);
  pointer-events: none;
}

.mini-legend {
  position: absolute;
  left: 8px;
  right: auto;
  width: fit-content;
  max-width: calc(100% - 16px);
  bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 12px;
  background: rgba(252, 248, 242, 0.60);
  border: 1px solid rgba(126, 104, 82, 0.14);
  backdrop-filter: blur(10px);
  pointer-events: none;
  filter: blur(0.6px);
  opacity: 0.95;
}

.mini-legend-item {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.mini-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.mini-legend-name {
  font-size: 10px;
  font-weight: 600;
  color: #5f4c3d;
  opacity: 0.88;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70px;
}

.mini-whole-day {
  width: 100%;
  height: auto;
  padding: 4px 5px 2px;
  box-sizing: border-box;
  pointer-events: none;
  filter: blur(0.6px);
  opacity: 0.95;
}

.mini-whole-day-title {
  font-size: 9px;
  font-weight: 700;
  opacity: 0.82;
  margin-bottom: 3px;
  padding-left: 1px;
}

.mini-whole-day-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  margin-bottom: 1px;
  place-items: center;
}

.mini-whole-day-weekday {
  height: 12px;
  display: grid;
  place-items: center;
  font-size: 7px;
  font-weight: 600;
  opacity: 0.72;
}

.mini-whole-day-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
}

.mini-whole-day-cell {
  min-height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(126, 104, 82, 0.10);
  background: rgba(126, 104, 82, 0.035);
  padding: 2px 1px 1px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-whole-day-cell--empty {
  border-color: transparent;
  background: transparent;
}

.mini-whole-day-cell--gold {
  background: linear-gradient(
    145deg,
    #f7d84a 0%,
    #edbc34 58%,
    #d8921e 100%
  );
  border-color: rgba(247, 216, 74, 0.34);
  box-shadow:
    0 0 6px rgba(216, 146, 30, 0.18),
    inset 0 0 0 1px rgba(255, 238, 176, 0.14);
}

.mini-whole-day-cell--past {
  opacity: 0.5;
  background:
    linear-gradient(180deg, rgba(239, 232, 224, 0.9), rgba(233, 224, 214, 0.9));
}

.mini-whole-day-cell--today {
  box-shadow:
    inset 0 0 0 1px rgba(202, 138, 4, 0.45),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

.mini-whole-day-number {
  font-size: 7px;
  font-weight: 600;
  line-height: 1;
  opacity: 0.78;
}

.mini-whole-day-dots-wrap {
  min-height: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-whole-day-dots {
  width: 100%;
  box-sizing: border-box;
}

.mini-whole-day-dots--1-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.mini-whole-day-dots--3-4 {
  display: grid;
  grid-template-columns: repeat(2, 2px);
  grid-auto-rows: 2px;
  justify-content: center;
  align-content: center;
  gap: 1px;
}

.mini-whole-day-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  display: block;
}

.mini-whole-day-dots--3-4 .mini-whole-day-dot {
  width: 2px;
  height: 2px;
}

.board-preview .mini-whole-day + .mini-legend {
  margin-top: 8px !important;
}

.board-preview {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 148px;
  box-sizing: border-box;
}

.mini-preview-main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: stretch;
}

.mini-preview-legend {
  flex: 0 0 auto;
  margin-top: 4px;
}

/* Modal (Apple-ish) */
.modal-overlay[hidden] { display: none; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: grid;
  place-items: center;
  z-index: 9999;
  padding: 20px;
}

#confirm-modal {
  z-index: 10001;
}

.modal-card {
  border-radius: 18px;
  background: rgba(252, 248, 242, 0.92);
  border: 1px solid rgba(126, 104, 82, 0.18);
  box-shadow: 0 18px 50px rgba(96, 72, 48, 0.18);
  padding: 16px 16px 14px;
  backdrop-filter: blur(12px);
}

.modal-card textarea,
.modal-card input,
.modal-card select {
  width: 100%;
  box-sizing: border-box;
}

.modal-card textarea {
  margin-top: 10px;
  resize: vertical;
}

.modal-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.modal-message {
  font-size: 14px;
  line-height: 1.35;
  opacity: 0.85;
  margin-bottom: 14px;
}

.modal-actions {
 display: flex;
 gap: 10px;
 justify-content: flex-end;
 margin-top: 6px;
}

.modal-btn {
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  background: rgba(252, 248, 242, 0.92);
  cursor: pointer;
  transition:
  transform 120ms ease,
  box-shadow 120ms ease,
  background 120ms ease,
  border-color 120ms ease,
  opacity 120ms ease;
  box-shadow: 0 2px 6px rgba(96, 72, 48, 0.08);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.modal-btn:hover {
  background: rgba(253, 249, 244, 1);
  box-shadow: 0 6px 16px rgba(126, 104, 82, 0.18);
  transform: translateY(-1px);
}

.modal-btn:active {
  transform: translateY(0px) scale(0.98);
  box-shadow: 0 2px 6px rgba(96, 72, 48, 0.10), inset 0 1px 0 rgba(255,255,255,0.6);
}

.modal-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(204, 82, 16, 0.20),
    0 6px 16px rgba(126, 104, 82, 0.18);
}

/* Disabled state (in case you start disabling buttons during async ops) */
.modal-btn:disabled,
.modal-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.modal-btn-danger {
  color: #d11a2a;
  background: rgba(255, 59, 48, 0.12);
  border-color: rgba(255, 59, 48, 0.28);
}

.modal-btn-danger:hover {
  background: rgba(255,235,235,0.9);
  border-color: rgba(255,0,0,0.28);
}

.modal-btn-danger:focus-visible {
  box-shadow:
    0 0 0 3px rgba(255, 59, 48, 0.22),
    0 6px 16px rgba(0,0,0,0.12);
}

.modal-label{
  display:block;
  font-weight:600;
  margin:10px 0 6px;
  font-size:13px;
  opacity:0.85;
}

.modal-input{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(126, 104, 82, 0.18);
  background: rgba(252, 248, 242, 0.92);
  outline:none;
}

.modal-btn--primary{
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(0,0,0,0.92);
  color: white;
}

.modal-btn--primary:hover{
  background: rgba(0,0,0,1);
}

.modal-btn--primary:active{
  transform: translateY(0px) scale(0.98);
  box-shadow: 0 2px 6px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.12);
}

.invite-link-row{
  display:flex;
  gap:10px;
  align-items:center;
  margin-top:10px;
}

.modal-error{
  margin-top:10px;
  font-size:13px;
  color:#b00020;
}

.modal-hint{
  margin-top:10px;
  font-size:12px;
  color:#7a6857;
  line-height:1.35;
}

.timezone-modal-card {
  width: min(520px, 100%);
}

#timezone-search {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  background: rgba(255,255,255,0.92);
  outline: none;
  margin-bottom: 12px;
  font: inherit;
}

#timezone-search:focus {
  border-color: rgba(126, 104, 82, 0.35);
  box-shadow: 0 0 0 3px rgba(126, 104, 82, 0.08);
}

.timezone-results {
  max-height: 320px;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(126, 104, 82, 0.14);
  background: rgba(255,255,255,0.62);
}

.timezone-result-btn {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 11px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(126, 104, 82, 0.08);
  transition: background 120ms ease;
}

.timezone-result-btn:last-child {
  border-bottom: 0;
}

.timezone-result-btn:hover,
.timezone-result-btn:focus {
  background: rgba(126, 104, 82, 0.08);
  outline: none;
}

.timezone-result-main {
  font-size: 14px;
  font-weight: 600;
  color: #4f3f33;
}

.timezone-result-sub {
  font-size: 12px;
  color: #7a6757;
  margin-top: 2px;
}

.timezone-empty {
  padding: 14px;
  font-size: 13px;
  color: #7a6757;
}

.colour-grid{
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}

.colour-swatch{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  cursor: pointer;
  position: relative;
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

.colour-swatch:hover:not(:disabled):not(.disabled){
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(96, 72, 48, 0.14);
}

.colour-swatch.disabled,
.colour-swatch:disabled {
  opacity: 0.38;
  filter: grayscale(0.55);
  cursor: not-allowed;
  box-shadow: none;
  position: relative;
}

.colour-swatch.disabled::after,
.colour-swatch:disabled::after {
  content: "×";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  color: rgba(48, 32, 20, 0.72);
  text-shadow: 0 1px 2px rgba(255,255,255,0.35);
  pointer-events: none;
}

.colour-swatch.disabled::before,
.colour-swatch:disabled::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 10px;
  border: 2px solid rgba(48, 32, 20, 0.22);
  pointer-events: none;
}

.colour-swatch.selected{
  outline: 2px solid rgba(0,0,0,0.65);
  outline-offset: 2px;
}

.colour-swatch.disabled,
.colour-swatch:disabled {
  opacity: 0.28;
  filter: grayscale(0.45);
  cursor: not-allowed;
  box-shadow: none;
}



@media (max-width: 520px){
  .colour-grid{ grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 720px) {
  #dash-topbar,
  #dash-body,
  #dash-account {
    padding-left: 16px;
    padding-right: 16px;
  }

  .dash-main { font-size: 18px; }
  .dash-subtitle { font-size: 11px; }

  #create-board-btn {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
  }
}


#calendar-side{
  width: 100%;
  margin: 14px 0 0; 
  padding-right: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;  /* <-- makes note start ~halfway */
  gap: 2%;
  align-items: start;
}

.side-card{
  background: rgba(252, 248, 242, 0.96);
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(96, 72, 48, 0.10);
}

#calendar-side-left{
  display: flex;
  justify-content: stretch;
}

#calendar-side-left > *{
  width: 100%;
}

#calendar-side-right{
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.presence-side{
  width: 280px;
  text-align: center;
  color: #6b5c4f;
  font-size: 14px;
}

#board-footer.side-card{
  width: 100%;
  max-width: none;
  min-width: 420px;
  height: 100%;
}

/* Note box tweaks */
.footer-note__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-note__title{
  font-weight: 700;
  font-size: 13px;
  opacity: 0.85;
}

.footer-note__textarea{
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  background: rgba(252, 248, 242, 0.92);
  font-size: 13px;
  line-height: 1.4;
  white-space: pre-wrap;
  min-height: 60px;
  max-height: 180px;
  overflow-y: auto;
}

.footer-note__textarea[readonly]{
  background: rgba(252, 248, 242, 0.70);
}

/* Actions row */
.footer-note__actions{
  display:flex;
  gap: 10px;
  margin-top: 10px;
  align-items:center;
}

@media (max-width: 720px){
  #calendar-side{
    grid-template-columns: 1fr;
  }

  #calendar-side-right{
    justify-content: flex-start;
  }
}

/* ===========================
   CREATE SCREEN TOP BAR
=========================== */

#create-topbar {
  width: 100%;
  max-width: 1180px;
  margin: 0 0 8px 0;
  display: flex;
  justify-content: flex-start;
}

.ghost-btn {
  background: transparent;
  border: none;
  font-weight: 600;
  font-size: 14px;
  color: rgba(92, 72, 56, 0.72);
  cursor: pointer;
  padding: 6px 0 54px;
}

.ghost-btn:hover {
  color: rgba(72, 54, 40, 0.92);
}

.ghost-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(204, 82, 16, 0.20);
  border-radius: 8px;
}



/* =========================
   AUTH OVERLAY
   ========================= */

#auth-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  pointer-events: auto;
}

#auth-overlay[style*="display: block"] {
  display: block !important;
}

/* =========================
   AUTH MODAL
   ========================= */

#auth-modal {
  position: relative;
  z-index: 10000;
  width: min(84%, 440px);
  max-width: 440px;
  margin: 80px auto;
  padding: 18px 18px 16px;
  box-sizing: border-box;
  text-align: left;
  background: rgba(252, 248, 242, 0.96);
  border: 1px solid rgba(126, 104, 82, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(96, 72, 48, 0.18);
  backdrop-filter: blur(12px);
}

#auth-title {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #2f241a;
  margin-bottom: 8px;
}

#auth-subtitle {
  font-size: 13px;
  line-height: 1.35;
  color: #6b5c4f;
  margin-bottom: 14px;
}

/* =========================
   AUTH INPUTS
   ========================= */

.auth-input {
  box-sizing: border-box;
  width: 100%;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid rgba(126, 104, 82, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: #332920;
  margin-bottom: 12px;
}

#auth-password {
  margin-bottom: 12px;
}

#auth-new-password {
  margin-bottom: 10px;
}

#auth-overlay input {
  transition: box-shadow 120ms ease, border-color 120ms ease, background 120ms ease;
}

#auth-overlay input:focus,
#auth-overlay input:focus-visible {
  outline: none;
  border-color: rgba(204, 82, 16, 0.32);
  box-shadow: 0 0 0 3px rgba(204, 82, 16, 0.10);
  background: rgba(253, 249, 244, 1);
}

.auth-error {
  margin-bottom: 6px;
  font-size: 13px;
  color: #b3261e; /* soft red */
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.auth-error.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   AUTH BUTTON LAYOUT
   ========================= */

.auth-submit-btn {
  width: 100%;
}

.auth-secondary-btn {
  width: 100%;
  margin-top: 10px;
}

.auth-actions-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.auth-inline-btn {
  flex: 1;
}

/* =========================
   AUTH BUTTON STYLES
   ========================= */

#auth-overlay .primary-btn {
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    background 120ms ease,
    border-color 120ms ease,
    opacity 120ms ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#auth-overlay .primary-btn:active {
  transform: translateY(0px) scale(0.98);
}

#auth-overlay .primary-btn.is-pressed {
  transform: translateY(1px) scale(0.98);
}

#auth-overlay .primary-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(204, 82, 16, 0.16),
    0 8px 18px rgba(96, 72, 48, 0.12);
}

#auth-overlay .primary-btn:disabled,
#auth-overlay .primary-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Main CTA */
#auth-submit.primary-btn,
#auth-set-password.primary-btn {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(191, 117, 24, 0.28);
  background: linear-gradient(180deg,
  rgba(229, 138, 31, 0.72),
  rgba(204, 82, 16, 0.72)
);
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow:
    0 4px 12px rgba(204, 82, 16, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.24);
  backdrop-filter: blur(2px);
}

#auth-submit.primary-btn:hover,
#auth-set-password.primary-btn:hover {
  background: linear-gradient(180deg,
    rgba(235, 149, 44, 0.85),
    rgba(213, 91, 22, 0.85)
  );
  transform: translateY(-1px);
  box-shadow:
    0 8px 18px rgba(204, 82, 16, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.24);
}

/* Secondary actions */
#auth-toggle-mode.primary-btn,
#auth-forgot.primary-btn,
#auth-recovery-cancel.primary-btn.secondary-btn,
#auth-overlay .auth-inline-btn--secondary {
  background: rgba(243, 237, 230, 0.9);
  color: #4b4237;
  border: 1px solid rgba(126, 104, 82, 0.16);
  box-shadow: 0 2px 8px rgba(96, 72, 48, 0.06);
}

#auth-toggle-mode.primary-btn:hover,
#auth-forgot.primary-btn:hover,
#auth-recovery-cancel.primary-btn.secondary-btn:hover,
#auth-overlay .auth-inline-btn--secondary:hover {
  background: rgba(253, 249, 244, 0.96);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(96, 72, 48, 0.10);
}

/* =========================
   AUTH MESSAGES / NOTE
   ========================= */

#auth-msg {
  margin-top: 10px;
  font-size: 13px;
  color: #b00020;
  display: none;
}

.auth-privacy-note {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(126, 104, 82, 0.14);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(92, 72, 56, 0.62);
  text-align: center;
}

/* Hide compact corner metadata by default (desktop) */
.calendar-meta-corner__inner {
  display: none;
}

[hidden] { display: none !important; }



/* =================================================================================================================================================================================================================
   MOBILE RESPONSIVE
   DASHBOARD / ACCOUNT / MODALS
   ================================================================================================================================================================================================================= */
@media (max-width: 1200px) {
 #create-board #go-create{
  width: 35%;
  min-height: 0px;
  height: 80px;
  padding: 0 0;
  font-size: 18px;
  position: fixed;
  right: 6%;
  top: 88%;
  z-index: 2;
  margin-top: 0;
  font-weight: 600;
  padding: 15px;
  max-width: 150px;
 }

 .whole-day-cell .dot {
  width: 14px;
  height: 14px;
 }

.whole-day-cell .dot-container.dots-4-6 .dot {
  width: 13px;
  height: 13px;
} 

.whole-day-cell .dot-container.dots-4-6 { 
 gap: 8px;
}
}

/* ================================================================================================================================================================================================================= */
@media (max-width: 1024px) {
.whole-day-cell {
  min-height: 86px;
}

.whole-day-cell .dot-container.dots-1-3 { 
 gap: 3px;
}

.whole-day-cell .dot {
  width: 13px;
  height: 13px;
 } 
}

/* ================================================================================================================================================================================================================= */
@media (max-width: 900px) {
  #dash-topbar,
  #dash-body,
  #dash-account {
    padding-left: 28px;
    padding-right: 28px;
  }

  .settings-split #dashboard {
    margin-left: 280px;
  }

  .settings-split #dash-topbar,
  .settings-split #dash-body,
  .settings-split #dash-account {
    max-width: 900px;
  }

  .drawer {
    width: 280px;
  }

  .settings-row-3 {
    grid-template-columns: 120px 1fr auto;
  }

  .create-layout {
    grid-template-columns: 1fr;
  }

  .board-pill--square {
  gap: 4px;
}

 #board-footer.side-card {
   min-width: 350px;
 }
 
.whole-day-cell .dot-container.dots-1-3 {
 transform: translateX(-1px);
 } 

 .whole-day-cell .dot-container.dots-4-6 {
 transform: translateX(-1px);
 } 
 
.whole-day-cell .dot {
  width: 12px;
  height: 12px;
  border: 0.5px solid rgba(255, 255, 255, 0.9); 
}

.whole-day-cell .dot-container.dots-4-6 .dot {
  width: 12px;
  height: 12px;
  border: 0.5px solid rgba(255, 255, 255, 0.9); 
}  

.whole-day-cell .dot-container.dots-4-6 {
  gap: 4px;
 } 
} 
/* ================================================================================================================================================================================================================= */
@media (max-width: 899px) {
  #settings-drawer,
  .drawer {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    border-radius: 0;
    margin: 0;
  }

   #dash-account {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    margin: 0;
    border-radius: 0;
    z-index: 1200;
    background: var(--panel-bg, #f7f3ea);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .settings-card {
    padding: 0 16px;
    box-sizing: border-box;
    margin-right: 7%;
  }

  .settings-row-3 {
    display: grid;
    column-gap: 12px;
    align-items: center;
    padding: 14px 0;
  }

  .settings-label {
    min-width: 0;
  }

  .settings-value,
  .settings-colour {
    min-width: 0;
    justify-self: end;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 2px;
  }

  .settings-mini-btn {
    width: 88px;
    min-width: 88px;
    justify-self: end;
  }

 .footer-note .footer-edit-btn {
   width: auto;
   min-width: auto;
 }
 
  #acct-delete-account {
    width: 88px;
    min-width: 88px;
  }
 
 .modal-card {
  max-width: 90%;
 }

  .calendar-topbar {
    display: grid !important;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "left right"
      "title title";
    align-items: start;
    gap: 10px 16px;
  }

  .calendar-topbar-left {
    grid-area: left;
    align-self: start;
  }

  #calendar-title-wrap {
    grid-area: title;
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
  }

  #calendar-title {
    padding-top: 6px;
    padding-left: 24px;
    text-align: left;
  }
 
}
/* ================================================================================================================================================================================================================= */
@media (max-width: 720px) {
 .board-preview {
  --mini-scale: 0.85;
}

  #dashboard {
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  #dash-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dashboard-dev-note {
    margin-top: auto;
    position: fixed;
    left: auto;
    right: auto;
    bottom: 1%;
    padding: 18px 14px calc(24px + env(safe-area-inset-bottom));
  }

 .dashboard-dev-note-main {
   font-size: 10px;
 }

 .dashboard-dev-note-version {
   font-size: 9px;
 }
 
  #dash-topbar {
    padding: 12px 12px 8px;
    align-items: center;
    gap: 10px;
  }

#create-board-btn {
  min-height: 36px;
  display: flex;
  align-items: center;
}

  .dashboard-title {
    font-size: 18px;
  } 
 
  #dash-body,
  #dash-account {
    padding: 0 14px 16px;
  }

  .dash-section {
    margin-top: 10px;
  }

  .dashboard-section-title {
    font-size: 15px;
    margin: 10px 0 6px;
  }

  .dashboard-section-divider {
    margin: 4px 0 10px;
  }

  .board-strip {
    gap: 18px;
    padding-bottom: 10px;
    height: auto;
    align-items: flex-start;
    min-height: 176px;
  }

  .board-pill-shell {
    width: 144px;
    height: 176px;
  }

  .board-pill-shell > .board-pill {
    width: 200px;
    height: 240px;
    transform: scale(0.68);
    transform-origin: top left;
    margin: 0;
  }
 
  .dash-main {
    font-size: 19px;
  }

  .dash-subtitle {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .board-pill--slot {
    grid-template-rows: 28px 1fr 22px;
    padding: 0 0 18px 0;
  }

  .board-pill--square {
  gap: 2px;
}
 
.board-strip-fade::after {
  width: 36px;
}

.board-slot-shell {
  height: 138px;
  padding: 5px 7px 4px;
}

.board-slot-well {
  height: 200px;
  border-radiums: 10px;
}
 
.board-slot-well .availability-preview td {
  height: 18px;     /* was ~22–26 */
  min-width: 18px;
  padding: 0;
}

.board-slot-well .availability-preview .dot-container {
  gap: 2px;         /* tighter dot spacing */
}

.board-slot-well .availability-preview .dot {
  width: 8px;
  height: 8px;
}

  .settings-cta-left {
    min-height: 0;
    width: 100%;
  }

  .pro-upsell-card {
    width: 92%;
  }

  #acct-back-dashboard {
    margin-top: 18px;
   width: 50%;
  }

  .drawer {
    width: calc(100vw - 35%);
    max-width: calc(100vw - 24px);
  }

  #calendar-side {
    flex-direction: column;
  }

  #calendar-side-left,
  #calendar-side-right {
    width: 100%;
  }

  #calendar-side-right {
    margin-top: 2px;
    align-items: center;
  }

  .calendar-fade:after {
     width: 10%;
 }

 .whole-day-cell {
   min-height: 80px;
 }
}

/* ================================================================================================================================================================================================================= */
@media (max-width: 480px) {
 .board-preview {
  --mini-scale: 0.62;
}

 #auth-title {
  font-size: 17px;
 }
 
  #dash-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  #create-board-btn {
    flex: 0 0 auto;
    padding: 8px 12px;
    font-size: 12px;
    min-height: 34px;
    max-width: 100px;
  }

  #dash-body,
  #dash-account {
    padding: 0 12px 14px;
  }

  .dash-section {
    margin-top: 8px;
  }

  #dash-settings {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .dash-main {
    font-size: 18px;
  }

  .dashboard-section-title {
    font-size: 14px;
    margin: 8px 0 5px;
  }

  .dashboard-section-divider {
    margin: 4px 0 8px;
  }
 
  .board-strip {
    gap: 14px;
    padding-bottom: 8px;
    height: auto;
    align-items: flex-start;
    min-height: 176px;
  }

  .board-pill-shell {
    width: 120px;
    height: 146px;
  }

  .board-pill-shell > .board-pill {
    width: 200px;
    height: 240px;
    transform: scale(0.56);
    transform-origin: top left;
    margin: 0;
  }

  .board-pill--slot {
    grid-template-rows: 22px 1fr 18px;
    padding: 0 0 26px 0;
  }

  .board-slot-shell {
    height: 96px;
    padding: 8px 12px 3px;
  }
 
 .board-pill--square {
  gap: 2px;
}
 
.board-slot-well .availability-preview td {
  height: 16px;
  min-width: 16px;
}

.board-slot-well .availability-preview .dot {
  width: 7px;
  height: 7px;
} 
 
  .settings-action,
  .settings-action.compact {
    justify-content: center;
  }

  .settings-actions-row {
    width: 100%;
  }

  .settings-value {
   margin-right: 0px;
   font-size: 11px;
   font-weight: 500;
   width: 100%;
   min-width: 0;
  }

  #acct-delete-account {
    width: 64px;
    min-width: 64px;
  }

 .settings-mini-btn.danger {
   font-size: 9px;
   padding: 4px 6px;
 }

  .settings-mini-btn {
    width: 64px;
    min-width: 64px;
    font-size: 9px;
    padding: 4px 6px;
    min-height: 36px;
  }

  .footer-note .footer-edit-btn {
    padding: 8px 12px;
    font-size: 11px;
    min-height: auto;
  }

  .settings-row-3 {
    grid-template-columns: 62px minmax(0, 1fr) 68px;
  }

  .settings-colour {
   display: block;
  }
 
  .acct-upgrade-lock {
    width: 40px;
    height: 40px;
    font-size: 20px;
    margin: 10px 0 0 8px;
  }

 .create-input, .create-select {
  font-size: 14px;
 }
 
  .board-strip-fade::after {
    width: 24px;
  }

  #dash-account .acct-row,
  #dash-account .account-row {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    align-items: center;
    column-gap: 14px;
  }

  #dash-account .acct-row > *,
  #dash-account .account-row > * {
    margin: 0 !important;
  }

  /* label */
  #dash-account .acct-label,
  #dash-account .account-label {
    font-size: 13px;
    opacity: 0.7;
  }

  /* value */
  #dash-account .acct-value,
  #dash-account .account-value {
    justify-self: end;
    text-align: right;
    white-space: nowrap;
  }

  /* button */
  #dash-account button {
    justify-self: end;
  }

 .centered-container {
   padding: 14px 14px;
  }

 .ghost-btn {
   padding: 6px 0 44px;
 }

 .profile-card { 
   margin: auto;
   padding: 12px;
}

.profile-subtitle {
   margin-top: 3px; 
}

.profile-field {
   margin-top: 10px;
}

.profile-setup {
   padding: 12px;
} 

 .calendar-fade:after {
  width: 10%;
} 

 .calendar-topbar {
   display: grid;
   grid-template-columns: 1fr;
   grid-template-areas:
     "left"
     "right"
     "title";
   gap: 0px;
   padding: 0 10px;
 }
 
 .calendar-topbar-left {
  flex-direction: row;
  gap: 8px;
  grid-area: left;
 } 

.calendar-topbar-right {
  grid-area: right;
  align-items: flex-start;
  text-align: left;
  justify-self: start;
  font-size: 13px;
  gap: 2px;
 }
 
  #calendar-title-wrap {
    grid-area: title;
  }

  #calendar-title {
    text-align: left;
    padding: 14px 20px 6px;
  } 

  .calendar-meta-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 4px;
    width: 100%;
    font-size: 11.5px;
    line-height: 1.3;
    color: #6b5c4f;
    width: 296px;
  }

  .calendar-meta-compact > div {
    min-width: 0;
  }

  .calendar-meta-line,
  .calendar-meta-subtext {
    display: none !important;
  }

  #calendar-side-left {
   align-items: center;
 }

 #board-footer.side-card {
  min-width: 278px;
  margin-left: 8px;
 }
 
 .back-btn {
  font-size: 10.5px;
  width: 94px;
  height: 40px;
 }

 .topbar-btn {
  font-size: 10.5px;
  width: 94px;
  height: 40px;
 }

 #calendar {
  margin: 4px 0 4px;
  padding: 0 8px;
 }

 #calendar-side {
  margin: 4px 0 0;
 }

 .time-label {
  font-size: 14px;
  width: 72px;
 }

 .calendar-meta-corner {
    vertical-align: top;
    padding: 6px 6px 4px;
  }

  .calendar-meta-corner__inner {
    display: grid;
    gap: 4px;
    font-size: 8px;
    line-height: 1.4;
    color: #6b5c4f;
    text-align: left;
    white-space: normal;
    letter-spacing: -0.03em;
  }

  .calendar-topbar-right {
    display: none !important;
  }

  #calendar-side-right {
    position: relative;
  }

  #legend {
    position: relative;
    margin-top: 0;
  }

  #presence {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 2;

    font-size: 12px;
    line-height: 1;
    color: rgba(92, 72, 56, 0.72);
    white-space: nowrap;
    text-align: center;
  } 

 .whole-day-cell {
   min-height: 72px;
 }

 #calendar:has(.whole-day-wrap) {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    scroll-padding-left: 20px;
    scroll-padding-right: 20px;
  }

  #calendar:has(.whole-day-wrap)::-webkit-scrollbar {
    display: none;
  }

  .whole-day-wrap {
    display: flex;
    gap: 22px;
    min-width: 0;
    width: max-content;
    align-items: stretch;
    padding-right: 8px;
    box-sizing: border-box;
  }

  .whole-day-month-card {
    flex: 0 0 calc(100vw - 24px);
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

.whole-day-cell__dots {
  position: absolute;
  inset: 16px 8px 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  margin-top: 0px;

  width: auto;
  height: auto;
}

.whole-day-cell .dot-container {
  width: auto;
  height: auto;
  margin: 0;
}
 
  .calendar-fade:has(.whole-day-wrap)::after {
   display: none;
 }

.whole-day-weekdays,
.whole-day-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.whole-day-cell,
.whole-day-weekday {
  min-width: 0;
}

.whole-day-cell__dots,
.whole-day-cell .dot-container {
  min-width: 0;
  max-width: 100%;
 } 
} 

/* ================================================================================================================================================================================================================= */
@media (max-width: 400px) {
.whole-day-cell .dot {
  width: 10px;
  height: 10px;
 }

.whole-day-cell .dot-container.dots-1-3 {
  gap: 2px;
 } 

.whole-day-cell .dot-container.dots-4-6 .dot {
  width: 10px;
  height: 10px;
}

.whole-day-cell .dot-container.dots-4-6 {
  gap: 2px;
 }  
}

/* ================================================================================================================================================================================================================= */
@media (max-width: 350px) {
 .whole-day-cell .dot {
  width: 10px;
  height: 10px;
 } 
 
.whole-day-cell .dot-container.dots-1-3 {
  gap: 1px;
 }

.whole-day-cell .dot-container.dots-4-6 .dot {
  width: 10px;
  height: 10px;
}

.whole-day-cell .dot-container.dots-4-6 {
  gap: 1px;
 }   
}

/* ================================================================================================================================================================================================================= */
/* ONLY small phones stack */
@media (max-width: 520px) {
  #dash-account .acct-row,
  #dash-account .account-row {
    grid-template-columns: 1fr auto;
    row-gap: 6px;
  }

  #dash-account .acct-label,
  #dash-account .account-label {
    grid-column: 1 / -1;
  }

  #dash-account .acct-value,
  #dash-account .account-value {
    justify-self: start;
    text-align: left;
  }
}
 
