/* ==========================================
   Features Section - Scrollytelling
   ========================================== */
.features {
    background: transparent;
    color: var(--text-primary);
    padding: 12rem 0;
}

.features__wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.features__header {
    text-align: center;
    margin-bottom: 8rem;
}

.features__section-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    margin-left: auto;
    margin-right: auto;
}

.features__section-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.features__layout {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 3rem;
}

.features__text-column {
    display: flex;
    flex-direction: column;
}

.features__text-block {
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
    opacity: 0.3;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.features__text-block:first-child {
    padding-top: 0;
}

.features__text-block--active {
    opacity: 1;
}

.features__title {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    transition: color 0.4s ease;
}

.features__desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    max-width: 420px;
}

.features__image-column {
    position: relative;
}

.features__sticky-wrapper {
    position: sticky;
    top: 17.5vh;
}

.features__img-frame {
    border-radius: 8px;
    overflow: hidden;
    background: var(--grey-02);
    width: 100%;
    max-height: 65vh;
    position: relative;
    padding-top: 2.5rem;
    transition: background 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.features__img-frame::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8%;
    background: linear-gradient(to bottom, rgba(247, 248, 250, 0) 0%, rgba(247, 248, 250, 0.4) 100%);
    pointer-events: none;
    z-index: 10;
}

.features__img-inner {
    padding: 8px 8px 0;
    display: grid;
}

/* Feature mockup container - crossfade via grid stack */
.features__mockup-container {
    grid-area: 1/1;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    will-change: opacity;
}

