/* ========== ISC BUILDING MATERIALS — PAGE-SPECIFIC ========== */

/* ---- Metrics: ISC uses 4-column layout ---- */
.cs-metrics__grid--4 {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
    .cs-metrics__grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .cs-metrics__grid--4 { grid-template-columns: 1fr; gap: 0; text-align: left; }
}

/* ---- Story problems: intermediate tablet breakpoint ---- */
@media (max-width: 1024px) {
    .cs-story__problems { grid-template-columns: repeat(2, 1fr); }
    .cs-story__problem-card { grid-column: span 1 !important; }
}
@media (max-width: 640px) {
    .cs-story__problems { grid-template-columns: 1fr; }
}

/* ---- Features Scrollytelling Section ---- */
.isc-features-section {
    background: var(--white);
    padding: 8rem 0;
}

@media (max-width: 1024px) {
    .isc-features-section { padding: 5rem 0; }
}
@media (max-width: 768px) {
    .isc-features-section { padding: 4rem 0; }
    .features__br-desktop { display: none; }
    .cs-br-desktop { display: none; }
}
@media (max-width: 480px) {
    .isc-features-section { padding: 3rem 0; }
}

.features__highlight {
    color: var(--secondary-green);
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

/* ---- Hero Brand Variant ---- */
.cs-hero--brand {
    background: linear-gradient(135deg, #0a1629 0%, #035B60 50%, #0a1629 100%);
    position: relative;
}

.cs-hero--brand::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 41, 0.65);
    z-index: 0;
    pointer-events: none;
}

.cs-hero__bg-blur {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(4px);
    transform: scale(1.06);
    opacity: 0.3;
    z-index: 0;
}

.cs-hero--brand .cs-hero__container {
    grid-template-columns: 1fr 420px;
    padding: 5rem 1.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Company badge */
.cs-hero__company-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 0.625rem 1rem 0.625rem 0.625rem;
    margin-bottom: 1.25rem;
}

.cs-hero__company-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    padding: 4px;
}

.cs-hero__company-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cs-hero__company-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cs-hero__company-name {
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    color: var(--white);
    line-height: 1.2;
}

.cs-hero__company-meta {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.2;
}

/* Rating badge */
.cs-hero__rating {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgba(255,255,255,0.15);
    border-radius: 100px;
    padding: 0.35rem 0.875rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
    color: var(--white);
}

