.body#Nomenclature .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nomenclature-table-select {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nomenclature-table-select select {
    width: 200px;
}

.nomenclature-project-cell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 23px;
}

.nomenclature-project-name {
    max-width: 240px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nomenclature-edit-pencil {
    margin-left: 8px;
    cursor: pointer;
    color: #555;
}

.nomenclature-edit-icon {
    width: 10px;
    margin: 0 6px -1px 2px;
}

.nomenclature-city-select {
    width: 100%;
}

.nomenclature-save-status {
    margin-left: 10px;
    display: none;
}

.nomenclature-field-cell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 23px;
}

.nomenclature-field-name {
    max-width: 240px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nomenclature-rig-cell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 23px;
}

.nomenclature-rig-name {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nomenclature-rig-field-select,
.nomenclature-rig-project-select {
    width: 100%;
}

.nomenclature-modal-content {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nomenclature-modal-row {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 2fr;
    align-items: center;
}

.nomenclature-modal-input {
    width: 100%;
    padding: 4px;
}

.nomenclature-modal-select {
    width: 100%;
}

.nomenclature-table-input {
    width: 100%;
    padding: 4px;
    box-sizing: border-box;
}

.nomenclature-project-header {
    width: 250px;
}

/* ========================================
   SEGMENTED CONTROLS (используем стандартный компонент)
   ======================================== */
.nomenclature-segmented-controls {
    max-width: 600px;
    margin: 20px auto;
}

.nomenclature-tab-content {
    padding: 0;
}

.nomenclature-tab-content .section {
    min-height: 500px;
    min-width: max-content;
}

/* ========================================
   SCHEDULE HEADER (элементы вне section)
   ======================================== */
.nomenclature-schedule-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

.nomenclature-schedule-header h3 {
    text-align: center;
    max-width: 530px;
    margin-bottom: 16px;
    margin-left: auto;
    margin-right: auto;
}

.nomenclature-year-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.nomenclature-add-well-button {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    width: 100%;
}