/* 3DPartner · Dashboard Workspace Styles (n001, n002, n004-n011) */
.app-layout > main.workspace.has-dashboard-workspace > nav.breadcrumbs,
.app-layout > main.workspace.has-dashboard-workspace > .page-heading,
.app-layout > main.workspace.has-dashboard-workspace > .status-pill,
.app-layout > main.workspace.has-dashboard-workspace > .canvas,
.app-layout > main.workspace.has-dashboard-workspace > .recent,
.app-layout > main.workspace.has-dashboard-workspace > footer.footer,
.app-layout > main.workspace:has(#section-overview.dashboard-workspace) > nav.breadcrumbs,
.app-layout > main.workspace:has(#section-overview.dashboard-workspace) > .page-heading,
.app-layout > main.workspace:has(#section-overview.dashboard-workspace) > .status-pill,
.app-layout > main.workspace:has(#section-overview.dashboard-workspace) > .canvas,
.app-layout > main.workspace:has(#section-overview.dashboard-workspace) > .recent,
.app-layout > main.workspace:has(#section-overview.dashboard-workspace) > footer.footer {
  display: none !important;
}

.app-layout > main.workspace.has-dashboard-workspace,
.app-layout > main.workspace:has(#section-overview.dashboard-workspace) {
  padding: 0 !important;
  margin: 0 !important;
  background: #ffffff !important;
  max-width: none !important;
  width: 100% !important;
}

#section-overview.dashboard-workspace {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  background: transparent !important;
}

.dw-root {
  background: transparent;
  color: #0f172a;
  padding: 16px 24px 28px;
  min-height: calc(100vh - 134px);
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
}

.dw-root.dw-theme-dark {
  background: #0f172a;
  color: #f1f5f9;
}

.dw-root.dw-bg-grid {
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 18px 18px;
}

.dw-root.dw-bg-blue {
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 45%);
}

.dw-root.dw-bg-graphite {
  background: linear-gradient(180deg, #e2e8f0 0%, #f8fafc 50%);
}

.dw-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 4px;
}

.dw-breadcrumbs a {
  color: #64748b;
  text-decoration: none;
}

.dw-breadcrumbs a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.dw-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.dw-page-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
}

.dw-theme-dark .dw-page-title {
  color: #f8fafc;
}

.dw-page-subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  color: #64748b;
}

.dw-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.dw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #1e293b;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, opacity 0.15s;
}

.dw-btn:hover {
  background: #f8fafc;
}

.dw-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.dw-root .dw-btn-primary,
.dw-btn-primary {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

.dw-root .dw-btn-primary:hover,
.dw-btn-primary:hover {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
}

.dw-btn-sm {
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
}

.dw-btn-xs {
  height: 24px;
  padding: 0 8px;
  font-size: 11px;
}

.dw-btn-danger {
  color: #dc2626;
  border-color: #fecaca;
  background: #fef2f2;
}

.dw-btn-danger:hover {
  background: #fee2e2;
}

.dw-dropdown-wrap {
  position: relative;
  display: inline-flex;
}

.dw-dropdown-menu {
  position: absolute;
  right: 0;
  top: 36px;
  z-index: 40;
  min-width: 224px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 4px 0;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12);
}

.dw-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 7px 12px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 12.5px;
  color: #0f172a;
  cursor: pointer;
  text-decoration: none;
}

.dw-dropdown-item:hover {
  background: #f1f5f9;
}

.dw-dropdown-hint {
  font-size: 10.5px;
  color: #64748b;
  margin-left: 8px;
}

/* Top bar on My Day / My Tasks */
.dw-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 12px;
}

.dw-quick-input-bare,
.dw-quick-task-row .dw-input {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  height: 28px;
  padding: 0 6px;
}

.dw-theme-dark .dw-topbar,
.dw-theme-dark .dw-card,
.dw-theme-dark .dw-kpi-card {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}

.dw-horizon-group {
  display: inline-flex;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.dw-horizon-btn {
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-right: 1px solid #e5e7eb;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.dw-horizon-btn:last-child {
  border-right: 0;
}

.dw-horizon-btn:hover {
  background: #f8fafc;
}

.dw-horizon-btn.is-active {
  background: #2563eb;
  color: #ffffff;
}

.dw-quick-task-wrap {
  flex: 1 1 280px;
  min-width: 240px;
}

.dw-quick-task-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dw-input {
  height: 28px;
  width: 100%;
  min-width: 0;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #ffffff;
  padding: 0 9px;
  font-size: 12.5px;
  color: #0f172a;
  outline: none;
}

.dw-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.14);
}

.dw-select {
  height: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #ffffff;
  padding: 0 8px;
  font-size: 12px;
  color: #0f172a;
}

.dw-parsed-hint {
  margin: 4px 2px 0;
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dw-parsed-err {
  margin: 4px 2px 0;
  font-size: 11px;
  color: #dc2626;
}

.dw-meta-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #64748b;
  flex-shrink: 0;
}

.dw-stale-badge {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 10.5px;
  font-weight: 600;
}