/* Title / subtitle on dark background */
.cs-hero--brand .cs-hero__title {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cs-hero--brand .cs-hero__subtitle {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Quote card (unused in current layout, kept for reference) */
.cs-hero__quote-card {
    background: var(--white);
    border-radius: 14px;
    padding: 1.125rem;
    display: flex;
    gap: 0.875rem;
    margin-bottom: 1.75rem;
    align-items: flex-start;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.cs-hero__quote-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cs-hero__quote-body p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

.cs-hero__quote-author strong {
    display: block;
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.cs-hero__quote-author span {
    font-size: 0.72rem;
    color: var(--text-tertiary);
}

/* Button overrides for dark background */
.cs-hero--brand .cs-hero__btn-primary {
    background: var(--secondary-green);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.cs-hero--brand .cs-hero__btn-primary:hover {
    background: var(--secondary-green-hover);
    box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}

/* Visual column */
.cs-hero__visual {
    position: relative;
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

/* App mockup frame (legacy, kept for reference) */
.cs-hero__mockup-frame {
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0,0,0,0.15);
    width: 100%;
    flex: 1;
    padding: 1.75rem 1.125rem 0;
    display: flex;
    flex-direction: column;
    min-height: 440px;
}

.cs-hero__mockup-inner {
    background: var(--white);
    border-radius: 14px 14px 0 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ---- IHM (ISC Hero Mockup) — legacy phone UI classes ---- */
.ihm__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.875rem;
    border-bottom: 1px solid var(--grey-03);
    flex-shrink: 0;
}

.ihm__header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ihm__back-icon {
    color: var(--secondary-green);
    display: flex;
    align-items: center;
}

.ihm__header-info { display: flex; flex-direction: column; gap: 1px; }

.ihm__project-name {
    font-size: 0.78rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: 0; line-height: 1.2;
}

.ihm__project-meta {
    font-size: 0.62rem;
    color: var(--text-tertiary);
    margin: 0;
}

.ihm__chat-area {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    scrollbar-width: none;
}
.ihm__chat-area::-webkit-scrollbar { display: none; }

.ihm__msg-row {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.ihm__msg-row--visible { opacity: 1; transform: translateY(0); }
.ihm__msg-row--static  { opacity: 1; transform: translateY(0); transition: none; }

.ihm__avatar-circle {
    width: 26px; height: 26px; min-width: 26px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.55rem; font-weight: 700; flex-shrink: 0;
}

.ihm__msg-content { flex: 1; min-width: 0; }

.ihm__msg-meta {
    display: flex; align-items: baseline; gap: 0.35rem; margin-bottom: 0.2rem;
}

.ihm__sender { font-size: 0.7rem; font-weight: var(--font-weight-semibold); }
.ihm__time   { font-size: 0.58rem; color: var(--text-tertiary); }
.ihm__msg-text { font-size: 0.72rem; color: var(--text-secondary); line-height: 1.4; }

.ihm__photo-thumb {
    margin-top: 0.3rem; border-radius: 7px; overflow: hidden; max-height: 72px;
}
.ihm__photo-thumb img {
    width: 100%; height: 72px; object-fit: cover; display: block;
}

.ihm__checklist {
    background: var(--grey-02);
    border-radius: 8px; padding: 0.45rem 0.6rem;
    margin-top: 0.3rem;
    display: flex; flex-direction: column; gap: 0.3rem;
}
.ihm__check-item {
    display: flex; align-items: center; gap: 0.35rem;
    font-size: 0.67rem; color: var(--text-secondary);
}
.ihm__check-box {
    width: 13px; height: 13px; border-radius: 3px;
    border: 1.5px solid var(--grey-04); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.ihm__check-box--done { background: var(--secondary-green); border-color: var(--secondary-green); color: var(--white); }

.ihm__confirm-bubble {
    display: inline-block;
    background: var(--secondary-green); color: var(--white);
    border-radius: 8px 8px 8px 0; padding: 0.35rem 0.6rem;
    font-size: 0.7rem; font-weight: var(--font-weight-medium); margin-top: 0.3rem;
}

/* Compose */
.ihm__compose {
    flex-shrink: 0; border-top: 1px solid var(--grey-03);
    padding: 0.5rem 0.75rem 0.625rem;
}
.ihm__compose-tags { display: flex; gap: 0.3rem; margin-bottom: 0.35rem; flex-wrap: wrap; }
.ihm__tag-pill {
    display: inline-flex; align-items: center; gap: 3px;
    border-radius: 100px; padding: 2px 7px;
    font-size: 0.6rem; font-weight: var(--font-weight-medium);
}
.ihm__tag-project { background: var(--light-sky); color: var(--blue); }
.ihm__tag-delivery { background: var(--light-mint); color: var(--secondary-green); }

.ihm__compose-text {
    font-size: 0.7rem; color: var(--text-tertiary);
    padding: 0.2rem 0; min-height: 1.4rem; line-height: 1.4;
}
.ihm__photo-attach {
    margin-bottom: 0.35rem; border-radius: 6px; overflow: hidden;
}
.ihm__photo-attach img { width: 100%; height: 52px; object-fit: cover; display: block; }

.ihm__compose-toolbar {
    display: flex; align-items: center; justify-content: space-between; margin-top: 0.35rem;
}
.ihm__toolbar-left { display: flex; gap: 0.625rem; color: var(--text-tertiary); }

.ihm__send-btn {
    width: 26px; height: 26px;
    background: var(--secondary-green); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); transition: transform 0.15s ease;
}
.ihm__send-btn--pressed { transform: scale(0.85); }

.ihm__cursor {
    display: inline-block; width: 1.5px; height: 0.8em;
    background: var(--secondary-green); margin-left: 1px; vertical-align: middle;
    animation: ihm-blink 0.7s infinite;
}
@keyframes ihm-blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

/* ---- Chat wrap (right column) ---- */
.isc-hero__chat-wrap {
    width: 100%;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
}

.isc-hero__chat-wrap .f3__wrapper {
    min-height: 560px;
    align-items: flex-end;
}

.isc-hero__chat-wrap .f3__ui {
    max-width: none;
    min-height: 560px;
}

.isc-hero__chat-wrap .f3__task-color {
    background-color: var(--text-primary);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .cs-hero--brand .cs-hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .cs-hero__company-badge {
        align-self: center;
        text-align: left;
    }

    .cs-hero--brand .cs-hero__title,
    .cs-hero--brand .cs-hero__subtitle {
        text-align: center;
    }

    .cs-hero__visual {
        display: none;
    }

    .isc-hero__chat-wrap {
        margin: 0 auto;
        width: 100%;
        max-width: 480px;
    }

    .isc-hero__chat-wrap .f3__wrapper,
    .isc-hero__chat-wrap .f3__ui {
        min-height: 426px;
    }
}

@media (max-width: 480px) {
    .cs-hero--brand .cs-hero__title {
        font-size: 1.75rem;
    }

    .isc-hero__chat-wrap {
        max-width: 100%;
    }

    .cs-hero__company-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }
}

/* ========== WORKFLOW — ISC OVERRIDE ========== */

.cs-wf__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--light-mint);
    color: var(--secondary-green);
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
    border-radius: 100px;
    padding: 6px 16px;
    margin-bottom: 0.75rem;
}

.cs-wf__grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cs-wf__grid--3 { grid-template-columns: repeat(3, 1fr); }
.cs-wf__grid--4 { grid-template-columns: repeat(4, 1fr); }

.cs-wf__step {
    display: flex;
    flex-direction: column;
}

.cs-wf__step-top {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.cs-wf__icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: var(--secondary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(var(--secondary-green-rgb), 0.25);
}

.cs-wf__connector {
    display: none;
}

.cs-wf__step-title {
    font-size: 0.9375rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.cs-wf__num { color: var(--text-primary); }

.cs-wf__step-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 0.875rem;
    flex: 1;
}

.cs-wf__card {
    background: var(--grey-02);
    border: 1px solid var(--grey-03);
    border-radius: 10px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.72rem;
}

.cs-wf__card-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--secondary-green);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: var(--font-weight-semibold);
    border-radius: 100px;
    padding: 3px 10px;
    margin-bottom: 8px;
}

.cs-wf__card-badge--outline {
    background: var(--light-mint);
    color: var(--secondary-green);
}

.cs-wf__card-thumb {
    background: var(--white);
    border: 1px solid var(--grey-03);
    border-radius: 6px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-04);
    margin-bottom: 6px;
}

.cs-wf__card-row {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    padding: 2px 0;
    line-height: 1.4;
}

.cs-wf__card-row--check {
    color: var(--secondary-green);
    font-weight: var(--font-weight-medium);
}

.cs-wf__card-row--muted { color: var(--text-quaternary); }

.cs-wf__card-row--amber { color: #b45309; }

.cs-wf__card-row--green-link {
    color: var(--secondary-green);
    font-size: 0.7rem;
}

.cs-wf__notif-row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 5px 0;
    border-bottom: 1px solid var(--grey-03);
}

.cs-wf__notif-row:last-child { border-bottom: none; }

.cs-wf__notif-check {
    color: var(--secondary-green);
    font-weight: var(--font-weight-bold);
    font-size: 0.75rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.cs-wf__notif-name {
    font-size: 0.7rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    line-height: 1.2;
}

.cs-wf__notif-sub {
    font-size: 0.65rem;
    color: var(--text-quaternary);
}

.cs-wf__issue-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #FEF3C7;
    color: #92400E;
    font-size: 0.65rem;
    font-weight: var(--font-weight-semibold);
    border-radius: 100px;
    padding: 3px 10px;
}

.cs-wf__progress-label {
    font-size: 0.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--secondary-green);
    margin-bottom: 4px;
}

