/* dev-console 工作台样式（r400 由独立页并入控制台） */
  /* 控制台侧栏样式统一由 assets/style.css 提供，本页只定义「项目交付看板」专有样式 */

  #consoleLoginName { max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .db-sync {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(12,108,124), 0.10);
    border: 1px solid rgba(12,108,124), 0.28);
    font-size: 12px;
    font-weight: 600;
    color: #0b6f86;
    white-space: nowrap;
  }
  .db-sync::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0c6975;
    box-shadow: 0 0 0 3px rgba(12,105,117), 0.16);
  }
  .db-sync.is-paused { background: rgba(6,131,148, 0.10); border-color: rgba(6,131,148, 0.28); color: #9a5b00; }
  .db-sync.is-paused::before { background: #0c6b77; box-shadow: 0 0 0 3px rgba(12,107,119), 0.16); }

  .dt-alert {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.6;
  }
  .dt-alert-error { background: rgba(180, 35, 24, 0.08); border: 1px solid rgba(180, 35, 24, 0.22); color: #b42318; }

  /* ---------- 站内通知 ---------- */
  .db-notify {
    margin: 14px 0 4px;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
  }
  .db-notify-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft, #f9fbfb);
  }
  .db-notify-head strong { font-size: 13.5px; }
  .db-notify-head span { font-size: 12px; color: var(--ink-3, #7c8ba0); }
  .db-notify-list { display: grid; gap: 0; }
  .db-notify-item {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    line-height: 1.7;
    color: var(--ink-2);
  }
  .db-notify-item:last-child { border-bottom: 0; }
  .db-notify-item .t { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
  .db-notify-item .t strong { font-size: 13.5px; color: var(--ink); }
  .db-notify-item .t em { font-style: normal; font-size: 11.5px; color: var(--ink-3, #7c8ba0); margin-left: auto; }
  .db-notify-item.is-unread { background: rgba(12,116,124), 0.04); }
  .db-dot-unread { width: 6px; height: 6px; border-radius: 50%; background: #0e7c86; }

  /* ---------- 看板区（深色底，承载与 dev.html Banner 同款看板） ---------- */
  .db-board-area {
    margin-top: 16px;
    padding: 26px 22px 30px;
    border-radius: 16px;
    background:
      radial-gradient(120% 120% at 8% 0%, #0e555b 0%, #092e31 58%, #051c1e 100%);
    display: grid;
    gap: 28px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    transition: box-shadow .4s ease;
  }
  .db-board-area.is-fresh { box-shadow: inset 0 0 0 2px rgba(12,108,124), 0.55); }

  .db-project { display: grid; gap: 14px; }
  .db-project-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
  .db-project-head h3 { margin: 0 0 4px; font-size: 16px; color: #fff; font-weight: 600; }
  .db-project-head p { margin: 0; font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.62); }
  .db-project-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(12,108,124), 0.16);
    border: 1px solid rgba(12,108,124), 0.36);
    color: #a9ecff;
    white-space: nowrap;
  }
  .db-project-badge.is-finished { background: rgba(86, 216, 160, 0.16); border-color: rgba(86, 216, 160, 0.38); color: #a8f0cd; }
  .db-project-badge.is-paused { background: rgba(14,129,144), 0.16); border-color: rgba(14,129,144), 0.38); color: #c6dadc; }

  .db-stage { padding: 0 0 14px; }

  /* 与 dev.html Banner 的 .dev-board 完全一致的视觉（样式来自 assets/style.css） */
  .db-stage .dev-board { padding: 18px; }

  .db-project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
  }
  .db-project-meta b { color: rgba(255, 255, 255, 0.86); font-weight: 600; }

  .db-empty-note {
    margin: 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
  }

  /* ---------- toast ---------- */
  .dt-toast-wrap {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 90;
    display: grid;
    gap: 8px;
    max-width: 360px;
  }
  .dt-toast {
    padding: 10px 14px;
    border-radius: 10px;
    background: #12383b;
    color: #fff;
    font-size: 13px;
    line-height: 1.6;
    box-shadow: 0 12px 30px rgba(8,40,42, 0.28);
  }
  .dt-toast.ok { background: #1f7a45; }
  .dt-toast.warn { background: #9a5b00; }
  .dt-toast.err { background: #b42318; }

  @media (max-width: 900px) {
    .db-board-area { padding: 18px 14px 22px; }
    .db-project-head h3 { font-size: 15px; }
  }
