/* Desktop default */
.ssc-mobile-list {
    display: none;
}

/* Table wrapper for desktop */
.ssc-table-wrapper {
    width: 100%;
    overflow-x: auto;
    display: block;
}

/* Mobile layout */
@media (max-width: 768px) {

    /* Hide desktop table */
    .ssc-table-wrapper {
        display: none !important;
    }

    /* Show mobile cards */
    .ssc-mobile-list {
        display: block !important;
    }
}

/* Mobile card styling */
.ssc-mobile-card {
    border: 1px solid #ccc;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 6px;
    background: #fff;
}

.ssc-task-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
}

.ssc-task-meta {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.ssc-days {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.ssc-day {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

.ssc-day input[type="checkbox"] {
    width: 22px;
    height: 22px;
}

.ssc-total {
    font-weight: bold;
    font-size: 16px;
}

/* Print mode */
@media print {
    .ssc-mobile-list {
        display: none !important;
    }
    .ssc-table-wrapper {
        display: block !important;
    }
}
