/* ToDO Board — 게스트 보드 기본 스타일 (0단계) */
* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: #202124;
  color: #f1f3f4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.guest-board-page {
  min-height: 100vh;
  padding: 20px;
}

.sample-board {
  position: relative;
  --sample-group-title-height: 42px;
  --sample-group-width: 206px;
  --sample-memo-width: 206px;
  --sample-font-size: 13px;
  --sample-font-weight: 700;
  --sample-text-color: #202124;
  --sample-item-gap: 8px;
  --sample-card-padding: 10px;
  --memo-line-height: 19px;
  --memo-content-inset: 12px;
  --sample-board-content-top: 76px;
  min-height: calc(100vh - 40px);
  overflow: hidden;
  border: 1px solid #3f4248;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #25272d;
  background-size: 32px 32px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 54px rgba(0, 0, 0, 0.28);
  padding: 18px 18px 88px;
  user-select: none;
}

.sample-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding-right: 0;
  margin-bottom: 22px;
}

.sample-groups,
.todo-live-board-root {
  margin-top: 6px;
}

.sample-board-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
  min-width: 0;
}

.sample-search {
  width: min(260px, 30vw);
  height: 32px;
  padding: 0 11px;
  border: 1px solid #4b4f57;
  border-radius: 6px;
  background: rgba(31, 33, 38, 0.88);
  color: #e5edff;
  font-size: 13px;
  font-weight: 700;
  outline: none;
}

.sample-search:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.sample-card.sample-search-hidden,
.sample-floating-note.sample-search-hidden,
.sample-group.sample-search-hidden {
  display: none !important;
}

.sample-search::placeholder {
  color: #aeb6c4;
}

.sample-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

.sample-badge {
  padding: 7px 10px;
  border: 1px solid #4b4f57;
  border-radius: 6px;
  color: #d8dee9;
  background: rgba(31, 33, 38, 0.78);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: max-width 0.45s ease, opacity 0.45s ease, margin 0.45s ease, padding 0.45s ease;
}

/* 게스트 첫 진입 — 샘플 보드 배지 4초 섬광 후 좌측으로 사라짐 */
.sample-badge.sample-badge-intro {
  position: relative;
  overflow: hidden;
  animation: sampleBadgePulse 0.95s ease-in-out 4;
}

.sample-badge.sample-badge-intro::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.42) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: sampleBadgeSweep 1.15s ease-in-out 3;
  pointer-events: none;
}

.sample-badge.sample-badge-exit {
  animation: sampleBadgeExit 0.55s ease-in forwards;
}

.sample-badge.sample-badge-gone {
  display: none !important;
}

@keyframes sampleBadgePulse {
  0%, 100% {
    box-shadow: 0 0 0 rgba(159, 183, 255, 0);
    border-color: #4b4f57;
  }
  50% {
    box-shadow: 0 0 16px rgba(159, 183, 255, 0.38);
    border-color: #8ea4d8;
  }
}

@keyframes sampleBadgeSweep {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}

@keyframes sampleBadgeExit {
  to {
    opacity: 0;
    transform: translateX(-120%);
    max-width: 0;
    padding-left: 0;
    padding-right: 0;
    margin-right: 0;
    border-width: 0;
  }
}

.sample-login-btn {
  height: 32px;
  padding: 0 13px;
  border: 1px solid #e5edff;
  border-radius: 6px;
  background: #e5edff;
  color: #172033;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.sample-auth-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sample-user-chip {
  max-width: 120px;
  padding: 6px 10px;
  border: 1px solid #4b4f57;
  border-radius: 999px;
  background: rgba(31, 33, 38, 0.88);
  color: #e5edff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sample-logout-btn {
  height: 32px;
  padding: 0 11px;
  border: 1px solid #4b4f57;
  border-radius: 6px;
  background: rgba(31, 33, 38, 0.88);
  color: #e5edff;
  font-size: 12px;
  font-weight: 800;
  line-height: 30px;
  text-decoration: none;
  white-space: nowrap;
}

.sample-logout-btn:hover {
  background: rgba(229, 237, 255, 0.12);
}

body.todo-light-mode .sample-user-chip,
body.todo-light-mode .sample-logout-btn {
  border-color: #cfd6e4;
  background: rgba(255, 255, 255, 0.96);
  color: #172033;
}

body.todo-light-mode .sample-logout-btn:hover {
  background: rgba(23, 32, 51, 0.06);
}

.sample-groups-live-placeholder {
  display: none !important;
}

