/* Acts composer */
.act-list-intro {
    margin-bottom: 0.85rem;
}
.act-list-intro__card {
    background: #f8fafc;
    border: 1px solid #e6eaf0;
    border-radius: 12px;
    padding: 0.85rem 1rem;
}
.act-list-intro__steps {
    margin-top: 0.35rem;
    padding-left: 1.15rem;
    color: #64748b;
    font-size: 0.88rem;
}
.act-list-number { font-weight: 700; }

.act-composer {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.act-composer .card {
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: none;
}
.act-composer__header-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.act-composer__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}
.act-composer__hint { font-size: 0.86rem; }
.act-composer__totals {
    display: flex;
    gap: 0.6rem;
}
.act-composer__total-item {
    min-width: 88px;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
    text-align: center;
}
.act-composer__total-label {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    margin-bottom: 0.15rem;
}
.act-composer__total-item strong {
    font-size: 1.1rem;
    font-variant-numeric: tabular-nums;
}

.act-composer__fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}
.act-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin: 0;
    font-size: 0.82rem;
    color: #475569;
    font-weight: 600;
}
.act-field--wide { grid-column: 1 / -1; }
.act-field .form-control,
.act-field .form-select {
    font-weight: 400;
}

.act-composer__toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
}
.act-composer__toolbar-left,
.act-composer__toolbar-right {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.act-composer__toolbar-left .form-control {
    min-width: 220px;
    max-width: 320px;
}
.act-composer__check {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
}

.act-composer__table-wrap {
    padding: 0;
    overflow: auto;
}
.act-composer__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.act-composer__table th {
    position: sticky;
    top: 0;
    background: #f8fafc;
    border-bottom: 1px solid #e6eaf0;
    padding: 0.7rem 0.85rem;
    text-align: left;
    color: #64748b;
    font-weight: 600;
    font-size: 0.78rem;
    white-space: nowrap;
}
.act-composer__table td {
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}
.act-col-check { width: 42px; text-align: center; }
.act-row.is-selected { background: #f0f7ff; }
.act-row.has-dupe .act-task-dupe { color: #b45309; }
.act-task-title { font-weight: 600; color: #0f172a; }
.act-task-id {
    color: #94a3b8;
    font-weight: 600;
    margin-right: 0.25rem;
}
.act-task-dupe { font-size: 0.75rem; margin-top: 0.15rem; }
.act-status {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
}
.act-num { font-variant-numeric: tabular-nums; color: #64748b; }
.act-hours-input {
    width: 88px;
    margin-left: auto;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.act-composer__empty {
    text-align: center;
    padding: 2rem 1rem;
}

@media (max-width: 992px) {
    .act-composer__fields { grid-template-columns: 1fr 1fr; }
    .act-composer__header-top { flex-direction: column; }
}
@media (max-width: 640px) {
    .act-composer__fields { grid-template-columns: 1fr; }
    .act-composer__toolbar { flex-direction: column; align-items: stretch; }
    .act-composer__toolbar-left .form-control { max-width: none; }
}
