.social-post-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.social-post-preview {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
}

.social-post-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-setup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 20px;
}

.social-config-layout {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.social-platform-config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 18px;
}

.social-platform-config-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.social-platform-config-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.social-platform-config-head h3 {
    margin: 8px 0 0;
    color: #f8fafc;
    font-size: 18px;
    overflow-wrap: anywhere;
}

.social-config-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
    font-size: 12px;
    font-weight: 700;
}

.social-config-status.success {
    border-color: rgba(16, 185, 129, .26);
    background: rgba(16, 185, 129, .12);
    color: #86efac;
}

.social-config-status.warning {
    border-color: rgba(245, 158, 11, .30);
    background: rgba(245, 158, 11, .12);
    color: #fcd34d;
}

.social-config-status.danger {
    border-color: rgba(239, 68, 68, .30);
    background: rgba(239, 68, 68, .12);
    color: #fca5a5;
}

.social-missing-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-missing-list span {
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(245, 158, 11, .12);
    color: #fcd34d;
    font-size: 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.social-platform-config-card .workspace-detail-grid,
.social-platform-config-card .workspace-detail-grid strong {
    min-width: 0;
    overflow-wrap: anywhere;
}

.social-connection-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
    gap: 12px;
}

.social-connection-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    color: #f8fafc;
    text-align: left;
}

.social-connection-summary-item:disabled {
    opacity: .85;
}

.social-connection-summary-item strong {
    color: #4fd1d0;
    font-size: 18px;
}

.social-setup-progress {
    display: grid;
    gap: 10px;
}

.social-setup-progress>div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #a8bbc6;
    font-size: 13px;
}

.social-setup-progress strong {
    color: #f8fafc;
}

.social-connection-steps {
    display: grid;
    gap: 8px;
}

.social-connection-steps span,
.social-next-action,
.social-credential-intro {
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
}

.social-connection-steps span {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 9px 11px;
    color: #fcd34d;
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.social-connection-steps span.done {
    color: #86efac;
}

.social-connection-steps span.optional {
    color: #a8bbc6;
}

.social-next-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    color: #dff9fb;
    font-weight: 800;
}

.social-next-action i {
    color: #4fd1d0;
}

.social-credential-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
}

.social-method-toggle {
    width: fit-content;
    max-width: 100%;
}

.social-setup-card {
    display: grid;
    align-content: start;
    gap: 18px;
    min-width: 0;
}

.social-setup-overview {
    grid-column: 1 / -1;
}

.social-setup-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.social-setup-heading>i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
    background: rgba(79, 209, 208, .12);
    color: #4fd1d0;
    font-size: 20px;
}

.social-setup-heading h3 {
    margin: 0;
    font-size: 17px;
    color: #f8fafc;
    overflow-wrap: anywhere;
}

.social-setup-heading a,
.social-setup-heading span {
    color: #9fb5bf;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.social-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 12px;
    align-items: center;
}

.social-flow span,
.social-config-fields,
.social-setup-note,
.social-setup-permissions {
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
}

.social-flow span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 70px;
    padding: 14px;
    color: #e5eef4;
    overflow-wrap: anywhere;
}

.social-flow>i {
    color: #4fd1d0;
}

.social-config-fields {
    display: grid;
    gap: 8px;
    padding: 16px;
    color: #a8bbc6;
    min-width: 0;
    overflow-wrap: anywhere;
}

.social-config-fields strong,
.social-config-fields b {
    color: #f8fafc;
}

.social-setup-steps {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
    color: #d6e5ec;
    min-width: 0;
    overflow-wrap: anywhere;
}

.social-setup-steps li::marker {
    color: #4fd1d0;
    font-weight: 700;
}

.social-setup-note,
.social-setup-permissions {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    color: #b8cbd4;
    min-width: 0;
    overflow-wrap: anywhere;
}

.social-setup-note i,
.social-setup-permissions i {
    color: #4fd1d0;
}