/* Edit banner on My Day */
.dw-edit-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: #eff6ff;
}

/* Main Dashboard Grid */
.dw-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.dw-col-full {
  grid-column: 1 / -1;
  min-width: 0;
}

.dw-col-half {
  min-width: 0;
}

@media (max-width: 1024px) {
  .dw-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Widget Card & Queue Sections */
.dw-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px 16px;
}

.dw-widget-edit-shell {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.dw-widget-edit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 600;
}

.dw-widget-edit-body {
  padding: 12px;
}

.dw-queues-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dw-queues-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
  align-items: start;
}

.dw-queues-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 28px;
  align-items: start;
}

@media (max-width: 1200px) {
  .dw-queues-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .dw-queues-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .dw-queues-bottom {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dw-section-box {
  min-width: 0;
}

.dw-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 4px;
}

.dw-section-title {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #475569;
}

.dw-theme-dark .dw-section-title {
  color: #cbd5e1;
}

.dw-link {
  font-size: 11.5px;
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 500;
}

.dw-link:hover {
  text-decoration: underline;
}

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

.dw-list-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.12s;
}

.dw-list-item:last-child {
  border-bottom: 0;
}

.dw-list-item:hover {
  background: rgba(241, 245, 249, 0.7);
}

.dw-prio {
  width: 28px;
  flex-shrink: 0;
  border-radius: 4px;
  padding: 2px 4px;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
}

.dw-prio-P1 {
  background: #fee2e2;
  color: #dc2626;
}

.dw-prio-P2 {
  background: #fef3c7;
  color: #d97706;
}

.dw-prio-P3 {
  background: #f1f5f9;
  color: #64748b;
}

.dw-item-main {
  min-width: 0;
  flex: 1;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.dw-item-title {
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dw-theme-dark .dw-item-title {
  color: #f8fafc;
}

.dw-item-title.is-done {
  color: #94a3b8;
  text-decoration: line-through;
}

.dw-item-sub {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dw-item-when {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  width: 88px;
  flex-shrink: 0;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: #64748b;
}

.dw-item-when.is-overdue {
  color: #dc2626;
  font-weight: 500;
}

.dw-more-btn {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
}

.dw-more-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.dw-empty {
  padding: 16px 4px;
  font-size: 12.5px;
  color: #64748b;
}

.dw-foot-count {
  margin: 6px 4px 0;
  font-size: 11px;
  color: #64748b;
}

.dw-source {
  margin: 8px 0 0;
  font-size: 10.5px;
  color: #94a3b8;
}

/* Schedule & Messages rows */
.dw-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid #f1f5f9;
}

.dw-card-title {
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}

.dw-sched-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 4px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
}

.dw-sched-row:last-child {
  border-bottom: 0;
}

.dw-sched-row:hover {
  background: #f8fafc;
}

.dw-sched-time {
  width: 54px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #1d4ed8;
}

.dw-sched-time.is-overdue {
  color: #dc2626;
}

.dw-tag {
  flex-shrink: 0;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 10.5px;
  color: #475569;
  background: #ffffff;
}

.dw-unread-pill {
  flex-shrink: 0;
  border-radius: 999px;
  background: #1d4ed8;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
}

/* Quick Actions grid */
.dw-quick-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

@media (max-width: 1100px) {
  .dw-quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dw-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dw-quick-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.dw-quick-tile:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.dw-quick-tile.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f1f5f9;
}

.dw-quick-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Sub-screens (n002, n004-n011) */
.dw-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.dw-kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
}

.dw-kpi-label {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 4px;
}

.dw-kpi-val {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.dw-kpi-val.is-danger {
  color: #dc2626;
}

.dw-kpi-val.is-warn {
  color: #d97706;
}

.dw-kpi-val.is-ok {
  color: #16a34a;
}

.dw-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 0;
  margin-bottom: 12px;
}

.dw-bulk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 12px;
}

.dw-pill-tab {
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  cursor: pointer;
}

.dw-pill-tab.is-active {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
  font-weight: 600;
}

.dw-table-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow-x: auto;
}

.dw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.dw-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #64748b;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.dw-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.dw-table tr:last-child td {
  border-bottom: 0;
}

.dw-table tr:hover td {
  background: #f8fafc;
}

.dw-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
}

