.data-board {
  display: grid;
  gap: 14px;
  min-width: 0;
  color: var(--text-primary);
}

.data-board__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.data-board__title {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.data-board__eyebrow {
  margin: 0;
  color: var(--text-tertiary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.data-board__title h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.24rem;
  line-height: 1.18;
}

.data-board__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.data-board__pill,
.data-board__button {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}

.data-board__button {
  background: var(--accent-primary);
  color: #fff;
  cursor: pointer;
}

.data-board__surface {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-database);
}

.data-board__table-wrap {
  overflow-x: auto;
}

.data-board__table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.data-board__table th,
.data-board__table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  vertical-align: top;
}

.data-board__table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface-muted);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
}

.data-board__table td {
  color: var(--text-primary);
  font-size: 0.9rem;
}

.data-board__cell-button,
.data-board__cell-input,
.data-board__cell-select {
  width: 100%;
  min-height: 30px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

.data-board__cell-button {
  padding: 4px 6px;
  cursor: text;
}

.data-board__cell-button:hover {
  background: var(--surface-hover);
  border-color: var(--border-subtle);
}

.data-board__cell-input,
.data-board__cell-select {
  padding: 4px 6px;
  background: #fff;
  border-color: var(--accent-primary);
  outline: 2px solid color-mix(in srgb, var(--accent-primary) 14%, transparent);
}

.data-board__table tr:last-child td {
  border-bottom: 0;
}

.data-board__row[tabindex="0"] {
  cursor: pointer;
}

.data-board__row[tabindex="0"]:hover td {
  background: var(--surface-hover);
}

.data-board__row--selected td {
  background: var(--surface-selected);
}

.data-board__row[tabindex="0"]:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: -2px;
}

.data-board__record-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--text-primary);
  font-weight: 700;
}

.data-board__muted {
  color: var(--text-tertiary);
}

.data-board__collection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  padding: 12px;
}

.data-board__item {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-database);
}

.data-board__item--gallery {
  padding: 0;
  overflow: hidden;
}

.data-board__item-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: var(--surface-hover);
  color: var(--text-tertiary);
  font-size: 0.86rem;
  font-weight: 600;
}

.data-board__item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.data-board__item-body {
  display: grid;
  gap: 7px;
  padding: 12px;
}

.data-board__item-title {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.25;
}

.data-board__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.data-board__label {
  flex: 0 0 auto;
  color: var(--text-tertiary);
  font-weight: 600;
}

.data-board__value {
  min-width: 0;
  overflow: hidden;
  color: var(--text-primary);
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-board__groups {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.data-board__group {
  display: grid;
  gap: 8px;
}

.data-board__group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 700;
}

.data-board__empty {
  margin: 0;
  padding: 18px;
  color: var(--text-tertiary);
  font-weight: 600;
  text-align: center;
}

@media (max-width: 700px) {
  .data-board__header {
    align-items: stretch;
    flex-direction: column;
  }

  .data-board__meta {
    justify-content: flex-start;
  }

  .data-board__table {
    min-width: 720px;
  }
}
.data-board__calendar {
  display: grid;
  gap: var(--space-2, 8px);
  padding: var(--space-2, 8px) var(--space-2, 8px) var(--space-3, 12px);
  min-width: 0;
}

.data-board__calendar-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
  padding: var(--space-1, 4px) var(--space-1, 4px) 0;
}