.todo-live-empty {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  max-width: 320px;
  padding: 14px 18px;
  border: 1px dashed #4b4f57;
  border-radius: 10px;
  color: #aeb6c8;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}

body.todo-light-mode .todo-live-empty {
  border-color: #cfd6e4;
  color: #6b7280;
}

.sample-menu-wrap {
  position: relative;
}

.sample-menu-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #4b4f57;
  border-radius: 6px;
  background: rgba(31, 33, 38, 0.88);
  color: #e5edff;
  cursor: pointer;
  gap: 3px;
}

.sample-menu-btn span,
.sample-menu-btn::before,
.sample-menu-btn::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.sample-menu-dropdown {
  position: absolute;
  top: 38px;
  right: 0;
  z-index: 100;
  display: none;
  min-width: 168px;
  padding: 6px;
  border: 1px solid #4b4f57;
  border-radius: 7px;
  background: #25272d;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

.sample-menu-dropdown.active {
  display: block;
}

.sample-menu-item {
  width: 100%;
  min-height: 34px;
  padding: 8px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #e5edff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.sample-menu-item:hover {
  background: rgba(229, 237, 255, 0.12);
}

body.todo-light-mode {
  background: #eef1f6;
  color: #172033;
}

body.todo-light-mode .sample-board {
  border-color: #cfd6e4;
  background:
    linear-gradient(rgba(23, 32, 51, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 51, 0.055) 1px, transparent 1px),
    #f6f8fc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 18px 54px rgba(23, 32, 51, 0.14);
}

body.todo-light-mode .sample-title {
  color: #172033;
}

body.todo-light-mode .sample-badge,
body.todo-light-mode .sample-search,
body.todo-light-mode .sample-menu-btn,
body.todo-light-mode .sample-menu-dropdown,
body.todo-light-mode .todo-settings-panel {
  border-color: #cfd6e4;
  background: rgba(255, 255, 255, 0.94);
  color: #172033;
}

.sample-groups {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  min-height: 420px;
  overflow: visible;
  padding: 0 0 18px;
}

/* 오늘 할 일 ↔ 대기중 할 일 사이 — 그룹 하나 너비 간격 */
.sample-group-gap {
  flex: 0 0 var(--sample-group-width);
  width: var(--sample-group-width);
  height: 1px;
  pointer-events: none;
  visibility: hidden;
}

/* 내일 할 일 · 완료한 일 · 생활 메모 묶음 */
.sample-groups-cluster-tomorrow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex: 0 0 auto;
}

.sample-groups-cluster-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* 내일 할 일 ↔ 완료한 일 사이 — 약간의 여백 */
.sample-group-gap-sm {
  flex: 0 0 28px;
  width: 28px;
  height: 1px;
  pointer-events: none;
  visibility: hidden;
}

/* 생활 메모 — 내일 할 일 열 아래 정렬 */
.sample-group-life-below {
  width: var(--sample-group-width);
  flex: 0 0 var(--sample-group-width);
  margin-top: 4px;
}

.sample-board[data-board-mode="guest"] .sample-groups {
  display: grid;
  grid-template-columns: var(--sample-group-width) 28px var(--sample-group-width) auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 12px;
  align-items: start;
  flex-wrap: nowrap;
  align-content: start;
}

.sample-board[data-board-mode="guest"] .sample-groups > .sample-group:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.sample-board[data-board-mode="guest"] .sample-groups > .sample-group-gap:not(.sample-group-gap-sm) {
  grid-column: 2;
  grid-row: 1;
  flex: none;
  width: 28px;
}

.sample-board[data-board-mode="guest"] .sample-groups > .sample-group:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.sample-board[data-board-mode="guest"] .sample-groups > .sample-groups-cluster-tomorrow {
  grid-column: 4;
  grid-row: 1 / span 2;
}

.sample-board[data-board-mode="guest"] .sample-groups > .sample-floating-notes {
  grid-column: 1 / span 3;
  grid-row: 2;
}

.sample-board[data-board-mode="guest"] .sample-group:not(.sample-free-draggable) {
  position: relative;
  left: auto !important;
  top: auto !important;
}

.sample-board[data-board-mode="guest"] .sample-groups-cluster-tomorrow {
  flex: 0 0 auto;
}

.sample-group {
  width: var(--sample-group-width);
  flex: 0 0 var(--sample-group-width);
  border-radius: 8px;
  overflow: visible;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  cursor: grab;
  touch-action: none;
}

.sample-group-title {
  min-height: var(--sample-group-title-height);
  height: var(--sample-group-title-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 6px;
  color: #f4f8fc;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.01em;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-left: 5px solid var(--group-left-strip-color, rgba(0, 0, 0, 0.22));
  padding: 0 12px 0 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.16);
}

/* 어두운 파스텔 그룹 헤더 (A안) — 메모 카드와 동일 투톤 좌측 스트립 */
.sample-group-tone-sky {
  background: #5b8fae;
  --group-left-strip-color: #456d84;
}

