.dc-header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dc-header-inner {
  width: 98%;
  max-width: 98%;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dc-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.dc-brand:hover {
  color: inherit;
}

.dc-logo {
  height: 52px;
  width: auto;
}

.dc-brand-text h1 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.dc-brand-text p {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}

.dc-main {
  background: #f5f6f8;
  min-height: calc(100vh - 80px);
  padding: 1.5rem;
}

.dc-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dc-page-main {
  flex: 1;
  min-height: 0;
}

.dc-scroll-panel {
  max-height: calc(100vh - 220px);
  overflow: auto;
}

.dc-tipbar {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}

.dc-tipbar-inner {
  width: 98%;
  max-width: 98%;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  color: #555;
}

.dc-container {
  width: 98%;
  max-width: 98%;
  margin: 0 auto;
}

.dc-panel {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

.dc-sidebar .dc-panel {
  min-height: 420px;
}

.dc-tree {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dc-tree-children {
  list-style: none;
  margin: 0.15rem 0 0.15rem 0.65rem;
  padding: 0 0 0 0.55rem;
  border-left: 2px solid #e5e9f0;
}

.dc-tree-details {
  margin: 0;
}

.dc-tree-row {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding-left: calc(0.35rem + var(--tree-depth, 0) * 0.9rem);
}

.dc-tree-summary {
  list-style: none;
  cursor: pointer;
}

.dc-tree-summary::-webkit-details-marker {
  display: none;
}

.dc-tree-caret {
  width: 1.25rem;
  text-align: center;
  color: #777;
  font-size: 0.9rem;
  flex: 0 0 1.25rem;
  line-height: 1;
}

.dc-tree-caret--spacer {
  visibility: hidden;
}

.dc-tree-details[open] > .dc-tree-summary .dc-tree-caret {
  transform: rotate(90deg);
}

.dc-tree-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
  padding: 0.45rem 0.5rem;
  border-radius: 6px;
  color: #363636;
  text-decoration: none;
}

.dc-tree-link:hover {
  background: #f0f4ff;
  color: #1a3a7a;
}

.dc-tree-link.is-active {
  background: #e8eef9;
  color: #1a3a7a;
  font-weight: 600;
}

.dc-link-plain {
  color: inherit;
  text-decoration: none;
}

.dc-link-plain:hover {
  text-decoration: underline;
}

.dc-resource-table tr.dc-row-selected td {
  background: #f3f7ff;
  color: #1f2a44;
}

.dc-resource-table tr.dc-row-selected td .tag {
  color: #1f2a44;
}

.dc-sidebar-divider {
  list-style: none;
  margin: 10px 0;
  padding: 0;
  border-top: 1px solid #e3e8f0;
  height: 0;
}

.dc-wp-detail {
  position: sticky;
  top: 12px;
  max-height: calc(100vh - 260px);
  overflow: auto;
  padding-right: 2.25rem;
}

.dc-wp-detail-header {
  padding-right: 0.5rem;
}

.dc-wp-detail-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 4px;
  color: #6b7280;
  font-size: 1.35rem;
  line-height: 1;
  text-decoration: none;
}

.dc-wp-detail-close:hover {
  background: #eef3fb;
  color: #1f2a44;
  text-decoration: none;
}

.dc-wp-actions-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  justify-content: flex-end;
}

.dc-docs-col-preview {
  width: 4.5rem;
  white-space: nowrap;
}

.dc-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #4a4a4a;
  text-decoration: none;
}

.dc-preview-link:hover {
  color: #1a3a7a;
  text-decoration: none;
}

.dc-preview-link--icon-only {
  padding: 0.25rem 0.35rem;
  border-radius: 4px;
}

.dc-preview-link--icon-only:hover {
  background: #eef3fb;
}

.dc-preview-link-icon {
  display: inline-flex;
  line-height: 0;
}

.dc-row-selected .dc-preview-link {
  color: #1a3a7a;
}

.dc-external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #1a3a7a;
  text-decoration: none;
}

.dc-external-link:hover {
  color: #0f2a5c;
  text-decoration: underline;
}

