.fit-page {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fit-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
}

.fit-breadcrumb span:last-child {
    color: var(--text);
    font-weight: 500;
}

.fit-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--table-border);
    box-shadow: 0 6px 18px rgba(55, 92, 172, 0.06);
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fit-card__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fit-card__updated {
    font-size: 13px;
    color: var(--muted);
}

.fit-section {
    border: 1px solid var(--table-border);
    border-radius: 10px;
    padding: 24px 24px 16px;
    background: #f9fbff;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fit-section__header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.fit-section__header input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.fit-section__body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.fit-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.fit-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 220px;
}

.fit-form-field label {
    font-size: 14px;
    color: var(--muted);
}

.fit-form-field select {
    height: 38px;
    padding: 0 12px;
    border-radius: 6px;
    border: 1px solid #d7d7d7;
    font-size: 14px;
    color: var(--text);
    background: #fff;
}

.fit-form-field select:disabled {
    background: #f2f4f8;
    color: #a7b0c2;
    cursor: not-allowed;
}

.fit-rule {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

.fit-actions {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
}

.fit-actions .btn {
    min-width: 110px;
}

.fit-actions .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.fit-message {
    display: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.fit-message.show {
    display: block;
}

.fit-message.success {
    background: #e6f6f0;
    color: #1f7a54;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.fit-message.error {
    background: #fdecea;
    color: #c93c36;
    border: 1px solid rgba(249, 128, 128, 0.4);
}

.fit-disabled-hint {
    font-size: 13px;
    color: #c0c6d4;
}

