/* Shared chrome for the four calendar looks */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
}

a { text-decoration: none; }

.kanban-card--hidden { display: none !important; }
.day-row--empty { display: none; }

.look-switch {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 8px 18px;
}

.look-switch a {
  font-size: 12px;
  font-weight: 650;
  padding: 5px 9px;
}

.look-switch .look-home { margin-right: 6px; }

#icp-filter { display: none; }

.slot-copy summary { cursor: pointer; list-style: none; }
.slot-copy summary::-webkit-details-marker { display: none; }

.post-copy {
  width: 100%;
  min-height: 120px;
  margin-top: 8px;
  padding: 12px;
  resize: vertical;
  font: inherit;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 10px);
  padding: 10px 16px;
  font-weight: 650;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  transition: opacity 0.2s, transform 0.2s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.board-brand img {
  width: 28px;
  height: 28px;
  object-fit: cover;
}

.btn { font-family: inherit; cursor: pointer; border: none; }

.slot-media {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin: 0 0 10px;
  padding-bottom: 2px;
  scrollbar-width: thin;
}
.slot-thumb {
  position: relative;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  background: rgba(255,255,255,0.08);
}
.slot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slot-thumb--add {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed currentColor;
  opacity: 0.55;
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
  text-align: center;
  padding: 4px;
}
.slot-thumb--add input { display: none; }
.slot-thumb-x {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 11px;
  line-height: 16px;
  cursor: pointer;
}
.slot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(7, 11, 20, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.slot-lightbox[hidden] { display: none; }
.slot-lightbox figure { margin: 0; max-width: min(920px, 100%); text-align: center; }
.slot-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 88px);
  object-fit: contain;
  border-radius: 12px;
}
.slot-lightbox figcaption {
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.8;
}
.slot-lightbox-close,
.slot-lightbox-prev,
.slot-lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.slot-lightbox-close {
  top: 16px;
  right: 16px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 650;
}
.slot-lightbox-prev,
.slot-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
}
.slot-lightbox-prev { left: 16px; }
.slot-lightbox-next { right: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
