:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-alt: #fbfcfd;
  --border: #d6dee8;
  --border-soft: #ebf0f5;
  --text: #182134;
  --muted: #5d6c83;
  --muted-soft: #7b8aa0;
  --primary: #2461e9;
  --primary-ghost: #e6f0ff;
  --success: #007c43;
  --success-ghost: #cdf9e1;
  --warning: #ae500a;
  --warning-ghost: #feeeb0;
  --purple: #9434eb;
  --purple-ghost: #f4ebff;
  --danger: #d02323;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-soft: 0 20px 40px rgba(24, 33, 52, 0.04);
  --font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-family);
}

body {
  min-width: 1440px;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

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

.hidden {
  display: none !important;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.topbar-left,
.topbar-right,
.global-nav {
  display: flex;
  align-items: center;
}

.topbar-left {
  gap: 18px;
}

.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #a7e0ff 0%, #5f8ced 50%, #1835d4 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.brand-mark span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: #ffffff;
}

.brand-mark span:first-child {
  top: 5px;
  left: 5px;
}

.brand-mark span:last-child {
  right: 5px;
  bottom: 5px;
}

.global-nav {
  gap: 6px;
}

.global-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 24px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

.global-nav a.is-active {
  color: var(--text);
  border-bottom: 2px solid var(--primary);
}

.topbar-right {
  gap: 8px;
}

.workspace-switcher,
.icon-button,
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.workspace-switcher {
  gap: 10px;
  width: 320px;
  padding: 0 12px;
  justify-content: flex-start;
  color: var(--text);
}

.workspace-thumb {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, #c8e7ff, #7bb4ff);
  border: 1px solid var(--border);
}

.caret {
  margin-left: auto;
  color: var(--muted-soft);
}

.icon-button {
  width: 40px;
  color: var(--muted);
  font-size: 18px;
}

.icon-button.subtle {
  width: 32px;
  height: 32px;
}

.avatar {
  width: 40px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: var(--primary);
  font-weight: 700;
}

.app-layout {
  display: flex;
  align-items: stretch;
}

.sidebar {
  position: sticky;
  top: 64px;
  align-self: flex-start;
  width: 384px;
  min-height: calc(100vh - 64px);
  padding: 24px 20px 28px;
  background: var(--surface);
  border-right: 1px solid var(--border);
}

.project-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: var(--shadow-soft);
}

.project-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.project-id {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

.project-card-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.project-card-copy {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.badge-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  background: var(--border-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.badge-warn {
  background: var(--warning-ghost);
  color: var(--warning);
}

.sidebar-group {
  margin-top: 26px;
}

.sidebar-group-label {
  margin-bottom: 10px;
  padding: 0 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.sidebar-link {
  display: block;
  padding: 12px 16px 12px 28px;
  border-radius: 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
}

.sidebar-link:hover {
  background: var(--surface-alt);
}

.sidebar-link.is-active {
  background: var(--primary-ghost);
  color: var(--primary);
}

.sidebar-link.danger {
  color: var(--danger);
}

.main-content {
  flex: 1;
  min-width: 0;
}

.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 40px 13px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.breadcrumbs strong {
  color: var(--text);
  font-weight: 500;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.button.primary {
  background: var(--primary);
  color: #ffffff;
}

.button.small {
  height: 32px;
  padding: 0 14px;
  font-size: 14px;
}

.button.secondary {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.page-section {
  padding: 32px 24px 40px;
}

.section-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  max-width: 1760px;
  margin: 0 auto 24px;
}

.section-title-row h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
}

.section-title-row p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 24px;
}

.summary-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.metric-pill.accent {
  background: var(--primary-ghost);
  border-color: transparent;
  color: var(--primary);
}

.metric-pill.success {
  background: var(--success-ghost);
  border-color: transparent;
  color: var(--success);
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1760px;
  margin: 0 auto 8px;
}

.filter-button {
  gap: 6px;
}

.search-box {
  position: relative;
  flex: 1;
  height: 40px;
}

.search-box input {
  width: 100%;
  height: 100%;
  padding: 0 14px 0 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  outline: none;
}

.search-box input::placeholder {
  color: var(--muted-soft);
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--muted-soft);
}

.view-toggle {
  display: inline-flex;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--border-soft);
}

.view-tab {
  width: 40px;
  height: 40px;
  border-right: 1px solid var(--border);
  color: var(--muted-soft);
  background: transparent;
  font-size: 18px;
}

.view-tab:last-child {
  border-right: 0;
}

.view-tab.is-active {
  background: var(--surface);
  color: var(--text);
}

.toolbar-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.table-shell,
.cards-shell,
.board-shell {
  max-width: 1760px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}

.table-scroll {
  overflow: auto;
}

.dataset-table {
  width: 100%;
  min-width: 1680px;
  border-collapse: collapse;
}

.dataset-table thead tr {
  background: var(--surface-alt);
}

.dataset-table th,
.dataset-table td {
  border-bottom: 1px solid var(--border-soft);
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
}

.dataset-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.dataset-table td {
  height: 64px;
  font-size: 14px;
  line-height: 20px;
}

.expand-col {
  width: 52px;
}

.checkbox-col {
  width: 56px;
}

.action-col {
  width: 64px;
}

.dataset-id-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cell-subtle {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}

.thumbnail {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #edf4ff, #dbe9ff);
  border: 1px solid var(--border);
}

.row-expander {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--primary);
  background: var(--surface);
  transition: transform 120ms ease, background-color 120ms ease;
}