.cs-wf__progress-bar {
    height: 6px;
    background: var(--grey-03);
    border-radius: 100px;
    overflow: hidden;
}

.cs-wf__progress-fill {
    height: 100%;
    background: var(--secondary-green);
    border-radius: 100px;
}

.cs-wf__highlight {
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
    color: var(--secondary-green);
    margin: 0;
}

/* ---- Dark-mode overrides (matches RC workflow style) ---- */
.cs-workflow--isc {
    background: var(--text-primary);
}

.cs-workflow--isc .cs-section__title { color: var(--white); }
.cs-workflow--isc .cs-section__subtitle { color: #9ca3af; }

.cs-workflow--isc .cs-wf__step {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.75rem;
}

.cs-workflow--isc .cs-wf__icon {
    background: rgba(var(--secondary-green-rgb), 0.15);
    color: var(--secondary-green);
    box-shadow: none;
}

.cs-workflow--isc .cs-wf__connector {
    background: rgba(255, 255, 255, 0.12);
    opacity: 1;
}

.cs-workflow--isc .cs-wf__step-title { color: var(--white); }
.cs-workflow--isc .cs-wf__step-desc  { color: #9ca3af; margin-bottom: 0; }
.cs-workflow--isc .cs-wf__num        { color: var(--white); }

.cs-workflow--isc .cs-wf__card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.cs-workflow--isc .cs-wf__card-row        { color: rgba(255, 255, 255, 0.75); }
.cs-workflow--isc .cs-wf__card-row--muted { color: #6b7280; }

.cs-workflow--isc .cs-wf__card-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.25);
}

.cs-workflow--isc .cs-wf__notif-row        { border-bottom-color: rgba(255, 255, 255, 0.08); }
.cs-workflow--isc .cs-wf__notif-name       { color: var(--white); }
.cs-workflow--isc .cs-wf__notif-sub        { color: #6b7280; }

.cs-workflow--isc .cs-wf__progress-bar    { background: rgba(255, 255, 255, 0.15); }
.cs-workflow--isc .cs-wf__progress-label  { color: var(--secondary-green); }

.cs-workflow--isc .cs-wf__impact {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    margin-top: 3.5rem !important;
}

.cs-workflow--isc .cs-wf__impact-title    { color: var(--white); }
.cs-workflow--isc .cs-wf__impact-subtitle { color: #9ca3af; }
.cs-workflow--isc .cs-wf__impact-label    { color: var(--white); }
.cs-workflow--isc .cs-wf__impact-sub      { color: #9ca3af; }

/* ---- Daily Impact block ---- */
.cs-wf__impact {
    background: var(--light-mint);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    margin-top: 1rem;
}

.cs-wf__impact-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 0 0.75rem;
}

.cs-wf__impact-subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 2.5rem;
}

.cs-wf__impact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cs-wf__impact-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.cs-wf__impact-num {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--secondary-green);
    line-height: 1;
    margin-bottom: 0.375rem;
}

.cs-wf__impact-label {
    font-size: 0.9375rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.cs-wf__impact-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .cs-wf__grid--3 { grid-template-columns: 1fr; }
    .cs-wf__grid--4 { grid-template-columns: repeat(2, 1fr); }
    .cs-wf__connector { display: none; }
}

@media (max-width: 768px) {
    .cs-wf__impact { padding: 2rem 1.5rem; }
    .cs-wf__impact-stats { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 640px) {
    .cs-wf__grid--4 { grid-template-columns: 1fr; }
    .cs-wf__grid--3 { grid-template-columns: 1fr; }
}

/* ========== FEATURES IN ACTION ========== */

.cs-features-isc {
    background: var(--white);
    padding: 8rem 0;
}

.cs-features-isc__container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cs-features-isc__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--light-mint);
    color: var(--secondary-green);
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
    border-radius: 100px;
    padding: 6px 16px;
    margin-bottom: 0.25rem;
}