@media (max-width: 900px) {
    .social-flow {
        grid-template-columns: 1fr;
    }

    .social-flow>i {
        display: none;
    }
}

@media (max-width: 768px) {

    .social-setup-grid,
    .social-platform-config-grid,
    .social-config-layout {
        gap: 14px;
    }

    .social-setup-card,
    .social-platform-config-card {
        gap: 14px;
    }

    .social-setup-overview .workspace-section-title,
    .social-config-layout .workspace-section-title {
        align-items: stretch;
        flex-direction: column;
    }

    .social-config-layout .workspace-section-title .btn {
        width: 100%;
    }

    .social-platform-config-head,
    .social-setup-heading {
        align-items: flex-start;
    }

    .social-platform-config-head .btn {
        flex: 0 0 40px;
        width: 40px;
        padding-inline: 0;
    }

    .social-credential-intro {
        align-items: stretch;
        flex-direction: column;
    }

    .social-method-toggle {
        width: 100%;
    }

    .social-flow span {
        min-height: auto;
        padding: 12px;
    }

    .social-config-fields {
        padding: 14px;
    }

    .social-setup-steps {
        padding-left: 18px;
    }
}

@media (max-width: 576px) {
    .calendar-toolbar .workspace-segmented,
    .calendar-toolbar .form-select {
        width: 100%;
    }

    .calendar-toolbar .workspace-segmented button {
        flex: 1 1 100%;
    }

    .social-setup-heading>i {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 12px;
    }

    .social-config-status {
        max-width: 100%;
        white-space: normal;
    }

    .social-flow span {
        align-items: flex-start;
    }

    .social-flow span i {
        margin-top: 2px;
    }

    .social-platform-config-card .btn,
    .social-setup-card .btn {
        white-space: normal;
    }
}

.workspace-chart-card {
    min-width: 0;
    height: 100%;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    background: rgba(255, 255, 255, .05);
}