.dc-external-link--icon-only {
  padding: 0.25rem 0.35rem;
  border-radius: 4px;
}

.dc-external-link--icon-only:hover {
  background: #eef3fb;
  text-decoration: none;
}

.dc-external-link-icon {
  display: inline-flex;
  line-height: 0;
}

.dc-resource-table {
  width: 100%;
}

.dc-resource-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #888;
  border-bottom: 2px solid #eee;
}

.dc-resource-table td {
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f0;
}

.dc-resource-card-selected {
  border-color: #b8c9e8;
  background: #f3f7ff;
}

.dc-resource-card-link {
  display: block;
  text-decoration: none;
}

.dc-resource-card-link:hover {
  text-decoration: none;
}

.dc-resource-detail {
  position: relative;
}

.dc-resource-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.35rem 0 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.dc-resource-meta-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  min-width: 0;
}

.dc-resource-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.dc-resource-meta-status .dc-status-picker-trigger {
  max-width: 11rem;
}

.dc-status-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--status-color, #9ca3af);
  flex-shrink: 0;
}

.dc-status-picker-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  appearance: none;
  border: none;
  border-radius: 4px;
  padding: 0.22rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  background: color-mix(in srgb, var(--status-color, #9ca3af) 24%, #ffffff);
  color: var(--status-text, #1f2937);
  cursor: pointer;
  max-width: 10rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.dc-status-picker-trigger:hover {
  filter: brightness(0.97);
}

.dc-status-picker-trigger--readonly {
  cursor: default;
}

.dc-status-picker-trigger--readonly:hover {
  filter: none;
}

.dc-status-picker-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.dc-status-picker-choice {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  text-align: left;
}

.dc-status-picker-item .dc-status-dot {
  background: var(--status-color, #9ca3af);
}

.dc-kanban-column-header {
  border-top: 3px solid var(--status-color, #e5e7eb);
  padding-top: 0.5rem;
}

.dc-kanban-column-header .title {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dc-status-color-input {
  width: 2.5rem;
  min-width: 2.5rem;
  height: 2rem;
  padding: 0.1rem;
  cursor: pointer;
}

.dc-inline-form {
  display: inline;
  margin: 0;
}

.dc-subtask-panel-table {
  font-size: 0.8125rem;
}

.dc-subtask-panel-table th {
  font-size: 0.7rem;
}

.dc-resource-meta-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.dc-icon-btn {
  appearance: none;
  border: none;
  background: transparent;
  width: 2rem;
  height: 2rem;
  border-radius: 4px;
  cursor: pointer;
  color: #555;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.dc-icon-btn:hover {
  background: #f0f0f0;
  color: #111;
}

.dc-icon-btn--danger:hover {
  background: #feecf0;
  color: #cc0f35;
}

.dc-has-file-icon {
  font-size: 0.85rem;
  margin-left: 0.25rem;
  opacity: 0.75;
  vertical-align: middle;
}

.dc-resource-files-section {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eee;
}

.dc-resource-files-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dc-resource-files-list li + li {
  margin-top: 0.35rem;
}

.dc-resource-detail-body {
  max-height: 40vh;
  overflow: auto;
}

.dc-resource-icon {
  width: 2rem;
  text-align: center;
}

.dc-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #888;
}

.dc-meta {
  font-size: 0.85rem;
  color: #777;
}

.dc-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.dc-back-link:hover {
  color: #555;
  text-decoration: underline;
}

.dc-back-link-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.dc-page-content {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1.25rem;
  background: #fafafa;
  line-height: 1.55;
  word-wrap: break-word;
}

.dc-page-content p {
  margin: 0.5rem 0;
}

.dc-page-content h1,
.dc-page-content h2,
.dc-page-content h3,
.dc-page-content h4,
.dc-page-content h5,
.dc-page-content h6 {
  margin: 1rem 0 0.5rem;
  font-weight: 700;
}

.dc-page-content ul,
.dc-page-content ol {
  margin: 0.75rem 0;
  padding-left: 1.75rem;
}

.dc-page-content li {
  margin: 0.35rem 0;
}

.dc-page-content li > p {
  margin: 0;
}

.dc-page-content a {
  color: #3273dc;
  text-decoration: underline;
}

.dc-page-content mark {
  background-color: #ffff00;
  padding: 0 0.1em;
}

.dc-page-content hr {
  border: 0;
  border-top: 1px solid #dbdbdb;
  margin: 1rem 0;
}

.dc-page-content table {
  border-collapse: collapse;
  margin: 0.75rem 0;
}

.dc-page-content th,
.dc-page-content td {
  border: 1px solid #dbdbdb;
  padding: 0.35rem 0.5rem;
}

.dc-page-content .dc-imported-image-note {
  color: #4a4a4a;
  font-size: 0.95rem;
  font-style: italic;
  margin: 0.5rem 0;
}

.dc-attached-image-preview {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid #dbdbdb;
  border-radius: 6px;
  background: #fff;
}

.dc-login-card {
  max-width: 420px;
  margin: 4rem auto;
}

.dc-type-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.dc-type-tab {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid #dbdbdb;
  text-decoration: none;
  color: #363636;
  background: #fff;
}

.dc-type-tab.is-active {
  background: #485fc7;
  border-color: #485fc7;
  color: #fff;
}

.dc-kanban {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.dc-kanban-column {
  flex: 0 0 280px;
  max-width: 280px;
  background: #f5f6f8;
  border-radius: 8px;
  padding: 0.75rem;
  min-height: 200px;
}

.dc-kanban-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.dc-kanban-column-cards {
  min-height: 120px;
}

.dc-kanban-card {
  cursor: grab;
  overflow: hidden;
}

.dc-kanban-card.sortable-ghost {
  opacity: 0.45;
}

.dc-kanban-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dc-kanban-card-actions .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-start;
}

.dc-kanban-card-actions .button {
  white-space: nowrap;
}

.dc-kanban-subtasks summary {
  cursor: pointer;
  user-select: none;
}

.dc-kanban-subtask-card {
  background: #fff;
  border: 1px solid #e8e8e8;
}

.dc-project-folder-header-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.dc-project-folder-header-summary::-webkit-details-marker {
  display: none;
}

.dc-project-folder-header[open] > .dc-project-folder-header-summary .dc-tree-caret {
  transform: rotate(90deg);
}

.dc-project-folder-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dc-project-folder-toolbar .dc-project-folder-header {
  flex: 1;
  min-width: 0;
}

.dc-project-folder-actions {
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.dc-project-folder-details {
  width: 100%;
  padding-top: 0.75rem;
  border-top: 1px solid #eee;
  margin-top: 0.75rem;
}

.dc-task-table-wrap {
  overflow-x: auto;
}

.dc-task-table {
  font-size: 0.875rem;
}

.dc-task-table th,
.dc-task-table td {
  vertical-align: middle;
  white-space: nowrap;
}

.dc-task-table td:nth-child(3) {
  white-space: normal;
  min-width: 10rem;
}

.dc-task-col-expand {
  width: 2rem;
  padding-left: 0.5rem !important;
  padding-right: 0 !important;
}

.dc-task-expand-btn {
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #666;
  font-size: 0.75rem;
  line-height: 1;
  padding: 0.15rem 0.25rem;
}

.dc-task-expand-btn:hover {
  color: #111;
}

.dc-desc-hint {
  display: inline-flex;
  vertical-align: middle;
  outline: none;
}

.dc-desc-hint:focus-visible .dc-desc-icon {
  box-shadow: 0 0 0 2px #3273dc;
}

.dc-desc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 3px;
  background: #f0f0f0;
  color: #666;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: help;
}

.dc-desc-tooltip {
  position: fixed;
  z-index: 3000;
  max-width: 22rem;
  padding: 0.5rem 0.65rem;
  border-radius: 4px;
  background: #1f1f1f;
  color: #f5f5f5;
  font-size: 0.8rem;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.dc-task-col-desc {
  width: 6rem;
}

.dc-task-col-status {
  min-width: 8rem;
}

.dc-assignee-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #e8e8e8;
  color: #333;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: default;
}

.dc-subtask-row td {
  background: #fafafa;
  border-top: none;
}

.dc-subtask-row .pl-5 {
  padding-left: 1.5rem !important;
}

.dc-task-col-folder {
  max-width: 10rem;
}

.dc-task-col-actions {
  width: 2.75rem;
  padding-left: 0.25rem !important;
  padding-right: 0.25rem !important;
  vertical-align: middle;
}

.dc-task-group-header td {
  background: #f0f4f8;
  border-top: 1px solid #e2e8f0;
  padding-top: 0.65rem !important;
  padding-bottom: 0.45rem !important;
}

.dc-task-group-header:first-child td {
  border-top: none;
}

.dc-folder-picker-trigger {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  font: inherit;
  color: #3273dc;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: bottom;
}

.dc-folder-picker-trigger:hover {
  color: #1d5bb8;
}

.dc-folder-picker {
  position: fixed;
  z-index: 40;
  background: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(10, 10, 10, 0.14);
  min-width: 240px;
  max-width: 360px;
  max-height: min(280px, 50vh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dc-folder-picker[hidden] {
  display: none !important;
}

.dc-folder-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #eee;
  background: #fafafa;
  flex-shrink: 0;
}

.dc-folder-picker-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #444;
}

.dc-folder-picker-close {
  appearance: none;
  border: none;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 0 0.15rem;
}

.dc-folder-picker-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  overflow: auto;
  flex: 1;
  min-height: 0;
}

.dc-folder-picker-item[hidden] {
  display: none;
}

.dc-folder-picker-choice {
  appearance: none;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 0.4rem 0.75rem 0.4rem calc(0.75rem + var(--picker-depth, 0) * 1rem);
  font-size: 0.85rem;
  color: #363636;
}

.dc-folder-picker-choice:hover,
.dc-folder-picker-choice:focus {
  background: #f5f5f5;
  outline: none;
}

.dc-folder-picker-choice.is-current {
  font-weight: 600;
  color: #1d5bb8;
}

.dc-subfolder-name-cell {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.dc-subfolder-name-cell .dc-folder-picker-trigger {
  flex: 1;
  min-width: 0;
}

.dc-subfolder-open {
  flex-shrink: 0;
  color: #888;
  font-size: 0.85rem;
  text-decoration: none;
  line-height: 1;
  padding: 0.1rem 0.25rem;
}

.dc-subfolder-open:hover {
  color: #3273dc;
}

.dc-docs-name-cell {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-width: 0;
}

.dc-docs-col-icon {
  width: 2rem;
  text-align: center;
}

.dc-docs-col-download {
  width: 2.5rem;
}

.dc-download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 4px;
  background: #f0f0f0;
  color: #3273dc;
  font-size: 0.85rem;
  text-decoration: none;
}

.dc-download-icon:hover {
  background: #e3f2fd;
}

/* ——— Mobile navigation ——— */

.dc-header-start {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.dc-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.dc-header-desktop-only {
  display: inline-flex;
}

.dc-header-new-resource {
  flex-shrink: 0;
}

.dc-user-menu {
  position: relative;
}

.dc-user-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  max-width: 12rem;
}

.dc-header-user-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dc-user-menu-caret {
  font-size: 0.65rem;
  opacity: 0.7;
  flex-shrink: 0;
}

.dc-user-menu-dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 11.5rem;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 3600;
  padding: 0.35rem 0;
}

.dc-user-menu-dropdown[hidden] {
  display: none !important;
}

.dc-user-menu-item {
  display: block;
  width: 100%;
  padding: 0.5rem 0.85rem;
  text-align: left;
  color: #363636;
  text-decoration: none;
  font-size: 0.9rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.dc-user-menu-item:hover {
  background: #f5f6f8;
  color: #3273dc;
}

.dc-user-menu-item--secondary {
  font-size: 0.85rem;
  color: #666;
}

.dc-user-menu-divider {
  height: 1px;
  margin: 0.35rem 0;
  background: #eee;
}

.dc-user-menu-signout-form {
  display: block;
  margin: 0;
}

.dc-user-menu-signout-form .dc-user-menu-signout {
  width: 100%;
  border-radius: 0;
  text-align: left;
}

.dc-user-menu-signout {
  color: #cc0f35;
  font-weight: 600;
}

.dc-user-menu-signout:hover {
  background: #fff5f5;
  color: #cc0f35;
}

.dc-sidebar-mobile-header {
  display: none;
}

.dc-sidebar-desktop-heading {
  display: block;
}

.dc-sidebar-close {
  appearance: none;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: #666;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}

.dc-sidebar-close:hover {
  background: #f0f0f0;
  color: #363636;
}

.dc-page-toolbar .level-right .button {
  white-space: nowrap;
}

.dc-nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid #dbdbdb;
  background: #fff;
  border-radius: 6px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.dc-nav-toggle-bars,
.dc-nav-toggle-bars::before,
.dc-nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: #363636;
  border-radius: 1px;
  position: relative;
}

.dc-nav-toggle-bars::before,
.dc-nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.dc-nav-toggle-bars::before {
  top: -6px;
}

.dc-nav-toggle-bars::after {
  top: 6px;
}

body.dc-nav-open .dc-nav-toggle-bars {
  background: transparent;
}

body.dc-nav-open .dc-nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

body.dc-nav-open .dc-nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.dc-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(10, 10, 10, 0.45);
  cursor: pointer;
}

.dc-nav-backdrop[hidden] {
  display: none !important;
}

@media (max-width: 1023px) {
  .dc-body {
    overflow-x: hidden;
  }

  .dc-nav-toggle {
    display: inline-flex;
  }

  .dc-header-inner,
  .dc-container,
  .dc-tipbar-inner {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .dc-header-inner {
    padding: 0.65rem 1rem;
  }

  .dc-sidebar-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
  }

  .dc-sidebar-desktop-heading {
    display: none;
  }

  .dc-logo {
    height: 40px;
  }

  .dc-brand-text h1 {
    font-size: 1rem;
  }

  .dc-main {
    padding: 0.75rem;
  }

  .dc-container {
    width: 100%;
    max-width: 100%;
  }

  .dc-page-main.columns,
  .columns.is-variable.is-5:has(> .dc-sidebar) {
    display: block;
    margin: 0 !important;
  }

  .dc-page-main > .column.is-3,
  .dc-page-main > .dc-sidebar,
  .columns.is-variable.is-5:has(> .dc-sidebar) > .dc-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(300px, 88vw);
    max-width: none;
    z-index: 50;
    margin: 0;
    padding: 0;
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.dc-nav-open .dc-page-main > .dc-sidebar,
  body.dc-nav-open .columns.is-variable.is-5:has(> .dc-sidebar) > .dc-sidebar {
    transform: translateX(0);
  }

  .dc-sidebar .dc-panel {
    min-height: 100%;
    border-radius: 0;
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
  }

  .dc-page-main > .column.is-9,
  .dc-page-main > .column.is-7,
  .dc-page-main > .column.is-5,
  .dc-page-main > .column.is-12,
  .columns.is-variable.is-5:has(> .dc-sidebar) > .column {
    width: 100%;
    max-width: 100%;
    flex: none;
    padding: 0;
  }

  .dc-scroll-panel {
    max-height: none;
    overflow: visible;
  }

  .dc-page .columns.is-variable.is-4 {
    display: block;
  }

  .dc-page .columns.is-variable.is-4 > .column {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .dc-page .columns.is-variable.is-4 > .column + .column {
    margin-top: 1rem;
  }

  .dc-project-folder-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .dc-project-folder-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .dc-project-folder-actions .button {
    flex: 1;
    min-width: 0;
  }

  .dc-task-table-wrap {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
  }

  .dc-tipbar-inner {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 767px) {
  .dc-header-inner {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .dc-header-start {
    flex: 1;
    min-width: 0;
  }

  .dc-header-actions {
    width: auto;
    flex: 0 1 auto;
    flex-wrap: nowrap;
    overflow: visible;
    justify-content: flex-end;
    gap: 0.25rem;
  }

  .dc-header-actions .button {
    flex-shrink: 0;
  }

  .dc-header-new-resource,
  .dc-header-desktop-only {
    display: none !important;
  }

  .dc-user-menu-trigger {
    max-width: 7.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .dc-header-actions .tag {
    display: none;
  }

  .dc-page-toolbar.level {
    display: block;
  }

  .dc-page-toolbar .level-left,
  .dc-page-toolbar .level-right {
    width: 100%;
    margin: 0;
  }

  .dc-page-toolbar .level-right {
    margin-top: 0.75rem;
  }

  .dc-page-toolbar .level-right .level-item {
    width: 100%;
  }

  .dc-page-toolbar .level-right .button {
    width: 100%;
  }

  .dc-page .columns.is-multiline > .column.is-4 {
    width: 100%;
  }

  .dc-task-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dc-docs-table {
    min-width: 36rem;
  }

  .dc-panel {
    overflow-x: hidden;
  }

  .dc-kanban {
    flex-direction: column;
  }

  .dc-kanban-column {
    width: 100%;
    max-width: 100%;
  }
}

body.dc-nav-open {
  overflow: hidden;
}

@media (min-width: 1024px) {
  body.dc-nav-open {
    overflow: auto;
  }
}

/* Notifications */
.dc-notification-bell {
  position: relative;
}

.dc-notification-badge {
  position: absolute;
  top: -0.2rem;
  right: -0.35rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
}

.dc-notification-drawer {
  position: fixed;
  inset: 0;
  z-index: 3500;
}

.dc-notification-drawer[hidden] {
  display: none !important;
}

.dc-notification-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
}

.dc-notification-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(22rem, 100vw);
  background: #fff;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}

.dc-notification-drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.dc-notification-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.dc-notification-drawer-body {
  flex: 1;
  overflow: auto;
  min-height: 0;
}

.dc-notification-drawer-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid #eee;
  flex-shrink: 0;
}

.dc-notification-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dc-notification-item {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #f0f0f0;
}

.dc-notification-item-link {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  color: inherit;
  text-decoration: none;
}

.dc-notification-item-link:hover {
  background: #f8fafc;
}

.dc-notification-item.is-unread .dc-notification-item-link {
  background: #f0f7ff;
}

.dc-notification-unread-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #3273dc;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.dc-notification-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.dc-notification-done-btn {
  appearance: none;
  border: none;
  border-left: 1px solid #eee;
  background: #fafafa;
  color: #3273dc;
  font-size: 1rem;
  font-weight: 700;
  padding: 0 0.65rem;
  cursor: pointer;
}

.dc-notification-done-btn:hover {
  background: #eef3fb;
}

.dc-notification-sub-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.dc-notification-sub-table {
  min-width: 42rem;
}

.dc-notification-sub-table thead th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #666;
  white-space: nowrap;
  vertical-align: bottom;
}

.dc-notification-sub-table tbody td {
  vertical-align: middle;
}

.dc-notification-sub-name {
  min-width: 10rem;
  max-width: 14rem;
}

.dc-notification-sub-title {
  display: block;
  padding-left: calc(var(--tree-depth, 0) * 1rem);
  font-weight: 500;
}

.dc-notification-sub-col-watch {
  width: 3.25rem;
}

.dc-notification-sub-col-channel {
  width: 6.5rem;
  min-width: 6.5rem;
}

.dc-notification-sub-check {
  width: 3.5rem;
  white-space: nowrap;
}

.dc-notification-sub-check input[type="checkbox"] {
  vertical-align: middle;
}

.dc-notification-sub-row.is-disabled .dc-notification-sub-options {
  opacity: 0.45;
}

.dc-notification-sub-table .select select {
  font-size: 0.8rem;
}

body.dc-notification-open {
  overflow: hidden;
}

/* PWA install banner */
.dc-pwa-install-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3400;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid #e8e8e8;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.dc-pwa-install-banner[hidden] {
  display: none !important;
}

.dc-pwa-install-banner-inner {
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.dc-pwa-install-banner-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.dc-pwa-install-banner-body {
  color: #666;
}

.dc-pwa-install-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex-shrink: 0;
}

@media (display-mode: standalone) {
  .dc-pwa-install-banner:not(.dc-push-prompt-banner) {
    display: none !important;
  }
}

.dc-push-prompt-banner {
  z-index: 3410;
}

.dc-push-settings .notification.is-danger {
  margin-top: 0.5rem;
}

.dc-status-drag-handle {
  cursor: grab;
  user-select: none;
  color: #999;
  font-size: 1.1rem;
  line-height: 2;
  text-align: center;
  width: 1.75rem;
}

.dc-status-drag-handle:active {
  cursor: grabbing;
}

.dc-status-row.sortable-ghost {
  opacity: 0.45;
  background: #f5f6f8;
}

#dc-push-error {
  color: #cc0f35;
}

#dc-push-success {
  color: #257953;
}