.sample-group-tone-coral {
  background: #b07a62;
  --group-left-strip-color: #865d4b;
}

.sample-group-tone-green {
  background: #6a9a72;
  --group-left-strip-color: #517557;
}

.sample-group-tone-violet {
  background: #7d6b9d;
  --group-left-strip-color: #5f5177;
}

.sample-group-tone-slate {
  background: #5f6f82;
  --group-left-strip-color: #485463;
}

.sample-group-count {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  opacity: 1;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
}

.sample-list {
  display: grid;
  gap: var(--sample-item-gap);
  padding: 8px 0 0;
  background: transparent;
  min-height: 76px;
  width: 100%;
  box-sizing: border-box;
}

.sample-list .sample-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.sample-card {
  width: var(--sample-memo-width);
  min-height: var(--sample-group-title-height);
  height: auto;
  padding: 0;
  border-radius: 0;
  color: var(--sample-text-color);
  font-size: var(--sample-font-size);
  line-height: var(--memo-line-height, 1.4);
  font-weight: var(--sample-font-weight);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--memo-left-strip-color, rgba(0, 0, 0, 0.2));
  cursor: grab;
  touch-action: none;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sample-card:hover {
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.sample-card.sample-card-done {
  opacity: 0.84;
}

.sample-card.sample-card-done > .sample-memo-content {
  text-decoration: line-through;
  text-decoration-color: rgba(0, 0, 0, 0.32);
}

.sample-memo-content {
  flex: 1 1 auto;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
  padding-top: var(--memo-content-inset, 12px);
  padding-bottom: var(--memo-content-inset, 12px);
  padding-left: 10px;
  padding-right: 12px;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: var(--memo-line-height, 18px);
  text-align: left;
  overflow: hidden;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.sample-card:not(.sample-memo-expanded) > .sample-memo-content,
.sample-floating-note:not(.sample-memo-expanded) > .sample-memo-content {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.sample-card.sample-memo-clamped,
.sample-floating-note.sample-memo-clamped {
  padding-top: var(--memo-content-inset, 12px);
  padding-bottom: var(--memo-content-inset, 12px);
  overflow: hidden;
}

.sample-card.sample-memo-clamped > .sample-memo-content,
.sample-floating-note.sample-memo-clamped > .sample-memo-content {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  flex: 0 0 auto;
  padding-top: 0;
  padding-bottom: 0;
  height: calc(var(--memo-line-height, 19px) * 2);
  max-height: calc(var(--memo-line-height, 19px) * 2);
  min-height: 0;
}

.sample-memo-expanded > .sample-memo-content {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  white-space: pre-wrap;
  height: auto;
  max-height: none;
}

.sample-card,
.sample-floating-note {
  cursor: pointer;
}

.sample-card > .sample-memo-content,
.sample-floating-note > .sample-memo-content {
  padding-top: var(--memo-content-inset, 12px);
  padding-bottom: var(--memo-content-inset, 12px);
  padding-left: 10px;
  padding-right: 12px;
  line-height: var(--memo-line-height, 18px);
  text-align: left;
}

/* 게스트(비로그인) 샘플: 로드 시 보통 굵기 · 2줄 말줄임 · 상·하 inset 동일 */
.sample-board[data-board-mode="guest"] {
  --sample-font-weight: 400;
}

.sample-board[data-board-mode="guest"] .sample-card:not(.sample-memo-expanded),
.sample-board[data-board-mode="guest"] .sample-floating-note:not(.sample-memo-expanded) {
  font-weight: 400;
  padding-top: var(--memo-content-inset, 12px);
  padding-bottom: var(--memo-content-inset, 12px);
  min-height: calc(var(--memo-content-inset, 12px) * 2 + var(--memo-line-height, 19px) * 2);
  max-height: calc(var(--memo-content-inset, 12px) * 2 + var(--memo-line-height, 19px) * 2);
  overflow: hidden;
}

.sample-board[data-board-mode="guest"] .sample-card:not(.sample-memo-expanded) > .sample-memo-content,
.sample-board[data-board-mode="guest"] .sample-floating-note:not(.sample-memo-expanded) > .sample-memo-content {
  font-weight: 400;
  flex: 0 0 auto;
  padding-top: 0;
  padding-bottom: 0;
  height: calc(var(--memo-line-height, 19px) * 2);
  max-height: calc(var(--memo-line-height, 19px) * 2);
  overflow: hidden;
}

.sample-board[data-board-mode="guest"] .sample-floating-notes {
  position: relative;
  left: auto;
  bottom: auto;
  top: auto;
  right: auto;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.sample-board[data-board-mode="guest"] .sample-floating-notes .sample-floating-note {
  pointer-events: auto;
  position: relative;
  width: var(--sample-group-width);
  margin: 0;
}

.sample-board[data-board-mode="guest"] .sample-floating-notes .sample-floating-note[data-guest-float="2"] {
  margin-left: calc(var(--sample-group-width) * 0.22);
}

/* 게스트 메모 호버 — 전체 문장 미리보기 */
.sample-memo-preview {
  position: fixed;
  z-index: 1100;
  max-width: min(320px, calc(100vw - 24px));
  padding: 11px 13px;
  border: 1px solid #4b4f57;
  border-radius: 8px;
  background: rgba(37, 39, 45, 0.97);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
  color: #e8eef8;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.14s ease, visibility 0.14s ease;
}

.sample-memo-preview.visible {
  opacity: 1;
  visibility: visible;
}

body.todo-light-mode .sample-memo-preview {
  background: rgba(255, 255, 255, 0.98);
  border-color: #cfd6e4;
  color: #172033;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
}

.sample-floating-notes {
  position: relative;
  min-height: 240px;
  margin-top: 10px;
}

.sample-floating-note {
  position: absolute;
  width: var(--sample-memo-width);
  min-height: var(--sample-group-title-height);
  height: auto;
  padding: 0;
  border-radius: 0;
  color: var(--sample-text-color);
  font-size: var(--sample-font-size);
  line-height: var(--memo-line-height, 1.4);
  font-weight: var(--sample-font-weight);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.22);
  border-left: 5px solid var(--memo-left-strip-color, rgba(0, 0, 0, 0.2));
  cursor: grab;
  touch-action: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sample-floating-note:hover {
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.sample-free-draggable {
  position: absolute !important;
  margin: 0 !important;
  z-index: 20;
}

.sample-free-draggable.dragging {
  z-index: 80;
  cursor: grabbing;
  opacity: 0.94;
  transform: scale(1.02);
  transition: none;
}

.sample-free-draggable.sample-grid-snapped {
  transition: left 0.18s ease, top 0.18s ease;
  box-shadow: 0 0 0 1px rgba(159, 183, 255, 0.45), 3px 3px 8px rgba(0, 0, 0, 0.28);
}

.sample-card.sample-free-draggable {
  width: var(--sample-memo-width);
  font-weight: 800;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.24);
}

.todo-item-resize-handle {
  position: absolute;
  right: 2px;
  bottom: 2px;
  z-index: 8;
  width: 15px;
  height: 15px;
  border: 0;
  border-right: 3px solid rgba(32, 33, 36, 0.42);
  border-bottom: 3px solid rgba(32, 33, 36, 0.42);
  background: transparent;
  cursor: nwse-resize;
  opacity: 0;
  padding: 0;
  touch-action: none;
}

.sample-card:hover > .todo-item-resize-handle,
.sample-floating-note:hover > .todo-item-resize-handle,
.sample-card.resizing > .todo-item-resize-handle,
.sample-floating-note.resizing > .todo-item-resize-handle {
  opacity: 1;
}

.sample-card.resizing,
.sample-floating-note.resizing,
.sample-group.resizing {
  cursor: nwse-resize;
}

.sample-group > .todo-item-resize-handle {
  right: -4px;
  bottom: -4px;
  border-color: rgba(229, 237, 255, 0.66);
}

.sample-group:hover > .todo-item-resize-handle,
.sample-group.resizing > .todo-item-resize-handle {
  opacity: 1;
}

.resizing > .todo-item-resize-handle {
  opacity: 1;
}

.sample-drop-placeholder {
  width: 100%;
  max-width: 100%;
  min-height: var(--sample-group-title-height);
  height: var(--sample-group-title-height);
  border: 2px dashed rgba(229, 237, 255, 0.85);
  border-left: 5px solid rgba(229, 237, 255, 0.45);
  border-radius: 0;
  background: rgba(229, 237, 255, 0.13);
  box-shadow: inset 0 0 0 1px rgba(23, 32, 51, 0.2);
}

.sample-list.sample-drop-active {
  outline: 1px solid rgba(229, 237, 255, 0.5);
  outline-offset: 7px;
  border-radius: 7px;
}

.todo-settings-panel {
  position: fixed;
  top: 86px;
  right: 14px;
  z-index: 1300;
  display: none;
  width: min(360px, calc(100vw - 28px));
  max-height: min(620px, calc(100vh - 108px));
  overflow-y: auto;
  padding: 12px;
  border: 1px solid #4b4f57;
  border-radius: 8px;
  background: #25272d;
  color: #e5edff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.todo-settings-panel.active {
  display: block;
}

.todo-stats-panel {
  display: none;
  position: fixed;
  top: 72px;
  right: 18px;
  width: min(920px, calc(100vw - 36px));
  height: min(78vh, 860px);
  z-index: 12040;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.45);
  overflow: hidden;
}

.todo-stats-panel.active {
  display: flex;
  flex-direction: column;
}

.todo-stats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.todo-stats-head strong {
  font-size: 15px;
  color: #f8fafc;
}

.todo-stats-close {
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.todo-stats-frame {
  flex: 1;
  width: 100%;
  border: none;
  background: #fff;
}

body.todo-light-mode .todo-stats-panel {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(15, 23, 42, 0.12);
}

body.todo-light-mode .todo-stats-head strong {
  color: #0f172a;
}

.todo-settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.todo-settings-head strong {
  font-size: 14px;
}

.todo-settings-close {
  width: 28px;
  height: 28px;
  border: 1px solid #4b4f57;
  border-radius: 5px;
  background: #1f2126;
  color: #e5edff;
  cursor: pointer;
}

.todo-settings-row {
  display: grid;
  gap: 6px;
  padding: 10px 0;
  border-top: 1px solid #3f4248;
}

.todo-settings-row label,
.todo-settings-row span {
  color: #d8dee9;
  font-size: 12px;
  font-weight: 800;
}

.todo-settings-row input[type="range"],
.todo-settings-row select,
.todo-settings-row input[type="color"] {
  width: 100%;
}

.todo-settings-row select {
  height: 32px;
  border: 1px solid #4b4f57;
  border-radius: 5px;
  background: #1f2126;
  color: #f1f3f4;
  padding: 0 8px;
}

.todo-settings-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #3f4248;
}

.todo-settings-actions button {
  height: 32px;
  padding: 0 10px;
  border: 1px solid #4b4f57;
  border-radius: 5px;
  background: #1f2126;
  color: #e5edff;
  font-weight: 800;
  cursor: pointer;
}

body.todo-light-mode .todo-settings-panel {
  border-color: #cfd6e4;
  background: #ffffff;
  color: #172033;
  box-shadow: 0 18px 42px rgba(23, 32, 51, 0.18);
}

body.todo-light-mode .todo-settings-row label,
body.todo-light-mode .todo-settings-row span {
  color: #172033;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
}

.auth-modal.active,
.info-modal.active {
  display: flex;
}

.auth-shell {
  position: relative;
  width: min(420px, calc(100vw - 32px));
  background: #2b2d31;
  border: 1px solid #3f4248;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.35);
}

.info-shell {
  position: relative;
  width: min(680px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 40px));
  overflow-y: auto;
  background: #2b2d31;
  border: 1px solid #3f4248;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.35);
}

.info-shell h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.info-shell p {
  margin: 0 0 14px;
  color: #d8dee9;
  font-size: 15px;
  line-height: 1.7;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.info-card {
  border: 1px solid #3f4248;
  border-radius: 7px;
  background: #24262b;
  padding: 14px;
}

.info-card strong {
  display: block;
  margin-bottom: 6px;
  color: #e5edff;
  font-size: 14px;
}

.info-card span,
.info-steps li {
  color: #c9d1d9;
  font-size: 14px;
  line-height: 1.6;
}

.info-steps {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  padding-left: 22px;
}

.info-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.info-primary-btn,
.info-secondary-btn {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
}

.info-primary-btn {
  border: 1px solid #e5edff;
  background: #e5edff;
  color: #172033;
}

.info-secondary-btn {
  border: 1px solid #4b4f57;
  background: #24262b;
  color: #e5edff;
}

/* 시작 안내(환영) 모달 — #todoWelcomeModal 전용 */
#todoWelcomeModal.todo-welcome-modal.active {
  display: flex;
}

#todoWelcomeModal .todo-welcome-shell {
  width: min(720px, calc(100vw - 32px));
}

#todoWelcomeModal .todo-welcome-greeting {
  margin: 0 0 8px;
  color: #8ab4ff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

#todoWelcomeModal .todo-welcome-shell > h2 {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.45;
}

