.calendar-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.calendar-month-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.calendar-month-nav h2 {
    margin: 0;
    min-width: 210px;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
}

.workspace-segmented {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.workspace-segmented button,
.workspace-chip-list button {
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    color: #fff;
    padding: 10px 14px;
    text-transform: capitalize;
    min-width: 0;
    overflow-wrap: anywhere;
}

.workspace-segmented button.active,
.workspace-chip-list button.active {
    background: linear-gradient(135deg, #377688, #4fd1d0);
    border-color: transparent;
}

.calendar-grid-card {
    overflow: visible;
}

.calendar-weekdays,
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays span {
    padding: 0 8px 10px;
    color: #9fb5bf;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.calendar-grid {
    gap: 8px;
}

.calendar-day {
    min-height: 132px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 16px;
    background: rgba(255, 255, 255, .035);
    color: #fff;
    text-align: left;
    transition: .25s;
    min-width: 0;
}

.calendar-day:hover,
.calendar-day.selected {
    border-color: rgba(79, 209, 208, .55);
    background: rgba(79, 209, 208, .08);
}

.calendar-day.muted {
    opacity: .48;
}

.calendar-day-number {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    font-weight: 800;
}

.calendar-event-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

.calendar-event-stack small {
    color: #9fb5bf;
}

.calendar-event-dot {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(79, 209, 208, .14);
    color: #dffefe;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-event-dot i {
    flex: 0 0 auto;
}

.calendar-event-dot.meeting {
    background: rgba(245, 158, 11, .18);
}

.calendar-event-dot.milestone {
    background: rgba(99, 102, 241, .18);
}

.calendar-event-dot.timesheet {
    background: rgba(16, 185, 129, .18);
    color: #d1fae5;
}

.calendar-agenda-item {
    border: 0;
    min-width: 0;
}

.calendar-agenda-item>div:first-child {
    min-width: 0;
}

.workspace-modal-backdrop {
    background: rgba(0, 0, 0, .64);
    backdrop-filter: blur(8px);
}

.workspace-detail-grid {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    min-width: 0;
}

.workspace-detail-grid span {
    color: #9fb5bf;
}

.workspace-detail-grid strong,
.workspace-detail-grid a {
    min-width: 0;
    overflow-wrap: anywhere;
}

.workspace-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 180px;
    overflow-y: auto;
}

.workspace-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
}

.workspace-pagination button {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    color: #d8fbfb;
}

.workspace-pagination button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.workspace-pagination span {
    color: #9fb5bf;
    font-size: 13px;
    font-weight: 700;
}

.workspace-pagination-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    color: #9fb5bf;
    font-size: 13px;
    font-weight: 700;
}

.clickable-tile,
button.dashboard-card,
button.project-stat-card,
button.workspace-stat {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .08);
    color: inherit;
    text-align: left;
    cursor: pointer;
}

button.dashboard-card,
button.project-stat-card,
button.workspace-stat {
    font-family: inherit;
}

.clickable-tile:hover,
button.dashboard-card:hover,
button.project-stat-card:hover,
button.workspace-stat:hover {
    border-color: rgba(79, 209, 208, .36);
    color: inherit;
}

.clickable-tile:focus-visible,
button.dashboard-card:focus-visible,
button.project-stat-card:focus-visible,
button.workspace-stat:focus-visible {
    outline: 3px solid rgba(79, 209, 208, .55);
    outline-offset: 3px;
}

.workspace-inline-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(248, 113, 113, .34);
    border-radius: 12px;
    background: rgba(127, 29, 29, .22);
    color: #fecaca;
    font-size: 13px;
    line-height: 1.45;
}

.workspace-inline-alert i {
    color: #f87171;
    line-height: 1.45;
}

.workspace-progress-panel {
    display: grid;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid rgba(79, 209, 208, .22);
    border-radius: 12px;
    background: rgba(79, 209, 208, .08);
}

.workspace-progress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #d8fbfb;
    font-size: 13px;
    font-weight: 700;
}

.workspace-progress-meta small {
    color: #9fb5bf;
    font-size: 12px;
    font-weight: 600;
}

.workspace-progress-track {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
}

.workspace-progress-track span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #4fd1d0, #22c55e);
    transition: width .2s ease;
}

.profile-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.profile-summary h2 {
    margin: 10px 0 0;
    font-size: 24px;
}

.profile-summary span {
    color: #9fb5bf;
}

.profile-avatar-large,
.profile-avatar-placeholder {
    width: 118px;
    height: 118px;
    border-radius: 50%;
}

.profile-avatar-large {
    object-fit: cover;
    border: 3px solid rgba(79, 209, 208, .45);
}

.profile-avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #377688, #4fd1d0);
    color: white;
    font-size: 42px;
    font-weight: 800;
}

.settings-permission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.settings-permission-grid span {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    color: #d8e7ee;
    text-transform: capitalize;
}

.settings-permission-grid i {
    margin-right: 8px;
    color: #4fd1d0;
}