.dw-badge-neutral { background: #f1f5f9; color: #475569; }
.dw-badge-info { background: #dbeafe; color: #1d4ed8; }
.dw-badge-warn { background: #fef3c7; color: #b45309; }
.dw-badge-danger { background: #fee2e2; color: #dc2626; }
.dw-badge-ok { background: #dcfce7; color: #15803d; }

/* Planner 2-column layout */
.dw-planner-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

@media (max-width: 960px) {
  .dw-planner-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dw-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.dw-modal {
  width: 100%;
  max-width: 540px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  padding: 18px 20px;
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.25);
}

.dw-modal-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
}

.dw-field {
  margin-bottom: 10px;
}

.dw-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4px;
}

.dw-textarea {
  width: 100%;
  min-height: 76px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12.5px;
  font-family: inherit;
}

.dw-chart-svg {
  width: 100%;
  height: 156px;
  display: block;
}

svg.dw-chart-svg rect,
svg.dw-chart-svg text,
svg.dw-chart-svg path.dw-chart-area {
  stroke: none !important;
  stroke-width: 0 !important;
}

svg.dw-chart-svg line.dw-chart-grid {
  fill: none !important;
  stroke: #e2e8f0 !important;
  stroke-width: 1 !important;
  stroke-dasharray: 3 3;
}

svg.dw-chart-svg line.dw-chart-axis {
  fill: none !important;
  stroke: #cbd5e1 !important;
  stroke-width: 1 !important;
}

svg.dw-chart-svg path.dw-chart-line {
  fill: none !important;
  stroke: #2563eb !important;
  stroke-width: 2 !important;
}

.dw-chart-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: #2563eb;
  margin-top: 2px;
}

/* My Tasks (n003) & Planner (n004) layouts */
.dw-tasks-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

@media (max-width: 1024px) {
  .dw-tasks-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dw-tasks-nav {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px;
}

.dw-tasks-nav-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  font-size: 12.5px;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
}

.dw-tasks-nav-item:hover {
  background: #f1f5f9;
}

.dw-tasks-nav-item.is-active {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}

.dw-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dw-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 12px;
  color: #334155;
  cursor: pointer;
}

.dw-chip:hover {
  background: #f8fafc;
}

.dw-chip.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.dw-segmented {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  height: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #ffffff;
  margin-left: auto;
}

.dw-seg-btn {
  height: 22px;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-size: 12px;
  color: #64748b;
  cursor: pointer;
}

.dw-seg-btn.is-active {
  background: #f3f4f6;
  color: #111827;
  font-weight: 500;
  box-shadow: none;
}

.dw-task-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.12s;
}

.dw-task-row:last-child {
  border-bottom: 0;
}

.dw-task-row:hover {
  background: #f8fafc;
}

.dw-check-circle {
  width: 17px;
  height: 17px;
  border-radius: 999px;
  border: 1.5px solid #94a3b8;
  background: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 10px;
  color: #ffffff;
}

.dw-check-circle.is-done {
  background: #16a34a;
  border-color: #16a34a;
}

.dw-board-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

@media (max-width: 1100px) {
  .dw-board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dw-board-col {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  min-height: 0;
  overflow: hidden;
}

.dw-board-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  padding: 8px 12px;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.dw-board-col-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dw-board-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  transition: border-color .12s, background-color .12s;
}

.dw-board-card:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}

.dw-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
}

.dw-prio-dotpill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
}

.dw-prio-dotpill.is-p1 {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

.dw-prio-dotpill.is-p2 {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #2563eb;
}

.dw-prio-dotpill.is-p3 {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #64748b;
}

.dw-inline-create {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.dw-inline-create-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
}

/* Planner Calendar Grid */
.dw-planner-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

@media (max-width: 1024px) {
  .dw-planner-shell {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dw-cal-grid {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.dw-cal-header-row {
  display: grid;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.dw-cal-day-head {
  padding: 8px 10px;
  border-right: 1px solid #e2e8f0;
}

.dw-cal-day-head:last-child {
  border-right: 0;
}

.dw-cal-day-head.is-today {
  background: #eff6ff;
}

.dw-cal-time-body {
  display: grid;
  max-height: 540px;
  overflow-y: auto;
}

.dw-cal-hours-col {
  position: relative;
  border-right: 1px solid #e2e8f0;
  background: #f8fafc;
}

.dw-cal-day-col {
  position: relative;
  border-right: 1px solid #e2e8f0;
}

.dw-cal-day-col:last-child {
  border-right: 0;
}

.dw-cal-hour-slot {
  height: 44px;
  border-bottom: 1px dashed #f1f5f9;
  cursor: pointer;
}

.dw-cal-hour-slot:hover {
  background: rgba(239, 246, 255, 0.5);
}

.dw-cal-event {
  position: absolute;
  left: 4px;
  right: 4px;
  border-radius: 5px;
  border: 1px solid #bfdbfe;
  border-left: 3px solid #2563eb;
  background: #eff6ff;
  color: #1e3a8a;
  padding: 2px 6px;
  font-size: 11px;
  line-height: 1.25;
  overflow: hidden;
  cursor: grab;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.dw-cal-event.is-p1 {
  border-color: #fecaca;
  border-left-color: #dc2626;
  background: #fef2f2;
  color: #991b1b;
}

.dw-cal-event.is-p3 {
  border-color: #e2e8f0;
  border-left-color: #64748b;
  background: #f8fafc;
  color: #334155;
}

.dw-load-bar-bg {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.dw-load-bar-fill {
  height: 100%;
  background: #2563eb;
}

.dw-load-bar-fill.is-high {
  background: #d97706;
}

.dw-load-bar-fill.is-over {
  background: #dc2626;
}
