.p6-outer {
      overflow: auto;
      border-radius: 10px;
      border: 1px solid rgba(79, 127, 168, .16);
      box-shadow: 0 12px 32px rgba(0, 0, 0, .34);
      background: rgba(2, 6, 18, .98)
    }

    .p6-grid {
      display: grid;
      grid-template-columns: 560px 1fr;
      min-width: 980px
    }

    .p6-hdr-left {
      position: sticky;
      top: 0;
      z-index: 14;
      display: grid;
      grid-template-columns: 96px 1fr 62px 92px 92px;
      height: 42px;
      background: linear-gradient(180deg, rgba(8, 18, 38, .99), rgba(5, 12, 28, .99));
      border-bottom: 2px solid rgba(79, 127, 168, .22);
      border-right: 1px solid rgba(79, 127, 168, .12)
    }

    .p6-hdr-right {
      position: sticky;
      top: 0;
      z-index: 14;
      height: 42px;
      background: linear-gradient(180deg, rgba(8, 18, 38, .99), rgba(5, 12, 28, .99));
      border-bottom: 2px solid rgba(79, 127, 168, .22);
      display: flex;
      overflow: hidden
    }

    .p6-hdr-cell {
      display: flex;
      align-items: center;
      padding: 0 10px;
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .9px;
      color: #bfd7f3;
      border-right: 1px solid rgba(255, 255, 255, .045)
    }

    .p6-hdr-cell:last-child {
      border-right: none
    }

    .p6-month-lbl {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .7px;
      color: #bfd7f3;
      border-right: 1px solid rgba(255, 255, 255, .04)
    }

    .p6-row {
      display: contents
    }

    .p6-left {
      display: grid;
      grid-template-columns: 96px 1fr 62px 92px 92px;
      border-right: 1px solid rgba(79, 127, 168, .08);
      overflow: hidden;
      position: relative
    }

    .p6-row:hover .p6-left {
      filter: brightness(1.06)
    }

    .p6-row:hover .p6-right {
      background-color: rgba(255, 255, 255, .02) !important
    }

    .p6-cell {
      display: flex;
      align-items: center;
      padding: 0 10px;
      overflow: hidden;
      border-right: 1px solid rgba(255, 255, 255, .03);
      font-family: 'DM Sans', system-ui, sans-serif
    }

    .p6-cell:last-child {
      border-right: none
    }

    .p6-c-id {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis
    }

    .p6-c-name {
      line-height: 1.15
    }

    .p6-name-wrap {
      display: flex;
      flex-direction: column;
      gap: 2px;
      min-width: 0;
      width: 100%
    }

    .p6-name-main {
      font-size: 12.5px;
      font-weight: 700;
      color: #f8fafc;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis
    }

    .p6-name-sub {
      font-size: 10px;
      font-weight: 600;
      color: #94a3b8;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis
    }

    .p6-c-dur {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10.5px;
      font-weight: 700;
      justify-content: center;
      flex-shrink: 0
    }

    .p6-c-date {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      font-weight: 600;
      justify-content: center;
      flex-shrink: 0;
      white-space: nowrap
    }

    .p6-wbs-row {
      background: var(--wbs-bg, linear-gradient(90deg, rgba(11, 24, 58, .98), rgba(8, 18, 46, .96)));
      border-bottom: 1px solid rgba(255, 255, 255, .05);
      border-left: 4px solid var(--wbs-accent, #4f7fa8)
    }

    .p6-wbs-row .p6-c-id {
      color: var(--wbs-accent, #4f7fa8);
      font-size: 10px;
      font-weight: 800
    }

    .p6-wbs-row .p6-name-main {
      color: var(--wbs-text, #f3f7fb)
    }

    .p6-wbs-row .p6-name-sub {
      color: var(--wbs-sub, #cbd5e1)
    }

    .p6-wbs-row .p6-c-dur {
      color: #f8fafc;
      font-size: 11px
    }

    .p6-wbs-row .p6-c-date {
      color: var(--wbs-sub, #cbd5e1)
    }

    .p6-wbs-row.lvl0 .p6-name-main {
      font-size: 13.5px;
      font-weight: 800
    }

    .p6-wbs-row.lvl1 .p6-name-main {
      font-size: 13px
    }

    .p6-wbs-row.lvl2 .p6-name-main,
    .p6-wbs-row.lvl3 .p6-name-main,
    .p6-wbs-row.lvl4 .p6-name-main,
    .p6-wbs-row.lvl5 .p6-name-main {
      font-size: 12.4px
    }

    .p6-act-row {
      background: rgba(3, 8, 18, .88);
      border-bottom: 1px solid rgba(255, 255, 255, .03);
      border-left: 3px solid transparent
    }

    .p6-act-row .p6-c-id {
      color: #cbd5e1
    }

    .p6-act-row .p6-name-main {
      font-size: 12px;
      font-weight: 600;
      color: #e2e8f0
    }

    .p6-act-row .p6-name-sub {
      color: #94a3b8
    }

    .p6-act-row .p6-c-dur,
    .p6-act-row .p6-c-date {
      color: #94a3b8
    }

    .p6-act-row.crit {
      border-left-color: #ef4444
    }

    .p6-act-row.crit .p6-c-id,
    .p6-act-row.crit .p6-c-dur {
      color: #f87171
    }

    .p6-act-row.crit .p6-name-main {
      color: #fee2e2
    }

    .p6-act-row.crit .p6-name-sub,
    .p6-act-row.crit .p6-c-date {
      color: #fca5a5
    }

    .p6-right {
      position: relative;
      overflow: hidden
    }

    .p6-gl {
      position: absolute;
      top: 0;
      bottom: 0;
      border-left: 1px solid rgba(255, 255, 255, .03);
      pointer-events: none
    }

    .p6-gl.maj {
      border-color: rgba(79, 127, 168, .1)
    }

    .p6-today {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 2px;
      background: rgba(248, 113, 113, .78);
      z-index: 6;
      pointer-events: none;
      box-shadow: 0 0 0 1px rgba(248, 113, 113, .12)
    }

    .p6-today::before {
      content: '▼';
      position: absolute;
      top: -1px;
      left: -4px;
      font-size: 8px;
      color: rgba(248, 113, 113, .88)
    }

    .p6-sum-bar {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      height: 10px;
      background: linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(226, 232, 240, .92));
      border-radius: 2px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
      cursor: default;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, .22)
    }

    .p6-sum-bar::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--acc, #3b82f6)
    }

    .p6-act-bar {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      height: 14px;
      border-radius: 3px;
      display: flex;
      align-items: center;
      box-shadow: 0 2px 8px rgba(0, 0, 0, .32);
      cursor: default;
      transition: filter .12s
    }

    .p6-act-bar:hover {
      filter: brightness(1.12)
    }

    .p6-act-bar.crit {
      box-shadow: 0 0 10px rgba(239, 68, 68, .35)
    }

    .p6-bar-lbl {
      font-size: 9px;
      font-weight: 800;
      font-family: 'DM Sans', sans-serif;
      color: rgba(255, 255, 255, .96);
      padding: 0 6px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      letter-spacing: .1px
    }

    .p6-ms {
      position: absolute;
      top: 50%;
      transform: translateY(-50%) rotate(45deg);
      width: 12px;
      height: 12px;
      border-radius: 2px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, .46);
      cursor: default
    }

    .p6-ms:hover {
      transform: translateY(-50%) rotate(45deg) scale(1.18)
    }

    .p6-toolbar {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
      padding: 9px 12px;
      border-radius: 10px;
      background: rgba(4, 9, 24, .84);
      border: 1px solid rgba(148, 163, 184, .12);
      margin-bottom: 10px
    }

    .p6-tb-lbl {
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .9px;
      color: #94a3b8;
      margin-right: 3px
    }

    .p6-tb-btn {
      padding: 5px 11px;
      border-radius: 7px;
      border: 1px solid rgba(148, 163, 184, .14);
      background: rgba(6, 14, 32, .88);
      color: #cbd5e1;
      font-size: 11px;
      font-weight: 700;
      cursor: pointer;
      transition: all .12s;
      font-family: inherit
    }

    .p6-tb-btn:hover {
      border-color: rgba(79, 127, 168, .34);
      color: #f3f7fb
    }

    .p6-tb-btn.on {
      background: rgba(16, 38, 77, .92);
      border-color: rgba(31, 78, 121, .42);
      color: #e7eef6
    }

    .p6-tb-btn.on.crit {
      background: rgba(60, 12, 12, .9);
      border-color: rgba(239, 68, 68, .42);
      color: #fee2e2
    }

    .p6-tb-sep {
      width: 1px;
      height: 16px;
      background: rgba(148, 163, 184, .12);
      margin: 0 2px
    }

    .p6-exp-btn {
      padding: 5px 13px;
      border-radius: 7px;
      font-size: 11px;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
      border: 1px solid;
      transition: all .12s
    }

    .p6-exp-btn.grn {
      border-color: rgba(34, 197, 94, .28);
      color: #4ade80;
      background: rgba(34, 197, 94, .06)
    }

    .p6-exp-btn.grn:hover {
      background: rgba(34, 197, 94, .14)
    }

    .p6-exp-btn.red {
      border-color: rgba(239, 68, 68, .25);
      color: #f87171;
      background: rgba(239, 68, 68, .05)
    }

    .p6-exp-btn.red:hover {
      background: rgba(239, 68, 68, .12)
    }

    .p6-rowcount {
      font-size: 10px;
      color: #94a3b8
    }

    .p6-legend {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 10px
    }

    .p6-leg {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 5px 11px;
      border-radius: 999px;
      background: rgba(6, 14, 32, .78);
      border: 1px solid rgba(148, 163, 184, .09);
      font-size: 10px;
      color: #cbd5e1
    }

    .p6-leg i {
      display: inline-block;
      width: 12px;
      height: 12px;
      border-radius: 2px;
      flex-shrink: 0
    }