.data-board__calendar-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-default, rgba(25, 23, 21, 0.14));
  border-radius: 6px;
  background: var(--surface-canvas, #ffffff);
  color: var(--text-secondary, #5f5b55);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.data-board__calendar-nav:hover {
  background: var(--surface-hover, #f1f0ec);
  color: var(--text-primary, #191715);
}

.data-board__calendar-month {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #191715);
}

.data-board__calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--border-subtle, rgba(25, 23, 21, 0.08));
  border-left: 1px solid var(--border-subtle, rgba(25, 23, 21, 0.08));
  min-width: 0;
}

.data-board__calendar-weekday {
  padding: var(--space-1, 4px) var(--space-2, 8px);
  border-right: 1px solid var(--border-subtle, rgba(25, 23, 21, 0.08));
  border-bottom: 1px solid var(--border-subtle, rgba(25, 23, 21, 0.08));
  background: var(--surface-muted, #f7f6f3);
  color: var(--text-secondary, #5f5b55);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}

.data-board__calendar-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 84px;
  padding: var(--space-1, 4px);
  border-right: 1px solid var(--border-subtle, rgba(25, 23, 21, 0.08));
  border-bottom: 1px solid var(--border-subtle, rgba(25, 23, 21, 0.08));
  min-width: 0;
}

.data-board__calendar-cell--empty {
  background: var(--surface-muted, #f7f6f3);
}

.data-board__calendar-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary, #5f5b55);
}

.data-board__calendar-cell--today .data-board__calendar-day {
  background: var(--accent-primary, #ff443d);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
}

.data-board__calendar-events {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.data-board__calendar-event {
  padding: 2px var(--space-1, 4px);
  border-left: 2px solid var(--accent-primary, #ff443d);
  border-radius: 3px;
  background: var(--accent-soft, #fff0ef);
  color: var(--accent-text, #b42318);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-board__calendar-event[data-status="closed"],
.data-board__calendar-event[data-status="draft"] {
  background: var(--surface-muted, #f7f6f3);
  color: var(--text-tertiary, #948f88);
  border-left-color: var(--status-neutral, #667085);
}

@media (max-width: 700px) {
  .data-board__calendar-cell {
    min-height: 56px;
  }
}
.data-board__field-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.data-board__field-heading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
}

.data-board__field-name {
  overflow: hidden;
  color: var(--text-secondary);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-board__field-type {
  display: none;
}

.data-board__cell-option-shell {
  position: relative;
  display: inline-flex;
  min-width: 0;
}

.data-board__cell-select-trigger {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.data-board__cell-select-trigger:hover,
.data-board__cell-select-trigger[aria-expanded="true"] {
  border-color: var(--border-default);
  background: #fff;
}

.data-board__cell-select-trigger[data-color="green"],
.data-board__cell-menu button[data-color="green"] {
  background: #ecfdf3;
  color: #027a48;
}

.data-board__cell-select-trigger[data-color="blue"],
.data-board__cell-menu button[data-color="blue"] {
  background: color-mix(in srgb, var(--status-info) 10%, transparent);
  color: var(--status-info);
}

.data-board__cell-select-trigger[data-color="amber"],
.data-board__cell-menu button[data-color="amber"] {
  background: #fffaeb;
  color: #b54708;
}

.data-board__cell-select-trigger[data-color="gray"],
.data-board__cell-menu button[data-color="gray"] {
  background: #f4f4f5;
  color: #52525b;
}

.data-board__cell-select-trigger[data-color="purple"],
.data-board__cell-menu button[data-color="purple"] {
  background: #f5f3ff;
  color: #6d28d9;
}

.data-board__cell-select-trigger[data-color="pink"],
.data-board__cell-menu button[data-color="pink"] {
  background: #fdf2f8;
  color: #be185d;
}

.data-board__cell-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 3;
  display: grid;
  min-width: 128px;
  padding: 6px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgb(15 23 42 / 16%);
}

.data-board__cell-menu button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.data-board__cell-menu button + button {
  margin-top: 5px;
}

.data-board__cell-menu button[aria-pressed="true"] {
  border-color: currentColor;
}

.data-board__field-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background: #fff;
  color: var(--text-tertiary);
  font-size: 0.82rem;
  font-weight: 700;
}

.data-board__field-action:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.data-board__field-menu-shell {
  position: relative;
  margin-left: auto;
  flex: 0 0 auto;
}

.data-board__field-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 2;
  display: grid;
  min-width: 116px;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--border-default);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 16px 36px rgb(15 23 42 / 14%);
}

.data-board__field-menu button,
.data-board__add-property,
.data-board__add-row button {
  min-height: 30px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.data-board__field-menu button:hover,
.data-board__add-property:hover,
.data-board__add-row button:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.data-board__field-menu button:disabled {
  color: #98a2b3;
  cursor: not-allowed;
}

.data-board__utility-column,
.data-board__utility-cell {
  width: 136px;
  color: var(--text-tertiary);
}

.data-board__utility-column-col {
  width: 136px;
  min-width: 136px;
}

.data-board__row--pinned td {
  background: color-mix(in srgb, var(--accent-soft) 42%, #fff);
}

.data-board__row--pinned[tabindex="0"]:hover td {
  background: color-mix(in srgb, var(--accent-soft) 58%, #fff);
}

.data-board__pin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 0 6px;
  border: 1px solid color-mix(in srgb, var(--accent-primary) 28%, transparent);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.data-board__utility-heading {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--text-tertiary);
  font-size: 0.76rem;
  font-weight: 700;
}

.data-board__row-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background: #fff;
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.data-board__row-action:hover {
  border-color: var(--border-default);
  background: var(--surface-muted);
  color: var(--text-primary);
}

.data-board__group-row th {
  padding: 9px 12px;
  background: var(--surface-hover);
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.data-board__group-row th span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

.data-board__group-row th span:first-child {
  margin-right: 8px;
  font-weight: 700;
}

.data-board__group-row th span:last-child {
  min-width: 24px;
  justify-content: center;
  border: 1px solid var(--border-default);
  border-radius: 999px;
  background: #fff;
  color: var(--text-tertiary);
  font-size: 0.74rem;
  font-weight: 700;
}

.data-board__add-property {
  width: 100%;
  border-color: var(--border-default);
  background: #fff;
  white-space: nowrap;
}

.data-board__add-row td {
  padding: 8px 12px;
  background: var(--surface-muted);
}

.data-board__add-row button {
  display: inline-flex;
  align-items: center;
  min-width: 132px;
  padding: 0 10px;
  color: var(--text-secondary);
}

.data-board__table-wrap--compact .data-board__table th,
.data-board__table-wrap--compact .data-board__table td {
  padding: 8px 10px;
}
.data-board-shell {
  position: relative;
  display: grid;
  gap: 12px;
  min-width: 0;
  color: var(--text-primary);
}

.data-board-shell__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.data-board-shell__title {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.data-board-shell__eyebrow {
  margin: 0;
  color: var(--text-tertiary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.data-board-shell__title h1 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text-primary);
  font-size: 1.18rem;
  line-height: 1.2;
}

.data-board-shell__title-accessory {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.data-board-shell__title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--text-tertiary);
  font-size: 0.95em;
  line-height: 1;
}

.data-board-shell__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.data-board-shell__pill,
.data-board-shell__primary-action button,
.data-board-shell__tab,
.data-board-shell__toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid var(--border-default);
  border-radius: 7px;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.data-board-shell__pill {
  padding: 0 10px;
  background: var(--surface-muted);
  color: var(--text-secondary);
}

.data-board-shell__permission-note {
  color: var(--text-tertiary);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.data-board-shell__primary-action button {
  padding: 0 12px;
  background: var(--text-primary);
  color: #fff;
  cursor: pointer;
}

.data-board-shell__view-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.data-board-shell__view-cluster,
.data-board-shell__tabs,
.data-board-shell__tab-actions,
.data-board-shell__toolbar,
.data-board-shell__view-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.data-board-shell__view-cluster {
  flex: 1 1 auto;
}

.data-board-shell__tab-actions {
  flex: 0 0 auto;
}

.data-board-shell__view-actions {
  justify-content: flex-end;
  flex: 1 1 auto;
}

.data-board-shell__more {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.data-board-shell__tab,
.data-board-shell__toolbar button {
  gap: 6px;
  padding: 0 10px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}

.data-board-shell__tab-icon {
  display: inline-flex;
  align-items: center;
  color: var(--text-tertiary);
  font-size: 0.9em;
  line-height: 1;
}

.data-board-shell__tab[aria-pressed="true"] {
  border-color: var(--accent-primary);
  background: var(--accent-primary);
  color: #fff;
}

.data-board-shell__tab[aria-pressed="true"] .data-board-shell__tab-icon {
  color: currentColor;
}

.data-board-shell__more-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  display: grid;
  min-width: 144px;
  padding: 5px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgb(15 23 42 / 14%);
}

.data-board-shell__more-menu button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  padding: 0 9px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.data-board-shell__more-menu button:hover,
.data-board-shell__more-menu button[aria-pressed="true"] {
  background: var(--surface-muted);
  color: var(--text-primary);
}

.data-board-shell__toolbar button:hover,
.data-board-shell__tab:hover {
  background: var(--surface-muted);
}

.data-board-shell__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

.data-board-shell__body:not(:has(.data-board-shell__side-peek)) {
  grid-template-columns: minmax(0, 1fr);
}

.data-board-shell__surface {
  min-width: 0;
}

.data-board-shell__overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  justify-content: flex-end;
  padding: 72px 24px 24px;
  background: rgb(15 23 42 / 10%);
}

.data-board-shell__side-peek {
  width: min(420px, 100%);
  max-height: 100%;
  min-width: 0;
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 860px) {
  .data-board-shell__header,
  .data-board-shell__view-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .data-board-shell__meta,
  .data-board-shell__view-cluster,
  .data-board-shell__toolbar,
  .data-board-shell__view-actions {
    justify-content: flex-start;
  }

  .data-board-shell__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .data-board-shell__overlay {
    align-items: flex-end;
    padding: 56px 10px 10px;
  }

  .data-board-shell__side-peek {
    width: 100%;
    max-height: min(720px, calc(100dvh - 72px));
  }
}
.data-board-toolbar-stack {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.data-board-toolbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow-x: visible;
  overflow-y: visible;
  padding: 6px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: #fff;
}

.data-board-toolbar__leading {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.data-board-toolbar__search {
  display: flex;
  align-items: center;
  flex: 0 1 190px;
  min-width: 150px;
  max-width: 240px;
  min-height: 32px;
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background: #fff;
}

.data-board-toolbar__search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  color: var(--text-tertiary);
  font-size: 14px;
  line-height: 1;
}

.data-board-toolbar__search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.data-board-toolbar__search input {
  width: 100%;
  min-height: 30px;
  border: 0;
  border-left: 0;
  border-radius: 0;
  background: #fff;
  color: var(--text-primary);
  padding: 7px 9px;
  font: inherit;
  font-size: 14px;
}

.data-board-toolbar__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 32px;
  min-width: 32px;
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  flex: 0 0 auto;
}

.data-board-toolbar__button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: currentColor;
  font-size: 14px;
  line-height: 1;
}

.data-board-toolbar__button-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.data-board-toolbar__button:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.data-board-toolbar__button[aria-pressed="true"] {
  background: var(--text-primary);
  color: #fff;
}

.data-board-toolbar__chips {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.data-board-toolbar__chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--border-default);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

button.data-board-toolbar__chip {
  cursor: pointer;
}

button.data-board-toolbar__chip:hover {
  border-color: var(--border-default);
  background: var(--surface-hover);
}

@media (max-width: 700px) {
  .data-board-toolbar {
    align-items: stretch;
    flex-wrap: nowrap;
  }

  .data-board-toolbar__search {
    max-width: 190px;
  }
}
.schedule-control-surface {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.schedule-default-database {
  min-width: 0;
  margin-bottom: 18px;
}

.schedule-landing-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 18px;
  min-width: 0;
  margin-bottom: 10px;
  padding: 14px 18px;
  border: none;
  border-radius: 0;
  background: color-mix(in srgb, var(--surface-panel) 92%, var(--accent-soft));
  box-shadow: none;
}

.schedule-landing-intro__copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.schedule-landing-intro__eyebrow {
  margin: 0;
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.schedule-landing-intro h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
}

.schedule-landing-intro__description {
  max-width: 760px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.schedule-landing-intro__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(74px, 1fr));
  gap: 0;
  min-width: 284px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 7px;
  background: var(--surface-panel);
}

.schedule-landing-intro__stats div {
  display: grid;
  gap: 2px;
  padding: 9px 12px;
  border-left: 1px solid var(--border-subtle);
}

.schedule-landing-intro__stats div:first-child {
  border-left: 0;
}

.schedule-landing-intro__stats dt {
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.schedule-landing-intro__stats dd {
  margin: 0;
  color: var(--accent-text);
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.schedule-public-workspace {
  display: grid;
  min-width: 0;
}

.saved-view-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.saved-view-tabs,
.layout-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 4px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: var(--surface-muted);
}

.saved-view-tabs {
  flex: 1;
  overflow-x: auto;
  scrollbar-width: thin;
}

.saved-view-tabs button,
.layout-switch button,
.view-options-button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.saved-view-tabs button {
  padding: 0 14px;
}

.layout-switch button {
  min-width: 42px;
  padding: 0 10px;
}

.saved-view-tabs button:hover,
.layout-switch button:hover,
.view-options-button:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.saved-view-tabs button.active,
.layout-switch button.active,
.view-options-button.active {
  background: var(--surface-hover);
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px var(--border-default);
}

.schedule-toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.view-options-button {
  padding: 0 14px;
  border: 1px solid var(--border-default);
  background: #fff;
}

.view-options-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgb(15 23 42 / 8%);
}

.filter-panel.compact {
  display: grid;
  grid-template-columns: minmax(180px, 1.6fr) repeat(4, minmax(132px, 1fr));
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.filter-panel.compact .filter-field {
  min-width: 0;
}

.filter-panel.compact input,
.filter-panel.compact select {
  min-height: 38px;
}

.schedule-side-peek-topbar {
  display: flex;
  justify-content: flex-end;
  min-height: 30px;
  margin-bottom: 6px;
}

.schedule-side-peek-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background: #fff;
  color: var(--text-secondary);
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.schedule-side-peek-close:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

@media (max-width: 900px) {
  .schedule-landing-intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .schedule-landing-intro__stats {
    width: 100%;
    min-width: 0;
  }

  .saved-view-row {
    align-items: stretch;
    flex-direction: column;
  }

  .schedule-toolbar-actions {
    justify-content: space-between;
    width: 100%;
  }

  .filter-panel.compact {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .schedule-landing-intro {
    padding: 12px 14px;
  }

  .schedule-landing-intro h1 {
    font-size: 21px;
  }

  .schedule-landing-intro__description {
    font-size: 13px;
  }

  .schedule-landing-intro__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .schedule-landing-intro__stats div {
    padding: 8px 9px;
  }

  .schedule-toolbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .layout-switch,
  .view-options-button {
    width: 100%;
  }

  .layout-switch button {
    flex: 1;
  }

  .filter-panel.compact {
    grid-template-columns: 1fr;
  }
}
:root {
  color: #171a22;
  background: #f4f6f8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  word-break: keep-all;
  background: #fff;
}

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background: #fff;
}

.topbar {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  border-bottom: 1px solid var(--border-default);
  background: var(--surface-panel);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand strong {
  color: #ff443d;
}

.brand span {
  color: #171a22;
}

.topnav {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  gap: 26px;
  height: 76px;
}

.topnav a,
.topnav button {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  color: #171a22;
  font-weight: 700;
  border-bottom: 3px solid transparent;
  cursor: pointer;
}

.topnav a.active {
  color: #ff443d;
  border-bottom-color: #ff443d;
}

.topbar-cta,
.primary-action {
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: linear-gradient(135deg, #ff3f3a 0%, #ff5f4c 100%);
  box-shadow: 0 12px 24px rgba(255, 68, 61, 0.22);
  font-weight: 700;
  cursor: pointer;
}

/* Theme toggle button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: var(--surface-panel);
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  transition:
    background 120ms ease-out,
    border-color 120ms ease-out;
}

.theme-toggle:hover {
  background: var(--surface-hover);
  border-color: var(--accent-primary);
}

.topbar-cta {
  padding: 14px 26px;
}

.workspace-frame {
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr);
  min-height: calc(100vh - 76px);
}

.sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  align-self: start;
  min-height: calc(100vh - 76px);
  padding: 22px;
  border-right: 1px solid #e3e7ec;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
}

.side-menu {
  display: grid;
  gap: 8px;
}

.side-menu a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 16px;
  border-radius: 5px;
  color: #252a33;
  font-size: 17px;
  font-weight: 700;
}

.side-menu a.active {
  color: #ff443d;
  background: #fff0ef;
}

.side-menu span {
  width: 24px;
  color: currentColor;
  font-size: 22px;
  text-align: center;
}

.layout-grid {
  display: block;
  min-width: 0;
}

.schedule-panel,
.auth-panel {
  min-width: 0;
  background: #fff;
}

.schedule-panel {
  padding: 34px 64px 44px 44px;
}

.school-board {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 8px 64px 54px 44px;
  background: #fff;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-heading h2 {
  margin: 0;
  color: #10131a;
  font-size: 28px;
  line-height: 1.2;
}

.auth-panel {
  padding: 0;
}

.schedule-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.schedule-heading h1,
.auth-panel h2 {
  margin: 0;
  color: #10131a;
  letter-spacing: 0;
}

.schedule-heading h1 {
  font-size: 42px;
  line-height: 1.1;
}

.auth-summary,
.auth-notice {
  color: #606a78;
  line-height: 1.65;
}

.result-count {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3f5f7;
  color: #495261;
  font-weight: 700;
}

.schedule-board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.schedule-board-layout.has-detail {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
}

.schedule-board-main {
  min-width: 0;
}

.schedule-data-board-toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin: -6px 0 18px;
}

.schedule-data-board-preview {
  margin-bottom: 26px;
}

.schedule-admin-board {
  display: grid;
  gap: 16px;
  margin: 0 0 30px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.schedule-admin-board-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px 0;
}

.schedule-admin-board-header h2 {
  margin: 0;
  color: #10131a;
  font-size: 24px;
  line-height: 1.18;
}

.schedule-admin-count {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface-hover);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.schedule-admin-workspace {
  display: grid;
  grid-template-columns: minmax(620px, 1fr) minmax(280px, 320px);
  align-items: stretch;
  min-height: 680px;
  border-top: 1px solid var(--border-subtle);
}

.schedule-admin-main {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0;
  min-width: 0;
  border-right: 1px solid var(--border-subtle);
}

.schedule-admin-board > .data-board-shell {
  min-height: 680px;
  gap: 8px;
  padding: 16px 16px 0;
}

.schedule-admin-board .data-board-shell__header {
  align-items: center;
  gap: 14px;
}

.schedule-admin-board .data-board-shell__title {
  gap: 3px;
}

.schedule-admin-board .data-board-shell__eyebrow {
  font-size: 11px;
}

.schedule-admin-board .data-board-shell__title h1 {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
}

.schedule-admin-board .data-board-shell__title-icon {
  color: var(--text-tertiary);
  font-size: 17px;
}

.schedule-admin-board .data-board-shell__meta {
  gap: 5px;
}

.schedule-admin-board .data-board-shell__pill {
  min-height: 24px;
  padding: 0 7px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 600;
}

.schedule-admin-board .data-board-shell__primary-action button {
  min-height: 32px;
  border-color: #2383e2;
  border-radius: 5px;
  background: #2383e2;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 1px 0 rgb(0 0 0 / 8%);
}

.schedule-admin-board .data-board-shell__view-bar {
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 4px 0 8px;
  border-bottom-color: var(--border-subtle);
}

.schedule-admin-board .data-board-shell__tabs {
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: 3px;
  overflow-x: auto;
  scrollbar-width: none;
}

.schedule-admin-board .data-board-shell__tabs::-webkit-scrollbar {
  display: none;
}

.schedule-admin-board .data-board-shell__tab {
  gap: 6px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.schedule-admin-board .data-board-shell__tab[aria-pressed="true"] {
  background: #f1f3f4;
  color: var(--text-primary);
}

.schedule-admin-board .data-board-shell__tab-icon {
  display: none;
  color: #73777f;
  font-size: 12px;
}

.schedule-admin-board .data-board-shell__view-actions {
  gap: 6px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.schedule-admin-board .data-board-toolbar-stack {
  gap: 6px;
}

.schedule-admin-board .data-board-toolbar {
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 2px;
  padding: 0;
  border: 0;
  background: transparent;
}

.schedule-admin-board .data-board-toolbar__search {
  flex: 0 1 148px;
  min-width: 132px;
  min-height: 30px;
  border-color: var(--border-subtle);
  border-radius: 5px;
  background: #fff;
}

.schedule-admin-board .data-board-toolbar__search-icon {
  display: inline-flex;
  width: 28px;
  color: var(--text-secondary);
  font-size: 13px;
}

.schedule-admin-board .data-board-toolbar__search-label,
.schedule-admin-board .data-board-toolbar__button-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.schedule-admin-board .data-board-toolbar__search input {
  min-height: 28px;
  border-left: 0;
  padding: 5px 8px 5px 0;
  font-size: 13px;
}

.schedule-admin-board .data-board-toolbar__button {
  width: 30px;
  min-width: 30px;
  min-height: 30px;
  border: 0;
  border-radius: 5px;
  padding: 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.schedule-admin-board .layout-switch.compact {
  min-height: 0;
  gap: 2px;
  padding: 2px;
  border: 0;
  border-radius: 5px;
  background: transparent;
}

.schedule-admin-board .layout-switch.compact button {
  min-width: 0;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.schedule-admin-board .data-board-toolbar__chip {
  min-height: 24px;
  border-radius: 5px;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 700;
}

.schedule-admin-board .data-board-shell__toolbar {
  flex: 0 1 auto;
  justify-content: flex-end;
}

.schedule-admin-board .data-board-shell__body {
  min-height: 560px;
}

.schedule-admin-toolbar-shell {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-muted);
}

.schedule-admin-board .data-board-shell__toolbar .schedule-admin-toolbar-shell {
  padding: 0;
  border: 0;
  background: transparent;
}

.schedule-admin-view-tabs,
.schedule-admin-toolbar {
  display: flex;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: #fff;
}

.schedule-admin-view-tabs {
  gap: 4px;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: thin;
}

.schedule-admin-toolbar {
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
}

.schedule-admin-view-tabs button,
.schedule-admin-toolbar button {
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  padding: 0 11px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.schedule-admin-view-tabs button:hover,
.schedule-admin-toolbar button:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.schedule-admin-view-tabs button.active,
.schedule-admin-toolbar button.active,
.schedule-admin-view-tabs button[aria-selected="true"],
.schedule-admin-toolbar button[aria-pressed="true"] {
  background: var(--text-primary);
  color: #fff;
}

.schedule-admin-search {
  display: flex;
  align-items: center;
  flex: 1 1 190px;
  min-width: 170px;
  max-width: 320px;
  min-height: 32px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.schedule-admin-search span {
  flex: 0 0 auto;
  padding: 0 8px 0 10px;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 700;
}

.schedule-admin-toolbar input,
.schedule-admin-toolbar-panel input,
.schedule-admin-toolbar-panel select {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background: #fff;
  color: var(--text-primary);
  padding: 7px 9px;
  font: inherit;
  font-size: 14px;
}

.schedule-admin-search input {
  min-height: 30px;
  border: 0;
  border-left: 1px solid var(--border-subtle);
  border-radius: 0;
}

.schedule-admin-toolbar-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgb(15 23 42 / 8%);
}

.schedule-admin-toolbar-panel label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.schedule-admin-toolbar-panel.properties {
  grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
}

.schedule-admin-toolbar-panel.properties label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
}

.schedule-admin-toolbar-panel.properties input {
  width: auto;
  min-height: 0;
}

.schedule-admin-toolbar-panel.layout {
  min-width: 220px;
  grid-template-columns: 1fr;
}

.schedule-admin-layout-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(58px, 1fr));
  gap: 6px;
}

.schedule-admin-layout-options button {
  min-height: 34px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background: #fff;
  color: var(--text-secondary);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.schedule-admin-layout-options button:hover,
.schedule-admin-layout-options button.active,
.schedule-admin-layout-options button[aria-pressed="true"] {
  border-color: var(--border-default);
  background: var(--surface-hover);
  color: var(--text-primary);
}

.schedule-admin-board .data-board__header {
  display: flex;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.schedule-admin-board .data-board__meta {
  justify-content: flex-end;
}

.schedule-admin-board .data-board {
  height: 100%;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.schedule-admin-board .data-board__surface {
  padding: 0;
  overflow: auto;
}

.schedule-admin-board .data-board__table {
  border: 0;
  border-radius: 0;
}

.schedule-admin-board .data-board__table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface-muted);
}

.schedule-admin-board .data-board__table th,
.schedule-admin-board .data-board__table td {
  padding: 10px 12px;
  border-right: 1px solid var(--border-subtle);
}

.schedule-admin-board .data-board__table th:last-child,
.schedule-admin-board .data-board__table td:last-child {
  border-right: 0;
}

.schedule-admin-inspector {
  position: sticky;
  top: 0;
  min-width: 0;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: var(--surface-muted);
}

.schedule-side-peek-header {
  display: grid;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.schedule-side-peek-header h3 {
  margin: 0;
  color: #10131a;
  font-size: 19px;
  line-height: 1.25;
}

.schedule-side-peek-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.schedule-side-peek-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid var(--border-default);
  border-radius: 999px;
  background: #fff;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.schedule-side-peek-section {
  display: grid;
  gap: 9px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.schedule-side-peek-section h4 {
  margin: 0;
  color: #10131a;
  font-size: 14px;
}

.schedule-side-peek-properties {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.schedule-side-peek-properties div {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: #fff;
}

.schedule-side-peek-properties dt {
  margin: 0 0 4px;
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 700;
}

.schedule-side-peek-properties dd {
  margin: 0;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.schedule-side-peek-checklist {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule-side-peek-checklist li {
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: #fff;
  color: var(--text-secondary);
  font-size: 13px;
}

.schedule-side-peek-muted {
  margin: 0;
  color: var(--text-tertiary);
  font-size: 13px;
}

.schedule-admin-empty {
  display: grid;
  gap: 10px;
  min-height: 160px;
  align-content: center;
  color: var(--text-tertiary);
  text-align: center;
}

.schedule-admin-empty strong {
  color: var(--text-primary);
  font-size: 15px;
}

.schedule-admin-danger-zone,
.schedule-admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.schedule-admin-danger-zone {
  min-inline-size: 0;
  margin-top: 12px;
  padding-top: 12px;
  border: 0;
  border-top: 1px solid var(--border-subtle);
}

.schedule-admin-form-actions {
  justify-content: flex-end;
}

.schedule-admin-form .secondary-button {
  border: 1px solid var(--border-default);
  background: #fff;
  color: var(--text-secondary);
}

.danger-button {
  min-height: 38px;
  border: 1px solid #fecaca;
  border-radius: 6px;
  background: #fff5f5;
  color: #b42318;
  padding: 0 12px;
  font-weight: 700;
  cursor: pointer;
}

.danger-button.confirm {
  background: #b42318;
  color: #fff;
}

.board-switch,
.quick-filter-strip {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding: 4px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background: var(--surface-muted);
}

.board-switch button,
.quick-filter-strip button {
  min-height: 36px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #4b5565;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}

.board-switch .active,
.quick-filter-strip .active {
  background: #10131a;
  color: #fff;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.12);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(140px, 0.7fr) minmax(140px, 0.7fr);
  gap: 12px;
  margin-bottom: 18px;
}

.view-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.view-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background: var(--surface-muted);
}

.view-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #4b5565;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
}

.view-tabs .active {
  background: #fff;
  color: #ff443d;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
}

.view-group-field {
  display: grid;
  gap: 8px;
  min-width: 180px;
}

.view-group-field label {
  color: #161a22;
  font-size: 14px;
  font-weight: 700;
}

.view-toolbar select {
  min-height: 42px;
  border: 1px solid var(--border-default);
  border-radius: 5px;
  background: #fff;
  color: #252a33;
  padding: 0 14px;
}

.filter-field,
.auth-form label {
  display: grid;
  gap: 8px;
}

.filter-field label,
.auth-form label {
  color: #161a22;
  font-size: 14px;
  font-weight: 700;
}

.filter-panel input,
.filter-panel select,
.auth-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border-default);
  border-radius: 5px;
  background: #fff;
  color: #252a33;
  padding: 0 14px;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.filter-panel input:focus,
.filter-panel select:focus,
.auth-form input:focus {
  border-color: #ff443d;
  box-shadow: 0 0 0 3px rgba(255, 68, 61, 0.12);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}

.auth-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 24px 0;
}

.category-tabs button,
.auth-mode-tabs button {
  min-height: 46px;
  border: 1px solid var(--border-default);
  border-radius: 5px;
  background: #fff;
  color: #252a33;
  padding: 0 22px;
  font-weight: 700;
  cursor: pointer;
}

.category-tabs .active,
.auth-mode-tabs .active {
  border-color: #ff443d;
  background: #ff443d;
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 68, 61, 0.18);
}

.schedule-grid {
  display: grid;
  gap: 28px;
}

.schedule-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.schedule-grid h3 {
  margin: 0 0 8px;
  color: #10131a;
  font-size: 18px;
}

.schedule-group-header h3 {
  margin: 0;
}

.schedule-group-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.schedule-group-actions span {
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 700;
}

.schedule-group-actions button {
  min-height: 30px;
  border: 1px solid var(--border-default);
  border-radius: 5px;
  background: #fff;
  color: #394150;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.schedule-group.collapsed {
  padding-bottom: 10px;
}

.view-name {
  margin: 0 0 10px;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 700;
}

.schedule-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid #d7dde5;
  list-style: none;
}

.schedule-list li {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) 90px minmax(160px, 0.65fr) 140px;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  border-bottom: 1px solid var(--border-subtle);
  color: #252a33;
}

.schedule-board-layout.has-detail .schedule-list li {
  grid-template-columns: minmax(0, 1fr) minmax(104px, 0.5fr) 104px;
  gap: 12px;
}

.schedule-main-cell,
.schedule-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.schedule-title-button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: #171a22;
  padding: 0;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  word-break: keep-all;
  cursor: pointer;
}

.schedule-title-button:hover,
.calendar-chip button:hover {
  color: #ff443d;
}

.schedule-admin-board .data-board-toolbar__button:hover,
.schedule-admin-board .layout-switch.compact button:hover {
  background: #f1f3f4;
  color: var(--text-primary);
}

.schedule-admin-board .data-board-toolbar__button[aria-pressed="true"] {
  background: #e8f2ff;
  color: #2383e2;
}

.schedule-admin-board .layout-switch.compact button.active,
.schedule-admin-board .layout-switch.compact button[aria-pressed="true"] {
  background: #f1f3f4;
  color: var(--text-primary);
}

.schedule-list strong,
.schedule-title-button {
  display: block;
  color: #171a22;
  font-size: 16px;
  word-break: keep-all;
}

.schedule-list p {
  margin: 6px 0 0;
  color: #687384;
  font-size: 13px;
}

.schedule-list span:not(.status-pill),
.schedule-list time {
  color: #444d5c;
  font-size: 14px;
}

.status-pill {
  justify-self: start;
  min-width: 60px;
  padding: 7px 10px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

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

.deadline-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 29px;
  border-radius: 5px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
}

.deadline-badge.open {
  color: #23634b;
  background: #e7f5ee;
}

.deadline-badge.urgent {
  color: #b42318;
  background: #fff0ef;
}

.deadline-badge.closed {
  color: var(--text-tertiary);
  background: #eef1f4;
}

.icon-button {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid #d6dde6;
  border-radius: 5px;
  background: #fff;
  color: #4b5565;
  font-weight: 700;
  cursor: pointer;
}

.icon-button.favorite.active,
.detail-favorite.active {
  border-color: #ff443d;
  background: #fff0ef;
  color: #c72d27;
}

.status-pill.open {
  color: #0b8c42;
  background: #dcf7e7;
}

.status-pill.upcoming {
  color: #156fc7;
  background: #e9f3ff;
}

.status-pill.closed {
  color: #e15d11;
  background: #fff0df;
}

.schedule-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.schedule-card {
  display: grid;
  min-height: 150px;
  align-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid #dfe5ec;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(16, 24, 40, 0.06);
}

.schedule-card strong {
  display: block;
  margin-bottom: 10px;
  color: #10131a;
  line-height: 1.45;
}

.schedule-card .schedule-title-button {
  font-size: 15px;
}

.schedule-card p {
  margin: 0;
  color: #5d6878;
  font-size: 14px;
}

.schedule-card-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #4b5565;
  font-size: 13px;
  font-weight: 700;
}

.calendar-view h4 {
  margin: 0 0 12px;
  color: #10131a;
  font-size: 18px;
}

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

.calendar-weekdays span {
  padding: 9px 8px;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.calendar-grid {
  border-top: 1px solid #dbe2ea;
  border-left: 1px solid #dbe2ea;
}

.calendar-cell {
  min-height: 92px;
  padding: 9px;
  border-right: 1px solid #dbe2ea;
  border-bottom: 1px solid #dbe2ea;
  background: #fff;
}

.calendar-cell.muted {
  background: var(--surface-muted);
  color: #a0a8b3;
}

.calendar-cell time {
  display: block;
  margin-bottom: 8px;
  color: #394150;
  font-size: 13px;
  font-weight: 700;
}

.schedule-board-layout.has-detail .schedule-list time {
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.schedule-board-layout.has-detail .schedule-list li > span:not(.status-pill) {
  display: none;
}

.schedule-board-layout.has-detail .schedule-state-cell {
  flex-wrap: wrap;
  gap: 6px;
}

.schedule-board-layout.has-detail .deadline-badge,
.schedule-board-layout.has-detail .status-pill {
  min-width: 48px;
}

.calendar-chip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: #fff0ef;
  color: #c72d27;
  padding: 4px 5px;
}

.calendar-chip button {
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.calendar-chip .deadline-badge {
  min-width: 44px;
  min-height: 22px;
  padding: 0 5px;
  font-size: 10px;
}

.calendar-chip .icon-button {
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  color: inherit;
}

.empty-state {
  margin: 18px 0;
  padding: 20px;
  border: 1px dashed var(--border-default);
  border-radius: 6px;
  background: #fbfcfd;
  color: #5d6878;
  font-weight: 700;
}

.schedule-detail-panel {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid #dfe5ec;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.1);
}

.schedule-detail-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.schedule-detail-header h2 {
  margin: 0;
  color: #10131a;
  font-size: 24px;
}

.detail-kicker {
  margin: 0 0 6px;
  color: #ff443d;
  font-size: 13px;
  font-weight: 700;
}

.detail-title {
  color: #10131a;
  font-size: 19px;
  line-height: 1.45;
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-definition {
  display: grid;
  gap: 10px;
  margin: 0;
}

.detail-definition div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
}

.detail-definition dt {
  color: var(--text-tertiary);
  font-weight: 700;
}

.detail-definition dd {
  margin: 0;
  color: #252a33;
}

.detail-checklist {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.detail-checklist h3 {
  margin: 0;
  font-size: 16px;
}

.detail-checklist ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-checklist li {
  position: relative;
  padding-left: 22px;
  color: #394150;
  line-height: 1.5;
}

.detail-checklist li::before {
  position: absolute;
  left: 0;
  color: #ff443d;
  content: "✓";
  font-weight: 700;
}

.detail-favorite {
  min-height: 42px;
  border: 1px solid var(--border-default);
  border-radius: 5px;
  background: #10131a;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.schedule-admin-form {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.schedule-admin-form h3 {
  margin: 0;
  color: #10131a;
  font-size: 16px;
}

.schedule-admin-form label {
  color: #394150;
  font-size: 13px;
  font-weight: 700;
}

.schedule-admin-form input,
.schedule-admin-form select,
.schedule-admin-form textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--border-default);
  border-radius: 5px;
  background: #fff;
  color: #252a33;
  padding: 8px 10px;
  outline: none;
}

.schedule-admin-form textarea {
  resize: vertical;
  line-height: 1.45;
}

.schedule-admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.schedule-admin-form-grid > div {
  display: grid;
  gap: 6px;
}

.schedule-admin-form button {
  min-height: 40px;
  border: 0;
  border-radius: 5px;
  background: #ff443d;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.schedule-admin-form [role="status"] {
  margin: 0;
  color: #0b8c42;
  font-size: 13px;
  font-weight: 700;
}

.schedule-admin-form [role="alert"],
.schedule-admin-empty [role="status"] {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.schedule-admin-form [role="alert"] {
  color: #b42318;
}

.schedule-admin-empty [role="status"] {
  color: #0b8c42;
}

.auth-panel h2 {
  font-size: 28px;
  line-height: 1.2;
}

.auth-summary {
  margin: 14px 0 0;
}

.auth-notice {
  margin: 0;
  padding: 12px 14px;
  border-radius: 5px;
  background: var(--surface-muted);
  font-size: 13px;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-provider-actions {
  display: grid;
  margin: 18px 0 16px;
}

.secondary-action {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  background: var(--surface-panel);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.secondary-action:hover {
  border-color: var(--accent-primary);
  background: var(--surface-muted);
}

.auth-form p[id$="-error"],
.auth-panel [role="status"] {
  margin: 0;
  color: #c72d27;
  font-size: 13px;
  font-weight: 700;
}

.primary-action {
  width: 100%;
  min-height: 54px;
  margin-top: 8px;
  font-size: 18px;
}

.member-card {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  background: #fbfcfd;
}

.member-card p {
  margin: 0;
  color: #252a33;
  line-height: 1.5;
}

.auth-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  justify-items: end;
  background: rgba(16, 19, 26, 0.26);
  backdrop-filter: blur(6px);
}

.auth-dialog {
  position: relative;
  width: min(392px, 100vw);
  min-height: 100vh;
  padding: 56px 38px 38px;
  background: #fff;
  box-shadow: -28px 0 70px rgba(16, 24, 40, 0.18);
  overflow-y: auto;
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid #d7dde5;
  border-radius: 999px;
  background: #fff;
  color: #252a33;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .app-shell {
    width: 100%;
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }

  .topnav {
    justify-content: flex-start;
    height: auto;
  }

  .workspace-frame,
  .layout-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #e3e7ec;
  }

  .side-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .auth-panel {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .app-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .brand {
    font-size: 22px;
  }

  .topnav {
    gap: 18px;
    overflow-x: auto;
  }

  .topbar-cta {
    width: 100%;
    text-align: center;
  }

  .sidebar {
    padding: 14px;
  }

  .side-menu {
    grid-template-columns: 1fr 1fr;
  }

  .side-menu a {
    min-height: 48px;
    font-size: 14px;
  }

  .schedule-panel {
    padding: 26px 18px;
  }

  .school-board {
    padding: 22px 18px 40px;
  }

  .section-heading {
    display: grid;
    align-items: start;
    gap: 12px;
  }

  .school-board .saved-view-tabs {
    width: 100%;
    max-width: 100%;
  }

  .school-board .saved-view-tabs button {
    flex: 0 0 auto;
  }

  .auth-panel {
    padding: 0;
  }

  .auth-dialog {
    width: 100vw;
    padding: 56px 18px 26px;
  }

  .schedule-heading {
    display: grid;
    align-items: start;
  }

  .schedule-heading h1 {
    font-size: 34px;
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .view-toolbar {
    display: grid;
    align-items: stretch;
  }

  .schedule-board-layout.has-detail {
    grid-template-columns: 1fr;
  }

  .schedule-admin-workspace {
    grid-template-columns: 1fr;
  }

  .schedule-admin-inspector {
    position: static;
  }

  .schedule-admin-board .data-board-shell__view-bar {
    gap: 10px;
  }

  .schedule-admin-board .data-board-shell__tabs,
  .schedule-admin-board .data-board-shell__view-actions {
    width: 100%;
    max-width: 100%;
  }

  .schedule-admin-board .data-board-shell__tabs {
    flex: 0 1 auto;
  }

  .schedule-admin-board .data-board-shell__view-actions,
  .schedule-admin-board .data-board-toolbar {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .schedule-admin-board .data-board-shell__toolbar {
    flex: 1 1 auto;
    width: 100%;
    justify-content: stretch;
  }

  .schedule-admin-toolbar {
    align-items: stretch;
  }

  .schedule-admin-search {
    flex-basis: 100%;
    min-width: 0;
    max-width: none;
  }

  .schedule-admin-form-grid,
  .schedule-side-peek-properties {
    grid-template-columns: minmax(0, 1fr);
  }

  .schedule-admin-form-actions {
    justify-content: stretch;
  }

  .schedule-admin-form-actions button,
  .schedule-admin-danger-zone button {
    width: 100%;
  }

  .view-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .schedule-list li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 15px 0;
  }

  .schedule-state-cell {
    flex-wrap: wrap;
  }

  .calendar-chip {
    grid-template-columns: minmax(0, 1fr);
  }

  .calendar-chip .deadline-badge,
  .calendar-chip .icon-button {
    display: none;
  }

  .schedule-detail-panel {
    position: static;
  }

  .auth-panel h2 {
    font-size: 24px;
  }

  .calendar-cell {
    min-height: 74px;
    padding: 6px;
  }

  .calendar-cell p {
    font-size: 11px;
  }
}

:root {
  --surface-canvas: #fbfaf8;
  --surface-sidebar: #fbfaf8;
  --surface-panel: #ffffff;
  --surface-muted: #f7f6f3;
  --surface-hover: #f1f0ec;
  --surface-selected: #fff1f0;
  --text-primary: #191715;
  --text-secondary: #5f5b55;
  --text-tertiary: #948f88;
  --border-default: rgba(25, 23, 21, 0.14);
  --border-subtle: rgba(25, 23, 21, 0.08);
  --accent-primary: #ff443d;
  --accent-soft: #fff0ef;
  --accent-text: #b42318;
  --status-open-bg: #edf3ec;
  --status-open-text: #346538;
  --status-upcoming-bg: #f2f9ff;
  --status-upcoming-text: #1f6c9f;
  --status-closed-bg: #fbf3db;
  --status-closed-text: #956400;
  --surface-database: #ffffff;
  --status-success: #027a48;
  --status-warning: #b54708;
  --status-info: #2563eb;
  --status-neutral: var(--text-tertiary);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --radius-sm: 6px;
  --radius-md: 8px;
}

/* Dark theme — DESIGN.md Dark 컬럼 기준 */
[data-theme="dark"] {
  --surface-canvas: #12100f;
  --surface-sidebar: #191715;
  --surface-panel: #171514;
  --surface-muted: #23211f;
  --surface-hover: #2a2724;
  --surface-selected: #3a211f;
  --text-primary: #f7f3ef;
  --text-secondary: #c8c1b8;
  --text-tertiary: #8d847a;
  --border-default: rgba(247, 243, 239, 0.16);
  --border-subtle: rgba(247, 243, 239, 0.1);
  --accent-primary: #ff6a64;
  --accent-soft: #3a211f;
  --accent-text: #ffb4af;
  --status-open-bg: #1a2e1a;
  --status-open-text: #32d583;
  --status-upcoming-bg: #1a2433;
  --status-upcoming-text: #84adff;
  --status-closed-bg: #2a2010;
  --status-closed-text: #fdb022;
  --surface-database: #171514;
  --status-success: #32d583;
  --status-warning: #fdb022;
  --status-info: #84adff;
}

[data-theme="dark"] body {
  background: var(--surface-canvas);
  color: var(--text-primary);
}

body {
  color: var(--text-primary);
  background: var(--surface-canvas);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
tr[tabindex="0"]:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent-primary) 72%, transparent);
  outline-offset: 2px;
}

.app-shell {
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--surface-canvas);
}

.topbar {
  min-height: 56px;
  grid-template-columns: minmax(210px, 260px) minmax(0, 1fr) auto auto;
  gap: 16px;
  padding: 0 18px;
  border-bottom-color: var(--border-subtle);
  background: color-mix(in srgb, var(--surface-panel) 94%, transparent);
}

.brand {
  gap: 6px;
  font-size: 20px;
  font-weight: 700;
}

.brand strong {
  color: var(--accent-text);
}

.brand span,
.topnav a,
.topnav button {
  color: var(--text-secondary);
}

.topnav {
  height: 56px;
  gap: 18px;
}

.topnav a,
.topnav button {
  font-size: 14px;
  font-weight: 600;
}

.topnav a.active {
  color: var(--accent-text);
  border-bottom-color: var(--accent-primary);
}

.topbar-cta,
.primary-action {
  border-radius: 5px;
  background: var(--accent-primary);
  box-shadow: none;
}

.topbar-cta {
  min-height: 34px;
  padding: 0 14px;
  font-size: 14px;
}

.workspace-frame {
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: calc(100dvh - 56px);
}

.sidebar {
  justify-content: flex-start;
  min-height: calc(100dvh - 56px);
  padding: 14px 10px;
  border-right-color: var(--border-subtle);
  background: var(--surface-sidebar);
}

.side-menu {
  gap: 2px;
}

.side-menu a {
  position: relative;
  gap: 10px;
  min-height: 36px;
  padding: 0 10px 0 14px;
  border-radius: 4px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition:
    background-color 120ms ease,
    color 120ms ease;
}

.side-menu a:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.side-menu a.active {
  color: var(--accent-text);
  background: var(--accent-soft);
}

.side-menu a.active::before {
  position: absolute;
  inset-block: 7px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--accent-primary);
  content: "";
}

.side-menu-icon,
.app-shell .data-board-shell__title-icon,
.app-shell .data-board-shell__tab-icon,
.app-shell .data-board-toolbar__search-icon,
.app-shell .data-board-toolbar__button-icon {
  width: 16px;
  height: 16px;
  color: currentColor;
}

.side-menu-icon {
  flex: 0 0 16px;
}

.side-menu-icon svg,
.data-board-shell__title-icon svg,
.data-board-shell__tab-icon svg,
.data-board-toolbar__search-icon svg,
.data-board-toolbar__button-icon svg,
.data-board__field-action svg,
.schedule-side-peek-close svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.schedule-panel {
  padding: 8px 28px 32px;
  background: var(--surface-panel);
}

.schedule-heading {
  align-items: center;
  margin-bottom: 14px;
}

.schedule-heading h1 {
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}

.result-count {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 500;
}

.schedule-admin-board {
  gap: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  background: var(--surface-panel);
  box-shadow: none;
}

.schedule-admin-board > .data-board-shell {
  min-height: calc(100dvh - 132px);
  padding: 14px 0 0;
}

.schedule-admin-board .data-board-shell__header {
  align-items: center;
  padding: 0 18px;
}

.schedule-admin-board .data-board-shell__eyebrow {
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 500;
  text-transform: none;
}

.schedule-admin-board .data-board-shell__title h1 {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
}

.schedule-admin-board .data-board-shell__title-accessory {
  gap: 6px;
}

.schedule-board-title-edit-button,
.schedule-board-add-view-button,
.schedule-board-view-settings__trigger,
.schedule-board-title-editor button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--text-secondary);
  padding: 0 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.schedule-board-title-edit-button:hover,
.schedule-board-add-view-button:hover,
.schedule-board-view-settings__trigger:hover,
.schedule-board-title-editor button:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.schedule-board-title-editor {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.schedule-board-title-editor input {
  width: min(240px, 42vw);
  min-height: 30px;
  border: 1px solid var(--border-default);
  border-radius: 5px;
  background: var(--surface-panel);
  color: var(--text-primary);
  padding: 5px 8px;
  font: inherit;
  font-size: 13px;
}

.schedule-board-add-view-button {
  border: 1px solid var(--border-subtle);
  background: var(--surface-panel);
}

.schedule-board-view-settings {
  position: relative;
}

.schedule-board-view-settings__trigger {
  width: 30px;
  min-width: 30px;
  padding: 0;
}

.schedule-board-view-settings__trigger[aria-expanded="true"] {
  background: var(--accent-soft);
  color: var(--accent-text);
}

.schedule-board-view-settings__panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  right: 0;
  width: min(320px, calc(100vw - 36px));
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: var(--surface-panel);
  box-shadow: 0 18px 42px rgb(17 24 39 / 14%);
  padding: 6px;
}
.schedule-board-view-settings__section {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--border-subtle);
}

.schedule-board-view-settings__section-title {
  margin: 0 0 2px;
  padding: 4px 8px;
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 600;
}

.schedule-board-view-settings__list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule-board-view-settings__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border-radius: 5px;
  padding: 4px 5px;
}

.schedule-board-view-settings__item:hover {
  background: var(--surface-hover);
}

.schedule-board-view-settings__check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
}

.schedule-board-view-settings__check span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-board-view-settings__controls {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.schedule-board-view-settings__controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  min-width: 26px;
  min-height: 26px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--text-secondary);
  padding: 0;
  cursor: pointer;
}

.schedule-board-view-settings__controls button:hover {
  background: var(--surface-muted);
  color: var(--text-primary);
}

.schedule-board-view-settings__controls button:disabled {
  cursor: default;
  opacity: 0.32;
}

.schedule-board-view-settings__controls button[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent-text);
}

.schedule-admin-board .data-board-shell__title-icon {
  color: var(--text-tertiary);
}

.schedule-admin-board .data-board-shell__pill {
  min-height: 24px;
  padding: 0 7px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: var(--surface-muted);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
}

.schedule-admin-board .data-board-shell__primary-action button {
  min-height: 32px;
  border-color: var(--accent-primary);
  border-radius: 5px;
  background: var(--accent-primary);
  color: var(--surface-panel);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
}

.schedule-admin-board .data-board-shell__view-bar {
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-bottom-color: var(--border-subtle);
}

.schedule-admin-board .data-board-shell__tabs {
  flex: 1 1 auto;
  overflow: hidden;
}

.schedule-admin-board .data-board-shell__tab-actions {
  flex: 0 0 auto;
}

.schedule-admin-board .data-board-shell__tab {
  gap: 6px;
  min-height: 30px;
  border: 0;
  border-radius: 4px;
  padding: 0 8px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.schedule-admin-board .data-board-shell__tab:hover {
  background: var(--surface-hover);
}

.schedule-admin-board .data-board-shell__tab[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent-text);
}

.schedule-admin-board .data-board-shell__tab-icon {
  display: inline-flex;
  color: currentColor;
}

.schedule-admin-board .data-board-toolbar-stack {
  gap: 6px;
}

.schedule-admin-board .data-board-toolbar {
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 2px;
  padding: 0;
  border: 0;
  background: transparent;
}

.schedule-admin-board .data-board-toolbar__search {
  flex: 0 1 176px;
  min-width: 144px;
  min-height: 30px;
  border-color: var(--border-subtle);
  border-radius: 4px;
  background: var(--surface-panel);
}

.schedule-admin-board .data-board-toolbar__search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  color: var(--text-tertiary);
}

.schedule-admin-board .data-board-toolbar__search input {
  min-height: 28px;
  border-left: 0;
  background: transparent;
  color: var(--text-primary);
  padding: 5px 8px 5px 0;
  font-size: 13px;
}

.schedule-admin-board .data-board-toolbar__button {
  width: 30px;
  min-width: 30px;
  min-height: 30px;
  gap: 0;
  border: 0;
  border-radius: 4px;
  padding: 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.schedule-admin-board .data-board-toolbar__search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.schedule-admin-board .data-board-toolbar__button-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.schedule-admin-board .data-board-toolbar__button:hover,
.schedule-admin-board .layout-switch.compact button:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.schedule-admin-board .data-board-toolbar__button[aria-pressed="true"],
.schedule-admin-board .layout-switch.compact button.active,
.schedule-admin-board .layout-switch.compact button[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent-text);
}

.schedule-admin-board .layout-switch.compact {
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  background: var(--surface-muted);
}

.schedule-admin-board .layout-switch.compact button {
  min-height: 26px;
  border-radius: 4px;
  padding: 0 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.schedule-admin-board .data-board-toolbar__chips {
  padding: 0;
}

.schedule-admin-board .data-board-toolbar__chip {
  min-height: 24px;
  border-color: var(--border-subtle);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text-secondary);
  padding: 0 8px;
  font-size: 12px;
  font-weight: 500;
}

.schedule-admin-toolbar-panel {
  border-color: var(--border-default);
  border-radius: 8px;
  background: var(--surface-panel);
  box-shadow: 0 12px 36px rgba(25, 23, 21, 0.1);
}

.schedule-admin-toolbar-panel--notion {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: min(360px, calc(100vw - 48px));
  padding: var(--space-2);
}

.schedule-toolbar-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-1) var(--space-2) var(--space-2);
  border-bottom: 1px solid var(--border-subtle);
}