.features__mockup-container--visible {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile stacked layout */
.features__mobile-column {
    display: none;
}

.features__mobile-block {
    padding: 3rem 0;
    border-bottom: 1px solid var(--grey-03);
}

.features__mobile-block:first-child {
    padding-top: 0;
}

.features__mobile-block:last-child {
    border-bottom: none;
}

.features__mobile-block .features__img-frame {
    margin-top: 2rem;
    max-height: none;
    border-radius: 16px;
    padding-top: 2rem;
}

/* Responsive */
@media (max-width: 900px) {
    .features {
        padding: 9rem 0;
    }

    .features__layout {
        display: none;
    }

    .features__mobile-column {
        display: flex;
        flex-direction: column;
    }

    .features__header {
        margin-bottom: 4rem;
    }

    .features__section-title {
        font-size: 3rem;
    }

    .features__section-subtitle {
        font-size: 1.5rem;
    }

    .features__title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        max-width: 100%;
    }

    .features__desc {
        max-width: 100%;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .features {
        padding: 6rem 0;
    }

    .features__section-title {
        font-size: 2.22rem;
        margin-bottom: 0.75rem;
    }

    .features__section-subtitle {
        font-size: 1.25rem;
    }

    .features__title {
        font-size: 1.375rem;
    }

    .features__desc {
        max-width: 100%;
        font-size: 1rem;
    }

    .features__mobile-block .features__img-frame {
        border-radius: 24px 24px 0 0;
    }
}

@media (max-width: 450px) {
    .features__mobile-block {
        border-bottom: none;
    }

    .features__mobile-block .features__img-frame {
        padding-top: 1.5rem;
    }

    .features__img-inner {
        padding: 0 20px !important;
    }
}

/* ==========================================
   Feature1 - New Project Mockup
   ========================================== */
.f1__wrapper {
    width: 400px;
    max-width: 400px;
    margin: 0 auto;
    min-height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.f1__action-btn {
    background: var(--text-primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.f1__action-btn--pressing {
    transform: scale(0.95) translateY(3px);
    background: var(--text-secondary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.f1__ui {
    box-sizing: border-box;
    background: var(--white);
    background-clip: padding-box;
    border-radius: 24px 24px 0 0;
    border: 10px solid rgba(255, 255, 255, 0.4);
    border-bottom: none;
    box-shadow: none;
    width: 400px;
    max-width: 400px;
    min-width: 400px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    overflow: hidden;
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.f1__ui--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.f1__header {
    padding: 1.5rem 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
}

.f1__title {
    font-size: 1.35rem;
    font-weight: var(--font-weight-medium);
    color: var(--gray-900);
    margin: 0;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.f1__title--visible {
    opacity: 1;
    transform: translateY(0);
}

.f1__title--loading {
    color: var(--grey-05) !important;
}

.f1__address {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-tertiary);
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.f1__address--visible {
    opacity: 1;
    transform: translateY(0);
}

.f1__desc-wrapper {
    display: flex;
    flex-direction: column;
    margin: 0.75rem 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.f1__desc-wrapper--visible {
    opacity: 1;
}

.f1__skeleton-line {
    background: var(--grey-03);
    border-radius: 100px;
    height: 14px;
}

.f1__gallery {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    width: fit-content;
    overflow-x: auto;
    scrollbar-width: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.f1__gallery--visible {
    opacity: 1;
}

.f1__gallery::-webkit-scrollbar {
    display: none;
}

.f1__gallery-item {
    position: relative;
    flex: 0 0 72px;
    min-width: 0;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.f1__gallery-item--visible {
    opacity: 1;
    transform: translateY(0);
}

.f1__gallery-loader {
    position: absolute;
    inset: 0;
    background: var(--grey-03);
    border-radius: 6px;
    animation: f1-skeletonPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    z-index: 1;
}

@keyframes f1-skeletonPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.f1__gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    animation: f1-fadeImageIn 0.5s ease-in forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

@keyframes f1-fadeImageIn {
    to {
        opacity: 1;
    }
}

.f1__remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: var(--black);
    padding: 0;
    box-shadow: 0 1px 3px rgba(var(--black-rgb), 0.1);
    z-index: 3;
    animation: f1-fadeImageIn 0.3s ease-in forwards;
    animation-delay: 1s;
    opacity: 0;
}

.f1__footer {
    margin-top: auto;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    flex-shrink: 0;
}

.f1__toolbar {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    min-height: 70px;
}

.f1__toolbar-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.f1__toolbar-icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-tertiary);
    flex: 1;
    padding-right: 1.5rem;
    transition: color 0.3s ease;
}

.f1__toolbar-avatar {
    position: relative;
    padding-left: 1.5rem;
    border-left: 1px solid var(--gray-200);
}

.f1__avatar-img,
.f1__user-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.f1__avatar-img {
    animation: f1-popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

.f1__user-icon {
    background-color: #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
}

.f1__avatar-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--black);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: f1-popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.15s;
    opacity: 0;
}

@keyframes f1-popIn {
    0% {
        opacity: 0;
        transform: scale(0.6);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.f1__action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    min-height: 80px;
}

.f1__project-selector {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: var(--font-weight-medium);
    font-size: 1.1rem;
    color: var(--black);
    transition: color 0.3s ease;
}

.f1__project-icon {
    background: var(--purple);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.f1__send-btn {
    background: var(--secondary-green);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(var(--secondary-green-rgb), 0.2);
    transition: transform 0.2s ease;
}

.f1__send-btn:hover {
    transform: translateY(-2px);
}

.f1__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.f1__icon svg {
    width: 100%;
    height: 100%;
}

/* Loading states */
.f1__text-loading {
    color: var(--grey-05) !important;
    transition: color 0.3s ease;
}

.f1__text-loading * {
    color: var(--grey-05) !important;
}

.f1__avatar-loading img {
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.f1__avatar-loading .f1__avatar-badge {
    background-color: var(--grey-05) !important;
}

.f1__spinner {
    animation: f1-spin 1s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes f1-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .f1__wrapper {
        width: 100%;
        max-width: 100%;
        min-height: 400px;
    }

    .f1__ui {
        width: 100%;
        max-width: 380px;
        min-width: 0;
        min-height: 400px;
        border: 8px solid rgba(255, 255, 255, 0.4);
        border-bottom: none;
    }

    .f1__header {
        padding: 1.5rem 1.5rem 1.25rem;
        gap: 0.75rem;
    }

    .f1__title {
        font-size: 1.05rem;
    }

    .f1__address {
        font-size: 0.8rem;
        gap: 0.35rem;
    }

    .f1__icon {
        width: 18px;
        height: 18px;
    }

    .f1__gallery-item {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
    }

    .f1__gallery {
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }

    .f1__toolbar {
        padding: 1.25rem 1.5rem;
        min-height: 60px;
    }

    .f1__avatar-img,
    .f1__user-icon {
        width: 30px;
        height: 30px;
    }

    .f1__avatar-badge {
        width: 16px;
        height: 16px;
        font-size: 0.65rem;
    }

    .f1__action-row {
        padding: 1.25rem 1.5rem;
    }

    .f1__project-selector {
        font-size: 0.9rem;
        gap: 0.5rem;
    }

    .f1__project-icon {
        width: 26px;
        height: 26px;
        border-radius: 6px;
    }

    .f1__send-btn {
        width: 38px;
        height: 38px;
    }

    .f1__skeleton-line {
        height: 10px !important;
    }
}

/* ==========================================
   Feature2-5 - Shared mockup base styles
   ========================================== */
.f2__wrapper,
.f3__wrapper,
.f4__wrapper,
.f5__wrapper {
    width: 100%;
    min-height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.f2__ui,
.f3__ui,
.f4__ui,
.f5__ui {
    width: 100%;
    max-width: 400px;
    background-color: var(--white);
    background-clip: padding-box;
    border-radius: 24px 24px 0 0;
    border: 10px solid rgba(255, 255, 255, 0.4);
    border-bottom: none;
    box-shadow: none;
    overflow: hidden;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 480px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.f2__ui--visible,
.f3__ui--visible,
.f4__ui--visible,
.f5__ui--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Feature2: Search + Task Assignment */
.f2__search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--grey-03);
}

.f2__search-input {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--grey-02);
    border-radius: 8px;
    padding: 10px 12px;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.f2__search-icon {
    color: var(--grey-05);
}

.f2__results-list {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.f2__result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--grey-03);
    cursor: pointer;
    transition: background 0.15s ease;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.15s ease;
}

.f2__result-item--visible {
    opacity: 1;
    transform: translateX(0);
}

.f2__result-item:hover {
    background: var(--grey-02);
}

.f2__result-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.f2__result-info {
    flex: 1;
    min-width: 0;
}

.f2__result-title {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.f2__result-meta {
    font-size: 12px;
    color: var(--grey-05);
}

.f2__input-area {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    background: var(--white);
    border: 1px solid var(--grey-03);
    margin-top: auto;
}

.f2__input-text {
    flex: 1;
    font-size: 14px;
    color: var(--grey-05);
}

.f2__input-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
}

/* Member Selection Sheet */
.f2__member-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 20;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 60%;
    overflow-y: auto;
}

.f2__member-sheet--visible {
    transform: translateY(0);
}

.f2__sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--grey-03);
    font-weight: var(--font-weight-semibold);
    font-size: 14px;
}

.f2__member-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.f2__member-item:hover {
    background: var(--grey-02);
}

.f2__member-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.f2__member-name {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
}

.f2__member-role {
    font-size: 12px;
    color: var(--grey-05);
}

.f2__check-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--grey-09);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    transition: all 0.2s ease;
}

.f2__check-circle--selected {
    background: var(--secondary-green);
    border-color: var(--secondary-green);
    color: var(--white);
}

.f2__chat-overlay {
    position: absolute;
    inset: 0;
    background: var(--white);
    z-index: 300;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.f2__chat-overlay--visible {
    transform: translateX(0);
    pointer-events: auto;
}

.f2__chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--grey-03);
}

.f2__chat-messages {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: flex-end;
}

.f2__message-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.f2__msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.f2__msg-content {
    flex: 1;
}

.f2__msg-header {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.f2__msg-sender {
    font-weight: var(--font-weight-semibold);
    font-size: 13px;
}

.f2__msg-time {
    font-size: 11px;
    color: var(--grey-05);
}

.f2__msg-text {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-secondary);
}

.f2__task-card {
    background: var(--grey-02);
    border: 1px solid var(--grey-03);
    border-radius: 8px;
    padding: 12px;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.f2__task-card--visible {
    opacity: 1;
    transform: translateY(0);
}

.f2__tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--white);
    font-weight: var(--font-weight-regular);
    margin-right: 4px;
    margin-bottom: 4px;
}

.f2__tag-project {
    background-color: var(--secondary-green);
}

.f2__tag-task {
    background-color: var(--text-secondary);
}

.f2__mention {
    color: var(--sky-blue);
    font-weight: var(--font-weight-medium);
}

/* Feature4: Task Completion */
.f4__chat-window {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-end;
}

.f4__chat-anim {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(30px);
    margin-top: 0;
    transition: max-height 0.9s cubic-bezier(0.2, 1, 0.4, 1),
        opacity 0.9s cubic-bezier(0.2, 1, 0.4, 1),
        transform 0.9s cubic-bezier(0.2, 1, 0.4, 1),
        margin-top 0.9s cubic-bezier(0.2, 1, 0.4, 1);
}

.f4__date-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--grey-05);
    position: relative;
    margin: 8px 0;
}