.workspace-pie-wrap,
.meeting-status-pie {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.workspace-pie-wrap {
    flex-direction: column;
    align-items: stretch;
}

.workspace-pie-wrap .workspace-pie {
    align-self: center;
}

.workspace-pie {
    width: 168px;
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 18px;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.workspace-pie.small {
    width: 132px;
}

.workspace-pie>div {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #132235;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.workspace-pie strong {
    font-size: 26px;
    line-height: 1;
}

.workspace-pie span {
    color: #9fb5bf;
    font-size: 12px;
}

.workspace-chart-legend {
    flex: 1 1 0;
    min-width: 0;
    display: grid;
    gap: 10px;
    width: 100%;
}

.workspace-chart-legend.compact {
    gap: 8px;
}

.workspace-chart-legend div,
.workspace-chart-legend button {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) minmax(58px, auto);
    align-items: center;
    gap: 9px;
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: #d8e7ee;
    text-align: left;
    text-transform: capitalize;
}

.workspace-chart-legend i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.workspace-chart-legend span {
    color: #b8ced8;
}

.reports-page .workspace-stat,
.report-meter-button,
.report-budget-button,
.report-pie-button,
.reports-page .workspace-list-row,
.workspace-health-tile {
    font-family: inherit;
}

.report-clickable {
    position: relative;
    min-height: 112px;
    padding-right: 44px;
}

.report-live-stamp {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(79, 209, 208, .20);
    border-radius: 999px;
    background: rgba(79, 209, 208, .08);
    color: #b8edf0;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.report-clickable-cue {
    position: absolute;
    right: 18px;
    top: 50%;
    color: rgba(216, 251, 251, .72);
    transform: translateY(-50%);
}

.report-clickable-card {
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.report-clickable:hover,
.report-clickable-card:hover {
    border-color: rgba(79, 209, 208, .34);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
}

.report-meter-button {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    text-align: left;
}

.report-meter-button:hover span,
.workspace-chart-legend button:hover span,
.workspace-chart-legend button:hover strong {
    color: #e8ffff;
}

.report-pie-button,
.report-budget-button {
    border: 0;
    background: transparent;
    color: inherit;
}

.report-pie-button:focus-visible,
.report-meter-button:focus-visible,
.report-budget-button:focus-visible,
.workspace-chart-legend button:focus-visible,
.workspace-health-tile:focus-visible,
.reports-page .workspace-list-row:focus-visible {
    outline: 3px solid rgba(79, 209, 208, .55);
    outline-offset: 3px;
}

.report-drilldown {
    margin-bottom: 24px;
}

.report-drilldown-table td:first-child {
    max-width: 360px;
    overflow-wrap: anywhere;
}

.report-project-row {
    cursor: pointer;
}

.report-project-row:hover td {
    background: rgba(79, 209, 208, .08);
}

.report-project-row a {
    color: #d8fbfb;
    font-weight: 850;
    text-decoration: none;
}

.report-project-row a:hover {
    color: #9bf6ff;
}

.workspace-health-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.workspace-health-tile {
    min-height: 112px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    background: rgba(79, 209, 208, .10);
    color: inherit;
    text-align: left;
}

button.workspace-health-tile {
    cursor: pointer;
}

.workspace-health-tile.success {
    background: rgba(16, 185, 129, .14);
}

.workspace-health-tile.warning {
    background: rgba(245, 158, 11, .14);
}

.workspace-health-tile.danger {
    background: rgba(239, 68, 68, .14);
}

.workspace-health-tile strong,
.workspace-health-tile span {
    display: block;
}

.workspace-health-tile strong {
    font-size: 32px;
}

.workspace-health-tile span {
    color: #c9dce3;
}

.workspace-health-tile small {
    display: block;
    margin-top: 8px;
    color: #9fb5bf;
    line-height: 1.35;
}

.owner-dashboard-chart {
    min-height: 210px;
    align-items: stretch;
}

.workspace-chart-legend span {
    min-width: 0;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.workspace-chart-legend strong {
    min-width: 58px;
    justify-self: end;
    color: #d8e7ee;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

.reports-page .workspace-pie-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
}

.reports-page .workspace-pie {
    width: min(168px, 100%);
    align-self: center;
}

.invoice-preview {
  min-height: 420px;
  overflow-wrap: anywhere;
}

.project-stage-card[draggable="true"] {
  cursor: grab;
}

.project-stage-card[draggable="true"]:active {
  cursor: grabbing;
  opacity: .72;
}

@media (max-width: 767.98px) {
  .workspace-filter-panel {
    width: 100%;
  }

  .workspace-filter-panel > .btn,
  .workspace-filter-panel > .form-control {
    flex: 1 1 140px;
  }

  .workspace-pie-wrap {
    align-items: center;
  }

  .reports-page .workspace-pie-wrap {
    grid-template-columns: 1fr;
  }

  .reports-page .workspace-pie {
    justify-self: center;
  }

  .owner-dashboard-chart {
    min-width: 640px;
  }

  .dashboard-card:has(.owner-dashboard-chart) {
    overflow-x: auto;
  }
}

.owner-dashboard-chart .workspace-budget-bar {
    justify-content: end;
}

.owner-dashboard-chart .workspace-budget-column {
    position: relative;
    height: 170px;
    padding: 10px;
    overflow: hidden;
    border-color: rgba(79, 209, 208, .16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018)),
        repeating-linear-gradient(
            to top,
            rgba(255, 255, 255, .055) 0,
            rgba(255, 255, 255, .055) 1px,
            transparent 1px,
            transparent 42px
        );
}

.owner-dashboard-chart .workspace-budget-column span {
    position: relative;
    min-height: 36px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10px;
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(117, 255, 245, .95), rgba(26, 170, 192, .9)),
        linear-gradient(135deg, #4fd1d0, #1fb7e7);
    box-shadow: 0 14px 28px rgba(30, 210, 216, .18);
}

.owner-dashboard-chart .workspace-budget-column span::before {
    content: "";
    position: absolute;
    inset: 1px 1px auto;
    height: 32%;
    border-radius: 11px 11px 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .34), transparent);
    pointer-events: none;
}