.schedule-toolbar-panel__header strong {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
}

.schedule-toolbar-panel__header span {
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 500;
}

.schedule-toolbar-panel__row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto 16px;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-primary);
  padding: var(--space-2);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.schedule-toolbar-panel__row:hover,
.schedule-toolbar-panel__row[aria-expanded="true"] {
  background: var(--surface-hover);
}

.schedule-toolbar-panel__row-icon,
.schedule-toolbar-panel__row-chevron {
  color: var(--text-tertiary);
}

.schedule-toolbar-panel__row-icon svg,
.schedule-toolbar-panel__row-chevron {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.schedule-toolbar-panel__row-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.schedule-toolbar-panel__row-copy span {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-toolbar-panel__row-copy small,
.schedule-toolbar-panel__row-value {
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 500;
}

.schedule-admin-toolbar-panel--notion .schedule-admin-layout-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(72px, 1fr));
  gap: var(--space-2);
  margin: 0;
  padding: var(--space-1) 0 0;
  border: 0;
}

.schedule-admin-toolbar-panel--notion .schedule-admin-layout-options button {
  min-height: 56px;
  border-color: var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-panel);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.schedule-admin-toolbar-panel--notion .schedule-admin-layout-options button:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.schedule-admin-toolbar-panel--notion .schedule-admin-layout-options button.active,