.row-expander.is-expanded {
  transform: rotate(180deg);
}

.row-expander:disabled {
  color: var(--muted-soft);
  background: var(--surface-alt);
  cursor: default;
}

.link-cell {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.version-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.version-cell strong {
  color: var(--primary);
  font-size: 14px;
}

.version-cell span {
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

.status-pill.waiting {
  background: var(--border-soft);
  color: var(--muted);
}

.status-pill.progress {
  background: var(--primary-ghost);
  color: var(--primary);
}

.status-pill.complete {
  background: var(--success-ghost);
  color: var(--success);
}

.status-pill.needs-review {
  background: var(--purple-ghost);
  color: var(--purple);
}

.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--border-soft);
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--primary);
}

.document-row.is-expanded {
  background: #fcfdff;
}

.version-row td {
  height: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  background: #f8fbff;
}

.version-row.is-current td {
  background: #f3f8ff;
}

.version-row-label {
  display: flex;
  align-items: center;
  gap: 0;
}

.version-flag,
.version-action-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}

.version-flag.current {
  color: var(--success);
  font-weight: 600;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(24, 33, 52, 0.08);
}

.detail-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 576px;
  height: 100%;
  border-left: 1px solid var(--border);
  background: var(--surface);
  box-shadow: -24px 0 48px rgba(24, 33, 52, 0.08);
}

.drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 36px 20px;
}

.drawer-header h2 {
  margin: 0;
  font-size: 26px;
  line-height: 36px;
  font-weight: 700;
}

.drawer-header p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.drawer-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.drawer-scroll {
  height: calc(100% - 104px);
  overflow: auto;
  padding: 0 36px 48px;
}

.drawer-version-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.version-state-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--border-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.version-state-pill.is-current {
  background: var(--success-ghost);
  color: var(--success);
}

.preview-panel {
  margin-top: 8px;
}

.document-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 328px;
  padding: 24px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, #f4f6f8 0%, #eef2f7 100%);
}

.document-paper {
  width: 100%;
  max-width: 432px;
  padding: 24px;
  border: 1px solid #dfe6ef;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(24, 33, 52, 0.06);
}

.document-paper-head,
.document-chip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.document-badge,
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.document-badge {
  background: var(--primary-ghost);
  color: var(--primary);
}

.document-badge.muted {
  background: var(--border-soft);
  color: var(--muted);
}

.document-paper-title {
  margin-top: 18px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  word-break: break-word;
}

.document-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 22px;
}

.document-lines span {
  display: block;
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: #dfe6ef;
}

.document-lines span.w-80 {
  width: 80%;
}

.document-lines span.w-60 {
  width: 60%;
}