.owner-dashboard-chart .workspace-budget-column b {
    position: relative;
    z-index: 1;
    max-width: 100%;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(7, 24, 34, .38);
    color: #fff;
    font-size: 11px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.owner-dashboard-chart .zero-value .workspace-budget-column {
    align-items: center;
    justify-content: center;
    border-style: dashed;
    background:
        radial-gradient(circle at 50% 52%, rgba(79, 209, 208, .14), transparent 42%),
        rgba(255, 255, 255, .026);
}

.owner-dashboard-chart .workspace-budget-column em {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
    background: rgba(255, 255, 255, .045);
    color: #b7cbd3;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.owner-analytics-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.owner-analytics-summary span {
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    color: #9fb5bf;
    font-size: 12px;
}

.owner-analytics-summary strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.project-gantt {
    display: grid;
    gap: 16px;
}

.project-gantt-toolbar,
.project-gantt-summary,
.project-gantt-inspector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.project-gantt-summary {
    justify-content: flex-start;
}

.project-gantt-summary span {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    color: #b8ced8;
}

.project-gantt-summary strong {
    color: #fff;
}

.project-gantt-toolbar {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(55, 118, 136, .14), rgba(255, 255, 255, .025));
}

.project-gantt-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 240px;
}

.project-gantt-heading > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, #377688, #4fd1d0);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 10px 24px rgba(55, 118, 136, .26);
}

.project-gantt-heading h3,
.project-gantt-heading small {
    display: block;
    margin: 0;
}

.project-gantt-heading h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 850;
}

.project-gantt-heading small {
    margin-top: 2px;
    color: #9fb5bf;
}

.project-gantt-toolbar-controls,
.project-gantt-toolbar-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.project-gantt-toolbar-filters {
    flex: 1 1 100%;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.project-gantt-fullscreen-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid rgba(79, 209, 208, .32);
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(55, 118, 136, .74), rgba(79, 209, 208, .58));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.project-gantt-fullscreen-button:hover {
    border-color: rgba(142, 241, 238, .58);
    transform: translateY(-1px);
}

.project-gantt-shortcuts {
    margin-left: auto;
    color: #8fa7b2;
    font-size: 11px;
}

.project-gantt-shortcuts kbd {
    margin: 0 3px 0 7px;
    padding: 3px 6px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 6px;
    background: rgba(0, 0, 0, .22);
    color: #d8fbfb;
    box-shadow: none;
}

.project-gantt-zoom {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 13px;
    background: rgba(255, 255, 255, .035);
}

.project-gantt-zoom button {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    border: 0;
    border-radius: 9px;
    background: rgba(79, 209, 208, .12);
    color: #dffefe;
    font-size: 12px;
    font-weight: 700;
}

.project-gantt-zoom button:hover:not(:disabled) {
    background: rgba(79, 209, 208, .24);
}

.project-gantt-zoom button:disabled {
    cursor: not-allowed;
    opacity: .42;
}

.project-gantt-zoom-value {
    min-width: 48px;
    background: transparent !important;
    color: #b8ced8 !important;
}

.project-gantt-scroll {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .03);
}

.project-gantt-canvas {
    min-width: 100%;
}

.project-gantt-header,
.project-gantt-row {
    display: grid;
    grid-template-columns: var(--gantt-label-width, 260px) var(--gantt-timeline-width, 1fr);
}

.project-gantt-header {
    position: sticky;
    top: 0;
    z-index: 4;
    background: #102235;
}

.project-gantt-label-head {
    position: sticky;
    left: 0;
    z-index: 5;
    padding: 14px 16px;
    border-right: 1px solid rgba(255, 255, 255, .08);
    background: #102235;
    color: #d8e7ee;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.project-gantt-scale {
    display: grid;
}

.project-gantt-scale span {
    min-height: 46px;
    padding: 14px 10px;
    border-right: 1px solid rgba(255, 255, 255, .06);
    color: #9fb5bf;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.project-gantt-body {
    position: relative;
}