#todoWelcomeModal .todo-welcome-body {
  max-height: min(420px, calc(100vh - 260px));
  overflow-y: auto;
  padding-right: 4px;
}

#todoWelcomeModal .todo-welcome-section + .todo-welcome-section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #3f4248;
}

#todoWelcomeModal .todo-welcome-section h3 {
  margin: 0 0 10px;
  color: #e5edff;
  font-size: 17px;
}

#todoWelcomeModal .todo-welcome-tip {
  margin: 0;
  color: #aeb6c2;
  font-size: 14px;
}

#todoWelcomeModal .todo-welcome-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #3f4248;
}

#todoWelcomeModal .todo-welcome-hide-btn {
  min-height: 36px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #9aa3b2;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

#todoWelcomeModal .todo-welcome-hide-btn:hover {
  color: #c9d1d9;
}

#todoWelcomeModal .todo-welcome-footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.auth-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 1px solid #4b4f57;
  border-radius: 6px;
  background: #24262b;
  color: #d8dee9;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

#authModalTitle {
  margin: 0 0 20px;
  font-size: 24px;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.tab-btn {
  height: 40px;
  border: 1px solid #4b4f57;
  background: #24262b;
  color: #c9d1d9;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}

.tab-btn.active {
  background: #e5edff;
  color: #172033;
  border-color: #e5edff;
}

.auth-form { display: none; }
.auth-form.active { display: grid; gap: 12px; }

.auth-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #c9d1d9;
}

