.projects-list__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.projects-list__filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.3;
}

.projects-list__filter-chip:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.projects-list__filter-chip--active {
  border-color: #0369a1;
  background: #e0f2fe;
  color: #0c4a6e;
}

.projects-list__filter-count {
  font-weight: 500;
  color: #64748b;
}

.projects-list__filter-chip--active .projects-list__filter-count {
  color: #0369a1;
}

.projects-list__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  table-layout: fixed;
}

.projects-list__table col.col-category {
  width: 15%;
}

.projects-list__table col.col-year {
  width: 5%;
}

.projects-list__table col.col-mode {
  width: 8%;
}

.projects-list__table col.col-reorder {
  width: 5%;
}

.projects-list__table col.col-title {
  width: 42%;
}

.projects-list__table col.col-actions {
  width: 20%;
}

.projects-list__table th,
.projects-list__table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: middle;
  overflow: hidden;
}

.projects-list__col-category {
  max-width: 7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.projects-list__col-year {
  width: auto;
  min-width: max-content;
  max-width: none;
  text-align: center;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.projects-list__col-title {
  width: 42%;
  max-width: 42%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.projects-list__col-reorder {
  width: 3.25rem;
  min-width: 3.25rem;
  max-width: 3.25rem;
  text-align: center;
  white-space: nowrap;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
  vertical-align: middle;
}

.projects-list__col-reorder-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
}

.projects-list__col-reorder .projects-list__reorder {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  margin: 0;
  vertical-align: middle;
}

.projects-list__col-mode {
  width: 4.25rem;
  min-width: 4.25rem;
  max-width: 4.25rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.projects-list__mode {
  display: inline-block;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.projects-list__mode--manual {
  background: #f1f5f9;
  color: #475569;
}

.projects-list__mode--auto {
  background: #e0f2fe;
  color: #0369a1;
}

.projects-list__title-text {
  font-weight: 600;
  color: #0f172a;
}

.projects-list__col-actions {
  width: 14.5rem;
  min-width: 14.5rem;
  white-space: nowrap;
  text-align: right;
  overflow: visible;
}

.projects-list__table td.projects-list__col-year,
.projects-list__table th.projects-list__col-year {
  overflow: visible;
}

.projects-list__table td.projects-list__col-reorder {
  overflow: visible;
}

.projects-list__table th {
  background: #f8fafc;
  font-weight: 700;
  color: #334155;
}

.projects-list__admin-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.projects-list__admin-user {
  font-size: 0.88rem;
  color: #64748b;
  margin-right: auto;
}

.projects-list__col-title a {
  display: inline;
  word-break: break-word;
}

.projects-list__reorder {
  margin-right: 0;
  vertical-align: middle;
}

.project-detail__body {
  margin: 1rem 0 1.25rem;
  line-height: 1.65;
  color: #334155;
  font-size: 0.96rem;
}

.project-detail__body h2,
.project-detail__body h3 {
  margin: 1.25rem 0 0.5rem;
  color: #0f172a;
  line-height: 1.35;
}

.project-detail__body h2 {
  font-size: 1.15rem;
}

.project-detail__body h3 {
  font-size: 1.02rem;
}

.project-detail__body p {
  margin: 0 0 0.75rem;
}

.project-detail__body ul,
.project-detail__body ol {
  margin: 0 0 0.85rem 1.25rem;
  padding: 0;
}

.project-detail__body li {
  margin: 0.25rem 0;
}

.project-detail__body a {
  color: #0b5cab;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.project-detail__body blockquote {
  margin: 0.75rem 0;
  padding: 0.65rem 0.9rem;
  border-left: 3px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
}

.browser-admin-dialog__rte-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.browser-admin-dialog__rte-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
}

.browser-admin-dialog__rte-hint {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
}

.rte {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.rte__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  align-items: center;
}

.rte__toolbar-spacer {
  flex: 1 1 auto;
  min-width: 0.5rem;
}

.rte__btn--tab-active {
  background: #dbeafe;
  border-color: #60a5fa;
  color: #1d4ed8;
}

.rte__body {
  position: relative;
}

.rte__preview {
  min-height: 10rem;
  max-height: 18rem;
  overflow: auto;
  padding: 0.75rem 0.85rem;
  background: #fff;
}

.rte__preview-empty {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

.rte--preview .rte__toolbar [data-cmd] {
  opacity: 0.45;
  pointer-events: none;
}

.rte__btn {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #334155;
  font-size: 0.78rem;
  line-height: 1.2;
  padding: 0.28rem 0.5rem;
  cursor: pointer;
}

.rte__btn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.rte__btn--muted {
  color: #64748b;
}

.rte__editor {
  min-height: 10rem;
  max-height: 18rem;
  overflow: auto;
  padding: 0.75rem 0.85rem;
  outline: none;
}

.rte__editor--empty::before {
  content: attr(data-placeholder);
  color: #94a3b8;
  pointer-events: none;
}

.rte__editor:focus {
  box-shadow: inset 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.projects-list__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  white-space: nowrap;
  overflow: visible;
}

.projects-list__table td.projects-list__actions,
.projects-list__table th.projects-list__col-actions {
  overflow: visible;
}

.projects-list__table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.projects-list__actions .btn {
  margin: 0.15rem 0.15rem 0.15rem 0;
}

.projects-list__badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  background: #fef3c7;
  color: #92400e;
}

.projects-list__login {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.projects-list__empty {
  color: #64748b;
  padding: 2rem 0;
}

.projects-list__thumb-item {
  margin: 0 0 0.75rem;
  max-width: 220px;
}

.projects-list__thumb-item img {
  display: block;
  max-width: 220px;
  max-height: 140px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-bottom: 0.35rem;
}

.projects-list__thumb-preview img {
  display: block;
  max-width: 220px;
  max-height: 140px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-bottom: 0.75rem;
}

.projects-list__gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.projects-list__gallery-item {
  margin: 0;
  max-width: 120px;
}

.projects-list__gallery-item img {
  display: block;
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  margin-bottom: 0.35rem;
}

.projects-list__gallery-empty {
  color: #64748b;
  font-size: 0.88rem;
  margin: 0.5rem 0;
}

.home-projects .projects-list__table-wrap {
  width: 100%;
  overflow-x: visible;
}

.home-projects-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
  table-layout: fixed;
}

.home-projects__summary {
  margin: 0 0 1rem;
}

.home-projects__summary-label {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: -0.01em;
}

.home-projects__summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.home-projects__summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.home-projects__summary-chip:hover,
.home-projects__summary-chip:focus-visible {
  border-color: #0369a1;
  background: #e0f2fe;
  color: #0c4a6e;
  outline: none;
}

.home-projects__summary-count {
  font-weight: 700;
  color: #0369a1;
}

.home-projects__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 0.25rem;
}

.home-projects__more-hint {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
  text-align: center;
}

.home-projects__more-hint strong {
  color: #0f4f9f;
  font-weight: 700;
}

.home-projects__footer .home-section-more {
  margin-left: 0;
}

.home-projects__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.home-projects__toolbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.home-section-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  padding: 0.5rem 1.2rem;
  margin-left: auto;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
  color: #0f4f9f;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 79, 159, 0.08);
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease,
    color 0.15s ease;
}

.home-section-more:hover,
.home-section-more:focus-visible {
  border-color: #3b82f6;
  background: #dbeafe;
  color: #0369a1;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
  outline: none;
}

.home-section-more__icon {
  display: inline-block;
  font-size: 1.05em;
  line-height: 1;
  transition: transform 0.15s ease;
}

.home-section-more:hover .home-section-more__icon,
.home-section-more:focus-visible .home-section-more__icon {
  transform: translateX(3px);
}

.home-projects__login {
  margin-right: auto;
}

.home-projects__admin-user {
  margin-right: auto;
}

.home-catalog__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}