.cs-features-isc__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ---- Card shell ---- */
.cs-features-isc__card {
    background: var(--white);
    border: 1px solid var(--grey-03);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cs-features-isc__card-top {
    display: flex;
    flex-direction: column;
}

.cs-features-isc__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--grey-02);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-green);
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.cs-features-isc__card-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cs-features-isc__card-desc {
    font-size: 0.875rem;
    color: var(--grey-05);
    line-height: 1.65;
    margin: 0;
}

/* ---- Preview area ---- */
.cs-features-isc__preview {
    background: var(--grey-02);
    border-radius: 10px;
    padding: 1rem;
    flex: 1;
}

/* ---- Card footer ---- */
.cs-features-isc__card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.875rem;
    border-top: 1px solid var(--grey-03);
}

.cs-features-isc__stat {
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    color: var(--secondary-green);
}

.cs-features-isc__learn {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-quaternary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cs-features-isc__learn:hover {
    color: var(--secondary-green);
}

/* ---- Feature card stat chip ---- */
.cs-features-isc__stat-chip {
    display: inline-flex;
    align-items: center;
    background: var(--light-mint);
    color: var(--secondary-green);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    border-radius: 100px;
    padding: 4px 12px;
    margin-top: 0.75rem;
    align-self: flex-start;
}

/* ---- Mock UI: Photo Documentation ---- */
.isc-feat__photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.isc-feat__photo-thumb {
    background: var(--white);
    border-radius: 8px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-04);
    border: 1px solid var(--grey-03);
}