.dc-comments-section .dc-comment-body {
  white-space: pre-wrap;
}

.dc-comments-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dc-edit-lock-banner .button.is-inline {
  vertical-align: baseline;
}

/* Google Drive import wizard */
.steps-segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps-segmented li {
  color: #7a7a7a;
  font-size: 0.9rem;
}

.steps-segmented li.is-active {
  color: #363636;
  font-weight: 600;
}

.dc-drive-browse-toolbar .field.has-addons {
  margin-bottom: 0.35rem;
}

.dc-drive-browse-toolbar .field.has-addons .input {
  border-radius: 6px 0 0 6px;
  box-shadow: none;
}

.dc-drive-browse-toolbar .field.has-addons .button {
  border-radius: 0;
  height: 2.5em;
}

.dc-drive-browse-toolbar .field.has-addons .control:last-child .button {
  border-radius: 0 6px 6px 0;
}

.dc-drive-browse-toolbar #dc-drive-search-clear.button.is-text {
  color: #4a4a4a;
  text-decoration: none;
  height: 2.5em;
}

.dc-drive-browse-toolbar #dc-drive-search-clear.button.is-text:hover {
  background: #f5f5f5;
  color: #3273dc;
}

.dc-drive-browse-panel {
  border: 1px solid #ededed;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  max-height: 520px;
  overflow-y: auto;
  background: #fff;
}