.schedule-admin-toolbar-panel--notion .schedule-admin-layout-options button[aria-pressed="true"] {
  border-color: var(--accent-primary);
  background: var(--accent-soft);
  color: var(--accent-text);
}

.schedule-admin-toolbar-panel label {
  color: var(--text-secondary);
  font-weight: 600;
}

.schedule-admin-toolbar input,
.schedule-admin-toolbar-panel input,
.schedule-admin-toolbar-panel select,
.schedule-admin-form input,
.schedule-admin-form select,
.schedule-admin-form textarea {
  border-color: var(--border-default);
  border-radius: 5px;
  color: var(--text-primary);
}

.schedule-admin-toolbar-shell .data-board-toolbar-stack {
  position: relative;
}

.schedule-admin-toolbar-shell .data-board-toolbar-stack > .schedule-admin-toolbar-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  min-width: min(420px, calc(100vw - 48px));
}

.schedule-admin-toolbar-shell .data-board-toolbar-stack > .schedule-settings-panel {
  width: min(560px, calc(100vw - 48px));
  max-height: min(680px, calc(100dvh - 156px));
  gap: var(--space-3);
  overflow-y: auto;
  padding: var(--space-3);
  border-color: var(--border-default);
  background: #fff;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--text-primary) 8%, transparent);
}