.f4__date-separator::before,
.f4__date-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--grey-03);
    margin: 0 10px;
}

.f4__message-row {
    display: flex;
    gap: 10px;
}

.f4__msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.f4__msg-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.f4__msg-header {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.f4__msg-sender {
    font-weight: var(--font-weight-semibold);
    font-size: 14px;
    color: var(--text-secondary);
}

.f4__msg-time {
    font-size: 11px;
    color: var(--grey-05);
}

.f4__msg-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.f4__mention {
    color: var(--sky-blue);
    font-weight: var(--font-weight-medium);
}

.f4__completed-card {
    border: 1px solid var(--grey-03);
    border-radius: 8px;
    overflow: hidden;
    background: var(--grey-02);
}

.f4__card-header {
    background-color: var(--light-mint);
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary-green);
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
}

.f4__card-header-left {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: var(--font-weight-semibold);
    font-size: 14px;
}

.f4__card-header-date {
    font-size: 12px;
    color: var(--secondary-green);
    font-weight: 300;
}

.f4__card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--white);
}

.f4__indented-row {
    padding-left: 46px;
    width: 100%;
    box-sizing: border-box;
}

.f4__attachment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.f4__drywall-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.f4__file-attachment {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px;
    background-color: var(--grey-02);
    border: 1px solid var(--grey-03);
    border-radius: 6px;
    width: 100%;
    height: 80px;
    box-sizing: border-box;
}

