.assignment-home-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
    margin-bottom:20px
}
.assignment-module-card{
    display:grid;
    grid-template-columns:auto 1fr auto;
    gap:15px;
    align-items:center;
    padding:22px;
    border:1px solid var(--line);
    border-radius:17px;
    background:#fff;
    color:inherit;
    text-decoration:none;
    box-shadow:var(--shadow)
}
.assignment-module-card:hover{
    border-color:var(--blue)
}
.assignment-module-card h2{
    margin:0 0 5px;
    color:var(--navy);
    font-size:1.05rem
}
.assignment-module-card p{
    margin:0;
    color:var(--muted);
    line-height:1.45
}
.assignment-module-card>strong{
    color:var(--blue);
    font-size:1.65rem
}
.assignment-icon{
    display:grid;
    width:42px;
    height:42px;
    place-items:center;
    border-radius:12px;
    background:var(--blue-light);
    color:var(--blue);
    font-size:1.25rem
}
.disabled-card{
    opacity:.65
}
.disabled-card em{
    color:var(--muted);
    font-size:.7rem
}
.assignment-year-card{
    display:flex;
    justify-content:space-between;
    padding:17px;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
    box-shadow:var(--shadow)
}
.assignment-year-card span{color:var(--muted)}
.assignment-year-card strong{color:var(--navy)}
.assignment-filter{
    display:grid;
    grid-template-columns:repeat(3,minmax(180px,1fr)) auto auto;
    gap:12px;
    align-items:end;
    margin-bottom:20px;
    padding:16px;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
    box-shadow:var(--shadow)
}
.assignment-filter>div{
    display:flex;
    flex-direction:column;
    gap:7px
}
.assignment-filter label{
    font-size:.8rem;
    font-weight:700
}
.lesson-count{
    display:inline-flex;
    min-width:36px;
    justify-content:center;
    padding:5px 9px;
    border-radius:999px;
    background:var(--blue-light);
    color:var(--blue);
    font-weight:700
}
@media(max-width:1000px){
    .assignment-home-grid{
        grid-template-columns:1fr
    }
    .assignment-filter{
        grid-template-columns:1fr
    }
}

/* v0.53.0 — tabela compacta e ações completas na atribuição */
.assignment-list-card{
    overflow-x:auto
}
.assignment-list-table{
    width:100%;
    table-layout:fixed;
    font-size:.76rem
}
.assignment-list-table th,
.assignment-list-table td{
    padding:9px 7px;
    vertical-align:middle;
    overflow-wrap:anywhere
}
.assignment-list-table th:nth-child(1){width:17%}
.assignment-list-table th:nth-child(2){width:7%}
.assignment-list-table th:nth-child(3){width:7%}
.assignment-list-table th:nth-child(4){width:11%}
.assignment-list-table th:nth-child(5){width:7%}
.assignment-list-table th:nth-child(6){width:5%}
.assignment-list-table th:nth-child(7){width:7%}
.assignment-list-table th:nth-child(8){width:10%}
.assignment-list-table th:nth-child(9){width:6%}
.assignment-list-table th:nth-child(10){width:8%}
.assignment-list-table th:nth-child(11){width:15%}
.assignment-actions-cell{white-space:nowrap}
.assignment-row-actions{
    display:flex;
    align-items:center;
    gap:9px;
    flex-wrap:wrap
}
.assignment-row-actions form{margin:0}
.assignment-delete-link{
    padding:0;
    border:0;
    background:transparent;
    color:#a92323;
    font:inherit;
    font-weight:700;
    cursor:pointer
}
.assignment-delete-link:hover{text-decoration:underline}
@media(max-width:1100px){
    .assignment-list-table{min-width:980px}
}
