:root {
      /* 본문 — 참고 이미지 톤 + 상단바 그린 계열 */
      --hrm: #29724f;
      --hrm-soft: #e8f4ef;
      --hrd: #37a184;
      --hrd-soft: #e6f6f0;
      --ex: #4a9480;
      --ex-soft: #eaf3ef;
      --ga: #0d4a38;
      --ga-soft: #e4ece8;
      --dept-accent: #29724f;
      --page-bg: #e9eef2;
      --card-bg: #ffffff;
      --card-border: #d8e2ea;
      --card-shadow: 0 4px 18px rgba(15, 35, 52, 0.07);
      --hub-border: #ccd8e2;
      --postit-bg: #dceee6;
      --postit-bg-deep: #cddfd7;
      --postit-border: rgba(41, 114, 79, 0.14);
      --postit-shadow: 0 5px 16px rgba(22, 72, 52, 0.1), 0 2px 5px rgba(15, 35, 52, 0.05);
      --hub-diamond-bg: linear-gradient(180deg, #359a72 0%, #1e5c44 24%, #0d3a2a 76%, #185a42 100%);
      --hub-diamond-border: #2f8a66;
      --conn-line: #b8c6d4;
      --conn-line-width: 4;
      --text-primary: #1a2b3c;
      --text-muted: #5a6b7d;
      /* 헤더 상태 통계 — 프로젝트 제목 불릿 */
      --status-in-progress: #10b981;
      --status-hold: #ff9f0a;
      --status-done: #b0b0b0;
      --status-issue: #ff5252;
      /* 부서 카드 헤드 — 샴페인 골드 */
      --dept-head-bg-top: #faf6ef;
      --dept-head-bg-bottom: #f0e6d4;
      --dept-head-text: #4a3d2e;
      --dept-head-accent: #9a7b4f;
      --dept-head-line: rgba(180, 152, 108, 0.32);
    }

.page-content {
      flex: 1;
      min-height: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      padding: 12px 16px 14px;
      background: var(--page-bg);
    }

    .board-layout {
      position: relative;
      flex: 1;
      min-height: 0;
      display: grid;
      /* 중앙 허브 확대(다이아몬드 1.1×) */
      grid-template-columns: minmax(0, 1fr) minmax(320px, 396px) minmax(0, 1fr);
      grid-template-rows: 1fr 1fr;
      gap: 12px 24px;
      width: 100%;
      align-items: stretch;
    }

    .connectors {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 2;
      overflow: visible;
    }

    .connectors path,
    .connectors line {
      fill: none;
      stroke-linecap: butt;
      stroke-linejoin: miter;
      vector-effect: non-scaling-stroke;
    }

    /*
     * ─── [BACKUP] 부문 카드 — A안 적용 전 (2026-06-08) ───
     * 되돌리려면 아래 A안 블록을 지우고 BACKUP 주석을 해제하세요.
     *
     * .dept-card { border-radius:16px; border:1.5px solid var(--card-border);
     *   padding:16px 18px 14px; background:var(--card-bg); box-shadow:var(--card-shadow); }
     * .dept-icon { display:flex; width:40px; height:40px; border-radius:50%; … filled circle }
     * .dept-head { margin-bottom:10px; padding-bottom:10px; border-bottom:2px solid;
     *   background:none; align-items:flex-end; }
     * .project-sub-card { border-radius:12px; padding:12px 14px;
     *   border:1px solid #e2e8ef; background:#f7f9fb; }
     * .project-sub-card--hrm { background:var(--hrm-soft); border-color:#c8dfd5; } …
     * .board-project-list { gap:10px; padding:4px 0 0; }
     *
     * ─── [BACKUP-A] A안 헤더 — 강화 적용 전 (2026-06-08) ───
     * 헤더 강화만 되돌릴 때: BACKUP-A 블록으로 .dept-card / .dept-head / accent 규칙 복원
     *
     * .dept-card { border:1px solid #c8dfd5; (border-top-width 1px, top-color #c8dfd5) }
     * .dept-head { padding:14px 18px 10px; border-bottom:3px solid var(--dept);
     *   margin-bottom:0; (no ::after, no #c5d9cc hairline) }
     * .dept-card--hrm .dept-head { border-bottom-color:var(--hrm); } …
     *
     * ─── [BACKUP-B] 헤더 강화 (상단+이중 underline) — 되돌림 (2026-06-08) ───
     * .dept-card { border-top-width:3px; border-top-color:var(--dept); }
     * .dept-head { padding:14px 20px 10px; border-bottom:1px solid #c5d9cc;
     *   margin-bottom:3px; } + .dept-head::after { height:3px; bottom:-3px; }
     *
     * ─── [BACKUP-C] 부서별 4색 accent — B안 적용 전 (2026-06-08) ───
     * .dept-card--* .dept-head { border-bottom-color:var(--hrm|hrd|ex|ga); }
     * .board-dept-title--* / .board-dept-title-en--* / .dept-head-count--* /
     * .project-sub-card--* .project-field-label { color: var(--dept); }
     * .donut { --color: var(--hrm|hrd|ex|ga); } (inline)
     *
     * ─── [BACKUP-D] mint 보드형 (A+B) — 데스크/종이 테마 적용 전 (2026-06-08) ───
     * .dept-card { border-radius:12px; border:1px solid #c8dfd5; background:#f8fcfa;
     *   box-shadow:none; }
     * .dept-head { border-bottom:3px solid var(--dept-accent);
     *   background:linear-gradient(180deg,#f8fcfa 0%,#f0f7f4 100%); }
     * .board-project-list { background:#f8fcfa; }
     * .project-sub-card { border-bottom:1px solid #dce8e3; }
     * .project-sub-card:hover { background:linear-gradient(180deg,#f2f9f6,#eaf3ef); }
     * .project-field-label { color:var(--dept-accent); }
     * .donut::after { background:#f8fcfa; }
     */

    /* ─── 부문 카드 — 데스크/게시판 (sage 종이 · 포스트잇·플래너와 동일 재질) ─── */
    .dept-card {
      position: relative;
      z-index: 3;
      height: 100%;
      min-height: 0;
      display: flex;
      flex-direction: column;
      border-radius: 6px;
      border: 1px solid rgba(41, 114, 79, 0.1);
      padding: 0;
      background: linear-gradient(168deg, #f9fbf9 0%, #f5faf8 100%);
      box-shadow:
        0 3px 12px rgba(15, 35, 52, 0.06),
        0 1px 3px rgba(22, 72, 52, 0.04);
      overflow: hidden;
    }

    .dept-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: rgba(255, 255, 255, 0.55);
      pointer-events: none;
      z-index: 1;
    }

    .dept-card--hrm { grid-column: 1; grid-row: 1; }
    .dept-card--hrd { grid-column: 3; grid-row: 1; }
    .dept-card--ex  { grid-column: 1; grid-row: 2; }
    .dept-card--ga  { grid-column: 3; grid-row: 2; }

    .dept-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      width: 36px;
      height: 36px;
      margin-right: 8px;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.48);
      border: 1px solid rgba(180, 152, 108, 0.24);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.62),
        0 1px 2px rgba(92, 74, 50, 0.06);
      color: var(--dept-head-accent);
      align-self: center;
    }

    .dept-icon svg {
      width: 32px;
      height: 32px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.75;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .dept-head {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 0;
      padding: 9px 16px 9px;
      border-bottom: none;
      background: linear-gradient(180deg, var(--dept-head-bg-top) 0%, var(--dept-head-bg-bottom) 100%);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
      flex-shrink: 0;
    }

    .dept-head::after {
      content: "";
      position: absolute;
      left: 14px;
      right: 14px;
      bottom: 0;
      height: 1px;
      background: linear-gradient(
        90deg,
        transparent 0%,
        var(--dept-head-line) 18%,
        var(--dept-head-line) 82%,
        transparent 100%
      );
    }

    .dept-head-main {
      display: flex;
      align-items: center;
      gap: 0;
      min-width: 0;
      flex: 1;
    }

    .dept-head-count {
      display: inline-flex;
      align-items: baseline;
      flex-shrink: 0;
      font-size: 28px;
      font-weight: 400;
      letter-spacing: -0.4px;
      line-height: 1;
      white-space: nowrap;
    }

    .dept-head-count .poly-stat-val {
      font-weight: 800;
      font-size: 28px;
      line-height: 1;
    }

    .dept-head-count .poly-stat-unit {
      font-size: 13px;
      font-weight: 600;
      opacity: 0.55;
    }

    .dept-card .board-dept-title {
      color: var(--dept-head-text);
    }

    .dept-card .dept-head-count .poly-stat-val,
    .dept-card .dept-head-count .poly-stat-unit,
    .dept-card .board-dept-title-en {
      color: var(--dept-head-accent);
    }

    .board-dept-header-main {
      min-width: 0;
      flex: 1;
    }

    .board-dept-title-wrap {
      display: flex;
      align-items: baseline;
      gap: 8px;
      min-width: 0;
      flex: 1;
    }

    .board-dept-title {
      margin: 0;
      font-size: 28px;
      font-weight: 800;
      letter-spacing: -0.6px;
      line-height: 1;
    }

    .board-dept-title-en {
      font-size: 19px;
      font-weight: 700;
      letter-spacing: 0.1px;
      line-height: 1;
      flex-shrink: 0;
      opacity: 0.85;
    }

    /* ─── 프로젝트 목록 — 종이 메모 리스트 ─── */
    .board-project-list {
      position: relative;
      min-height: 0;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 0;
      overflow-y: auto;
      padding: 10px 14px 10px;
      background: linear-gradient(180deg, #f8fbfa 0%, rgba(248, 251, 250, 0) 20px);
    }

    .board-project-list::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(
        180deg,
        rgba(92, 74, 50, 0.04) 0%,
        transparent 100%
      );
      pointer-events: none;
    }

    .project-sub-card {
      border-radius: 0;
      padding: 10px 2px 12px;
      border: none;
      border-bottom: 1px dashed #c8d9d0;
      background: rgba(255, 255, 255, 0.38);
      flex-shrink: 0;
      transition: background 0.2s ease;
    }

    .project-sub-card:last-child {
      border-bottom: none;
    }

    .project-sub-card:hover {
      background: linear-gradient(168deg, #eef6f2 0%, #e4efe9 100%);
    }

    .project-sub-body {
      display: grid;
      grid-template-columns: 1fr auto auto;
      column-gap: 12px;
      align-items: center;
    }

    .project-fields {
      display: flex;
      flex-direction: column;
      gap: 7px;
      min-width: 0;
      --project-title-indent: 20px;
    }

    .project-field {
      display: grid;
      grid-template-columns: 96px 1fr;
      gap: 8px;
      align-items: baseline;
      padding-left: var(--project-title-indent);
    }

    .project-sub-title {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 24px;
      font-weight: 600;
      color: #0a2e24;
      line-height: 1.35;
    }

    .project-sub-title::before {
      content: "";
      flex-shrink: 0;
      width: 10px;
      height: 10px;
      margin-top: 9px;
      border-radius: 50%;
      background: var(--status-bullet, var(--status-in-progress));
    }

    .project-sub-title-text {
      flex: 0 1 auto;
      min-width: 0;
      overflow: hidden;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .project-title-issue-badge {
      position: relative;
      flex: 0 0 auto;
      width: 20px;
      height: 20px;
      align-self: center;
      margin-top: 0;
      border-radius: 50%;
      background: #ef4444;
      color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
      font-size: 15px;
      font-weight: 900;
      line-height: 1;
      box-shadow: 0 2px 5px rgba(185, 28, 28, 0.28);
      cursor: help;
    }

    .project-title-issue-tooltip {
      position: absolute;
      left: 50%;
      top: calc(100% + 10px);
      z-index: 80;
      display: none;
      min-width: 260px;
      max-width: 420px;
      padding: 16px;
      border: 1px solid rgba(226, 232, 240, 0.95);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.98);
      box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
      color: #172033;
      font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
      font-size: 18px;
      font-weight: 600;
      line-height: 1.45;
      text-align: left;
      white-space: normal;
      transform: translateX(-50%);
      pointer-events: none;
    }

    body > .project-title-issue-tooltip--portal {
      margin: 0;
      pointer-events: none;
    }

    .project-title-issue-tooltip strong {
      display: block;
      margin-bottom: 8px;
      font-weight: 800;
    }

    .project-title-issue-tooltip-item {
      display: flex;
      gap: 8px;
      color: #1f2a44;
      font-weight: 500;
      white-space: pre-wrap;
      word-break: keep-all;
    }

    .project-title-issue-tooltip-item::before {
      content: "• ";
    }

    .project-title-issue-badge:hover .project-title-issue-tooltip,
    .project-title-issue-badge:focus-visible .project-title-issue-tooltip {
      display: block;
    }

    .project-title-issue-tooltip-item::before {
      content: none;
    }

    .project-title-issue-tooltip-bullet {
      display: none;
    }

    .project-title-issue-tooltip-text {
      flex: 1 1 auto;
      min-width: 0;
    }

    .project-sub-card:has(.project-title-issue-badge:hover),
    .project-sub-card:has(.project-title-issue-badge:focus-visible) {
      overflow: visible;
      z-index: 40;
    }

    .project-schedule-badge {
      flex: 0 0 auto;
      margin-left: auto;
      padding: 4px 10px;
      border-radius: 999px;
      font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
      font-size: 14px;
      font-weight: 700;
      line-height: 1.2;
      white-space: nowrap;
    }

    .project-schedule-badge.is-normal {
      background: #dcfce7;
      color: #047857;
    }

    .project-schedule-badge.is-caution {
      background: #fef3c7;
      color: #b77900;
    }

    .project-schedule-badge.is-delayed {
      background: #fee2e2;
      color: #b91c1c;
    }

    .project-sub-title--in-progress { --status-bullet: var(--status-in-progress); }
    .project-sub-title--hold { --status-bullet: var(--status-hold); }
    .project-sub-title--done { --status-bullet: var(--status-done); }
    .project-sub-title--issue { --status-bullet: var(--status-issue); }

    .project-field-label {
      font-size: 20px;
      font-weight: 600;
      line-height: 1.45;
      color: #5a6b62;
    }

    .project-field .project-field-value {
      font-size: 20px;
      font-weight: 500;
      color: #5a6b62;
      line-height: 1.45;
    }

    .project-field .project-field-value--issue {
      color: #c62828;
      font-weight: 600;
      white-space: pre-wrap;
    }

    .project-field--issue {
      grid-template-columns: 20px 1fr;
      gap: 8px;
      align-items: flex-start;
    }

    .project-issue-icon {
      flex-shrink: 0;
      width: 18px;
      height: 18px;
      margin-top: 4px;
      border-radius: 50%;
      background: var(--status-issue, #ff5252);
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 0;
      box-shadow: 0 1px 2px rgba(183, 28, 28, 0.25);
    }

    .project-issue-icon svg {
      width: 12px;
      height: 12px;
      stroke: #fff3e0;
      fill: none;
      stroke-width: 2.8;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .project-field-value {
      font-family: inherit;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .project-field-overview-wrap {
      position: relative;
      display: block;
      min-width: 0;
    }

    .project-field-value--overview {
      display: block;
      min-width: 0;
    }

    .project-field-overview-wrap.is-truncated {
      cursor: help;
    }

    .project-field-overview-tooltip {
      position: absolute;
      left: 0;
      z-index: 30;
      bottom: calc(100% + 6px);
      display: none;
      box-sizing: border-box;
      min-width: 100%;
      max-width: min(420px, 72vw);
      padding: 10px 12px;
      border: 1px solid #d4dee8;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 8px 24px rgba(15, 35, 52, 0.14);
      color: #475569;
      font-family: inherit;
      font-size: inherit;
      font-weight: 500;
      line-height: 1.32;
      white-space: normal;
      word-break: break-word;
      pointer-events: none;
    }

    .project-field-overview-wrap.is-truncated:hover .project-field-overview-tooltip,
    .project-field-overview-wrap.is-truncated:focus-within .project-field-overview-tooltip {
      display: block;
    }

    .project-sub-divider {
      display: block;
      width: 1px;
      align-self: stretch;
      margin: 6px 0;
      background: linear-gradient(
        180deg,
        transparent 0%,
        #c8d9d0 14%,
        #c8d9d0 86%,
        transparent 100%
      );
    }

    .progress-col {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      width: 93px;
    }

    .dept-card .donut {
      background: conic-gradient(var(--color) calc(var(--pct) * 1%), #d4ddd8 0);
    }

    .donut {
      --pct: 0;
      --color: #29724f;
      position: relative;
      width: 93px;
      height: 93px;
      border-radius: 50%;
      background: conic-gradient(var(--color) calc(var(--pct) * 1%), #dde4ec 0);
    }

    .donut::after {
      content: "";
      position: absolute;
      inset: 12px;
      border-radius: 50%;
      background: #f4f9f6;
    }

    .project-sub-card:hover .donut::after {
      background: #eef6f2;
    }

    .donut span {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1;
      font-size: 21px;
      font-weight: 800;
      color: var(--color);
    }

    /*
     * ─── 중앙 허브 — 상시업무 다이아만
     */
    .hub-column {
      grid-column: 2;
      grid-row: 1 / 3;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: stretch;
      min-height: 0;
      min-width: 0;
      width: 100%;
      z-index: 2;
      overflow: visible;
      --hub-card-pad-x: 12px;
      --hub-body-inset: 50px;
      --hub-diamond-scale: 0.99;
    }

    .hub-column--diamond-only {
      justify-content: stretch;
      align-self: stretch;
      height: 100%;
    }

    .hub-column--diamond-only .hub-diamond-wrap {
      flex: 1 1 0;
      min-height: 0;
      align-self: stretch;
      width: 100%;
      height: 100%;
      z-index: 1;
    }

    .hub-column--diamond-only .hub-diamond {
      transform: rotate(45deg);
    }

    .hub-box--routine-focus {
      justify-content: flex-start;
      align-items: stretch;
      text-align: center;
      padding: 8px 10px 10px;
    }

    .hub-routine-focus {
      display: flex;
      flex-direction: column;
      width: 100%;
      min-height: 0;
      flex: 1;
    }

    .hub-focus-dots {
      display: flex;
      justify-content: center;
      gap: 10px;
      padding: 2px 0 8px;
    }

    .hub-focus-dot {
      width: 9px;
      height: 9px;
      padding: 0;
      border: none;
      border-radius: 50%;
      background: #cbd5e1;
      cursor: pointer;
    }

    .hub-focus-dot.is-active {
      background: var(--hub-diamond-border, #2f8a66);
      box-shadow: 0 0 6px rgba(47, 138, 102, 0.45);
    }

    .hub-routine-focus-body {
      display: flex;
      align-items: stretch;
      min-height: 0;
      flex: 1;
      width: 100%;
    }

    .hub-focus-task-list {
      flex: 1;
      min-height: 0;
      margin: 0;
      padding: 0;
      overflow-y: auto;
      list-style: none;
    }

    .hub-focus-task-item {
      display: block;
      width: 100%;
      padding: 6px 4px;
      border: none;
      border-bottom: 1px solid #e2e8ef;
      background: none;
      font-size: 18px;
      font-weight: 600;
      color: #3d5248;
      line-height: 1.4;
      text-align: center;
      cursor: pointer;
    }

    .hub-focus-task-item:hover {
      color: var(--hub-diamond-border, #2f8a66);
      background: rgba(47, 138, 102, 0.06);
    }

    .hub-focus-task-empty {
      padding: 10px;
      color: #94a3b8;
      font-size: 14px;
    }

    .hub-routine-item.is-active {
      color: var(--hub-diamond-border, #2f8a66);
      font-weight: 700;
    }

    .hub-box {
      position: relative;
      z-index: 3;
      width: 100%;
      background: var(--card-bg);
      border: 1.5px solid var(--hub-border);
      border-radius: 14px;
      padding: 12px 16px;
      box-shadow: var(--card-shadow);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 6px;
      min-height: 0;
      text-align: center;
    }

    .hub-box-title-row {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 6px;
      margin-bottom: 4px;
    }

    .hub-box-icon {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      flex-shrink: 0;
      background: #eef2f6;
      border: 1px solid #d8e2ea;
    }

    /* 분기 슬로건 — 2장 겹친 sage 포스트잇 */
    .hub-box--message {
      background: transparent;
      border: none;
      box-shadow: none;
      padding: var(--hub-slogan-pad-top) 0 0;
      overflow: visible;
      width: 100%;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      flex: 1 1 auto;
      min-height: 0;
    }

    .hub-box--message .hub-postit-stack {
      flex: 1 1 auto;
      min-height: 0;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .hub-box--message .hub-postit-sheet--front {
      flex: 1 1 auto;
      height: 100%;
      min-height: 0;
      display: flex;
      flex-direction: column;
      padding:
        var(--hub-slogan-postit-pad-top)
        14px
        var(--hub-slogan-postit-pad-bottom);
      gap: 0;
      justify-content: flex-start;
    }

    .hub-box--message .hub-postit-content {
      flex: 1 1 auto;
      min-height: 0;
      gap: 0;
      justify-content: flex-start;
      align-items: center;
      width: 100%;
    }

    .hub-box--message .hub-postit-header {
      width: 100%;
      margin: 0;
      padding-top: 0;
      padding-bottom: 8px;
      background: none;
      border-bottom: 1px solid #c5d9cc;
      border-radius: 0;
      flex-shrink: 0;
    }

    .hub-box--message .hub-postit-message {
      flex: 1 1 auto;
      min-height: 0;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      justify-content: center;
      padding: 10px 0;
      box-sizing: border-box;
    }

    .hub-goal-list {
      list-style: none;
      margin: 0;
      padding: 0 calc(var(--hub-body-inset) - var(--hub-card-pad-x));
      width: 100%;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }

    .hub-goal-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin: 0;
      padding: 0;
      text-align: left;
      color: #5a6b62;
      font-size: 20px;
      font-weight: 600;
      line-height: 1.45;
    }

    .hub-goal-item::before {
      content: "";
      flex-shrink: 0;
      width: 8px;
      height: 8px;
      margin-top: 0.42em;
      border-radius: 50%;
      background: #5d7a68;
    }

    .hub-postit-stack {
      position: relative;
      width: 100%;
      height: auto;
      min-height: 0;
      overflow: visible;
    }

    .hub-postit-sheet--back {
      position: absolute;
      top: 1px;
      left: -3px;
      right: 3px;
      bottom: 3px;
      transform: rotate(-1.5deg);
      background: linear-gradient(168deg, #cddfd7 0%, #bfd5cb 100%);
      border: 1px solid var(--postit-border);
      border-radius: 4px;
      box-shadow: 0 3px 10px rgba(22, 72, 52, 0.09);
      z-index: 0;
      pointer-events: none;
    }

    .hub-postit-sheet--front {
      position: relative;
      z-index: 2;
      width: 100%;
      height: auto;
      min-height: 0;
      padding: 12px 14px 10px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      gap: 5px;
      background: linear-gradient(168deg, var(--postit-bg) 0%, var(--postit-bg-deep) 100%);
      border: 1px solid var(--postit-border);
      border-radius: 4px;
      box-shadow: var(--postit-shadow);
      overflow: visible;
    }

    .hub-postit-sheet--front::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: rgba(255, 255, 255, 0.55);
      pointer-events: none;
    }

    .hub-postit-content {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      gap: 6px;
      width: 100%;
      flex: 0 0 auto;
      min-height: 0;
      padding-top: 0;
    }

    .hub-postit-header {
      width: 100%;
      display: flex;
      justify-content: center;
      padding-top: 4px;
      padding-bottom: 6px;
      border-bottom: 1px solid #c5d9cc;
      flex-shrink: 0;
    }

    .hub-postit-message {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2px;
      width: 100%;
      flex: 0 0 auto;
      min-height: 0;
    }

    .hub-postit-message .board-project-desc {
      margin: 0;
      text-align: center;
      line-height: 1.45;
    }

    .hub-postit-dept-line {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    /* 오른쪽 하단 접힘 */
    .hub-postit-fold {
      position: absolute;
      right: 0;
      bottom: 0;
      width: 28px;
      height: 28px;
      z-index: 4;
      pointer-events: none;
    }

    .hub-postit-fold::before {
      content: "";
      position: absolute;
      right: 0;
      bottom: 0;
      width: 28px;
      height: 28px;
      background: linear-gradient(315deg, #edf5f1 0%, #d2e6dc 45%, #bdd8cc 100%);
      clip-path: polygon(100% 0, 0 100%, 100% 100%);
      box-shadow: -2px -2px 5px rgba(15, 35, 52, 0.1);
    }

    .hub-postit-fold::after {
      content: "";
      position: absolute;
      right: 3px;
      bottom: 3px;
      width: 22px;
      height: 22px;
      background: rgba(15, 35, 52, 0.1);
      clip-path: polygon(100% 0, 0 100%, 100% 100%);
      filter: blur(1px);
      z-index: -1;
    }

    /* 빨간 원형 핀 — 제목 아이콘 SVG (장식용 top 핀 제거) */
    .hub-box--message .hub-box-title-row {
      flex-direction: row;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-bottom: 2px;
    }

    .hub-message-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      line-height: 0;
    }

    .hub-message-icon svg {
      width: 22px;
      height: 22px;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .hub-message-icon svg .hub-pin-head {
      fill: #dc5050;
      stroke: #c04040;
      stroke-width: 1.6;
    }

    .hub-message-icon svg .hub-pin-needle {
      stroke: #a83232;
      stroke-width: 2.2;
    }

    .hub-box--message .hub-box-title-row .board-project-title {
      text-align: center;
    }

    /* ─── 대시보드 본문 타이포 — 프로젝트 카드 · 허브 공통 ─── */
    .board-project-title {
      margin: 0;
      color: #0a2e24;
      font-size: 24px;
      font-weight: 600;
      line-height: 1.35;
      font-family: inherit;
    }

    .board-project-desc {
      margin: 0;
      color: #5a6b62;
      font-size: 20px;
      font-weight: 500;
      line-height: 1.45;
      font-family: inherit;
    }

    /* 허브 3구역 — project-sub-title / project-field-value 와 동일 */
    .hub-column .board-project-title {
      font-size: 24px;
      font-weight: 600;
      line-height: 1.35;
      color: #0a2e24;
    }

    .hub-column .board-project-desc {
      font-size: 20px;
      font-weight: 500;
      line-height: 1.45;
      font-family: inherit;
    }

    .hub-column .hub-goal-item {
      font-size: 20px;
      font-weight: 600;
      line-height: 1.45;
      color: #5a6b62;
      text-align: left;
    }

    .hub-column .hub-routine-item {
      font-size: 24px;
      font-weight: 600;
      line-height: 1.35;
      font-family: inherit;
    }

    .hub-column .hub-schedule-month {
      font-size: 20px;
      font-weight: 600;
      line-height: 1.45;
      color: #5a6b62;
    }

    .hub-box .board-project-title,
    .hub-box .board-project-desc {
      text-align: center;
    }

    .hub-list .board-project-desc {
      padding: 1px 0;
      text-align: center;
    }

    .hub-list {
      list-style: none;
      text-align: center;
      padding: 0;
      width: 100%;
    }

    .hub-box--focus {
      background: transparent;
      border: none;
      box-shadow: none;
      padding: 0 0 2px;
      overflow: visible;
      min-height: 0;
      width: 100%;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      flex-shrink: 0;
    }

    .hub-box--focus .hub-schedule-planner {
      flex: 0 0 auto;
      height: auto;
      min-height: 0;
      justify-content: flex-start;
    }

    .hub-box--focus .hub-schedule-head {
      flex-shrink: 0;
    }

    .hub-box--focus .hub-schedule-viewport {
      flex: 0 0 auto;
      min-height: 0;
    }

    .hub-box--focus .hub-schedule-wheel-wrap {
      width: 100%;
      flex: 0 0 auto;
      --hub-schedule-row-gap: 8px;
      --hub-schedule-row-h: 38px;
      --hub-schedule-row-step: calc(var(--hub-schedule-row-h) + var(--hub-schedule-row-gap));
      --hub-schedule-view-h: calc(var(--hub-schedule-row-step) * 3 - var(--hub-schedule-row-gap));
    }

    .hub-schedule-wheel-viewport {
      position: relative;
      width: 100%;
      height: var(--hub-schedule-view-h);
      overflow: hidden;
      box-sizing: border-box;
      padding: 0 16px 0 32px;
      touch-action: none;
      user-select: none;
    }

    .hub-schedule-wheel-viewport.is-scrollable {
      cursor: grab;
    }

    .hub-schedule-wheel-viewport.is-scrollable.is-dragging {
      cursor: grabbing;
    }

    .hub-schedule-wheel-viewport.is-scrollable.is-dragging .hub-schedule-wheel-row {
      transition: none;
    }

    .hub-schedule-wheel-viewport--empty {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 56px;
      height: auto;
      padding: 0 16px;
    }

    .hub-schedule-wheel-viewport::before {
      content: '';
      position: absolute;
      left: 32px;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      height: var(--hub-schedule-row-h);
      border-radius: 4px;
      background: rgba(90, 107, 98, 0.06);
      pointer-events: none;
      z-index: 0;
    }

    .hub-schedule-wheel-track {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      gap: var(--hub-schedule-row-gap, 8px);
      transition: transform 0.38s cubic-bezier(0.25, 0.8, 0.25, 1);
      will-change: transform;
    }

    .hub-schedule-wheel-track.is-dragging {
      transition: none;
    }

    .hub-schedule-wheel-row {
      flex: 0 0 var(--hub-schedule-row-h);
      height: var(--hub-schedule-row-h);
      display: flex;
      align-items: baseline;
      gap: 12px;
      box-sizing: border-box;
      padding: 5px 0;
      border-bottom: 1px dashed #e8e0d4;
      transition: opacity 0.28s ease;
    }

    .hub-schedule-wheel-row:last-child {
      border-bottom: none;
    }

    /* hub-focus-task-item · board-project-desc 와 동일 본문 */
    .hub-schedule-wheel-date,
    .hub-schedule-wheel-text {
      font-size: 20px;
      line-height: 1.45;
      font-weight: 600;
      color: #5a6b62;
    }

    .hub-schedule-wheel-date {
      flex: 0 0 auto;
      display: inline-grid;
      grid-template-columns: auto 2em;
      column-gap: 0.15em;
      align-items: baseline;
      white-space: nowrap;
    }

    .hub-schedule-wheel-text {
      flex: 1 1 auto;
      min-width: 0;
      text-align: left;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .hub-schedule-wheel-row.is-past .hub-schedule-wheel-date,
    .hub-schedule-wheel-row.is-past .hub-schedule-wheel-text {
      color: #8a9690;
    }

    .hub-schedule-wheel-row.is-today .hub-schedule-wheel-date,
    .hub-schedule-wheel-row.is-today .hub-schedule-wheel-text {
      color: #5a6b62;
      font-weight: 700;
    }

    .hub-schedule-date-month {
      text-align: right;
    }

    .hub-schedule-date-day {
      text-align: right;
    }

    .hub-schedule-planner::before {
      display: none;
    }

    .hub-schedule-planner {
      position: relative;
      width: 100%;
      height: auto;
      min-height: 0;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      gap: 4px;
      padding:
        calc(var(--hub-title-top) - var(--hub-head-pad-top) - var(--hub-head-offset-top))
        var(--hub-card-pad-x)
        var(--hub-card-pad-bottom);
      background: linear-gradient(180deg, #faf8f3 0%, #f2ece3 100%);
      border: 1px solid #ddd5c8;
      border-radius: 6px;
      box-shadow: 0 3px 12px rgba(15, 35, 52, 0.08);
      overflow: visible;
    }

    .hub-schedule-head {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: calc(100% + var(--hub-card-pad-x) * 2);
      margin: var(--hub-head-offset-top) calc(-1 * var(--hub-card-pad-x)) 0;
      padding: var(--hub-head-pad-top) var(--hub-card-pad-x) var(--hub-head-pad-bottom);
      background: linear-gradient(180deg, #f6f0e6 0%, #efe8dc 100%);
      border-bottom: 1px solid #e4ddd2;
      border-radius: 5px 5px 0 0;
    }

    .hub-schedule-head .board-project-title {
      text-align: center;
    }

    .hub-schedule-icon {
      display: flex;
      align-items: center;
      flex-shrink: 0;
      line-height: 0;
    }

    .hub-schedule-icon svg {
      width: 22px;
      height: 22px;
      stroke: #8f8578;
      fill: none;
      stroke-width: 2.4;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .hub-schedule-list {
      list-style: none;
      margin: 0;
      padding: 4px 0 2px;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      gap: 3px;
      flex: 0 0 auto;
      min-height: 0;
    }

    .hub-schedule-item {
      display: flex;
      align-items: baseline;
      justify-content: flex-start;
      gap: 10px;
      width: 100%;
      max-width: 100%;
      padding: 4px 0;
      border-bottom: 1px dashed #e8e0d4;
    }

    .hub-schedule-item:last-child {
      border-bottom: none;
    }

    .hub-schedule-month {
      flex-shrink: 0;
      text-align: center;
    }

    .hub-schedule-item .hub-schedule-date {
      margin: 0;
      flex: 0 0 auto;
      line-height: 1.45;
      display: inline-grid;
      grid-template-columns: auto 2em;
      column-gap: 0.15em;
      align-items: baseline;
    }

    .hub-schedule-date-month,
    .hub-schedule-date-day {
      font-weight: 600;
      white-space: nowrap;
    }

    .hub-schedule-date-month {
      text-align: right;
    }

    .hub-schedule-date-day {
      text-align: right;
    }

    .hub-schedule-item .board-project-desc:not(.hub-schedule-date) {
      margin: 0;
      text-align: left;
      line-height: 1.45;
      flex: 1 1 auto;
      min-width: 0;
    }

    .hub-box--focus .hub-list li::before {
      content: none;
    }

    .hub-diamond-wrap {
      z-index: 1;
      min-height: 0;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      overflow: visible;
      pointer-events: none;
      box-sizing: border-box;
    }

    .hub-diamond-wrap > * {
      pointer-events: auto;
    }

    .hub-diamond-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      line-height: 0;
    }

    .hub-diamond-icon svg {
      width: 32px;
      height: 32px;
      fill: none;
      overflow: visible;
    }

    .hub-diamond-icon svg path {
      stroke: #8fd4bc;
      stroke-width: 1.75;
      stroke-linecap: round;
      stroke-linejoin: round;
      transition: stroke 0.2s ease, filter 0.2s ease;
    }

    .hub-diamond-icon:hover svg path,
    .hub-diamond-inner:has(.hub-routine-item:hover) .hub-diamond-icon svg path {
      stroke: #c8f5e4;
      filter:
        drop-shadow(0 0 2px rgba(200, 245, 228, 0.95))
        drop-shadow(0 0 5px rgba(110, 236, 200, 0.5));
    }

    .hub-diamond {
      position: relative;
      flex-shrink: 0;
      transform: rotate(45deg);
      background: #0d3a2a;
      border: 2.5px solid var(--hub-diamond-border);
      border-radius: 10px;
      box-shadow: 0 6px 22px rgba(7, 65, 46, 0.28);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .hub-diamond::before {
      content: "";
      position: absolute;
      z-index: 0;
      top: 50%;
      left: 50%;
      width: 142%;
      height: 142%;
      transform: translate(-50%, -50%) rotate(-45deg);
      background: var(--hub-diamond-bg);
      pointer-events: none;
    }

    .hub-diamond-inner {
      position: relative;
      z-index: 1;
      transform: rotate(-45deg);
      width: 92%;
      max-height: 92%;
      text-align: center;
      padding: 0 8px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 4px;
      overflow: hidden;
    }

    .hub-diamond-head {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 100%;
    }

    .hub-diamond-head .board-project-title {
      text-align: left;
      color: #fff;
      margin: 0;
      font-size: 28px;
      font-weight: 800;
      letter-spacing: -0.6px;
      line-height: 1;
    }

    .hub-diamond-divider {
      width: 88%;
      height: 1px;
      background: rgba(255, 255, 255, 0.22);
      margin: 2px 0 4px;
      flex-shrink: 0;
    }

    .hub-routine-grid {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 3px;
      width: 100%;
      max-width: 100%;
      padding: 0 4px;
      box-sizing: border-box;
    }

    .hub-routine-item {
      appearance: none;
      background: none;
      border: none;
      display: inline-flex;
      align-items: center;
      justify-content: flex-start;
      gap: 10px;
      width: auto;
      max-width: 100%;
      padding: 1px 2px;
      margin: 0;
      color: #8fd4bc;
      font-size: 24px;
      font-weight: 600;
      line-height: 1.35;
      text-align: left;
      white-space: nowrap;
      cursor: pointer;
      border-radius: 4px;
      transition:
        color 0.2s ease,
        text-shadow 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
    }

    .hub-routine-item::before {
      content: "";
      flex-shrink: 0;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: currentColor;
      box-shadow: 0 0 0 rgba(143, 212, 188, 0);
      transition:
        box-shadow 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease;
    }

    .hub-routine-item:hover,
    .hub-routine-item.is-active {
      color: #c8f5e4;
      text-shadow:
        0 0 8px rgba(200, 245, 228, 0.55),
        0 0 16px rgba(143, 212, 188, 0.35);
    }

    .hub-routine-item:hover::before,
    .hub-routine-item.is-active::before {
      transform: scale(1.12);
      box-shadow:
        0 0 6px rgba(200, 245, 228, 0.9),
        0 0 14px rgba(110, 236, 200, 0.55);
    }

    .hub-routine-item:active {
      opacity: 0.88;
      transform: scale(0.99);
    }

    .hub-routine-item:focus-visible {
      outline: 1px solid rgba(143, 212, 188, 0.45);
      outline-offset: 2px;
    }

    .hub-routine-item--empty {
      color: rgba(143, 212, 188, 0.35);
      cursor: default;
      pointer-events: none;
    }

    .hub-routine-item--empty::before {
      background: rgba(143, 212, 188, 0.35);
    }

    .hub-routine-item--empty:hover {
      color: rgba(143, 212, 188, 0.35);
    }

    .hub-routine-item--empty:hover::before {
      background: rgba(143, 212, 188, 0.35);
    }

    @media (max-width: 1200px) {
      .page-content {
        overflow: auto;
      }

      .board-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        flex: none;
      }

      .connectors { display: none; }

      .dept-card--hrm, .dept-card--hrd, .dept-card--ex, .dept-card--ga {
        grid-column: 1;
        grid-row: auto;
      }

      .hub-column {
        grid-column: 1;
        grid-row: auto;
        order: -2;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }

      .hub-column--diamond-only {
        justify-content: stretch;
      }

      .hub-column--diamond-only .hub-diamond-wrap {
        flex: 1 1 auto;
        min-height: 260px;
      }

      .hub-column--diamond-only .hub-diamond {
        width: min(78vw, 300px);
        height: min(78vw, 300px);
      }

      .hub-diamond-wrap {
        order: -2;
        flex: 0 0 auto;
        height: auto;
        min-height: 220px;
      }
    }

/* Static dashboard shell integration */
.board-main {
  padding: 0;
}

.board-main .page-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 12px 16px 14px;
  background: var(--page-bg);
}

.board-main .board-layout {
  flex: 1;
  min-height: 0;
}

.project-sub-card.board-project-card--overlay,
.board-routine-item.board-project-card--overlay {
  cursor: grabbing;
  opacity: 0.92;
  background: #f9fbf9;
  border: 1px solid #a8cfc0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(7, 65, 46, 0.12);
  padding: 12px 14px;
}

.hub-diamond.is-over {
  outline: 2px solid rgba(143, 212, 188, 0.55);
  outline-offset: 3px;
}

.dept-card .board-dept-subtitle {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: #5a6b62;
}

.project-sub-card {
  cursor: grab;
  user-select: none;
}

.project-sub-card:active {
  cursor: grabbing;
}

/* (legacy hub-schedule-carousel rules removed — use hub-schedule-wheel-* in media block) */

.hub-schedule-empty {
  margin: 0;
  text-align: center;
  opacity: 0.65;
}