.f4__file-icon img {
    width: 32px;
    height: 32px;
}

.f4__file-name {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    width: 100%;
}

/* f4 typing indicator */
.f4__typing-bubbles {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--grey-02);
    padding: 8px 12px;
    border-radius: 12px;
    width: fit-content;
}

.f4__typing-dot {
    width: 6px;
    height: 6px;
    background-color: var(--grey-05);
    border-radius: 50%;
    animation: f4-typing 1.4s infinite ease-in-out both;
}

.f4__typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.f4__typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes f4-typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.f4__card-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
}

.f4__tag-pill {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--white);
    font-weight: var(--font-weight-regular);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.f4__tag-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.f4__project-color {
    background-color: var(--secondary-green);
}

.f4__task-color {
    background-color: var(--text-secondary);
}

.f4__card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-tertiary);
}

.f4__avatar-stack {
    display: flex;
    align-items: center;
}

.f4__avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--white);
    margin-left: -8px;
    object-fit: cover;
}

.f4__avatar:first-child {
    margin-left: 0;
}

.f4__avatar-count {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--white);
    margin-left: -8px;
    background-color: var(--text-secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    z-index: 10;
}

.f4__input-area {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    background: var(--white);
    border: 1px solid var(--grey-03);
    margin-top: auto;
}

.f4__input-text {
    flex: 1;
    font-size: 14px;
    color: var(--grey-05);
}

.f4__input-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
}

/* Feature5: Activity Feed */
.f5__wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

.f5__ui {
    max-height: 480px;
}

.f5__feed-container {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.f5__feed-container::-webkit-scrollbar {
    display: none;
}

.f5__feed-item {
    padding: 0 16px 0 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateX(40px);
}

.f5__item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    border-bottom: 1px solid var(--grey-03);
    padding-bottom: 16px;
}

/* border removed by JS to prevent conflict with CSS order */

.f5__item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
}

.f5__avatar-wrap {
    position: relative;
}

.f5__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.f5__avatar-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.f5__badge-green {
    background: var(--secondary-green);
    color: var(--white);
}

.f5__badge-red {
    background: var(--alert-red);
    color: var(--white);
}

.f5__badge-blue {
    background: var(--sky-blue);
    color: var(--white);
}

.f5__user-name {
    font-weight: var(--font-weight-regular);
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1;
}

.f5__time-text {
    font-size: 10px;
    color: var(--grey-05);
}

.f5__action-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.f5__mention {
    color: var(--sky-blue);
}

.f5__pills-row {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    width: 100%;
    overflow: hidden;
    min-width: 0;
}

.f5__tag-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--white);
    font-weight: var(--font-weight-regular);
    white-space: nowrap;
    overflow: hidden;
    min-width: 0;
    flex-shrink: 1;
    max-width: 120px;
}

.f5__tag-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.f5__project-color {
    background-color: var(--secondary-green);
}

.f5__task-color {
    background-color: var(--text-secondary);
}

/* ==========================================
   Feature2 - Additional Detail Styles
   ========================================== */
.f2__search-hash {
    background-color: var(--secondary-green);
    color: var(--white);
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-regular);
    font-size: 14px;
    flex-shrink: 0;
}