.auth-form input {
  height: 42px;
  border: 1px solid #4b4f57;
  background: #1f2126;
  color: #f1f3f4;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 15px;
  outline: none;
}

.auth-form input:focus { border-color: #9fb7ff; }

#registerForm .auth-field-wrap {
  display: grid;
  gap: 4px;
}

#registerForm .auth-field-hint {
  min-height: 16px;
  font-size: 12px;
  line-height: 1.4;
  color: #9aa3af;
}

#registerForm .auth-field-hint.is-checking { color: #9fb7ff; }
#registerForm .auth-field-hint.is-ok { color: #7dcea0; }
#registerForm .auth-field-hint.is-error { color: #ffb4ab; }

#registerForm input[name="login_id"].is-checking { border-color: #9fb7ff; }
#registerForm input[name="login_id"].is-ok { border-color: #7dcea0; }
#registerForm input[name="login_id"].is-error { border-color: #ffb4ab; }

.submit-btn {
  height: 44px;
  margin-top: 6px;
  border: 0;
  border-radius: 6px;
  background: #e5edff;
  color: #172033;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.message {
  min-height: 20px;
  margin-top: 14px;
  color: #ffb4ab;
  font-size: 13px;
  line-height: 1.45;
}

/* —— 3a: 메모 우클릭 컨텍스트 메뉴 · 편집 · 배경색 · 휴지통 —— */
.sample-context-menu {
  position: fixed;
  z-index: 1200;
  display: none;
  min-width: 172px;
  padding: 6px;
  border: 1px solid #4b4f57;
  border-radius: 7px;
  background: #25272d;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
  color: #e5edff;
  font-size: 13px;
}