@media (max-width: 700px) {
  .schedule-admin-toolbar-shell .data-board-toolbar-stack > .schedule-settings-panel {
    position: fixed;
    top: 156px;
    right: 12px;
    left: 12px;
    width: auto;
    min-width: 0;
    max-height: calc(100dvh - 176px);
  }
}

.schedule-settings-section {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
  padding-block: var(--space-2);
  border-top: 1px solid var(--border-subtle);
}

.schedule-settings-section:first-of-type {
  border-top: 0;
}

.schedule-settings-section h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.schedule-settings-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.schedule-settings-section__header button,
.schedule-settings-button-row button,
.schedule-settings-inline-actions button {
  min-height: 30px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-secondary);
  padding: 0 var(--space-2);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.schedule-settings-section__header button:hover,
.schedule-settings-button-row button:hover,
.schedule-settings-inline-actions button:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.schedule-settings-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.schedule-settings-button-row button[aria-pressed="true"],
.schedule-settings-inline-actions button[aria-pressed="true"] {
  border-color: var(--accent-primary);
  background: var(--accent-soft);
  color: var(--accent-text);
}

.schedule-settings-list {
  display: grid;
  gap: 4px;
  max-height: 220px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule-settings-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-width: 0;
  min-height: 34px;
  padding: 3px 0;
}

.schedule-settings-list label,
.schedule-settings-chip-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.schedule-settings-list input,
.schedule-settings-chip-row input {
  width: auto;
  min-height: 0;
  margin: 0;
}

.schedule-settings-list span {
  min-width: 0;
}

.schedule-settings-inline-actions,
.schedule-settings-chip-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.schedule-settings-chip-row {
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  border: 0;
}

.schedule-settings-panel .schedule-property-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.schedule-settings-panel .schedule-admin-layout-options button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.schedule-layout-option-icon,
.schedule-layout-option-icon svg {
  display: inline-flex;
  width: 16px;
  height: 16px;
}

/* ── Phase 2: 속성 편집 패널 ────────────────────────────────────── */
.schedule-admin-toolbar-shell .data-board-toolbar-stack > .schedule-property-panel {
  min-width: min(520px, calc(100vw - 48px));
  max-height: min(560px, calc(100vh - 160px));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-3);
}

.schedule-property-panel__search input {
  width: 100%;
}

.schedule-property-panel__bulk {
  display: flex;
  gap: var(--space-2);
}

.schedule-property-panel__bulk button {
  flex: 1;
  min-height: 32px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
}

.schedule-property-panel__bulk button:hover {
  background: var(--surface-hover);
}

.schedule-property-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.schedule-property-row {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--surface-panel);
  overflow: hidden;
}

.schedule-settings-panel .schedule-property-panel__list {
  max-height: 220px;
  overflow-y: auto;
}

.schedule-settings-panel .schedule-property-row {
  border-color: var(--border-subtle);
}

.schedule-property-row__header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
}

.schedule-property-row__reorder {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.schedule-property-row__reorder button {
  min-width: 22px;
  min-height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.schedule-property-row__reorder button:disabled {
  opacity: 0.3;
  cursor: default;
}

.schedule-property-row__name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-property-row__type {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-tertiary);
}

.schedule-property-row__visibility {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-secondary);
}

.schedule-property-row__visibility input {
  width: auto;
  min-height: 0;
}

.schedule-property-row__edit-toggle {
  flex-shrink: 0;
  min-height: 28px;
  padding: 0 var(--space-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
}

.schedule-property-row__edit-toggle:hover {
  background: var(--surface-hover);
}

.schedule-property-row__edit-toggle[aria-expanded="true"] {
  background: var(--accent-soft);
  color: var(--accent-text);
  border-color: var(--accent-primary);
}

.schedule-property-row__edit {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: 0 var(--space-3) var(--space-3);
  border-top: 1px solid var(--border-subtle);
  margin-top: 0;
  padding-top: var(--space-2);
}

.schedule-property-edit {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: flex-end;
}

.schedule-property-edit__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 120px;
}

.schedule-property-edit__field span {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.schedule-property-edit__actions {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.schedule-property-edit__delete {
  min-height: 28px;
  padding: 0 var(--space-3);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--accent-text);
  font-size: 12px;
  cursor: pointer;
}

.schedule-property-edit__delete:hover {
  background: var(--accent-soft);
}

.schedule-property-edit__locked {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ── select 옵션 에디터 ─────────────────────────────────────────── */
.schedule-select-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-2);
  background: var(--surface-muted);
  border-radius: var(--radius-sm);
}

.schedule-select-options__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.schedule-select-options__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.schedule-select-options__sort select {
  width: auto;
  min-height: 28px;
  font-size: 12px;
}

.schedule-select-options__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.schedule-select-option {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.schedule-select-option__label {
  flex: 1;
  min-width: 0;
}

.schedule-select-option__color select {
  width: auto;
  min-height: 28px;
  font-size: 12px;
}

.schedule-select-option__reorder {
  display: flex;
  gap: 0;
}

.schedule-select-option__reorder button {
  min-width: 22px;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 12px;
  cursor: pointer;
}

.schedule-select-option__reorder button:disabled {
  opacity: 0.3;
  cursor: default;
}

.schedule-select-options__add {
  display: flex;
  gap: var(--space-2);
}

.schedule-select-options__add input {
  flex: 1;
  min-width: 0;
}

.schedule-select-options__add button {
  min-height: 32px;
  padding: 0 var(--space-3);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
}

.schedule-select-options__add button:hover {
  background: var(--surface-hover);
}

/* ── 새 속성 추가 행 ────────────────────────────────────────────── */
.schedule-property-panel__add {
  display: flex;
  gap: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border-subtle);
}

.schedule-property-panel__add input {
  flex: 1;
  min-width: 0;
}

.schedule-property-panel__add select {
  width: auto;
  min-width: 90px;
}

.schedule-property-panel__add button {
  min-height: 36px;
  padding: 0 var(--space-3);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-sm);
  background: var(--accent-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.schedule-property-panel__add button:hover {
  opacity: 0.9;
}

.schedule-admin-board .data-board-shell__body {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-height: 560px;
}

.schedule-admin-board .data-board-shell__surface {
  border: 0;
  border-radius: 0;
}

.schedule-admin-board .data-board {
  color: var(--text-primary);
}

.schedule-admin-board .data-board__surface {
  overflow: auto;
  border: 0;
  border-radius: 0;
  background: var(--surface-panel);
}

.schedule-admin-board .data-board__table {
  min-width: 680px;
  table-layout: fixed;
  color: var(--text-primary);
}

.schedule-admin-board .data-board__utility-column,
.schedule-admin-board .data-board__utility-cell {
  width: 118px;
}

.schedule-admin-board .data-board__table th {
  top: 0;
  background: var(--surface-muted);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}

.schedule-admin-board .data-board__table th,
.schedule-admin-board .data-board__table td {
  height: 38px;
  padding: 7px 10px;
  border-right-color: var(--border-subtle);
  border-bottom-color: var(--border-subtle);
}

.schedule-admin-board .data-board__table td {
  color: var(--text-primary);
  font-size: 14px;
}

.data-board__field-name {
  color: var(--text-secondary);
  font-weight: 600;
}

.data-board__field-type {
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 500;
  text-transform: none;
}

.data-board__field-action {
  width: 24px;
  height: 24px;
  border-color: transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--text-tertiary);
}

.data-board__field-action:hover,
.data-board__field-action[aria-expanded="true"] {
  background: var(--surface-hover);
  color: var(--text-secondary);
}

.data-board__field-menu,
.data-board__cell-menu {
  border-color: var(--border-default);
  background: var(--surface-panel);
  box-shadow: 0 12px 36px rgba(25, 23, 21, 0.1);
}

.data-board__row[tabindex="0"] {
  cursor: pointer;
}

.data-board__row[tabindex="0"]:hover td {
  background: var(--surface-hover);
}

.schedule-admin-board .data-board__row--selected td {
  background: var(--surface-selected);
}

.data-board__row--selected td:first-child {
  box-shadow: inset 3px 0 0 var(--accent-primary);
}

.data-board__cell-button {
  min-height: 26px;
  border-radius: 4px;
  padding: 2px 4px;
}

.data-board__cell-button:hover {
  border-color: var(--border-subtle);
  background: var(--surface-hover);
}

.data-board__cell-input,
.data-board__cell-select {
  border-color: var(--accent-primary);
  border-radius: 4px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-primary) 13%, transparent);
}

.data-board__record-title,
.data-board__item-title {
  color: var(--text-primary);
  font-weight: 700;
}

.data-board__cell-select-trigger {
  min-height: 24px;
  border-color: transparent;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text-secondary);
  padding: 0 8px;
  font-size: 12px;
  font-weight: 600;
}

.data-board__cell-select-trigger[data-color="green"],
.data-board__cell-menu button[data-color="green"] {
  background: var(--status-open-bg);
  color: var(--status-open-text);
}

.data-board__cell-select-trigger[data-color="blue"],
.data-board__cell-menu button[data-color="blue"] {
  background: var(--status-upcoming-bg);
  color: var(--status-upcoming-text);
}

.data-board__cell-select-trigger[data-color="amber"],
.data-board__cell-menu button[data-color="amber"] {
  background: var(--status-closed-bg);
  color: var(--status-closed-text);
}

.data-board__cell-select-trigger[data-color="gray"],
.data-board__cell-menu button[data-color="gray"] {
  background: color-mix(in srgb, var(--status-neutral) 14%, transparent);
  color: var(--status-neutral);
}