.f2__cancel-text {
    color: var(--text-secondary);
    font-size: 15px;
    cursor: pointer;
}

.f2__list-container {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
}

.f2__item-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.f2__list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.f2__list-item--tapped {
    opacity: 0.3;
    transform: scale(0.96);
}

.f2__item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.f2__item-right {
    display: flex;
    align-items: center;
}

.f2__tt-icon {
    width: 24px;
    height: 24px;
    background-color: var(--purple);
    color: var(--white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.f2__hash-icon {
    color: var(--secondary-green);
    font-weight: var(--font-weight-regular);
    font-size: 18px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.f2__item-title {
    font-weight: var(--font-weight-regular);
    font-size: 15px;
    padding: 2px 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.f2__highlight-text {
    background-color: var(--yellow-200);
    color: var(--black);
}

.f2__avatar-stack {
    display: flex;
    align-items: center;
}

.f2__avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--white);
    object-fit: cover;
}

.f2__cursor {
    width: 1.5px;
    height: 16px;
    background-color: var(--text-secondary);
    animation: f2-blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes f2-blink {
    50% {
        opacity: 0;
    }
}

.f2__fab-container {
    position: absolute;
    bottom: 32px;
    right: 16px;
    z-index: 100;
}

.f2__fab {
    background-color: var(--text-secondary);
    color: var(--white);
    border-radius: 20px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: var(--font-weight-semibold);
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.f2__cm-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.f2__cm-screen--visible {
    transform: translateY(0);
}

.f2__resetting {
    transition: opacity 0.3s ease, transform 0s ease !important;
    opacity: 0 !important;
    transform: translate(0, 0) !important;
}

.f2__cm-content {
    flex: 1;
    overflow-y: auto;
    background-color: var(--grey-01);
}

.f2__cm-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--grey-03);
    gap: 12px;
}

.f2__cm-search {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: var(--grey-02);
    border-radius: 8px;
    padding: 8px 12px;
    gap: 12px;
    color: var(--grey-11);
    font-size: 14px;
}

.f2__cm-cancel {
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
}

.f2__cm-title-row {
    padding: 16px 16px 8px;
    background-color: var(--grey-01);
    font-weight: var(--font-weight-semibold);
    font-size: 14px;
    color: var(--text-primary);
}

.f2__cm-selected-row {
    padding: 16px 16px 8px;
    display: flex;
    flex-direction: column;
    overflow-x: auto;
    border-bottom: 1px solid var(--grey-03);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
}

.f2__cm-selected-row--visible {
    max-height: 140px;
    opacity: 1;
}

.f2__cm-selected-user {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.f2__cm-selected-avatar {
    position: relative;
    display: inline-block;
}

.f2__cm-remove-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background-color: var(--white);
    border: 1px solid var(--grey-03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.f2__cm-selected-text {
    font-size: 13px;
    color: var(--text-secondary);
}

.f2__cm-initials {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-medium);
    font-size: 14px;
}

.f2__cm-list {
    display: flex;
    flex-direction: column;
    padding: 8px 16px;
    gap: 16px;
    flex: 1;
}

.f2__cm-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.f2__cm-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
}

.f2__cm-email {
    font-size: 16px;
    color: var(--text-primary);
}

.f2__cm-role-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.f2__cm-role {
    font-size: 12px;
    color: var(--text-secondary);
}

.f2__cm-footer {
    padding: 16px;
    border-top: 1px solid var(--grey-03);
}

.f2__cm-button {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-weight: var(--font-weight-medium);
    font-size: 15px;
    text-align: center;
    background-color: var(--grey-03);
    color: var(--text-tertiary);
    transition: all 0.3s ease;
}

.f2__cm-button--active {
    background-color: var(--black);
    color: var(--white);
}

.f2__cm-button--tapped {
    transform: scale(0.92);
    background-color: var(--text-secondary) !important;
}

/* Feature2 Task Assigned Bubble */
.f2__ta-bubble {
    margin-top: 0;
    border: 1px solid var(--grey-03);
    border-radius: 8px;
    overflow: hidden;
    background: var(--grey-02);
    width: 100%;
}

.f2__ta-header {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.f2__ta-header-left {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: var(--font-weight-semibold);
    font-size: 14px;
}

.f2__ta-header-date {
    font-size: 12px;
}

.f2__ta-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--grey-13);
}

.f2__ta-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.f2__ta-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: var(--font-weight-medium);
}

.f2__ta-due {
    font-size: 14px;
    color: var(--text-secondary);
}