.project-gantt-row {
    width: 100%;
    min-height: 62px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    background: transparent;
    color: #fff;
    text-align: left;
}

.project-gantt-row:hover,
.project-gantt-row.selected {
    background: rgba(79, 209, 208, .07);
}

.project-gantt-row-label {
    position: sticky;
    left: 0;
    z-index: 3;
    padding: 12px 14px;
    border-right: 1px solid rgba(255, 255, 255, .08);
    background: rgba(16, 34, 53, .96);
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-gantt-row-label strong,
.project-gantt-row-label small {
    display: block;
}

.project-gantt-row-label strong {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-gantt-row-label small {
    margin-top: 2px;
    color: #9fb5bf;
    font-size: 12px;
}

.project-gantt-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #4fd1d0;
}

.project-gantt-dot.task {
    background: #60a5fa;
}

.project-gantt-dot.milestone {
    background: #f59e0b;
}

.project-gantt-track {
    position: relative;
    min-height: 62px;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: var(--gantt-col-width, 74px) 100%;
}

.project-gantt-bar {
    position: absolute;
    top: 50%;
    height: 20px;
    min-width: 14px;
    overflow: hidden;
    border-radius: 999px;
    transform: translateY(-50%);
    background: rgba(79, 209, 208, .28);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .24);
}

.project-gantt-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #377688, #4fd1d0);
}

.project-gantt-bar.task {
    background: rgba(96, 165, 250, .24);
}