.schedule-admin-board .data-board__group-row th {
  height: 34px;
  padding: 7px 10px;
  background: var(--surface-muted);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.data-board__group-row th span:last-child {
  border-color: var(--border-subtle);
  background: var(--surface-panel);
  color: var(--text-tertiary);
}

.data-board__add-property,
.data-board__add-row button {
  border-radius: 4px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.schedule-admin-board .data-board__add-row td {
  background: var(--surface-panel);
}

.data-board__empty {
  color: var(--text-secondary);
}

.data-board__collection {
  gap: 10px;
  padding: 14px;
}

.data-board__item {
  border-color: var(--border-default);
  border-radius: 8px;
  box-shadow: none;
}

.data-board-shell__side-peek {
  padding: 0;
  border: 0;
  border-left: 1px solid var(--border-subtle);
  border-radius: 0;
  background: var(--surface-panel);
  box-shadow: -12px 0 36px rgba(25, 23, 21, 0.04);
}

.schedule-admin-inspector {
  min-height: 100%;
  padding: 16px 18px;
  background: var(--surface-panel);
}

.schedule-side-peek-topbar {
  margin-bottom: 12px;
}

.schedule-side-peek-close {
  width: 30px;
  height: 30px;
  border-color: transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 0;
}

.schedule-side-peek-close:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.schedule-side-peek-close svg {
  width: 16px;
  height: 16px;
}

.schedule-side-peek-header,
.schedule-side-peek-section {
  border-bottom-color: var(--border-subtle);
}

.schedule-side-peek-header h3 {
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 700;
}

.detail-kicker {
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 500;
}

.schedule-side-peek-chips span,
.schedule-side-peek-checklist li,
.schedule-side-peek-properties div {
  border-color: var(--border-subtle);
  border-radius: 5px;
  background: var(--surface-muted);
  color: var(--text-secondary);
  font-weight: 500;
}

.schedule-side-peek-section h4 {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
}

.schedule-side-peek-properties dt {
  color: var(--text-tertiary);
  font-weight: 500;
}

.schedule-side-peek-properties dd {
  color: var(--text-primary);
  font-weight: 600;
}

.schedule-side-peek-muted {
  color: var(--text-tertiary);
}

.schedule-admin-empty {
  color: var(--text-secondary);
}

.schedule-admin-empty strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ── Phase 3: 게시글 상세 + 댓글 ─────────────────────────────────── */
.schedule-detail-admin-actions {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
}

.schedule-detail-edit-button,
.schedule-detail-pin-button {
  min-height: 30px;
  padding: 0 var(--space-3);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.schedule-detail-pin-button[aria-pressed="true"] {
  border-color: var(--accent-primary);
  background: var(--accent-soft);
  color: var(--accent-text);
}

.schedule-detail-edit-button:hover,
.schedule-detail-pin-button:hover {
  background: var(--surface-hover);
}

.schedule-detail-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  white-space: pre-wrap;
  word-break: break-word;
}

/* 댓글 섹션 */
.schedule-detail-comments {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border-subtle);
}

.schedule-detail-comments__heading {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.schedule-detail-comments__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.schedule-detail-comments__empty {
  color: var(--text-tertiary);
  font-size: 13px;
}

.schedule-detail-comment {
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
}

.schedule-detail-comment__author {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.schedule-detail-comment__body {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  white-space: pre-wrap;
  word-break: break-word;
}

.schedule-detail-comment__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: 6px;
}

.schedule-detail-comment__meta time {
  font-size: 12px;
  color: var(--text-tertiary);
}

.schedule-detail-comment__delete {
  min-height: 24px;
  padding: 0 var(--space-2);
  border: 0;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 12px;
  cursor: pointer;
}

.schedule-detail-comment__delete:hover {
  color: var(--accent-text);
}

.schedule-detail-comments__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.schedule-detail-comments__form textarea {
  resize: vertical;
}

.schedule-detail-comments__form button {
  align-self: flex-end;
  min-height: 32px;
  padding: 0 var(--space-3);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-sm);
  background: var(--accent-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.schedule-detail-comments__form button:disabled {
  opacity: 0.4;
  cursor: default;
}

.schedule-detail-comments__login-hint {
  font-size: 13px;
  color: var(--text-tertiary);
}

.schedule-admin-form {
  border-top-color: var(--border-subtle);
}

.schedule-admin-form h3 {
  color: var(--text-primary);
}

.schedule-admin-form label {
  color: var(--text-secondary);
  font-weight: 600;
}

.schedule-admin-form button {
  border-radius: 5px;
  background: var(--accent-primary);
  box-shadow: none;
}

.schedule-admin-form .secondary-button {
  border-color: var(--border-default);
  background: var(--surface-panel);
  color: var(--text-secondary);
}

.danger-button {
  border-color: color-mix(in srgb, var(--accent-primary) 32%, white);
  border-radius: 5px;
  background: var(--accent-soft);
  color: var(--accent-text);
}

.danger-button.confirm {
  background: var(--accent-text);
}

.detail-checklist li::before {
  width: 10px;
  height: 10px;
  border: 1px solid var(--accent-primary);
  border-radius: 2px;
  color: transparent;
  content: "";
  transform: translateY(6px);
}

@media (max-width: 900px) {
  .workspace-frame {
    grid-template-columns: 1fr;
  }

  .sidebar {
    min-height: auto;
  }

  .schedule-admin-board .data-board-shell__view-bar,
  .schedule-admin-board .data-board-toolbar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .schedule-admin-board .data-board-toolbar__search {
    flex: 1 1 220px;
    max-width: none;
  }

  .schedule-admin-board .data-board-shell__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .data-board-shell__side-peek {
    border-top: 1px solid var(--border-subtle);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .topbar {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 12px 14px;
  }

  .topnav {
    height: auto;
    gap: 14px;
  }

  .topbar-cta {
    display: none;
  }

  .workspace-frame {
    grid-template-columns: minmax(0, 1fr);
  }

  .layout-grid {
    order: 1;
  }

  .sidebar {
    order: 2;
    min-height: auto;
    padding: 0;
    border-top: 1px solid var(--border-subtle);
    border-right: 0;
  }

  .side-menu {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
  }

  .side-menu a {
    justify-content: center;
    min-height: 64px;
    padding: 6px 4px;
    border-radius: 0;
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
    flex-direction: column;
  }

  .side-menu a.active::before {
    inset-block: auto;
    right: 24%;
    bottom: 0;
    left: 24%;
    width: auto;
    height: 3px;
    border-radius: 3px 3px 0 0;
  }

  .schedule-panel {
    padding: 22px 14px 92px;
  }

  .schedule-heading h1 {
    font-size: 26px;
  }

  .schedule-admin-board {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    margin-inline: -14px;
  }

  .schedule-admin-board > .data-board-shell {
    min-height: auto;
  }

  .schedule-admin-board .data-board-shell__header {
    align-items: flex-start;
    padding: 0 14px;
  }

  .schedule-admin-board .data-board-shell__view-bar {
    padding: 8px 14px;
  }

  .schedule-admin-board .data-board-shell__tabs {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .schedule-admin-board .data-board-toolbar__button-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .schedule-admin-board .data-board-toolbar__button {
    flex: 1 1 42px;
  }

  .schedule-admin-board .data-board-toolbar__chips {
    padding: 0 14px;
  }

  .schedule-admin-board .data-board__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .schedule-admin-board .data-board__table {
    display: table;
    width: max-content;
    min-width: 680px;
    table-layout: fixed;
  }

  .schedule-admin-board .data-board__table thead {
    display: table-header-group;
    position: sticky;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
  }

  .schedule-admin-board .data-board__table tbody {
    display: table-row-group;
    width: auto;
    padding: 0;
  }

  .schedule-admin-board .data-board__group-row,
  .schedule-admin-board .data-board__row,
  .schedule-admin-board .data-board__add-row {
    display: table-row;
  }

  .schedule-admin-board .data-board__row {
    min-height: 0;
    padding: 0;
    border-bottom: 0;
  }

  .schedule-admin-board .data-board__row td {
    display: table-cell;
    width: auto;
    height: 38px;
    padding: 7px 10px;
    border-right: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--surface-panel);
    vertical-align: middle;
  }
  .schedule-admin-board .data-board__row td:first-child {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
  }

  .schedule-admin-board .data-board__row td:nth-child(2),
  .schedule-admin-board .data-board__row td:nth-child(4) {
    color: var(--text-secondary);
    font-size: 14px;
  }

  .schedule-admin-board .data-board__row td:nth-child(2)::before,
  .schedule-admin-board .data-board__row td:nth-child(4)::before {
    content: none;
  }

  .schedule-admin-board .data-board__add-row td {
    display: table-cell;
    padding: 8px 10px;
  }

  .schedule-admin-board .data-board__add-row button {
    justify-content: flex-start;
    width: auto;
  }

  .schedule-admin-inspector {
    padding: 16px 14px 22px;
  }
}

.schedule-admin-feedback {
  margin: 0;
  padding: 8px 18px 0;
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 600;
}

.schedule-admin-board .data-board-shell__view-bar {
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: visible;
  overflow-y: visible;
  align-items: center;
}

.schedule-admin-board .data-board-shell__tabs,
.schedule-admin-board .data-board-shell__tab-actions,
.schedule-admin-board .data-board-shell__view-actions,
.schedule-admin-board .data-board-shell__toolbar,
.schedule-admin-board .data-board-toolbar,
.schedule-admin-board .data-board-toolbar__chips {
  flex-wrap: nowrap;
}

.schedule-admin-board .data-board-shell__tabs {
  flex: 1 1 auto;
  overflow: hidden;
}

.schedule-admin-board .data-board-shell__view-actions {
  flex: 0 1 auto;
  min-width: 0;
}

.schedule-admin-board .data-board-toolbar {
  width: auto;
  max-width: 100%;
  justify-content: flex-start;
  overflow-x: visible;
}

.schedule-admin-board .data-board-toolbar__search {
  flex: 0 0 168px;
  min-width: 144px;
  max-width: 168px;
}

.schedule-admin-board .data-board-toolbar__chips {
  max-width: none;
  padding: 0;
}

.schedule-admin-board .data-board-toolbar__chip {
  min-height: 22px;
  padding: 0 7px;
}

.schedule-admin-board .data-board-shell__body {
  grid-template-columns: minmax(0, 1fr);
  min-height: 560px;
}

.schedule-admin-board .data-board-shell__overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  padding: 64px 24px 24px;
  background: color-mix(in srgb, var(--text-primary) 12%, transparent);
}

.schedule-admin-board .data-board-shell__side-peek {
  width: min(430px, calc(100vw - 32px));
  max-height: calc(100dvh - 88px);
  overflow: auto;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: var(--surface-panel);
  box-shadow: 0 12px 36px rgba(25, 23, 21, 0.1);
}

.schedule-admin-board .data-board__row[tabindex="0"] {
  cursor: default;
}

.schedule-admin-board .data-board__row[tabindex="0"]:hover td {
  background: transparent;
}

.schedule-admin-board .data-board__row-action {
  border-color: var(--border-subtle);
  border-radius: 4px;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 12px;
}

.schedule-admin-board .data-board__row-action:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

@media (max-width: 900px) {
  .schedule-admin-board .data-board-shell__view-bar,
  .schedule-admin-board .data-board-toolbar {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }

  .schedule-admin-board .data-board-shell__view-bar {
    padding-bottom: 9px;
  }

  .data-board-shell__side-peek {
    border-top: 1px solid var(--border-default);
    border-left: 1px solid var(--border-default);
  }
}

@media (max-width: 720px) {
  .schedule-admin-board .data-board-shell__view-bar,
  .schedule-admin-board .data-board-toolbar {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .schedule-admin-board .data-board-shell__tabs {
    width: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    overflow-x: visible;
  }

  .schedule-admin-board .data-board-shell__view-actions {
    flex: 0 0 auto;
    justify-content: flex-start;
    min-width: 0;
  }

  .schedule-admin-board .data-board-shell__toolbar,
  .schedule-admin-board .data-board-toolbar {
    flex: 0 0 auto;
  }

  .schedule-admin-board .data-board-shell__toolbar,
  .schedule-admin-board .schedule-admin-toolbar-shell {
    width: max-content;
    max-width: max-content;
  }

  .schedule-admin-board .data-board-toolbar__search {
    flex: 0 1 92px;
    min-width: 86px;
    max-width: 100px;
  }

  .schedule-admin-board .data-board-toolbar__search-icon {
    width: 26px;
  }

  .schedule-admin-board .data-board-toolbar__button {
    width: 28px;
    min-width: 28px;
  }

  .schedule-admin-board .data-board-shell__primary-action button {
    min-width: 36px;
    padding: 0 4px;
    font-size: 0;
  }

  .schedule-admin-board .data-board-shell__primary-action button::before {
    content: "추가";
    font-size: 11px;
  }

  .schedule-admin-board .schedule-board-add-view-button {
    padding: 0 6px;
  }

  .schedule-admin-board .data-board-toolbar__button {
    flex: 0 0 auto;
  }

  .schedule-admin-board .data-board-shell__overlay {
    align-items: flex-end;
    padding: 54px 8px 76px;
  }

  .schedule-admin-board .data-board-shell__side-peek {
    width: 100%;
    max-height: min(720px, calc(100dvh - 96px));
  }
}

.schedule-admin-board .data-board-shell__title {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding-right: 30px;
}

.schedule-admin-board .data-board-shell__title-accessory {
  position: absolute;
  top: 50%;
  right: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition:
    opacity 120ms ease,
    visibility 120ms ease;
}

.schedule-admin-board .data-board-shell__title:hover .data-board-shell__title-accessory,
.schedule-admin-board .data-board-shell__title:focus-within .data-board-shell__title-accessory,
.schedule-admin-board .data-board-shell__title-accessory:has(.schedule-board-title-editor) {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.schedule-admin-board .data-board-shell__title-accessory:has(.schedule-board-title-editor) {
  position: static;
  margin-top: 4px;
  transform: none;
}

.schedule-board-title-edit-button,
.schedule-board-add-view-button,
.schedule-board-view-settings__trigger {
  width: 28px;
  min-width: 28px;
  min-height: 28px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  padding: 0;
  color: var(--text-tertiary);
}

.schedule-board-title-edit-button svg,
.schedule-board-add-view-button svg,
.schedule-board-view-settings__trigger svg,
.schedule-board-view-settings__controls svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.schedule-board-title-edit-button:hover,
.schedule-board-add-view-button:hover,
.schedule-board-view-settings__trigger:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.schedule-admin-board .data-board-shell__view-cluster {
  flex: 1 1 auto;
  overflow: hidden;
}

.schedule-admin-board .data-board-shell__tabs {
  flex: 0 1 auto;
  overflow: hidden;
}

.schedule-admin-board .data-board-shell__tab-actions {
  margin-left: 2px;
}

.schedule-admin-board .data-board-shell__view-actions {
  margin-left: auto;
}

@media (min-width: 901px) {
  .schedule-admin-board .data-board-shell__view-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    height: 43px;
    min-height: 0;
    align-items: center;
    align-content: center;
  }

  .schedule-admin-board .data-board-shell__view-cluster,
  .schedule-admin-board .data-board-shell__view-actions {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .schedule-admin-board .data-board-shell__view-bar {
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
  }

  .schedule-admin-board .data-board-shell__view-bar::-webkit-scrollbar {
    display: none;
  }

  .schedule-admin-board .data-board-shell__view-cluster,
  .schedule-admin-board .data-board-shell__tabs {
    flex: 0 0 auto;
    overflow: visible;
  }

  .schedule-admin-board .schedule-board-add-view-button {
    padding: 0;
  }
}

.schedule-admin-board {
  overflow: visible;
  border: none;
  border-radius: 0;
  background: var(--surface-panel);
  box-shadow: none;
}

.schedule-admin-board > .data-board-shell {
  min-height: min(760px, calc(100dvh - 104px));
  padding-top: 0;
}

.schedule-admin-board .data-board-shell__header {
  padding: 12px 20px 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.schedule-admin-board .data-board-shell__eyebrow {
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 700;
}

.schedule-admin-board .data-board-shell__title h1 {
  gap: 8px;
  font-size: clamp(20px, 1.65vw, 24px);
  letter-spacing: 0;
}

.schedule-admin-board .data-board-shell__title-icon {
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
}

.schedule-admin-board .data-board-shell__view-bar {
  padding: 4px 20px;
  background: color-mix(in srgb, var(--surface-panel) 88%, var(--surface-muted));
  box-shadow: 0 1px 0 rgb(255 255 255 / 72%) inset;
}

.schedule-admin-board .data-board-shell__tab {
  min-height: 30px;
  border-radius: 6px;
  padding: 0 10px;
  transition:
    background-color 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease;
}

.schedule-admin-board .data-board-shell__tab[aria-pressed="true"] {
  border-color: var(--accent-primary);
  background: var(--accent-primary);
  color: #fff;
  box-shadow: none;
}

.schedule-admin-board .data-board-shell__tab[aria-pressed="true"] .data-board-shell__tab-icon {
  color: currentColor;
}

.schedule-admin-board .data-board-toolbar__search {
  flex-basis: 190px;
  min-width: 172px;
  max-width: 220px;
  border-color: var(--border-default);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgb(255 255 255 / 74%) inset;
}

.schedule-admin-board .data-board-toolbar__button,
.schedule-admin-board .schedule-board-view-settings__trigger,
.schedule-admin-board .schedule-board-add-view-button {
  border-radius: 6px;
}

.schedule-admin-board .data-board-shell__primary-action button {
  min-height: 32px;
  border-radius: 6px;
  padding: 0 12px;
  box-shadow: none;
}

.schedule-admin-board .data-board-shell__body {
  min-height: 560px;
  background: var(--surface-panel);
}

.schedule-admin-board .data-board__surface {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 82%) 0%, transparent 42px), var(--surface-panel);
}

.schedule-admin-board .data-board__table {
  min-width: 720px;
}

.schedule-admin-board .data-board__table th {
  height: 34px;
  background: color-mix(in srgb, var(--surface-muted) 88%, #fff);
  color: var(--text-tertiary);
  font-size: 12px;
  letter-spacing: 0;
}

.schedule-admin-board .data-board__table th,
.schedule-admin-board .data-board__table td {
  border-right-color: color-mix(in srgb, var(--border-subtle) 80%, transparent);
  border-bottom-color: color-mix(in srgb, var(--border-subtle) 86%, transparent);
}

.schedule-admin-board .data-board__table td {
  height: 38px;
  padding-block: 7px;
  vertical-align: middle;
}

.schedule-admin-board .data-board__row[tabindex="0"] {
  cursor: pointer;
}

.schedule-admin-board .data-board__row[tabindex="0"]:hover td {
  background: color-mix(in srgb, var(--accent-soft) 34%, var(--surface-panel));
}

.schedule-admin-board .data-board__row--selected td,
.schedule-admin-board .data-board__row--selected:hover td {
  background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface-panel));
}

.schedule-admin-board .data-board__record-title {
  font-weight: 800;
  letter-spacing: -0.015em;
}

.schedule-admin-board .data-board__cell-select-trigger--readonly {
  min-height: 24px;
  padding-inline: 10px;
  border: 0;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 13%, transparent);
}

.schedule-admin-board .data-board__row-action {
  min-height: 28px;
  border-radius: 7px;
  padding-inline: 10px;
}

.schedule-admin-board .data-board-shell__overlay {
  background:
    radial-gradient(circle at 82% 18%, rgb(255 255 255 / 22%), transparent 28%),
    color-mix(in srgb, var(--text-primary) 18%, transparent);
  backdrop-filter: blur(2px);
}

.schedule-admin-board .data-board-shell__side-peek {
  border-radius: 18px;
  box-shadow:
    0 24px 70px color-mix(in srgb, var(--text-primary) 18%, transparent),
    0 1px 0 rgb(255 255 255 / 80%) inset;
}

.schedule-side-peek-header h3 {
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.schedule-side-peek-properties div,
.schedule-side-peek-checklist li {
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-panel) 82%, var(--surface-muted));
}

@media (max-width: 900px) {
  .schedule-panel {
    padding: 18px 14px 28px;
  }

  .schedule-admin-board .data-board-shell__header {
    padding: 20px 18px 14px;
  }

  .schedule-admin-board .data-board-shell__view-bar {
    padding: 10px 18px;
  }
}

@media (max-width: 720px) {
  .schedule-admin-board .data-board-toolbar__search {
    flex-basis: 116px;
    min-width: 104px;
    max-width: 126px;
  }

  .schedule-admin-board .data-board__table {
    min-width: 700px;
  }
}

/* === Home Landing (scoped, mockup-matched v4 2026-06-25) ===
   Oracle REJECT fixes: container width 1328px, left-align schedule heading,
   raw colors → landing-scoped custom properties, peach CTA card.
   All scoped to `.home-landing__*`. */

/* ── Landing-scoped color additions (not global token changes) ──
   These are LOCAL to .home-landing, derived from existing tokens.
   Raw hex values are scoped here, not leaked globally. */
.home-landing {
  /* Landing-internal warm whites and peaches, derived from --surface-muted/--accent-soft */
  --hl-warm-white: color-mix(in srgb, var(--surface-panel) 96%, var(--surface-muted));
  --hl-cream: var(--surface-muted);
  --hl-card-bg: color-mix(in srgb, var(--surface-panel) 98%, var(--surface-muted));
  --hl-card-border: color-mix(in srgb, var(--text-primary) 10%, transparent);
  --hl-card-divider: color-mix(in srgb, var(--text-primary) 8%, transparent);
  --hl-peach-border: color-mix(in srgb, var(--accent-primary) 24%, transparent);
  --hl-peach-grad-1: color-mix(in srgb, var(--accent-soft) 60%, var(--surface-panel));
  --hl-peach-grad-2: color-mix(in srgb, var(--accent-soft) 85%, var(--surface-panel));
  --hl-peach-grad-3: color-mix(in srgb, var(--accent-soft) 60%, var(--surface-panel));

  display: flex;
  flex-direction: column;
  background: var(--surface-panel);
  color: var(--text-primary);
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

/* Screen-reader-only: accessible heading without visual impact (mockup has no visible heading). */
.home-landing__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Section: wide containers, generous padding (mockup vertical proportions) ── */
.home-landing__section {
  padding: 120px 56px;
  width: min(100%, 1328px);
  margin: 0 auto;
  box-sizing: border-box;
}

/* About: cream background, full-width */
.home-landing__about {
  background: var(--hl-cream);
  width: 100%;
  padding: 120px 56px;
}

.home-landing__about-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

/* Trust: cream background, full-width */
.home-landing__trust {
  background: var(--hl-cream);
  width: 100%;
  padding: 100px 56px 120px;
}

/* Final CTA: cream background, full-width */
.home-landing__cta-final {
  background: var(--hl-cream);
  width: 100%;
  padding: 60px 56px 80px;
}

/* ── Section headers ── */
.home-landing__section-header {
  max-width: 1328px;
  margin: 0 auto 56px;
  text-align: center;
}

.home-landing__section-header--left {
  max-width: 1328px;
  margin: 0 0 48px;
  text-align: left;
}

.home-landing__section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-text);
  margin: 0 0 10px;
  text-transform: uppercase;
}