.document-lines span.accent {
  width: 72%;
  background: #feeeb0;
}

.document-chip-row {
  margin-top: 24px;
}

.chip-text {
  background: var(--border-soft);
  color: var(--muted);
}

.chip-table {
  background: var(--warning-ghost);
  color: var(--warning);
}

.chip-figure {
  background: var(--purple-ghost);
  color: var(--purple);
}

.version-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.version-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-alt);
  text-align: left;
}

.version-history-item.is-active {
  border-color: rgba(36, 97, 233, 0.24);
  background: #f4f8ff;
}

.version-history-main,
.version-history-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.version-history-main span,
.version-history-archived {
  color: var(--muted);
  font-size: 12px;
}

.version-history-current {
  color: var(--success);
  font-size: 12px;
  font-weight: 600;
}

.drawer-section {
  margin-top: 28px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-actions {
  display: flex;
  gap: 8px;
}

.drawer-section h3 {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
}

.info-list {
  margin: 0;
}

.info-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}

.info-row dt {
  color: #5f7393;
  font-size: 16px;
  line-height: 24px;
}

.info-row dd {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
  word-break: break-word;
}

.info-value {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
}

.info-input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  outline: none;
}

.meta-empty {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.meta-custom-editor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--border-soft);
}

.meta-editor-copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.custom-value-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-value-row .info-input {
  flex: 1;
}

.meta-delete-button {
  flex: 0 0 auto;
  color: var(--danger);
}

.cards-shell {
  padding: 20px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}

.dataset-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.dataset-card-header,
.dataset-card-meta,
.board-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dataset-card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
}

.card-version-copy {
  margin-top: 4px;
  color: var(--primary);
  font-size: 13px;
  line-height: 18px;
}

.dataset-card-sub {
  color: var(--muted);
  font-size: 14px;
}

.dataset-card-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stat-box {
  padding: 12px;
  border-radius: 14px;
  background: var(--surface-alt);
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}

.stat-value {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.board-shell {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 16px;
  background: transparent;
  border: 0;
}

.board-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 560px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.board-column h2 {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.board-column p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.board-card {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: var(--shadow-soft);
}

.board-card-title {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.board-card-copy {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}

.board-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(24, 33, 52, 0.26);
}

.upload-modal {
  width: min(760px, 100%);
  max-height: calc(100vh - 64px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 32px 80px rgba(24, 33, 52, 0.18);
}

.upload-modal-header,
.upload-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
}

.upload-modal-header {
  border-bottom: 1px solid var(--border-soft);
}

.upload-modal-header h2,
.upload-result-copy h3 {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
}

.upload-modal-header p,
.upload-result-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

.upload-modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 28px;
}

.upload-pick-panel,
.upload-result-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.upload-result-section {
  align-items: stretch;
}

.upload-result-copy {
  flex: 1 1 0;
}

.upload-result-panel {
  flex: 0 0 280px;
}

.upload-pick-eyebrow {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.upload-picked-file {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  line-height: 26px;
}

.upload-picked-meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.upload-placeholder,
.upload-compare-card {
  height: 100%;
  padding: 18px;
  border-radius: 18px;
  background: #f4f8ff;
}

.upload-placeholder strong {
  display: block;
  font-size: 16px;
}

.upload-placeholder p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}

.upload-compare-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.upload-compare-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.upload-compare-row span {
  color: var(--muted);
  font-size: 13px;
}

.upload-compare-row strong {
  max-width: 160px;
  text-align: right;
  font-size: 14px;
  line-height: 20px;
  word-break: break-word;
}

.upload-modal-footer {
  border-top: 1px solid var(--border-soft);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1760px;
  margin: 16px auto 0;
  padding: 0 8px;
}

.page-size {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
}

.page-size select {
  border: 0;
  background: transparent;
  color: var(--muted);
  outline: none;
}

.page-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  color: var(--muted);
}

.page-indicator input {
  width: 64px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  text-align: center;
}

@media (max-width: 1680px) {
  body {
    min-width: 1280px;
  }

  .sidebar {
    width: 320px;
  }

  .section-title-row {
    flex-direction: column;
  }
}