.isc-feat__photo-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.isc-feat__photo-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: var(--text-secondary);
}

/* ---- Mock UI: Team Chat ---- */
.isc-feat__chat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.isc-feat__chat-msg {
    font-size: 0.75rem;
    padding: 0.45rem 0.75rem;
    border-radius: 10px;
    max-width: 80%;
    line-height: 1.4;
}

.isc-feat__chat-msg--left {
    background: var(--white);
    color: var(--text-secondary);
    border-radius: 4px 10px 10px 10px;
    align-self: flex-start;
    border: 1px solid var(--grey-03);
}

.isc-feat__chat-msg--right {
    background: var(--secondary-green);
    color: var(--white);
    border-radius: 10px 4px 10px 10px;
    align-self: flex-end;
}

/* ---- Mock UI: Task Tracking ---- */
.isc-feat__tasks {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.isc-feat__task {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.isc-feat__task--done span {
    color: var(--text-quaternary);
    text-decoration: line-through;
}

.isc-feat__task-check {
    width: 16px;
    height: 16px;
    min-width: 16px;
    border-radius: 4px;
    border: 1.5px solid var(--grey-04);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.isc-feat__task-check--done {
    background: var(--secondary-green);
    border-color: var(--secondary-green);
    color: var(--white);
}

/* ---- Mock UI: Daily Reports ---- */
.isc-feat__report {
    background: var(--white);
    border-radius: 8px;
    padding: 0.75rem;
    border: 1px solid var(--grey-03);
}

.isc-feat__report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--grey-03);
}

.isc-feat__report-title {
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.isc-feat__report-date {
    font-size: 0.65rem;
    color: var(--text-quaternary);
}

.isc-feat__report-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.isc-feat__report-val {
    font-weight: var(--font-weight-semibold);
    color: var(--secondary-green);
}

.isc-feat__report-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    color: var(--secondary-green);
    font-weight: var(--font-weight-medium);
    margin-top: 0.5rem;
    cursor: pointer;
}

/* ---- Mock UI: GPS Timesheets ---- */
.isc-feat__timesheet {
    background: var(--white);
    border-radius: 8px;
    padding: 0.75rem;
    border: 1px solid var(--grey-03);
}

.isc-feat__ts-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding-bottom: 0.625rem;
    margin-bottom: 0.625rem;
    border-bottom: 1px solid var(--grey-03);
}

.isc-feat__ts-avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: var(--grey-03);
    color: var(--text-secondary);
    font-size: 0.6rem;
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.isc-feat__ts-name {
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.isc-feat__ts-role {
    font-size: 0.65rem;
    color: var(--text-quaternary);
}

.isc-feat__ts-rows {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.isc-feat__ts-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.isc-feat__ts-verified {
    color: var(--secondary-green);
    font-weight: var(--font-weight-medium);
}

/* ---- Mock UI: Delivery Documentation ---- */
.isc-feat__delivery-doc {
    background: var(--white);
    border-radius: 8px;
    padding: 0.75rem;
    border: 1px solid var(--grey-03);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.isc-feat__doc-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.isc-feat__doc-row--check {
    color: var(--secondary-green);
    font-weight: var(--font-weight-medium);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .cs-features-isc {
        padding: 5rem 0;
    }
}

@media (max-width: 768px) {
    .cs-features-isc {
        padding: 4rem 0;
    }

    .cs-features-isc__container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .cs-features-isc__grid {
        grid-template-columns: 1fr;
    }
}

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