.sample-context-menu.active {
  display: block;
}

.sample-context-menu-item {
  width: 100%;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.sample-context-menu-item:hover {
  background: rgba(229, 237, 255, 0.12);
}

.sample-context-menu-item.delete {
  color: #ffb4ab;
}

.sample-context-separator {
  height: 1px;
  margin: 5px 2px;
  background: #3f4248;
}

.sample-color-row {
  display: grid;
  grid-template-columns: repeat(5, 22px);
  gap: 6px;
  padding: 7px 9px;
}

.sample-color-dot {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 5px;
  cursor: pointer;
  padding: 0;
}

.sample-editor-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 10, 14, 0.58);
  backdrop-filter: blur(8px);
}

.sample-editor-modal.active {
  display: flex;
}

.sample-editor-shell {
  width: min(480px, calc(100vw - 32px));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, #30333a 0%, #27292f 100%);
  color: #e5edff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.sample-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.sample-editor-head-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.sample-editor-head strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.sample-editor-subtitle {
  color: #aeb6c4;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.sample-editor-close {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #d8dee9;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.sample-editor-close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.sample-editor-body {
  display: grid;
  gap: 8px;
  padding: 16px 18px 6px;
}

.sample-editor-body label {
  color: #c5cedb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sample-editor-text {
  width: 100%;
  min-height: 168px;
  resize: vertical;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.97);
  color: #202124;
  padding: 14px 15px;
  font: inherit;
  font-size: 14px;
  line-height: 1.6;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sample-editor-text:focus {
  border-color: #9fb7ff;
  box-shadow: 0 0 0 4px rgba(159, 183, 255, 0.16);
}

.sample-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 18px 18px;
}

.sample-editor-actions button {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.sample-editor-cancel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #e5edff;
}

.sample-editor-cancel:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sample-editor-save {
  border: 1px solid #e5edff;
  background: #e5edff;
  color: #172033;
}

.sample-editor-save:hover {
  transform: translateY(-1px);
  background: #f3f7ff;
}

.sample-trash-icon {
  position: fixed;
  right: 14px;
  bottom: calc(var(--todo-adsense-dock-height, 58px) + 14px);
  z-index: 1180;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #4b4f57;
  border-radius: 10px;
  background: rgba(37, 39, 45, 0.94);
  color: #e5edff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.sample-trash-icon svg {
  width: 20px;
  height: 20px;
}