.dc-drive-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
  font-size: 0.9rem;
  padding: 0.5rem 0.65rem;
  background: #f5f5f5;
  border-radius: 6px;
  line-height: 1.4;
}

.dc-drive-breadcrumbs .dc-drive-crumb-sep {
  color: #b5b5b5;
  user-select: none;
}

.dc-drive-breadcrumbs .dc-drive-crumb-link {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #3273dc;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
}

.dc-drive-breadcrumbs .dc-drive-crumb-link:hover {
  text-decoration: underline;
}

.dc-drive-breadcrumbs .dc-drive-crumb-current {
  color: #363636;
  font-weight: 600;
}

.dc-drive-section-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7a7a7a;
  margin-bottom: 0.5rem;
}

.dc-drive-folders-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dc-drive-folder-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  background: #fafafa;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.dc-drive-folder-card:hover {
  border-color: #c5d9f5;
  background: #f6f9fe;
}

.dc-drive-folder-card input[type="checkbox"] {
  flex-shrink: 0;
  margin: 0;
}

.dc-drive-folder-open {
  appearance: none;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: #363636;
  line-height: 1.35;
}

.dc-drive-folder-open::before {
  content: "";
  flex-shrink: 0;
  width: 1.25rem;
  height: 1rem;
  background: #ffd966;
  border-radius: 2px 4px 4px 4px;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

.dc-drive-folder-open:hover {
  color: #2160c4;
}

.dc-drive-folder-open:hover::before {
  background: #ffcd38;
}

.dc-drive-col-check {
  width: 2.25rem;
}

.dc-drive-files-table {
  font-size: 0.95rem;
}

.dc-drive-files-table td,
.dc-drive-files-table th {
  vertical-align: middle;
}

.dc-drive-files-table .dc-drive-file-name {
  font-weight: 500;
}

#dc-drive-files-more.button {
  border-style: dashed;
  color: #4a4a4a;
  font-weight: 500;
}