.home-catalog__toolbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  width: 100%;
}

.browser--admin .home-projects__actions .btn {
  margin: 0.1rem 0.15rem 0.1rem 0;
  color: #0f4f9f;
  border-color: #93c5fd;
  background: #fff;
  font-weight: 600;
}

.browser--admin .home-projects__actions .btn:hover,
.browser--admin .home-projects__actions .btn:focus-visible {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #0369a1;
}

.home-projects-table col.col-category {
  width: 16%;
}

.home-projects-table col.col-mode {
  width: 12%;
}

.home-projects-table col.col-year {
  width: 10%;
}

.home-projects-table col.col-title {
  width: 62%;
}

.home-projects-table th,
.home-projects-table td {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid #dbe5ee;
  text-align: left;
  font-size: 0.92rem;
  vertical-align: middle;
  overflow: hidden;
}

.home-projects-table .projects-list__col-category {
  width: auto;
  min-width: 0;
  max-width: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-projects-table .projects-list__col-mode {
  width: auto;
  min-width: 0;
  max-width: none;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.home-projects-table .projects-list__col-year {
  width: auto;
  min-width: 0;
  max-width: none;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-projects-table .projects-list__col-title {
  width: auto;
  min-width: 0;
  max-width: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
}

.home-projects-table .projects-list__col-title a,
.home-projects-table .projects-list__col-title .projects-list__title-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-projects-table .projects-list__col-actions {
  width: 4.5rem;
  white-space: nowrap;
  text-align: right;
}

.home-projects-more {
  display: none;
}

/* Admin dialog (catalog-browser와 동일 토큰) */
.browser-admin-toast {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 10050;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
  max-width: min(92vw, 420px);
}

.browser-admin-toast--ok {
  background: #ebfbee;
  color: #2b8a3e;
  border: 1px solid #b2f2bb;
}

.browser-admin-toast--err {
  background: #fff5f5;
  color: #c92a2a;
  border: 1px solid #ffc9c9;
}

.browser-admin-dialog {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.45);
}

.browser-admin-dialog__panel {
  width: min(100%, 480px);
  max-height: 90vh;
  overflow: auto;
  padding: 1.25rem 1.35rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.2);
}

.browser-admin-dialog__panel--wide {
  width: min(100%, 560px);
}

.browser-admin-dialog__title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.browser-admin-dialog label {
  display: block;
  margin: 0.65rem 0 0.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
}

.browser-admin-dialog input,
.browser-admin-dialog select,
.browser-admin-dialog textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.45rem 0.55rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
}

.browser-admin-dialog textarea {
  resize: vertical;
  min-height: 4rem;
}

.browser-admin-dialog__check {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500 !important;
}

.browser-admin-dialog__check input {
  width: auto;
}

.browser-admin-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.browser-admin-dialog__meta {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
}

.browser-admin-file-btn {
  display: inline-block;
  cursor: pointer;
  margin: 0;
}

.projects-list__image-toolbar {
  margin: 0.75rem 0 1rem;
}

.projects-list__image-toolbar-label {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.projects-list__image-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 6px;
}

.projects-list__image-toolbar-actions:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.projects-list__image-paste-hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: #64748b;
}

.browser--admin .projects-list__table a {
  font-weight: 600;
}