.sample-trash-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ffb4ab;
  color: #341413;
  font-size: 10px;
  font-weight: 900;
  line-height: 16px;
}

.sample-trash-icon.has-items .sample-trash-count {
  display: inline-flex;
}

.sample-trash-panel {
  position: fixed;
  right: 14px;
  bottom: calc(var(--todo-adsense-dock-height, 58px) + 64px);
  z-index: 1185;
  display: none;
  width: min(320px, calc(100vw - 28px));
  max-height: min(360px, calc(100vh - 96px));
  padding: 12px;
  border: 1px solid #4b4f57;
  border-radius: 8px;
  background: #25272d;
  color: #e5edff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
  overflow: auto;
}

.sample-trash-panel.active {
  display: block;
}

.sample-trash-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
}

.sample-trash-panel-head button,
.sample-trash-item button,
.sample-trash-empty {
  border: 1px solid #4b4f57;
  border-radius: 5px;
  background: rgba(31, 33, 38, 0.88);
  color: #e5edff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.sample-trash-panel-head button {
  width: 26px;
  height: 26px;
  padding: 0;
}

.sample-trash-list {
  display: grid;
  gap: 6px;
}

.sample-trash-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px;
  border-radius: 6px;
  background: rgba(229, 237, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.sample-trash-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sample-trash-item button {
  height: 26px;
  padding: 0 8px;
}

.sample-trash-empty {
  width: 100%;
  height: 30px;
  margin-top: 8px;
}

.sample-trash-placeholder {
  padding: 14px 4px;
  color: #aeb6c4;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

body.todo-light-mode .sample-context-menu,
body.todo-light-mode .sample-trash-panel {
  border-color: #cfd6e4;
  background: rgba(255, 255, 255, 0.98);
  color: #172033;
}

body.todo-light-mode .sample-context-menu-item:hover {
  background: rgba(23, 32, 51, 0.06);
}

body.todo-light-mode .sample-context-separator {
  background: #e3e8f0;
}

body.todo-light-mode .sample-trash-icon {
  border-color: #cfd6e4;
  background: rgba(255, 255, 255, 0.96);
  color: #172033;
}

body.todo-light-mode .sample-trash-item {
  background: rgba(23, 32, 51, 0.05);
}

/* 3c: 메모 할 일 상태(우클릭 메뉴) */
.sample-context-menu .sample-task-meta {
  display: grid;
  gap: 6px;
  margin: 5px 2px;
  padding: 8px;
  border: 1px solid #3f4248;
  border-radius: 6px;
  background: rgba(229, 237, 255, 0.08);
}

.sample-context-menu .sample-task-meta label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: inherit;
}

.sample-context-menu .sample-task-check input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #6a9a72;
  cursor: pointer;
}

.sample-context-menu .sample-task-priority,
.sample-context-menu .sample-task-date {
  height: 26px;
  border: 1px solid rgba(32, 33, 36, 0.18);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.92);
  color: #202124;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  padding: 0 6px;
  box-sizing: border-box;
}

.sample-context-menu .sample-task-priority {
  flex: 1;
  min-width: 58px;
}

.sample-context-menu .sample-task-date {
  flex: 1;
  min-width: 0;
}

.sample-context-submenu-label {
  padding: 4px 9px 2px;
  font-size: 11px;
  font-weight: 900;
  color: #aeb6c4;
  letter-spacing: 0.02em;
}

.sample-card.sample-task-priority-high,
.sample-floating-note.sample-task-priority-high {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2), inset 0 0 0 2px rgba(180, 45, 35, 0.34);
}

.sample-card.sample-task-priority-low,
.sample-floating-note.sample-task-priority-low {
  opacity: 0.92;
}

body.todo-light-mode .sample-context-menu .sample-task-meta {
  border-color: #e3e8f0;
  background: rgba(23, 32, 51, 0.04);
}