#dc-drive-files-more.button:hover {
  border-color: #3273dc;
  color: #3273dc;
  background: #f6f9fe;
}

#dc-drive-folder-modal.modal.is-active {
  display: flex;
}

#dc-drive-folder-modal .modal-card-foot {
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}

.dc-drive-import-kind {
  font-size: 0.75rem;
  color: #7a7a7a;
}

/* Mobile bottom section tabs + folder sheet */
.dc-mobile-tab-bar,
.dc-mobile-folder-sheet {
  display: none;
}

@media (max-width: 1023px) {
  .dc-mobile-tab-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3300;
    margin: 0;
    padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    justify-content: space-around;
    align-items: stretch;
    gap: 0.15rem;
  }

  .dc-body.dc-has-mobile-tabs .dc-main {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }

  .dc-body.dc-has-mobile-tabs .dc-pwa-install-banner,
  .dc-body.dc-has-mobile-tabs .dc-push-prompt-banner {
    bottom: calc(3.85rem + env(safe-area-inset-bottom, 0px));
  }

  .dc-mobile-tab {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-height: 3.25rem;
    padding: 0.2rem 0.15rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #666;
    font: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .dc-mobile-tab-icon {
    font-size: 1.35rem;
    line-height: 1;
  }

  .dc-mobile-tab-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .dc-mobile-tab.is-active {
    color: #3273dc;
    background: rgba(50, 115, 220, 0.1);
  }

  .dc-mobile-tab[aria-expanded="true"] {
    color: #3273dc;
  }

  .dc-mobile-folder-sheet {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 3600;
    pointer-events: none;
  }

  .dc-mobile-folder-sheet[hidden] {
    display: none !important;
  }

  .dc-mobile-folder-sheet.is-open {
    pointer-events: auto;
  }

  .dc-mobile-folder-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.22s ease;
  }

  .dc-mobile-folder-sheet.is-open .dc-mobile-folder-sheet-backdrop {
    opacity: 1;
  }

  .dc-mobile-folder-sheet-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: min(72vh, 520px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .dc-mobile-folder-sheet.is-open .dc-mobile-folder-sheet-panel {
    transform: translateY(0);
  }

  .dc-mobile-folder-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.5rem;
    flex-shrink: 0;
  }

  .dc-mobile-folder-sheet-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
  }

  .dc-mobile-folder-sheet-close {
    border: 0;
    background: transparent;
    font-size: 1.75rem;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 0.15rem 0.35rem;
  }

  .dc-mobile-folder-sheet-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 1rem 1rem;
    flex: 1;
    min-height: 0;
  }

  .dc-mobile-folder-sheet-create {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ededed;
    position: sticky;
    bottom: 0;
    background: #fff;
    padding-bottom: 0.25rem;
  }

  .dc-mobile-folder-sheet-create-stack .button + .button {
    margin-top: 0.5rem;
  }

  .dc-mobile-sheet-tree .dc-tree-details {
    margin-bottom: 0;
  }

  .dc-mobile-sheet-tree .dc-tree-link {
    padding: 0.45rem 0.35rem;
    font-size: 0.95rem;
  }

  .dc-mobile-website-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .dc-mobile-website-link.is-active {
    border-color: #3273dc;
    color: #3273dc;
  }

  body.dc-mobile-sheet-open {
    overflow: hidden;
  }

  body.dc-mobile-sheet-open .dc-mobile-tab-bar {
    z-index: 3550;
  }
}

@media (min-width: 1024px) {
  body.dc-mobile-sheet-open {
    overflow: auto;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

.alternatingChildren > *:nth-child(even) {
   background-color:#F7F7F9;
 }
 .alternatingChildren > *:nth-child(odd) {
   background-color:#ffffff;
 }