.project-gantt-bar.task i {
    background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.project-gantt-bar.milestone {
    width: 18px !important;
    height: 18px;
    min-width: 18px;
    border-radius: 5px;
    transform: translateY(-50%) rotate(45deg);
    background: #f59e0b;
}

.project-gantt-bar.milestone i {
    display: none;
}

.project-gantt-bar.completed,
.project-gantt-bar.done {
    background: rgba(16, 185, 129, .24);
}

.project-gantt-bar.completed i,
.project-gantt-bar.done i {
    background: linear-gradient(90deg, #059669, #34d399);
}

.project-gantt-bar.blocked {
    background: rgba(239, 68, 68, .28);
}

.project-gantt-bar.blocked i {
    background: linear-gradient(90deg, #dc2626, #fb7185);
}

.project-gantt-today {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 2px;
    background: #fca5a5;
    pointer-events: none;
}

.project-gantt-today span {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(239, 68, 68, .18);
    color: #fecaca;
    font-size: 11px;
    font-weight: 800;
}

.project-gantt-inspector {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background: rgba(255, 255, 255, .04);
}

.project-gantt-inspector h6 {
    margin: 8px 0 2px;
    color: #fff;
}

.project-gantt-inspector small {
    color: #9fb5bf;
}

.project-gantt.detailed {
    gap: 18px;
}

.project-gantt-search {
    min-width: min(260px, 100%);
    min-height: 44px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 14px;
    background: rgba(255, 255, 255, .055);
    color: #9fb5bf;
}

.project-gantt-search i {
    text-align: center;
}

.project-gantt-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
}

.project-gantt-search input::placeholder {
    color: #8fa7b2;
}

.project-gantt-group-select {
    width: min(220px, 100%);
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.project-gantt-toolbar .workspace-chip-list button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.project-gantt-group-row {
    display: grid;
    grid-template-columns: var(--gantt-label-width, 260px) var(--gantt-timeline-width, 1fr);
    min-height: 38px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    background: rgba(6, 18, 30, .42);
}

.project-gantt-group-label {
    position: sticky;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 14px;
    border-right: 1px solid rgba(255, 255, 255, .08);
    background: rgba(7, 19, 29, .98);
    color: #d8fbfb;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
}

.project-gantt-group-label span {
    min-width: 24px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(79, 209, 208, .14);
    color: #8ef1ee;
    text-align: center;
}

.project-gantt-group-track {
    background-image: linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: var(--gantt-col-width, 74px) 100%;
}

.project-gantt-bar b {
    position: absolute;
    inset: 0;
    z-index: 1;
    padding: 0 8px;
    color: rgba(255, 255, 255, .92);
    font-size: 11px;
    font-weight: 900;
    line-height: 20px;
    text-align: right;
    white-space: nowrap;
    pointer-events: none;
}

.project-gantt-bar.late {
    outline: 1px solid rgba(251, 113, 133, .64);
    outline-offset: 2px;
}

.project-gantt-bar.critical,
.project-gantt-bar.high {
    background: rgba(245, 158, 11, .25);
}

.project-gantt-bar.critical i,
.project-gantt-bar.high i {
    background: linear-gradient(90deg, #f97316, #fbbf24);
}

.project-gantt-inspector.detailed {
    align-items: flex-start;
}

.project-gantt-inspector.detailed p {
    max-width: 820px;
    margin: 8px 0 0;
    color: #c9dce3;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.project-gantt-inspector-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.project-gantt-inspector-meta span {
    min-width: 118px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(0, 0, 0, .12);
    color: #d8fbfb;
    font-size: 12px;
}

.project-gantt-inspector-meta strong {
    display: block;
    margin-bottom: 3px;
    color: #9fb5bf;
    font-size: 10px;
    text-transform: uppercase;
}

.project-gantt-inspector-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.project-gantt.is-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 2000;
    height: 100dvh;
    padding: 14px;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 12px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 0, rgba(55, 118, 136, .28), transparent 36%),
        radial-gradient(circle at 88% 12%, rgba(79, 209, 208, .12), transparent 28%),
        #07131d;
}

.project-gantt.is-fullscreen .project-gantt-toolbar {
    max-height: 168px;
    overflow-y: auto;
    border-color: rgba(79, 209, 208, .18);
    background: rgba(10, 28, 40, .94);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.project-gantt.is-fullscreen .project-gantt-summary {
    min-height: 44px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.project-gantt.is-fullscreen .project-gantt-scroll {
    height: 100%;
    min-height: 0;
    border-color: rgba(79, 209, 208, .16);
    background: rgba(5, 16, 25, .82);
    box-shadow: 0 22px 52px rgba(0, 0, 0, .28);
    transition: margin-right .22s ease;
}

.project-gantt.is-fullscreen .project-gantt-scroll.with-inspector {
    margin-right: 404px;
}

.project-gantt-inspector.fullscreen-drawer {
    position: absolute;
    z-index: 24;
    top: 188px;
    right: 14px;
    bottom: 14px;
    width: 386px;
    display: block;
    overflow-y: auto;
    border-color: rgba(79, 209, 208, .2);
    background: rgba(10, 28, 40, .98);
    box-shadow: -20px 0 48px rgba(0, 0, 0, .34);
}

.project-gantt-inspector.fullscreen-drawer .project-gantt-inspector-actions {
    margin: 18px 0 0;
}

@media (max-width: 900px) {
    .project-gantt.is-fullscreen {
        padding: 8px;
    }

    .project-gantt.is-fullscreen .project-gantt-scroll.with-inspector {
        margin-right: 0;
    }

    .project-gantt-inspector.fullscreen-drawer {
        top: auto;
        right: 8px;
        bottom: 8px;
        left: 8px;
        width: auto;
        max-height: 48vh;
        border-radius: 18px;
    }

    .project-gantt-shortcuts {
        display: none;
    }
}

.workspace-budget-chart {
    min-height: 220px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    align-items: end;
    gap: 14px;
}

.workspace-budget-bar {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.workspace-budget-column {
    width: 100%;
    height: 156px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 16px;
    background: rgba(255, 255, 255, .04);
    display: flex;
    align-items: end;
}

.workspace-budget-column span {
    width: 100%;
    border-radius: 10px;
    min-height: 8px;
}

.workspace-budget-bar strong {
    max-width: 100%;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.workspace-budget-bar small {
    color: #9fb5bf;
}