/* 3d: 빈 보드 생성 메뉴 · 높이 서브메뉴 · 그룹 접기 */
.sample-create-menu {
  position: absolute;
  z-index: 1150;
  display: none;
  min-width: 132px;
  padding: 6px;
  border: 1px solid #4b4f57;
  border-radius: 7px;
  background: #25272d;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

.sample-create-menu.active {
  display: grid;
  gap: 4px;
}

.sample-create-menu button {
  min-height: 32px;
  padding: 7px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #e5edff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.sample-create-menu button:hover {
  background: rgba(229, 237, 255, 0.12);
}

.sample-context-menu-item.sample-context-has-submenu {
  position: relative;
  cursor: default;
}

.sample-context-menu-item.sample-context-has-submenu > span {
  display: block;
  width: 100%;
  padding: 7px 9px;
  box-sizing: border-box;
}

.sample-height-submenu {
  position: absolute;
  left: calc(100% - 2px);
  top: -4px;
  display: none;
  min-width: 72px;
  padding: 4px 0;
  border: 1px solid #4b4f57;
  border-radius: 6px;
  background: #25272d;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  pointer-events: none;
}

.sample-context-menu-item.sample-context-has-submenu:hover .sample-height-submenu,
.sample-height-submenu:hover {
  display: block;
  pointer-events: auto;
}

.sample-height-option {
  display: block;
  width: 100%;
  min-height: 28px;
  padding: 6px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #e5edff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.sample-height-option:hover {
  background: rgba(229, 237, 255, 0.12);
}

.sample-group.sample-group-collapsed > .sample-list {
  display: none;
}

.sample-group.sample-group-collapsed > .sample-group-title::after {
  content: ' ▸';
  opacity: 0.72;
  font-size: 12px;
}

body.todo-light-mode .sample-create-menu,
body.todo-light-mode .sample-height-submenu {
  border-color: #cfd6e4;
  background: rgba(255, 255, 255, 0.98);
  color: #172033;
}

body.todo-light-mode .sample-create-menu button:hover,
body.todo-light-mode .sample-height-option:hover {
  background: rgba(23, 32, 51, 0.06);
}

@media (max-width: 980px) {
  .guest-board-page {
    padding: 12px;
  }
  .sample-board {
    min-height: 620px;
  }
}

@media (max-width: 640px) {
  .todo-settings-panel {
    top: 126px;
    max-height: calc(100vh - 148px);
  }
  .guest-board-page {
    padding: 8px;
  }
  .sample-board {
    --sample-group-width: 100%;
    --sample-memo-width: 100%;
    min-height: auto;
    overflow: visible;
    padding: 14px 14px 72px;
  }
  .sample-board-header {
    align-items: center;
    width: 100%;
  }
  .sample-board-actions {
    margin-left: auto;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
  }
  .sample-search {
    width: 100%;
    order: 3;
  }

  /* 모바일: 메모 그룹·플로팅 메모 세로 나열 */
  .sample-groups,
  .todo-live-board-root,
  .sample-board[data-board-mode="guest"] .sample-groups {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 16px !important;
    min-height: auto !important;
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
  }

  .sample-group-gap,
  .sample-group-gap-sm {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .sample-group,
  .sample-board[data-board-mode="guest"] .sample-group:not(.sample-free-draggable) {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    left: auto !important;
    top: auto !important;
  }

  .sample-groups-cluster-tomorrow,
  .sample-board[data-board-mode="guest"] .sample-groups > .sample-groups-cluster-tomorrow {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 16px !important;
    grid-column: unset !important;
    grid-row: unset !important;
  }

  .sample-groups-cluster-top,
  .sample-board[data-board-mode="guest"] .sample-groups-cluster-top {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 16px !important;
  }

  .sample-group-life-below {
    width: 100% !important;
    flex: 0 0 auto !important;
    margin-top: 0 !important;
  }

  .sample-board[data-board-mode="guest"] .sample-groups > .sample-group:nth-child(1),
  .sample-board[data-board-mode="guest"] .sample-groups > .sample-group:nth-child(3),
  .sample-board[data-board-mode="guest"] .sample-groups > .sample-group-gap:not(.sample-group-gap-sm),
  .sample-board[data-board-mode="guest"] .sample-groups > .sample-floating-notes {
    grid-column: unset !important;
    grid-row: unset !important;
  }

  .sample-board[data-board-mode="guest"] .sample-floating-notes {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 12px !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    pointer-events: auto !important;
  }

  .sample-board[data-board-mode="guest"] .sample-floating-notes .sample-floating-note,
  .sample-floating-note {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .sample-board[data-board-mode="guest"] .sample-floating-notes .sample-floating-note[data-guest-float="2"] {
    margin-left: 0 !important;
  }

  .sample-board[data-mobile-stack="1"] .todo-live-board-root > .sample-group,
  .sample-board[data-mobile-stack="1"] .todo-live-board-root > .sample-floating-note {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .sample-free-draggable {
    width: 100% !important;
    max-width: 100% !important;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
  .info-shell {
    padding: 24px 18px;
  }
  #todoWelcomeModal .todo-welcome-footer {
    flex-direction: column;
    align-items: stretch;
  }
  #todoWelcomeModal .todo-welcome-footer-actions {
    width: 100%;
    margin-left: 0;
    justify-content: stretch;
  }
  #todoWelcomeModal .todo-welcome-footer-actions .info-primary-btn,
  #todoWelcomeModal .todo-welcome-footer-actions .info-secondary-btn {
    flex: 1 1 auto;
  }
}