.f2__ta-avatar-initials {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: var(--font-weight-medium);
    border: 2px solid var(--white);
}

.f2__gerald-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.f2__indented-row {
    padding-left: 46px;
    width: 100%;
    box-sizing: border-box;
}

.f2__chat-scroll-area {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    justify-content: flex-end;
}

/* ==========================================
   Feature3 - Chat Compose
   ========================================== */
.f3__chat-window {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    justify-content: flex-end;
}

.f3__message-row {
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.f3__message-row--visible {
    opacity: 1;
    transform: translateY(0);
}

.f3__msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.f3__msg-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.f3__msg-header {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.f3__msg-sender {
    font-weight: var(--font-weight-semibold);
    font-size: 14px;
    color: var(--text-secondary);
}

.f3__msg-time {
    font-size: 11px;
    color: var(--grey-05);
}

.f3__msg-text {
    font-size: 14px;
    color: var(--text-primary) !important;
    line-height: 1.4;
}

.f3__input-area {
    background-color: var(--white);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 12px 12px 0 0;
    margin-top: auto;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--grey-03);
    border-bottom: none;
}

.f3__tags-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.f3__tag-pill {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--white);
    font-weight: var(--font-weight-medium);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.f3__tag-pill span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.f3__project-color {
    background-color: var(--secondary-green);
}

.f3__task-color {
    background-color: var(--text-secondary);
}

.f3__attachment-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 4px;
}

.f3__attachment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.f3__thumbnail-wrapper {
    position: relative;
    width: 100%;
    height: 80px;
}

.f3__thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.f3__remove-thumb {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    color: var(--text-secondary);
}

.f3__file-attachment {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    background-color: var(--grey-02);
    border: 1px solid var(--grey-03);
    border-radius: 6px;
    height: 80px;
    position: relative;
}

.f3__file-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.f3__file-icon img {
    width: 32px;
    height: 32px;
}

.f3__file-name {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.f3__input-text {
    font-size: 14px;
    color: var(--grey-05);
    margin-bottom: 4px;
    min-height: 20px;
}

.f3__input-text--typing {
    color: var(--text-primary);
}

.f3__placeholder-text {
    flex: 1;
    margin: 0 12px;
    color: var(--grey-05);
    font-size: 14px;
}

.f3__actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 4px;
}

.f3__left-actions {
    display: flex;
    gap: 12px;
    color: var(--text-secondary);
}

