.manual-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.manual-header {
    margin-bottom: 18px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
}

.manual-header h1 {
    margin: 0 0 6px 0;
    font-size: 26px;
}

.manual-header p {
    margin: 0;
    color: #666;
}

.card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.08);
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.filters,
.batch-grid,
.create-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 12px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: 13px;
    color: #4b5563;
}

.field input,
.field select {
    height: 36px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0 10px;
    font-size: 14px;
}

.field .select2-container .select2-selection--single {
    height: 36px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
}

.field .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px;
    font-size: 14px;
    padding-left: 10px;
}

.field .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px;
}

.field.full-width {
    grid-column: 1 / -1;
}

.actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
}

.table-wrap {
    overflow: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th, td {
    border-bottom: 1px solid #e5e7eb;
    padding: 8px;
    white-space: nowrap;
}

th {
    background: #f9fafb;
    text-align: left;
}

.empty {
    text-align: center;
    color: #6b7280;
}

.pager {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.inline-input {
    width: 110px;
    height: 30px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0 8px;
    font-size: 13px;
}

@media (max-width: 1024px) {
    .manual-container {
        padding: 0;
    }
    .filters,
    .batch-grid,
    .create-grid {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }
}