.home-landing__section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  margin: 10px 0 0;
}

/* ── Hero: wide, white, illustration floating ── */
.home-landing__hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  max-width: 1328px;
  margin: 0 auto;
  padding: 100px 56px 90px;
  width: 100%;
  box-sizing: border-box;
  background: var(--surface-panel);
  min-height: 600px;
}

.home-landing__hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-landing__hero h1 {
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--text-primary);
}

.home-landing__hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  max-width: 420px;
}

.home-landing__hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ── Hero illustration: free-floating, large ── */
.home-landing__hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-landing__hero-image {
  max-width: 100%;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px color-mix(in srgb, var(--text-primary) 6%, transparent));
  border-radius: 0;
}

/* ── CTA buttons ── */
.home-landing__cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 28px;
  background: var(--accent-primary);
  color: var(--surface-panel);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition:
    transform 160ms ease-out,
    box-shadow 160ms ease-out;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-primary) 16%, transparent);
}

.home-landing__cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-primary) 24%, transparent);
}

.home-landing__cta-primary--large {
  min-width: 310px;
  height: 56px;
  font-size: 16px;
}

.home-landing__cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 28px;
  background: var(--surface-panel);
  color: var(--accent-text);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid color-mix(in srgb, var(--accent-primary) 32%, var(--border-default));
  border-radius: 6px;
  cursor: pointer;
  transition: background 160ms ease-out;
}

.home-landing__cta-secondary:hover {
  background: var(--accent-soft);
}

/* ── About section ── */
.home-landing__about-inner h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.home-landing__about-inner h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent-primary);
  margin: 20px auto 0;
  border-radius: 1px;
}

.home-landing__about-inner p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

/* ── Schedule cards: wide grid, warm tinted ── */
.home-landing__preview-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.home-landing__preview-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  background: linear-gradient(
    180deg,
    var(--hl-card-bg) 0%,
    color-mix(in srgb, var(--surface-muted) 30%, var(--surface-panel)) 100%
  );
  border: 1px solid color-mix(in srgb, var(--accent-primary) 8%, var(--hl-card-border));
  border-radius: 10px;
  transition:
    border-color 180ms ease-out,
    box-shadow 180ms ease-out,
    transform 180ms ease-out;
  min-height: 280px;
  box-shadow: 0 1px 3px color-mix(in srgb, var(--text-primary) 3%, transparent);
}

.home-landing__preview-card:hover {
  border-color: color-mix(in srgb, var(--accent-primary) 24%, transparent);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--text-primary) 6%, transparent);
  transform: translateY(-2px);
}

.home-landing__preview-tag {
  display: inline-block;
  width: fit-content;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text-secondary);
}

.home-landing__preview-tag--rolling {
  background: var(--status-upcoming-bg);
  color: var(--status-upcoming-text);
}

.home-landing__preview-tag--regular {
  background: var(--status-closed-bg);
  color: var(--status-closed-text);
}

.home-landing__preview-tag--interview {
  background: var(--accent-soft);
  color: var(--accent-text);
}

.home-landing__preview-tag--result {
  background: var(--status-open-bg);
  color: var(--status-open-text);
}

.home-landing__preview-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 4px 0 0;
}

.home-landing__preview-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  flex: 1;
}

.home-landing__preview-link {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-text);
  padding-top: 12px;
  border-top: 1px solid var(--hl-card-divider);
}

.home-landing__preview-cta {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 28px;
  background: var(--accent-primary);
  color: var(--surface-panel);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: 6px;
  margin: 40px auto 0;
  transition:
    transform 160ms ease-out,
    box-shadow 160ms ease-out;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent-primary) 16%, transparent);
}

.home-landing__preview-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent-primary) 22%, transparent);
}

/* ── Trust cards: big gradient numbers ── */
.home-landing__trust-grid {
  max-width: 1328px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-landing__trust-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 36px 28px;
  min-height: 220px;
  background: linear-gradient(180deg, var(--hl-card-bg) 0%, var(--hl-peach-grad-1) 100%);
  border: 1px solid var(--hl-card-border);
  border-radius: 12px;
  text-align: center;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--text-primary) 3%, transparent);
}

.home-landing__trust-number {
  font-size: clamp(64px, 9vw, 88px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    color-mix(in srgb, var(--accent-primary) 70%, var(--surface-panel)) 50%,
    color-mix(in srgb, var(--accent-primary) 40%, var(--surface-panel)) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 8px color-mix(in srgb, var(--accent-primary) 18%, transparent));
}

.home-landing__trust-label {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  font-weight: 600;
  margin: 8px 0 0;
}

.home-landing__trust-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 6px 0 0;
  max-width: 280px;
}

/* ── Section headings ── */
.home-landing__section-header h2,
.home-landing__section h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 0;
}

/* ── Final CTA: peach gradient centered card ── */
.home-landing__cta-final-inner {
  max-width: 936px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 24px;
  border: 1px solid var(--hl-peach-border);
  border-radius: 14px;
  background: linear-gradient(
    90deg,
    var(--hl-peach-grad-1),
    var(--hl-peach-grad-2),
    var(--hl-peach-grad-3)
  );
}

.home-landing__cta-final-inner h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin: 0;
}

.home-landing__cta-final-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

/* ── Responsive: tablet ── */
@media (max-width: 1024px) {
  .home-landing__hero {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    max-width: 640px;
  }

  .home-landing__hero-copy {
    align-items: center;
  }

  .home-landing__hero-visual {
    order: -1;
  }

  .home-landing__hero-image {
    max-width: 480px;
  }

  .home-landing__preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-landing__trust-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .home-landing__section-header--left {
    text-align: center;
  }
}

/* ── Responsive: mobile ── */
@media (max-width: 640px) {
  .home-landing__section,
  .home-landing__about,
  .home-landing__trust,
  .home-landing__cta-final {
    padding: 56px 20px;
  }

  .home-landing__hero {
    padding: 48px 20px 56px;
  }

  .home-landing__hero h1 {
    font-size: 32px;
  }

  .home-landing__hero-sub {
    font-size: 16px;
  }

  .home-landing__hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .home-landing__cta-primary,
  .home-landing__cta-secondary,
  .home-landing__cta-primary--large {
    width: 100%;
    text-align: center;
  }

  .home-landing__preview-grid {
    grid-template-columns: 1fr;
  }

  .home-landing__cta-final-inner {
    padding: 32px 20px;
  }
}