.f3__action-icon {
    background-color: var(--grey-02);
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.f3__action-icon--pressed {
    transform: scale(0.88);
    opacity: 0.8;
    background-color: var(--grey-03);
}

.f3__transparent-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.f3__transparent-icon--pressed {
    transform: scale(0.88);
    opacity: 0.6;
}

.f3__send-btn {
    background-color: var(--text-secondary);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.f3__send-btn--pressed {
    transform: scale(0.88);
    opacity: 0.8;
    background-color: var(--text-primary);
}

.f3__bs-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 500;
    border-radius: 12px 12px 0 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.f3__bs-overlay--visible {
    opacity: 1;
    pointer-events: auto;
}

.f3__bottom-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    border-radius: 20px 20px 0 0;
    padding: 24px;
    z-index: 501;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.f3__bottom-sheet--visible {
    transform: translateY(0);
}

.f3__bs-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.f3__bs-item--active {
    opacity: 0.6;
}

.f3__bs-icon {
    color: var(--text-secondary);
}

.f3__bs-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

/* Chat mode for Feature3 (after sending) */
.f3__chat-input-row {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    background: var(--white);
    border: 1px solid var(--grey-03);
    border-bottom: none;
    margin-top: auto;
}

/* Responsive for features 2-5 */
@media (max-width: 450px) {

    .f2__wrapper,
    .f3__wrapper,
    .f4__wrapper,
    .f5__wrapper {
        min-height: 400px;
    }

    .f2__ui,
    .f3__ui,
    .f4__ui,
    .f5__ui {
        width: 100%;
        max-width: 400px;
        min-height: 400px;
        border: 8px solid rgba(255, 255, 255, 0.4);
        border-bottom: none;
    }

    /* Feature 2 Screen 1 */
    .f2__search-bar {
        padding: 12px 16px;
    }

    .f2__list-container {
        padding: 12px 16px;
    }

    .f2__list-item {
        padding: 8px 0;
    }

    .f2__item-left {
        gap: 12px;
    }

    .f2__item-title {
        font-size: 11px;
    }

    .f2__tt-icon {
        width: 22px;
        height: 22px;
    }

    .f2__hash-icon {
        font-size: 15px;
        width: 22px;
    }

    .f2__avatar {
        width: 22px;
        height: 22px;
    }

    .f2__fab-container {
        bottom: 24px;
        right: 16px;
    }

    .f2__fab {
        font-size: 12px;
        padding: 10px 16px;
        gap: 6px;
        border-radius: 24px;
    }

    .f2__chat-overlay {
        width: 100%;
        border-radius: 20px 20px 0 0;
    }

    .f2__search-input [data-f2="searchText"] {
        font-size: 12px !important;
    }

    .f2__cancel-text {
        font-size: 12px;
    }

    /* Feature 2 Screen 2 */
    .f2__cm-header {
        padding: 12px 16px;
    }

    .f2__cm-search span {
        font-size: 12px;
    }

    .f2__cm-cancel {
        font-size: 12px;
    }

    .f2__cm-title-row {
        font-size: 11px;
        padding: 12px 16px 8px;
    }

    .f2__cm-selected-row {
        padding: 12px 16px 8px;
    }

    .f2__cm-list {
        padding: 8px 16px;
        gap: 12px;
        flex: none;
    }

    .f2__cm-footer {
        padding: 16px;
    }

    .f2__cm-selected-text {
        font-size: 11px;
    }

    .f2__member-avatar,
    .f2__cm-initials {
        width: 28px;
        height: 28px;
        font-size: 11px;
        border-radius: 50%;
        object-fit: cover;
    }

    .f2__cm-remove-badge {
        width: 12px;
        height: 12px;
        top: -1px;
        right: -1px;
        font-size: 8px;
    }

    .f2__cm-item {
        gap: 12px;
    }

    .f2__cm-email {
        font-size: 12px;
        font-weight: var(--font-weight-medium);
    }

    .f2__cm-role {
        font-size: 10px;
    }

    .f2__check-circle {
        width: 18px;
        height: 18px;
        border-width: 1.5px;
    }

    .f2__check-circle i {
        width: 10px !important;
        height: 10px !important;
    }

    .f2__cm-button {
        font-size: 13px;
        padding: 12px;
        font-weight: var(--font-weight-semibold);
    }

    /* Feature 2 Screen 3 (Chat) */
    .f2__chat-scroll-area {
        padding: 12px 16px;
        gap: 10px;
    }

    .f2__message-row {
        align-items: center;
    }

    .f2__msg-avatar {
        width: 28px;
        height: 28px;
    }

    .f2__msg-sender {
        font-size: 12px;
        font-weight: var(--font-weight-semibold);
    }

    .f2__msg-time {
        font-size: 10px;
        margin-top: 1px;
    }

    .f2__input-area {
        padding: 8px 16px;
        gap: 10px;
    }

    .f2__input-area>div:first-child {
        width: 28px;
        display: flex;
        justify-content: center;
    }

    .f2__input-text {
        font-size: 12px;
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .f2__transparent-icon i {
        width: 18px !important;
        height: 18px !important;
    }

    .f2__ta-header {
        padding: 6px 10px;
        font-size: 11px;
    }

    .f2__ta-header-left {
        font-size: 11px;
        gap: 6px;
        font-weight: var(--font-weight-semibold);
    }

    .f2__ta-header-left i {
        width: 14px !important;
        height: 14px !important;
    }

    .f2__ta-header-date {
        font-size: 10px;
    }

    .f2__ta-body {
        padding: 6px 10px;
        gap: 6px;
    }

    .f2__ta-pills {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .f2__ta-pills .f2__tag-pill {
        font-size: 10px;
        padding: 5px 8px;
        min-width: 0;
    }

    .f2__ta-pills .f2__tag-pill span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
    }

    .f2__ta-footer {
        font-size: 10px;
        margin-top: 2px;
    }

    .f2__ta-due {
        font-size: 11px;
    }

    .f2__ta-avatar-initials {
        width: 20px;
        height: 20px;
        font-size: 9px;
    }

    .f2__indented-row {
        padding-left: 36px;
    }

    /* Feature 3 overrides */
    .f3__chat-window {
        padding: 10px;
        gap: 10px;
    }

    .f3__msg-avatar {
        width: 28px;
        height: 28px;
    }

    .f3__msg-sender {
        font-size: 12px;
    }

    .f3__msg-time {
        font-size: 10px;
    }

    .f3__msg-text {
        font-size: 12px;
        line-height: 1.3;
    }

    .f3__input-area {
        padding: 10px;
        gap: 6px;
    }

    .f3__chat-input-row {
        padding: 10px;
        gap: 10px;
    }

    .f3__chat-input-row>div:first-child {
        width: 28px;
        display: flex;
        justify-content: center;
    }

    .f3__input-text {
        font-size: 12px;
        flex: 1;
    }

    .f3__placeholder-text {
        font-size: 12px;
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0;
    }

    .f3__tag-pill {
        font-size: 11px;
        padding: 4px 8px;
        gap: 4px;
    }

    .f3__action-icon,
    .f3__transparent-icon,
    .f3__send-btn {
        width: 30px;
        height: 30px;
    }

    .f3__left-actions {
        gap: 8px;
    }

    /* Feature 4 overrides */
    .f4__chat-window {
        padding: 10px;
        gap: 0px;
    }

    .f4__message-row {
        gap: 10px;
        margin: 0;
        padding: 0;
    }

    .f4__msg-avatar {
        width: 28px;
        height: 28px;
    }

    .f4__msg-sender {
        font-size: 11px;
    }

    .f4__msg-time {
        font-size: 9px;
    }

    .f4__input-text {
        font-size: 12px;
        flex: 1;
        margin: 0;
    }

    .f4__msg-text {
        font-size: 12px;
        line-height: 1.2;
        margin: 0;
        padding: 0;
    }

    .f4__card-header {
        padding: 6px;
        font-size: 10.5px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .f4__card-header-left {
        font-size: 9.5px;
        font-weight: var(--font-weight-semibold);
        gap: 4px;
        display: flex;
        align-items: center;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .f4__completed-card .f4__card-header-left i,
    .f4__completed-card .f4__card-header-left svg {
        width: 12px !important;
        height: 12px !important;
    }

    .f4__card-header-date {
        font-size: 9px;
        flex-shrink: 1;
        text-align: right;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        opacity: 0.9;
    }

    .f4__card-body {
        padding: 6px;
        gap: 4px;
    }

    .f4__card-due {
        font-size: 9px;
        font-weight: var(--font-weight-medium);
    }

    .f4__card-pills {
        gap: 4px;
        margin: 0;
    }

    .f4__tag-pill {
        font-size: 9px;
        padding: 2px 6px;
        gap: 2px;
        border-radius: 4px;
    }

    .f4__tag-pill i,
    .f4__tag-pill svg {
        width: 10px !important;
        height: 10px !important;
    }

    .f4__avatar {
        width: 18px !important;
        height: 18px !important;
    }

    .f4__attachment-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 0 0 8px 0;
        gap: 10px;
        width: 100%;
    }

    .f4__attachment-grid>div {
        min-width: 0;
    }

    .f4__drywall-image {
        width: 100% !important;
        height: 80px !important;
        object-fit: cover;
        border-radius: 6px;
    }

    .f4__file-attachment {
        width: 100% !important;
        min-width: 0;
        box-sizing: border-box;
    }

    .f4__file-name {
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 4px;
    }

    .f4__indented-row {
        padding-left: 38px;
        margin: 0;
        width: 100%;
    }

    .f4__input-area {
        padding: 10px;
        gap: 10px;
    }

    .f4__input-area>div:first-child {
        width: 28px;
        display: flex;
        justify-content: center;
    }

    .f4__input-text {
        font-size: 12px;
    }

    .f5__wrapper {
        width: 100% !important;
        box-sizing: border-box;
        overflow: hidden;
    }

    .f5__feed-item {
        padding: 0 20px 0 20px;
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .f5__avatar {
        width: 24px;
        height: 24px;
    }

    .f5__avatar-badge {
        width: 12px;
        height: 12px;
        border-width: 1.5px;
        bottom: -3px;
        right: -3px;
    }

    .f5__user-name {
        font-size: 11px;
    }

    .f5__time-text {
        font-size: 9px;
    }

    .f5__action-text {
        font-size: 10px;
        line-height: 1.25;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .f5__item-content {
        padding-bottom: 10px;
        gap: 6px;
    }

    .f5__tag-pill {
        font-size: 9px;
        padding: 3px 6px;
        gap: 2px;
        flex: 1;
        min-width: 0;
        max-width: 50%;
    }

    .f5__tag-pill span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
        width: 100%;
    }

    .f5__pills-row {
        display: flex;
        gap: 6px;
        flex-wrap: nowrap;
        width: 100%;
        margin-top: 6px;
        overflow: hidden;
    }
}