/* === Schedule Board UI/UX Upgrade (scoped, 2026-06-25) ===
   D-day 강조, 따뜻한 톤, 행 시각적 강조, 폴리시.
   All scoped under .schedule-admin-board / .schedule-default-database. */

/* D-day badge: urgent 마감임박을 더 강하게 */
.schedule-admin-board .deadline-badge.urgent,
.schedule-default-database .deadline-badge.urgent {
  background: var(--accent-primary);
  color: var(--surface-panel);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent-primary) 24%, transparent);
}

/* D-day badge: open (여유) — 부드러운 회색 pill */
.schedule-admin-board .deadline-badge.open,
.schedule-default-database .deadline-badge.open {
  background: var(--surface-muted);
  color: var(--text-secondary);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
}

/* D-day badge: closed (마감) — 흐릿한 회색 */
.schedule-admin-board .deadline-badge.closed,
.schedule-default-database .deadline-badge.closed {
  background: transparent;
  color: var(--text-tertiary);
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
}

/* 테이블 헤더: 따뜻한 크림 톤 */
.schedule-admin-board .data-board__table thead,
.schedule-default-database .data-board__table thead {
  background: color-mix(in srgb, var(--surface-muted) 50%, var(--surface-panel));
}

/* 테이블 행: 따뜻한 보더 + 호버 강조 */
.schedule-admin-board .data-board__table tbody tr,
.schedule-default-database .data-board__table tbody tr {
  transition: background-color 120ms ease-out;
}

.schedule-admin-board .data-board__table tbody tr:hover,
.schedule-default-database .data-board__table tbody tr:hover {
  background: color-mix(in srgb, var(--accent-soft) 30%, var(--surface-panel));
}

/* 상태 pill: 코랄 톤 통일 */
.schedule-admin-board .schedule-status--open,
.schedule-default-database .schedule-status--open {
  background: var(--status-open-bg);
  color: var(--status-open-text);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.schedule-admin-board .schedule-status--upcoming,
.schedule-default-database .schedule-status--upcoming {
  background: var(--status-upcoming-bg);
  color: var(--status-upcoming-text);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.schedule-admin-board .schedule-status--closed,
.schedule-default-database .schedule-status--closed {
  background: var(--status-closed-bg);
  color: var(--status-closed-text);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
}

/* 테이블 셀 padding 개선 */
.schedule-admin-board .data-board__table td,
.schedule-default-database .data-board__table td {
  padding: 12px 16px;
}

/* 테이블 첫 컬럼(제목) 강조 */
.schedule-admin-board .data-board__table td:first-child,
.schedule-default-database .data-board__table td:first-child {
  font-weight: 600;
}

/* 테이블 래퍼: 부드러운 보더 */
.schedule-admin-board .data-board__table-wrap,
.schedule-default-database .data-board__table-wrap {
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

/* 사이드바 active 항목: 코랄 톤 강조 유지 */
.schedule-admin-board .side-menu .active {
  background: var(--accent-soft);
  color: var(--accent-text);
  border-left: 3px solid var(--accent-primary);
}

/* 워크스페이스 intro: 따뜻한 크림 톤 */
.schedule-default-database .schedule-landing-intro {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface-muted) 40%, var(--surface-panel)) 0%,
    var(--surface-panel) 100%
  );
  border-radius: 0;
  padding: 24px 28px;
  border: none;
}

/* === 테이블 테두리 제거 (목업 v2 매칭 — borderless) === */

/* 테이블 래퍼: 보더/래디어스/오버플로우 완전 제거 */
.schedule-admin-board .data-board__table-wrap,
.schedule-default-database .data-board__table-wrap {
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

/* 테이블 자체: 외곽선 없음 */
.schedule-admin-board .data-board__table,
.schedule-default-database .data-board__table {
  border: none;
  outline: none;
}

/* 헤더 셀: 보더 제거, 하단만 옅은 구분선 */
.schedule-admin-board .data-board__table th,
.schedule-default-database .data-board__table th {
  border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--text-primary) 8%, transparent);
  background: transparent;
}

/* 바디 셀: 세로선 제거, 하단만 hairline */
.schedule-admin-board .data-board__table td,
.schedule-default-database .data-board__table td {
  border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--text-primary) 4%, transparent);
}

/* 마지막 행: 하단선도 제거 */
.schedule-admin-board .data-board__table tbody tr:last-child td,
.schedule-default-database .data-board__table tbody tr:last-child td {
  border-bottom: none;
}

/* 그룹 헤더 행도 보더 제거 */
.schedule-admin-board .data-board__table .data-board__group-row td,
.schedule-default-database .data-board__table .data-board__group-row td {
  border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--text-primary) 6%, transparent);
}

/* D-day 셀 스타일 — 코랄 강조는 인라인 렌더링에서 처리 */
.schedule-admin-board .data-board__table td[data-field-id="dday"],
.schedule-default-database .data-board__table td[data-field-id="dday"] {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-secondary);
}

/* 테이블 본문 배경: 순백 (투명하게) */
.schedule-admin-board .data-board__table tbody,
.schedule-default-database .data-board__table tbody {
  background: transparent;
}

/* === Schedule Detail Page (2026-06-25) === */

.schedule-detail-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.schedule-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: transparent;
  color: var(--text-secondary);
  border: none;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 24px;
}

.schedule-detail__back:hover {
  color: var(--accent-text);
}

.schedule-detail__article {
  background: var(--surface-panel);
  border: 1px solid color-mix(in srgb, var(--text-primary) 6%, transparent);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
}

.schedule-detail__header {
  margin-bottom: 24px;
}

.schedule-detail__tags {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.schedule-detail__tags .schedule-status {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.schedule-detail__tags .deadline-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.schedule-detail__category {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
}

.schedule-detail__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.schedule-detail__meta {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--text-tertiary);
}

.schedule-detail__body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.schedule-detail__checklist {
  margin-bottom: 32px;
}

.schedule-detail__checklist h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
}

.schedule-detail__checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.schedule-detail__checklist li {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--text-primary) 4%, transparent);
  font-size: 15px;
}

.schedule-detail__actions {
  display: flex;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--text-primary) 6%, transparent);
}

.schedule-detail__like-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--surface-muted);
  border: 1px solid color-mix(in srgb, var(--text-primary) 8%, transparent);
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  color: var(--text-secondary);
  transition: all 150ms ease-out;
}

.schedule-detail__like-button.liked {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent-primary) 24%, transparent);
  color: var(--accent-text);
}

.schedule-detail__like-icon {
  font-size: 18px;
}

.schedule-detail__like-count {
  font-weight: 600;
}

/* 댓글 섹션 */

.schedule-detail__comments {
  background: var(--surface-panel);
  border: 1px solid color-mix(in srgb, var(--text-primary) 6%, transparent);
  border-radius: 12px;
  padding: 32px;
}

.schedule-detail__comments-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 24px;
}

.schedule-detail__comment-form {
  margin-bottom: 32px;
}

.schedule-detail__comment-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--text-primary) 10%, transparent);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 8px;
  box-sizing: border-box;
}

.schedule-detail__comment-input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.schedule-detail__comment-submit {
  padding: 8px 20px;
  background: var(--accent-primary);
  color: var(--surface-panel);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.schedule-detail__login-hint {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 16px;
  background: var(--surface-muted);
  border-radius: 8px;
  margin-bottom: 24px;
}

.schedule-detail__login-hint button {
  background: none;
  border: none;
  color: var(--accent-text);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.schedule-detail__comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.schedule-detail__comment {
  padding: 16px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--text-primary) 4%, transparent);
}

.schedule-detail__comment:last-child {
  border-bottom: none;
}

.schedule-detail__comment-content {
  margin-bottom: 4px;
}

.schedule-detail__comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.schedule-detail__comment-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.schedule-detail__comment-time {
  font-size: 12px;
  color: var(--text-tertiary);
}

.schedule-detail__comment-delete {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 12px;
  cursor: pointer;
}

.schedule-detail__comment-delete:hover {
  color: var(--accent-primary);
}

.schedule-detail__comment-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0;
}

.schedule-detail__reply-toggle {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  padding: 4px 0;
  margin-top: 4px;
}

.schedule-detail__reply-toggle:hover {
  color: var(--accent-text);
}

.schedule-detail__reply-form {
  margin-top: 8px;
  padding-left: 24px;
}

.schedule-detail__reply-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  padding-left: 24px;
  border-left: 2px solid color-mix(in srgb, var(--text-primary) 6%, transparent);
}

.schedule-detail__comment--reply {
  border-bottom: none;
  padding: 8px 0;
}

/* === Settings Panel UI/UX Upgrade (T1-T3, 2026-06-25) ===
   단일 깔끔한 패널, DESIGN.md 토큰 통일, 모바일 bottom sheet.
   기존 규칙 override. */

/* 메인 설정 패널: 단일 surface, 이중 배경 제거 */
.schedule-admin-toolbar-shell .data-board-toolbar-stack > .schedule-settings-panel,
.schedule-admin-toolbar-shell .data-board-toolbar-stack > .schedule-admin-toolbar-panel--notion {
  background: var(--surface-panel);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  box-shadow: 0 12px 36px color-mix(in srgb, var(--text-primary) 10%, transparent);
  padding: 0;
  gap: 0;
  width: min(600px, calc(100vw - 48px));
  max-height: min(680px, calc(100dvh - 120px));
  overflow: hidden;
}

/* 헤더: sticky, 닫기와 함께 정렬 */
.schedule-settings-panel .schedule-toolbar-panel__header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface-panel);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-default);
}

.schedule-settings-panel .schedule-toolbar-panel__header strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

/* 각 섹션: 일관된 간격, 명확한 구분 */
.schedule-settings-panel .schedule-settings-section {
  padding: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.schedule-settings-panel .schedule-settings-section:last-child {
  border-bottom: none;
}

.schedule-settings-panel .schedule-settings-section h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 12px;
  letter-spacing: 0;
}

/* 섹션 헤더 인라인 (보기 관리 등) */
.schedule-settings-panel .schedule-settings-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.schedule-settings-panel .schedule-settings-section__header h3 {
  margin: 0;
}

.schedule-settings-panel .schedule-settings-section__header button {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  background: var(--accent-soft);
  color: var(--accent-text);
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* 레이아웃 옵션 버튼 */
.schedule-settings-panel .schedule-admin-layout-options {
  display: flex;
  gap: 8px;
}

.schedule-settings-panel .schedule-admin-layout-options button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--surface-muted);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 120ms ease-out;
}

.schedule-settings-panel .schedule-admin-layout-options button:hover {
  background: var(--surface-hover);
}

.schedule-settings-panel .schedule-admin-layout-options button.active {
  background: var(--accent-soft);
  color: var(--accent-text);
  border-color: color-mix(in srgb, var(--accent-primary) 20%, transparent);
  font-weight: 600;
}

/* 설정 리스트 (보기 관리, 열 순서, 열 너비) */
.schedule-settings-panel .schedule-settings-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.schedule-settings-panel .schedule-settings-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 14px;
}

.schedule-settings-panel .schedule-settings-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  cursor: pointer;
}

.schedule-settings-panel .schedule-settings-list input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-primary);
  cursor: pointer;
}

/* 인라인 액션 버튼 (위로/아래로/고정) */
.schedule-settings-panel .schedule-settings-inline-actions {
  display: flex;
  gap: 4px;
}

.schedule-settings-panel .schedule-settings-inline-actions button {
  padding: 4px 8px;
  background: var(--surface-muted);
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 120ms ease-out;
}

.schedule-settings-panel .schedule-settings-inline-actions button:hover:not(:disabled) {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.schedule-settings-panel .schedule-settings-inline-actions button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.schedule-settings-panel .schedule-settings-inline-actions button[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent-text);
}

/* 버튼 행 (필터, 정렬) */
.schedule-settings-panel .schedule-settings-button-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.schedule-settings-panel .schedule-settings-button-row button {
  padding: 8px 14px;
  background: var(--surface-muted);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 120ms ease-out;
}

.schedule-settings-panel .schedule-settings-button-row button:hover {
  background: var(--surface-hover);
}

.schedule-settings-panel .schedule-settings-button-row button[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent-text);
  border-color: color-mix(in srgb, var(--accent-primary) 20%, transparent);
  font-weight: 600;
}

/* 칩 행 (보기 형식 선택) */
.schedule-settings-panel .schedule-settings-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border: none;
  padding: 8px 0 0;
}

.schedule-settings-panel .schedule-settings-chip-row label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
}

.schedule-settings-panel .schedule-settings-chip-row input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--accent-primary);
}

/* 속성 패널 (T3): 설정 패널과 동일 토큰 */
.schedule-property-panel {
  background: transparent;
  border: none;
  padding: 0;
}

.schedule-property-panel__search input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.schedule-property-panel__search input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.schedule-property-panel__bulk {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.schedule-property-panel__bulk button {
  padding: 6px 12px;
  background: var(--surface-muted);
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
}

.schedule-property-panel__bulk button:hover {
  background: var(--surface-hover);
}

/* === T2: 모바일 설정창 bottom sheet === */
@media (max-width: 768px) {
  .schedule-admin-toolbar-shell .data-board-toolbar-stack > .schedule-settings-panel,
  .schedule-admin-toolbar-shell .data-board-toolbar-stack > .schedule-admin-toolbar-panel--notion {
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 16px 16px 0 0;
    border: none;
    box-shadow: 0 -12px 36px color-mix(in srgb, var(--text-primary) 12%, transparent);
    overflow-y: auto;
    animation: settings-slide-up 240ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .schedule-settings-panel .schedule-toolbar-panel__header {
    border-radius: 16px 16px 0 0;
    padding: 16px 16px 12px;
  }

  .schedule-settings-panel .schedule-toolbar-panel__header::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background: var(--border-default);
    border-radius: 2px;
    margin: 0 auto 12px;
  }

  .schedule-settings-panel .schedule-settings-section {
    padding: 16px;
  }

  .schedule-settings-panel .schedule-admin-layout-options {
    flex-wrap: wrap;
  }
}

@keyframes settings-slide-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
